Ziegler-Nichols Tuning Method: Understanding The PID Controller
Ziegler-Nichols Tuning Method: Understanding The PID Controller
ture current i
T ∝i.
Therefore, T = Kt i , (1)
e ∝ θ̇ .
Therefore, e = Kb θ̇ . (2)
J θ̈ = T − bθ̇ .
⇒ J θ̈ = Kt i − bθ̇ . (3)
di
V −e= L + Ri .
dt
di
⇒ V − K θ̇ = L + Ri . (4)
dt
−R −K
1
x˙1 L L x1
L V h i x1
= K −b + [y] = 0 1
(9)
x˙2 J J x2 0 0 x2 .
3. PID Controller
Figure 4. Proportional
derivative controller in a
feedback control loop.
Close-Loop Response Rise time Overshoot Settling time Steady state error
P controller ↓ ↑ ∼ ↓
I controller ↓ ↑ ↑ ↓
D controller ∼ ↓ ↓ ∼
Table 3. Comparative
study of the characteristics
results in the decrease in overshoot, and hence decrease in the of a step response for a sec-
settling time. ond order system for P, I,
and D controller.
Type of Controller Kp Ti Td
T
P L ∞ 0
PI 0.9 TL L
0.3 0
PID 1.2 TL 2L 0.5L
ing rules is that they provide a starting point for the determination The real usefulness of
of the parameter values. Once we have obtained these parameter ZN tuning method is
values (Kp , Ti , and Td ), we can always further fine-tune the plant’s seen when the plant
dynamics are unknown.
closed loop response by changing the values, so as to obtain a The main advantage
satisfactory transient response. On an average, 25% overshoot is provided by ZN tuning
obtained when tuning by the ZN method. rules is that they provide
a starting point for the
MATLAB code to draw the tangent line to the S-shaped curve determination of the
(Figure 7) and also obtain the parameters L and T is given in the parameter values.
Appendix. Based on Table 4, the PID parameters are calculated,
and the step response is plotted (Figure 8).
Observe that the step response is oscillatory in the time domain.
To further tune this, the MATLAB tool is used. Utilize the ob-
tained parameter values as the initial values, and then tune each
parameter till the desired result is obtained. Comparison of the
PID parameters and the characteristic of the step responses is
shown in Table 5 and Table 6.
Fine-tuning the parameters obtained provides a better result. The
oscillation’s, maximum overshoot is reduced, and the character-
istics are practical values that can be implemented.
However, ZN tuning rules can only be applied to a plant exhibit-
ing S-shaped behavior for a unit step unit or exhibiting sustained
oscillation for any gain K. In some cases, for a plant having an
integrator, the ZN rules may not be applicable as it won’t satisfy
5. Conclusion
Suggested Reading