Real-Time Systems in Automotive Applications: Vehicle Stability Control
Real-Time Systems in Automotive Applications: Vehicle Stability Control
4,October2013
RealTimeSystemsinAutomotive
Applications:VehicleStabilityControl
AdnanShaout*1andKevinMcGirr2
1TheUniversityofMichiganDearborn,2TheElectricalandComputerEngineeringDepartment
Dearborn,MI48128
*[email protected]
Abstract
This paper will investigate the application of embedded
systems in current state of the art vehicle stability systems.
Forclarificationpurposes,thefocuswillbeonthosesystems
similar to ESP (electronic stability program) originally
developed by Bosch in 1995. The overall emphasis of this
paperwillbetoexaminetheseautomotivesystemsfroman
embeddedsystemspointofview.
Thereareseveralkeyissuespertainingtoembeddedsystems
invehiclestabilitycontroladdressedthroughoutthispaper.
The first issue addressed will be state of the art electronics
used in these systems including controllers, actuators, and
sensors; then followed by the issue of operation of the
stability control electronics and the way they interact with
other vehicle electronics such as engine control. The third
issueisthecontrolalgorithmandarchitecturethatoperates
thesystem.
This paper will also analyze the limitations of these vehicle
stability systems, possible sources of system failure, as well
as what is being done to prevent such failure. In addition,
this paper will investigate the future trends in vehicle
stabilitycontrolandtrytodeterminefuturedevelopmentsin
vehicle stability control. Finally, the advantages and
disadvantages in terms of safety and performance are
discussed.
Keywords
VehicleStabilitySystems;EmbeddedSystems;VehicleSafety;Real
TimeSystems;AutomotiveApplications
Introduction
Embedded systems play a critical role in vehicle
stabilitycontrolsystems.Byexaminingcurrentstateof
the art systems like Boschs ESP in great detail, the
impact of embedded systems for this automotive
applicationcanbeunderstood.
One of the biggest technological advances that have
made systems like Boschs ESP possible is the wide
availabilityofautomotiveelectronics.Electronicssuch
83
ElectricalEngineeringResearchVol.1Iss.4,October2013
84
braking[Cage(1999)].
The next step in the development of vehicle stability
control was the introduction of the traction control
system (TCS) by Bosch in 1987 [Bosch Braking
Systems,http://www.boschautoparts.co.uk].Thegoal
of traction control is to stabilize the vehicle during
acceleration by preventing the wheels from spinning
out of control. TCS also seeks to improve traction of
the wheels while accelerating. TCS used all of the
same components as previous ABS systems with the
additionofenginemanagement[Sauter(1999)].
By selectively applying the brakes to wheels that are
slipping,TCSisabletoincreasetheamountoftraction
for that wheel. This is especially important when the
wheels are on surfaces with varying levels of friction
[Sauter (1999)]. In addition to using the brakes to
control traction while accelerating, TCS also utilizes
engine management to control the vehicle. By
communicating with the engine controller, the TCS
system is able to control the amount of torque that is
sent to the wheels. If the system detects that a wheel
has almost no traction with the road and is simply
spinning,theTCSsystemisabletogreatlyreducethe
torque delivered to that wheel. The engine
management system adjusts the amount of torque by
controllingtheairflowtotheengine(throttlecontrol),
thefuelinjection,andthesparktiming[Sauter(1999)].
By adjusting all of these elements, TCS is capable to
greatly increase or decrease the amount of torque
deliveredtoawheel.
Enginemanagementisatremendousadvancementin
vehicle stability because it greatly has reduced the
dependence on braking systems, thus the amount of
wear and tear on the brakes as well as the size of
brakes necessary on the vehicle [Sauter (1999)] are
reduced.
The following table shows the evolution of vehicle
stabilitycontrolsystemsoverthepast25years,theway
how each system was built based upon the previous
one by indicating shared components and how each
systemdiffersbylistingtheadditionalcomponentsthat
enablethenextevolutioninvehiclestability.
Bosch took vehicle stability from preventing skidding
while braking to stabilizing the vehicle on slippery
roads. Vehicle stability technology will continue to
moveforwardwithmoredevelopmentsinautomotive
electronics.
ElectricalEngineeringResearchVol.1Iss.4,October2013
Technology
Year PastComponents
ABSAntiLock
1978
BrakingSystem
TCSTraction
1987
ControlSystem
ESPElectronic
1995
StabilityControl
DiscBrakes
DiscBrakes,
ECU,wheel
speedsensors
DiscBrakes,
ECU,Engine
ECU,Wheel
SpeedSensors
NewComponents
HydraulicModulator,
ECU,wheelspeed
sensors
EngineECU
YawRatesensor,Lat.
Accel.Sensor,Steering
AngleSensor
FIG.1VEHICLESTABILITYTIMELINE[BOSCHBRAKING
SYSTEMS,HTTP://WWW.BOSCHAUTOPARTS.CO.UK]
SystemName
Markets
Mercedes,Lexus,
Audi,BMW,VW
BMW,Chrysler,
Ford,Jaguar,
Nissan,Toyota
Bosch
1995
ESPElectronic
StabilityProgram
Continental
Teves
1998
ESPElectronic
StabilityProgram
Delphi
2002
TRAXXAR
TRW
Cadillac,GMVans
VSESVehicleStability
2002
CadillacEscalade
EnhancementSystem
FIG.2VEHICLESTABILITYMANUFACTURERS[BRAKEBY
WIRETECHNOLOGIES,WWW.CONTIONLINE.COM,BRAKING
ANDCHASSISSYSTEMS,WWW.BOSCHUSA.COM,BRAKING
SYSTEMS,WWW.TRW.COM,ELECTRICSTEERINGSYSTEMS,
WWW.DELPHI.COM]
Components of ESP
Avehiclestabilityprogramrequirestheinteractionof
severalelectronicmodules,sensors,andactuators.The
mostfundamentalpieceoftheESPsystemistheECU
orElectronicControlUnit.Thefigurebelowshowsan
ESP ECU from Bosch with a builtin hydraulic
modulator for brake activation. Early versions of ESP
used an ECU that is separated from the hydraulic
modulator,butinanefforttoreduceweight,size,and
cost, an ECU was developed using hybrid ceramic
substrates much smaller in size than earlier ECUs.
Using ceramic substrates has also greatly improved
the ECUs thermal robustness and overall lifetime
[VanZantenetal.(1998)].
FIG.3ESPHYDRAULICMODULATORWITHADDONECU
[BrakingandChassisSystems,www.boschusa.com]
TheECUisthebrainsofthevehiclestabilitysystem.
The ECU is responsible for gathering data from the
sensorsandusingthatdatatocalculateanyadjustments
that need to be made to the brake pressure or engine
torque. A more detailed explanation of system
operationwillbegivenlater.
A common design for current state of the art ESP
ECUs is a dual microprocessor layout. A typical
microprocessorusedinECUsofthistypeistheIntel
8XC196JT [Van Zanten et al. (1998)] specifically
designed for automotive applications that is an 8bit
microprocessor with 256 kilobytes of ROM and 8
kilobytesofRAMandhasPWMoutputs(pulsewidth
modulation),A/Dinputsonoperatingrangefrom40
to 125C [www.intel.com/design/auto/chassis.htm].
The chip also has a builtin watch dog timer to reset
thedeviceinthecaseofsoftwareorhardwarefailure
[TheTTPProtocols,http://www.vmars.tuwien.ac.at/
projects/ttp/ttpmain.html]. Such fault tolerance
protectionisextremelycriticalinasystemsuchasESP.
ESP that is a hard realtime system and system faults
or failures are not acceptable. The results could be
catastrophicintheeventofasystemfailure.
85
ElectricalEngineeringResearchVol.1Iss.4,October2013
FIG.4ECULAYOUTWITHDUAL8XC196JTMICROPROCESSORS
[VanZantenetal.(1998)]
Afundamentaldevelopmentinautomotiveelectronics
that facilitate the creation of ESP is the ability to
measure the vehicles rotation around a vertical axis.
Imagineapolegoingthroughthetopofthecardown
totheroad.Nowimaginethecarspinningaroundthis
pole:theamountofrotationistheyawofthevehicle.
The ECU uses the data from the yaw rate sensor to
determine if the vehicle rotates too much: oversteer
condition, or if the vehicle does not rotates enough:
understeer condition. The yaw rate sensor is based
upon a vibrating cylindergyrometer. The metal
cylinderisvibratedataconstantfrequency.Nodesare
displaced depending on amount of vehicle rotation
duetotheCoriolisEffect.Atypicalyawratesensoris
picturedbelow.
FIG.7YAWRATESENSOR[BRAKINGANDCHASSIS
SYSTEMS,WWW.BOSCHUSA.COM]
Inadditiontothesensorsdescribedpreviously,vehicle
stabilitysystemsalsoemploylateralaccelerationsensors
andbrakepressuresensors.
FIG.5WHEELSPEEDSENSOR[BrakingandChassisSystems,
Thefollowingpictureshowsthelayoutofthevarious
ESPcomponentsandsensorsinavehicle.
www.boschusa.com]
Thesystemalsoneedstobecapableofmonitoringthe
desired motion of the vehicle from thedriversinput.
Tomeasurethedriversinput,asteeringanglesensor
and acceleration pedal sensor are used. The steering
anglesensorismountedbehindthesteeringwheelon
top of the steering column and measures the position
of the steering wheel. There is also a sensor for the
acceleration pedal to measure the desired speed/
accelerationofthevehicle.SeeFig.3below.
FIG.8ESPSYSTEMONCANNETWORK
CAN Network
FIG.6STEERINGANGLESENSOR[BRAKINGANDCHASSIS
SYSTEMS,WWW.BOSCHUSA.COM]
86
ElectricalEngineeringResearchVol.1Iss.4,October2013
FIG.9OVERSTEERANDUNDERSTEEROFAVEHICLE
FIG.10ONBOARDENGINECONTROLLER[ELECTRIC
STEERINGSYSTEMS,WWW.DELPHI.COM]
RealTimeSystemIssues
Atitsmostbasiclevel,asystemisoneormoreinputs
entering a device and one or more outputs leaving a
device.InthecaseofESP,theapproximatenumberof
inputsis11:
87
ElectricalEngineeringResearchVol.1Iss.4,October2013
1.
BrakeMasterCylinderPressure
2.
BrakeLightSignal
3.
LateralAcceleration
4.
WheelSpeed(4)
5.
YawRate
6.
ParkBrakeSwitch
7.
SteeringWheelAngle
8.
ESPOn/OffSwitch
9.
BrakeFluidLevel
10. Accel.PedalPosition
11. TransmissionStatus
The ESP system uses the input information to
determines the current state and desired state (driver
input) of the vehicle. From these inputs, the system
willgenerateasetofprimaryoutputsignalstoadjust
thestateofthevehicle:
1.
2.
HydraulicControl(brakes)
a.selfprimingrecircpump
b.prechargepump
c.inletvalve
d.outletvalve
e.pressurelimitingEMvalve
f.highpressuresuctionvalve
g.accumulator
a.sparktiming
b.throttlecontrol
c.fuelinjection
3.
TransmissionManagement
4.
DriverInformationSignals
FIG.11ESPI/ODIAGRAM[VANZANTENETAL.(1998)]
88
ESPistrulyanembeddedsystemwithalmostnoinput
from the user. There is no keyboard or mouse or
monitor.Theonlycontrollableinterfacethatthedriver
hasistheESPon/offswitch.Additionaluserinterfaces
wouldincludetheESPsignalintheclustertoalertthe
driverthatthesystemisactiveorthatthereisanerror
withthesystem.
ESPisacomplexsystemworkingunderverystringent
timing requirements. Every 40 ms the system must
sample the input signals and determine the current
stateofthevehicle.Inthoseinstanceswhenthesystem
detects a critical condition, it will begin to respond
before the driver is even aware of that the vehicle is
steering out of control. Time is of the utmost
importance, because any delay in the systems
response could have disastrous consequences for the
driver.Whendrivingathighwayspeedsundericyor
wet conditions, a tenth of a second could mean the
difference between slamming into a guardrail and
safelystayinginyourlane.
EngineManagementSignals
ElectricalEngineeringResearchVol.1Iss.4,October2013
missitstimingdeadlines,thentherewouldbenouse
forsuchasystem.
IftheESPsystemfailstomeetatimingdeadline,then
the system has failed entirely. The systems inability
to meet response time requirements could have
disastrous consequences for both the driver of the
vehicle and other drivers on the road. In some
instances,failingtomeettimingdeadlinescouldresult
in death or serious injury to vehicle occupants.
Because of this, ESP is a hard realtime system, and
special precautions must be taken during system
designed to ensure the systems ability to meet
responsetimerequirements.
Control Structure
The flow of control for ESP begins with the drivers
inputandcurrentvehiclestatus.Thefollowingdatais
gathered from the sensors and sent to the ECU:
steering angle, yaw rate, wheel speed, lateral
acceleration, acceleration pedal pressure, brake pedal
pressure, brake fluid pressure, and engine
management information. From this information, the
ECU calculates the actual motion of the vehicle. In
additiontocalculatingtheactualmotionofthevehicle,
the ECU must also determine the nominal or desired
motion of the vehicle. The nominal motion of the
vehicle is calculated primarily based on driver input
information: steering angle sensor, throttle position
sensor, brake pedal sensor. The nominal motion is
wherethedriverwouldwantthevehicletogowere
it not for the environmental conditions such as a
slipperyroadcausingthevehicletosteeroutofcontrol.
The ESP controller compares the nominal values for
vehicle motion with the actual values for vehicle
motion. Once the difference in these two values is
determined, the ESP controller determines the
correctionsinthetireslipvaluesthatarenecessaryto
achieve the nominal value for vehicle motion [Van
Zantenetal.(1999)].Theoverallcontrolofthevehicle
is based upon theslip values forall four wheels. Tire
slipisthedifferencebetweenthespeedofthetireand
the actual speed of the vehicle. If the tire is spinning
faster than the vehicle that is moving, then the tire
experiencesslip.
The corrections in the tire slip valuesare then sent to
aninternalmoduleoftheESPcontroller.Thismodule
iscalledtheslipcontroller.Baseduponthecorrections
FIG.12SLIPCONTROLLERDATAFLOW[VANZANTENETAL.
(1999)]
FIG.13DUALLOOPCONTROLCONCEPT[VANZANTENETAL.
(1999)]
Picturedbelowisthefundamentalcontroltaskforthe
ESP system. The vehicle is the plant. The sensors
transmit information to determine both the nominal
and actual behavior of the vehicle. By comparing the
actual behavior with nominal behavior of the vehicle
corrections to the tire, slip values can be determined.
Actuator control signals derived from the tire slip
89
ElectricalEngineeringResearchVol.1Iss.4,October2013
FIG.14FUNDAMENTALCONTROLTASK[VANZANTENETAL.
(1999)]
90
ElectricalEngineeringResearchVol.1Iss.4,October2013
FIG.15MODELBASEDSENSORMONITORINGDIAGRAM[VAN
ZANTENETAL.(1999)]
FIG.16EMBSYSTEMARCHITECTURE[HEDENETZ&
BELSCHNER(1998)]
91
ElectricalEngineeringResearchVol.1Iss.4,October2013
designedanddeveloped.
Steer-By-Wire
Steerbywire eliminates the mechanical connection
between the driver and the vehicles front tires. The
traditional steering elements are replaced by two
actuators positioned in the vehicles front corners.
Theseactuatorsreceiveinputfromthecontrolmodule
and turn the front wheels per the control modules
instructions.Thesystemalsousesanelectricmotorto
provide road feedback to the steering wheel [Electric
SteeringSystems,www.delphi.com].
FIG.172FTUSONTTPBUS[HEDENETZ&BELSCHNER(1998)]
Truebrakebywireonavehiclewouldallowasystem
suchasESPevengreatercontrolofthevehicleduring
operation.ESPwouldnolongerbeconstrainedbythe
physical limitations of hydraulic braking. There
would be almost no time delay waiting for fluid
pressure to build up when ESP activates. This
shortened response time is extremely valuable for a
hard realtime system like ESP. The fraction of a
second that traditional brakes require to begin
activationmeansthedifferencebetweenstayingonan
icyroadandendingupinaditch.
Because EMB is on the vehicle bus and supports
communication protocols such as CAN, this would
allow for much easier integration with other vehicle
systems such as ESP [Electromechanical Braking
(EMB), www.freescale.com]. The ESP and EMB
controller could be integrated into a single module
thuseliminatingdataEMBwouldgreatlyimprovethe
performance of ESP. Integrating EMB into a vehicle
stability system would decrease response times,
decrease braking distances, eliminate mechanical
braking anomalies, improve system communication
and overall system performance. As the number of
embedded systems in the vehicle increases, so do the
possibilitiesfortotalvehiclecontrol.
EMB takes one more element of vehicle control away
from the driver and gives that control to a computer.
There are risks associated with moving automobile
safety in this direction. Drivers will place more and
more their trust in embedded systems and rely less
andlessontheirowndrivingability.Suchissuesmust
beconsideredwhenfutureautomotiveelectronicsare
92
FIG.18STEERBYWIRE[BRAKEBYWIRETECHNOLOGIES,
WWW.CONTIONLINE.COM]
ElectricalEngineeringResearchVol.1Iss.4,October2013
FIG.21ROADWHEELSUBSYSTEM[KAUFMANNETAL.(2001)]
FIG.19STEERBYWIRECONCEPTUALDESIGN[KAUFMANN
ETAL.(2001)]
FIG.20HANDWHEELSUBSYSTEM[KAUFMANNETAL.(2001)]
93
ElectricalEngineeringResearchVol.1Iss.4,October2013
theESPsystem.
Steerbywirewouldgreatlyimprovetheperformance
of ESP. It is another element of vehicle control that
could be integrated into ESP. Just like brakebywire,
steerbywire is another example of bywire systems
increasingtheperformanceandpossibilitiesofvehicle
stabilitysystemslikeESP.
With steerbywire, there are certain risks associated
with replacing hard mechanical systems with
computercontrollednetworks.Aswithbrakebywire,
there are critical issues that must be addressed when
an element of vehicle control is taken away from the
driver and given over to a computer system. While
this transition of control offers almost unlimited
potential in terms of safety and control, it also raises
concernsondriverresponsibility.Ifacarweretoget
intoanaccident,whichwouldbeatfault:thedriverof
the vehicle or the steerbywire system manufacturer.
Such issues must be weighed carefully when systems
likesteerbywirearedesignedandimplemented.
Recent advances in dependable embedded system
technology,aswellascontinuingdemandforimproved
handlingandpassiveandactivesafetyimprovements,
have led vehicle manufacturers and suppliers to
actively pursue development in computercontrolled
bywire subsystems [Kaufmann et al. (2001)]. Every
step of advancement in bywire subsystems such as
brakebywire and steerbywire is another step
towardsthedevelopmentofimprovedvehiclestability
systems. As more and more traditionally mechanical
vehicle systems are converted to electronic systems,
the ability to integrate these systems with ESP
increases.ESPwillsoonhavetheabilitytocompletely
control many traditionally mechanical systems like
steering and braking. This control will increase the
performanceandcapabilityofESP.
Advantages and Disadvantages
ESPofferingmuchbenefittovehicleperformanceand
safety, greatly improves a cars ability to steer on icy
or slippery roads and also prevents a vehicle from
spinning out of control during critical situations,
furthermore,itisabletominimizetheadverseeffects
of driving on slippery roads, as well as to recognize
whenthedriverisnolongerabletosafelycontrolthe
vehicle and assists in stabilizing the vehicle. When
used properly, ESP is capable to assist the driver in
avoidingaccidents.Adriverisimmunetohelplessness
94
whenveeringofftheroadonarainyoricyday.When
a driver feels that they have lost control over the
vehicle, ESP is able to react with brake and engine
interventionatarateovertentimesfasterthanhuman
being. When ESP is viewed as mechanism to assist
drivers in critical situation, then it is very beneficial
andgreatlyimprovesvehiclesafety.
WhileESPoffersdriversmuchsafetyandperformance
benefit, it is important that drivers are aware of the
limitations of systems like ESP. The most important
rule to remember is that ESP cannot defy the laws of
physics.ThedriverofanyvehiclewithESPmustkeep
in mind that there are physical limitations to ESPs
ability to stabilize the vehicle. If a driver is going 100
mph and suddenly performs a 90 turn into the
guardrail, then ESP may not be able to stabilize the
vehicle.ItisimportantfordriverstobeawarethatESP
willnotbeabletostabilizethevehicleinallsituations.
Having a vehicle with ESP may give some drivers a
false sense of security about their cars ability to
handleinclementcondition.InnowayisESPalicense
todriverecklesslyininclementconditions.Thisisone
potentialdrawbacktoESP.
An additional issue that must be considered with a
systemlikeESPisdriverresponsibility.Asmoreand
more electronic systems replace traditionally
mechanical systems, an increasing amount of vehicle
control is being given over to embedded systems.
While this offers many safety and performance
benefits,italsocreatesapotentialhazard.Consumers
might become less responsible for their driving and
willsimplyassumethattheircarwillsave.Thisisa
very dangerous trend and all efforts should be made
by manufacturers and dealers to reinforce the notion
thatsuchsystemsaresimplymeanttoassistthedriver.
They were never intended to replace the function of
the driver. Control of the vehicle is ultimately the
responsibilityofthedriver.Itisimportantthatconsumers
be informed of the capabilities and limitations of
systemslikeESPtoavoidpotentiallyfatalincidents.
These are some of the positive and negative issues
surrounding the development of vehicle safety
systemslikeESP.
Conclusion
The use of embedded systems in automotive
applicationshasmadepossiblecurrentstateoftheart
safety systems like ESP. ESP uses high tech sensors,
ElectricalEngineeringResearchVol.1Iss.4,October2013
Mesa,California,Aug.2022,2001.
Memmer, Scott, Stability Control: Get Your YawYaws
Out!www.edmunds.com,2004.
Microcontroller Family Users Manual, Intel, 8XC196Kx,
8XC196Jx,87C196CA,1995.
Sauter,Thomas,TractionControl,AutomotiveElectronics
Handbook,pp.16.116.19,1999.
Van Zanten, Anton, Bosch ESP Systems: 5 Years of
Experience, SAE Automotive Dynamics & Stability
Conference,Troy,Michigan,May1517,2000.
Van Zanten, Anton, Erhardt, Rainer, Landesfeind, Klaus,
Pfaff, Georg, Stability Control, Automotive Electronics
Handbook,pp.17.117.33,1999.
Van Zanten, Anton, Erhardt, Rainer, Landesfeind, Klaus,
REFERENCES
Pfaff,
BoschBrakingSystems,http://www.boschautoparts.co.uk
Perspective,SAEInternationalCongressandExposition,
BrakingSystems,www.trw.com
Detroit,Michigan,Feb.2326,1998.
Georg,
VDC
Systems
Development
and
ElectromechanicalBraking(EMB),www.freescale.com
www.intel.com/design/auto/chassis.htm
The
Dr. AdnanShaoutisafullprofessorin
the
Electrical
and
Computer
Engineering Department at the
University of Michigan Dearborn. At
present, he teaches courses in fuzzy
logic and engineering applications and
computer engineering (hardware and
software). His current research is in
applications of software engineering
methods, computer architecture, embedded systems, fuzzy
systems, real time systems and artificial intelligence. Dr.
Shaouthasmorethan29yearsofexperienceinteachingand
conducting research in the electrical and computer
engineeringfieldsatSyracuseUniversityandtheUniversity
of Michigan Dearborn; in addition, he has published over
140 papers in topics related to electrical and computer
engineering fields. Dr.Shaout has obtainedB.S.c, M.S. and
Ph.D. in Computer Engineering from Syracuse University,
Syracuse,NY,in1982,1983,1987,respectively.
TTP
Protocols,
http://www.vmars.tuwien.ac.at/
projects/ttp/ttpmain.html
BrakeByWireTechnologies,www.contionline.com.
BrakingandChassisSystems,www.boschusa.com.
Cage, Jerry, Braking Control, Automotive Electronics
Handbook,pp.15.115.16,1999.
CANnetworking,www.can.bosch.com.
ElectricSteeringSystems,www.delphi.com.
Gill, Jim, Electronic Stability Program (ESP) from
Continental Teves: Critical Driving Conditions Are
AvoidedRightfromtheStart,APRNewswire.
Hedenetz, B., Belschner, R., BrakebyWire Without
Mechanical Backup by Using a TTPCommunication
Network, SAE International Congress and Exposition,
Detroit,Michigan,Feb.2326,1998.
Kaufmann,Tim,Millsap,Scott,Murray,BrianandPetrowski,
Jim, Development Experience with SteerbyWire, SAE
95