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

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 L=K/(s+1)3 and the line −1/N(a)=−πa/(4d) 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 −K/8 (dot), at ω = √3. There N(a)L(jω)=−1: a sustained oscillation of amplitude a=dK/2π.
  • 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 K/(s+1)3 with K = 1 in a feedback loop. What happens?

Name it

Saturation

An actuator limited to ±umax⁡ caps how fast large changes can happen: a first-order plant K0/(τs+1) driven flat out from rest reaches y after t=−τln⁡(1−y/K0umax⁡), whatever the controller asks. Small signals still see the linear loop. With integral action, saturation causes windup (lesson 15).

Describing functions

Feed a nonlinearity asin⁡ωt 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): N(a)=4dπa.
  • Saturation (slope 1, limit L) for a > L: N(a)=2π[sin−1⁡La+La1−L2a2], 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

L(jω)=−1N(a)

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 L=K/((s+a)(s+b)(s+c)), the cycle runs at ω=ab+bc+ca with amplitude 4dπ|L(jω)|.

Lyapunov's direct method

If a function V(x), positive except at the equilibrium, never increases along trajectories (V˙≤0), the equilibrium is stable; if V˙<0 away from it, asymptotically stable. Energy is the natural choice: for a damped pendulum, V=12ml2θ˙2+mgl(1−cos⁡θ) gives V˙=−bθ˙2≤0. For linear systems, solve ATP+PA=−Q and use V=xTPx.

Worked example

A relay of ±2 V drives a loop L=40/(s(s+2)(s+10)). Predict the limit cycle.

Show the solution
  1. Phase crossover. ω=2×10=4.47rad/s
  2. Loop gain there. |L|=402×10×12=0.167
  3. Amplitude. The cycle's amplitude makes N(a)|L|=1: a=4×2π×0.167=0.42
  4. Period. T=2π/4.47=1.40s
  5. Relay autotuning. From this it would estimate Ku=4dπa=6.0 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
  1. Top speed. With K0 = 19.84 rad/s per volt and τ = 15.9 ms (lesson 2), full voltage heads for 24×19.84=476rad/s
  2. 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.
  3. Time to 400 rad/s. Flat-out drive gets there in t=−0.0159ln⁡(1−400/476)s=29ms 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 L=10/(s(s+1)(s+2)) is unstable when linear (the limit is K = 6), but its actuator saturates at ±1. What happens?

Show the solution
  1. Loop gain at the phase crossover. At ω180=2 rad/s, |L|=10/6
  2. Where the cycle sits. Where the saturation's describing function falls to N(a)=6/10=0.6
  3. Solve for the amplitude. 2π[sin−1⁡1r+1r1−1r2]=0.6 gives r = 2.03.
  4. The motion. The actuator's input swings about ±2.03 at 1.41 rad/s (period 4.4 s).
  5. 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 L=10/((s+2)(s+6)(s+10)). 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 L=K/(s(s+0.5)(s+5)). 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 10/(τs+1) 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 x˙=−2x, solve the Lyapunov equation 2(−a)P=−q 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 L=K/(s(s+a)(s+b)).

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°.

Explain why

Why does a relay in a loop settle into an oscillation of a definite amplitude instead of growing or dying out?

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.