Professional Documents
Culture Documents
NguyenMinhHung
NguyenMinhHung
The proposal has been screened by the Head/Deputy Head of the department.
This capstone project is the proof of my growth through those 4 years, and encompass
all of the disciplines and knowledge that’s expected for a mechatronics engineer. I’d like
to thank all of the teachers and faculty staff who have helped me come this far and make it
happens, and the friends that I’ve the pleasure to meet, both those that have accompanied
me through all 4 years and those who I met along the way, I’ve had many memorable
experiences with them. I’d like to specially thank Professor Đoàn Thế Thảo, who have
given me this wonderful project, who have guided me from start to end and whose tips that
have helped me complete the project.
This section presents the general overview of the capstone topic “Design and control
of a Quadcopter Robot”, with information about the motivation of the project as well as
examples available. From that design requrements are inferred, which will act as guidance
for the ensuing design process.
1.1 Introduction
However, due to the increasingly ubiquity of quadcopter in society, the need for better
control of drone usage to limit the risk of accident. Authorities in many countries have
enacted more stringent regulation on the use of quadcopter for civilian activities. For
example, in the United States, the U.S. Federal Aviation Administration has released a
regulation that requires user of drones with maximum take-off weight of at least 250 grams
1
to become a registered UAV pilot to be eligible to operate said drones [1]. Authorities in
many countries, such as China, South Korea, Japan, or multinational organization such as
the EU have similar requirement about drone’s maximum takeoff weight. Drone
manufacturers of products that weight 250 grams or heavier must also install a remote
identifier device, which broadcasts publicly the information about the owner of the drone,
its position and other basic information for everybody to view. Due to the complex
requirements to own and operate a drone weighting more than 250 grams, most of the focus
is now on the design and manufacturing of sub-250 grams drone to ensure that the drone
still retains most functionalities of heavier drone, have similar flight time while still being
compliant with regulation [2]. To design and control a drone in sub-250 grams is also the
main goal of this capstone project.
There are many ways to classify a quadrotor, the most common metric is maximum
takeoff weight (MTOW), refer to the weight of the quadrotor with all components
necessary for flying and its payload. This metric correlates to the expected kinetic energy
at impact when the quadrotor crashes, which is the primary factor affecting flight safety
and is the motivation behind many regulations that limit unregistered drone weight.
Dalamagkidis et al [5] has constructed a model used to estimated fatalities after a ground
impact, based on impact kinetic energy which in turns based on MTOW of quadrotor.
2
Based on the requirement of maintaing an expected fatalities of less than 10−7 per hour
(less than 1 in 10 million people around the world dies to drone crashes every hour),
categories specified in table 1 was derived. In the model, drone belongs to the micro and
mini categories are so light that they pose little threat of fatality or serious injury after an
impact.
Name MTOW TG1 Notes
Micro <0,5kg 102 Most countries don’t regulate this type since it poses
minimal danger to human life or property
3
Mini 0,5 - 1kg 10 This category usually corresponds to RC aircraft
4
Small 1 – 13,5kg 10 N/A
Light 13,5 - 242kg 10 5 N/A
6
Normal 242 – 4332kg 10 These vehicles usually correspond to normal aircraft
7
Large >4332kg 10 These vehicles usually correspond to transport category
Table 1. Quadcopter classifications based on MTOW and impact risk. 𝑇𝐺1 is the
minimum interval between crashes in minutes
Although MTOW provides good basis for aircraft classification when operational
safety is a major concern, quadrotor classification based on maximum flight altitude is also
a useful criterion, as it dictates collision avoidance requirement due to the possibility of
sharing similar altitude with manned aircraft. A classification based on altitude by
Dalamagkidis is presented as followed:
- Very low altitude/Beyond line of sight (VLA/BLOS): similar to above class, but with
the possibility that the aircraft is flown out of sight. Requires a transponder but doesn’t
require ATC communicaiton.
3
- Very high altitude (VHA): operating in class E airspace above FL600 (5,5km above
ground). Requires transponder and ATC communication.
Another popular metric to classify quadrotor is based on its level of autonomy [6].
Any unmanned aircraft must have some control algorithm to balance itself, as human
control introduces to much latency for effective stabilization, and current trend in
autonomy is ever-increasing for newer quadcopter with better electronics and sensors. A
specification, called autonomous control level (ACL), sought to systematically categorize
drone based on requirements like situational awareness, analysis, coordination, decision
making and degree of human involvement. A simple overview of the classificaiton is
outlined below:
- Remotely piloted: a certified pilot remotely controls the quadrotor either within line of
sight or with feedback telemetry.
- Fully autonomous: the quadrotor is given task and is capable of self-determining how
to accomplish them, even with unforseen events arise. It can also perfom self-diagnostic
and rectify potential problems.
b) Dynamics of quadrotor
A quadcopter has four control inputs, which are four propellers angular speed that
can be varied independently. Unlike similar rotorcraft like helicopter, which keeps its rotor
speed constant while varying the propeller’s pitch angle to achieve lateral ang longtitudinal
movement, a quadcopter relies on the rapid variation of individual propeller speed to
perform movement. Because of the discrepancy betweeen the number of control inputs (4
propellers speed) to the 6 degrees of freedom of 3-dimensional movement (translational
movement along the x, y and z-axis and rotational movement roll, pitch, yaw) that the
4
quadrotor performs, some of the movements are coupled together, namely: the
longtitudinal translation is coupled with pitch movement, and lateral movement is coupled
with roll movement [7]. The description of possible quadrotor movement is as follow:
- Hovering movement:
As shown by picture 2, a hovering quadcopter has all propellers spinning at the same
speed, with motor 1 and 3 rotating counter-clockwise, and motor 2 and 4 rotating
clockwise. Each motor generates two forces: a vertical thrust perpendicular to the
quadrotor’s body and a reaction torque, which is of opposite direction to the rotation of the
propeller. In hovering condition, the reaction torque τ has the same magnitude for all 4
motors, and torque generated by pair 2 and 4 has the opposite direction to pair 1 and 3, thus
the quadrotor’s body experiences net zero torque:
τz = τ1 + τ3 − τ2 − τ4 = 0
The total thrust F of all four motors is equal to the quadrotor’s weight if it stays hover
at the same altitude, and will move upward or downward if the thrust is larger or smaller
than the weight:
F1 + F2 + F3 + F4 − mg = ma
5
Picture 2. Forces applied on a quadrotor in hovering flight
- Longtitudinal movement:
As shown by picture 3, if the pair of motor 1 and 4 has its speed reduced by a certain
amount, and the speed of motor 2 and 3 increased by the same amount, a discrepancy
between the thrust generated by motor 1 and 4 and motor 2 and 3 will induce a pitch torque
on the quadrotor’s body, making rotates around the x-axis and move longtitudinally:
τy = F2 + F3 − F1 + F4
The positive direction of the movement is determined by the right-hand rule around the
predefined principal axes. Because the total thrust generated is unchange, the quadrotor
will hold its altitude and will only move on the x-axis.
6
Picture 3. Forces applied on a quadrotor in longtitudinal translation flight
- Lateral movement:
As shown in picture 4, if the pair of motor 1 and 2 has its speed reduced by a certain
amount, and the speed of motor 3 and 4 increased by the same amount, a discrepancy
between the thrust generated by motor 1 and 2 and motor 3 and 4 will induce a roll torque
on the quadrotor’s body, making rotates around the y-axis and move laterally:
τx = F2 + F3 − F1 + F4
The positive direction of the movement is determined by the right-hand rule around the
predefined principal axes. Because the total thrust generated is unchange, the quadrotor
will hold its altitude and will only move on the y-axis.
7
Picture 4. Forces applied on a quadrotor in lateral translation flight
- Yawing movement:
The quadrotor performs this movement to change its relative heading. As shown in
picture 5, if the pair of motor 2 and 4 has its speed reduced by a certain amount, and the
speed of motor 1 and 3 increased by the same amount, the net reaction torque on the
quadrotor’s body will be larger than zero, making it rotates clockwise around the z-axis:
τz = τ1 + τ3 − τ2 − τ4 ≠ 0
The positive direction of the movement is determined by the right-hand rule around the
predefined principal axes. However, because the reduction of thrust generated by motor 2
and 4 is compensated by the increase of thrust generated by motor 1 and 3 by the same
8
amount, there is no torque around the x and y-axis, and the total thrust stays the same, so
the quadrotor will experience no translational movement.
Some companies have developed commercial quadcopter for aerial viewing purposes,
of which examples that satisfy the sub-250 grams category includes the DJI Mavic Mini
and Autel EVO Nano.
9
Picture 6. Fully assembled, ready-to-flight DJI Mavic Mini
Design and manufactured by the Chinese company DJI [8], Mavic Mini is a foldable,
aerial photography quadrotor equipped with camera mounted on a 3-axis gimbal. Some
of its basic features are listed as follow:
- Battery: Li-ion 2 cells battery with max charge at 8,4V and 2400mAh capacity. It
weights 100g and provides 28 minutes flight time at 14km/h in windless condition.
- Wireless transmission: it can transmit recorded video realtime through Wifi to the
user phone, and is controlled with hand-held controller through RF at either 2.4GHz
(2km range) or 5.8GHz (500m range).
- Positioning: equipped with GNSS chip that can use GPS and GLONASS. Its
accuracy is listed in the table below.
- Frame: both its body frame and propeller are made of injection molded plastic.
Additional propguard can be installed for safety, but MTOW will exceed 250g.
10
b) Autel EVO Nano
- Battery: LiPo 2 cells battery with max charge at 8,8V and 2250mAh capacity. It
weights 82g and provides 28 minutes flight time at 14km/h in windless condition.
- Wireless transmission: it can transmit recorded video realtime through Wifi to the
user phone/controller, and is controlled with hand-held controller through RF at either
2,4GHz (10km range, unobstructed enviroment) or 5,8Ghz.
- Positioning: equipped with GNSS chip that can use GPS. Its accuracy is listed in the
table below.
- Frame: its body frame and propeller are made of injection molded plastic.
11
- Wind resistance: level 5 (up to 10,7m/s).
12
+ Select communication system that’s suitable for low latency, long range application.
+ Choose battery that allows longest flight time
- Design control system: synthesize a control loop with the following task:
+ Design controller that can stabilize the quadcopter with chosen settling time and steady
state error.
- Testing and review.
b) Design requirements:
- Takeoff weight: less than 250g.
- Allowable frame arms deflection: 0.1 degree.
- Max size of the quadcopter: 350x350x150mm.
- Max altitude: 10m.
- Max flight speed: 10m/s.
- Max flight time: 10 minutes.
- Max tilt angle: 25 degrees.
- Can stabilizes and hover without human input.
13
CHAPTER 2: POSSIBLE SOLUTIONS PROPOSAL AND SELECTION
Picture 8. Quadcopter frame basic dimensions (r: propeller radius, R: distance of motor
to center of quadrotor, wheelbase: distance between two opposite motors)
14
- Advantages of frame with large wheelbase: more space for installation of electronics
such as RF, GPS antenna, better airflow for cooling, can carry more payload…
+ Larger frame creates cascade requirement (larger propellers, larger motors, more
capable motor driver, larger battery…), further increase size.
+ Longer propellers are more susceptible to “blade flapping”, which is the upward and
downward movement of the rotorblade. Quadrotor’s propellers are usually fixed pitch,
therefore this effect is more pronounced, as it can’t vary the propellers pitch to limit the
transmission of aerodynamics force to the motor, and can cause damage to the motor hub
or the frame.
Conclusion: due to the project’s goal to design a sub-250g quadrotor, a large airframe
is unneeded to satisfy the requirements. However small frame will place constraint on the
propulsion system used, which will limit flight duration. Therefore, the chosen frame size
is 4” or 5” as it’s balance between flight duration and size. The specific size will be
calculatrf in later section.
b) Frame configuration:
15
Picture 9. Common quadcopter frame configuration (left to right: X, stretch X, Plus, H)
- Ring configuration (H frame):
+ Advantages: the front and back arms are perpendicular to the drone fuselage, the
propellers are spaced far away from the fuselage, which allows more internal space.
The propeller also doesn’t obstruct the field of view of the camera, allows better aerial
viewing and photography.
- Cross configuration (X frame): two booms cross at the center, and the motor’s are
placed symmetrically at the end of the four arms, the middle of the frame can be
placed with electronics or payload.
+ Advantages: has balanced moment of inertia on roll and pitch axes, allows rapid
movement. It’s also dynamically more robust, as all 4 motors contribute to the torque
that moves the quadrotor
- Stretch X: allows ample internal space for more payload and components.
Commonly seen on delivery drone. Otherwise similar to X frame
16
- Plus configuration: two booms are perpendicular to each other. Placement is
similar to cross configuration.
c) Material:
The material chosen to make the quadrotor’ frame must be extremely lightweight
while having high stiffness. Wide variety of material has been used to construct the
quadcopter’s frame. Properties of some material are listed below:
Carbon Fiber Fiberglass Polycarbonate Acrylic
3
Density (kg/m ) 1384 1938 1384 1107
Tensile modulus (GPA) 65 19 5 3
Tensile strength (MPA) 827 103-345 55-110 5-76
Table 4. Specifications of common quadrotor’s frame material
It’s observed that high performance airframe is usally made of composite material
such as carbon fiber reinforced plastic (CFRP) or fiberglass, while airframe with low-
performance requirement, such as for use in toys, usually made from acrylic plastic or
polycarbonate as they’re inexpensive, light and easy to machine [12]. Due to the degisn
requirement necessitates high rigidity, only composite material is considered in details:
- CFRP:
+ Advantages: has very high stiffness to weight ratio. It’s readily available as plate,
which can be machined at affordable cost.
+ Disadvantages: blocks radiowave, which necessitate placement of the receiver at
location unobstructed by the frame or the use of antenna that protrudes outside the frame.
17
It’s also electrically conductive, which requires electrical isolation of electronics
components to the frame. The material is also expensive.
- Fiberglass:
+ Advantages: unlike CFRP, fiberglass isn’t conductive and is transparent to
radiowave. It also has high stiffness to weight ratio.
+ Disadvantage: not readily available in basic shape, which make the processing step
much more complex. It’s also costly.
Conclusion: choose CFRP due to very high stiffness and readily available basic shape for
machining.
d) Motor:
Two basic characteristcs that define a motor is its speed constant and its size:
- Speed constant quantify the relationship between the voltage supplied to the motor’s
armature and the rotational speed of the motor, its unit is kV. For example, if a motor has
a speed constant of 2800kV, it will spin at 14000rpm if supplied with a 5V source.
- Motor sizing determines the maximum power output that a motor provides. It is a 4
digits number denotes as the motor’s stator diamter followed by its shaft length, for
example, if a motor size is 2404, its stator diameter is 24mm and its shaft length is 4mm.
18
Large motor usually has higher torque and lower rotational speed, and the opposite for
small motor.
For small quadrotor, small motors with high kV count is preferred as small quadrotor
requires small thrust for movement, and the use of small motors will require small
propeller and small battery, which all save weight.
Conclusion: choose BLDC as propulsion as it’s smaller and lighter than DC motor
with similar performance.
e) Propeller:
Propeller is the components that generate lift during flight [14]. Typically, the size of a
propeller is denoted by a 4 digits number, which specified the propeller’s diameter and its
pitch. For example, a 1045 propeller has a diameter of 10 inches and a pitch of 4.5
inches, where pitch is the distance that the propeller travel after 1 revolution, therefore for
the previous example the 1045 propeller will mose 4.5 inches per revolution.
Chord length of the propeller varies along the propeller radius, and the chord located at
2/3 of the radius is usally chosen as the nominal chord length.
19
Plastic and carbon fiber are the most popular material for manufacturing of propeller,
however as carbon fiber propeller are much more expensive than plastic, only application
with large drones and heavy payload requires the stiffness provided by them. Majority of
mini quadrotors use plastic propellers as it still has adequate stiffness, while being elastic
means it has less probability of being broken due to impact.
2.2 Electronics:
a) Sensors:
Picture 13. DJI integrated navigation sensor (9-axis INS + GPS with antenna)
20
Various sensors are used to control quadcopter altitude, attitude, position or aid the
quadcopter in landing:
- GPS module: returns the quadcopter coordinate, which can be used to determine its
position and headings.
- Barometer: returns atmospheric pressure, which can be used to determine its altitude
relative to ground.
- Optical flow camera: coupled with rangefinder (either laser or sound) to determined
the quadcopter translational speed relative to ground.
- Ultrasonic sensor: detect nearby obstacles, can be used to avoid objects during flight
or landing.
Conclusion: due to weight constraints and design goal only requires the control of the
quadrotor’s attitude, choose IMU as sensor.
b) Battery:
Picture 14. A 4-cells LiPo battery pack with XT-30 and balance charging connector
21
Basic characteristics that define a battery package are number of cells, discharge rate,
maximum capacity and physical properties [15]:
- Number of cells: a battery pack is composed of multiple battery cells in serial or parallel
wiring, each cell has the same properties and a nominal voltage of 3.7V, a battery pack
with 3 cells in serial wiring is denoted 3S. If the drone is performing heavy lifting or fast
maneuvre, more current draw is expected from the battery while the provided voltage
stays the same, therefore battery is wired parallel to give more maximum continuous
current but still similar voltage (e.g 3S1P battery pack means 3 cells wired in series with
1 additional cell wired in parallel).
- Capacity: maximum charge that a battery pack can hold, determines flight time depends
on power consumption.
- Discharge rate: maximum instantaneous current that the battery pack can supply to the
system. For examples, an 800mAh battery pack with 75C discharge rate can provide at
most 75 ∗ 0.8 = 60(A) to the system.
- Physical properties such as weight and dimensions, which can be chosen based on the
size of the quadcopter.
Batteries used in quadcopter systems need to satisfy the following requirements:
rechargable, can provide high discharge rate, can store high capacity, light-weight. Some
of the commonly used batteries type are NiMH, LiPo, Li-ion batteries. It can be of
several forms: a prepacked multi-cells battery, or multiple cylinder battery in serial
connection such as 18650 batteries.
- NiMH: cheap power source, but has low energy density and low discharge rate.
- Li-ion: highest energy density available, has high recharge cycles. However specialized
recharging station is required for safety, and it has lower discharge rate than LiPo battery.
Suitable for long-endurance drone with slow movement.
- LiPo: has highest discharge rate, high energy density and readily available multiple-
cells battery pack. Requires specialized charger and is expensive. Suitable for “athletic”
drone with fast movement and short flight time
Conclusion: choose multiple-cells battery pack Li-Ion battery as power source for long
flight time.
c) Communication:
Two common commucation medium used by drone for transmission is radio frequency
(RF) and Wifi due to their abundance and well-defined characteristics:
22
- Radio:
The TX and RX modules must use the same operation frequency, some of the typical
communication frequency includes: 900Mhz, 1,2Ghz, 2,4Ghz, 3,3Ghz and 5,8Ghz.
Lower frequency signal has longer range, while higher frequency signal has lower
latency, communication range can be as far as 2.5km using small receiver without
antenna. If multiple TXs/RXs are operating within the vicinity of each other, care must be
taken to select frequency that is different for each communication pair to avoid signal
interference. However newer RF protocols permit the use of shared frequency in close
23
proximity as each binded TX/RX pair is further differentiated by a binding passcode
that’s only shared between them.
Data is shared between RX module and flight controller either through digital method
(SPI, UART, I2C) or analog method (PWM, PPM).
- Wifi:
Picture 16. Omnidirectional antenna with U.FL connector for long range transmission
Wifi is a wireless protocol that allows high speed, 2-way connection between devices,
available in either 2,4Ghz or 5Ghz. Many commercial quadrotors utilize Wifi to transmit
video feed in real time back to user, thanks to their very high transmission speed
(54Mbps for 802.11g protocol) [17]. However, they’re unsuitable for long range
application, as their range is very limited (as far as 50m for at 5Ghz frequency) and can
be blocked by environment, such as when operated in forest with dense foliage. Antenna
with high transmission power (up to 1W TX and RX module is available commercially)
can be used to extend the transmission range, with the drawback of high-power
consumption, amplified noise and interference with other communication.
24
Conclusion: choose RF for long-range communication with quadrotor.
- Flight computer: assume high-level control task such as route planning, task
scheduling, communication with operator, fault diagnostic… It forms the outer loop
control which sends command such as desired translational speed, angular rate to flight
controller.
- Centralized control: few components required, which simpify the control process.
However fast controller is required to handle all control tasks, and is harder to test.
- Distributed control: because the control task is shared, less capable controllers can be
used. The distributed nature also allows concurrent development and testing of
components. The drawbacks is complex implementation and costly.
Conclusion: choose centralized control system because design goals require low-level
autonomy and simple system for fast response.
b) Control algorithm:
Many controller types have been applied successfully to the control of the drone’s
attitude, altitude, position and speed: PID, LQR, Sliding mode, Backstepping. Depends
on the required functionallities, quadcopter can perform tasks with increasing autonomy:
25
+ Holding position without user input.
Conclusion: choose cascaded PID controller with outer loop for tilt angle control and
inner loop for angular rate control of the quadrotor.
b) Electrical option:
26
Picture 18. Control architecture diagram
c) Control option:
27
CHAPTER 3: MECHANICAL DESIGN
Due to the weight constraint, there is an upper limit to the physical size of the drone, as
bigger drone requires bigger motors and propellers to fly at maximum speed, which in turns
requires larger batteries to have enough capacity to sustain long flight [19]. The size of a
quadrotor is closely related to its propeller size, the number of propeller and the propeller
tilt angle. If we assume that the propeller isn’t tilted, then the relationship of between the
airframe radius and the maximum radius of the propeller is:
rmax
R = (3.1)
180°
sin ( )
n
numerical simulation results show that there’s an upper limit to the maximum
propeller size as too large propeller will creates interference between the flow fields,
results in the thrust generate fluctuates and overall less thrust. If the propeller size is less
than or equal rmax , each propeller will generate independent vortex without interference.
The relationship between propeller size and its maximum size is:
rmax = 1,05r ÷ 1,4r (3.2)
where:
R: distance from the quadcopter’s center of gravity to a motor.
r: propeller radius.
n: number of motors, for quadrotor n = 4.
- For the chosen 4” frame size, the airframe radius is R = 90mm, and the calculated
maximum propeller size is:
rmax = R sin(45°) ≈ 63,64mm (3.3)
The propeller size is therfore within the range of:
rmax rmax
r= − ≈ 45 ÷ 60mm (3.4)
1,05 1,4
- For the chosen 5” frame size, the airframe radius is R = 110mm, and the calculated
maximum propeller size is:
28
rmax = R sin(45°) ≈ 77,78mm (3.5)
The propeller size is therfore within the range of:
rmax rmax
r= − ≈ 56 ÷ 74mm (3.6)
1,05 1,4
Changing the size of a multicopter will change its weight and moment of inertia, which
determine the maximum angular and translational acceleration. The relationship between
various physical properties and the frame size is as follow:
T ~ ω2 R4 , M ~ ω2 R5
{
m ~ R3 , J ~ R5
T ω2 R4
a= ~ 3
= ω2 R
m R (3.7)
→
M ω2 R5
α= ~ = ω2
{ J R5
According to Mahony et al, if the flow is compressible and the blade tip speed is
constant, we have:
1
ω~
R
Based on this assumption, we have:
1
a~
{ R (3.8)
1
α~ 2
R
where:
M: total moment around a principal axis (roll, pitch, yaw) generated by a motor (Nm).
29
ω: angular speed of the propeller (rad/s).
The ~ sign denotes that the value on the left-hand side is proportional to the value on
the right-hand side.
The analysis above proves that the body size is direcly relates with the quadrotor’s
angular and translational acceleration. If the quaadrotor is small, it will have high ability
to change its direction and attitude, which results in more flexible movement. In addition,
because the body size correlates with propeller size, the increase in propeller size will
increase its moment of inertia, results in slower response. Larger propeller also needs
high rigidity to avoid significant blade-flapping. Therefore, the size of the quadcopter and
propeller will be chosen as follow:
a) Propeller design:
30
N 2 5
M = CM ρ ( ) Dp (3.10)
60
where:
ρ: air density (kg/m^3), it depends on the local altitude h (m) and temperature t (⁰C). It’s
calculated as follow:
273P
ρ = ρ (3.11)
101325(273 + t) 0
where ρ0 = 1,293 (kg/m^3) is the standard air density. P (Pa) is the atmospheric
pressure and is calculated as follow:
5,2561
h
P = 101325 (1 − 0,0065 ) (3.12)
273 + t
We have the maximum service ceiling hmax = 10m, assuming the operating
temperature t = 30⁰C, we have:
10 5,2561
P = 101325 (1 − 0,0065 ) ≈ 101210,8Pa (3.13)
273+30
273∗101210,8
ρ = ∗ 1,293 ≈ 1,164kg/m3 (3.14)
101325(273+30)
31
2
HP −1
πAK 0 2 ε tan πDP − α0
CD = CFD + ( ) (3.17)
e πA + K 0
where:
2
0,75 ∗ 0,52 π2 2 HP
→ CM = −1
CD BP = 0,046 (0,015 + 1,072 (tan ( ) ) ) BP 2 (3.19)
8∗5 0,9π
b) Motor design:
A brushless DC motor can be modeled by its equivalent circuit, with a resistor R M (Ω)
represents the motor’s armature resistance, an inductor represents the motor’s coil
inductance. A load represents the back-electromotive force. I0 (A) and U0 (V) is the no-
load current and voltage, which is the minimum current and voltage required for the motor
32
to overcome friction and starts rotating. In this representation, the inductance is considered
to be transient effect caused by switching elements and is ignored to simplify the design
process.
The equivalent circuit is as follow:
The motor input voltage UM and current IM can be obtained from the propeller speed N,
the generated propeller torque M, the motor’s speed constant K V and the mentioned
parameters by the formula:
MK V U0 U 0 − I0 R M
UM = ( + I0 ) R M + N (3.20)
9,55 ∗ (U0 − I0 R M ) K V U0
MK V U0
IM = + I0 (3.21)
9,55 ∗ (U0 − I0 R M )
c) Motor driver design:
The ESC converts DC voltage supplied by the battery to 3-phase voltage, and control
the switching components following a sequence (either trapezoidal switching or more
efficient algorithm such as field-oriented control) with precise timing to achieve
commutation that drive the BLDC.
33
Picture 21. ESC input-output voltage and current
In which UE0 is the armature voltage output by the ESC, calculated as follow:
U E = U M + IM R E (3.22)
where R E is the switching resistance of the MOSFET chips of the ESC. The throttle
command σ given by the flight controller to the ESC is calculated as follow:
UM
σ= =0÷1 (3.23)
UE
where UE is the voltage supplied by the battery to the ESC. The ESC output current is
calculated by:
IE = σIM (3.24)
which is limited by the maximum current that the ESC can provide:
IE ≤ IE,max (3.25)
d) Battery design:
The choosing of battery based on the required flight endurance Tmax based on the current
draw from the battery IB . The battery discharge process is simplified based on the
assumption that the battery voltage doesn’t change, and the discharge rate is constant. The
voltage of the battery UB therefore is:
34
U B = U E + IB R B (3.26)
where R B is the internal resistance of the battery. Because each motor is powered by an
ESC, a quadrotor needs 4 ESC to operate, the total power drawed by the system from the
battery therefore is:
where Iothers is the current consumed by other electronics components such as flight
controller, sensors… Thus, the battery capacity CB (mAh) that’s required for flight
endurance is:
CB − Cmin 60
Tmax = ∗ (3.28)
IB 1000
where Cmin is the minimum battery charge required for safety. Cmin = 0,15 ÷ 0,2CB is
usually chosen. The current drawed also must not exceed the maximum discharge rate K B
of the battery:
CB KB
IB ≤ (3.29)
1000
e) Selecting components:
In hover mode, the sum of thrust of all 4 motors is equal to the weight of the quadrotor.
Thus, the thrust provided by a single motor is:
mg 0,25 ∗ 9,81
F= = ≈ 0,625N (3.30)
4 4
With the design parameters modelled, we will evaluate chosen components to check
whether they can satisfy the design requirements. The list of components and its basic
parameters are listed as followed [21, 22, 23, 24]:
35
Components Design parameters
Propeller Gemfan D90 - 3 Dp = 3,5in ; Hp = 3in ; Bp = 3
Motor Xing2 1404 K V = 3800RPM/V ; IM , max = 10A ; R M = 0,22Ω ; I0 = 0,2A ; U0 = 6V
ESC Mamba F55 128k IE,max = 55A, R E = 0Ω
Battery Panasonic CB = 6600mAh ; R B = 0,038Ω ; UB = 7,4V ; K B = 3C ; Iothers = 0,11A
NCR18650GA 2S 3300mAh
Table 5. Parameters of chosen quadrotor’s components
3
CT = 0,346 ∗ 3 ∗ tan−1 ( ) ≈ 0,846 (3.31)
0,9π
2
2 −1
3
CM = 0,046 ∗ 3 (0,015 + 1,072 (tan ( ) ) ) ≈ 0,303 (3.32)
0,9π
𝑇 0,625
N = 60√ 4 = 60√ ≈ 5903RPM (3.33)
Dp CT ρ 0,846 ∗ 1,164 ∗ 0,094
N 2 5
M = CM ρ ( ) Dp ≈ 0,02Nm (3.34)
60
The input voltage and current for the motor to achive that speed is:
0,02 ∗ 3800 ∗ 6,3 6,3 − 0,2 ∗ 0,22
UM = ( + 0,2) 0,22 + ∗ 5903 ≈ 3,5V (3.35)
9,55 ∗ (6,3 − 0,2 ∗ 0,22) 3800 ∗ 6,3
0,02 ∗ 3800 ∗ 6,3
IM = + 0,2 ≈ 8,21A (3.36)
9,55 ∗ (6,3 − 0,2 ∗ 0,22)
Because the internal resistance of the ESC is negligible, we have: UM = UE = 3,5V
UM 3,5
σ= = ≈ 0,47 (3.37)
UB 7,4
36
And the current drawed from the battery by the ESC is:
CB K B
IB = 4IE + Iothers = 4 ∗ 3,88 + 0,11 ≈ 15,64A < = 20A (3.39)
1000
CB − Cmin 60
∗ = 20,26 mins > Tmax = 10 mins (3.40)
IB 1000
The design of the quadrotor’s arm must be rigid to external forces such as wind and
thrust generated from the motor. It must also ensure that the deflection of the arm’s free
37
end is within acceptable margin, so that the direction of the thrust from the motor is always
perpendicular to the quadrotor’s body.
The quadrotor’s frame is chosen to be made out of carbon fiber reinforced plastic
(CFRP), which is a composite material with directional strength, which means unlike
isotropic material such as metal which has the same stiffness in all direction, CFRP
properties varied depends on the applied forces direction. The material is strongest when
forces is applied parallel to the fiber direction, and weakest when forces is applied
perpendicular to the fiber direction [25]. However, many CFRP composite has layup with
layer of the same thickness and being oriented in balance direction, namely 00 , ±450 , ±90⁰
direction, which gives the final laminates similar strength regardless of applied forces
direction [26]. The laminates properties are similar to isotropic material, hence it’s called
quasi-isotropic, and the design process using CFRP with this properties is the same as using
isotropic material.
38
The material of the composite used is Toray T300, which according to the manufacturer
has a tensile modulus E = 140GPa and has a failure strain value of 1,5% [27].
The frame arm can be modelled as a cantilever beam, with motor thrust as force applied
on the free end of the beam. The force diagram is as followed:
bh3
The beam has a rectangular cross-section, with moment of inertia I = . Choose b =
12
7mm, h = 4mm, using Bernoulli’s beam theory, the deflection of the beam can be
calculated:
39
Picture 25. Quadrotor design 3D model
40
CHAPTER 4: ELECTRONICS DESIGN
In the last section the battery has been selected along with the propulsion system. This
section focuses on the selection of the flight controller, sensors and communication
modules critical for the functions of the quadrotor. The chosen components need to be
compact and lightweight, as well as being high-performance to carry out control tasks.
41
Picture 27. RF RX module (Happymodel EP2)
42
CHAPTER 5: CONTROL DESIGN
denotes the orientation of the quadrotor’s body frame B with respect to fixed world
coordinate frame W. The element qw is the real part of the quaternion, while the vector
[q x qy qz ] is the imaginary part. The quaternion can therefore be written as [s v]T .
The adjoint, norm and inverse of quaternion q can be calculated as:
q̅
q−1 = (5.4)
‖q‖
q ⊗ p = Q(q) ⋅ p (5.5)
43
qw −qx −qy −qz
qx qw −qz qy
where: Q(q) = [ q qz qw −qx ]
y
qz −qy qx qw
To transform from Euler’s angle (roll angle ϕ, pitch angle θ, yaw angle ψ) to
quaternion, we use the following formula:
ϕ θ ψ ϕ θ ψ
cos cos cos + sin sin sin
2 2 2 2 2 2
qw ϕ θ ψ ϕ θ ψ
qx sin cos cos − cos sin sin
qWB = [q ] = 2 2 2 2 2 2 (5.6)
y ϕ θ ψ ϕ θ ψ
qz cos sin cos + sin cos sin
2 2 2 2 2 2
ϕ θ ψ ϕ θ ψ
[ cos cos sin − sin sin cos
2 2 2 2 2 2]
Integration of quaternion: to measure the attitude of the quadrotor, the
measurements return from the gyroscope can be used by integrating the angular rate
overtime as the current attitude of the quadrotor. Let qt be the current estimated
quaternion, qt−1 is the estimated quaternion of the previous step, q(ω) =
[0 ωx ωy ωz ] is the quaternion representation of the measured angular rate return
from the gyroscope, and q̇ is the quaternion derivative, representing the change of
quadrotor atttitude between current step and previous step. The formula to calculate the
quaternion derivative [30] is as follow:
1
q̇ = q(ω)qt−1 (5.7)
2
And the integration is simply the sum of the previous step attitude with the amount
change between interval ∆t:
qt = qt−1 + q̇ ∆t (5.8)
44
The measured feedback from the IMU always contains error due to noise and
measurement bias resulted from manufacturng imperfection. Therefore, estimation
algorithm must be used to estimate and remove the error from the raw measurements,
integrate the result to obtain new attitude estimate and update the system state variables.
These algorithms are called sensor fusion, which combines measurements from multiple
sensors such as gyroscope, accelerometer, magnetometer… to get more precise estimated
result. The standard sensor fusion algorithm in aerospace guidance and navigation is the
Extended Kalman Filter (EKF), being popular due to its ability to fuse many sensors
feedback source with different update rate, can be used for different attitude
representation such as Euler's angle, rotation matrix and quaternon and can provide
robust result with correct model provided. However, without precise error model of the
sensors, which can be time-consuming to obtain, EKF will be slowed to converge to the
correct solution, or even not converge at all. EKF can also be computing-intensive due to
the need of calculating matrix inverse, which makes it unsuitable for high frequency
control loop, which is needed for fast response to quadrotor changing dynamics.
Another approach is the works of Mahony and Madgwick, which is called Mahony
filter and Madgwick filter respectively. These algorithms use gradient descent method to
converge to the attitude value with the least error, obtained by integrating a “corrected”
angular rate value using feedback accelerometer and magnetometer as reference. These
algorithms have the advantage of fast computing speed, as no matrix inversion is
required, and has tunable converging coefficient K, which is the speed at which the
attitude value converge to the correct value. This is useful as the coefficient can be set to
high value at system start to quickly converge to the true attitude, and then set to the
lower operational value to avoid overshooting.
Because of the fast dynamics nature of small quadrotor, fast computing speed for high
update rate control loop is advantageous. Therefore, the Madgwck filter will be used as
attitude estimaton algorithm for the quadrotor. The estimating process of the filter is
detailed as follow [31]:
45
- Step 1: obtain the current calibrated angular rate ω (rad/s), linear acceleration a (g)
and Earth’s magnetic field strength (gauss).
- Step 2: calculate the attitude error et of the previous estimate using the current
accelerometer and magnetometer reference:
2 (qx qz − qw qy ) 2 (qx qy + qw qz )
2 2 2 2
v(qt−1 ) = 2 (qw qx + qy qz ) , w(qt−1 ) = qw − qx − qz + qy
[ 2 (qy qz − qw qx ) ]
2 2 2 2
[qw − qx − qy + qz ]
at
eat = × v(qt−1 ) (5.9)
‖a t ‖
a t × mt
eat = × w(qt−1 ) (5.10)
‖ a t × mt ‖
- Step 3: caluclate “corrected” gyro measurement ω
̂t using the attitude error:
̂t = ωt + K(eat + emt )
ω (5.11)
- Step 4: calculate quaternion derivative from “corrected” gyro measurement:
1
qṫ = q ⨂q(ω
̂t ) (5.12)
2 t−1
- Step 5: integrate quaternion for current attitude estimate:
The transfer function of the quadrotor’s attitude and body rate is derived in this section
to facilitate effective stabilizing controller design for the quadrotor [32].
The dynamics model of the quadcopter assumes these properties are true:
46
- The propellers are assumed to be rigid
- The center of gravity of the quadrotor is assume to located in the middle of the entire
system, as the frame is symmetrical and all components is mounted close to the center of
the quadcopter’s frame.
where motor 1 and 3 rotate counter clockwise, and motor 2 and 4 rotate clockwise.
The tilt angles around each axis are ϕ, θ, ψ; the body rates are ωx , ωy , ωz .
The quadrotor can be attitude and position can be changed by altering the thrust
produced by each motor, thus applying a three-axis torque and a collective thrust on the
quadrotor. Let the thrust produced by each motor be fi . The torque applied on each motor
axis is:
√2
τx l(f + f2 − f3 − f4 )
2 1
τ = [τy ] = √2 (5.15)
τz l(−f1 + f2 − f3 + f4 )
2
[ κ(f1 − f2 − f3 + f4 ) ]
47
and the total thrust produced by all four motors is equal the quadrotor’s weight. Even
when the quadrotor is tilted, the thrust in the vertical direction must still be equal to the
quadrotor’s weight to maintain altitude, thus:
mg
= f1 + f2 + f3 + f4 (5.16)
cos θ cos ϕ
where l is the length of the motor arms, g is the gravitational acceleration of the
quadrotor and κi is the reaction torque coefficient with respect to thrust of each motor.
48
- Each motor is mounted on a load cell and running with propeller to measure the
generated thrust and moment. The measured value is plotted against the digital command
input from the flight controller in the range of [0, 1]. The coefficient is extracted from the
best fitted quadratic function to the data samples.
- From the derived quadratic function, calculate the value of f(u) and τ(u) for the
τ
whole command input range. The coefficient κ is then calculated as follow: κ = i , with
fi
the coefficient assumed to be the same for all 4 motors for simplicity.
Through experiment, the fitted quadratic curve that describes the function between
input command and generated thrust is as follow:
Picture 29. Fitted curve of the quadratic function for input command to thrust
The quadrotor’s attitude and its derivative can be calculated from the motor’s thrust as
follow:
49
Ixx 0 0 ω̇x
τ = Iω̇ = [ 0 Iyy 0 ] [ω̇y ]
0 0 Izz ω̇z
√2 Iyy − Izz
l(f1 + f2 − f3 − f4 ) − ωy ωz
2Ixx Ixx
√2 Izz − Ixx
→ ω̇ = I −1 (τ − ω × Iω) = l(−f1 + f2 − f3 + f4 ) − ωx ωz (5.23)
2Iyy Iyy
κ Ixx − Iyy
(f1 − f2 − f3 + f4 ) − ωx ωy
[ Izz Izz ]
And the quadrotor’s Euler angle derivative relation with its angular rate is:
1 sin ϕ tan θ cos ϕ tan θ
ϕ̇ ωx
0 cos ϕ − sin ϕ
θ̇ = [ θ̇ ] = [ ] [ωy ] (5.24)
sin ϕ cos ϕ ωz
ψ̇ 0
cos θ cos θ
ωx 1 0 − sin θ ϕ̇
ω
→ ω = [ y ] = [0 cos ϕ sin ϕ cos θ ] [ θ̇ ] (5.25)
ωz 0 − sin ϕ cos ϕ cos θ ψ̇
a) Control design:
- The input of the system is the stick position of the radio controller, which defined the
pilot’s desired attitude of the quadrotor in Euler’s angle. This desired attitude is then
compared with the estimated attitude obtained from Madgwick’s filter to calculate the
attitude difference. The inner loop controller calculates the attitude loop control output,
which is sent to a mixing algorithm to define PWM value for individual motors.
- The throttle value, which defined the altitude of the quadrotor, is passed through a
low pass filter and then sent to the thrust mixing algorithm to calculate individual motors
output.
- The feedback value of the quadcopter system is the calibrated value of feedback
angular rate from the gyroscope, the acceleration from the accelerometer and the
magnetic strength from the magnetometer on each axis of the quadrotor’s body frame.
These values are passed onto the Madgwick sensor fusion filter to estimate the
quadrotor’s attitude in quaternion, which will be converted back to Euler’s angle to
calculate the error, and the angular rate is also used to calculate error for the controller’s
derivative.
√2 Iyy − Izz
l(f1 + f2 − f3 − f4 ) − ωy ωz
2 Ixx
Ixx ω̇x
√2 Izz − Ixx
[Iyy ω̇y ] = l(−f1 + f2 − f3 + f4 ) − ωx ωz (5.26)
Izz ω̇z 2 Iyy
Ixx − Iyy
κ(f1 − f2 − f3 + f4 ) − ωx ωy
[ Izz ]
The change of angular rate ω̇ is defined to be the control input of the system, thus:
51
√2 Iyy − Izz
l(f1 + f2 − f3 − f4 ) − ωy ωz
2 Ixx
Ixx uϕ
√2 Izz − Ixx
[ Iyy uθ ] = l(−f1 + f2 − f3 + f4 ) − ωx ωz (5.27)
Izz uψ 2 I yy
Ixx − Iyy
κ(f1 − f2 − f3 + f4 ) − ωx ωy
[ Izz ]
where uϕ , uθ , uψ is the control input on the roll, pitch, yaw angle respectively.
PID controllers is used to stabilize the quadrotor, with proportional and integral
components proportional to the error between the commanded attitude and the estimated
attitude and its integral, and the derivative component proportional to the error between
commanded attitude derivative and measured angular rate transformed to attitude
derivative:
mg
= f1 + f2 + f3 + f4 (5.31)
cos θ cos ϕ
Where K D,ϕ , K P,ϕ , K I,ϕ is the derivative, proportional and integral control
coefficient for roll axis, with pitch and yaw axis have their respective control coefficient
̇ is the commanded angular rate around x-axis, and ϕd is the commanded roll
as well. ϕd,x
angle. ϕ̇x is the measured attitude derivative and can be obtained from the measured
reading ωx from gyroscope using the formula (5.24). The commanded angular rate is
calculated as the difference between commanded angle and quadrotor attitude obtained
via estimation:
52
̇ = ϕd − ϕ
ϕd,x (5.32)
̇ = θd − θ
θd,y (5.33)
̇ = ψd − ψ
ψd,z (5.34)
Ixx ((K D,ϕ + K P,ϕ )(ϕd − ϕ) + K I,ϕ ∫(ϕd − ϕ)dt − K D,ϕ ϕ̇x ) = τx (5.35)
Iyy ((K D,θ K θ + K P,θ )(θd − θ) + K I,θ ∫(θd − θ)dt − K D,θ θẏ ) = τy (5.36)
Izz ((K D,ψ K ψ + K P,ψ )(ψd − ψ) + K I,ψ ∫(ψd − ψ)dt − K D,ψ ψ̇z ) = τz (5.37)
mg Izz uψ √2
f1 = + + (I u − Iyy uθ ) (5.38)
4 cos θ cos ϕ 4κ 4l xx ϕ
mg Izz uψ √2
f2 = − + (I u + Iyy uθ ) (5.39)
4 cos θ cos ϕ 4κ 4l xx ϕ
mg Izz uψ √2
f3 = − − (I u + Iyy uθ ) (5.40)
4 cos θ cos ϕ 4κ 4l xx ϕ
mg Izz uψ √2
f4 = + + (I u − Ixx uϕ ) (5.41)
4 cos θ cos ϕ 4κ 4l yy θ
And from there, the commanded value for each motor is derived from (5.20) as
follow:
−b + √b 2 − 4a(c − fi )
ui = (5.42)
2a
With all 4 motord assumed to have the same thrust to input command curve.
b) Control tuning:
53
The value of some of the important physical quantities has been obtained (either as
design value, calculation or from design software such as Solidworks) as follow:
Variables Definition Value
m Quadrotor weight 0,25kg
l Quadrotor wheelbase radius 0,09m
k Ratio between generated thrust and torque of a motor 0,0322
I [Ixx , Iyy , Izz ] Quadrotor principal inertia [2,4 ∗ 10−4 ; 3,6 ∗ 10−4 ; 3,2 ∗ 10−4 ]
Table 6. Value of quadrotor’s dynamics physical quantities
Andrew Gibiansky has presented an automatic tuning method [34] based on gradient
descent to obtain the optimal value of coefficient K P , K I , K D that minimize the cost
function J:
tf
1 2
⃗)=
J(θ ∫ e(t, ⃗θ) dt
t f − t o to
where t o , t f are the start and end time of the tuning period, e(t, ⃗θ) is the angle tracking
⃗ (K P , K I , K D ). This vector can be
error based on time t and the control coefficient vector θ
iteratively improved with gradient descent as follow:
⃗k=θ
θ ⃗ k−1 − λ∇J(θ
⃗)
where λ is the learning step and can be varied to converge quickly or slowly with or
⃗ ) is the gradient of the cost function J and is defined as:
without overshooting. ∇J(θ
∂ ∂ ∂
⃗)=(
∇J(θ ⃗ ),
J(θ ⃗ ),
J(θ ⃗ ))
J(θ
∂K P ∂K I ∂K D
and the partial derivative of vector ⃗θ with respect to any coefficient can be
approximated as:
∂ ⃗ +δ∙u
J(θ ⃗ −δ∙u
⃗ k ) − J(θ ⃗ k)
⃗)=
J(θ
∂K 2δ
Where u
⃗ k is the unit vector in the K direction. This method only guarantees the
resulting coefficient will minimize the cost function to the global minima, therefore the
54
tuning is repeated several times to ensure find the best results. Using this method, the
tuned coefficients are:
K P = −19,5427; K I = 0,2082; K D = 24,8739
The tuning is performed using Matlab, with code modified from the original code
provided by the author [35].
55
CHAPTER 6: CONCLUSION
The capstone project has successfully designed, manufactured a quadrotor that satisfy
all design requirements as presented in Chapter 1. The finished quadrotor has a total weight
of 238g, well within the regulation limits of 250g. The quadrotor frame has a modular
56
design, with each arm can be replaced individually when broken, allowing easy repair and
can be replaced with arms of different configurations if needed.
The project has also presented an attitude control scheme for quadrotor stabilization
using PID controller, as well as Madgwick attitude estimation algorithm that combine both
angular rate and acceleration measurement from IMU to estimate current quadrotor’s pose
without significant drifting.
- The final takeoff weight of the design leaves little margin for more payload carrying
capability without exceeding weight limits. The frame design should be reviewed to
determine frame part that doesn’t contribute to structural strength to further weight loss.
- The quadrotor can’t determine its position, therefore entirely depends on human
operator to keep it within visual range. More sensors such as GNSS chip, barometer…
can be used to help determine quadrotor’s position for position control.
- The chosen electronics are more suitable quadrotor with rapid movement due to its
design for high power output. Electronics components with less power consumption can
be chosen to save weight, provide longer flight time with similar required performance.
Micro quadrotor on the market belongs to the sub-250g category can carry a camera
with gimbal for aerial photography, while simulatenously equipped with navigational
sensors and obstacle avoidance sensors to perform complex autonomous movement and
maintaining safe distance with the environment. The quadrotor design can be better
optimized for weight saving to integrate more functions while still ensuring structural
strength.
The quadrotor, or multicopter in general, mechanical design steps which include sizing
and components selection is similar for drone of all size. Therefore, drone of larger
57
category without weight constraint can be designed to carry more payload and perform
sophisticated tasks, with design steps still similar to micro-sized drone.
58
REFERENCES
[1] Unknown author, “Drone Laws in the USA”, drone-laws, March 30, 2023.
https://drone-laws.com/usa-drone-laws-in-usa/
[2] Brendan Schulman, “Why Did DJI Create a 249-Gram Drone?”, Viewpoints, May
10, 2022. https://viewpoints.dji.com/blog/why-did-dji-create-a-249-gram-drone
[7] Quan Quan, Introduction to Multicopter Design and Control (Springer,2017), 6-11.
[10] Oscar Liang, “A Comprehensive Guide to FPV Drone Frame”, April 29,
2023,https://oscarliang.com/fpv-drone-frames/.
59
[12] Quan Quan, Introduction to Multicopter Design and Control (Springer,2017), 35-
36.
[13] Quan Quan, Introduction to Multicopter Design and Control (Springer,2017), 40-
43.
[14] Quan Quan, Introduction to Multicopter Design and Control (Springer,2017), 37-
39.
[15] Oscar Liang, “Choosing The Best Radio Transmitter for Your FPV Drone: A
Beginner’s Guide”, March 6, 2023, https://oscarliang.com/radio-transmitter/ .
[16] Oscar Liang, “Using LiPo Batteries for FPV Drone: A Beginner’s Guide With
Top Product Recommendations”, January 28, 2023, https://oscarliang.com/lipo-battery-
guide/.
[17] Thomas Christof, “DJI Wi-fi protocol Reverse Engineering” [Master thesis,
Johannes Kepler University Linz], Johannes Kepler University Linz Research Database,
https://epub.jku.at/obvulihs/download/pdf/6966648?originalFilename=true.
[18] “The Difference Between a Drone Flight Controller and Flight Computer”,
Nicholas Rhem, published August 1, 2020, Youtube video, 0:25,
https://www.youtube.com/watch?v=PlKeFj5teo4.
[19] Quan Quan, Introduction to Multicopter Design and Control (Springer,2017), 61-
64.
[20] Quan Quan, Introduction to Multicopter Design and Control (Springer,2017), 75-
82.
[21] Unknown author, “Gemfan D90-3 (3,5”) Cinewhoop Props”, Gemfan, May 5,
2021, https://www.gemfanhobby.com/show.aspx?id=318&cid=71.
60
[22] Unknown author, “Xing2 1404 Toothpick Ultralight Build (unibell)”, iFlight,
2021, https://shop.iflight-rc.com/xing2-1404-toothpick-ultralight-build-unibell-pro1482 .
[23] ] Unknown author, “Mamba F55_128K BL32 4IN1 ESC 55A 6S”, Diatone, 2021,
https://www.diatone.us/products/mb-f55_128k-bl32-esc .
[24] ] Unknown author, “Tattu 850mAh 14,8V 75C 4S1P LiPo battery pack with
XT30 plug”, Tattu, December 15, 2016, https://genstattu.com/tattu-850mah-14-8v-75c-
4s1p-lipo-battery-pack-with-xt30-plug.html .
[27] Unknown author, “T300 Standard Modulus Carbon Fiber”, Toray, April 13, 2018,
https://www.toraycma.com/wp-content/uploads/T300-Technical-Data-Sheet-1.pdf.pdf .
[28] Unknown author, “Happymodel 2,4g ExpressLRS nano series receiver module
PP/ EP1/ EP2 RX”, Happymodel, April 10, 2021, https://www.getfpv.com/happymodel-
expresslrs-nano-2-4ghz-ep2-rx.html.
[29] Bùi Quang Minh, “Quaternion và phép quay không gian”, Minh-cly, January 30,
2014, https://minhcly.wordpress.com/2014/01/30/quarternion-va-phep-quay-khong-gian-
phan-1/.
61
[31] Sebastian O. H. Madgwick, “AHRS algorithm and calibration solutions to
facilitate new applications using low-cost MEMS” [PhD thesis, Johannes Kepler
University Linz], Johannes Kepler University Linz Research Database, 2014,
https://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.681552 .
[32] Mathias Faessler and Flavio Fontana, “Theory and math behind RPG Quadrotor
Control”, University of Zurich, March 1, 2018,
https://rpg.ifi.uzh.ch/docs/PhD18_Faessler.pdf .
[33] Teppo Luukkonen, “Modelling and control of quadcopter”, August 22, 2011,
Aalto University, https://sal.aalto.fi/publications/pdf-files/eluu11_public.pdf.
62
103 ± 0,1
127 ± 0,1
42 ± 0,1
42 ± 0,1
138
1 2 C D
A
C
A B
4 6
7
5 8
D (5:1)
17
C-C (5:1)
12 9
Ø270
13
14 10
11
15
16
Yes No
Has system
Receive stop Estimate roll, pitch, yaw Send command to
initialized
command? with Madgwick filter motor driver
correctly?
No Yes
End
Mechatronics Capstone Project A4 - 11001
Function Name Sign Date
Design Nguyễn Minh Hùng
CONTROL
Instructor Đoàn Thế Thảo FLOWCHART No. 1 Sheet(s): 1
Checked Đoàn Thế Thảo
Ho Chi Minh University of Technology
CC19CDT1
Method Selection
Disadvantages:
Position Pitch rate
Yaw rate
Desired
attitude - Required fast controller to handle
Disadvantages: unlicensed use
tasks on time.
- Block radiowave, require careful - More complex thrust mixing - Susceptible to environment interference
+ Angle - Harder to test and debug.
antenna placement - PD
controller
+- Body rate PID
controller
Thrust
mixing
Quadrotor
system
Disadvantages:
- Require more thrust than X or Plus shape
- Susceptible to excess vibration
Mechatronics Capstone Project A3 - 11001
Conclusion: choose X shape for good Function
Design
Name Sign Date
Nguyễn Minh Hùng 12/04
SELECTION
performance between robustness and balance Instructor Đoàn Thế Thảo METHOD No. 1 Sheet(s): 1
Checked Đoàn Thế Thảo
Ho Chi Minh University of Technology
CC19CDT1