Algorithm Search⌘K

Modelintro

Standard second-order system

Also called damped harmonic oscillator model.

The transfer function omega_n^2 / (s^2 + 2 zeta omega_n s + omega_n^2). The damping ratio zeta and the natural frequency omega_n fix the overshoot, the speed and the resonance in closed form.

The standard second-order system is the linear model with the transfer function

G(s)=ωn2s2+2ζωns+ωn2,G(s) = \frac{\omega_n^2}{s^2 + 2 \zeta \omega_n s + \omega_n^2},

with the natural frequency ωn>0\omega_n > 0 in rad/s and the dimensionless damping ratio ζ≥0\zeta \ge 0. It is the damped harmonic oscillator with unit static gain: a mass on a spring with a damper, or a series RLC circuit. Two numbers fix all of its behavior, and the overshoot, the peak time, the resonant peak and the bandwidth have exact formulas in ζ\zeta and ωn\omega_n. That is why closed-loop specifications are often stated as a target pair of poles −ζωn±jωn1−ζ2-\zeta\omega_n \pm j\omega_n\sqrt{1 - \zeta^2}, and why a higher-order loop is often read through a "dominant" second-order pair. That reading is an approximation, and this page says when it fails.

The machine

Equations. The input u(t)u(t) and the output y(t)y(t) are real, and time t≥0t \ge 0 is continuous, in seconds. The model is the linear ordinary differential equation

y¨+2ζωny˙+ωn2y=ωn2u.\ddot y + 2\zeta\omega_n \dot y + \omega_n^2 y = \omega_n^2 u.

With zero initial conditions and the one-sided Laplace transform, Y(s)=G(s) U(s)Y(s) = G(s)\,U(s). A state-space representation with the state x=(y,y˙)∈R2x = (y, \dot y) \in \mathbb{R}^2 is

x˙=[01−ωn2−2ζωn]x+[0ωn2]u,y=[10]x.\dot x = \begin{bmatrix} 0 & 1 \\ -\omega_n^2 & -2\zeta\omega_n \end{bmatrix} x + \begin{bmatrix} 0 \\ \omega_n^2 \end{bmatrix} u, \qquad y = \begin{bmatrix} 1 & 0 \end{bmatrix} x.

This realization is minimal, so the poles of GG are the eigenvalues of the matrix.

Physical forms. A mass mm (kg) on a spring of stiffness kk (N/m) with a damper cc (N s/m), driven by the force kuk u, obeys my¨+cy˙+ky=kum \ddot y + c \dot y + k y = k u. So ωn=k/m\omega_n = \sqrt{k/m} and ζ=c/(2km)\zeta = c/(2\sqrt{k m}). A series RLC circuit with the output at the capacitor has ωn=1/LC\omega_n = 1/\sqrt{L C} and ζ=(R/2)C/L\zeta = (R/2)\sqrt{C/L}.

Poles. The poles are s=−ζωn±ωnζ2−1s = -\zeta\omega_n \pm \omega_n\sqrt{\zeta^2 - 1}. There are four cases:

case ζ\zeta poles
undamped ζ=0\zeta = 0 ±jωn\pm j \omega_n
underdamped 0<ζ<10 < \zeta < 1 −σ±jωd-\sigma \pm j\omega_d, with σ=ζωn\sigma = \zeta\omega_n and ωd=ωn1−ζ2\omega_d = \omega_n\sqrt{1 - \zeta^2}
critically damped ζ=1\zeta = 1 −ωn-\omega_n, twice
overdamped ζ>1\zeta > 1 two distinct negative real poles p1,p2p_1, p_2 with p1p2=ωn2p_1 p_2 = \omega_n^2

In the underdamped case the poles lie on the circle of radius ωn\omega_n, at the angle θ=arccos⁡ζ\theta = \arccos \zeta from the negative real axis. So ζ\zeta fixes the angle of the poles and ωn\omega_n their distance from the origin. For ζ<0\zeta < 0 the poles are in the right half plane and the system is unstable; the formulas below assume ζ>0\zeta > 0 unless they say otherwise.

What it counts

The model predicts the whole response to any input from the two parameters. The usual uses are:

  • Step response numbers. The overshoot, the peak time, the rise time and the settling time of the step response specifications, as exact functions or bounds in ζ\zeta and ωn\omega_n.
  • Frequency response numbers. The resonant peak, the resonant frequency and the bandwidth.
  • Parameter fits. From a measured step response with overshoot MpM_p and peak time tpt_p, the inverse formulas give ζ=−ln⁡Mp/π2+ln⁡2Mp\zeta = -\ln M_p / \sqrt{\pi^2 + \ln^2 M_p} and ωn=π/(tp1−ζ2)\omega_n = \pi/(t_p\sqrt{1 - \zeta^2}). With Mp=0.16303M_p = 0.16303 and tp=3.6276t_p = 3.6276 s they return ζ=0.5\zeta = 0.5 and ωn=1\omega_n = 1 rad/s. The fit is exact only if the plant is of this form; on a real plant it is a measurement with an error.

Relation to other models

  • First-order system 1/(τs+1)1/(\tau s + 1): the limit of an overdamped second-order system when one pole is much faster than the other. It never overshoots.
  • Higher-order systems with a dominant pair. If a linear time-invariant system has a pair of complex poles much closer to the imaginary axis than all other poles and zeros, its step response is close to that of the pair with the same static gain. This is a design approximation, not a theorem with a stated error. It fails when a zero is near the pair (a zero at −a-a adds the term (1/a) y˙(1/a)\,\dot y and raises the overshoot), when a third pole is not far away (it slows the response and lowers the overshoot), and when a pole and a zero nearly cancel (they leave a slow tail). A ratio of 5 to 10 between the real parts is a common rule of thumb.
  • Second-order system with a zero. ωn2(s/a+1)/(s2+2ζωns+ωn2)\omega_n^2 (s/a + 1)/(s^2 + 2\zeta\omega_n s + \omega_n^2); for a<0a < 0 the zero is in the right half plane and the step response starts in the wrong direction.
  • Discrete time. Sampling with a zero-order hold and the period hh maps the poles to ephe^{p h}; see zero-order-hold discretization.
  • As a closed loop. The loop transfer function L(s)=ωn2/(s(s+2ζωn))L(s) = \omega_n^2/(s(s + 2\zeta\omega_n)) in a unity feedback loop gives the closed loop T=GT = G. So the model is also the closed loop of a type 1 plant with a proportional controller; see complementary sensitivity function.

Known results in the model

All results below are exact for the model, and each one follows from the formula for yy in a few lines.

Step response. For a unit step input and zero initial state,

  • underdamped: y(t)=1−e−σt(cos⁡ωdt+σωdsin⁡ωdt)=1−e−σt1−ζ2sin⁡(ωdt+θ)y(t) = 1 - e^{-\sigma t}\left(\cos \omega_d t + \frac{\sigma}{\omega_d} \sin \omega_d t\right) = 1 - \frac{e^{-\sigma t}}{\sqrt{1 - \zeta^2}} \sin(\omega_d t + \theta), with θ=arccos⁡ζ\theta = \arccos\zeta;
  • undamped: y(t)=1−cos⁡ωnty(t) = 1 - \cos \omega_n t;
  • critically damped: y(t)=1−e−ωnt(1+ωnt)y(t) = 1 - e^{-\omega_n t}(1 + \omega_n t);
  • overdamped: y(t)=1+p2ep1t−p1ep2tp1−p2y(t) = 1 + \frac{p_2 e^{p_1 t} - p_1 e^{p_2 t}}{p_1 - p_2}.

Each follows from the partial fraction decomposition of G(s)/sG(s)/s. The impulse response is the derivative; in the underdamped case it is g(t)=ωn1−ζ2 e−σtsin⁡ωdtg(t) = \frac{\omega_n}{\sqrt{1 - \zeta^2}}\, e^{-\sigma t} \sin \omega_d t.

Peak time and overshoot (0<ζ<10 < \zeta < 1). The derivative y˙=g\dot y = g is zero at t=kπ/ωdt = k\pi/\omega_d, k=1,2,…k = 1, 2, \ldots, and the largest value is at k=1k = 1, where cos⁡ωdt=−1\cos \omega_d t = -1 and sin⁡ωdt=0\sin \omega_d t = 0. So

tp=πωd,Mp=y(tp)−1=e−ζπ/1−ζ2.t_p = \frac{\pi}{\omega_d}, \qquad M_p = y(t_p) - 1 = e^{-\zeta\pi/\sqrt{1 - \zeta^2}}.

For ζ=0.5\zeta = 0.5 and ωn=1\omega_n = 1: tp=3.62760t_p = 3.62760 s and Mp=0.16303M_p = 0.16303. For ζ≥1\zeta \ge 1 there is no overshoot. The overshoot depends on ζ\zeta only.

Rise time. The first time y=1y = 1 is t=(π−θ)/ωdt = (\pi - \theta)/\omega_d, the 0 to 100 percent rise time; for ζ=0.5\zeta = 0.5, ωn=1\omega_n = 1 it is 2.4184 s. The 10 to 90 percent rise time has no closed form; for ζ=0.5\zeta = 0.5, ωn=1\omega_n = 1 it is 1.6376 s. The formula tr≈1.8/ωnt_r \approx 1.8/\omega_n is a rule of thumb, tuned near ζ=0.5\zeta = 0.5.

Settling time. The response stays inside the envelope 1±e−σt/1−ζ21 \pm e^{-\sigma t}/\sqrt{1 - \zeta^2}. So the response is inside the band ±ε\pm\varepsilon for all t≥tεt \ge t_\varepsilon with

tε=1ζωnln⁡1ε1−ζ2,t_\varepsilon = \frac{1}{\zeta\omega_n} \ln \frac{1}{\varepsilon\sqrt{1 - \zeta^2}},

which is an upper bound on the true settling time. For ζ=0.5\zeta = 0.5, ωn=1\omega_n = 1 and ε=0.02\varepsilon = 0.02, the bound is 8.1117 s and the true 2 percent settling time is 8.0763 s. The common formula 4/(ζωn)4/(\zeta\omega_n) drops the factor 1−ζ2\sqrt{1 - \zeta^2} and rounds ln⁡50=3.912\ln 50 = 3.912 to 4; it gives 8 s here and is a rule of thumb. For the 5 percent band, the true value is 5.2891 s and the rule 3/(ζωn)3/(\zeta\omega_n) gives 6 s.

Frequency response. With u=ω/ωnu = \omega/\omega_n,

∣G(jω)∣2=1(1−u2)2+4ζ2u2,∠G(jω)=−atan2⁡(2ζu, 1−u2).|G(j\omega)|^2 = \frac{1}{(1 - u^2)^2 + 4\zeta^2 u^2}, \qquad \angle G(j\omega) = -\operatorname{atan2}(2\zeta u,\ 1 - u^2).

The phase is −90-90 degrees at ω=ωn\omega = \omega_n for every ζ\zeta. Minimizing the denominator over u2u^2 gives:

  • Resonance. For ζ<1/2\zeta < 1/\sqrt 2, the peak is Mr=1/(2ζ1−ζ2)M_r = 1/(2\zeta\sqrt{1 - \zeta^2}) at ωr=ωn1−2ζ2\omega_r = \omega_n\sqrt{1 - 2\zeta^2}. For ζ≥1/2\zeta \ge 1/\sqrt 2, ∣G∣|G| decreases from 1 and there is no resonance. For ζ=0.1\zeta = 0.1: Mr=5.02519M_r = 5.02519 at ωr=0.98995 ωn\omega_r = 0.98995\,\omega_n. For ζ=0.5\zeta = 0.5: Mr=1.1547M_r = 1.1547.
  • Bandwidth. ∣G(jωB)∣=1/2|G(j\omega_B)| = 1/\sqrt 2 at ωB=ωn1−2ζ2+4ζ4−4ζ2+2\omega_B = \omega_n \sqrt{1 - 2\zeta^2 + \sqrt{4\zeta^4 - 4\zeta^2 + 2}}; for ζ=0.5\zeta = 0.5, ωB=1.2720 ωn\omega_B = 1.2720\,\omega_n.

System norms. The H-infinity norm is MrM_r for ζ<1/2\zeta < 1/\sqrt 2 and 1 otherwise. The H2 norm satisfies ∥G∥22=∫0∞g(t)2 dt=ωn/(4ζ)\|G\|_2^2 = \int_0^\infty g(t)^2\,dt = \omega_n/(4\zeta) for ζ>0\zeta > 0. For ζ=0.1\zeta = 0.1, ωn=1\omega_n = 1, that is G(s)=1/(s2+0.2s+1)G(s) = 1/(s^2 + 0.2 s + 1), the norms are 5.02519 and 2.5=1.58114\sqrt{2.5} = 1.58114.

As a unity feedback loop. For L(s)=ωn2/(s(s+2ζωn))L(s) = \omega_n^2/(s(s + 2\zeta\omega_n)), ∣L(jωc)∣=1|L(j\omega_c)| = 1 at ωc=ωn1+4ζ4−2ζ2\omega_c = \omega_n\sqrt{\sqrt{1 + 4\zeta^4} - 2\zeta^2}, and the phase margin is φm=arctan⁡(2ζωn/ωc)\varphi_m = \arctan(2\zeta\omega_n/\omega_c). For ζ=0.5\zeta = 0.5 it is 51.83 degrees. The rule φm≈100 ζ\varphi_m \approx 100\,\zeta degrees for ζ≤0.6\zeta \le 0.6 is a fit to this formula, not an identity. The velocity error constant is Kv=ωn/(2ζ)K_v = \omega_n/(2\zeta) (in 1/s), so a ramp is followed with the steady-state error 2ζ/ωn2\zeta/\omega_n.

Design regions. A bound Mp≤MˉM_p \le \bar M is the same as ζ≥ζˉ\zeta \ge \bar\zeta, a sector around the negative real axis; a bound on the 0 to 100 percent rise time or on tpt_p bounds ωd\omega_d; the settling bound bounds σ=ζωn\sigma = \zeta\omega_n from below. These regions in the ss plane are what the root locus method aims at. For a loop of higher order they are targets for the dominant pair, with the caveats above.

References

  1. Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Chapter 3, Dynamic Response (the poles of a second-order system, the time-domain specifications, and the effects of zeros and extra poles)
  2. Katsuhiko Ogata, Modern Control Engineering, fifth edition, Prentice Hall, 2010, Chapter 5, Transient and Steady-State Response Analyses (second-order systems and their step response specifications), and Chapter 7 (the resonant peak and frequency of the second-order system)
  3. Karl J. Åström and Richard M. Murray, Feedback Systems, An Introduction for Scientists and Engineers, second edition, Princeton University Press, 2021, Chapter 6, Linear Systems (the step response and its specifications), and Chapter 7, State Feedback (second-order systems and the damping ratio)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/R10NPS/text.yaml