Skip to content
FlowCalc
Browse: Calculators, Guides, How it works
All calculators Guides How it works

PID Tuning (Ziegler-Nichols)

Classic ZN P/PI/PID gains from Ku and Tu.

Inputs

Inputs

Result

P only: Kc
1.000
PI: Kc
0.900
PID: Kc
1.200
PID: Td (s)
7.50 s
PI: Ti (s)
50.0 s
PID: Ti (s)
30.0 s

About this calculator

What this calculator does

This calculator applies the classic closed-loop Ziegler–Nichols ultimate-cycle rules to an ultimate gain Ku and ultimate period Tu. It reports starting parameters for proportional, PI, and PID forms:

PID signal path from setpoint through filtering and split-range valve outputs
Controller tuning, process response, filtering, and split-range mapping act at different points in the loop.
FormKcTiTd
P0.5Ku——
PI0.45KuTu/1.2—
PID0.6Ku0.5Tu0.125Tu

Ku is the gain at sustained oscillation in the test, and Tu is that oscillation period in seconds.

Reading the result

At Ku = 2 and Tu = 60 s, the outputs are P Kc = 1.000; PI Kc = 0.900 with Ti = 50.0 s; and PID Kc = 1.200 with Ti = 30.0 s and Td = 7.50 s.

The rules scale directly with the test. Doubling Ku doubles every Kc. Doubling Tu doubles the PI and PID time settings but does not change Kc. The table does not know whether the controller uses gain or proportional band, direct or reverse action, derivative filtering, output limits, or anti-windup.

When to use / when not to use

Use this page to calculate the classic ZN starting values after a valid ultimate-cycle test. It does not guarantee stable or acceptable tuning, identify Ku or Tu from process data, account for noise or nonlinearities, or replace a controlled commissioning procedure. Confirm the controller form, sign convention, output limits, and process safety before applying the values.

Input and output variables

Ku/Pu
Ultimate gain and period
P/I/D
ZN closed-loop table

Worked example

At Ku=2 and Tu=60 s, P gives Kc=1.000; PI gives Kc=0.900 and Ti=50.0 s; PID gives Kc=1.200, Ti=30.0 s, and Td=7.50 s.

Standards: Ziegler-Nichols (starting point)

Frequently asked questions

How do I use the PID Tuning (Ziegler-Nichols)?

Enter entered inputs with units as labeled, read each output with its substituted formula, then verify against datasheets and field readings before acting.

Is this result final?

Starting-point tuning only. Validate on the live loop before commissioning.

Learn

How to interpret the result

Get starting PID gains from a Ku/Tu test.

Checklist before you rely on it

  1. Confirm units match the input labels before trusting the result.
  2. Recompute at minimum and maximum operating cases, not just the design point.
Screening result for preliminary sizing only. Verify against the manufacturer datasheet and applicable standard before procurement or construction.

Related calculators

Workspace

Save this calculation to your workspace

Save this calculation to your private workspace: keep inputs + result, compare scenarios side by side, and export a report with substituted formulas.

  • Save projects — return to inputs, result, and report.
  • Compare scenarios — see which option holds margin.
  • Export report — PDF/CSV with formulas shown.

Sign in or create an account to save this calculation.