Lecture 1 Introduction
Lecture 1 Introduction
Lecture 1: Introduction
Teaching assistant:
• Mr. Yurong FENG ([email protected])
Mr. Yefeng YANG ([email protected])
Mr. Bailun JIANG ([email protected])
Mr. Feng HUANG ([email protected])
• Role: Assisting Design Project and CA
Student assistant:
• Mr. Zhengdao LI
([email protected])
• Role: Assisting Github and others
Outline
Aircraft
Forces & Equations
dynamics
moments of motion
Aircraft
Flight stability
Control
management Sensors & system
systems actuators
Topics in this course
Flight management
• Unmanned aircraft: the six-degree-of-
freedom (DOF) physical aircraft that
responds to servo command inputs
(elevator, aileron, rudder, and throttle)
and wind and other disturbances.
• Autopilot: the low-level algorithms that
maintain roll and pitch angles, airspeed,
altitude, and course heading.
• Flight management: the high-level
algorithms that plan paths and follow the
designed paths (including path planner,
path manager, and path following).
System architecture
Recommended Books
• Week 1: Introduction
• Week 2: Coordinate systems
• Week 3: Kinematics and dynamics
• Week 4: Aerodynamic forces and moments
• Week 5: Design models • 39 contact hours
• Week 6: Autopilot control laws • 33 hours for 11 lectures
• 6 hours for 2 labs
• Week 7: Mid-term review and test
• Week 8: Sensors and State estimation
• Week 9: Flight management I
• Week 10: Flight management II
• Week 11: Final review
Course Content
Belly
Course Content
Week 1-3
Plant
(aircraft)
𝑓(𝛿𝑎 , 𝛿𝑒 , 𝛿𝑟 , 𝛿𝑡 )
𝑔(𝛿𝑎 , 𝛿𝑒 , 𝛿𝑟 , 𝛿𝑡 )
Course Content
A B
Course Content
A B
Course Content
Week 1-5
Actuator Plant
(Control surfaces) (aircraft)
Week 1-5
Plant
(aircraft with control surfaces)
• What is an autopilot?
• A system used to guide an aircraft (the
inertial position (𝑝𝑛 , 𝑝𝑒 , ℎ) and attitude
(𝜙, 𝜃, 𝜓)) without the assistance of a pilot.
Altitude Control
PI Pitch Control
PD
Successive loop closure
Course Content
Week 1-6
Plant
Controller
(aircraft with control surfaces)
To generate signals
to command the
control surfaces
Course Content
Week 8: Sensors and State estimation Why we need sensors? Get feedback
Week 1-8
Plant
Controller
(aircraft with control surfaces)
Sensors
State estimator
Course Content
• Dijkstra's algorithm
Path
planning • RRT
• etc
System architecture
Course Content
Week 1-10
Plant
Reference Controller
(aircraft with control surfaces)
Sensors
State estimator
Design project
Design project
• The design project is integrated with the course content.
• You will not only learn the teaching materials but also learn how to use them.
• You will end up with a simulated flight control system that allows you to command the
speed, altitude and course angle of a simulated aircraft.
Design project
• Task 0: Github
• Week 1: Introduction
• Week 2: Coordinate systems
• Week 3: Kinematics and dynamics
• Week 4: Aerodynamic forces and moments
• Week 5: Design models
• Week 6: Autopilot control laws
• Week 7: Mid-term review and test
• Week 8: Sensors and State estimation
• Week 9: Flight management I
• Week 10: Flight management II
• Week 11: Final review
Design project
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems
• Week 3: Kinematics and dynamics
• Week 4: Aerodynamic forces and moments
• Week 5: Design models
• Week 6: Autopilot control laws
• Week 7: Mid-term review and test
• Week 8: Sensors and State estimation
• Week 9: Flight management I
• Week 10: Flight management II
• Week 11: Final review
Design project
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 3: Kinematics and dynamics
• Week 4: Aerodynamic forces and moments
• Week 5: Design models
• Week 6: Autopilot control laws
• Week 7: Mid-term review and test
• Week 8: Sensors and State estimation
• Week 9: Flight management I
• Week 10: Flight management II
• Week 11: Final review
Design project
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 3: Kinematics and dynamics • Task 3: Use forces and torques for aircraft control
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 3: Kinematics and dynamics • Task 3: Use forces and torques for aircraft control
• Week 4: Aerodynamic forces and moments • Task 4: Use control surfaces for aircraft control
control
surfaces
Design project
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 3: Kinematics and dynamics • Task 3: Use forces and torques for aircraft control
• Week 4: Aerodynamic forces and moments • Task 4: Use control surfaces for aircraft control
• Week 5: Design models • Task 5: Compute design models under trim condition
Trim conditions
Design project
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 3: Kinematics and dynamics • Task 3: Use forces and torques for aircraft control
• Week 4: Aerodynamic forces and moments • Task 4: Use control surfaces for aircraft control
• Week 5: Design models • Task 5: Compute design models under trim condition
• Task 0: Github
• Week 1: Introduction • Task 1: Build a fixed-wing aircraft
• Week 2: Coordinate systems • Task 2: Implement coordinate system transformation
• Week 3: Kinematics and dynamics • Task 3: Use forces and torques for aircraft control
• Week 4: Aerodynamic forces and moments • Task 4: Use control surfaces for aircraft control
• Week 5: Design models • Task 5: Compute design models under trim condition
12 states
Trim conditions
To be developed
Design project
▪ Lab 1 Aircraft dynamics; Week 5 or • Task 3: Use forces and torques for aircraft control
• Task 4: Use control surfaces for aircraft control
Week 6;
• Task 5: Compute design models under trim condition
▪ Lab 2 Control system design; Week 8 • Task 6: Autopilot design
or Week 9 • Task 7: State estimation (optional)
• Each group will be assigned to two
particular weeks.
• Form groups by yourselves. If you could
not find a partner, email the lecturer.
Design project
Normal method:
• Class test (10%); Week 7; Individual
• Homework (20%); Week 4 and Week 9; Individual
• Lab report (20%); Week 10; Group
• Final exam (50%); TBA; Individual
Ceiling: 100%
Things to do and not to do
Vector addition
• To add vector B to vector A, we simply place the tail of B at
the head of A.
• The sum is a vector C from the tail of A to the head of B.
• Thus, we write C = A + B. The same result is obtained if the
roles of A and B are reversed. That is, C = A + B = B + A.
Fundamental mathematics
2. Dot product of vectors Resulting in a scalar Scalar product
Algebraic definition
a
b
Fundamental mathematics
2. Dot product of vectors Resulting in a scalar Scalar product
How to derive the Law of Cosines using the definition of scalar product?
𝐶Ԧ = 𝐴Ԧ + 𝐵
2
Ԧ 2 = 𝐴Ԧ + 𝐵
(𝐶) 𝐶Ԧ
𝐵
2 2 Ԧ
𝐶 = 𝐴 + 𝐵 + 2𝐴𝐵 2
𝜋−𝜃 𝜃
𝐶 2 = 𝐴2 + 𝐵2 + 2𝐴𝐵 cos(𝜋 − 𝜃)
𝐴Ԧ 𝐴Ԧ
𝐶2 = 𝐴2 + 𝐵2 − 2𝐴𝐵 cos 𝜃
Fundamental mathematics
3. Cross product of vectors Resulting in a vector
• 𝜃 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.
a × b = b × a ??? a b
b a
Fundamental mathematics
4. Differentiation
𝑓 𝑥 = 𝑔 𝑥 ℎ(𝑥)
𝑓ሶ 𝑥 = 𝑔ሶ 𝑥 ℎ 𝑥 + 𝑔 𝑥 ℎሶ 𝑥
Introduction of MATLAB/Simulink
Introduction of MATLAB/Simulink
Browse an
existing file
or open a
recent model
Introduction of MATLAB/Simulink
Introduction of MATLAB/Simulink
Double clicking, we
go into this block
Introduction of MATLAB/Simulink
Introduction of MATLAB/Simulink
• Basic idea: the aircraft composes a number of surfaces. By carefully drawing the
faces, you will have an aircraft model.
• Each surface is a polygon, which has a number of vertices.
• So, to draw a surface, a set of vertices needs to be defined first.
• Let’s consider a rectangular. Its four vertices are: V = [1 1 0; 1 -2 0; -1 -2 0; -1 1 0]
• Define how the sequence of the vertices: F = [1 2 3 4].
Tutorial on Task 1 of the design project
Tutorial on Task 1 of the design project
To see the full
introduction of “patch”?
Google: MATLAB patch
Tutorial on Task 1 of the design project
1
2
1
Tutorial on Task 1 of the design project
• We introduced the outline of the course: lecture content and design project.
• Complete Task 1. A file with the parameters of the aircraft is available in Github).