Algorithm Search⌘K

Conceptintro

Adaptive control

Also called adaptive controller.

Control that adjusts its parameters online from data, for plants whose parameters are unknown or change slowly.

Adaptive control is control that adjusts the parameters of the controller while the system runs, from measured data, for a plant whose parameters are unknown or change slowly. An adaptive controller has two loops: an ordinary feedback loop with adjustable parameters, and an outer loop that changes these parameters. It differs from robust control, which uses one fixed controller for a whole set of possible plants, and from gain scheduling, which changes the parameters from a measured operating condition by a fixed table and does not learn from the response.

In plain words

A normal controller is tuned once, for one version of the machine. If the machine changes, for example an aircraft that burns fuel or a ship with a different load, the tuning is no longer right. An adaptive controller watches how the machine responds and changes its own tuning while it works. One kind first estimates a model of the machine and then tunes itself for that model. Another kind compares the machine with an ideal response and changes the tuning to make the difference small. Both kinds must learn fast enough to follow the changes, but not so fast that they react to noise or to effects that the model does not include.

The idea

The plant has a known structure and unknown parameters θ∗\theta^*, for example a transfer function of known order with unknown coefficients. The controller C(ϑ)C(\vartheta) has adjustable parameters ϑ\vartheta. The adjustment mechanism updates ϑ(t)\vartheta(t) from the signals uu, yy and the command rr.

There are two classic structures.

  • Indirect (explicit) scheme. An estimator computes θ^(t)\hat\theta(t), for example with the recursive least squares algorithm. A design rule FF then gives ϑ=F(θ^)\vartheta = F(\hat\theta), for example pole placement or minimum variance. Using the estimate as if it were the true value is the certainty equivalence principle. The self-tuning regulator and adaptive pole placement are of this type.
  • Direct (implicit) scheme. The plant model is written in terms of the controller parameters, and these are estimated directly, with no design step. Model reference adaptive control is of this type: the error e=y−yme = y - y_m to a reference model drives the update of the gains.

Even for a linear time-invariant plant the adaptive loop is nonlinear and time varying, because the parameters multiply the signals. So linear tools do not prove its properties. The main tools are a Lyapunov function of the tracking error and the parameter error, which gives bounded signals and e→0e \to 0 (theorems on the MRAC page); averaging, which describes slow adaptation; and the persistent excitation condition, which decides whether the parameters converge to the true values.

Three questions recur in the field.

  • Convergence of the parameters. The error can go to zero while the parameters stop at wrong values, if the command does not excite the plant enough.
  • Robustness. The ideal theorems assume the plant has exactly the assumed structure. Small unmodeled dynamics and bounded disturbances can make the parameters drift and the loop lose stability; see the Rohrs counterexample. Modifications such as parameter projection and sigma modification keep the parameters bounded.
  • Design at each instant. An indirect scheme must avoid estimates for which the design does not exist, for example a model with a common factor of the numerator and the denominator.

Examples

  • The MIT rule. For the plant kG(s)kG(s) with G(s)=1/(s2+s+1)G(s) = 1/(s^2 + s + 1), k=1k = 1, the model gain k0=2k_0 = 2 and a constant command u0u_0, the gradient law converges if and only if γu02<1/2\gamma u_0^2 < 1/2 (a theorem on the MIT rule page). The safe gain depends on the size of the command, which is why the Lyapunov designs replaced this law.
  • Model reference control of an unstable plant. For y˙=y+2u\dot y = y + 2u and the model y˙m=−2ym+2r\dot y_m = -2y_m + 2r, the Lyapunov law drives the gains to the ideal values (−1.5,1)(-1.5, 1) when r=sin⁡tr = \sin t. With r=1r = 1 the error still goes to zero, but the gains stop on the line k+l=−0.5k + l = -0.5 (measurements on the MRAC page).
  • A self-tuning regulator. For yt+1=0.9yt+0.5ut+et+1+0.5ety_{t+1} = 0.9y_t + 0.5u_t + e_{t+1} + 0.5e_t with unit noise variance, the open loop output has the variance 11.3. The self-tuner, which knows only the structure, reaches a variance between 0.97 and 1.04 after 5000 samples, close to the minimum 1 (measurements on the self-tuning regulator page).

Where it is used

Adaptive control began with aircraft autopilots in the 1950s, where the dynamics change with speed and altitude. It is used in ship steering and autopilots, process control (pH, chemical reactors, paper machines), automatic tuning of PID controllers by relay auto-tuning followed by adaptation, active noise and vibration control with adaptive filters, robot manipulators with unknown loads, and power electronics. In many industrial products the adaptation runs only on demand (auto-tuning) or is combined with gain scheduling, because a loop that adapts all the time needs supervision to stay safe. Related learning methods are iterative learning control for repeated tasks, extremum seeking control for the optimum of an unknown map, and model-based reinforcement learning.

References

  1. Karl Johan Åström and Björn Wittenmark, Adaptive Control, second edition, Addison-Wesley 1995 (Dover reprint 2008), Chapter 1, What is adaptive control (the definition, the two loops, direct and indirect schemes, and the relation to gain scheduling and robust control)
  2. Petros A. Ioannou and Jing Sun, Robust Adaptive Control, Prentice Hall 1996 (Dover reprint 2012), Chapter 1, Introduction (adaptive control, direct and indirect schemes, certainty equivalence and a brief history)
  3. Kumpati S. Narendra and Anuradha M. Annaswamy, Stable Adaptive Systems, Prentice Hall 1989 (Dover reprint 2005), Chapter 1, Introduction (the classes of adaptive systems and the history of the stability problem)

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/M6YPVK/text.yaml