Professional Documents
Culture Documents
Guidance and Control of Unmanned Autonomous Vehicles: Shashi Ranjan Kumar
Guidance and Control of Unmanned Autonomous Vehicles: Shashi Ranjan Kumar
Assistant Professor
Department of Aerospace Engineering
Indian Institute of Technology Bombay
Powai, Mumbai- 400076
https://www.aero.iitb.ac.in/˜shashi
srk@aero.iitb.ac.in
Quadrotor: Euler angles based Approach, Horizontal Position Channel
ëph + Kphd ėph + Kphp eph = 0 =⇒ p̈h = p̈hd − Kphd ėph − Kphp eph
=⇒ Θhd = −g −1 A−1
ψ p̈hd − Kphd ėph − Kphp eph
Θhd = −g −1 A−1
ψ −Kphd ṗh − Kphp (ph − phd )
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 1 / 14
Quadrotor: Euler angles based Approach, Altitude Channel
• Control design?
ëpz + Kpzd ėpz + Kpzp epz = 0 =⇒ p̈z = p̈zd − Kpzd ėpz − Kpzp epz
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 2 / 14
Quadrotor: Euler angles based Approach, Horizontal Position Channel, PID
Θhd = g −1 A−1
R
ψ Kvhp evh + Kvhi evh + Kvhd ėvh
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 3 / 14
Quadrotor: Euler angles based Approach, Horizontal Position Channel, PID
• As a result,
lim ∥eph ∥ = 0
t→∞
p̈hd = ṗhd = 0
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 4 / 14
Quadrotor: Euler angles based Approach, Altitude Channel, PID
f
• As v̇h = g − , we choose PID controller given by
m
Z
fd
g− = −Kvzp evz − Kvzi evz − Kvzd ėvz
m
• With v̇zd = 0, limt→∞ |f (t) − fd (t)| = 0 =⇒ limt→∞ |evz (t)| = 0
• Desired thrust
R
fd = m g + Kvzp evz + Kvzi evz + Kvzd ėvz
• For set-point problem, ṗzd = p̈zd = 0 and the derivative term Kvzd ėvz can
be omitted to reduce the noise in input.
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 5 / 14
Quadrotor: Euler angles based Approach, Horizontal Position Channel
u ∥u∥∞ ≤ a
satgd (u, a) ≜ u
a ∥u∥∞ > a
∥u∥∞
• For PID-based autopilot, evh = satgd (vh − vhd , a1 ) , a1 ∈ R+
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 6 / 14
Quadrotor: Euler angles based Approach, Horizontal Position Channel
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 7 / 14
Quadrotor: Euler angles based Approach, Altitude Channel
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 8 / 14
Quadrotor: Rotation Matrix based Approach
• Recall Ṙ = R[ω]×
• Desired rotation matrix Rd obtained through position control.
• Model for quadrotor
e e e f e
ṗ = v, v̇ = ge3 − Rb e3 , Ṙ = R[ v ω]×
m
• Assume that R = [r1 r2 r3 ] and Rd = [r1,d r2,d r3,d ]
fd
ge3 − r3,d = ad , r3,d = Rd e3
m
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 9 / 14
Quadrotor: Rotation Matrix based Approach
fd m(ge3 − ad )
ge3 − r3,d = ad =⇒ r3,d =
m fd
⊤
• As r3,d r3,d = 1, due to orthogonality R, corrected version is
ge3 − ad
r3,d =
∥ge3 − ad ∥
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 10 / 14
Quadrotor: Rotation Matrix based Approach, Small Angle Case
• Solve for θd , ϕd
• Solutions
a11 cos ψd + a12 sin ψd −(a11 cos ψd + a12 sin ψd )
θd = tan−1 , tan−1
a13 −a13
ϕd = sin−1 (a11 sin ψd − a12 cos ψd ) , π − sin−1 (a11 sin ψd − a12 cos ψd )
• How to select one of these two values of Euler angles?
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 12 / 14
Quadrotor: Rotation Matrix based Approach
⊤ ge3 − ad
fd = mr3,d (ge3 − ad ) , r3,d =
∥ge3 − ad ∥
• For constrained throttle input,
fmin + fmax fmax − fmin fmin + fmax
h i
⊤
fd = satgd mr3,d (ge3 − ad ) − , +
2 2 2
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 13 / 14
References
References
Shashi Ranjan Kumar (IITB) Guidance and Control of Unmanned Autonomous Vehicles Quadrotor Lecture 14 14 / 14