time constant, τ7.0
process gain, K10
dead time, θ2.0
damping coefficient, ζ0.20
time-domain response y(t)

Directions

This Demonstration plots the time-domain response of a system with a step input of unity. Select either a first-order plus dead time (FOPDT) model or a second-order plus dead time (SOPDT) model. Set the time constant τ to change how quickly the system reaches a new steady state, the process gain K to change how aggressively the system responds to the unity step input, and the dead time θ that delays the system response by a value of θ. For the second-order process, change the damping coefficient ζ with a slider. The damping coefficient is a measure of the magnitude of damping, which affects the degree of oscillation in the response. Dimensionless time is used.

Details

The general first-order transfer function in the Laplace domain is:

\[ G(s) = \frac{Y(s)}{U(s)} = \frac{K e^{-\theta s}}{\tau s + 1}, \]

where \(K\) is the process gain, \(\tau\) is the time constant, \(\theta\) is the system dead time or lag and \(s\) is a Laplace variable. The process gain is the ratio of the output response to the input (unit step for this Demonstration), the time constant determines how quickly the process responds or how rapidly the output changes and the dead time delays the system response by the amount \(\theta\).

This Demonstration converts from the Laplace domain to the time domain for a step-response input. For a first-order transfer function, the time-domain response is:

\[ y(t) = K\left(1 - e^{-(t-\theta)/\tau}\right). \]

The general second-order transfer function in the Laplace domain is:

\[ G(s) = \frac{K e^{-\theta s}}{\tau^2 s^2 + 2\zeta \tau s + 1}, \]

where \(\zeta\) is the (dimensionless) damping coefficient.

For a step-response input, the time-domain response for various damping coefficients are:

Overdamped (\(\zeta > 1\)):

\[ y(t) = K\left(1 - e^{-\zeta(t-\theta)/\tau}\left(\cosh\!\left[\sqrt{\zeta^2-1}\,\frac{t-\theta}{\tau}\right] + \frac{\zeta}{\sqrt{\zeta^2-1}}\sinh\!\left[\sqrt{\zeta^2-1}\,\frac{t-\theta}{\tau}\right]\right)\right). \]

Critically damped (\(\zeta = 1\)):

\[ y(t) = K\left(1 + \left(1-\frac{t-\theta}{\tau}\right) e^{-(t-\theta)/\tau}\right). \]

Underdamped (\(\zeta < 1\)):

\[ y(t) = K\left(1 - e^{-\zeta(t-\theta)/\tau}\left(\cos\!\left[\sqrt{1-\zeta^2}\,\frac{t-\theta}{\tau}\right] + \frac{\zeta}{\sqrt{1-\zeta^2}}\sin\!\left[\sqrt{1-\zeta^2}\,\frac{t-\theta}{\tau}\right]\right)\right). \]

[1] D. E. Seborg, D. A. Mellichamp, T. F. Edgar and F. J. Doyle, III, Process Dynamics and Control, 3rd ed., Hoboken: John Wiley & Sons, 2011 pp. 76, 81.

Symbols

About

This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It is a JavaScript/HTML5 implementation of a Mathematica simulation by Rachael L. Baumann and Adam J. Johnston. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.

⚠️ Simulation Under ReviewThis content is still being reviewed for quality and accuracy and may be updated in the future. Feel free to send us feedback.