Académique Documents
Professionnel Documents
Culture Documents
Theory of Control: I
Asia
AsiaPacific Summer School
on Smart Structures Technology
Richard Christenson
University of Connecticut
Passive Device
Structure
Excitation
Response
m
Passive Damper
Base Isolation
Actuators
Response
Sensor
Structure
Excitation
Active Bracing
3
Sensor
Excitation
Structure
Response
Structure
Excitation
Response
Sensor
Actuators
feedback
feedforward
Actuators
feedback
feedforward
Actuator
Sensors
Controller
Sensors
Sensors
Controller
Sensors
Excitation
Response
Structure
Excitation
Response
Passive Device
Actuators
feedforward
feedback
feedforward
Passive Device
feedback
Actuators
Sensors
Controller
Sensors
Sensors
Sensors
feedback
Controller
Controller
Sensors
Openloop control
9In openloop control the command signal alone is
selected to achieve the desired response
r(t)
reference
input
Controller
G(s)
u(t)
control
input
Plant
H(s)
y(t)
output
Response
Actuators
feedforward
Sensors
Controller
Segway
Plant
H(s)
y(t)
output
Controller
G(s)
Closedloop control
Overview
u(t)
control
input
r(t)
reference
input
Plant
H(s)
y(t)
output
Controller
G(s)
r(t)
reference
input
+-
e(t)
error
Controller
G(s)
u(t)
control
input
y(t)
output
Plant
H(s)
r(t)
reference
input
+-
e(t)
error
H(s)
y(t)
output
+-
e(t)
H(s)
y(t)
Y (s ) = H (s )K [R (s ) Y (s )]
H cl (s ) =
u(t)
control
input
1
s (s + )
Y (s ) = H (s )KE (s )
Y (s ) =
KH (s )
[1 + KH (s )]
Y (s )
KH (s )
=
R(s ) [1 + KH (s )]
R (s )
KH (s )
[1 + KH (s )]
= 1;
1;
= K;
= [1 tao K];
K
s 2 + s + K
H cl (s ) =
sys = tf(num,den);
K=1
U (s )
s (s + )
Y (s )(s + s ) = U (s )
K=10
K=10
K=1
K=0.1
K=0.1
4K > 2
y (t )
y (t ) = [1 0]
+ [0]u(t )
y& (t )
y& (t ) 0 1 y (t ) 0
y&&(t ) = 0 y& (t ) + 1u(t )
2 4K <
K=0.1
K=1
Note:
9The system is stable when
[y,t]=step(sys,t);
plot(t,y)
K
2 4K
s 2 + s + K has poles at p1,2 =
2
0 1
A=
0 0 1 1
det (I A ) =
0 0 0 +
= ( + ) ( 1)(0) = 2 +
2
2
y&&(t ) + 2 n y& (t ) + n y (t ) = n r (t )
real
imaginary
Magnitude:
Y (s )
n
=
R(s ) s 2 + 2 n s + n 2
s = n
1 n
real
n 1
Y (s ) =
imaginary
n
=
n
y (t ) = 1
1
1 2
e n t sin n 1 2 t +
1 2
= arctan
2
1
n 1 2
1
s
n
R (s )
2
s + 2 n s + n
2
sin( ) =
Angle:
2n + n 2n
= n
1 2
(n )2 + n 2 (1 2 )
=sin
(n )2 + (n
n 1 2
2
1
e nt = 0.05
n t = 3
ts =
settling time = t s =
=
ma
g=
2
1
Theory of Control: II
Asia
AsiaPacific Summer School
on Smart Structures Technology
Richard Christenson
University of Connecticut
Optimal poles move away from origin at desired damping
Advanced Hazards Mitigation Lab
Department of Civil & Environmental Engineering
Overview
Introduction to structural control
Control theory
9Basic feedback control
9Optimal control state feedback control
9Observers and LQG controllers
Optimal Control
Modern control theory uses the approach that
an optimal controller can be obtained for a plant
taking the form
w(t)
excitation
u(t)
control
v(t)
Plant
z&(t ) = Az(t ) + Bu (t ) + Ew (t )
y (t ) = Cz(t ) + Du(t ) + Fv (t )
y(t)
output
Controller
G(s)
Advanced Hazards Mitigation Lab
Department of Civil & Environmental Engineering
J = ( zT Qz +uT Ru )dt
0
z(0) = z0
Active Bracing
0 = AT P (t ) + P (t )A + R P (t )BR 1BT P
% damping 5%
M = 100;
K = M*wn^2;
C = 2*xsi*wn*M;
Sensor
sys = ss(Ac,Ec,Cc,Fc);
t = linspace(0,30,1000);
load kobe
w = interp1(k(1,:),k(2,:),t);
y = lsim(sys,w,t);
figure(3);
subplot(311);plot(t,y(:,1),'g');
subplot(312);plot(t,y(:,2),'g');
subplot(313);plot(t,y(:,3),'g');
Advanced Hazards Mitigation Lab
Department of Civil & Environmental Engineering
tf
J = ( zT Qz +uT Ru )dt
Q displacement weighting
Q velocity weighting
R decreases
Q = diag([1 1]);
R = 1e-2;
Klqr = lqr(Ac,Bc,Q,R,[]);
R decreases
sys = ss(Ac-Bc*Klqr,Ec,Cc-Dc*Klqr,Fc);
y = lsim(sys,w,t);
figure(3);
subplot(311);hold on;plot(t,y(:,1),'b');
subplot(312);hold on;plot(t,y(:,2),'b');
subplot(313);hold on;plot(t,y(:,3),'b');
State Observers
State Observers
v(t)
Plant
z&(t ) = Az(t ) + Bu (t ) + Ew (t )
y (t ) = Cz(t ) + Du(t ) + Fv (t )
y(t)
output
Controller
G(s)
Advanced Hazards Mitigation Lab
Department of Civil & Environmental Engineering
State Observers
x (t ) x (t ) = 0
The objective is: lim
t
Observer (linear, continuous time) category:
t t0
e&(t ) = (A LC )e(t )
t t0
State Observers
State Observers
y (t ) = Cx(t ) + v (t )
Disturbance with
covariance R(t)
Both noise terms are assumed white, Gaussian and mutually independant
Kalman Gain:
K (t ) = P (t )C T (t )R 1(t )
LQG Control
Kalman filter is often known as linear quadratic
estimation (LQE)
When we combine optimal state feedback with
estimator design, we realize a linear quadratic
Gaussian (LQG) controller
z&(t ) = Az(t ) + Bu(t ) + L(y Cz )
u(t ) = Kz(t )
LQG Control
The closed loop system is thus
w(t)
excitation
u(t)
control
v(t)
Plant
z&(t ) = Az(t ) + Bu (t ) + Ew (t )
y (t ) = Cz(t ) + Du(t ) + Fv (t )
y(t)
output
Controller
LQG Control
The closed loop system is thus
z(t ) E
+
w (t )
Ae + Be DCe z(t ) 0
z(t )
y (t ) = [C DCe ]
BCe
=
=
=
=
Ac-Bc*Klqr-Lgain*Cc(3,:);
Lgain;
-Klqr;
0;