Lecture 3 Kinematics and Dynamics
Lecture 3 Kinematics and Dynamics
j0
j1
ℛ𝑎𝑏 (𝜃)T =ℛ𝑎𝑏 (𝜃)−1 = ℛ𝑏𝑎 (−𝜃)
Transformation
matrix c𝜆 = cos 𝜆
s𝜆 = sin 𝜆
Review of coordinate system transformation
From the vehicle frame ℱ 𝑣 to the body frame ℱ 𝑏
Angular orientation of
Attitude of an aircraft an aircraft with respect
to the vehicle frame
(North-East-Down)
Review of coordinate system transformation
From the body frame ℱ 𝑏 to the vehicle frame ℱ 𝑣
𝓡𝒗𝟐
𝒗𝟏 (𝜃)−1 𝓡𝒃 (𝜙)−1 p𝑏 = 𝓡𝒗𝟏 (𝜓)p𝑣
𝒗𝟐 𝒗 𝓡𝒗𝒃 −𝜓, −𝜃, −𝜙
𝒗𝟐
𝓡𝒗𝟏 −1 𝒗𝟐 −1 𝒃 −1 𝑏
𝒗 (𝜓) 𝓡𝒗𝟏 (𝜃) 𝓡𝒗𝟐 (𝜙) p = p
𝑣 𝓡𝒗𝒗𝟏 (−𝜓)𝓡𝒗𝟏 𝑏
𝒗𝟐 (−𝜃)𝓡𝒃 (−𝜙)p = p
𝑣
Review of coordinate system transformation
V𝑎𝑏
Expressions of
cos 𝛼 cos 𝛽 − cos 𝛼 sin 𝛽 − sin 𝛼 𝑉𝑎 , 𝛼, 𝛽 in 𝑢𝑟 , 𝑣𝑟 , 𝑤𝑟 ?
= sin 𝛽 cos 𝛽 0
sin 𝛼 cos 𝛽 − sin 𝛼 sin 𝛽 cos 𝛼
Ground speed
Sideslip
angle
Yaw
angle Flight path angle
Pitch angle
i 𝑖 j𝑖
⊗ V𝑎1
i𝑏
No wind 30°
V𝑎2
j𝑏
k𝑖
k𝑏
1. Draw the body frame
2. Specify the Euler angles
3. When the aircraft flies in the airspeed vector V𝑎1 , what is the angle of attach 𝛼?
4. When the aircraft flies in the airspeed vector V𝑎2 , what is the angle of attach 𝛼?
Study schedule
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2, 3: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 4: Kinematics and dynamics • Task 3: Use forces and torques for aircraft control
• Week 5: Aerodynamic forces and moments • Task 4: Use control surfaces for aircraft control
• Week 6: Design models • Task 5: Compute design models under trim condition
• The body-frame angular rates can be expressed in terms of the derivatives of the
Euler angles:
Differentiation of a Vector-Mathematical tools
𝑑
where represents time differentiation with respect to ℱ 𝑖 .
𝑑𝑡𝑖
Differentiation of a Vector-Mathematical tools
𝝎𝑏/𝑖 is the 𝐚𝐧𝐠𝐮𝐥𝐚𝐫 𝐯𝐞𝐥𝐨𝐜𝐢𝐭𝐲 of the aircraft with respect to the inertial frame.
3. Rigid-body Dynamics
Translational Motion
• In the case of a maneuvering aircraft, we can most easily apply Newton’s second law by
expressing the forces and velocities in the body frame as
𝑏
V𝑔𝑏 = (𝑢, 𝑣, 𝑤)T , 𝜔𝑏/𝑖 = (𝑝, 𝑞, 𝑟)T , f 𝑏 represents the sum of the externally applied
forces and is defined in terms of its body frame components as f 𝑏 = (𝑓𝑥 , 𝑓𝑦 , 𝑓𝑧 )T .
3. Rigid-body Dynamics
Translational Motion
𝑑V𝑏
𝑔
• The expression is the rate of change of the velocity expressed in the body frame,
𝑑𝑡𝑏
as viewed by an observer on the moving body.
• Since 𝑢, 𝑣, and 𝑤 are the instantaneous projections of V𝑔𝑏 onto the i𝑏 , j𝑏 , and k 𝑏 axes, it
follows that
• Expanding the cross product in the Newton’s equation in the body frame and
rearranging terms 𝑏
𝜔𝑏/𝑖 × V𝑔𝑏 ?
3. Rigid-body Dynamics
• 𝜃 is the angle between a and b in the plane containing them (𝜃 ∈ [0, 𝜋]);
• n is a unit vector perpendicular to the plane containing a and b, in the
direction given by the right-hand rule.
𝑏
𝜔𝑏/𝑖 × V𝑔𝑏 ?
3. Rigid-body Dynamics
• Expanding the cross product in the Newton’s equation in the body frame and
rearranging terms, we get 𝑝 𝑢 𝑞𝑤 − 𝑟𝑣
𝑏
𝜔𝑏/𝑖 × V𝑔𝑏 = 𝑞 × 𝑣 = 𝑟𝑢 − 𝑝𝑤
𝑟 𝑤 𝑝𝑣 − 𝑞𝑢
𝑢ሶ 𝑞𝑤 − 𝑟𝑣 𝑓𝑥
1
𝑣ሶ + 𝑟𝑢 − 𝑝𝑤 = 𝑓𝑦
𝑤ሶ 𝑝𝑣 − 𝑞𝑢 m
𝑓𝑧
𝑢ሶ 𝑟𝑣 − 𝑞𝑤 𝑓
1 𝑥
𝑣ሶ = 𝑝𝑤 − 𝑟𝑢 + 𝑓𝑦
𝑞𝑢 − 𝑝𝑣 m
𝑤ሶ 𝑓𝑧
3. Rigid-body Dynamics
Rotational Motion
• For rotational motion, Newton’s second law states that
where h is the angular momentum in vector form and m is the sum of all externally applied moments.
This expression is true provided that moments are summed about the center of mass of the aircraft.
• The derivative of angular momentum taken in the inertial frame can be expanded as
𝝎𝑏/𝑖 is the angular velocity of the aircraft with respect to the inertial frame.
• As with translational motion, it is most convenient to express this equation in the body
frame, giving
3. Rigid-body Dynamics
Rotational Motion
• For a rigid body, angular momentum is defined as the product of the inertia matrix 𝐉 and the angular
𝑏
velocity vector: 𝐡𝑏 = 𝐉𝜔𝑏/𝑖
where
• As an aircraft is often symmetric about the plane spanned by i𝑏 and k 𝑏 , 𝐽𝑥𝑦 = 𝐽𝑦𝑧 = 0,
implying that
𝑏
Because the integrals are calculated with respect to 𝑑𝐡𝑏 𝑑𝐉 𝑏 𝑑𝜔𝑏/𝑖
= 𝜔 +𝐉
𝑑𝑡𝑏 𝑑𝑡𝑏 𝑏/𝑖 𝑑𝑡𝑏
the i𝑏 , j𝑏 , and k 𝑏 axes fixed in the (rigid) body, 𝐉 is
constant when viewed from the body frame, hence
𝑑𝐉
= 0. Substituting into the above equation gives
𝑑𝑡𝑏
𝑏
𝑑𝜔𝑏/𝑖
The expression is the rate of change of the angular velocity expressed
𝑑𝑡𝑏
in the body frame, as viewed by an observer on the moving body.
where
3. Rigid-body Dynamics
• The 6-degree-of-freedom, 12-state model for the aircraft kinematics and dynamics are:
√
√
Task 2
√
√
Tutorial on Task 3 of the design project
√
Task 2 √
Tutorial on Task 3 of the design project
https://au.mathworks.com/help/simulink/sfg/what-is-an-s-function.html
Tutorial on Task 3 of the design project
https://au.mathworks.com/help/simulink/sfg/what-is-an-s-function.html
√
12 states
6 inputs: forces
and moments
√
√
√
Parameters
of gamma
√
Summary
What we did:
• We have derived a 6-degree-of-freedom, 12-state model for an aircraft.
• This model will be the basis for analysis, simulation, and control design that will be
discussed later.
• A tutorial of Task 3.
Thank You!