Beruflich Dokumente
Kultur Dokumente
Featured Articles
What Is PID—Tutorial Overview
Get Tuning Tips Newsletter
PID stands for Proportional, Integral, Derivative. Controllers are designed to eliminate the need for c
control in a car and a house thermostat are common examples of how controllers are used to
measurement (or process variable) at the set-point. The set-point is where you would like the measu
difference between set-point and measurement.
(error) = (set-point) - (measurement) The variable being adjusted is called the manipula
Training the controller. The output of PID controllers will change in response to a change in measurement o
controllers use different names to identify the three modes. These equations show the relationships:
Choosing the proper values for P, I, and D is called "PID Tuning". Find out about PID Tuning Softwa
ExperTune's Full Library
Proportional Band
With proportional band, the controller output is proportional to the error or a change in measuremen
With a proportional controller offset (deviation from set-point) is present. Increasing the controller g
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.
http://www.expertune.com/tutor.aspx 09/11/2012
PID Tuning Tutorial Page 2 of 4
Notice that the offset (deviation from set-point) in the time response plots is now gone. Integral act
response is somewhat oscillatory and can be stabilized some by adding derivative action. (Graphic
Integral action gives the controller a large gain at low frequencies that results in elimina
The controller phase starts out at –90 degrees and increases to near 0 degrees at the break frequen
you give up by adding integral action. Derivative action adds phase lead and is used to compensate
Derivative
With derivative action, the controller output is proportional to the rate of change of the measuremen
calculated by the rate of change of the measurement with time.
dm
CONTROLLER OUTPUT = DERIVATIVE ----
dt
Some manufacturers use the term rate or pre-act instead of derivative. Derivative, rate, and pre
Derivative action can compensate for a changing measurement. Thus derivative takes action to inhib
measurement than proportional action. When a load or set-point change occurs, the derivative actio
"wrong" way when the measurement gets near the set-point. Derivative is often used to avoid overs
Derivative action can stabilize loops since it adds phase lead. Generally, if you use deriva
used.
http://www.expertune.com/tutor.aspx 09/11/2012
PID Tuning Tutorial Page 3 of 4
With a PID controller the amplitude ratio now has a dip near the center of the frequency
gain at low frequencies, and derivative action causes the gain to start rising after the "dip". At highe
action limits the derivative action. At very high frequencies (above 314 radians/time; the Nyquist
amplitude ratio increase and decrease quite a bit because of discrete sampling. If the controller had
would steadily increase at high frequencies up to the Nyquist frequency (1/2 the sampling frequency
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 stabiliz
In general, for the tightest loop control, the dynamic controller gain should be as high a
Choosing a controller gain is accomplished easily with PID Tuning Software
This picture (from the Loop Simulator) shows the effects of a PI controller with too much or too little
with a dead time of 4 and lag time of 10. Optimal is red.
You can use the picture to recognize the shape of an optimally tuned loop. Also see the
To get your process response to compare, put the controller in manual change the output 5 or
http://www.expertune.com/tutor.aspx 09/11/2012
PID Tuning Tutorial Page 4 of 4
These settings are rough, assume proper control loop design, ideal or series algorithm a
PID Loop Optimizer to find the proper PID settings for your process and controller. (From
Tuning and Control Loop Performance (McMillan) p 39)
© 1999–2012 ExperTune Inc. Lake Country Research Center 1020 James Drive, Suite A Hartland
Telephone +1 (262) 369 7711 • Fax +1 (262) 369 7722
http://www.expertune.com/tutor.aspx 09/11/2012