Previous in Forum: Photocell Installation   Next in Forum: Accelarated Life Test
Close
Close
Close
10 comments
Rate Comments: Nested
Member

Join Date: Sep 2011
Posts: 5

Strange Behaviour of Stepper Motor

07/11/2012 12:53 PM

I have a stepper motorrunning off a parallel port.1.8 degs so 200 steps/rev.Recently I found that the motor is not running same in cw/ccw.It makes a rattling sound when running CW and needs more than 200 steps to complete a rev.What could be wrong .The same behaviour is seen even when the motor is off load.

dulhas

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: Strange Behaviour of Stepper Motor

07/11/2012 3:13 PM

Almost anything could be wrong. I suspect first that your acceleration rate is too fast.

I also wonder about your claim that motor runs off a parallel port. The low voltage (5V) and low currents (<0.5A) produced by the IEEE 1284 parallel port standard are not practical for any stepping motor I'm familiar with. Thus I believe that your parallel port signals are communicating to a stepping motor drive which actually does the driving of the coil windings. So the communication protocol between parallel port and driver maybe getting confused due to sloppy wiring.

You may even have a phase miswires. Your step size implies a two phase stepping motor but you could have a three or even five phase wiring that could be wrong. You might even just have the driver settings set wrong.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Member

Join Date: Sep 2011
Posts: 5
#4
In reply to #1

Re: Strange Behaviour of Stepper Motor

07/12/2012 4:15 AM

I am sorry I was not precise in my statement. Yes the parallel port drives a driver circuit (ULN 2008) to drive the motor

Why and how will sloppy wiring affect motion in one direction only. Any way I rechecked the wiring and everything seems ok.

It is a Five wire unipolar motor.Since it runs OK in one direction sequencing should not be wrong

Register to Reply
Guru

Join Date: Jan 2008
Posts: 1753
Good Answers: 59
#2

Re: Strange Behaviour of Stepper Motor

07/11/2012 10:49 PM

You claim CW is different from CCW. Yet, you claim not looking at the two codes. How come?

Register to Reply
Member

Join Date: Sep 2011
Posts: 5
#5
In reply to #2

Re: Strange Behaviour of Stepper Motor

07/12/2012 4:18 AM

Same software generates both codes .I have no idea how to "look" at the code

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#6
In reply to #5

Re: Strange Behaviour of Stepper Motor

07/12/2012 10:41 AM

Can you look at what the parallel port signals? This is what the code should be producing.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Power-User
Popular Science - Weaponology - New Member Canada - Member -

Join Date: Dec 2006
Location: In the sticks of the Central Kootenays, BC, Canada
Posts: 266
Good Answers: 20
#3

Re: Strange Behaviour of Stepper Motor

07/12/2012 1:56 AM

There is a good chance you are trying to operate the motor at a resonance point. I found out about this many years ago when trying to write some programs to operate a simple stepper-driven plotter. Above a certain steps/rev the motor would enter resonance and would lose steps. There are mechanical dampers that one can get to help the issue. Google "Lanchester damper". I don't know if there are electronic devices such as stepper driver chips that can accomodate resonance issues nowadays.

I understand that if you can get above the resonance point you can also run the stepper reliably. It is just in the resonance range that you have problems, so you need to get through the resonance range as quickly as possible.

Jon.

Register to Reply
Member

Join Date: Jul 2012
Posts: 7
Good Answers: 2
#7
In reply to #3

Re: Strange Behaviour of Stepper Motor

07/12/2012 3:42 PM

What software are you using to drive the stepper motor? Direction is controled by the phase relation of the signals. The driver device you are using implies you are generating the phase signels in the software and output them through the port.

However it may be the software is outputing a step and direction signel as is common using a stepper driver board that then generates the motor phase signels.

A steper motor can turn with one phase constant but lack any power. If you have a scope or logic analyzer check the signels and make they are correct on both directions.

I did my own micro stepper board a few years back. It worked great for a while. But the shop enviorment corroded my wire wrip or chip socket contacts causing it to fail and I got very simular results when one phase stoped working. I bought micro stepper boards to replace the one I designed. Mine was 16 micro steps per step. But the boards have curent control that can be set. and speed compasation. Not really worth my time when you can buy them for $100.00.

Register to Reply
Guru
Canada - Member - If there is a way to screw someting up, there is someone to do so! Safety - Hazmat - New Member

Join Date: Mar 2007
Location: Iqaluit, NU. Canada
Posts: 1854
Good Answers: 140
#8

Re: Strange Behaviour of Stepper Motor

07/13/2012 1:53 PM

Have you tried another stepper motor? If so, does it do the same thing? Your motor could just be worn out. I have seen stepper motors run perfectly in one direction only to "bind" and make less than proper indexes in the other direction due to wear of the mechanics.

__________________
Joe Contractor to Electrical Inspector, "What do you mean you are going to make me follow the code?".
Register to Reply
Guru

Join Date: Sep 2009
Posts: 1056
Good Answers: 88
#9

Re: Strange Behaviour of Stepper Motor

07/13/2012 3:51 PM

Most stepper drivers take the step and dir pulses. The dir input can be latched for the wanted direction, or an appropriate dir pulse is given on every step pulse. BUT, in case that both are pulses, both pulse durations must be within limits AND the dir pulse MUST be applied first, by a given minimum time (in ms) that depends on driver type (and possible termination and impedance mismatches). It's not uncommon that the signal you feed the driver is not time-symmetric for both directions at that context. If you can't use a scope, test like this: Disconnect dir input, give it an external stable voltage within driver specs (~5V on first run and input ground for a second run) and watch if problem is solved. If yes you nailed it. S.M.

__________________
Life is complex. It has a real part and an imaginary part.
Register to Reply
Guru

Join Date: Jan 2008
Posts: 1753
Good Answers: 59
#10

Re: Strange Behaviour of Stepper Motor

07/13/2012 4:03 PM

You definitely need to slow down the stepper. Then you can observe the events. Short of that, attach a weight on the axle, to move the resonance.

Register to Reply
Register to Reply 10 comments
Copy to Clipboard

Users who posted comments:

dulhas (2); leveles (2); North of 60 (1); redfred (2); sawmilleng (1); SimpleMind (1); steamerandy (1)

Previous in Forum: Photocell Installation   Next in Forum: Accelarated Life Test

Advertisement