Professional Documents
Culture Documents
u x y
ẋ = f (x, u) C
x̂
−K Observer
u x y
Plant: ẋ = f (x, u) C
x̂ ŷ
Model: ẋ = Ax + Bu C
τ g 1
θ̈ + sin θ = τ,
ℓ mℓ2
ℓ with the state variables x = [θ θ̇], and the input
u = τ (torque applied by a motor). We can
θ represent this nonlinear system (our plant) as
m
ẋ = f (x, u). The output y = θ is measured trough
an encoder on the motor.
A linearized model around the equilibrium point at the bottom is:
0 1 0
ẋ = Ax + Bu = x + 1 u,
− gℓ 0 mℓ2
and C = [1 0], D = 0.
0.2
0
θ̂
−0.2 θ
0 1 2 3 4 5 6 7 8 9 10
0
˙
θ̂
−2 θ̇
0 1 2 3 4 5 6 7 8 9 10
Pablo Zometa – Mechatronics Department – GIU Berlin 7
Example: linearized pendulum, open-loop estimation
Same as before, but the initial condition is x̂(0) = x(0) = [0.5 0]T .
0.5
0
θ̂
−0.5 θ
0 1 2 3 4 5 6 7 8 9 10
0
˙
θ̂
−5 θ̇
0 1 2 3 4 5 6 7 8 9 10
0
θ̂
−0.5 θ
0 0.5 1 1.5 2 2.5 3
0
˙
θ̂
−5 θ̇
0 0.5 1 1.5 2 2.5 3
x̃˙ = (A − LC)x̃
−0.5
0 0.5 1 1.5 2 2.5 3
0
θ̇
˙
−5 θ̂
0 0.5 1 1.5 2 2.5 3
u x y
ẋ = f (x, u) C
x̂
−K x̂˙ = Ax̂ + Bu + L(y − C x̂)
0.5 θ
θ̂
0
−0.5
0 0.5 1 1.5 2 2.5 3
0
θ̇
˙
−5 θ̂
0 0.5 Pablo Zometa
1 – Mechatronics
1.5Department – 2GIU Berlin 2.5 3 16
Detectable and Stabilizable Systems