Cap 10
Cap 10
11
x
1. Introduction
Fault tolerance is a property of a system that continues operating properly in the event of
failure of some of its parts. It provides the ability of a system to provide a service
complying with the specification in spite of faults. If operating quality decreases at all, the
decrease is proportional to the severity of the failure, as compared to a naively-designed
system in which even a small failure can cause total breakdown.
Fault-tolerant design of a drive-by-wire (DBW) system provides key-method for achieving
safe and reliable systems (Isermann et al, 2002; Shibahata, 2005). It is generally required in
the design of all mechanical, electrical and software components of drive-by-wire systems.
Extensive analysis is performed during the design and testing phase, combined with
quality control methods during manufacturing. This design method reduces faulty
behaviour dramatically and forms the basis for safe and reliable systems. The design
method identify potential hazards and associated avoidance requirements, translates
safety requirements into engineering requirements, provides design assessment and
trade-off to support the ongoing design, assesses the relative compliance of the design to
the requirements and document the findings, directs and monitors specialized safety
testing, and monitors and reviews test and field issues for safety trends.
It is noted that certain faults and failures cannot be avoided totally. Components in a
system can fail even after with a fault tolerant design. These faults should be tolerated by
additional measures and compensated in such a way that they do not cause the overall
system (or certain critical functions) to fail. The most obvious way to reach this goal is to
implement duplication in order to avoid single points of failure.
Duplication can offer fault-tolerance in three different ways:
Replication: Providing multiple identical instances of the same system, directing
tasks or requests to all of them in parallel, and choosing the correct result on the
basis of a quorum.
Redundancy: Providing multiple identical instances of the same system and
switching to one of the remaining instances in case of a failure (fall-back or
backup).
www.intechopen.com
232 Fault Detection
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 233
2. Analytical Redundancy
Model-based Fault Detection and Isolation is achieved by implementing more complex
failure detection algorithms that take careful account of system dynamics; utilizing such
algorithms, one may be able to reduce requirements for costly hardware redundancy.
Analytical redundancy based FDI (failure detection and isolation) uses a model of the
dynamic system to generate the redundancy required for failure detection. In many
systems, all of the states cannot be measured because of cost, weight and size
considerations, therefore, FDI schemes for such systems must extract the redundant
information from dissimilar sensors, using the differential equations that relate their
outputs. In addition to taking hardware issues into consideration, the designer should
consider the issue of computational complexity. Most model-based FDI methods rely on
analytical redundancy. In contrast to physical redundancy, when measurements from
different sensors are compared, now sensory measurements are compared to analytically
obtained values of the respective variable and the resulting differences are called
residuals. The deviation of residuals from the ideal value of zero is the combined result of
noise, modelling errors and faults. A logical pattern is generated showing which residuals
can be considered normal and which ones indicate a fault. Such a pattern is called the
signature of the failure. The final step of the procedure is the analysis of the logical
patterns obtained from the residuals, with the aim of isolating the failures that cause
them. Such analysis may be performed by comparison to a set of patterns known to
belong to sample failures or by the use of some more complex logical procedure.
www.intechopen.com
234 Fault Detection
The analytical redundancy method discussed in this paper makes the following
assumptions: The probability of two sensors failing simultaneously is much less than that
for only one sensor failing. Similarly, the probability of three sensors failing
simultaneously is much less than that for two-sensor-fault.
It simulation studies, it has been shown that the accuracy of the Fault Detection and
Isolation Accommodation (FDIA) algorithm won’t be sacrificed by the reduction of the
number of physical sensors since analytical redundancy will provide additional
information (Anwar & Chen, 2006).
The research methodology in this paper involves several parts. These parts are:
Build of a simplified SBW system hardware-in-loop (HIL) bench with necessary
hardware components.
Development of control models for SBW system. These models involve:
- A modified 4th order vehicle model
- A nonlinear observer model based on the vehicle model
- A long range prediction model with different prediction horizons
- A FDIA algorithm for sensor fault detection based on analytical redundancy.
Completion of the build of the HIL bench for the SBW system (illustrated in Figure 1)
involves:
• A steering wheel module with three angular sensors and one electric motor for haptic
feedback.
• A rapid prototyping controller from dSpace, MicroAutoBox Model 1401, which receives
input signals from all angular sensors on the steering wheel, feedback signals from all
angular sensors on the pinion of the rack and pinion assembly, sends commands to motor
drivers and servo motors. And, all necessary wiring and cable devices between
controllers, drivers, motors, and sensors.
• A set of motors: the motor drivers, Parker OEM770T, the servo motors, Parker BE342KJ-
K10N, and a set of gears and a gear box converting the servo motor’s rotation into rack’s
linear motion.
• A rack and pinion assembly with fixture. The rack and pinion assembly is that of a
Volkswagen SI-9281-9-2, which provides lateral movement of the steering system. Three
angular sensors situated on the pinion provide the feedback signal to controller. And two
springs with spring coefficient 2000 N/in are attached a both ends of the rack to
simulated the road loads for the SBW HIL bench.
For real vehicles, the road wheel friction force created at the contact patch of road and tire
can be transmitted to rack via front wheels. In building the hardware of the SBW system
in this paper (Figure 1), there are two springs that replace front wheels and these two
springs also provide simulated force caused by front wheels contacting road surface. The
rack was made for power steering wheel system (with pinion on top). In a close-loop
control system, there must be a feedback from the road wheel system (rack/pinion). Thus,
the pinion is taken as the feedback signal source for close-loop control (Figure 2).
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 235
Developing the overall analytical redundancy based FDIA and control model and
performing the validation tests of FDIA algorithms is the main work in this research.
Before modelling the FDIA algorithms as a part of fault tolerant control, it is necessary to
understand the complete control model considered in this paper (Figure 3). The complete
model shows that the fault tolerant control is made possible by FDIA. θ (pinion angle)
from vehicle model and from predictor are checked by FDIA logic to isolate any sensor
fault on the pinion. The vehicle model converts motor’s current into pinion angle via the
nonlinear observer. Ideally, we wished to make the steering wheel rotation and the pinion
angle rotation simultaneously. But, due to the dynamic model used in the observer and
usage of low pass filter to reduce noise in the feedback signals, a delay is introduced in
the after the pinion angle is reconstructed using the observer. In order to reduce this
delay, a long range predictor is used in the observer model that reduces the delay
between steering wheel’s angle and pinion angle (Anwar & Chen, 2006). And, the
observer in the overall model provides the information about other state variables inside
the controller as well (Hasan & Anwar, 2008; Nise, 1994).
Lastly, by taking the advantage of Matlab/Simulink and the code-compiling functions
provided by dSpace, the steering system model, the modified vehicle model, the nonlinear
observer, the predictor, and the FDIA algorithm were implemented in real-time
environment which was then downloaded into the dSpace MicroAutoBox controller.
www.intechopen.com
236 Fault Detection
For the design and construction of mechanical components of the bench, each component
was been modelled by using Pro/E Wildfire 3.0 and tested by using ANSYS 14.0 to check
the maximum deformation within the material (steel).
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 237
Once the construction of hardware was finished, all the electrical and electronic
components of the HIL bench (listed in Table 1) were then connected using the designed
wiring diagram. The complete SBW system with the mechanical components, driver,
controller, laptop computer, and power supply is represented in Figure 5.
www.intechopen.com
238 Fault Detection
x Ax Bi m
y Cx
C , f C ,r C ,r b C , f a
1
C , f
0
mV mV 2 mV
(1)
r C ,r b C , f a C , f a 2 C ,r b 2
x ; A
C , f a
0
Iz I zV Iz
1
(t p t m )C , f a (t p t m )C , f (t p t m )C , f
0 0 0
b
J JV J J
0 0
0 0
B 0 ; E 0 ; C 0 0 1 0
km 1
J
J
Whrere, is the vehicle body side slip angle, r is the vehicle yaw rate at the center of
gravity, is the steering angle at road wheel, C,f & C,r are cornering coefficients for the
front & rear wheels respectively, a & b are distance between front & rear axles to the
vehicle center of gravity respectively, m is vehicle mass, V is vehicle nominal velociy, Iz is
vehicle inertia in yaw direction, J is wheel ineria, tm & tp are mechanical and pneumatic
trails repectively, km is the motor torque constant. The details of the above model
equations can be found in (Hasan, 2007) and is based on simplified single track vehicle
model (or bicycle model) as illustrated in Figure 6.
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 239
A sliding mode observer was designed based on the above vehicle model. The details of
the sliding mode observer developed are described in (Hasan, 2007; Utkin et al, 1999;
Stotsky, & Hu, 1997) and hence skipped here. A schematic of this observer is given in
Figure 7.
A long range prediction algorithm was designed based on Diophantine equation (Clarke
et al, 1987). This algorithm was then used to predict the future output (e.g. steering angle
at road wheel) which is then used in the FDIA algorithm. This objective of this predictor is
to reduce the latency in fault detection due to computational delays. A detailed account of
this prediction algorithm can be found in (Hasan & Anwar, 2008). Only prediction
equation is stated here for reference.
(t j ) E j ( z 1 ) A( z 1 )U (t j 1) F j ( z 1 ) (t ) (2)
Where, t is current time, z-1 is the backward shift operator in z-domain, Ej and Fj are
polynomials in Diophantine equation which are uniquely defined given the system
characteristic polynomial A(z-1), U is the system input.
The fault detection, isolation, and accommodation algorithms (FDIA) are based on a
majority voting scheme and are given in details in (Hasan, 2007; Niu, 2009). Only the
fundamental algorithm in flow chart format is given here for brevity (Figures 8 and 9).
www.intechopen.com
240 Fault Detection
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 241
5. Experimental Results
Before we illustrate the FDIA algorithms used in this work, it is necessary to describe the
types of Faults which are tested in this research. Commonly, faults can be classified in
three main types: transient fault (Figure 10), hard fault (Figure 11), and soft fault (Figures
12 – 13).
www.intechopen.com
242 Fault Detection
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 243
Parameter Value
Cα,f 22000 (N/rad)
Cα,r 55000 (N/rad)
m 1400 (kg)
V 15 (m/s)
b 1.5 (m)
a 1 (m)
Iz 4000 (kg-m2)
tp 0.025 (m)
tm 0.03 (m)
J 20 Kg-m2
Table 2. Parameter values used for the modified vehicle model
A validated sliding mode observer model was developed using the HIL bench. The
overall observer model along with the predictor is shon in Figure 15 will all the
input/output relationships. It is noted that if the steering model in Figure 15 is
G(s)=(s)/im(s), then the expression for motor current reading is be given by im(s) = G-
1(s)(s).
www.intechopen.com
244 Fault Detection
Fig. 15. Steering angle observation and predictor taken in SBW control system
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 245
In this paper, a number of tests are designed to test whether the FDIA is able to detect
transient, hard, and soft faults with the sensors attached with pinion, not predicted with
different horizon.
In this section, the FDIA is tested with transient fault, hard fault (persistent zero and
constant phase shift), and soft fault (increased amplitude, attenuated amplitude and
variable phase shift). With appropriate designed FDIA using Matlab/Simulink and using
Control Desk program, the FDIA interface built with Control Desk program is able to
report the times of transient fault, the fallen sensor, and the state of morn than one sensor
fallen.
www.intechopen.com
246 Fault Detection
To test transient fault and hard fault for the SBW System with mechanism, three manually
operated switched are wired between the angular sensors coupled with pinion and D1401.
Also, to test soft fault, Simulink blocks with signal-increasing, signal-attenuating and
phase-shifting functions are added into the SBW System.
After manually operated switches and Simulink blocks are made, the ability of detecting
fault using FDIA algorithm with transient, hard, and soft faults respectively was tested.
In testing transient fault, the transient-fault signal is made by quickly turning off and then
turning on a manually operated switch with a selected sensor coupled with pinion. Thus,
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 247
a transient signal can be created for testing purpose. After doing experiment, the FDIA
interface (Figure 18) represents the detection of transient fault with 2; it shows that the
FDIA interface is able to record the times of transient fault. Certainly, the interface keeps
the times of transient fault (Figure 18) after transient fault is removed (Figure 19).
Next, we test persistent zero with FDIA interface. The persistent-zero signal is created by
turning off the manually operated switch with a selected sensor on pinion. Then, the
interface immediately reports a fault state of the selected sensor (Figure 20). Later, once
the switch is turned on (Figure 20), the fault state is updated as fault-out (Figure 21).
Fig. 20. Fault state reported by FDIA interface for persistent zero with 2(circled area)
To test the attenuating-amplitude fault with FDIA interface, the ControlDesk interface
creates a decreasing-amplitude fault with a selected , and fault detection from FDIA
interface is then observed (Figure 22). After the test was completed, it was noted that
attenuating-amplitude fault is removed, and then it was observed that the FDIA interface
updated the fault state (Figure 23).
www.intechopen.com
248 Fault Detection
Fig. 22. Fault state reported by FDIA interface for attenuating amplitude with 2 (circled
area)
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 249
www.intechopen.com
250 Fault Detection
For this fault case, the impact of the predictor with various prediction horizons is studied.
Here the fault detection times are recorded for each prediction horizon selection. After
completing the experiment with all selected prediction horizon, the result for attenuating-
type fault is shown in Figure 24. It is clear that selecting higher number of horizon makes
the FDIA report the detecting speed faster. Again, this result is similar to the ones tested
in software-simulation experiment (Hasan & Anwar, 2008).
Similarly, to test variable-phase-shift fault with FDIA interface, the interface creates a
variable-phase-shift fault with a selected , and fault detection from FDIA interface is then
observed (Figure 25). After the test was completed, it is noted that the fault is removed,
and then it was observed that the FDIA interface updated fault state. (Figure 26).
Finally, in verifying the performance with varying-phase-shifting-type fault, the result
shows that selecting a higher number for prediction horizon makes the FDIA report the
detecting speed slower (Figure 27). However, this result is different that the once as tested
in (Hasan, 2007) using software-simulation.
Fig. 25. Fault state reported by FDIA interface for variable phase shift with 2 (circled
area)
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 251
Fig. 27. Horizon versus fault-detecting speed for variable phase shift.
www.intechopen.com
252 Fault Detection
Fig. 28. Phase change occurring when variable phase shift happens with different horizon
www.intechopen.com
Fault Detection, Isolation, and Control of Drive By Wire Systems 253
7. References
Anwar, S. (2005). Generalized Predictive Control of Yaw Dynamics of a Hybrid Brake-By-
Wire Equipped Vehicle. Mechatronics, Vol. 15, November, 2005, pp. 1089-1108.
Anwar, S. & Chen, L. (2006). Analytical Redundancy Based Fault Tolerant Control of a
Steer-By-Wire System, American Society of Mechanical Engineers (ASME), Dynamic
System and Control Division (Publication) DSC, November, 2006, Chicago, IL.
Clarke, D. W., Mohtadi, C., & Tuffs, P. S. (1987). Generalized Predictive Control – Part I:
The Basic Algorithm, Automatica, Vol. 23, No. 2, 1987, pp. 137-148.
Dong, Y. & Hongyue, Z. (1996). Optimal Design of Robust Analytical Redundancy for a
Redundant Strapdown Inertial Navigation System, Control Engineering Practice,
Vol. 4, No. 12, 1996, pp. 1747-1752.
Gertler, J. (1992). Analytical Redundancy methods in Fault Detection and Isolation, IFAC
Fault Detection, Supervision and Safety for Technical Processes, Vol. 06, pp. 09-21,
1992, Baden – Baden, Germany.
Hasan, M. S. (2007). Sliding Mode Observer and Long Range Predictive Based Fault
Tolerant Control of a Steer-By-Wire Equipped Vehicle, M.S. Thesis, Indiana
University Purdue University Indianapolis, 2007, pp. 16-39.
Hasan, M. S. & Anwar, S. (2008), Sliding Mode Observer and Long Range Predictive
Based Fault Tolerant Control of a Steer-By-Wire Equipped Vehicle, SAE World
Congress and Exposition, Paper No. 2008-01-0903, April, 2008.
Isermann, R., Schwarz, R. & Stolzl, S. (2002). Fault-Tolerant Drive-By-Wire Systems, IEEE
Control Systems Magazine, Vol. 22, No. 5, October 2002, pp. 64-81.
Nise, N. S. (1994). Control Systems Engineering, 2nd Edition, Addison-Wesley, 1994.
Niu, W. (2009). Fault Tolerant Control Of A Steer By Wire System Using Nonlinear
Observer And Predictive Method On Hardware In Loop Bench, M.S. Thesis,
Indiana University Purdue University Indianapolis, 2009.
Shibahata, Y. (2005). Progress and Future Direction of Chassis Control Technology,
Annual Reviews in Control, Vol. 29, No. 1, 2005, pp. 151-158.
Stotsky, A. & Hu, X. (1997). Control of Car-like Robots using Sliding Mode Observers for
Steering Angle Estimation, Proceedings of the 36th Conference on Decision & Control,
December, 1997, San Diego, CA, USA.
Suzuki, H., Kawahara, T., Matsumoto, S., Ikeda, Y., Nakagawa, H., & Matsuda, R. (1999).
Fault Diagnosis of Space Vehicle Guidance and Control Systems Using Analytical
Redundancy, Space Technology, Vol. 19, No. 3-4, 1999, pp. 173-178.
Utkin, V., Guldner, J., & Shi, J. (1999). Sliding Mode Control in Electromechanical Systems,
Taylor & Francis, 1999.
Venkateswaran, N., Siva, M. S., & Goel, P. S. (2002). Analytical Redundancy Based Fault
Detection of Gyroscopes in Spacecraft Applications, Acta Astronautica, Vol. 50,
No. 9, 2002, pp. 535-545.
www.intechopen.com
254 Fault Detection
www.intechopen.com
Fault Detection
Edited by Wei Zhang
ISBN 978-953-307-037-7
Hard cover, 504 pages
Publisher InTech
Published online 01, March, 2010
Published in print edition March, 2010
In this book, a number of innovative fault diagnosis algorithms in recently years are introduced. These
methods can detect failures of various types of system effectively, and with a relatively high significance.
How to reference
In order to correctly reference this scholarly work, feel free to copy and paste the following:
Sohel Anwar (2010). Fault Detection, Isolation, and Control of Drive By Wire Systems, Fault Detection, Wei
Zhang (Ed.), ISBN: 978-953-307-037-7, InTech, Available from: http://www.intechopen.com/books/fault-
detection/fault-detection-isolation-and-control-of-drive-by-wire-systems