Professional Documents
Culture Documents
Compensator Design
Compensator Structure
w v
Process
u ẋ = Ax + B2 u x y
y = C2 x + v
+B1w
Compensator
& %
B1 A vk
uk B2 + + C2 + yk
z −1
D2
C1
D1 } zk
& %
xk+1 = Ax
" k + B#2uk + B1wk ,
C1 xk
zk = ,
D1 u k
yk = C2xk + D2uk + vk .
Estimator :
Control law :
uk = −K x̂k .
Compensator :
& %
we obtain
" # " #" # " #" #
xk+1 A − B2 K B2 K xk B1 0 wk
= + ,
x̃k+1 A − LC2
0 x̃k B1 −L vk
" # " #
h i x h i w
k k
yk = C2 − D2K D2K + 0 I .
x̃k vk
& %
& %
& %
is minimized.
& %
& %
xk+1 = Ax
" k + B#1wk + B2uk ,
C1 xk
zk = .
D1 u k
where K = (D1T D1 + B2T SB2)−1B2T SA, in which S is
a solution for the Riccati equation :
−1 T
T T T
S = A S − SB2(D1 D1 + B2 SB2) B2 S A+C1T C1.
&
with R = cov(v) and Q = cov(w). %
& %
Compensator :
⇒
The poles of the compensator are not necessary in the unit
circle, the compensator might be unstable.
& %
system modeling
LQG
pole placement
compensator design
& %
ẋ = Ax
" + Bu #+ Bw,
q 1/2Cx
z = ,
u
y = Cx + v.
& %
& %
10
r(rad/sec) 8
−2
−4
0 5 10 15 20 25 30 35 40 45 50
Time (secs)
& %
& %
10
r(rad/sec) 6
−2
−4
−6
−8
0 5 10 15 20 25 30 35 40 45 50
Time (secs)
& %
& %
5
r(rad/sec)
−1
−2
−3
0 5 10 15 20 25 30 35 40 45 50
Time (secs)
This response is even better than the one from pole place-
ment and with a better noise attenuation.
& %
ẋ = Ax
" + Bu +# Bw,
Q1/2Cx
z = ,
u
y = Cx + v.
& %
& %
0.8
0.6
0.4 T
0.2
Amplitude
−0.2
−0.4
p3
−0.6
−0.8
−1
0 1 2 3 4 5 6 7 8 9 10
Time (secs)
& %
Let
" #
4 0
Q = 2I2, Rw = 0.001I4, Rv = .
0 0.0001
From the results of the LQR and Kalman filter design ex-
amples in chapter 4 and 6, we obtain the optimal state
feedback gain K
" #
0.55 1.78 0.45 1.14 0.86 0.46
K=
0.45 1.14 0.55 1.78 0.46 0.86
and the optimal estimator gain
5.56e − 02 −1.67e + 00
7.74e − 04 −5.71e − 01
5.56e − 02 1.67e + 00
L= .
7.74e − 04 5.71e − 01
4.32e − 05 −6.02e − 01
4.32e − 05 6.02e − 01
& %
0.8
0.6
Amplitude
0.4
p3
0.2
0
T
−0.2
0 10 20 30 40 50 60 70 80 90 100
Time (secs)
& %
initial
kalman
lqg
lqgreg
lqr
reg
& %