How to use this calculator
Translate a measured ultimate gain and oscillation period into the classic Ziegler–Nichols PID starting settings.
- Enter Ultimate proportional gain, Ultimate oscillation period (s). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Ultimate gain Ziegler Nichols PID tuning explained
How the calculation works
Classic ideal PID: Kc=0.6Ku, Ti=Pu/2, Td=Pu/8; C(s)=Kc[1+1/(Ti s)+Td s].
Use the original ideal controller convention. These empirical values can be aggressive; they do not perform a safe ultimate-gain experiment for you.
Set up the calculation
Ku— Ultimate proportional gain- Positive gain at sustained small-signal closed-loop oscillation.
Pu— Ultimate oscillation period (s)- Period measured at that limiting oscillation.
Limits of this model
Requires meaningful sustained linear oscillation data. Do not apply the rule blindly to unsafe, noisy or highly nonlinear equipment.
Check this example
Ultimate proportional gain = 4; Ultimate oscillation period (s) = 6.
- Proportional gain: 2.4 gain
- Integral time: 3 s
- Derivative time: 0.75 s
- Parallel integral gain: 0.8 gain/s
A test identifies ultimate gain four and a six-second oscillation period; compute ideal-form proportional, integral and derivative settings.
Reading the outputs
Integral and derivative times are seconds; the extra Ki metric helps map to a parallel controller.
Frequently asked questions
Is Ti the integral gain?
No; integral gain is Kc/Ti.
Does this account for derivative filtering?
No. A real controller normally needs a separately selected derivative filter.
What if the plant never has an ultimate oscillation?
This rule is not applicable; use a model-based method.
How do I use the Ultimate gain Ziegler Nichols PID tuning calculator?
Enter Ultimate proportional gain, Ultimate oscillation period (s). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Ultimate gain Ziegler Nichols PID tuning?
Ultimate proportional gain = 4; Ultimate oscillation period (s) = 6. Proportional gain: 2.4 gain Integral time: 3 s Derivative time: 0.75 s Parallel integral gain: 0.8 gain/s A test identifies ultimate gain four and a six-second oscillation period; compute ideal-form proportional, integral and derivative settings.
Background or definition reference: Microstar Laboratories classic Ziegler-Nichols tuning table.
Read our calculation methodology.