HELP! Stepper motor problems
dev/null
Posts: 381
I seem to be out of luck trying to run stepper motors.
Today, I burnt up two darlingtons trying to get it to work, and I allready burnt a Stamp pin with another setup. The motor is a 1.3A (peak) bipolar stepper motor.
I use two H-Bridges, and apply voltage to the motor as follows. Pins 8-11 are connected to one H-Bridge, and pins 12-15 to the other.
Could it be that I am applying current for too long to a coil (9ms)?
Each H-bridge is configured as follows (the circuit works with a DC motor):
Left coil:
Right coil:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Today, I burnt up two darlingtons trying to get it to work, and I allready burnt a Stamp pin with another setup. The motor is a 1.3A (peak) bipolar stepper motor.
I use two H-Bridges, and apply voltage to the motor as follows. Pins 8-11 are connected to one H-Bridge, and pins 12-15 to the other.
Main: OUTC = %1001 ' Current A --> D OUTD = %0110 ' Current F --> G PAUSE 9 OUTC = %0110 ' Current B --> C OUTD = %1001 ' Current E --> H PAUSE 9 GOTO main
Could it be that I am applying current for too long to a coil (9ms)?
Each H-bridge is configured as follows (the circuit works with a DC motor):
Left coil:
Right coil:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Comments
http://www.parallax.com/Store/Books/BASICStamp/tabid/168/CategoryID/42/List/0/Level/a/ProductID/144/Default.aspx?SortField=ProductName%2cProductName
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
1) How to apply current to the coils? I know you need an AC signal, but excatly which signal in which sequence with respect to the coils? It's impossible to find any good literature on the Internet for this. So I am trying and blowing up my transistors.
2) What happens if you apply current to the coils in opposite directions (towards each other)? Effectively stalling the motor, what is the implication?
3) Since you are driving an inductive load, applying current over a long period of time will be like a short circuit. I don't see anybody mentioning this? Isn't the purpose of the coil to get charged, and it's the discharge that actually moves the motor?
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Servo Boss, a 12 channel servo tester kit from Gadget Gangster.
Post Edited (FearTurtles) : 9/8/2009 7:41:40 PM GMT
I see you have a 12V supply. Do you happen to know what supply voltage your motor needs? Even though it is 1.3A, say @ 5Vdc, then you're going to have more current with the 12V supply.
Actually, I had the 2N4400's configured the wrong way (emitter was collector) so no wonder things blew up. DUH!
But now I get another confusing issue. If I put a 10K resistor across the motor pins I get a big spark, like there's a short circuit. The circuit shouldn't conduct anything to the motor wires unless I turn on the 2N4400's. What is that?
The motor is rated at 24V. I am applying 21V.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Also; The motor coils have 4.8 ohm resistance. The circuit in a steady-state situation would conduct over 4 amps! Isn't it crucial to have current flowing just until the coils get saturated? When they are, the will act like short circuits.... What am I missing here.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
The motors won't saturate but will get warm. Stepper motors run warmest when they are in a holding position. You may want to consider if you want them powered all of the time. If they have to hold something...then they do.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
When I apply 18V from a 1600 mAh pack I get a spark, and the motor gets very hot quickly. The TIP's are ok with heat. So I think I need current limiting reeistors on the coils. But at least the motor is running properly.
(Use two of these to control a stepper):
Full step sequence:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Is the motor supposed to do a full turn with your sequence? At the moment, it turns about 45 degrees with either the 4 or 8 step sequence.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen