OhMyCalc

PID Tuning Calculator

Calculate PID controller gains (Kp, Ki, Kd) using the Ziegler-Nichols ultimate gain method.

How to Use the PID Tuning Calculator

  1. Determine the ultimate gain Ku by increasing Kp until the system oscillates steadily.
  2. Measure the oscillation period Tu in seconds.
  3. Enter Ku and Tu — the calculator outputs Kp, Ki, and Kd.

Cas d'utilisation

Formule

Ziegler-Nichols: Kp = 0.6 × Ku, Ti = 0.5 × Tu, Td = 0.125 × Tu. Ki = Kp / Ti, Kd = Kp × Td.

Questions fréquemment posées

What is the Ziegler-Nichols method?
It is an empirical PID tuning method where the system is driven to sustained oscillation (ultimate gain Ku at ultimate period Tu), and gains are derived from those values.
How do I find Ku and Tu?
Increase Kp with Ki = Kd = 0 until the output oscillates steadily. That Kp is Ku; the oscillation period is Tu.
Is this calculator free?
Yes, all OhMyCalc calculators are completely free to use.