Today's Goal: To Be Able To
Today's Goal: To Be Able To
Today's Goal: To Be Able To
Material:
Lecture 14 Summary
4
2
3
1.5
2 1
1 0.5
input signal
output signal
0 0
−1 −0.5
−2 −1
−3 −1.5
−4 −2
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
time [s] time [s]
sat( A sin ω t)
The “effective gain” ( the ratio ) varies with the
A sin ω t
input signal amplitude A.
2
y
r e u y u
G (s) 1
− 0
−1
−2
0 5 10 15 20
4
G (s) = and u = sat ( e) gives stable oscillation for r = 0.
s(s + 1)2
2
y
r e u y u
G (s) 1
− 0
−1
−2
0 5 10 15 20
4
G (s) = and u = sat ( e) gives stable oscillation for r = 0.
s(s + 1)2
G (iω )
0 e u y
k G (s) −1/ k
−
G (iω )
0 e u y
f (⋅) G (s)
−
−1/ N ( A)
A
1
y = G (iω )u ( − G (iω ) N ( A) y [ G (iω ) = −
N ( A)
0
−1/ N ( A)
−2
−4
G (iω )
−6
−8
−10
−8 −6 −4 −2 0
0
−1/ N ( A)
−2
−4
G (iω )
−6
−8
−10
−8 −6 −4 −2 0
0
−1/ N ( A)
−2
−4
G (iω )
−6
−8
−10
−8 −6 −4 −2 0
where ω = 2π /T and
Z T Z T
2 2
an = u(t) cos nω t dt bn = u(t) sin nω t dt
T 0 T 0
solves Z T 2
2
min b k(t) dt
u(t) − u
b T
u 0
0 e u y
N.L. G (s)
−
b1 (ω ) + ia1 (ω )
N ( A, ω ) =
A
e(t) u(t) ∞
N.L. a0 X
u(t) = + (an cos nω t + bn sin nω t)
2
n=1
G (iω )
0 e u y
f (⋅) G (s)
−
−1/ N ( A)
A
1
y = G (iω )u ( − G (iω ) N ( A) y [ G (iω ) = −
N ( A)
u
H 0.5
e
e 0
−0.5
−H
−1
0 1 2 3 4 5 6
φ
Z 2π
1
a1 = u(φ ) cos φ dφ = 0
π 0
Z 2π Z π
1 2 4H
b1 = u(φ ) sin φ dφ = H sin φ dφ =
π 0 π 0 π
4H
The describing function for a relay is thus N ( A) = .
πA
0.1 −1/ N ( A)
r e u y 0
G (s) −0.1
− −0.2
−0.3 G (iω )
−0.4
−0.5
3
G (s) = with feedback u = −sgn y
(s + 1)3
The prediction via the describing function agrees very well with
the true oscillations:
1
u
y
0.5
−0.5
−1
0 2 4 6 8 10
H
0.8 e
0.6
0.4
u
−D D e 0.2
−0.2
−0.4
−0.6
−H −0.8
φ
−1
0 1 2 3 4 5 6 7
where φ 0 = arcsin D / A.
Z 2π
1
a1 = u(φ ) cos φ dφ = 0
π 0
Z 2π Z π /2
1 4
b1 = u(φ ) sin φ dφ = u(φ ) sin φ dφ
π 0 π 0
Z φ0 Z π /2
4A 4D
= sin2 φ dφ + sin φ dφ
π 0 π φ0
A
= 2φ 0 + sin 2φ 0
π
0.9
N ( A) for H = D = 1
0.8
0.7
0.6
NOTE: dependance of A shows
0.5 up in φ 0 = arcsin D / A
0.4
0.3
0.2
0.1
0 2 4 6 8 10
0.9
N ( A) for H = D = 1
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0 2 4 6 8 10
G (iω )
0 e u y
k G (s) −1/ k
−
G (iω )
0 e u y
f G (s)
− −1/ N ( A)
G (Ω)
−1/ N ( A)
0.2
0.15 G (iω )
r e u y 0.1
G (s) 0.05
− 0
−0.05 −1/ N ( A)
−0.1
−0.15
−0.2
−5 −4 −3 −2 −1 0
(s + 10)2
G (s) = with feedback u = −sgn y
(s + 1)3
gives one stable and one unstable limit cycle. The left most
intersection corresponds to the stable one.
Stable Unstable
periodic periodic
orbit orbit
PID
A u y
Σ Process
T
Relay
− 1
u 1
D 0.8 e
0.6
0.4
e 0.2 u
0
−0.2
D −0.4
−0.6
−0.8
−1
0 1 2 3 4 5 6
Z 2π
1
a1 = u(φ ) cos φ dφ = 0
π 0
Z 2π Z π /2
1 4
b1 = u(φ ) sin φ dφ = D sin φ dφ
π 0 π φ0
q
4D 4D
= cos φ 0 = 1 − D 2 / A2
π π
(
0, A< D
N ( A) = 4 p
1 − D 2 / A2 , A ≥ D
πA
0.7
0.6
0.5 N ( A) for D = 1
0.4
0.3
0.2
0.1
0
0 2 4 6 8 10
u(t)
y(t − L)
FRTN05 — Lecture 6 Automatic Control LTH, Lund University
The system can be written as a negative feedback loop with
e−sLα β
G (s) =
s
and a relay with amplitude 1. The describing function of a relay
satisfies −1/ N ( A) = −π A/4 hence we are interesting in G (iω )
on the negative real axis. A stable intersection is given by
−π = arg G (iω ) = −π /2 − ω L
πA αβ 2Lα β
= p G (iω )p = =
4 ω π
and hence A = 8Lα β /π 2 . The period is given by
T = 2π /ω = 4L. (More exact analysis gives the true values
A = α β L and T = 4L, so the prediction is quite good.)
F
Friction
_
yref u y
C G
_
Corresponds to
G s(s − b)
= 3 with feedback u = −sgn y
1 + GC s + 2s2 + 2s + 1
1.2
b = 1/3
1
0.8
0.6
b = 4/3 DF predicts period times and
0.4 ampl. (T, A)b=4/3 = (11.4, 1.00)
0.2
0
and (T, A)b=1/3 =(17.3,0.23)
−0.2
−0.4
−1 −0.5 0 0.5
1
y b = 4/3 Simulation:
0
−1
0 5 10 15 20 25 30 (T, A)b=4/3 = (12, 1.1)
0.4
y b = 1/3
0.2
0
(T, A)b=1/3 = (22, 0.28)
−0.2
−0.4
0 5 10 15 20 25 30
Frequency-domain:
To be able to
Friction compensation