Stepper motor PID control

Aug 29, 2007 2 Replies

Sorry.. I've forgotten this question in previous message: It's possible to control a stepper motor in a closed loop system via a common PID algorithm ? I ask this to you because many commercial controllers that I've found have encoder input but use it only for stall detection. I think a continuous controlling of stepper motor isn't a great idea due to discreet nature and relative low resulution of stepper motors: I think that is sufficient an accidental little movement of mechanical system respect to idle position to cause continuous vibrations: is it correct ? My idea is to use PID only during motion commands and stop it when axis is settled in a given range: it will limits axis overshoot and precise positioning without undesidered steady vibrations. What do you think about.



Best regards. Simone Navari.



Most stepper motors use a closed loop system otherwise the speed is severally limited. You can change modes at rest but you don't need to. How are you planning to measure position?

w.. .

snipped-for-privacy@gmail.com wrote:

I can use a magnetic linear encoder with a 10u resolution that's comparable with the axis resolution (20u): is this a problem ? With this setup will I get too many rest vibrations ? Using the solution I've described before can closed loop be used without problems ? Maximum speed isn't the main requirement: I need to "eliminate" all no linear mechanical effects as backlash to obtain a precise positioning with a low settling time.

Thanks. Simone Navari

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required