Professional Documents
Culture Documents
Lecture 6 - Describing Function Analysis Course Outline: R e U y G y U
Lecture 6 - Describing Function Analysis Course Outline: R e U y G y U
Lecture 6 - Describing Function Analysis Course Outline: R e U y G y U
4
2
2
y
3
y u
1.5
r e u
G(s)
2 1
1
−
1 0.5
input signal
0
output signal
0 0
−1 −0.5 −1
−2 −1
−2
−3 −1.5
−4
0 1 2 3 4 5 6 7 8 9 10
−2
0 1 2 3 4 5 6 7 8 9 10 0 5 10 15 20
time [s] time [s]
4
G(s) = and u = sat (e) gives stable oscillation for r = 0.
s(s + 1)2
Heuristic reasoning:
−1/N (A)
0
Assume G(s) stable. For what frequency ω and gain k is
0 e u y −2
−8
G(iω)
0 e u
G(s)
y −10
k −1/k
−8 −6 −4 −2 0
−
Let N (A) be a complex number such that
f (A sin ωt) ≈ |N (A)|A sin[ωt + arg N (A)].
Heuristic reasoning: For what frequency and what amplitude is ”the
loop gain” N (A) · G(iw) = −1?
The intersection of the −1/N (A) and the Nyquist curve G(iω)
predicts amplitude and frequency.
Fourier Series
1
The Fourier Coefficients are Optimal The Key Idea
0 e u y
N.L. G(s)
The finite expansion −
k
a0 X
bk (t) =
u + (an cos nωt + bn sin nωt)
2 n=1
Assume e(t) = A sin ωt and u(t) periodic. Then
solves
∞ q
Z a0 X
2 T 2 2π u(t) = + a2n + b2n sin[nωt + arctan(an /bn )]
min bk (t) dt
u(t) − u T = 2
{ân ,b̂n }1≤n≤k T 0 ω n=1
e(t) u(t) ∞
N.L. a0 X
b1 (ω) + ia1 (ω) u(t) = + (an cos nωt + bn sin nωt)
N (A, ω) := 2 n=1
A
Z 2π/ω Z 2π/ω
ω ω
a1 (ω) := u(t) cos(ωt)dt b1 (ω) := u(t) sin(ωt)dt e(t) u1 (t) u1 (t) = a1 cos(ωt) + b1 sin(ωt)
π 0 π 0 N (A, ω)
= Im (N (A, ω)Aeiωt )
where u(t) is the output corresponding to e(t) := A sin(ωt)
If G is low pass and a0 = 0, then where the describing function is defined as
u 1
u
H 0.5
e
G(iω)
0 e u y e
f (·)
0
G(s)
− −0.5
−1/N (A) −H
−1
A 0 1 2 3
φ
4 5 6
Z
1 1 2π
y = G(iω)u ≈ −G(iω)N (A)y ⇒ G(iω) = − a1 = u(φ) cos φ dφ = 0
N (A) π 0
Z Z
1 2π 2 π 4H
The intersections of G(iω) and −1/N (A) give ω and A for possible b1 = u(φ) sin φ dφ = H sin φ dφ =
π 0 π 0 π
limit cycles.
4H
The describing function for a relay is thus N (A) = .
πA
Describing Function for Odd Static Nonlinearities Limit Cycle in Relay Feedback System
G(s) −0.1
− −0.2
−0.3 G(iω)
−0.4
−0.5
2
Limit Cycle in Relay Feedback System (cont’d) Describing Function for a Saturation
u
The prediction via the describing function agrees very well with the 1
H
0.8 e
0.4
u
−D D e 0.2
1
u −0.2
y −0.4
−0.6
0.5 −H −0.8
φ
−1
0 1 2 3 4 5 6 7
G filters out almost all higher-order harmonics. where φ0 = arcsin D/A. Moreover, u(φ) = −u(2π − φ).
Describing Function for a Saturation (cont’d) Describing Function for a Saturation (cont’d)
If H = D then
1
1 2π
Z N (A) = 2φ0 + 2 sin φ0 cos φ0 , A≥D
a1 = u(φ) cos φ dφ π
s
π 0
1
Z π Z
1 π 2 D D D2
= u(φ) cos φ dφ + u(2π − φ) cos φ dφ = 0 = arcsin + 1−
π 0 π 0 π A A A2
Z Z
1 2π 4 π/2 1.1
= sin φ dφ 0.7
π 0 π φ0 NOTE: dependance of A shows up
0.6
in φ0 = arcsin D/A
A
= 2φ0 + 2 sin φ0 cos φ0
0.5
0.4
π 0.3
0.2
0.1
0 2 4 6 8 10
G(iω)
0 e u
G(s)
y
k −1/k
−
How to Predict Stability of Limit Cycles How to Predict Stability of Limit Cycles
A stable limit cycle is predicted An intersection with amplitude A0 is unstable if A < A0 gives
decreasing amplitude and A > A0 gives increasing.
3
Stable Periodic Solution in Relay System Periodic Solutions in Relay System
The relay gain N (A) is higher for small A:
0.2
0.15 G(iω)
r e u y 0.1
G(s) 0.05
− 0 Big amplitudes Small amplitudes
−0.05 −1/N (A) Small relay gain High relay gain
−0.1
No encirclement One encirclement No encirclement
−0.15
Shrinking amplitudes Growing amplitudes Shrinking amplitudes
−0.2
−5 −4 −3 −2 −1 0
Growing relay gain Shrinking relay gain Growing relay gain
(s + 10)2
G(s) = with feedback u = −sgn y
(s + 1)3
gives one stable and one unstable limit cycle. The left most Stable Unstable
intersection corresponds to the stable one. periodic periodic
orbit orbit
Period and amplitude of relay feedback limit cycle can be used for u 1
autotuning. D 0.8 e
0.6
0.4
1
y u e 0.2 u
0
−0.2
0
D −0.4
−0.6
−1 −0.8
−1
0 5 10 0 1 2 3 4 5 6
Time
φ ∈ (φ0 , π − φ0 )
T
Relay D,
−1
where φ0 = arcsin D/A (if A ≥ D )
Describing Function for a dead-zone relay–cont’d. Plot of Describing Function for dead-zone relay
0.7
0.6
Z
1 2π
a1 = u(φ) cos φ dφ = 0 0.5 N (A) for D = 1
π 0
Z 2π Z
1 4 π/2
b1 = u(φ) sin φdφ = D sin φdφ 0.4
π 0 π φ0
4D 4D q 0.3
= cos φ0 = 1 − D2 /A2
π π 0.2
0.1
0, A<D
N (A) = 4 p
1 − D2 /A2 , A ≥ D 0
0 2 4 6 8 10
πA
Pitfalls Example
The control of output power x(t) from a mobile telephone is critical for good
performance. One does not want to use too large power since other channels
are affected and the battery length is decreased. Information about received
power is sent back to the transmitter and is used for power control. A very
simple scheme is given by
Describing function analysis can give erroneous results.
ẋ(t) = αu(t)
◮ DF analysis may predict a limit cycle, even if it does not exist.
u(t) = −sign y(t − L), α, β > 0
◮ A limit cycle may exist, even if DF analysis does not predict it.
y(t) = βx(t).
◮ The predicted amplitude and frequency are only approximations
and can be far from the true values. Use describing function analysis to predict possible limit cycles.
y(t) = βx(t)
α
x(t) y(t) y(t − L)
x(t) s β e−sL
u(t)
y(t − L)
4
Accuracy of Describing Function Analysis Accuracy of Describing Function Analysis
F 0.8
b = 4/3 DF predicts period times and
Friction
ampl. (T, A)b=4/3 = (11.4, 1.00)
0.6
0.4
C G −0.2
−0.4
_ −1 −0.5 0 0.5
1
y b = 4/3 Simulation:
0
Corresponds to
−1
0 5 10 15 20 25 30
(T, A)b=4/3 = (12, 1.1)
b = 1/3
0.4
y
G s(s − b) 0.2
(T, A)b=1/3 = (22, 0.28)
= 3 with feedback u = −sgn y 0
1 + GC s + 2s2 + 2s + 1 −0.2
−0.4
0 5 10 15 20 25 30
Next Lecture
◮ Friction compensation