Lecture 7
Lecture 7
K Mx + Bx + Kx = f a ( t )
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 2
Block Diagrams (cont’d)
Elements of a Block Diagram
Summer: x1
+
+ y
x2 y = x1 + x 2 − x3
-
x3
Gain: x y
K y = Kx
Integrator: x x
∫ dt y( t ) = y( 0 ) + ∫ t0 u( λ )dλ
(u ) ( y)
Constant: y
C
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 3
Block Diagrams (cont’d)
Diagrams for Input-Output Equations
Illustrate with the Mass-Spring-Damper example given before:
Mx + Bx + Kx = f a ( t )
(1) Identify output variable
x
(2) Solve for highest derivative of output variable
1 B K 1
x = ( − Bx − Kx + f a ( t )) = − x − x+ fa( t )
M M M M
(3) Create a sequence of output variables using integrator blocks
x x x x 1 x 1 x
∫ dt ∫ dt or
s s
Integrator 1 Integrator 2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 4
1 B K 1
x = ( − Bx − Kx + f a ( t )) = − x − x+ fa( t )
M M M M
fa ( t ) 1 x x x
or, ∫ dt ∫ dt
M + -
-
B
M
K
M
B K
Note : We can also use - and - for gain blocks, with positive nodes in summer.
M M
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 5
Block Diagrams (cont’d)
Example 4.2:
M 1M 2 x( 4 ) + [M 1 K 2 + M 2 ( K1 + K 2 )]x + K1 K 2 x = K 2 f a ( t ),
where x = x1 , B = 0
Solve for highest derivative:
x( 4 ) =
1
{− [M 1K 2 + M 2 ( K1 + K 2 )]x − K1K 2 x + K 2 f a ( t )}
M 1M 2
then we have:
fa ( t ) 1 x ( 4) x x x x
K2 ∫ dt ∫ dt ∫ dt ∫ dt
+ - M 1M 2
-
M 1 K 2 + M 2 ( K1 + K 2 )
K1 K 2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 6
Block Diagrams (cont’d)
x1 B x2
Example 4.3: Representation of Ex. 4.2 K1
M1 M2
fa(t)
K2
M 1v1 = − K1 x1 + B( v2 − v1 ) + K 2 ( x2 − x1 )
M 2 v2 = − K 2 ( x2 − x1 ) − B( v2 − v1 ) + f a ( t )
Rewrite/rearrange the equations from
pp. 3-12, we have:
M 1x1 = − Bx1 − ( K1 + K 2 )x1 + Bx2 + K 2 x2
x1 =
1
[− Bx1 − ( K1 + K 2 )x1 + Bx2 + K 2 x2 ] M 2 x2 = − Bx2 + Bx1 − K 2 x2 + K 2 x1 + f a ( t )
M1
x2 =
1
[ f a ( t ) − Bx2 + Bx1 − K 2 x2 + K 2 x1 ]
M2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 7
Block Diagrams (cont’d)
+
+ -
1
M1
x1
∫ dt .
x1
∫ dt . x1
-
. B
K1 + K 2 .
K2
fa ( t )
+
+ +
-
1
M2
x2
∫ dt .
x2
∫ dt .x2
-
. B
. K2 x1 =
1
M1
[− Bx1 − ( K1 + K 2 )x1 + Bx2 + K 2 x2 ]
x2 =
1
[ f a ( t ) − Bx2 + Bx1 − K 2 x2 + K 2 x1 ]
M2 8
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems
Block Diagrams (cont’d)
Diagrams for state-variable equations
Standard format for state-variable equations:
q = Aq + Bu
(*) ⇐ All variables could be matrices/vectors.
y = Cq + Du
Procedure:
1. Draw an integrator for each state variable
2. Assemble terms needed to create each state variable derivative
3. Assemble terms for output variables
The following diagram is a state-variable diagram for (*) assuming all
variables are scalars: q q
B ∫ dt
+
u +
A
y
q = Aq + Bu .
D y = Cq + Du
+
Question: Can you draw the block diagram +
for Ex. 4.3 in state-variable format? C
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 9
Block Diagrams (cont’d)
Example: Redraw the block x1 B x2
K1
diagram for Ex. 4.3 in state-variable
M1 M2
equation format. fa(t)
K2
The state-variable equations becomes: M 1v1 = − K1 x1 + B( v2 − v1 ) + K 2 ( x2 − x1 )
M 2 v2 = − K 2 ( x2 − x1 ) − B( v2 − v1 ) + f a ( t )
x1 = v1
M 1x1 = − Bx1 − ( K1 + K 2 )x1 + Bx 2 + K 2 x2
v1 =
1
[− ( K1 + K 2 )x1 − Bv1 + K 2 x2 + Bv2 ] M 2 x2 = − Bx2 + Bx1 − K 2 x2 + K 2 x1 + f a ( t )
M1
x2 = v2
x1 =
1
[− Bx1 − ( K1 + K 2 )x1 + Bx2 + K 2 x2 ]
v2 =
1
[ f a ( t ) + K 2 x1 + Bv1 − K 2 x2 − Bv2 ] M1
M2 x2 =
1
[ f a ( t ) − Bx2 + Bx1 − K 2 x2 + K 2 x1 ]
M2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 10
Block Diagrams (cont’d)
+
+ -
1 v1 = x1
M1
∫ dt
v1 = x1
∫ dt . x1 . x1 = v1
-
. B
v1 =
1
M1
[− ( K1 + K 2 )x1 − Bv1 + K 2 x2 + Bv2 ]
K1 + K 2 . x2 = v2
v2 =
1
M2
[ f a ( t ) + K 2 x1 + Bv1 − K 2 x2 − Bv2 ]
K2
fa ( t )
+
+ +
-
1 v2 = x2
M2
∫ dt
v2 = x2
∫ dt. .x2
-
. B
. K2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 11
Block Diagrams (cont’d)
Example 4.4: (see Problem 2.4 and practice this example yourself )
x1 B3 x2
K1
M1 fa(t) M2
B1 K3 B2 K2
FBD:
v1 =
1
[ f a ( t ) − K1 x1 − B1v1 − B3 ( v1 − v 2 ) − K 3 ( x1 − x 2 )]
M1
x 2 = v 2
v 2 =
1
[− K 2 x 2 − B2 v 2 + B3 ( v1 − v 2 ) + K 3 ( x1 − x 2 )]
M2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 12
Block Diagrams (cont’d)
Example 4.4: f a (t ) + 1 v1 v1 = x1 x1
x1 = v1 ∫ dt ∫ dt
- - M1
v1 =
1
[ f a ( t ) − K1 x1 − B1v1 − B3 ( v1 − v2 ) − K 3 ( x1 − x2 )] - -
M1
x 2 = v2 B1
v2 =
1
[− K 2 x2 − B2v2 + B3 ( v1 − v2 ) + K 3 ( x1 − x2 )]
M2
K1
+
B3
- +
K3
-
+
1 v2 v2 = x2 x2
∫ dt ∫ dt
+ - M2
-
B2
K2
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 13
Block Diagrams (cont’d)
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 14
Block Diagrams (cont’d)
Elements of a Block Diagram Blocks in Simulink
Summer: x1
+ x1 + x1 +
+ y + y y
x2 y = x1 + x 2 − x3 x2 x2 +
-
x3 - x3 -
x3
Gain: x y
K y = Kx K
Gain
Input 1 Output
Integrator: x x
∫ dt y( t ) = y( 0 ) + ∫ t0 u( λ )dλ
s
Input Integrator
Constant: y 1 Output
C
IC s
Integrator
Initial
Condition 15
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems
F16 AIRCRAFT: System Description
Right elevator
Left elevator
Right Aileron
Left Aileron
STATES AND INPUT CONTROLS
ϕ
Canards
Rudder
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 16
F16 AIRCRAFT: System Modelization
Linearization
Parameter Flight Conditions 2 Flight Condition3
Lecture 7 ENGR691X
Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 17
F16 AIRCRAFT: Simulation
y
Estimated def lections
Estimated states
probability
ref
u
Scopes
Pilote Commande Desired Output
y x' = Ax+Bu
u u u_pf y noised y
Estimated def lection Vector y = Cx+Du
diag_Fc
u
probability
EMMAE_FDI
Lecture 7 Lecture Notes on AERO 480 and MECH 6091: Flight Control Systems 18