HAL Id: hal-00938173
https://hal-enac.archives-ouvertes.fr/hal-00938173
Submitted on 23 Jun 2014
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
A two level non linear inverse control structure for rotorcraft trajectory tracking
Felix Mora-Camino
To cite this version:
Felix Mora-Camino. A two level non linear inverse control structure for rotorcraft trajectory track- ing. CCC 2007, 26th Chinese Control Conference, Jul 2007, Zhangjiajie, China. pp 321-325,
�10.1109/CHICC.2006.4347095�. �hal-00938173�
Proceedings of the 26thChinese Control Conference July 26-31, 2007, Zhangjiajie, Hunan, China
A Two Level Non Linear Inverse Control Structure for Rotorcraft Trajectory Tracking
Mora-Camino Félix
LARA ENAC, 31055 Toulouse, FranceE-mail: [email protected]
Abstract:The purpose of this communication is to investigate the usefulness of the non linear inverse control approach to solve the trajectory tracking problem for a four rotor aircraft. After introducing simplifying assumptions, the flight dynamics equations for the four rotor aircraft are considered. A trajectory tracking control structure based on a two layer non linear in- verse approach is then proposed. A supervision level is introduced to take into account the actuator limitations.
Key Words:
Rotorcraft flight mechanics, nonlinear inverse control, trajectory tracking.
1 INTRODUCTION
In the last years a large interest has risen for the four rotor concept since it appears to present simultaneously hovering, orientation and trajectory tracking capabilities of interest in many practical applications
[1]. The flight mechanics of rotorcraft are highly non linear and dif- ferent control approaches (integral LQR techniques, integral sliding mode control
[2], reinforcement learn- ing
[3]) have been considered with little success to achieve not only autonomous hovering and orientation, but also trajectory tracking In this paper, after introduc- ing some simplifying assumptions, the flight dynamics equations for a four rotor aircraft with fixed pitch blades are considered.
The purpose of this study is to investigate the usefulness of the non linear inverse control approach to solve the trajectory tracking problem for this class of rotorcraft.
This approach has been already considered in the case of aircraft trajectory tracking by different authors
[4-6]. It appears that the flight dynamics of the considered rotor- craft present a two level input affine structure which is made apparent when a new set of equivalent inputs is defined. This allows to introduce a non linear inverse control approach with two time scales, one devoted to attitude control and one devoted to orientation and tra- jectory tracking.
2 FLIGHT DYNAMICS EQUATIONS OF ROTORCRAFT
The considered system is shown in Fig. 1 where rotors one and three are clockwise while rotors two and four are counter clockwise. Annex 1 describes the rotor dy- namics.
The main simplifying assumptions adopted with respect to flight dynamics in this study are a rigid cross struc- ture, no wind, negligible aerodynamic contributions re- sulting from translational speed, no ground effect as well as negligible air density effects and very small rotor response times. It is then possible to write simplified rotorcraft flight equations
[7].
F
4F
1F
2F
3p
r q
Fig. 1 Four rotor aircraft
The moment equations can be written as:
4 2 2
1 3 4
2 1 4 3
( / ) ( )
( / ) ( )
( / ) ( )
xx yy zz
p a I F F k q r q a I F F k p r
r k I F F F F
= − +
= − +
= − + −
(1) where p, q, r are the components of the body angular velocity, with k I
2(
zz− I
yy) / I
xxand
4
(
xx zz) /
yyk = I − I I , I
xx, I
yyand I
zzbeing the moments of inertia in body-axis and m the total mass of the rotor- craft.
The Euler equations are given by:
tan( ) sin( ) tan( ) cos( ) cos( ) sin( )
((sin( ) / cos( )) (cos( ) / cos( ))
p q r
q r
q r
φ θ φ θ φ
θ φ φ
ψ φ θ φ θ
= + +
= −
= +
(2)
where θ , φ , and ψ are respectively the pitch, bank and heading angles.
The acceleration equations written directly in the local Earth reference system are such as:
(1/ )(cos( ) sin( ) cos( ) sin( ) sin( )) (1/ )(sin( ) sin( ) cos( ) cos( ) sin( ))
(1/ ) cos( ) cos( )
x m F
y m F
z g M F
ψ θ φ ψ φ
ψ θ φ ψ φ
θ φ
= +
= −
= − +
(3) where x, y and z are the centre of gravity coordi- nates
and where :
1 2 3 4
F = + F F + F + F (4)
and with the constraints:
{ }
0
max1, 2, 3, 4
ii
F F i ∈
(5)
3 THE PROPOSED FLIGHT CONTROL APPROACH
Here we are interested in controlling the four rotor aircraft so that its centre of gravity follows a given path with a given heading ψ while attitude angles θ and φ remain small. Many potential applications require not only the centre of gravity of the device to follow a given trajectory but also the aircraft to present a given orienta- tion. From equations (1) it appears that the effectiveness of the rotor actuators is much larger with respect to the roll and pitch axis than with respect to the yaw axis.
Then we consider that attitude control is involved with controlling the θ and φ angles. In equations (1) the effect of rotor forces appears as differences so, we define new attitude inputs u
1and u
2as:
1 1 3
u = − F F u
2= F
2− F
4(6a) In the heading and position dynamics, the effects of ro- tor forces and moments appear as sums, so we define new guidance inputs v
1and v
2as:
1 1 3
v = + F F v
2= F
2+ F
4(6b) It is supposed that u
1and u
2can be made to vary sig- nificantly while v
1and v
2can remain constant.
3.1 Attitude Control Layer
Then the attitude dynamics can be rewritten under the affine input form:
( , ) ( )
X = f X V + g X U (7a) ' ( , )
Y = θ φ (7b)
with
' ( , , , )
X = p q θ φ , U ' = ( , u u
1 2)
and V ' = ( , v v
1 2) (8) Then, considering the non linear inverse control theory, it appears that the attitude angles present relative de- grees equal to one and that there is no internal dynamics while the output equations can be rewritten as:
( ) ( ) ( )
Y = M Y U + N X V + P X (9) with
cos / 0
( ) tan sin / /
yy
yy xx
a I
M Y a I a I
φ θ φ
⎡ ⎤
= ⎢ ⎣ − ⎥ ⎦ (10)
sin / sin /
( ) tan cos / tan cos /
zz zz
zz zz
k I k I
N X k I k I
φ φ
θ φ θ φ
⎡ − ⎤
= ⎢ ⎣ − ⎥ ⎦ (11)
1 2
( ) [ , ]' P X = P P where:
1 4
cos
( sin cos ) ( tan ( sin tan cos ))
P k p r
q r p q r
φ
φ φ θ φ θ φ
=
− + + +
(12a)
2 2 4
tan sin
d(tan sin ) / dt d(tan cos ) / d P k q r k p r
q r t
θ φ
θ φ θ φ
= +
+ + (12b)
It appears that while φ ≠ ± π / 2 , the attitude dynamics given by (9) are invertible. Then it appears feasible to
consider as control objective to get second order linear attitude dynamics towards reference values:
2 2
2 ( )
2 ( )
d c d d c
Y
θ θ θφ φ φ
ζ ω θ ω θ θ θ
ζ ω φ ω φ φ φ
⎡ ⎤
⎡ ⎤ − − −
= = ⎢ ⎥
⎢ ⎥ ⎢ − − − ⎥
⎣ ⎦ ⎣ ⎦
(13) where ζ ζ ω ω
θ,
φ,
θ,
φare respectively damping and natural frequency parameters while θ
cand φ
care ref- erence values for the attitude angles.
Then the corresponding non linear inverse attitude con- trol law is given by:
( ) ( ( )
1( )
d)
U = − M Y
−N X V + P X − Y (14)
3.2 Guidance Control LayerConsidering that the attitude dynamics are stable and faster than the guidance dynamics, the guidance equa- tions can be approximated by the control affine form:
2 1
1 2
1 2
1 2
cos ( )
cos
(1/ )(cos( )sin( ) cos( ) sin( ) sin( )) ( ) (1/ )(sin( )sin( ) cos( ) cos( ) sin( )) ( )
(1/ ) cos( ) cos( ) ( )
c
zz c
c c c
c c c
c c
k v v
x I
m v v
y m v v
z g m v v
ψ φθ
ψ θ φ ψ φ
ψ θ φ ψ φ
θ φ
⎡ −
⎡ ⎤ ⎢
⎢ ⎥ ⎢
⎢ ⎥ ⎢= + +
⎢ ⎥ ⎢ − +
⎢ ⎥⎣ ⎦ ⎣− + +
⎤⎥
⎥⎥
⎢ ⎥⎥
⎢ ⎥⎦
(15) Here also, the outputs of the guidance dynamics present relative degrees equal to 1 while the internal dynamics, which are concerned with the attitude angles , are sup- posed already stabilized. Then, supposing that second order linear dynamics are of interest for the guidance variables, we can define desired accelerations by:
2 2 2 2
2 ( )
2 ( )
2 ( )
2 ( )
c c
c x x x c
c y y y c
c z z z c
x x x x
y y y y
z z z z
ψ ψ ψ
ψ ζ ω ψ ω ψ ψ
ζ ω ω ζ ω ω ζ ω ω
⎡ − − − ⎤
⎡ ⎤ ⎢ ⎥
⎢ ⎥ ⎢ − − − ⎥
⎢ ⎥ = ⎢ ⎥
⎢ ⎥ − − −
⎢ ⎥
⎢ ⎥ ⎢ − − − ⎥
⎣ ⎦ ⎣ ⎦
(16)
where ζ ζ ζ ζ ω ω ω ω
ψ,
x,
y,
z,
ψ,
x,
y,
zare respectively damping and natural frequency parameters while ψ
c, x
c, y
cand z
care reference values for the attitude angles.
Of course, many other schemes can be proposed to de- fine desired accelerations at the guidance level.
Once desired accelerations are made available, the in- version of the guidance dynamics brings nominal the solution:
2 2 2
1
1 cos
( )
2 cos
zz c
c c c c
c
v m x y z g I
k θ ψ φ
⎛ ⎞
= ⎜ + + + − ⎟
⎝
⎠ (17a)
2 2 2
2
1 cos
( )
2 cos
zz c
c c c c
c
v m x y z g I
k θ ψ φ
⎛ ⎞
= ⎜ + + + + ⎟
⎝
⎠ (17b)
with
arctan(( cos sin ) /( ))
c
x
cy
cz
cg
θ = ψ + ψ + (18a)
and
2 2 2
sin cos
arcsin(
( )
c d
c
d d d
x y
x y z g
ψ ψ
φ = −
+ + +
(18b)
Fig. 2 Proposed control structure
Then, returning to the expression of the attitude control law , it happens that the centre of gravity acceleration terms compensate each others and the law becomes:
( ) ( ( )
1( )
d)
U = − M Y
−N X + P X − Y (19) with
1 2
cos sin ( ) cos
cos cos sin cos cos
c c
c c
c
N X N N
θ φ
φ ψ
θ φ
θ θ φ
⎡ − ⎤
⎢ ⎥
⎡ ⎤ ⎢ ⎥
= ⎢ ⎥ ⎢ ⎣ ⎦ = ⎢ ⎥ ⎥
⎣ ⎦
(20)
The whole proposed control structure is given in Fig. 2.
4 FLIGHT CONTROL SUPERVISION
Since the above control approach does not consider ex- plicitly the input level constraints, we introduce here a supervision layer whose function is to avoid the genera- tion of unfeasible reference values for the inputs by modifying, as less as possible, the current control objec- tives. According to (5), (6) and (7), the control signals should be such as:
max i max
, 1, 2
F u F i
− = (21a)
and
0 v
i2 F
max, i = 1, 2 (21b) Conditions (21a) implies for the desired attitude accel- erations to satisfy the following conditions:
min c max
φ
φ
φ
(22a)
with
min 2 2 max
cos
yy
N P a F
I
φ = + − φ (22b)
and
max 2 2 max
cos
yy
N P a F
I
φ = + + φ (22c)
and condition:
min c
tan
c maxθ θ − θ φ θ (23a)
with
min
a F
max/ I
xx( N
1P
1) tan ( N
2P
2)
θ = − + + − θ + (23b)
and
max
a F
max/ I
xx( N
1P
1) tan ( N
2P
2)
θ = + + − θ + (23c)
Then, reference values for instant attitude angles accel- erations can be obtained from the solution of the fol- lowing linear –quadratic optimization problem:
2 2
min ( ) ( )
r c c
α β
θ α − + φ − β (24a)
with
min max
φ
β φ
(24b)
min
tan
maxθ α − θ β θ (24c)
Observe that the solution of this problem is equal to ( θ φ
c,
c) if it is feasible with respect to constraints (24b) and (24c), otherwise the solution will be on the border of the convex feasible set.
Then if α
*and β
*are solution of this problem, u
1and u
2are given by:
*
1 1
* 2
( ) ( ( ) ( ) )
u M Y N X V P X
u
α β
−
⎡ ⎤
⎡ ⎤ = − + − ⎢ ⎥
⎢ ⎥ ⎣ ⎦ ⎣ ⎦ (25)
In the case of v
1and v
2(relations (21b)) and considering the expressions of θ
cand φ
cthe above approach leads to the consideration of an intricate non convex optimiza- tion problem. A different approach is proposed here. Let λ be such as:
, , ( )
r c r c r c
x = λ x y = λ y z + = g λ z + g
(26) then according to (18a) and (18b):
r c
θ θ = and φ φ
r=
c(27) Feasible reference values for x
r, y
r, z
rand ψ
rcan be obtained from the solution of the following linear –quadratic optimization problem:
2 2 2
min (
,1) (
c)
λ μ
λ − + η μ ψ − (28a) with
2 2 2
max
0 ( ( ) ) cos 4
cos
zz c
c c c
c
m x y z g I F
k
λ θ μ
φ
⎛ ⎞
+ + + − ⎜ ⎟
⎝ ⎠
(28b)
2 2 2
max
0 ( ( ) ) cos 4
cos
zz c
c c c
c
m x y z g I F
k
λ θ μ
φ
⎛ ⎞
+ + + + ⎜ ⎟
⎝ ⎠
(28c)
where η is here a time constant. Let λ
*and μ
*be the solution of the above problem, then the control
inputs can be taken as:
* 2 2 2 * 1
cos
1 ( )
2 cos
zz c
c c c
c
v m x y z g I
k
λ θ μ
φ
⎛ ⎞
= ⎜ + + + − ⎟
⎝
⎠
(29a)
* 2 2 2 *
2
cos
1 ( )
2 cos
zz c
c c c
c
v m x y z g I
k
λ θ μ
φ
⎛ ⎞
= ⎜ + + + + ⎟
⎝
⎠
(29b) Then:
1
(
1 1) / 2
F = u + v F
2= ( u
2+ v
2) / 2 (30a)
3
(
1 1) / 2
F = v − u F
4= ( v
2− u
2) / 2 (30b)
5 CASE STUDIES
Here we consider two cases:
One where the objective is to hover at an initial position of coordinates x
0, y
0, z
0while acquiring a new orienta- tion ψ
1, and
One where the rotorcraft is tracking the helicoïdal tra- jectory of equations:
( ) cos x t
c= ρ ν t
( ) sin y t
c= ρ ν t
z
c= + δ γ t ( ) π / 2
c
t t
ψ = ν +
(31)
where ρ is a constant radius and γ is a constant path angle.
5.1 Heading Control at Hover
In this case we get the guidance control laws:
1
1 ( )
2
zz c
v m g I k ψ
= −
2
1 ( )
2
zz c
v m g I k ψ
= +
(32)
with the following reference values for the attitude an- gles:
c
0
θ = and φ
c= 0 (33) Here the heading acceleration is given by:
2
2 (
1)
c ψ ψ
r
ψψ = − ζ ω − ω ψ ψ − (34) Starting from an horizontal attitude (
θ(0)=0, φ (0)=0), attitude inputs u
1and u
2given by relation (14) remain equal to zero. Then, Fig. 3 and 4 display some simula- tion results:
0 0 . 5 1 1 . 5 2 2 . 5 3 3 . 5 4 4 . 5 5
0 5 1 0 1 5
Fig. 3 Hover control inputs
0 0 . 5 1 1 . 5 2 2 . 5 3 3 . 5 4 4 . 5 5
0 0 . 2 0 . 4 0 . 6 0 . 8 1 1 . 2 1 . 4 1 . 6
Fig. 4 Heading response during hover
5.2 Trajectory Tracking Case
In this case we get the guidance control laws:
2 2 2
1 2
1 ( )
v = = v 2 m ρ ν + g (35) Here the permanent reference values for the attitude an- gles are such as:
c
0
θ = (36a)
and
2
2 4 2
sin
cg φ ρ ν
= − ρ ν
+ (36b)
and the desired guidance and orientation accelerations are given by:
2 2
cos( ) sin( )
0, 0
c c
c c
x t
y t
z
ρ ν ν ρν ν
ψ
= −
= −
= =
(37) Attitude inputs are given by relation (14) where now:
0 /( cos )
1
1/( ) tan tan /( )
yy
xx xx
I a
M a I a I
φ θ φ
⎡ ⎤
− = ⎢ ⎣ − ⎥ ⎦ (38)
and N X ( ) ' = [ 0 0 ] (39)
In Fig. 5 7 simulation results are displayed where at initial time the rotorcraft is hovering:
- 2 . 5 -2 - 1 . 5 - 1 - 0 . 5 0 0 . 5 1 1 . 5 2 2 . 5
- 2 . 5 - 2 - 1 . 5 - 1 - 0 . 5 0 0 . 5 1 1 . 5 2 2 . 5
Fig. 5 Evolution of rotorcraft horizontal track
0 0 .5 1 1 . 5 2 2 . 5 3 3 . 5 4 4 .5 5
0 0 . 0 2 0 . 0 4 0 . 0 6 0 . 0 8 0 . 1 0 . 1 2 0 . 1 4
Fig. 6 Evolution of rotorcraft altitude F1,F3
F2,F4
time
time ψ-ψc
time x(t) y(t)
z(t)
0 0 . 5 1 1 . 5 2 2 . 5 3 3 . 5 4 4 .5 5 0
2 4 6 8 1 0 1 2 1 4
Fig. 7 Rotorcraft trajectory tracking inputs
6 CONCLUSIONS
In this communication the theoretical applicability of the non linear inverse control technique to rotorcraft trajec- tory tracking has been investigated. It appears that this approach leads to the design of a two level control structure based on analytical laws. Considering the structure of the rotorcraft flight dynamics, other prom- ising non linear control techniques are differential flat control
[8]and back stepping control
[9].
When considering the complexity of these non linear control laws involving a relatively small number of in- puts, neural networks components could be of interest for their effective implementation.
However, the robustness of these control laws with re- spect to the different aerodynamic effects which have been taken as negligible should be investigated. Since only very intricate theories are available to approach this problem, real flight tests appear, at this stage, to be un-
avoidable.
REFERENCES
[1] Hoffmann G, Rajnarayan D G, Waslander S L, Dostal D, Jang J S, Tomlin, C J. The Standford Tetsbed of Autono- mous Rotorcraft for Multi-Agent Control// 23rdDigital Avi- onics Systems Conference. Salt Lake City, UT, November 2004.
[2] Hassan K Khalil, Nonlinear Systems. 3rd Ed. Prentice Hall, 2002.
[3] Sutton R S, Barto A G. Reinforcement learning: an in- troduction. MA: Cambridge MIT Press, 1998.
[4] Singh S N, Schy A A. Nonlinear decoupled control synthesis for manoeuvring aircraft // Proceedings of the 1978 IEEE conference on Decision and Control, Piscataway, NJ, 1978.
[5] Ghosh R, TomlinC J. Nonlinear Inverse Dynamic Control for Model-based Flight.Proceeding of AIAA, 2000.
[6] Asep R, Shen T J, Achaíbou K, Mora-Camino F. An appli- cation of the nonlinear inverse technique to flight-path su- pervision and control// Proceedings of the 9th International Conference of Systems Engineering, Las Vegas,NV, 1993.
[7] Etkin B, Reid L R. Dynamics of Flight-Stability and Control.
New York NY: John Wiley & Sons, 1996.
[8] Lu W C, Mora-Camino F, Achaibou K. Flight Me- chanics and Differential Flatness// Dincon 04, Pro- ceedings of Dynamics and Control Conference. Ilha Solteira, Brazil, 2004: 830-839.
[9] Miquel T. Contribution à la synthèse de lois de guidage relatif, approche non linéaire[D]. Toulouse : Université Paul Sabatier, 2004
.F2,F4
F3
time F1