Project Description V1
Project Description V1
Guillaume Mercère
Email : [email protected]
1 Motivations 1
1 Motivations
The goal of this project is to test different state space based solutions for the lateral dy-
namics control of standard motor vehicles. Controlling the lateral vehicle motion is indeed
the keystone of recent smart software solutions when lane departure warning systems, lane
keeping systems or yaw stability control systems come into play [2]. Lane departures are
indeed “the number one cause of fatal accidents in the United States, and account for more
than 39% of crash-related fatalities” [4]. Developing effective and reliable feedback based
solutions for lane departure control is thus of prime interest for car manufacturers when
new smart and safe transportation answers are required by car users as well as decision
makers.
Before developing innovative information and communication technology tools for such
an objective, it is essential for you to understand how current controller based solutions
work at least in simulation, i.e., under ideal conditions. Off the shelf algorithms used for
trajectory control, braking assistance or avoidance maneuvers are all based on the use of
• specific state space representations for describing the vehicle motion,
• observers which enable to estimate non measurable vehicle dynamical states as well
as tire efforts and, by extension, tire/road friction coefficients online,
• dedicated state or output feedback ideas when the former two steps have been carried
out efficiently.
Implementing the state and output feedback solutions introduced in your lecture entitled
Linear State Space Modeling and Control for lateral dynamics control of passenger
cars seems thus somehow commonsensical.
ψ
X
αf
fr vy v ff
β δ
αr CoG vx
ℓr ℓf
where Iz is the yaw moment of inertia of the vehicle. As far as the slip angles are concerned,
standard trigonometric formulas lead to
vy (t)
tan(β(t)) = , (5)
vx (t)
!
vy (t) + ℓf ψ̇(t)
αf (t) = δ(t) − arctan , (6)
vx (t)
!
ℓr ψ̇(t) − vy (t)
αr (t) = arctan . (7)
vx (t)
Figure 2: Lateral tire forces fi vs. slip angles αi for different loads.
The last step of this analysis consists in modeling the lateral tire forces ff and fr which
act on the vehicle. As explained, e.g., in [3], many tire models have been introduced in the
literature. Most of them try to describe the link between the lateral tire forces fi and the
slip angles αi , i ∈ {f, r}, via curve fitting techniques, i.e., by suggesting physical models
or black box equations mimicking experimental data sets as those available in Figure 2-lhs.
As shown in Figure 2-rhs, fr (resp. ff ) can be approximated by a linear function of the
slip angle αr (resp. αf ) for small angle values. Thus, in this project, we could thus assume
that, for small slip angle values,
f f = c yf α f , (8)
f r = c yr α r , (9)
where cyi stands for the cornering stiffness, i ∈ {f, r}. These lateral force models are easy
to use, should match with real measurements when small angle values are considered but
are, by construction, static only. In order to take into account the fact that tire forces
are not developed instantaneously at maneuvering actions, but require a certain rolling
distance of the tire to build up due to the flexible structure of a tire, models involving
transient tire behaviors should be introduced, at least when moderate or fast vehicle speeds
4 3 Problem formulation and list of specifications
In this project, the main goal is to control the yaw velocity ψ̇(t) with a state and/or
output feedback controller based approach. In order to reach this goal, it is essential
• to determine a reliable state space representation of the vehicle dynamics,
• to introduce a list of specifications for yaw velocity control,
• to determine to controller gains and/or observer gains tuned to satisfy the aforemen-
tioned list of specifications.
These solutions can be tested by using dedicated software like MATLAB or OCTAVE.
Question 1: By using the bicycle model, i.e., the equations gathered in the former
section, and by assuming that the angles β, δ, αr and αf are small, determine the linear
4 Modeling, state and output feedback 5
time invariant state space representation describing the dynamical behavior of a passenger
car when the state vector is selected as follows
β(t)
ψ̇(t)
x(t) = ff (t) ,
(13)
fr (t)
the output of the model is chosen equal to the yaw velocity ψ̇(t) while the input sig-
nal is δ(t). More specifically, show that the following linear time invariant state space
representation
with
1 1
0 −1 mvx mvx
ℓf
0 0 − Iℓzz
r
Izz
A= −cy vx ℓ , (15a)
f σα
−cyf σαf − σvαx 0
f f f
−cyr σvαx cyr σℓαr 0 − σvαx
r r r
0
0
B = vx cyf , (15b)
nσαf
0
C= 0 1 0 0 , (15c)
can be generated from the equations gathered in the former Section. Notice the presence
of a parameter n in B standing for a reduction ratio due to the direction gear.
Once a model of the system to control is available and reliable, the next step of the
project consists in controlling the yaw velocity by assuming first that
• the state variables are measurable,
• the desired yaw rate ψ̇des (t) is constant and determined by road curvature and vehicle
speed.
More specifically, we assume that
vx
ψ̇des = , (17)
R
where R stands for the curve radius.
• observe the steering angle and place the closed loop eigenvalues so that the steering
angle is kept small enough (lower than or equal to 1 rad) to guarantee that the
approximations made to generate a linear time invariant state space representation
of the vehicle dynamics are still valid,
• plot the time evolution of the output y and compare it with the desired yaw rate.
As far as the numerical values are concerned, we assume that vx = 10 m/s while R =
50 m. The desired yaw rate shape should be zero during 20 s then vRx for the rest of the
simulation.
Question 4: Test the efficiency of the tracking controller gain solution by assuming, e.g.,
that the real car speed is not 10 m/s but 10.1 m/s. Explain the reason why the tracking
control gain solution is not efficient for this specific case.
In order to solve the problem encountered with the tracking controller gain solution,
introducing a integral action into the controller law is suggested. More specifically, the
new control law structure is selected as follows
Z
u(t) = −Kx(t) − ki (r(t) − y(t))dt. (18)
gain ki ∈ R, respectively, which guarantee a good tracking of the desired yaw rate ψ̇des (t).
Test the performance of this controller by considering the former list of specifications.
The former solutions all assume the availability of the state variables. On most of the
standard passenger cars, this assumption is not satisfied because sensors to measure all the
components of x are not available in practice. It is thus necessary to resort to an observer
in order to reconstruct the unknown state variable dynamics from available measurements.
The last step of the procedure consists in combining the state observer designed pre-
viously with the state feedback controller used in Question 5.
Question 7: After explaining with your own words the principle of the output feedback
control, generate a file called LatDynOutputFeedback.m which implements this output
feedback control for tracking the desired yaw velocity when the state variables are not
measured but reconstructed with an observer.
References
[1] M. Doumiati, A. Charara, A. Victorino, and D. Lechner. Vehicle dynamics estimation
using Kalman Filtering. Wiley, 2013.