| Author |
Message |
proton
Joined: 31 May 2001 Posts: 79
|
03 Jan 2007 0:44 best way of driving a stepper motor |
|
|
|
|
Hi friends, I need your help for the following problem:
I've a stepper motor connected to a big mass , so with some inertia.
Suppose that I know that the position is at angle A and I want to move to
angle B, which is the best way of modulating the angular velocity (or if
you prefer the number of steps / sec ) ?
At the moment I'm doing like this: I calculate B - A and every K / (B - A)
ms I do a step in the direction that decreases the distance.
I'm however not satisfied of the control. Can you suggest
something more efficient ? a PID ? do you have something to suggest to read
about motor control ?
thx
proton
|
|
| Back to top |
|
 |
Shani
Joined: 26 Jul 2006 Posts: 67 Helped: 3 Location: Karachi, Pakistan
|
03 Jan 2007 15:46 Re: best way of driving a stepper motor |
|
|
|
|
Assalamo Allykum !
You can't use the PID Controller for the Steper Motor.
We use PID Controller for the DC Motors. The Stepper motor is only controller by the number of steps.
Take Care
|
|
| Back to top |
|
 |
artem
Joined: 22 May 2003 Posts: 1652 Helped: 91 Location: Turan
|
13 Jan 2007 4:42 best way of driving a stepper motor |
|
|
|
|
Check following pages :
http://www.cs.uiowa.edu/~jones/step/physics.html
http://www.cs.uiowa.edu/~jones/step/highlevel.html
|
|
| Back to top |
|
 |
godzilla42
Joined: 14 Jan 2007 Posts: 1
|
14 Jan 2007 1:36 Re: best way of driving a stepper motor |
|
|
|
|
| As already mentioned, it can't be done. With a stepper motor you are limited to a couple specific positions where the rotor can be stopped and held.
|
|
| Back to top |
|
 |
Google AdSense

|
14 Jan 2007 1:36 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
artem
Joined: 22 May 2003 Posts: 1652 Helped: 91 Location: Turan
|
14 Jan 2007 13:19 best way of driving a stepper motor |
|
|
|
|
| imho, I think it can be done dependent on inertial characteristics of object driven by stepper. According to info from internet the simplest method of driving is divide motion into 3 phases acceleration constant speed and deceleration . Yet also there are steppers with feedback with encoders where control is done in more precise way to ensure that no step is missed or keep backlash or oscillation out of mechanics. IO suppose this can be done in PID if there is sensor which provides feedback to algorithm.
|
|
| Back to top |
|
 |