What Is PID - Tutorial
What Is PID - Tutorial
(units of time)
(units of time)
Depending on the manufacturer, integral or reset action is set in either time/repeat or repeat/time. One is just the reciprocal of the other. Note
that manufacturers are not consistent and often use reset in units of time/repeat or integral in units of repeats/time. Derivative and rate are the
same.
Proportional Band
With proportional band, the controller output is proportional to the error or a change in measurement (depending on the controller).
(controller output) = (error)*100/(proportional band)
With a proportional controller offset (deviation from set-point) is present. Increasing the controller gain will make the loop go unstable.
Integral action was included in controllers to eliminate this offset.
Integral
With integral action, the controller output is proportional to the amount of time the error is present. Integral action eliminates offset.
CONTROLLER OUTPUT = (1/INTEGRAL) (Integral of) e(t) d(t)
Notice that the offset (deviation from set-point) in the time response plots is now gone. Integral action has eliminated the offset. The
response is somewhat oscillatory and can be stabilized some by adding derivative action. (Graphic courtesy of ExperTune Loop Simulator.)
Integral action gives the controller a large gain at low frequencies that results in eliminating offset and "beating down" load disturbances. The
controller phase starts out at 90 degrees and increases to near 0 degrees at the break frequency. This additional phase lag is what you give
up by adding integral action. Derivative action adds phase lead and is used to compensate for the lag introduced by integral action.
Derivative
With derivative action, the controller output is proportional to the rate of change of the measurement or error. The controller output is
calculated by the rate of change of the measurement with time.
dm
CONTROLLER OUTPUT = DERIVATIVE ---dt
Where m is the measurement at time t.
Some manufacturers use the term rate or pre-act instead of derivative. Derivative, rate, and pre-act are the same thing.
DERIVATIVE = RATE = PRE ACT
Derivative action can compensate for a changing measurement. Thus derivative takes action to inhibit more rapid changes of the
http://www.expertune.com/tutor.html (2 of 5)3/7/2006 2:53:38 PM
measurement than proportional action. When a load or set-point change occurs, the derivative action causes the controller gain to move the
"wrong" way when the measurement gets near the set-point. Derivative is often used to avoid overshoot.
Derivative action can stabilize loops since it adds phase lead. Generally, if you use derivative action, more controller gain and reset can be
used.
With a PID controller the amplitude ratio now has a
dip near the center of the frequency response. Integral
action gives the controller high gain at low
frequencies, and derivative action causes the gain to
start rising after the "dip". At higher frequencies the
filter on derivative action limits the derivative action.
At very high frequencies (above 314 radians/time; the
Nyquist frequency) the controller phase and amplitude
ratio increase and decrease quite a bit because of
discrete sampling. If the controller had no filter the
controller amplitude ratio would steadily increase at
high frequencies up to the Nyquist frequency (1/2 the
sampling frequency). The controller phase now has a
hump due to the derivative lead action and filtering.
(Graphic courtesy of ExperTune Loop Simulator.)
The time response is less oscillatory than with the PI controller. Derivative action has helped stabilize the loop.
Home | Awards
Training | Connecting Your Controller
Articles | What They're Saying
Download Presentation | Information | Send us Mail
19992006 ExperTune, Inc.
Lake Country Research Center
1020 James Drive, Suite A
Hartland WI 53029-8305 USA
Telephone (262) 369-7711 Fax (262) 369-7722