Bipoler Stepper Control
I just looked in the exchange; seems that no one has released an object for bipoler steper motor contol.· I can handle the h-bridge driver aspect; but does anyone have experiance with the software?· I guess I just don't really know where to begin.
Thanks,
Craig
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Thanks,
Craig
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Comments
Are you building your own boards? There are various mosfet drivers that would allow a simple Step and Dir pulse. The IRF2184 is a good one that I think is available in Dip. The ultimate bipolar driver IC is called the Allegro A3986, that is Step and Dir input, configurable step rate(1, 1/2, 1/4, 1/16) and current limiting.
Without a driver like the above, you will have to sequence the output lines yourself, but why bother with all that. Creating Step and Dir pulses is relatively simple, and you don't really need an object. Just loop the Step output at the rate to get the speed you want. You would need to ramp up the start of the move as a stepper cannot start at full speed. Here is the just the idea:
1. New position received(or number of steps to move)
2. Ramp up the motor from near stall to the max speed you want to travel at, ramp up some limited amount just to get to Speed, say 10% of the total travel to reach Speed
3. Travel 80% of the total move at Speed
4. Decel down to near stall the lst 10%
Provide more details on what you are doing, maybe I have some code examples I can post. All my code will be based on Step and Dir outputs, not 4 pin sequences.
Are precise moves needed as in CNC, or is this just moving a robot loosley from point a to b?
How many motors? What size? What voltage power available to the stepper drives?
3986 link (only TSSOP fine pitch(.5mm) available)
www.allegromicro.com/sf/3986/index.asp
Post Edited (originator) : 3/12/2007 10:11:05 PM GMT
here's a thread where you can find a code example from big_mark.
Oh, These steppers are being use in a CNC router for pc boards.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Post Edited (originator) : 3/12/2007 10:51:01 PM GMT