Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

PID Control and Integral Windup on 6-Foot Tall Robot

PID Control and Integral Windup on 6-Foot Tall Robot

PID Control and Integral Windup on 6-Foot Tall Robot

It's almost spooky what a robot will do with just a few simple rules, as with a PID controller. I use PID to keep this 6-foot tall Falling-Up Robot balanced using stepper motors. But I'm having trouble with Integral Windup. If I lift the robot, or if it gets stuck somewhere, it goes biserk. I'm researching the Back-Calculation method to help "unwind" the error. Look for a good book on this. Any recommendations on this? Thanks.


RE: PID Control and Integral Windup on 6-Foot Tall Robot

I generally put in antiwindup to my written PIDs. I helps get you back to reality more quickly.

Keith Cress
kcress - http://www.flaminsystems.com

RE: PID Control and Integral Windup on 6-Foot Tall Robot

It doesn't take a book. Most sources are wrong anyway. The so call clamping technique is something that gets passed by word of mouth without and critical thinking or understanding.
First calculate the control term from the P and D terms. Call this Upd.
Now when calculating the integrator term, Ui, limit like this
Now the total control output,U(n) will never exceed 100%
Notice that if Upd is big then Ui(n) may be pushed back into negative values.
That is OK if your system is tuned right.
See page 6 of 27 where this is applied. I didn't plot the integrator term but you can see
on the next page that implementing the integrator limit in this way allows the control output to saturate but still not cause over shoot. This is an old Mathcad worksheet where I was trying to impress the importance of the derivative term.
I was not trying to show how to limit the integrator or I would have plotted that too.
This is gold

Peter Nachtwey
Delta Computer Systems

RE: PID Control and Integral Windup on 6-Foot Tall Robot

Generally to avoid windup, I detect when the PID has lost effective control of the system (loss of sensor, loss of actuator etc.) and then place the PID in manual of freeze it. Perhaps in your case detect when the robot is lifted up and "freeze" the controller?

RE: PID Control and Integral Windup on 6-Foot Tall Robot


google Adaptive Cruise Control System by January Mahlalela, I have explained and implemented the back calculation method.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close