CALCULATOR · CONTROL

PID Parameter Converter

Convert Kp, Ki and Kd from the parallel form into the integral time Ti and derivative time Td.

Result—

The result and the visualization update as you change the values.

LIVE VISUALIZATION

What does this calculator do?

It helps you compare PID controllers written in different conventions. It does not tune the controller for you.

MAIN FORMULA

Ti = Kp / Ki · Td = Kd / Kp

Enter the values in the units shown. The calculator converts units automatically and displays the result in practical units.

Worked example

Kp = 2, Ki = 1 and Kd = 0.5 are equivalent to Ti = 2 s and Td = 0.25 s.

Practical tips

  • Check which convention your PLC or software uses.
  • If Ki = 0, Ti is considered infinite.
  • The conversion does not replace a stability analysis or a check of actuator saturation.

Common mistake to avoid

Gains do not carry over from one plant to another: tuning must account for the process dynamics, saturation and sampling time.

The forms of a PID controller

The same PID controller can be written in several ways. The parameters change name and value with the form, which is why settings that work in one program can fail when copied into a PLC without conversion:

  • Parallel (independent) form: u(t) = Kp · e + Ki · ∫e dt + Kd · de/dt
  • Standard or ideal (ISA) form: u(t) = Kp · [e + (1 / Ti) · ∫e dt + Td · de/dt]
  • Parallel to standard: Ti = Kp / Ki and Td = Kd / Kp
  • Standard to parallel: Ki = Kp / Ti and Kd = Kp · Td
  • Proportional band: PB (%) = 100 / Kp (with normalized variables)
  • Series (interacting) to standard: Kp = K′p · (1 + T′d / T′i), Ti = T′i + T′d, Td = T′i · T′d / (T′i + T′d)

This calculator converts the parallel form (Kp, Ki, Kd) into the standard form (Ti, Td), with times in seconds.

Conversion table

KpKi (1/s)Kd (s)Ti (s)Td (s)Type
1.200∞0P only
10.5020PI
210.520.25PID (calculator example)
5100.20.50.04Fast-loop PID
102550.5PID
0.80.042202.5Slow process PID (temperature)

If your controller expects Ti in minutes, divide the seconds by 60. Some controllers use “repeats per minute”, which is 1 / Ti with Ti in minutes.

Worked example: from Ziegler–Nichols to PLC parameters

In a closed-loop test you raise the proportional gain until the process oscillates steadily. You find an ultimate gain Ku = 8 and an oscillation period Tu = 4 s. The classic Ziegler–Nichols PID rules give:

  1. Kp = 0.6 · Ku = 4.8
  2. Ti = Tu / 2 = 2 s
  3. Td = Tu / 8 = 0.5 s
  4. In parallel form: Ki = 4.8 / 2 = 2.4 s⁻¹ and Kd = 4.8 × 0.5 = 2.4 s.

Enter Kp = 4.8, Ki = 2.4 and Kd = 2.4 in the calculator and it returns Ti = 2 s and Td = 0.5 s. Ziegler–Nichols gives an aggressive tuning with noticeable overshoot; treat it as a starting point and soften it during commissioning.

Common mistakes

  • Entering Ki where Ti is expected: they are inverses; a large Ki means a small Ti (stronger integral action).
  • Mixing seconds and minutes: many process PLCs work with Ti in minutes.
  • Forgetting the sampling time in your own code: in a discrete PID the integral term adds Ki · e · Ts and the derivative uses Δe / Ts.
  • Differentiating a noisy error: derivative action amplifies measurement noise; filter the D term or differentiate the measurement instead of the error.
  • Not limiting the integral: if the actuator saturates, the integral keeps growing (windup) and causes large overshoot; use anti-windup.

Frequently asked questions

What happens if Ki = 0?

Ti tends to infinity: there is no integral action. The controller is P or PD and may leave a steady-state error.

Does this calculator tune the PID?

No. It only converts between conventions. Tuning depends on the process dynamics and is done with methods such as Ziegler–Nichols, Cohen–Coon or lambda tuning, or with the controller’s own autotune.

Which form does my PLC use?

It depends on the manufacturer and the function block, so check the PID block manual. Many industrial controllers use the standard form with Ti and Td, while software libraries such as the Arduino ones usually use the parallel form with Kp, Ki and Kd.

If your actuator is a motor or a valve driven by PWM, also see the PWM calculator and the angular velocity converter.

Educational tool. Check tolerances, datasheets, standards and real operating conditions before using the results in critical applications.