Use the ultimate gain Ku (sustained oscillation gain) and ultimate period Tu to set Kp, Ki, Kd directly.
Kp, Ki, Kd)| Controller | Kp |
Ki |
Kd |
Notes |
|---|---|---|---|---|
| P | 0.50 Ku |
0 |
0 |
Proportional only |
| PI | 0.45 Ku |
0.54 Ku / Tu |
0 |
From Ti=Tu/1.2 and Ki=Kp/Ti |
| PID | 0.60 Ku |
1.20 Ku / Tu |
0.075 Ku Tu |
From Ti=Tu/2, Td=Tu/8, and conversions |
Units: Ki has units of 1/time, Kd has units of time. These formulas correspond to the common PID form
u(t)=Kpe(t)+Ki∫e(t)dt+Kd de/dt.
Tip: Start from these values, then fine-tune for setpoint tracking vs. disturbance rejection, actuator limits, and noise sensitivity.