Chapter 3 Using the PID Control Toolkit
LabWindows/CVI PID Control Toolkit User Manual 3-2 ni.com
Tuning Controllers ManuallyThe following controller tuning procedures are based on the work of Ziegler and Nichols, the
developers of the Quarter-Decay Ratio tuning techniques derived from a combination of
theory and empirical observations (Corripio 1990). Experiment with these techniques and the
process control simulation examples to compare them. For different processes, one method
might be easier or more accurate than another. For example, some techniques that work best
when used with online controllers cannot stand the large upsets described here. To perform
these tests, set up your control strategy with the PV, SP, and output displayed on a large strip
chart with the axes showing the values versus time. Refer to the Closed-Loop (Ultimate Gain)
Tuning Procedure and Open-Loop (Step Test) Tuning Procedure sections for more
information about disturbing the loop and determining the response from the graph. Refer to
Tuning of Industrial Control Systems as listed in Appendix A, References, for more
information about these procedures.
Closed-Loop (Ultimate Gain) Tuning Procedure
Although the closed-loop (ultimate gain) tuning procedure is very accurate, you must put your
process in steady-state oscillation and observe the PV on a strip chart. Complete the following
steps to perform the closed-loop tuning procedure.
1. Set both the derivative time and the integral time on your PID controller to 0.
2. With the controller in automatic mode, carefully increase the proportional gain (Kc) in
small increments. Make a small change in the SP to disturb the loop after each increment.
As you increase Kc, the value of the PV should begin to oscillate. Keep making changes
until the oscillation is sustained, neither growing nor decaying over time.
3. Record the controller proportional band (PBu) as a percent, where PBu = 100/Kc.
4. Record the period of oscillation (Tu) in minutes.
5. Multiply the measured values by the factors shown in Table3-1 and enter the new tuning
parameters into your controller. Table3-1 provides the proper values for a quarter-decay
ratio. If you want less overshoot, increase the gain (Kc).
Note Proportional gain (Kc) is related to proportional band (PB) as follows: Kc = 100/PB.
Table 3-1. Factors for Determining Tuning Parameter Values (Closed Loop)
Controller PB (Percent) Reset (Minutes) Rate (Minutes)
P2.00 PBu— —
PI 2.22 PBu0.83 Tu—
PID 1.67 PBu0.50 Tu0.125 Tu