Techniqueintro
Linearization about an equilibrium
Also called Jacobian linearization, small-signal linearization.
Replaces a nonlinear system near an equilibrium by the linear system given by the Jacobians of the vector field and the output map.
Linearization about an equilibrium replaces a nonlinear system , near a rest point by the linear system , , where , , and are the Jacobian matrices of first partial derivatives of and at that point, and , , are the small deviations. It is the first-order Taylor expansion of the equations, the same idea as the small-signal model of a circuit in AC small-signal analysis. The linear model is accurate to second order in the deviation, and at a hyperbolic equilibrium it decides local stability (Lyapunov's indirect method). It differs from feedback linearization, which cancels the nonlinearity exactly by a change of coordinates and feedback, and is valid in a large region.
In plain words
Most real systems are nonlinear, but most of the tools of control work only for linear systems. If the system works near one operating condition, small changes around that condition behave almost linearly, in the same way that a smooth curve looks like a straight line under a microscope. The method finds the operating condition, measures how sensitive each rate of change is to each state and each input at that point, and keeps only these sensitivities. The result is a linear model of the small deviations from the operating condition. It is reliable for small deviations and for questions about what happens very close to the operating point. It can mislead for large deviations, or when the linear model is on the edge between growth and decay.
When it applies
- The point is an equilibrium. (see equilibrium point). At a point that is not an equilibrium, the expansion has a constant term , and the result is an affine model, not a linear one. For a moving reference, linearize along the trajectory instead (see Variations).
- and are differentiable at the point. near gives the Jacobians and a remainder that is . gives a remainder of order . A saturation, a dead zone, Coulomb friction or at its corner has no Jacobian there, and the method does not apply at such a point.
- The question is local. The linear model answers questions about small deviations: local stability, local controllability, the response to small inputs, and the design of a controller that keeps the deviations small. It gives no information on the size of the region where these answers hold.
- The equilibrium is hyperbolic, for stability questions. If some eigenvalue of has zero real part, the linear model does not decide stability.
The template
-
Find the operating point. Solve for the desired or the desired output . In general there are many solutions, often an -dimensional family parametrized by the input.
-
Compute the Jacobians.
Entry of is . Use the formulas when is known in closed form, automatic differentiation when is a program, or finite differences as a last resort.
-
Write the deviation model. With , and , Taylor's theorem gives
near the point, if is and bounds half the second derivatives there. Drop .
-
Analyze or design on the linear model. Eigenvalues, controllability, a state feedback , an observer. The theorem behind step 4 for stability: if is Hurwitz, is locally exponentially stable for the nonlinear system; if has an eigenvalue with positive real part, is unstable (Khalil 2002, Section 4.3). At a hyperbolic equilibrium of a system, the Hartman-Grobman theorem says more: the nonlinear flow near is a continuous deformation of the linear flow (Hartman 1960; Grobman 1959).
-
Map back and check. Apply to the real system, not alone. Check the design by simulation of the nonlinear model from initial deviations of increasing size, or estimate the region of attraction with a Lyapunov function (region of attraction estimation). The linear analysis gives no region by itself.
Accuracy on finite time. If is , and the deviations start with size with an input deviation of size , then on a fixed interval the nonlinear and the linear deviation trajectories differ by . The proof writes the nonlinear deviation with the variation of constants formula and the remainder as an input, and bounds the difference with the Grönwall inequality. If is Hurwitz, the bound holds uniformly on for small .
Classic examples
Pendulum, hanging and upright. With , , (normalized so that ). The Jacobians are
At , has eigenvalues , a stable focus. At , with eigenvalues and , a saddle. For the upright point, the feedback gives the linear closed loop the characteristic polynomial , with poles and .
To see the accuracy, start the hanging pendulum at , , and compare the nonlinear state at (RK4, step 0.001) with . The largest error is for , for , and for . Doubling multiplies the error by 8, not 4: here the second-order term is zero, because , and the error is of third order.
A tank with an outflow. The level of a tank with inflow and outflow through a hole obeys (in scaled units, by Torricelli's law). The equilibria are , and , . At the linear model has time constant 2; at it has time constant 1. The linear model depends on the operating point, which is the reason for gain scheduling.
A diode, small-signal. The current of a diode is . At an operating point with current , the small-signal conductance is . For mA and mV, this is about S, a resistance of about ohm. A circuit simulator does this for every device at the DC operating point and then solves the linear circuit at each frequency; see AC small-signal analysis.
Where it fails: a zero eigenvalue. and both have the linearization at 0. The first equilibrium is asymptotically stable (but not exponentially stable), and the second is unstable. The linear model cannot tell them apart.
Where it fails: lost controllability. A wheeled robot with position , heading , forward speed and turn rate obeys , , . At rest at the origin, and , so the linear model cannot move sideways and is not controllable. The nonlinear robot can park sideways by a sequence of moves, which the Lie bracket of the two input fields shows. By the Brockett condition, no continuous static feedback stabilizes it at the origin.
Variations
- Linearization along a trajectory. For a nominal solution , the Jacobians evaluated along it give a linear time-varying system . This is used for trajectory tracking and in the extended Kalman filter.
- Discrete time. For with a fixed point , the linear model is with . Stability needs the eigenvalues of inside the unit circle.
- Linearization of a sampled plant. Linearize first and then apply zero-order hold discretization. If instead the exact sampled map of the nonlinear system (the flow over one period with the input held constant) is linearized at the equilibrium, the result is the same pair of matrices, because along a constant solution the variational equation is the linear model itself.
- Families of linearizations. Linearize at many operating points and interpolate the controllers: gain scheduling, or an LPV system model.
- Exact linearization. Feedback linearization and input-output linearization make the closed loop exactly linear in new coordinates, in a whole region, under conditions on Lie brackets. They are different techniques with the same word in the name.
- Numerical Jacobians. With central differences, , the truncation error is and the rounding error is about ; a step near times the scale of balances them. Automatic differentiation gives the Jacobian to rounding accuracy.
Pitfalls
- Forgetting the offsets. The linear model is in deviations. A controller designed as must be applied as . Applying to the real plant is a different controller.
- Linearizing at a point that is not an equilibrium. The neglected constant term makes the state drift, and the linear model predicts no drift.
- Trusting it at large deviations. The pendulum example shows the error growing like ; at rad it is already visible. Input saturation makes the region where a linear design works smaller still.
- Non-hyperbolic points. Eigenvalues on the imaginary axis leave stability undecided. Use a Lyapunov function, center manifold arguments or simulation.
- Hidden non-smoothness. Friction, backlash, quantization and saturation are not differentiable at their corners. Their effects, such as limit cycles in a loop with backlash, are absent from the Jacobian model.
- Coordinates. The eigenvalues of do not depend on the coordinates, but the size of the region of validity does. A badly scaled state makes "small deviation" mean very different things in different components.
Exercises
- Linearize the logistic equation at the equilibrium with and . Is it stable?
- For the pendulum above, compute the linear model at the equilibrium of a constant torque , and its eigenvalues.
- Show that , has the linearization , and that the difference between the solutions of the two models from is of order .
- Find a system with an equilibrium whose linearization has an eigenvalue with positive real part, and show directly that it is unstable.
- For the wheeled robot, find the linearization along the trajectory , , , and check that this linear model, which here has constant matrices, is controllable.
References
- Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 2.3, Qualitative Behavior Near Equilibrium Points; Section 4.3, Linear Systems and Linearization (the indirect method); Section 4.6, Linear Time-Varying Systems and Linearization
- Wilson J. Rugh, Linear System Theory, second edition, Prentice Hall, 1996, Chapter 2, State Equation Representation (linearization about a nominal solution)
- Philip Hartman, A lemma in the theory of structural stability of differential equations, Proceedings of the American Mathematical Society 11(4), 610-620, 1960, the local topological equivalence of a flow and its linearization at a hyperbolic equilibrium
- D. M. Grobman, Homeomorphism of systems of differential equations, Doklady Akademii Nauk SSSR 128, 880-881, 1959, the same equivalence, found independently
- Karl J. Åström and Richard M. Murray, Feedback Systems, An Introduction for Scientists and Engineers, second edition, Princeton University Press, 2021, the chapter on linear systems (linearization of nonlinear models about an equilibrium)
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 40Y4Z0 Edit this page History Report an error Markdown