ChemIPREG · MSDS

한국어

CALCULATOR Process control

Closed-loop simulation (PI · PID tuning comparison)

Simulates setpoint-step and load-step responses of a first-order-plus-dead-time process under PI or PID control, plotting several tuning methods on one chart and comparing overshoot, settling time and IAE (discrete-time simulation in the browser).

ChemIP calculators compute in your browser. The button above opens the calculator filled with the example defaults on this page.

Inputs

InputUnitExample default
Controller—
  • PI default
  • PID
Tunings to compare—
  • ZN · Cohen–Coon · IMC · SIMC default
  • Both ITAE · IMC · SIMC
  • Both ZN · SIMC
Chart—
  • PV and setpoint default
  • Controller output u
Time unit—
  • s
  • min default
  • h
Process gain K—1
Time constant τtime unit10
Dead time θtime unit2
Closed-loop time constant τc (optional) may be left blankUsed by IMC and SIMC. Blank means τc = θ.time unit—
Setpoint step size—1
Load step size (added at process input)Applied at half the simulation time. 0 means no load step.—1
Simulation time (optional) may be left blankBlank means 2 × (4τ + 10θ + 4τc).time unit—
Manual Kc (optional) may be left blankIf entered, this setting is plotted too.——
Manual τI (optional) may be left blanktime unit—
Manual τD (optional) may be left blanktime unit—

Results

ResultUnit
Response performance by methodresult table
Lowest setpoint IAEverdict / text
Lowest load IAEverdict / text
Load step timetime unit
Simulation time step Δttime unit

Formula

  1. G(s) = K e^(−θs)/(τs + 1), y[k+1] = a·y[k] + K(1 − a)·(u + d)[k − n], a = e^(−Δt/τ), n = round(θ/Δt)
  2. u = Kc ( e + (1/τI)∫e dt − τD dy_f/dt ), derivative on measurement, filter τf = 0.1 τD
  3. IAE = ∫|e| dt, overshoot = (y_max − r)/r, settling time: when |y − r| stays within 2 %

Notes

  • Assumes a perfect model (process = model) with no output limits or valve nonlinearity. A real process will be more oscillatory or slower in proportion to the model error.
  • The load disturbance enters at the process input (Gd = Gp). Setpoint IAE covers the time before the load step and load IAE the time after it.

References

  1. Seborg, Edgar, Mellichamp & Doyle, Process Dynamics and Control, 3rd ed. (2011), Ch. 12 — integral error criteria (IAE, Eq. 12-35), comparison as in Example 12.4 (Gd = G)
  2. Skogestad, S. (2003). Simple analytic rules for model reduction and PID controller tuning. J. Process Control, 13, 291–309.
  3. Åström, K.J. & Hägglund, T. (2006). Advanced PID Control. ISA — derivative filtering and derivative on measurement.

More calculators in this group

Terms used by this calculator