Go to Post The only competition we have here, folks, is the one that's in March and April. - Amanda Morrison [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-04-2008, 18:58
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Victor logistics.

Note that you don't *need* a microcontroller for this - a servo amp, a 555 circult, and other ways exist that are entirely in hardware.

But, let's say you wanted to do it in a uC just for the learning experience.

First, you need a comparator to clean up the incoming PWM signal and slice it at a good decision level, say 2.5 volts (for a 5v PWM signal). Feed the output (TTL level) into an input pin on the uC. Set a timer to start when the pin changes state (low to high, for example) and read the timer when it changes state again. Store that value, it'll translate to a value between 0.9 mS and 2.1 mS (or so).

Meanwhile, reset the timer and set it to trigger at the next pulse.

Then, using one of several methods (I suggest a look-up table), set the on-off ratio of an output pin to a value between maybe 0/5% and 95/100%. Pick a pulse rate between about 500 Hz and 4 kHz, but that can realistically be between 60 Hz and 20 kHz or more.

This output pulse controls an H-Bridge - homebrew with discrete FETs or bought as an H-Bridge module.

When the on-off ratio (duty cycle) is 50%, the motor won't move, since forward voltage and reverse voltage cancel - the motor won't move forward or backwards, the pulses are too short and evenly balanced. At 5% duty, it'll move backwards, and at 95% it'll move forwards.

If that's not enough to get you started, write back.

Don
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 29-04-2008 at 20:16.
  #2   Spotlight this post!  
Unread 30-04-2008, 00:23
yongkimleng yongkimleng is offline
deus ex programmeur
AKA: James Yong
FTC #0747
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2004
Location: Singapore, West
Posts: 134
yongkimleng is a jewel in the roughyongkimleng is a jewel in the roughyongkimleng is a jewel in the rough
Send a message via MSN to yongkimleng
Re: Victor logistics.

One of the larger problems would be to actually choose the right MOSFETs and drive them correctly. I did a bit of intensive reading and found two things

1. high side mosfets (near to +ve) and low side mosfets (near to GND). A pair of high side and a pair of low side MOSFETs make up a HBridge.

2. MOSFET drivers - faster u saturate the mosfet, lesser heat generated, lesser power losses

3. proper timing to prevent "strikethroughs" where +ve is shorted to ground during switching.

4. balancing resistors to provide proper distribution when running MOSFETs in parallel

5. dropping in a hall effect sensor for current sensing is good too.

Being unfamiliar with discrete MOSFETs, I did run them off a TLE5205 (5A constant) Hbridge which takes TTL inputs. Next step would be to run some 5205s in parallel - or try discrete MOSFETs.....

Unfortunately TLE5205s are rather hard to find in my area recently. Not sure for you guys.
__________________
| jamesyong.net |
FVC2007, FTC2008
Closed Thread


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 01:12.

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