Professional Documents
Culture Documents
Copyright 2018 by Robert Stengel. All rights reserved. For educational use only.
http://www.princeton.edu/~stengel/MAE331.html
http://www.princeton.edu/~stengel/FlightDynamics.html 1
1
Euler-Angle Rates
and Body-Axis Rates
Body-axis " ωx % " p %
angular rate $ ' $ '
vector
(orthogonal
ωB = $ ωy ' =$ q '
) $ ' $ r '
$# ω z '& B # &
Euler-angle % φ ( % ω (
rate vector ' * ' x *
is not ='
Θ θ * ≠ ' ωy *
orthogonal ' ψ * ' *
& ) '& ω z *) I 3
2
Euler-Angle Rates and Body-Axis Rates
IB h B = ω
H I H IB h B
Consequently ⎡ 0 −r ( t ) q ( t ) ⎤
⎢ ⎥
H I ( t ) = − ω" B ( t ) H I ( t ) = − ⎢ r ( t )
! B B
0 − p (t ) ⎥ H BI ( t )
⎢ ⎥
⎢⎣ −q ( t ) p ( t ) 0 ( t ) ⎥⎦ B
H BI ( 0 ) = H BI (φ0 ,θ 0 ,ψ 0 ) 6
3
Avoiding the Euler Angle Singularity
at θ = 90
Propagation of quaternion vector: single rotation
from inertial to body frame (4 parameters)
Checklist
q Are the components of the Euler Angle rate
vector orthogonal to each other?
q Is the inverse of the transformation from
Euler Angle rates to body-axis rates the
transpose of the matrix?
q What complication does the inverse
transformation introduce?
4
Rigid-Body
Equations of Motion
Point-Mass
Dynamics
• Inertial rate of change of translational position ! u $
# &
rI = v I = H IB v B vB = # v &
#" w &%
1
v! I = FI
m
1 B
v! B = H BI v! I − ω" B v B = H I FI − ω" B v B
m
! X $ ! C X qS $
& # & 1
= FB − ω" B v B
#
FB = # Y & = # CY qS &
#" Z &%B # CZ qS &
m 10
" %
5
Rigid-Body Equations of Motion
(Euler Angles)
• Translational
Position
! x $
# & • Rate of change of
rI = # y &
#" z &% Translational Position rI (t ) = H IB (t ) v B (t )
I
• Angular
Position
% φ (
' *
• Rate of change of
Angular Position
I (t ) = LIB (t ) ω B (t )
Θ
ΘI = ' θ *
' ψ *
& )I
• Translational
Velocity ! • Rate of change of
u $ 1
# & v B (t ) = B (t ) v B (t )
FB (t ) + H BI (t ) g I − ω
vB = # v & Translational Velocity m (t )
#" w &% B
• Angular
Velocity
" p % • Rate of change of
$ '
ωB = $ q ' Angular Velocity ω! B ( t ) = I B −1 ( t ) ⎡⎣ M B ( t ) − ω" B ( t ) I B ( t ) ω B ( t ) ⎤⎦
$ r '
# &B
11
Aircraft Characteristics
Expressed in Body Frame
of Reference
! Xaero + Xthrust $ ! CX + CX $ ! CX $
Aerodynamic # & # aero thrust
& 1 # &
and thrust FB = # Yaero + Ythrust C
& = # Yaero + CYthrust & ρV 2 S = # CY & qS
force # Z +Z & # & 2 # C &
" aero thrust C
% B #" Zaero + C Zthrust &% " Z %B
B
! C +C $
! Laero + Lthrust $ # (
laero lthrust b & ) ! Cl b $
Aerodynamic and # & # & 1 2 # &
thrust moment M B = # M aero + M thrust ( )
& = # Cmaero + Cmthrust c & ρV S = # Cm c & q S
2
# N +N & # & # Cb &
" aero thrust
"
(
% B # Cnaero + Cnthrust b &
%B
) " n %B
⎡ I xx − I xy − I xz ⎤ Reference Lengths
Inertia ⎢ ⎥
matrix I B = ⎢ − I xy I yy − I yz ⎥ b = wing span
⎢ ⎥
⎢⎣ − I xz − I yz I zz ⎥ c = mean aerodynamic chord 12
⎦B
6
Rigid-Body Equations of Motion:
Position
Rate of change of Translational Position
x I = ( cosθ cosψ ) u + ( − cos φ sin ψ + sin φ sin θ cosψ ) v + ( sin φ sin ψ + cos φ sin θ cosψ ) w
y I = ( cosθ sin ψ ) u + ( cos φ cosψ + sin φ sin θ sin ψ ) v + ( − sin φ cosψ + cos φ sin θ sin ψ ) w
zI = ( − sin θ ) u + ( sin φ cosθ ) v + ( cos φ cosθ ) w
( { ( ) ( ) })
p! = I zz L + I xz N − I xz I yy − I xx − I zz p + ⎡⎣ I xz2 + I zz I zz − I yy ⎤⎦ r q (I xx I zz − I xz2 )
q! = ⎡⎣ M − ( I xx − I zz ) pr − I xz ( p 2 − r 2 ) ⎤⎦ I yy
( { ( ) ( ) })
r! = I xz L + I xx N − I xz I yy − I xx − I zz r + ⎡⎣ I xz2 + I xx I xx − I yy ⎤⎦ p q (I xx I zz − I xz2 )
7
Checklist
q Why is it inconvenient to solve momentum rate
equations in an inertial reference frame?
q Are angular rate and momentum vectors
aligned?
q How are angular rate equations transformed
from an inertial to a body frame?
15
FLIGHT -
Computer Program to
Solve the 6-DOF
Equations of Motion
16
8
FLIGHT - MATLAB Program
http://www.princeton.edu/~stengel/FlightDynamics.html 17
http://www.princeton.edu/~stengel/FlightDynamics.html
18
9
FLIGHT, Version 2 (FLIGHTver2.m)
• Provides option for calculating rotations
with quaternions rather than Euler angles
• Input and output via Euler angles in both
cases
• Command window output clarified
• On-line at
http://www.princeton.edu/~stengel/FDcode
B.html
19
20
10
Longitudinal Transient
Response to Initial Pitch Rate
Transient Response
to Initial Roll Rate
Lateral-Directional Response Longitudinal Response
11
Transient Response to
Initial Yaw Rate
Lateral-Directional Response Longitudinal Response
23
Crossplot of Transient
Response to Initial Yaw Rate
Longitudinal-Lateral-Directional Coupling
12
Checklist
q Does longitudinal response couple into lateral-
directional response?
q Does lateral-directional response couple into
longitudinal response?
25
Aerodynamic Damping
26
13
Pitching Moment due to Pitch Rate
(
M B = Cm q Sc ≈ Cmo + Cmq q + Cmα α q Sc )
⎛ ∂C ⎞
≈ ⎜ Cmo + m q + Cmα α ⎟ q Sc
⎝ ∂q ⎠
27
14
Horizontal Tail Lift
Due to Pitch Rate
Incremental tail lift due to pitch rate, referenced to tail area, Sht
ΔLht = ΔC Lht ( ) ht
1
2
ρV 2 Sht
⎛ Sht ⎞ ⎡⎛ ∂ C Lht ⎞ ⎤ ⎛ ∂ CL ⎞
( ΔC ) (
= ΔC Lht ) ⎜⎝ ⎟⎠ = ⎢⎜ ⎟ Δα ⎥ = ⎜ ht
⎟
⎛ qlht ⎞
⎜ ⎟
⎢⎣⎝ ∂α ⎠ aircraft ⎥⎦ ⎝ ∂α ⎠ aircraft ⎝ V ⎠
Lht aircraft ht S
Moment Coefficient
Sensitivity to Pitch Rate of
the Horizontal Tail
Differential pitch moment due to pitch rate
∂ ΔM ht 1 ⎛l ⎞ 1
= Cmqht ρV 2 Sc = −C Lqht ⎜ ht ⎟ ρV 2 Sc
∂q 2 ⎝V⎠2
⎡⎛ ∂ C L ⎞ ⎛ lht ⎞ ⎤ ⎛ lht ⎞ 1
= − ⎢⎜ ⎜ ⎟ ⎥ ⎜ ⎟ ρV Sc
ht 2
⎟
⎢⎣⎝ ∂α ⎠ aircraft ⎝ V ⎠ ⎥⎦ ⎝ c ⎠ 2
Cmqht =− ⎜⎝ ⎟⎠ ⎜⎝ ⎟⎠ = − ⎜ ⎟ ⎜ ⎟
∂α V c ∂α ⎝ c ⎠ ⎝ V ⎠
30
15
Pitch-Rate Derivative Definitions
• Pitch-rate derivatives are often expressed qc
in terms of a normalized pitch rate q̂ !
2V
∂ Cm ∂ Cm ⎛ 2V ⎞
Cmq̂ = = =⎜ ⎟C
∂ q̂ ∂ ( qc 2V ) ⎝ c ⎠ mq
∂ Cm ⎛ c ⎞
C mq = =⎜ ⎟C
∂ q ⎝ 2V ⎠ mq̂
∂M ⎛ c ⎞ ⎛ ρV ⎞
2
⎛ ρVSc 2 ⎞
= Cmq ( ρV 2 2 ) Sc = Cmq̂ ⎜ =
⎝ 2V ⎟⎠ ⎜⎝ 2 ⎟⎠
Sc C mq̂ ⎜
∂q ⎝ 4 ⎟⎠
31
⎛ ρV 2 ⎞ ⎛ b ⎞ ⎛ ρV ⎞
2
= l p̂ ⎜
⎝ 2V ⎟⎠ ⎜⎝ 2 ⎟⎠
Cl p ⎜ Sb C Sb
⎝ 2 ⎟⎠ pb
p̂ =
⎛ ρV ⎞ 2 2V
= Cl p̂ ⎜
⎝ 4 ⎟⎠
< 0 for stability Sb
16
Roll Damping Due
to Roll Rate
Tapered vertical tail
∂ ( ΔCl )vt CY % S (% 1+ 3λ (
(C ) l p̂
vt
=
∂ p̂
= − βvt ' vt *'
12 & S )& 1+ λ )
*
p̂ =
pb
2V
Tapered horizontal tail
∂ ( ΔCl )ht C L % S (% 1+ 3λ (
(C )
l p̂
ht
=
∂ p̂
= − αht ' ht *'
12 & S )& 1+ λ )
*
⎛ ρV 2 ⎞ ⎛ b ⎞ ⎛ ρV ⎞
2
Sb = Cnr̂ ⎜
⎝ 2V ⎟⎠ ⎜⎝ 2 ⎟⎠
Cnr ⎜ Sb
⎝ 2 ⎟⎠
⎛ ρV ⎞ 2
= Cnr̂ ⎜
⎝ 4 ⎟⎠
Sb
< 0 for stability
rb
r̂ =
2V
34
17
Yaw Damping Due
to Yaw Rate
Wing contribution
(C ) nr̂ Wing = k0C L2 + k1C DParasite, Wing
k0 and k1 are functions of NACA-TR-1098, 1952
aspect ratio and sweep angle NACA-TR-1052, 1951 35
Checklist
q What is the primary source of pitch damping?
q What is the primary source of yaw damping?
q What is the primary source of roll damping?
q What is the difference between
36
18
Daedalus and Icarus, father and son,
Attempt to escape from Crete (<630 BC)
Other human-powered
airplanes that didn t work
Bob W
C Davis
19
AeroVironment Gossamer Condor
Winner of the 1st Kremer Prize: Figure 8 around pylons half-mile apart
(1977)
20
MIT Daedalus
Flew 74 miles across the Aegean Sea, completing Daedalus s
intended flight (1988)
Next Time:
Aircraft Control Devices
and Systems
Reading:
Flight Dynamics
214-234
Learning Objectives
Control surfaces
Control mechanisms
Powered control
Flight control systems
Fly-by-wire control
Nonlinear dynamics and aero/mechanical instability
42
21
Supplemental
Material
43
22
Airplane Angular Attitude (Position)
B
⎡ h11 h12 h13 ⎤
⎢ ⎥
H I (φ ,θ ,ψ ) = ⎢ h21 h22
B
h23 ⎥
⎢ h h h33 ⎥
⎣ 31 32 ⎦I
H BI (φ ,θ ,ψ ) = H 2B (φ )H12 (θ )H1I (ψ )
−1 T
⎡⎣ H BI (φ ,θ ,ψ ) ⎤⎦ = ⎡⎣ H BI (φ ,θ ,ψ ) ⎤⎦ = H IB (ψ ,θ , φ )
• Rotation matrix
• orthonormal transformation
• inverse = transpose
• linear propagation from one attitude to
another, based on body-axis rate vector
• 9 parameters, 9 equations to solve
• solution for Euler angles from parameters
is intricate 45
23
Airplane Angular Attitude (Position)
Rotation Matrix = Direction Cosine Matrix
Angles between
each I axis and each
B axis
48
24
Rigid-Body Equations of Motion
(Euler Angles)
r!I ( t ) = H IB ( t ) v B ( t )
! ( t ) = LI ( t ) ω ( t )
Θ H IB , H BI are functions of Θ
I B B
1
v! B ( t ) = FB ( t ) + H BI ( t ) g I − ω" B ( t ) v B ( t )
m (t )
ω! B ( t ) = I B −1 ( t ) ⎡⎣ M B ( t ) − ω" B ( t ) I B ( t ) ω B ( t ) ⎤⎦
49
! IB = ω" I H IB
H
! BI = − ω" B H BI
H
50
25
Rigid-Body Equations of Motion
(Attitude from 9-Element Rotation Matrix)
rI = H IB v B
BI = −ω
H B H BI
1
v B = FB + H BI g I − ω B v B
m
ω B = I B−1 ( M B − ω B I Bω B )
No need for Euler angles to solve the dynamic equations
51
⎡ a1 ⎤
⎢ ⎥ Orientation of rotation axis
a ! ⎢ a2 ⎥ :
⎢ a ⎥ in reference frame
⎣ 3 ⎦
Ω : Rotation angle
52
26
Euler’s Rotation Theorem
Vector transformation
involves 3 components
rB = H BI rI
= ( aT rI ) a + ⎡⎣ rI − ( aT rI ) a ⎤⎦ cos Ω + sin Ω ( rI × a )
= cos Ω rI + (1− cos Ω ) ( aT rI ) a − sin Ω ( a × rI )
⎡ a1 ⎤
⎢ ⎥ Orientation of rotation axis
a ! ⎢ a2 ⎥ :
⎢ a ⎥ in reference frame
⎣ 3
⎦
Ω : Rotation angle
53
Rotation Matrix
Derived from
Euler’s Formula
( a r ) a = ( aa ) r
T
I
T
I
Rotation matrix
27
Quaternion Derived from Euler
Rotation Angle and Orientation
Quaternion vector
4 parameters based on Euler’s formula
⎡ ⎡ ⎛ a1 ⎞ ⎤
q1 ⎤ ⎢ ⎥
⎢ ⎥ ⎤ ⎢ sin ( Ω 2 ) ⎜ a ⎟
⎢ q2 ⎥ ⎡ q 3 ⎤ ⎡ sin ( Ω 2 ) a ⎜ 2 ⎟
⎥
q=⎢ !⎢ ⎥=⎢ ⎥=⎢ ⎥ ( 4 × 1)
q3 ⎥ ⎢ q4 ⎥ ⎢ cos ( Ω 2 ) ⎥ ⎢ ⎜ a3
⎝
⎟
⎠ ⎥
⎢ ⎥ ⎣ ⎦ ⎣ ⎦ ⎢ ⎥
⎢⎣ q4 ⎥
⎦ ⎢⎣ cos ( Ω 2 ) ⎥⎦
q T q = q12 + q2 2 + q32 + q4 2
= sin 2 ( Ω 2 ) + cos 2 ( Ω 2 ) = 1
55
H BI = ⎡⎣ q4 2 − ( q 3 T q 3 ) ⎤⎦ I 3 + 2q 3q 3T − 2q4 q! 3
Rotation matrix from quaternion
H BI =
⎡ q2 − q2 − q2 + q2 2 ( q1q2 + q3q4 ) 2 ( q1q3 − q2 q4 ) ⎤
⎢ 1 2 3 4
⎥
⎢ 2 ( q1q2 − q3q4 ) −q12 + q22 − q32 + q42 2 ( q2 q3 + q1q4 ) ⎥
⎢ ⎥
⎢ 2 ( q1q3 + q2 q4 ) 2 ( q2 q3 − q1q4 ) −q12 − q22 + q32 + q42 ⎥
⎣ ⎦
56
28
Quaternion Expressed from
Elements of Rotation Matrix
Initialize q(0) from Direction Cosine Matrix or Euler Angles
⎡ h11 ( = cos δ11 ) h12 h13 ⎤
⎢ ⎥
H (0) = ⎢
B
I h21 h22 h23 ⎥ = H BI (φ0 ,θ 0 ,ψ 0 )
⎢ h31 h32 h33 ⎥
⎣ ⎦
1
q4 ( 0 ) = 1+ h11 ( 0 ) + h22 ( 0 ) + h33 ( 0 )
2
Assuming that q4 ≠ 0
d ⎡ q 3 ⎤ 1 ⎡ q4 ω B − ω" B q 3 ⎤
q! = ⎢ ⎥= ⎢ ⎥ ( 4 × 1)
dt ⎢ q4 ⎥ 2 ⎢
⎣ ⎦ −ω BT q 3 ⎥⎦
⎣
Differential equation is linear in either q or ωB
⎡ q!1 ⎤ ⎡ 0 ωz −ω y ω x ⎤ ⎡ q1 ⎤
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎢ q!2 ⎥ 1 ⎢ −ω z 0 ωx ωy ⎥ ⎢ q2 ⎥
⎢ = ⎢ ⎥
q! 3 ⎥ 2 ⎢ ω y −ω x 0 ωz ⎥ ⎢ q3 ⎥
⎢ ⎥ ⎢ ⎥
⎢⎣ q! 4 ⎥ ⎢ −ω −ω y −ω z 0 ⎥ ⎢⎣ q4 ⎥
⎦ ⎣ x
⎦B ⎦
58
29
Propagate Quaternion Vector
Using Body-Axis Angular Rates
⎡ p (t ) q (t ) r (t ) ⎤ ! ⎡ ω ω ω ⎤
⎣ ⎦ ⎣ x y z
⎦
⎡ q!1 ( t ) ⎤ ⎡ 0 r ( t ) −q ( t ) p ( t ) ⎤ ⎡ q1 ( t ) ⎤
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
dq ( t ) ⎢ q!2 ( t ) ⎥ 1 ⎢ −r ( t ) 0 p (t ) q (t ) ⎥ ⎢ q2 ( t ) ⎥
=⎢ ⎥= ⎢ ⎥ ⎢ ⎥
dt ⎢ q! 3 ( t ) ⎥ 2 ⎢ q ( t ) − p ( t ) 0 r (t ) ⎥ ⎢ q3 ( t ) ⎥
⎢ q! 4 ( t ) ⎥⎥ ⎢ − p ( t ) −q ( t ) −r ( t ) 0 ⎥ ⎢ q4 ( t ) ⎥⎥
⎢⎣ ⎦ ⎢⎣ ⎥⎦ B ⎢⎣ ⎦
Digital integration to compute q(tk)
dq (τ )
tk
q int ( t k ) = q ( t k−1 ) + ∫t dt dτ
k−1
59
30
Successive Rotations Expressed
by Products of Quaternions and
Rotation Matrices
Rotation from Frame q BA : Rotation from A to B
A to Frame C through qCB : Rotation from B to C
Intermediate Frame B
qCA : Rotation from A to C
Matrix Multiplication Rule
rI = H IB v B
q! = Qq H IB , H BI are functions of q
1
v B = FB + H BI g I − ω B v B
m
ω B = I B−1 ( M B − ω B I Bω B )
62
31
Alternative Reference
Frames
63
64
32
Body Orientation with Respect
to an Inertial Frame
65
33
Velocity-Vector Components
of an Aircraft
V, ξ , γ
V, β , α
67
68
34
Relationship of Inertial Axes
to Velocity Axes
• No reference to the body
frame
• Bank angle, μ, is roll angle
about the velocity vector
! vx $ ! V cos γ cos ξ $
# & # &
# vy & = # V cos γ sin ξ &
# & # −V sin γ &
#" vz &% I " %
# &
vx2 + vy2 + vz2
# V & % (
% ( % 2 1/2 &
(
−1 #
( 2
% ξ ( = % sin $ vy / vx + vy ' ) (
% γ ( % (
$ ' % sin −1 ( −vz / V ) (
$ '
69
# &
! u $ ! V cos α cos β $ # V & % u 2 + v2 + w2 (
# & # & % ( %
# v &=# V sin β & % β (=% sin ( v / V ) (
−1
70
35
Angles Projected
on the Unit Sphere
Origin is airplane s
center of mass
α : angle of attack
β : sideslip angle
γ : vertical flight path angle
ξ : horizontal flight path angle
ψ : yaw angle
θ : pitch angle
φ : roll angle (about body x − axis)
µ : bank angle (about velocity vector)
71
72
36