S9 · Lesson 43 · Saturation, describing functions and limit cycles
Actuator saturation and how it slows large steps, the describing function of a relay and of a saturation, predicting the amplitude and frequency of limit cycles from a Nyquist plot, relay autotuning explained, and Lyapunov's direct method
Linear theory assumes the actuator does whatever the controller asks. Real amplifiers clip at their rails, motors have torque limits, valves stop at fully open, and gears have backlash. These nonlinearities slow large responses, wind up integrators, and can sustain steady oscillations, limit cycles, that no linear model predicts. The describing function, an engineer's approximation from the 1940s, treats a nonlinearity as a gain that depends on signal amplitude and finds those oscillations on the Nyquist plot you already know how to draw.
- The Nyquist plot of and the line for a relay of amplitude d = 1, which runs along the whole negative real axis as the oscillation amplitude a grows.
- The two meet at (dot), at ω = √3. There : a sustained oscillation of amplitude .
- This is exactly the relay autotuning test of lesson 16: the relay finds the frequency where the plant's phase is −180°, and the amplitude reveals the gain there.
Predict
A relay with output ±1 drives with K = 1 in a feedback loop. What happens?
The relay's describing function is , a gain that falls as the amplitude grows. The loop settles where that gain times the plant's gain at its phase crossover is one: , so a = 1/(2π) = 0.159, at ω = √3 (period 3.63 s). A simulation of this loop gives an amplitude of 0.163 and a period of 3.68 s, within 3% of the prediction, because the plant filters out the relay's harmonics well.
Name it
Saturation
An actuator limited to caps how fast large changes can happen: a first-order plant driven flat out from rest reaches y after , whatever the controller asks. Small signals still see the linear loop. With integral action, saturation causes windup (lesson 15).
Describing functions
Feed a nonlinearity and keep only the fundamental of its output. The ratio, as a complex gain, is the describing function N(a). For a static, odd nonlinearity it's real:
- Relay (output ±d): .
- Saturation (slope 1, limit L) for a > L: , falling from 1: 0.609 at a = 2L, 0.315 at a = 4L.
- Dead zone (width ±D, slope 1 outside): 1 minus the saturation's N with L = D.
Limit cycles
A loop of a nonlinearity N and a linear part L(s) can sustain an oscillation where
Plot L(jω) and the curve −1/N(a); each intersection predicts a frequency (from L) and an amplitude (from N). The prediction is good when L is low-pass enough to suppress harmonics. A limit cycle is stable if a slightly larger amplitude moves −1/N out of the region the Nyquist plot encircles.
For a relay with , the cycle runs at with amplitude .
Lyapunov's direct method
If a function V(x), positive except at the equilibrium, never increases along trajectories (), the equilibrium is stable; if away from it, asymptotically stable. Energy is the natural choice: for a damped pendulum, gives . For linear systems, solve and use .
Worked example
A relay of ±2 V drives a loop . Predict the limit cycle.
Show the solution
- Phase crossover.
- Loop gain there.
- Amplitude. The cycle's amplitude makes :
- Period.
- Relay autotuning. From this it would estimate which matches the exact ultimate gain 1/0.167.
Answer a limit cycle of amplitude 0.42 at 4.47 rad/s, a period of 1.40 s.
Worked example
The motor of lesson 2 has a speed loop whose amplifier saturates at 24 V. What happens on a step command to 2000 rad/s, and how fast can it reach 400 rad/s?
Show the solution
- Top speed. With = 19.84 rad/s per volt and τ = 15.9 ms (lesson 2), full voltage heads for
- The step to 2000 rad/s. It's out of reach: the loop saturates for good, and the output settles at 476 rad/s with a permanent error.
- Time to 400 rad/s. Flat-out drive gets there in no matter how high the controller's gain.
Answer the loop saturates and settles at 476 rad/s with a permanent error; 400 rad/s takes at least 29 ms.
Worked example
The loop is unstable when linear (the limit is K = 6), but its actuator saturates at ±1. What happens?
Show the solution
- Loop gain at the phase crossover. At rad/s,
- Where the cycle sits. Where the saturation's describing function falls to
- Solve for the amplitude. gives r = 2.03.
- The motion. The actuator's input swings about ±2.03 at 1.41 rad/s (period 4.4 s).
- What saturation does. It keeps the oscillation bounded, but the loop still oscillates.
Answer it settles into a limit cycle, with the actuator's input swinging about ±2.03 at 1.41 rad/s (period 4.4 s).
Check
What's the describing function of a ±5 relay at input amplitude 0.2?
Check
A ±1 relay drives . What amplitude of oscillation does the describing function predict?
Check
A unit-slope saturation is driven at 2 times its limit. What's its describing function?
Check
A relay drives . What's the period of the predicted limit cycle?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A plant with τ = 5 ms is driven flat out at 24 V from rest. How long until it reaches 0.8 of its full-drive output?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
For , solve the Lyapunov equation with q = 1. What's P?
Check
A dead zone of half-width 0.5 (slope 1 outside it) is driven by a sine of amplitude 1.
(a)
What is the describing function of a unit-slope saturation with limit D at this amplitude?
(b)
What is the dead zone's describing function?
Check
A relay of ±d drives .
Step 1
At what frequency is the limit cycle predicted?
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
What is |L| there?
Step 3
What amplitude does the cycle have?
Explain why
Why does a relay in a loop settle into an oscillation of a definite amplitude instead of growing or dying out?
A relay's effective gain for a sine wave is : large for small signals and small for large ones. If the oscillation is smaller than the predicted amplitude, the relay's gain is higher than the value that puts the loop exactly at −1 at the phase crossover, so the loop is effectively unstable and the oscillation grows. If it's larger, the relay's gain is lower, the loop is effectively stable, and the oscillation shrinks. Both pull toward the one amplitude where the loop sits exactly on the edge of stability, which is why the limit cycle is self-sustaining and repeatable enough to be used for autotuning.
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.