Mechatronics & Robotics

Cohen–Coon PID Tuning Calculator — Kp, Ki, Kd from Process Gain, Time Constant and Dead Time

Calculate Kp, Ki and Kd using process gain, time constant and dead time based on the Cohen–Coon PID tuning formula.

Unit-aware inputs Deterministic calculation Engineering interpretation
Calculation workspace

Enter the known values and review the calculated result

Deterministic calculation
01
Parameters

Input parameters

Use consistent values and select the intended engineering units.

Process parameters

02
Output

Results

Live
Ready to calculate Complete the required inputs and run the calculation.
Engineering Pro Save, document and continue this calculation

Turn this result into a reusable engineering record with saving, PDF export and reporting workflows.

Engineering reference

Method, application and limitations

Review the calculation method, intended application and engineering assumptions before using the result in a design decision.

01
Method

Formula and calculation method

Kp, Ki and Kd formula:

R = L / T

Kp = (1 / K) · (T / L) · (4/3 + R/4)

Ti = L · (32 + 6R) / (13 + 8R)

Td = L · 4 / (11 + 2R)

Ki = Kp / Ti

Kd = Kp · Td

where:

  • Kp — proportional gain (—)
  • Ki — integral gain (1/s)
  • Kd — derivative gain (s)
  • K — process gain (—)
  • T — time constant (s)
  • L — dead time (s)
  • R — dead time ratio L/T (—)
  • Ti — integral time (s)
  • Td — derivative time (s)
02
Application

When to use this calculator

When to use this calculator:

  • To calculate Cohen–Coon PID proportional gain from process gain, time constant and dead time.
  • To calculate integral gain from proportional gain and integral time.
  • To calculate derivative gain from proportional gain and derivative time.
  • To classify a process as lag-dominant, balanced or dead-time dominant using the dead time ratio.
  • To check whether the calculated PID settings exceed the gain, integral time, derivative time or dead time ratio limits defined in the calculator logic.
03
Decision support

How to interpret the result

Kp is defined as the proportional gain calculated from process gain, time constant and dead time. Ki is defined as proportional gain divided by integral time. Kd is defined as proportional gain multiplied by derivative time.

The result depends on process gain, time constant and dead time. Increasing process gain decreases proportional gain. Increasing time constant relative to dead time increases proportional gain. Increasing dead time changes the dead time ratio and directly affects integral time and derivative time.

  • Safe — proportional gain, integral gain and derivative gain are not greater than 50, integral time is not below 0.1 × dead time, derivative time is not greater than time constant, and dead time ratio is not greater than 1.
  • Limit — dead time ratio is greater than 1 and less than or equal to 1.5, with no unsafe condition.
  • Warning — derivative time is greater than time constant, or dead time ratio is greater than 1.5, with no unsafe condition.
  • Unsafe — proportional gain, integral gain or derivative gain is greater than 50, or integral time is below 0.1 × dead time.
  • Invalid — process gain, time constant or dead time is not finite or is less than or equal to zero, or the dead time ratio is invalid.

The result is used to evaluate calculated PID gain values, integral time, derivative time, dead time ratio and process classification.

04
Worked case

Calculation example

Example:

A user wants to calculate Cohen–Coon PID settings for a process with measured gain, time constant and dead time.

  • K — Process gain = 2
  • T — Time constant = 30 s
  • L — Dead time = 5 s

Result: Kp = 4.125, Ki = 1.627 1/s, Kd = 6.964 s.

05
Model boundaries

Assumptions and limitations

  • Process gain must be finite and greater than zero.
  • Time constant must be finite and greater than zero.
  • Dead time must be finite and greater than zero.
  • The calculated PID settings are based only on process gain, time constant and dead time.
  • Process classification is based only on the dead time ratio: below 0.1, from 0.1 to 1, and above 1.
06
Questions

Frequently asked questions

How to calculate Kp, Ki and Kd?
Kp, Ki and Kd are calculated using the Cohen–Coon PID tuning formula. Kp depends on process gain, time constant and dead time. Ki depends on proportional gain and integral time. Kd depends on proportional gain and derivative time.
What affects Kp, Ki and Kd the most?
Proportional gain decreases when process gain increases. Proportional gain increases when time constant increases relative to dead time. Integral gain increases when proportional gain increases or integral time decreases. Derivative gain increases when proportional gain or derivative time increases.
When is the Kp, Ki and Kd formula not valid?
The formula is not valid when process gain is less than or equal to zero, time constant is less than or equal to zero, dead time is less than or equal to zero, or the dead time ratio is invalid.
Can this calculator be used for dead-time dominant processes?
It can calculate PID settings when the input values are valid. A process is classified as dead-time dominant when the dead time ratio is greater than 1. When the dead time ratio is greater than 1.5, the result is marked as warning unless an unsafe condition is already present.
Add an engineering note