Site icon Model-Based Design

PID Life

If you work in the controls design space then the PID (Proportional, Integral, Derivative) control element is an old friend. For those of you who do not work in the domain here is a quick overview.

Observe and correct errors

A PID controller can be viewed as an optimization function with three terms. The system attempts to minimize the error between the observed and desired values.

All wound upI

Integral windup refers to the situation in a PID feedback controller where a large change in setpoint occurs (say a positive change) and the integral terms accumulates a significant error during the rise. This results in overshooting the target. Over time the error (now negative) will drive the integral to zero however this will result in an extended period of time in error. There are several solution, including this one as documented by The MathWorks

Derivative work

The derivative term in the PID control “dampens” the rate of change of the error term. However, due to difficulties in tuning systems with derivative terms this is often left out of the control algorithm

Overview of all terms

As you increase value the term…

Parameter Rise
time
Over
shoot
Settling
time
Steady
state
error
Stability
PDecreaseIncrease Small
change
DecreaseDegrade
IDecreaseIncreaseIncreaseEliminate Degrade
DMinor
change
Decrease Decrease No effect Improve if D is small

If you find this content useful, please consider subscribing

Exit mobile version