Ziegler–Nichols method explained

See main article: PID controller. The Ziegler–Nichols tuning method is a heuristic method of tuning a PID controller. It was developed by John G. Ziegler and Nathaniel B. Nichols. It is performed by setting the I (integral) and D (derivative) gains to zero. The "P" (proportional) gain,

Kp

is then increased (from zero) until it reaches the ultimate gain

Ku

, at which the output of the control loop has stable and consistent oscillations.

Ku

and the oscillation period

Tu

are then used to set the P, I, and D gains depending on the type of controller used and behaviour desired:
Ziegler–Nichols method[1]
Control Type

Kp

Ti

Td

Ki

Kd

P

0.5Ku

PI

0.45Ku

0.8{\overline3}Tu

0.54Ku/Tu

PD

0.8Ku

0.125Tu

0.10KuTu

classic PID[2]

0.6Ku

0.5Tu

0.125Tu

1.2Ku/Tu

0.075KuTu

Pessen Integral Rule

0.7Ku

0.4Tu

0.15Tu

1.75Ku/Tu

0.105KuTu

some overshoot

0.3{\overline3}Ku

0.50Tu

0.3{\overline3}Tu

0.6{\overline6}Ku/Tu

0.1{\overline1}KuTu

no overshoot

0.20Ku

0.50Tu

0.3{\overline3}Tu

0.40Ku/Tu

0.06{\overline6}KuTu

The ultimate gain

(Ku)

is defined as 1/M, where M = the amplitude ratio,

Ki=Kp/Ti

and

Kd=KpTd

.

These 3 parameters are used to establish the correction

u(t)

from the error

e(t)

via the equation:

u(t)=Kp\left(e(t)+

1
Ti
t
\int
0

e(\tau)d\tau+Td

de(t)
dt

\right)

which has the following transfer function relationship between error and controller output:

u(s)=Kp\left(1+

1
Tis

+Tds\right)e(s)=Kp\left(

T
2
is
+Tis+1
dT
Tis

\right)e(s)

Evaluation

The Ziegler–Nichols tuning (represented by the 'Classic PID' equations in the table above) creates a "quarter wave decay". This is an acceptable result for some purposes, but not optimal for all applications.

This tuning rule is meant to give PID loops best disturbance rejection.[2]

It yields an aggressive gain and overshoot[2] – some applications wish to instead minimize or eliminate overshoot, and for these this method is inappropriate. In this case, the equations from the row labelled 'no overshoot' can be used to compute appropriate controller gains.

References

External links

Notes and References

  1. Ziegler, J.G. Nichols, N. B.. amp. 1942. Optimum settings for automatic controllers. Transactions of the ASME. 64. 759–768. https://web.archive.org/web/20170918055307/http://staff.guilan.ac.ir/staff/users/chaibakhsh/fckeditor_repo/file/documents/Optimum%20Settings%20for%20Automatic%20Controllers%20(Ziegler%20and%20Nichols,%201942).pdf. 2017-09-18.
  2. http://www.mstarlabs.com/control/znrule.html Ziegler–Nichols Tuning Rules for PID