Abstract
This chapter presents the modeling of a quad-rotor UAV. A general overview of the quad-rotor helicopter and its operation principle is given. Next, the quad-rotor modeling is addressed using two different approaches: Euler–Lagrange and Newton–Euler. How to derive Lagrange’s equations from Newton’s equations is also shown. Finally, the author presents also the Newton–Euler modeling for an “X-Flyer” quad-rotor configuration.
Access provided by Autonomous University of Puebla. Download chapter PDF
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
The complete dynamics of an aircraft, taking into account aero-elastic effects, flexibility of the wings, internal dynamics of the engine and the whole set of changing variables are quite complex and somewhat unmanageable for the purposes of control. Therefore, it is interesting to consider a simplified model of an aircraft formed by a minimum number of states and inputs, but retaining the main features that must be considered when designing control laws for a real aircraft.
This chapter deals with the modeling of a quad-rotor rotorcraft, and is organized as follows. Section 2.1 gives a general overview of the quad-rotor aerial vehicle and its operation principle. Next, Sect. 2.2 deals with the quad-rotor modeling, presenting two different approaches: Euler–Lagrange in Sect. 2.2.1 and Newton–Euler in Sect. 2.2.2. Subsequently, it is shown in Sect. 2.2.3 how to derive Lagrange’s equations from Newton’s equations. Section 2.2.4 presents a Newton–Euler modeling for an “X-Flyer” quad-rotor configuration. Finally, some concluding remarks are presented in Sect. 2.3.
2.1 The Quad-Rotor Mini-Rotorcraft
The quad-rotor mini-rotorcraft is controlled by the angular speeds of four electric motors as shown in Fig. 2.1. Each motor produces a thrust and a torque, whose combination generates the main thrust, the yaw torque, the pitch torque, and the roll torque acting on the quad-rotor. Conventional helicopters modify the lift force by varying the collective pitch. Such aerial vehicles use a mechanical device known as swashplate. This system interconnects servomechanisms and blade pitch links in order to change the rotor blades pitch angle in a cyclic manner, so as to obtain the pitch and roll control torques of the vehicle. In contrast, the quad-rotor does not have a swashplate and has constant pitch blades. Therefore, in a quad-rotor we can only vary the angular speed of each one of the four rotors to obtain the pitch and roll control torques.
From Fig. 2.1 it can be observed that the motor M i (for i=1,…,4) produces the force f i , which is proportional to the square of the angular speed, that is, \(f_{i} = kw_{i}^{2}\). Given that the quad-rotor’s motors can only turn in a fixed direction, the produced force f i is always positive. The front (M 1) and the rear (M 3) motors rotate counter-clockwise, while the left (M 2) and right (M 4) motors rotate clockwise. With this arrangement, gyroscopic effects and aerodynamic torques tend to cancel in trimmed flight. The main thrust u is the sum of individual thrusts of each motor. The pitch torque is a function of the difference f 1−f 3, the roll torque is a function of f 2−f 4, and the yaw torque is the sum \(\tau_{M_{1}} + \tau_{M_{2}} + \tau_{M_{3}} + \tau_{M_{4}}\), where \(\tau_{M_{i}}\) is the reaction torque of motor i due to shaft acceleration and blades drag. The motor torque is opposed by an aerodynamic drag τ drag, such that
where I rot is the moment of inertia of a rotor around its axis. The aerodynamic drag is defined as
where ρ is the air density, the frontal area of the moving shape is defined by A, and v is its velocity relative to the air. In magnitude, the angular velocity ω is equal to the linear velocity v divided by the radius of rotation r
The aerodynamic drag can be rewritten as
where k drag>0 is a constant depending on the air density, the radius, the shape of the blade and other factors. For quasi-stationary maneuvers, ω is constant, then
Forward pitch motion is obtained by increasing the speed of the rear motor M 3 while reducing the speed of the front motor M 1. Similarly, roll motion is obtained using the left and right motors. Yaw motion is obtained by increasing the torque of the front and rear motors (τ M1 and τ M3, respectively) while decreasing the torque of the lateral motors (τ M2 and τ M4, respectively). Such motions can be accomplished while maintaining the total thrust constant, see Fig. 2.2.
2.2 Quad-Rotor Dynamical Model
The quad-rotor model is obtained by representing the aircraft as a solid body evolving in a three dimensional space and subject to the main thrust and three torques: pitch, roll and yaw.
2.2.1 Euler–Lagrange Approach
Let the generalized coordinates of the rotorcraft be expressed by
where ξ=(x,y,z)∈ℝ3 denotes the position vector of the center of mass of the quad-rotor relative to a fixed inertial frame . The rotorcraft’s Euler angles (the orientation of the rotorcraft) are expressed by η=(ψ,θ,ϕ)∈ℝ3, ψ is the yaw angle around the z-axis, θ is the pitch angle around the y-axis and ϕ is the roll angle around the x-axis (see [33] and [5]). An illustration of the generalized coordinates of the rotorcraft is shown in Fig. 2.3. Define the Lagrangian
where is the translational kinetic energy, is the rotational kinetic energy, U=mgz is the potential energy of the rotorcraft, z is the rotorcraft altitude, m denotes the mass of the quad-rotor, Ω is the vector of the angular velocity, I is the inertia matrix and g is the acceleration due to gravity. The angular velocity vector ω resolved in the body-fixed frame is related to the generalized velocities (in the region where the Euler angles are valid) by means of the standard kinematic relationship [38]
where
then
Define
where
so that
Thus, the matrix acts as the inertia matrix for the full rotational kinetic energy of the quad-rotor, expressed directly in terms of the generalized coordinates η.
The model of the full rotorcraft dynamics is obtained from Euler–Lagrange equations with external generalized forces
where \(\mathbf{F}_{\xi} = R\hat{\mathbf{F}} \in \mathbb{R}^{3}\) is the translational force applied to the rotorcraft due to main thrust, τ∈ℝ3 represents the yaw, pitch and roll moments and R denotes the rotational matrix. R(ψ,θ,ϕ)∈SO(3) represents the orientation of the aircraft relative to a fixed inertial frame:
where c θ stands for cosθ and s θ for sinθ. From Fig. 2.1, it follows that
where u is the main thrust directed out of the bottom of the aircraft and expressed as
and, for i=1,…,4, f i is the force produced by motor M i , as shown in Fig. 2.1. Typically \(f_{i} = k \omega_{i}^{2}\), where k i is a constant and ω i is the angular speed of the ith motor. The generalized torques are thus
where ℓ is the distance between the motors and the center of gravity, and \(\tau_{M_{i}}\) is the moment produced by motor M i , for i=1,…,4, around the center of gravity of the aircraft.
Since the Lagrangian contains no cross terms in the kinematic energy combining with , the Euler–Lagrange equation can be partitioned into dynamics for ξ coordinates and η coordinates. The Euler–Lagrange equation for the translational motion is
then
As for the η coordinates, it can be written
or
Thus one obtains
Defining the Coriolis-centripetal vector
one writes
but can be expressed as
where is referred to as the Coriolis term and contains the gyroscopic and centrifugal terms associated with the η dependence of \(\mathbb{J}\). This yields
To simplify let us take
Finally one obtains
where x and y are coordinates in the horizontal plane, z is the vertical position, and \(\tilde{\tau}_{\psi}\), \(\tilde{\tau}_{\theta}\) and \(\tilde{\tau}_{\phi}\) are the yawing moment, pitching moment and rolling moment, respectively, which are related to the generalized torques τ ψ , τ θ , τ ϕ .
2.2.2 Newton–Euler Approach
The general motion of a rigid body in space is a combination of translational and rotational motions. Consider a rigid body moving in inertial space, undergoing both rotations and translations. Let us define now an earth fixed frame and a body-fixed frame , as seen in Fig. 2.4. The center of mass and the body-fixed frame are assumed to coincide. Using Euler angles parametrization, the airframe orientation in space is given by a rotation R from to , where R∈SO(3) is the rotation matrix. Using the Newton–Euler formalism, the dynamics of a rigid body under external forces applied to the center of mass and expressed on earth fixed frame is
where ξ=(x,y,z)T denotes the position of the center of mass of the airframe with respect to the frame relative to a fixed origin, denotes the linear velocity expressed in the inertial frame, and denotes the angular velocity of the airframe expressed in the body-fixed frame. The mass of the rigid body is denoted by m, and I∈ℝ3×3 denotes the constant inertia matrix around the center of mass (expressed in the body-fixed frame ). denotes the skew-symmetric matrix of the vector ω. represents the vector of the principal non-conservative forces applied to the object; including thrusts T f and drag terms associated with the rotors. is derived from differential thrust associated with pairs of rotors along with aerodynamics effects and gyroscopic effects.
Translational Force and Gravitational Force
The only forces acting on the body are given by the translational force T f and the gravitational force g. From Fig. 2.4, the thrust applied to the vehicle is
where the lift f i generated by a rotor in free air can be modeled as \(f_{i} k \omega_{i}^{2}\) in the z-direction, where k>0 is a constant and ω i is the angular speed of the ith motor. Equation (2.37) can be rewritten as
Then
The gravitational force applied to the vehicle is
This yields
Torques
Due to the rigid rotor constraint, the dynamics of each rotor disc around its axis of rotation can be treated as a decoupled system in the generalized variable ω i , denoting angular velocity or a rotor around its axis. The torque exerted by each electrical motor is denoted by \(\tau_{M_{i}}\). The motor’s torque is opposed by an aerodynamic drag \(\tau_{\mathrm{drag}} = k_{\tau} \omega_{i}^{2}\). Using Newton’s second law one has
where I M is the angular moment of the ith motor and k τ >0 is a constant for quasi-stationary maneuvers in free flight. In steady state, i.e., when \(\dot{\omega}_{i} = 0\), the yaw torque is
The generalized torques are thus
where ℓ represents the distance between the motors and the center of gravity. Rewriting (2.44) one has
where τ ψ , τ θ and τ ϕ are the generalized torques (yawing moment, pitching moment and rolling moment, respectively). Each rotor may be thought of as a rigid disc rotating around the axis E z in the body-fixed frame, with angular velocity ω i . The rotor’s axis of rotation is itself moving with the angular velocity of the frame. This leads to the following gyroscopic torques applied to the airframe:
This yields
Rewriting (2.36), one has
2.2.3 Newton’s Equations to Lagrange’s Equations
Using the classical yaw, pitch and roll Euler angles (ψ,θ,ϕ) applied in aeronautical applications [5, 33], the rotation matrix can be expressed as
The equations in (2.50) can be separated into the ξ coordinates dynamics and the η dynamics. Rewriting the ξ dynamics one has
where
From Figs. 2.3 and 2.4 one has u=T f , this yields
From Newton–Euler formalism, one obtains in (2.53)–(2.55) the same equations as obtained in (2.30)–(2.32).
2.2.4 Newton–Euler Approach for an X-type Quad-Rotor
The quad-rotor model presented in Sects. 2.2.1 and 2.2.2 considers front and rear motors aligned with the longitudinal axis, and left and right motors aligned with the lateral axis. This section introduces an “X-type” quad-rotor flying configuration, considering two frontal motors and two rear motors. The quad-rotor dynamical model equations are based on Newton–Euler formalism, where the nonlinear dynamics is obtained in North-East-Down (NED) inertial and body-fixed coordinates, see Fig. 2.5. Let {N,E,D} represent the inertial reference frame and {X,Y,Z} represent the body-fixed frame. The position vector of the center of mass of the rotorcraft is denoted by ξ=(x,y,z)T, representing the position coordinates of the vehicle relative to the NED inertial frame. The orientation vector of the aircraft with respect to the inertial frame is expressed by η=(ψ,θ,ϕ)T, where ψ, θ and ϕ are the yaw, pitch and roll Euler angles, respectively. The full nonlinear dynamics of the quad-rotor can be expressed as
where R∈SO(3) is a rotation matrix that associates the inertial frame with the body-fixed frame, F denotes the total force applied to the vehicle, m is the total mass, g denotes the gravitational constant, Ω represents the angular velocity of the vehicle expressed in the body-fixed frame, I describes the inertia matrix, and τ is the total torque.
Let \(u=\sum_{i=1}^{4}T_{i}\) be the force applied to the vehicle, which is generated by the four rotors. Assuming that this force has only one component in the Z direction, the total force can be written as F=(0,0,−u)T. The rotation matrix R is defined as
where c .=cos(.) and s .=sin(.). Let us define now an auxiliary vector \(\tilde{\tau}\) related to the generalized torque τ and based on (2.57):
where and W is [38]:
Using (2.56)–(2.59), the quad-rotor dynamical model can be represented by
In the “X-type” quad-rotor model, the motors M 1 and M 3 rotate clockwise, while motors M 2 and M 4 rotate counter-clockwise. Assuming that total thrust approximately counteracts gravity, i.e., the quad-rotor is in hover or near-hover flight conditions, we can consider that each thrust can be modeled as \(\tau_{i}=Cw_{i}^{2}\), where C is a constant value depending on the rotor characteristics and w i denotes the speed of the rotor i [6]. For simplicity, it is also assumed that the torque τ i generated by each rotor is proportional to its lift force, then τ i =C M T i . Taking into account the previous assumptions, we can obtain the generalized torques as
where l represents the distance between the center of mass and the center of the rotor.
2.3 Concluding Remarks
In this chapter Euler–Lagrange and Newton–Euler approaches have been applied for obtaining a simplified model of a quad-rotor rotorcraft. The model is formed by a minimum number of states and inputs, but retains the main features that must be considered when designing control laws. Two quad-rotor configurations were analyzed. The first configuration addressed a classical motor arrangement having one pair of motors aligned with the longitudinal axis while the other pair is aligned with the translational axis. The second configuration addressed an “X-Flyer” motor arrangement, having two frontal motors and two rear motors.
The models obtained here will be used in later sections for designing control laws devoted to attitude stabilization and autonomous positioning.
References
Alderete, T.S.: Simulator aero model implementation. NASA Ames Research Center, Moffett Field, California (1995)
Altuğ, E., Ostrowski, J.P., Taylor, C.J.: Control of a quadrotor helicopter using dual camera visual feedback. Int. J. Robot. Res. 24(5), 329–341 (2005)
Etkin, B., Reid, L.D.: Dynamics of Flight. Wiley, New York (1959)
Goldstein, H.: Classical Mechanics. Addison Wesley, Reading (1980)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag London
About this chapter
Cite this chapter
García Carrillo, L.R., Dzul López, A.E., Lozano, R., Pégard, C. (2013). Modeling the Quad-Rotor Mini-Rotorcraft. In: Quad Rotorcraft Control. Advances in Industrial Control. Springer, London. https://doi.org/10.1007/978-1-4471-4399-4_2
Download citation
DOI: https://doi.org/10.1007/978-1-4471-4399-4_2
Publisher Name: Springer, London
Print ISBN: 978-1-4471-4398-7
Online ISBN: 978-1-4471-4399-4
eBook Packages: EngineeringEngineering (R0)