Algorithm Search⌘K

Problemadvanced

Output regulation problem

Also called servomechanism problem.

Design a feedback so that the loop is internally stable and the output tracks references and rejects disturbances that a known autonomous exosystem generates.

The output regulation problem, also called the servomechanism problem, asks for a feedback controller that makes a closed loop internally stable and makes the tracking error e(t)e(t) go to zero for every reference and disturbance in a known class. The class is the set of all outputs of an autonomous linear model, the exosystem w˙=Sw\dot w = S w: constants come from S=0S = 0, ramps from a Jordan block, and sinusoids of frequency ω\omega from S=[0ω−ω0]S = \begin{bmatrix} 0 & \omega \\ -\omega & 0 \end{bmatrix}. Francis (1977) proved that the problem is solvable exactly when the plant can be stabilized and two linear matrix equations, the regulator equations, have a solution. Davison (1976) and Francis and Wonham (1975) showed that a regulator that keeps working under small plant changes must contain a copy of the exosystem, which is the internal model principle. Integral action for step references, integral state feedback, is the case S=0S = 0.

In plain words

You want a machine to follow a signal of a known type, such as a constant level, a steady ramp or a sine wave of known frequency, and to ignore a push of a known type. You do not know the size or the timing of these signals, only their type. The type is described by a small model that produces the signals by itself. The task is to design a controller that keeps the whole loop calm and makes the error die out for every signal of that type. The answer has two parts. First, the machine must be able to produce, in steady motion, the exact output that cancels the error; this is a linear equation. Second, a controller that is robust must copy the signal model inside it, for example an integrator for constant signals.

Definition

Data. A plant and an exosystem

x˙=Ax+Bu+Pw,w˙=Sw,e=Cx+Qw,\dot x = A x + B u + P w, \qquad \dot w = S w, \qquad e = C x + Q w,

with x∈Rnx \in \mathbb{R}^n, u∈Rmu \in \mathbb{R}^m, e∈Rpe \in \mathbb{R}^p and w∈Rqw \in \mathbb{R}^q. The exosystem state ww holds the references and the disturbances; ee is the error, for example y−ry - r. The standard assumptions are:

  • (H1) every eigenvalue of SS has real part ≥0\ge 0. Modes that decay on their own need no regulation, so this loses no generality.
  • (H2) (A,B)(A, B) is stabilizable.
  • (H3), for error feedback only: the pair ([CQ],[AP0S])\left(\begin{bmatrix} C & Q \end{bmatrix}, \begin{bmatrix} A & P \\ 0 & S \end{bmatrix}\right) is detectable.

Full information problem. Find KK and LL such that, with u=−Kx+Lwu = -K x + L w:

  1. (stability) A−BKA - BK is Hurwitz;
  2. (regulation) e(t)→0e(t) \to 0 as t→∞t \to \infty for every x(0)x(0) and w(0)w(0).

Error feedback problem. Find a controller ξ˙=Fξ+Ge\dot \xi = F \xi + G e, u=Hξu = H \xi such that the closed loop with w=0w = 0 is internally stable, that is the matrix [ABHGCF]\begin{bmatrix} A & BH \\ GC & F \end{bmatrix} is Hurwitz, and e(t)→0e(t) \to 0 for every initial state of plant, controller and exosystem.

Solvability (Francis 1977). Under (H1) and (H2), the full information problem is solvable if and only if there are matrices Π∈Rn×q\Pi \in \mathbb{R}^{n \times q} and Γ∈Rm×q\Gamma \in \mathbb{R}^{m \times q} with

ΠS=AΠ+BΓ+P,0=CΠ+Q.\Pi S = A \Pi + B \Gamma + P, \qquad 0 = C \Pi + Q.

Under (H1), (H2) and (H3) the same condition decides the error feedback problem. The proofs, the controllers, and the condition for solvability for all PP and QQ, namely rank⁡[A−λIBC0]=n+p\operatorname{rank} \begin{bmatrix} A - \lambda I & B \\ C & 0 \end{bmatrix} = n + p for every eigenvalue λ\lambda of SS, are on the regulator equations page. The meaning of the equations: the subspace x=Πwx = \Pi w is invariant under the steady-state input u=Γwu = \Gamma w, and on it the error is zero.

Variants

  • Robust regulation. Ask that regulation hold for all plants (A,B,C,P,Q)(A, B, C, P, Q) in a neighbourhood of the nominal one, as long as the loop stays internally stable. This is the servomechanism problem of Davison (1976). Its solution uses error feedback with an internal model: pp copies of the minimal polynomial of SS in the controller (Francis and Wonham 1975). When the measured output is the error itself, a robust regulator exists if (A,B)(A, B) is stabilizable, (C,A)(C, A) is detectable, and the rank condition above holds at every eigenvalue of SS; the rank condition needs m≥pm \ge p.
  • Structurally stable but not robust. A full information controller u=−Kx+(Γ+KΠ)wu = -Kx + (\Gamma + K\Pi) w regulates only the nominal plant. If AA, BB or CC change, Π\Pi and Γ\Gamma change, and the error has a nonzero steady state in general.
  • Tracking only or rejection only. Tracking of r=Rwr = R w is the case Q=−RQ = -R, P=0P = 0. Rejection of a disturbance d=Dwd = D w at the input is P=BDP = B D, Q=0Q = 0.
  • Discrete time. For xk+1=Axk+Buk+Pwkx_{k+1} = A x_k + B u_k + P w_k, wk+1=Swkw_{k+1} = S w_k, the equations have the same form, and (H1) becomes: every eigenvalue of SS has modulus ≥1\ge 1.
  • Nonlinear output regulation (Isidori and Byrnes 1990). For x˙=f(x,u,w)\dot x = f(x, u, w), w˙=s(w)\dot w = s(w), e=h(x,w)e = h(x, w), the matrices Π\Pi and Γ\Gamma become maps π(w)\pi(w) and c(w)c(w) that solve the partial differential equations ∂π∂ws(w)=f(π(w),c(w),w)\frac{\partial \pi}{\partial w} s(w) = f(\pi(w), c(w), w) and 0=h(π(w),w)0 = h(\pi(w), w). Under their hypotheses, the local problem is solvable if and only if these equations have a solution near w=0w = 0; the proof uses a center manifold.
  • Periodic signals of known period. An exosystem for all signals with period TT has infinitely many modes 2πki/T2\pi k i / T. The internal model is then a delay loop, which is repetitive control.

Examples

  • A sinusoidal reference for a first-order plant. x˙=x+u\dot x = x + u, e=x−w1e = x - w_1, with w˙1=w2\dot w_1 = w_2, w˙2=−w1\dot w_2 = -w_1, so S=[01−10]S = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}, P=0P = 0 and Q=[−10]Q = \begin{bmatrix} -1 & 0 \end{bmatrix}. The second regulator equation gives Π=[10]\Pi = \begin{bmatrix} 1 & 0 \end{bmatrix}. The first gives ΠS=[01]=Π+Γ\Pi S = \begin{bmatrix} 0 & 1 \end{bmatrix} = \Pi + \Gamma, so Γ=[−11]\Gamma = \begin{bmatrix} -1 & 1 \end{bmatrix}. With K=2K = 2 the controller is u=−2x+(Γ+KΠ)w=−2x+w1+w2u = -2x + (\Gamma + K \Pi) w = -2x + w_1 + w_2. Check: z=x−w1z = x - w_1 satisfies z˙=x+u−w2=−x+w1=−z\dot z = x + u - w_2 = -x + w_1 = -z, so e=ze = z decays like e−te^{-t}. The rank condition holds at λ=±i\lambda = \pm i, because det⁡[1−λ110]=−1≠0\det \begin{bmatrix} 1 - \lambda & 1 \\ 1 & 0 \end{bmatrix} = -1 \ne 0.
  • A zero on the exosystem spectrum (non-example). Let G(s)=s/((s+1)(s+2))G(s) = s / ((s + 1)(s + 2)), with A=[01−2−3]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}, B=[01]B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, C=[01]C = \begin{bmatrix} 0 & 1 \end{bmatrix}, and a constant reference: S=0S = 0, P=0P = 0, Q=−1Q = -1. The equations are 0=AΠ+BΓ0 = A \Pi + B \Gamma and π2=1\pi_2 = 1. The first row of AΠ+BΓ=0A\Pi + B\Gamma = 0 says π2=0\pi_2 = 0. So there is no solution, and no controller tracks a step. The reason is the plant zero at s=0s = 0, which equals the exosystem eigenvalue; the rank condition fails there, because rows 1 and 3 of [ABC0]\begin{bmatrix} A & B \\ C & 0 \end{bmatrix} are equal. A plant that differentiates cannot hold a constant nonzero output with a bounded state.
  • Step references and integral action. For S=0S = 0 the equations become [ABC0][ΠΓ]=−[PQ]\begin{bmatrix} A & B \\ C & 0 \end{bmatrix} \begin{bmatrix} \Pi \\ \Gamma \end{bmatrix} = -\begin{bmatrix} P \\ Q \end{bmatrix}. They have a solution for every PP, QQ exactly when this matrix has full row rank n+pn + p, that is when the plant has no transmission zero at 0 and m≥pm \ge p. The robust controller adds one integrator per error channel, which is integral state feedback.

Known algorithms

  • Full information design. Solve the regulator equations, choose KK with A−BKA - BK Hurwitz by pole placement or LQR, and set L=Γ+KΠL = \Gamma + K \Pi. The regulator equations are a linear system of (n+p)q(n + p) q equations in (n+m)q(n + m) q unknowns. Solved as one Kronecker system it costs O((n+m)3q3)O((n + m)^3 q^3); with SS in real Schur form it splits into qq systems of size n+pn + p by n+mn + m, one per column, for O(q(n+m)3+q3+q2n)O(q (n + m)^3 + q^3 + q^2 n) operations. See Sylvester equation for the same idea.
  • Observer-based error feedback. Build an observer for the augmented state (x,w)(x, w) from ee, which exists under (H3), and apply the full information law to the estimates. The controller has order n+qn + q. It is not robust.
  • Internal model design. Put pp copies of the minimal polynomial of SS in the controller (the servocompensator of Davison 1976), then stabilize the plant with this compensator by any method, for example LQR on the augmented state and an observer. The controller is robust in the sense of the variant above.

A problem without a cost has no optimal algorithm in the usual sense. What is proved is the criterion: Francis (1977) gives necessary and sufficient conditions, and every algorithm above finds a controller whenever one exists, in a finite number of linear algebra steps.

AlgorithmTimeSpacePropertiesCode
Input-output linearizationO(n^3 p q) worstO(n^2 p) extradeterministicexactofflineiterative1 language

Bounds

  • Order of the controller. An error feedback regulator exists with order at most n+qn + q, by the observer-based design. A robust regulator needs at least pp times the degree of the minimal polynomial of SS internal model states (the internal model principle, Francis and Wonham 1975); the internal model design attains this plus the order of a stabilizer.
  • Rate. With the full information law, z=x−Πwz = x - \Pi w satisfies z˙=(A−BK)z\dot z = (A - BK) z and e=Cze = C z, so the error decays at the rate set by the eigenvalues of A−BKA - BK. This rate can be made arbitrarily fast when (A,B)(A, B) is controllable, at the price of large gains.
  • Necessity of the rank condition. If rank⁡[A−λIBC0]<n+p\operatorname{rank} \begin{bmatrix} A - \lambda I & B \\ C & 0 \end{bmatrix} < n + p for some eigenvalue λ\lambda of SS, there are PP and QQ for which the problem has no solution. This is a theorem, proved on the regulator equations page.

Reductions

  • To a linear equation and a stabilization problem. By the theorem of Francis, the full information problem reduces to the regulator equations plus the choice of a stabilizing KK.
  • To stabilization of an augmented plant. The robust problem reduces, after the internal model is connected to the error, to the stabilization of the plant in series with the internal model. This plant is stabilizable exactly when (H2) and the rank condition hold.
  • From step tracking. Integral action for constant references and disturbances is the case S=0S = 0; the rank condition becomes the absence of a zero at the origin.
  • Compared with disturbance decoupling. The disturbance decoupling problem asks for zero effect of every disturbance signal. Output regulation asks only that the error decay, and only for exosystem signals. The second is much weaker and is solvable in many cases where the first is not.

Applications

  • Servo systems. Position and speed loops in machine tools, robots and drives track steps and ramps without steady-state error by integral action, the case S=0S = 0 or a double integrator.
  • Rejection of periodic disturbances. Disk drives reject the runout of a rotating disk, and helicopters and wind turbines reject vibrations at the rotor frequency, with internal models of known frequencies.
  • Power electronics. Grid-connected converters track sinusoidal currents at the grid frequency with resonant controllers, which are internal models of ±iω\pm i\omega.
  • Active noise and vibration control. Tonal noise at known frequencies is cancelled with internal models of those tones.
  • Nonlinear systems. Isidori and Byrnes (1990) extended the problem to nonlinear plants, where it is used for tracking in aircraft and in robots.

References

  1. B. A. Francis, The linear multivariable regulator problem, SIAM Journal on Control and Optimization 15(3), 486-505, 1977, the statement of the regulator problem with full information and with error feedback, and its solution by a pair of linear matrix equations
  2. E. J. Davison, The robust control of a servomechanism problem for linear time-invariant multivariable systems, IEEE Transactions on Automatic Control 21(1), 25-34, 1976, the robust servomechanism problem, its existence conditions, and the servocompensator built from the modes of the exosystem
  3. B. A. Francis and W. M. Wonham, The internal model principle for linear multivariable regulators, Applied Mathematics and Optimization 2(2), 170-194, 1975, the internal model principle for regulation that is kept under perturbations of the plant
  4. A. Isidori and C. I. Byrnes, Output regulation of nonlinear systems, IEEE Transactions on Automatic Control 35(2), 131-140, 1990, the nonlinear output regulation problem and the partial differential equations that replace the linear regulator equations
  5. Harry L. Trentelman, Anton A. Stoorvogel and Malo Hautus, Control Theory for Linear Systems, Springer, 2001, Chapter 9, Tracking and regulation

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)
WritingW2 basic
  • a contract.yaml