Simple Car Dynamics
Simple Car Dynamics
Simple Car Dynamics
Claude Lacoursi`ere
HPC2N/VRlab, Ume
a Universitet, Sweden,
and CMLabs Simulations, Montreal, Canada
May 18, 2005
Outline
Basic definition
Ground vehicles consist of:
Ground vehicle dynamics addresses all these issues by providing models for each of
the components.
Track vehicles will not be considered in this (short) lecture.
From now on, ground vehicle = car.
Driving conditions
Nr
Nf
Fw
Fr
Nr
Nf
Fr
Ff
W
Fw
Ff
v2
r2
v1
F2
F1
r1
2
1
Essential relationships:
Linear velocity v = /r
Centripetal force F = mv 2/r , without this force, you dont turn!
Velocity ratios for common angular velocity: v2 = v1r2/r1
1
v2
v1
I.e., 1 = 2 and v1 = v2 so we can only have straight line motion.
This is why we use tires which are deformable.
A tire under stress will deform and slip i.e., direction of travel will differ from that of
a perfectly rigid cylinder.
Despite the abundand folklore, tire slip has nothting to do with the contact patch
slipping on the ground. Tire slip is the net kinematic result of bulk tire deformations.
Tangential slip
Longitudinal slip
R0
Slip angle
Re
Direction of the wheel
When the tire is under a load, it compresses and the effective radius is R e < R0,
i.e., the velocity of the center of the wheel is not v = R0 but instead, v = Re .
This generates a friction force because work is done to compress the tire, not because
the contact patch slips on the ground!!!!
When there is a tangential force on a tire, it compresses tangentially and doesnt go
along a line of travel that is in the vertical plane.
10
Longitudinal slip
.
The slip is defined as: = |v0x| x , and = 1+
Longitudinal force as a function of slip ratio
1.5
1
0.5
0
-0.5
-1
-1.5
-20 -15 -10 -5
0
5 10 15
longitudinal slip ratio in percent
20
11
Tangential slip
Here, the line of travel of the tire differs from the plane by angle .
If the forward velocity of the wheel is vx and the tangential velocity of the contact
patch is vy , the slip is defined as:
t =
vy
= tan().
vx
Again, this shows up in the force ratio i.e., the ratio of the tangential force, F y , to
the normal load, Fz , and we essentially have:
F y = t Ct F z
Of course, we need to clip to the friction coefficient but for good tires, this can be
high i.e., 1.5.
The relationship between slip angle and tangential force is very similar to that of the
longitudinal slip.
12
Non-descript
13
14
0 =
d
rf
where d is the average angular velocity of the drive wheels, 0 is the engine angular
velocity, and rf is the final gear ratio, i.e., the ratio from the gear box times the
ratio from the differential.
Note: this is working in open loop fashion i.e., there is no self inertia and no feedback
mechanism.
A good drive train model would have all these inertias and feedback loops simulated
but thats too complicated for our purposes.
15
Differentials
When traction is delivered to the wheels, it goes through a differential which is a
device that enforces the following constraint:
s = rd(l + r )
where s is the drive shaft angular velocity, l is the angular velocity of the left
wheel, r is the angular velocity of the right wheel, and rd is the differential gear
ratio.
In practice, this constraint means that the torque applied on each wheel is equal:
thats why you can get stuck in the snow if one wheel is free.
Therefore, this can be ignored i.e., after computing the torque on each wheel based
on wheel slip, one can simply average the two and use that value instead to model a
differential.
16
Steering
A typical steering mechanism does a lot of fancy things i.e.,:
17
Brakes
A brake delivers a force roughly proportional to the brake pedal input times some
maximum torque. The result is applied directly to the wheels but in the direction
opposite to the motion.
Give max braking torque b, and a brake pedal signal db [0, 1], a simple model is
this:
, > 0.
= dbb
|| +
Of course, this will have problems when 0 and there are other forces on the car:
the wheels will jitter.
This can be clamped near zero with smart control but its not trivial.
18
19
20
(i,j)
n(j) A(i)
T
n(j) [Rz]
for each triangle j which is in the neighborhood of point a(i) , and where n(j) is
the normal of the polygon. One must then find out which triangle contains the
intersection and from this, recover (j) . This will not be covered here but its not
difficult. Look for ray and polygon intersection on the web.
Typeset by FoilTEX May 16th 2005
21
22
23
(i)
dividing by zero). Set Ft = t CtN (i) and clamp this with N (i) where
is the friction coefficient. Apply this force on the cassis at the contact point,
ignore self-aligning torque.
Longitudinal Slip Compute
the
longitudinal
slip:
(i)
(i) =
(i) R0 vx
|vx |+ ,
and
l = (i)/(1 + (i) ) (avoid dividing by zero!), and from this, compute the
(i)
(i)
traction force: Fl = Cl l N (i) . Apply this as a torque on wheel i:
(i)
(i)
l = F l R 0 .
(i)
= dbb
(i)
| (i) |+
(i)
b s(i) /R0,
force
=
where db is the break pedal value (could have a
different one for each wheel).
24
(i)
25
Wind drag
Simple wind drag of Fw = Cw vx|vx|, add to CM
Could add up a number of drag forces, including downward pressure and lifts,
depending on the shape of the car... not today!
26
vn+1 = vn + hm
n+1 = n + hI
qn+1 = qn +
Fn(xn, vn)
(1)
n(xn, vn)
(2)
h T
E (qn)n+1,
2
qn+1 = qn+1/|
qn+1|
xn+1 = xn + hvn+1
(i)
(i)
n+1 = n + hI
and
q1
E(q) = 4q2
q3
(4)
(i) 1 (i)
(3)
q0
q3
q2
(5)
q3
q0
q1
3
q2
q15
q0
27
Open issues
Multiple contacts on a wheel e.g., obstacles
Problems at low velocity:
misbehaves near vx 0
brakes can go unstable
28
Conclusions
Cars are very sophisticated things!
A good model needs many coupled differential equations and algebraic conditions.
Much work to do on tire models to get nice stable contacts and good handling.
29
References
Pedestrians references:
Basic game physics car tutorial: http://home.planet.nl/ monstrous/tutcar.html
Another interesting set of tutorials: http://www.miata.net/sport/Physics/index.html
Advanced references:
Jo Yung Wong, Theory of Ground Vehicles, 3rd ed., Wiley and Sons, 2001.
Tyre models: Hans B. Pacejka, Tyre and Vehicle Dynamics, ButterworthHeinemann, Oxford, 2002.
Milliken and Milliken, Race Car Vehicle Dynamics, SAE, 1995
Milliken and Milliken, Chassis Design Principle and Analysis, SAE, 1995
30