S9 · Lesson 3 · Equilibrium points and linearization
Finding equilibria, linearizing nonlinear models with Jacobians, the pendulum hanging and inverted, magnetic levitation, a draining tank, and how far a linear model can be trusted
Almost every real plant is nonlinear: a pendulum's restoring torque goes as sin θ, a magnet's pull as the square of its current over the square of the gap, a tank drains as the square root of its level. Yet nearly all of control design uses linear models. That works because a controller's job is usually to hold the plant near one operating point, and near any point a smooth nonlinear system behaves like a linear one. This lesson shows how to find that linear model and how to tell when it's no longer good enough.
- A damped pendulum's phase portrait: angle against angular velocity, with .
- Near θ = 0 the trajectories spiral in like a linear oscillator's. Near θ = ±π, the inverted position, they run away along a saddle: that equilibrium is unstable.
- Start far enough out and the pendulum swings over the top before settling, something no linear model of the bottom equilibrium can show.
Predict
A pendulum 0.5 m long is balanced upside down. If it starts to tip, how fast does the deviation grow?
Linearized about the top, , so the deviation grows as with = 4.43 s⁻¹: it doubles every ln 2/4.43 = 0.156 s. A balancing controller has to act well within that time.
Name it
Equilibria
For , an equilibrium has : with that input held, the state stays put.
Linearization
Write , and keep the first-order terms of the Taylor series:
The eigenvalues of A are the poles of the linear model. Any in the right half-plane mean the equilibrium is unstable, and the nonlinear system is too (Lyapunov's indirect method); eigenvalues on the imaginary axis leave the question to the nonlinear terms.
Three plants
- Pendulum : about the bottom, ; about the top, poles at .
- Magnetic levitation (x the gap): equilibrium , linear model , poles at .
- Draining tank : outflow changes by , so the level responds with time constant .
How far to trust it
The model is good while the neglected terms stay small. For the pendulum, sin θ ≈ θ is 0.5% off at 10°, 2.1% at 20° and 4.7% at 30°.
Worked example
A magnetic levitation rig holds a steel ball 10 mm below an electromagnet. How fast is the open-loop instability?
Show the solution
- Open-loop poles.
- Doubling time. A disturbance doubles every 15.6 ms.
- What the loop needs. The controller needs a loop bandwidth of well over 44 rad/s, and a sensor and amplifier fast enough to support it.
- Effect of the gap. Halving the gap makes the pole √2 times faster.
Answer the poles sit at ±44.3 s⁻¹, so a disturbance doubles every 15.6 ms.
Worked example
A tank of area 0.5 m² drains through a valve and holds 1 m of water with an inflow of 0.01 m³/s. How quickly does its level respond to small changes in inflow?
Show the solution
- Linearize the outflow. At equilibrium , and a small change in level changes the outflow by
- Level equation. It's a first-order system:
- Time constant.
- Fuller tanks. A tank running fuller responds more slowly.
Answer the level follows small changes in inflow with a 100 s time constant.
Worked example
A heat sink at 400 K radiates to surroundings at 300 K with emissivity 0.9 and area 0.01 m². What thermal resistance does radiation add for small changes in temperature?
Show the solution
- Radiated power.
- Slope at .
- Thermal resistance. That slope is an incremental thermal resistance, in parallel with convection:
- Why the model drifts. Because the slope grows as , the same sink is a better radiator when hot, and a linear model made at one temperature drifts at another.
Answer radiation adds an incremental thermal resistance of 7.7 K/W, in parallel with convection.
Check
What's the small-swing period of a pendulum 1 m long?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A pendulum 0.5 m long is balanced upright. How long does a small tilt take to double?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A maglev rig holds its ball 5 mm from the magnet. Where's its unstable pole?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Check
A tank of area 1 m² holds 0.5 m with a steady flow of 0.02 m³/s through a valve. What's its linearized time constant?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
At 15°, how far (as a percentage) does θ overstate sin θ?
Check
A diode with ideality factor 1.2 is biased at 0.1 mA at 300 K. What's its small-signal resistance?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
A magnetic levitation rig holds its ball 10 mm from the magnet with 0.5 A of coil current.
(a)
Where is its unstable pole?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
(b)
How strongly does a current change accelerate the ball, in m/s² per ampere?
Check
A pendulum of length l under gravity g.
Step 1
What is its natural frequency hanging down?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Where is the unstable pole when it's balanced upright?
Step 3
How long does a small tilt take to double?
Explain why
Why can a linear model be trusted to decide whether an equilibrium is unstable?
Near an equilibrium the nonlinear terms in the dynamics are of second order in the deviation, so for small enough deviations they are swamped by the linear terms. If the linear model has a pole in the right half-plane, a small deviation along that mode grows exponentially, and while it's still small the nonlinear terms can't stop it, so the true system leaves the neighborhood too. Likewise, if every pole is in the left half-plane, small deviations decay before the nonlinear terms matter. Only when a pole sits exactly on the imaginary axis is the linear model silent, because then the small nonlinear terms decide whether the motion grows or decays.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.