Modeling and Simulation For Adaptive Control of Quadcopters: Me - 440 Major Project
Modeling and Simulation For Adaptive Control of Quadcopters: Me - 440 Major Project
Modeling and Simulation For Adaptive Control of Quadcopters: Me - 440 Major Project
CONTROL OF QUADCOPTERS
ME 440 MAJOR PROJECT
Abid S 13ME107
Guide : Aravind R Varma 13ME216
Prof. Vijay Desai Arjun R 13ME217
Harikrishnan S 13ME141
1
Contents
1. Introduction
2. Objectives
3. Mathematical model for quadcopter
4. Attitude Controller
5. Position Controller
6. Image processing
7. Simulation and results
8. Further work
9. References
2
RUNNER DESIGN
Intake runner delivers air from the intake
manifold to the cylinder.
4
PRESSURE WAVE TUNING
Basedon using the pressure wave pulses
created by the valve timing
tunedlength is set to coincide with intake
valve opening
The
calculation is from the velocity of an air
wave in a pipe where velocity =distance/time
L = ((ECD 0.25 V 2) (rpm RV)) - D
Where, ECD is the effective cam duration
(portion of cycle)
V = speed of sound @85 F (chosen as the
average measure intake temp)
RV = reflective value (count of each pulse
from one end of pipe and back)
D = runner diameter (in)
5
PRESSURE WAVE TUNING
The runner lengths obtained for the corresponding engine speeds
chosen are tabulated below :
6
PRESSURE WAVE TUNING
It is observed that all the test cases were not peaking at the required
tuned rpm. This led to the discardation of this method.
7
Objectives
8
Mathematical model of a quadcopter
Inertial frame { O } - = [ X Y Z
]T
=[ ]
T
Body frame { B } - V = [ VX VY
VZ ] T
12 States of a quadcopter are defined in a mixed frame
= [ P {QM R
} ]T
{ X Y Z P Q R }
9
Mathematical model - Dynamics
Net external force and T =K i2
moment vectors M = L * ( T4 T 2 )
FB = [ 0 0 T ] T
M = L * ( T3 T1)
MB = [ M M M ] T
M = B (- 12 + 22 32 +
Assumptions
42)
1. Symmetrical structure for quadcopter
11
In Matlab
In Simulink
LEVEL-2 S-
FUNCTION
12
Attitude controller - Architecture
13
Attitude controller Algorithm
Used to stabilize orientation about inertial frame
Pitch
Similarly
Roll
Yaw
Height
14
Attitude controller Rotor speed calculations
Inverti
ng
15
Trajectory controller
The problem of trajectory control
16
Trajectory controller Algorithm 1
P-D controller is proposed for trajectory control
17
Trajectory controller Algorithm 1
Using these control inputs, the thrust as well as the desired values of
and are calculated.
The desired values of and are then fed into the attitude
controller
18
Trajectory Controller Algorithm 1
Controller calculates Xc, Yc and Zc at each point.
19
Trajectory controller Algorithm 2
Error in X and Y is transformed from the fixed to body frame
20
Trajectory controller Algorithm 2
The desired attitudes are passed on to the attitude controller.
22
Image processing Algorithm 2
A new MATLAB function which could detect a desired feature( a
black circle) from an image as landing points
23
Simulation The complete model
24
Simulation Parameters and Values
Quadcopter structure Attitude controller Attitude controll
Parameter Value Unit
g 9.81 m/s2
L 0.2223 m 6 1.5 1.75
6 1.5
m 1.023 kg 6 1.5 1.75
6 1.5
1.4865*10
6 1.5 1.75
6 1.5
K -7
2.9250*10 15 5 10
15 5
B -9
IXX Position controller
0.0095 kg m2
IYY 0.0095 kg m2 KP KD KI
IZZ 0.0186 kg m2 Roll 6 1.75 1.5
3.7882*10
Pitch 6 1.75 1.5
IR -6
kg m2
Yaw 6 1.75 1.5
Height 15 10 5
25
Simulation Input and solver
26
Simulation Results
Trajectory following
( X vs Xd and Y
vs Yd )
27
Simulation Results
Attitude control ( Attitude variables vs time )
28
Further work
Developing a Simulink model for the new image processing Matlab
function
29
References
Luukkonen, Teppo. "Modelling and control of quadcopter."Independent research
project in applied mathematics, Espoo(2011).
Dikmen, I. Can, Aydemir Arisoy, and Hakan Temeltas. "Attitude control of a
quadrotor."Recent Advances in Space Technologies, 2009. RAST'09. 4th
International Conference on. IEEE, 2009.
Mahony, Robert, Vijay Kumar, and Peter Corke. "Multirotor aerial vehicles:
Modeling, estimation, and control of quadrotor."IEEE robotics & automation
magazine19.3 (2012): 20-32.
Hossain, M. Raju, D. Geoff Rideout, and D. Nicholas Krouglicof. "Bond graph
dynamic modeling and stabilization of a quad-rotor helicopter."Proceedings of
the 2010 Spring Simulation Multiconference. Society for Computer Simulation
International, 2010.
Lanzon, Alexander, Alessandro Freddi, and Sauro Longhi. "Flight control of a
quadrotor vehicle subsequent to a rotor failure."Journal of Guidance, Control,
and Dynamics37.2 (2014): 580-591.
Mueller, Mark W., and Raffaello D'Andrea. "Stability and control of a
30
quadrocopter despite the complete loss of one, two, or three propellers."2014
THANK YOU
31