Professional Documents
Culture Documents
Dynamics Applications:
Dynamics of Vehicles
Dynamics Applications: Dynamics of Vehicles
2. Dynamics of a quadcopter
Features, parametrization of the pose, rotor aerodynamics, actuation forces
and torques, inverse dynamics, example: quadcopter on a circular trajectory,
forward dynamics.
1 Dynamics of a vehicle in planar motion
Single-track model
and can be used interchangeably as
the steering variable:
=
tan
, =
sin
=
tan
= = =
2 Dynamics of a vehicle in planar motion
= + = cos + sin
Second-order kinematics:
= =
= + = + = ( + )
= + = + = ( + )
Second-order kinematics:
= + = + = + +
= + = + + + =
= ( + ) +( + )
= + = ( + ) +( + )
2 Dynamics of a vehicle in planar motion
DAlembert equations
Forces acting on the vehicle body in the xy-plane:
tractive force on the rear wheel:
= ,
inertia forces:
= = + +
, =
2 Dynamics of a vehicle in planar motion
Force equilibrium:
+ + + =
sin + =0
+ cos =0 ,
( + )
=
sin
= cos + +
2 Dynamics of a vehicle in planar motion
+ + , =
+ sin + cos =
+ cos =
cos + =0
,
2 Dynamics of a vehicle in planar motion
Substituting for in the moment equilibrium equation yields:
+ cos + + + =0
cos + + =0
( + )
cos = = ( + )
tan
and thus:
+ + + + =0
= + +
2 Dynamics of a vehicle in planar motion
= + +
Since:
= , =
tan sin
1
= , =
one also has
tan tan
= + = + +
cos
2 Dynamics of a vehicle in planar motion
( + ) +
= = = +
sin sin cos sin
= cos + + = +
tan
=0
= , = =0
2 Dynamics of a vehicle in planar motion
Energy equation
Kinetic energy of the vehicle:
= + , =
1 1 1 1 1
= + = + + = ( + ) =
2 2 2 2 2
where
= +
= 2
2 Dynamics of a vehicle in planar motion
The vehicles motion law may be obtained by the energy equation as:
= = =
1 1 = +
= = + = +
2 2
2 Dynamics of a vehicle in planar motion
Motor torque
Tricycle model
The tractive force is distributed on the two traction (rear) wheels:
= + = + =
2 Dynamics of a vehicle in planar motion
If the mass moment of inertia of the wheel about its axis is disregarded,
the moment equilibrium of the jth traction wheel yields ( = , ):
= 0 =
where:
is the motor torque of the jth wheel;
is the tractive force of the jth wheel.
= + = + =
2 Dynamics of a vehicle in planar motion
The contribution of the mass moment of inertia of the wheels can be taken into
consideration, in an approximate way, as:
+4 = +4
[m]
80 kmh
20 120 kmh
80 120 kmh
= +
cos sin
= 12,8 kN
15
= +
tan
= + +
10
0 20 kN
0 5 10 15 20 [m]
2 Dynamics of a vehicle in planar motion
2. The same vehicle of the previous example travels a curve with:
variable steer angle: 0 = = 0, 0 = = 0, = 1.13 s,
= 4.91 sin 4 for 0, 2 , = 4.91 sin 4 for 2 , 0 ;
constant acceleration = 9.82 ms , entering the curve at = 80 kmh and
and exiting it at = 120 kmh, thus travelling a distance = = 31.41 m.
1.0
0.25
0.8
0.20 0.6
[rad/s]
[rad]
0.4
0.15
0.2
0.10 0.0
-0.2
0.05 -0.4
-0.6
0.00
-0.8
[s] -1.0 [s]
-0.05 0 0.2 0.4 0.6 0.8 1 1.2
0 0.2 0.4 0.6 0.8 1 1.2
2 Dynamics of a vehicle in planar motion
[m]
20
trajectory
= + forces
cos sin constant
15
= +
tan
10
= + +
5
0 20 kN
0 5 10 15 20 [m]
2 Dynamics of a vehicle in planar motion
16
[kN] 14
12
10
8
= +
6
=
4 = +
2
-2
[s]
-4
0 0.2 0.4 0.6 0.8 1 1.2
2 Dynamics of a quadcopter
Features
Advantages of multi-rotor aerial
vehicles (MRAV) versus helicopters:
highly maneuverable;
structurally simple, low cost;
improved payload and reliability.
Applications:
rescue, agriculture, delivery;
energy, utilities, mining,
construction;
real estate, news media,
film production.
Mellinger and Kumar, ICRA 2011 video
2 Dynamics of a quadcopter
Quadcopters
Rotors usually come in pairs, i.e. 4, 6, 8; the most common MRAV is the quadcopter.
The axes of all rotors are aligned with a common direction, say .
Collectively, rotors can produce torque along an arbitrary direction, but only force
along the positive direction (thrust force); as a result, the MRAV cannot effectively
decelerate along the positive direction, thus relying on gravity to pull it down.
Position and orientation are coupled and cannot be controlled independently.
The magnitudes of the generated force and torque are controlled by the rotor
speeds, which are limited.
2 Dynamics of a quadcopter
Variable-pitch quadcopters
Unlike helicopters, quadcopters have normally a fixed pitch angle of their blades.
An additional servo motor can be employed to control the blade pitch,
resulting in a variable-pitch MRAV.
Variable-pitch quadcopters have better dynamic performances than their
fixed-pitch counterparts, since now force and torque magnitudes can be controlled
by both the rotor speed and the blade pitch.
Nevertheless, a variable-pitch MRAV still has only 4 controllable d.o.f.
2 Dynamics of a quadcopter
Tilting-rotor quadcopters
Each rotor axis may be tilted by an additional servo motor, thus generating a
thrust force along a controllable direction.
The MRAV has now 8 actuated inputs, which may control all 6 d.o.f. of the vehicle.
Today, the standard quadcopter remains the most popular MRAV.
2 Dynamics of a quadcopter
Parametrization of the pose
Two coordinate systems are established:
an inertial frame ;
a frame attached to the vehicle,
with origin in the center of mass .
Generalized coordinates for the position:
The roll and the pitch angles, and , orient the rotor axes direction (and thus
the thrust force) in space, whereas the yaw angle orient the airframe around .
2 Dynamics of a quadcopter
blade B: Blade B
blade A:
Blade A
2 Dynamics of a quadcopter
, =2 , =
2 Dynamics of a quadcopter
Rotors thrust force and reaction torque:
where:
The quadcopter may generate an actuation moment about any direction in space.
2 Dynamics of a quadcopter
a pure moment :
2 Dynamics of a quadcopter
Dynamic equilibrium equations
Force equilibrium:
Hence:
2 Dynamics of a quadcopter
Inverse dynamics
The force equilibrium allows the computation of the vehicles direction and the
thrust force for a desired trajectory :
Squaring the 2nd and the 3rd equation, and adding up, yields a 4th relationship:
2 Dynamics of a quadcopter
Taking the ratio between the 2nd and the 3rd equation yields:
Taking the ratio between the 1st and the 4th equation provides:
2 Dynamics of a quadcopter
Finally, squaring the 1st and the 4th equation, and adding up, leads to:
2 Dynamics of a quadcopter
Hence, for the assigned trajectory , the thrust force and the roll/pitch angles
may be computed as:
2 Dynamics of a quadcopter
The moment equilibrium allows the computation of the actuation torques for:
a desired trajectory and the corresponding time functions ( ) and ( );
a desired motion for the yaw angle.
2 Dynamics of a quadcopter
2 4
input
intermediate
computation
3
output
2 Dynamics of a quadcopter
Example: quadcopter on a circular trajectory
Horizontal circular trajectory with constantly zero yaw angle:
Start (end)
point
with boundary conditions (the quadcopter motion begins and ends with a halt):
2 Dynamics of a quadcopter
The first four conditions yield , , and :
Thrust force:
Actuation torques:
Forward dynamics
Motion equations must be written in state-form to be numerically solved:
2 Dynamics of a quadcopter
State variables of the quadcopter:
Simulation result:
Prof. Marco Carricato
DIN
marco.carricato@unibo.it
http://grab.diem.unibo.it/
www.unibo.it/docenti/marco.carricato