Linearization
In questa pagina 14
Why we need it
Many physical systems are naturally described by nonlinear equations, for instance a damped pendulum and a tank with a square-root outflow:
The tools developed so far (transfer functions, poles, BIBO stability) apply directly only to linear models. The idea is: close to a chosen operating point, replace the nonlinear model by its first-order approximation.
Linearization is local:
| Nonlinear model | Linearized model |
|---|---|
| Valid over a broad range of states and inputs, but often harder to analyze | Simple to analyze, but accurate only near the selected operating point |
nonlinear model --- first-order Taylor expansion around (x_e, u_e) ---> linear modelThe subscript "e" always denotes an equilibrium (operating) point.
First ingredient: the operating point
Take a nonlinear first-order model
An equilibrium satisfies
If the input is kept at and the system starts at , then and therefore for all . Rule: before linearizing, always identify the operating point.
Second ingredient: deviation variables
Motion is described relative to the equilibrium:
So and . Since is constant, .
Important: the linearized model relates small variations to small variations . It does not directly describe the absolute variables and .
Taylor approximation: the basic idea
For a scalar function near :
The curve is replaced by its tangent line at ; higher-order terms such as are neglected. Linearization is just a Taylor expansion stopped after the first-order terms.
Linearizing a first-order nonlinear system
Start from . Around the first-order Taylor expansion is
At equilibrium , and , hence
The two coefficients are the partial derivatives of with respect to the state and the input, evaluated at the operating point.
Example: a nonlinear first-order system
- Choose the equilibrium . The equilibrium input must satisfy , so .
- Derivatives: , .
- At :
- With zero initial conditions, the transfer function from to is
The operating point changes the linear model
The same system also has the equilibrium . Now , so
With the natural response is , which grows. A nonlinear system does not have one unique linearization: the result depends on the operating point (here one equilibrium gives a stable linear model and the other an unstable one).
General nonlinear state-space model
An equilibrium satisfies , and the corresponding equilibrium output is . Deviation variables:
The Jacobian matrices
The first-order approximation gives a linear state-space model in the deviations:
with
For example, is the matrix of all partial derivatives of the components of with respect to the components of :
Practical rule: compute the derivatives first, then evaluate them at the operating point.
A nonlinear input-output ODE
If the model is written directly as
then at an equilibrium all time derivatives are zero, and the first-order approximation is
The result is a linear differential equation in the deviation variables.
Example: the nonlinear pendulum
Around the downward equilibrium
, , . Use
Therefore
Around the upright position
, , . Because , , hence
The characteristic polynomial of the natural response is
Its product of roots is , so the two roots have opposite signs and one mode grows: the upright equilibrium is locally unstable without feedback control. (The sign test on the coefficients is the topic of The Routh-Hurwitz CriterionThe Routh-Hurwitz criterion decides whether all roots of a characteristic polynomial lie in the open left half-plane, and counts the right-half-plane roots, by building a table (the Routh array) from the coefficients and counting sign changes in its first column.The Routh-Hurwitz Criterion →.)
Transfer function of the linearized model
Once the system is linearized, all the usual linear tools apply. With zero initial deviation,
Poles and stability of the linearized model describe the local behavior near the chosen equilibrium.
How close is "close"?
There is no universal numerical radius of validity. The approximation becomes worse when
- deviations or become large;
- the neglected quadratic and higher-order terms become important;
- the system moves into a region with a substantially different slope;
- the operating point itself changes significantly.
Engineering practice: use the linear model for analysis and controller design near the operating point, then verify the result on the original nonlinear model.
Common mistakes
- Linearizing before checking the equilibrium condition.
- Forgetting to introduce deviation variables.
- Evaluating derivatives at the wrong point.
- Replacing by everywhere rather than only near .
- Interpreting a local linear result as a global property of the nonlinear system.
A particularly common mistake is to write the linearized equation directly in instead of .
Quick exercise (from the slides) and worked solution
with . Questions: find all equilibria, linearize around each, and decide whether decays or grows for . Hint on the slide: and .
Worked solution (computed here from the hint, not shown on the slide):
- Equilibria: , so .
- Around : , so ; with , grows.
- Around : , so ; decays.
Summary of the procedure
- Choose an equilibrium .
- Define the deviation variables , , .
- Keep only the first-order Taylor terms.
- Compute the Jacobians .
- Analyze the resulting linear model using transfer functions, poles, and the tools already developed.
Linearization answers a local question: what does the nonlinear system look like for small perturbations around this operating point?
Versione ripasso
- Goal: replace a nonlinear model by its first-order Taylor expansion near an operating point; tools for linear systems (transfer functions, poles) then apply locally.
- Equilibrium: gives ; state-space , gives , .
- Deviation variables: , , ; .
- First order: with , .
- State space: , , with , , , (Jacobians: differentiate first, then evaluate at ).
- Input-output ODE : .
- Transfer function: .
- Examples: at gives , ; at gives , unstable. Pendulum: ; down () gives , up () gives , roots of opposite sign, locally unstable.
- Validity: worse for large deviations, strongly changing slope, or moving operating point; design on the linear model, then verify on the nonlinear one.
- Typical mistakes: linearizing before checking ; not using deviation variables (writing instead of ); derivatives at the wrong point; everywhere; reading a local result as global. The linearization is not unique: it depends on the operating point. See also The Routh-Hurwitz CriterionThe Routh-Hurwitz criterion decides whether all roots of a characteristic polynomial lie in the open left half-plane, and counts the right-half-plane roots, by building a table (the Routh array) from the coefficients and counting sign changes in its first column.The Routh-Hurwitz Criterion → for testing the stability of the linearized characteristic polynomial.