S93 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 θ¨=−(g/l)sin⁡θ−cθ˙.
  • 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?

Name it

Equilibria

For x˙=f(x,u), an equilibrium (x0,u0) has f(x0,u0)=0: with that input held, the state stays put.

Linearization

Write x=x0+δx, u=u0+δu and keep the first-order terms of the Taylor series:

δx˙=Aδx+Bδu,A=∂f∂x|0,B=∂f∂u|0

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 ml2θ¨=−mglsin⁡θ−bθ˙+τ: about the bottom, ωn=g/l; about the top, poles at ±g/l.
  • Magnetic levitation mx¨=mg−ki2/x2 (x the gap): equilibrium ki02/x02=mg, linear model δx¨=2gx0δx−2gi0δi, poles at ±2g/x0.
  • Draining tank Ah˙=qin−ch: outflow changes by c2h0δh, so the level responds with time constant τ=2Ah0/q0.

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
  1. Open-loop poles. s=±2g/x0=±2×9.81/0.01=±44.3s−1
  2. Doubling time. A disturbance doubles every 15.6 ms.
  3. 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.
  4. 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
  1. Linearize the outflow. At equilibrium q0=ch0, and a small change in level changes the outflow by δq=q02h0δh
  2. Level equation. It's a first-order system: Aδh˙=δqin−q02h0δh
  3. Time constant. τ=2Ah0q0=2×0.5×10.01=100s
  4. 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
  1. Radiated power. P=ϵσA(T4−Ta4)
  2. Slope at T0. dPdT=4ϵσAT03=4×0.9×5.67×10−8×0.01×4003=0.131W/K
  3. Thermal resistance. That slope is an incremental thermal resistance, in parallel with convection: R=10.131W/K=7.7K/W
  4. Why the model drifts. Because the slope grows as T03, 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°.

Explain why

Why can a linear model be trusted to decide whether an equilibrium is unstable?

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.