Go to Post Yes, this year's championships could be decided by cheesecake. - MrJohnston [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 23-04-2008, 19:19
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Victor logistics.

The victors do contain a microprocessor that measures the duration of the pulse, and sets the duty cycle and direction of its H-bridge. You don't need to be very clever in the conversion: Take the width and map it onto your duty cycle. Here is some bad pseudo code to get you rolling.

Code:
if(width > positive_dead_band):
   direction = positive
   duty_cycle = ( width - positive_dead_band ) / scalar_constant

else if(width < negative_dead_band):
   direction = negative
   duty_cycle = ( negative_dead_band - width ) / scalar_constant

else:
   don't move
If you are attempting to connect a Victor to a hobby servo output, you may need to purchase one of IFI's amplifiers. These simply beef up the drive strength of the signal.

As a point of anality, H-Bridges are controlled by DCM - Duty Cycle modulation, not PWM - Pulse Width Modulation. The two are electrically identical, but conceptually very different.

PWM is a serial communication protocol (albeit a weird one). In a PWM signal, I can adjust the dwell period between pulses without changing the meaning (to a point). Its "inputs" are pulse width and update rate.

In a DCM control, I can adjust the frequency without changing the output (to a point). Its update are percent high and frequency.

Yes, the distinction is completely anal. However, I believe it important so the students can better understand what an H-Bridge does.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Victor Problems Justin M. Electrical 8 13-02-2008 17:41
Victor 883's? hunter7193 Electrical 0 10-02-2008 17:13
Victor Lights robobrain0101 Technical Discussion 9 13-02-2007 15:18
victor mosfets sciguy125 Electrical 13 19-07-2006 09:15
Victor 884's not behaving the same as Victor 883's programmer1 Programming 13 10-03-2004 21:51


All times are GMT -5. The time now is 14:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi