Free engineering calculators and unit convertersceo@instrumentationblog.in
PID Tuning Tools · Free Tool

Ziegler–Nichols PID Tuning Calculator

Calculate classic Ziegler–Nichols tuning for P, PI and PID controllers, either from a closed loop test (ultimate gain and period) or from an open loop step response.

Closed loop Ku, PuOpen loop step testP, PI, PIDGain and PB
min
Ziegler–Nichols aims for quarter amplitude decay and is aggressive for most process loops. Start with about half the gain and twice the integral time, then tighten.
PID gain Kc2.4
PID integral time Ti1 min
PID derivative time Td0.25 min
How this result was calculated
  1. PID: Kc = 0.6 Ku, Ti = Pu/2, Td = Pu/8

Ziegler–Nichols settings (ideal form, time in the same unit as your inputs)

ControllerGain KcProportional bandTiTd
P250 %∞ (off)0
PI1.855.56 %1.6670
PID2.441.67 %10.25
Advertisement

Ziegler–Nichols Rules

Closed loop: P Kc = 0.5Ku; PI Kc = 0.45Ku, Ti = Pu/1.2; PID Kc = 0.6Ku, Ti = Pu/2, Td = Pu/8
Open loop: P Kc = T/(KL); PI Kc = 0.9T/(KL), Ti = 3.33L; PID Kc = 1.2T/(KL), Ti = 2L, Td = 0.5L

Ku is the proportional only gain that makes the loop oscillate steadily, Pu the period of that oscillation. In the open loop method K is the process gain, L the apparent dead time and T the time constant from a step test.

Worked example

A loop oscillates steadily at Ku = 4 with Pu = 2 min. ZN PID gives Kc = 2.4, Ti = 1.0 min and Td = 0.25 min.

Key insight: the closed loop test drives the process to sustained oscillation, which is often not acceptable on a running plant. A step test in manual with a lambda or IMC rule is usually safer and gives smoother control.
Advertisement

Frequently Asked Questions

What is the Ziegler–Nichols method?

A 1942 empirical tuning method that sets PID parameters from either the ultimate gain and period or the step response of the process.

Why is Ziegler–Nichols tuning so aggressive?

It targets a quarter decay ratio, which gives fast response but large overshoot and low robustness for most process loops.

How do I find Ku and Pu?

With integral and derivative off, raise the proportional gain until the loop oscillates with constant amplitude. That gain is Ku and the oscillation period is Pu.

You May Also Like

Learn more on the blog

How SCADA systems work

A practical, field focused guide on instrumentationblog.in that explains the theory behind this tool and how engineers apply it on real plants.

Read Full Article

More PID Tuning Tools

More Instrumentation Tools