Fault Tolerance in Automotive Systems - Report
Fault Tolerance in Automotive Systems - Report
1. Introduction
Advancements in the field of automotive electronics
have helped in realizing the potential of sophisticated
vehicular control systems. In addition to liberating
the driver from routine tasks, such systems assist the
driver during critical situations, thereby enhancing
vehicular safety and performance. Among these
systems, X-by-Wire systems (where driving, steering
and braking are electronically controlled) have
provided feasible electronic and electromechanical
solutions resulting in enhanced fault tolerance and
reliability. Traditional mechanical and hydraulic
systems employed in automotive and aviation
systems are being replaced by electronic control
systems such as X-by-Wire systems. A current
premium car, for instance, implements about 270
functions a user interacts with, deployed over about
70 embedded platforms. Altogether, the software
amounts to about 100 MB of binary code. Ensuring
fault tolerance in automotive software is an active
area of research. Safety-critical systems such as Xby-wire systems and most ECUs typically use a lot of
sensors for performing their functions. Hence sensors
and actuators, which form the backbone of most
commonly used electronic systems, need to be fault
tolerant as well. Major automotive subsystems such
as chassis, air-bag, powertrain, body and comfort
electronics, diagnostics, x-by-wire, multimedia and
2.1. Brake-by-Wire
Brake-by-Wire (BBW) systems are realized through
electro-mechanical actuators and communication
networks, instead of conventional hydraulic devices.
It offers enhanced safety, cuts off cost associated
with manufacture and maintenance of mechanical
brakes and brake fluids. It also eliminates
environmental concerns caused by hydraulic systems.
There are two ways to realize a BBW system. On one
hand, the system is based on the traditional hydraulic
brake system. The by-wire function is realized
through hydraulic pumps and additional electric
controlled valves Electric Hydraulic Brake (EHB)
[24]. In an EHB system, a hydraulic backup can be
realized with the help of valves. Once a fault is
detected, a direct hydraulic brake circuit will be
closed. On the other hand the brake-by-wire system
based on electric mechanical actuators is called as
Electric Mechanical Brake (EMB). In an EMB
system the brake force and brake control is realized
by electric components [11]. Since a hydraulic brake
cannot be realized, the system must be extremely
2.2. Throttle-by-Wire
Conventional throttle systems consist of a cable
running from the gas pedal into the throttle body.
This cable slides within a housing as it winds its way
around various components. Such a system is
relatively bulky and prone to wear. Automotive
manufacturers have implemented a new means of
throttle control known as Throttle-by-Wire. Throttleby-Wire consists of a sensor providing pedal
position. The data acquired by the sensor is sent to
the Engine Control Module (ECM) that determines
the parameters to change. The ECM coordinates
components such as Anti-lock Braking System
(ABS), gear selection, fuel and air intake, and
traction control. This embedded intelligence results in
increased fuel efficiency, reduced emissions,
improved performance, and reduced frictional losses.
Throttle-By-Wire allows the engine computer to
integrate torque management with traction control
and stability control.
Implementation of the Front axle control function The requests of the driver are measured by the three
replicated sensors as1, as2 and as3 and sent to both
HW ECU1 and HW ECU2. Each ECU performs a
majority vote on the 3 received values and transmits
the data on both communication channels BUS1 and
BUS2. The two ECUs, FAA ECU1 and FAA ECU2,
placed behind the front axle, consume this data, as
well as the last wheel position, in order to elaborate
the commands that are to be applied to FAA Motor 1
and 2.
Implementation of the Force feedback control
function - In a way similar to the previous function,
measurements taken by rps1, rps2 and rps3 are
transmitted both to FAA ECU1 and FAA ECU2.
Each of these ECUs elaborates information
transmitted on the network. The consumers of this
information are both HW ECU1 and HW ECU2
which compute the command transmitted to HW
Motor 1 and 2.
7.4. FlexRay
The FlexRay network is very flexible with regard to
topology and transmission support redundancy. It can
be configured as a bus, a star or multistar. It is not
mandatory for each station to possess replicated
channels or a bus guardian, even though this should
be the case for critical functions such as the Steer-byWire [15]. FlexRay also provides fault tolerance by
distributed time-triggered synchronization (clock
synchronization) and error containment on the
physical layer through an independent bus guardian.
FlexRay allows both time-triggered and eventtriggered communication by means of a
communication cycle, where a time-triggered (static)
window and event triggered (dynamic) window are
concatenated. The time triggered window uses
TDMA like TTP, but unlike TTP, a given node may
be able to access the bus multiple times before all
remaining nodes access it. The event-triggered
window uses a technique called Flexible TDMA
(FTDMA) to provide event triggered behavior
without collisions. According to the FlexRay
specification [21] a frame contains a 24 bit CRC
checksum to ensure the integrity of the frame
transmission. The probability of undetected network
errors is less than (6*10^-8). Adequately addressing
fault-tolerance is one of the key aspects that needed
to be considered during the design of FlexRay. To
allow a single communications system to support the
diverse needs of automotive applications across
different application domains the consortium decided
to introduce a concept of scalable fault-tolerance.
Scalable fault-tolerance aims at allowing FlexRay to
be used economically in distributed non fault-tolerant
systems as well as in distributed fault-tolerant
systems.
In addition FlexRay can be deployed using optional
local or remote channel guardians that protect the
communications channels from transmission faults
that violate the TDMA scheme. The clock
synchronization algorithm supports fault-tolerant as
well as non fault-tolerant synchronization. For faulttolerant
synchronization the synchronization
algorithm considers the transient / permanent fault
class as well as the symmetric / asymmetric fault
class [22]. In this protocol, the synchronization of the
global time happens at the macrotick level, with the
use of a cluster-wide clock synchronization
algorithm. This clock synchronization algorithm
continues to operate even in the event of an ECU
failure in the system, unlike a master-slave
synchronization algorithm. Table 1 summarizes the
key differences between the automotive protocols
discussed so far.
USAGE
Chassis
Airbags
Powertrain
X-by-wire
Multimedia
Telematics
Diagnostics
REQUIREMENTS
Fault tolerance
Determinism
Bandwidth
Flexibility
Security
CAN
YES
YES
YES
SOME
NO
NO
YES
CAN
TTCAN
YES
NO
YES
YES
NO
NO
SOME
TTCAN
FlexRay
NO
NO
SOME
YES
NO
NO
SOME
FlexRay
SOME
YES
SOME
YES
NO
SOME
YES
SOME
YES
NO
YES
YES
YES
YES
NO
[13]
[14]
[15]
[16]
[17]
[18]
[19]
References
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[20]
[21]
[22]
[23]
[24]
[25]
[26]
[27]
[28]
[29]
[30]
[31]
[32]
10