Hardware-In-The-Loop Simulation of Steer-By-Wire System in Automotive Vehicle
Hardware-In-The-Loop Simulation of Steer-By-Wire System in Automotive Vehicle
Hardware-In-The-Loop Simulation of Steer-By-Wire System in Automotive Vehicle
net/publication/309382553
CITATION READS
1 488
2 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Investigation on Performance of Parameter Magnitude-Based Criterion for Optimum Model Structure Selection in System Identification View project
Discrete-Time System Model Identification using Genetic Algorithm with Single-Parent Crossover Technique View project
All content following this page was uploaded by Md Fahmi Abd Samad on 01 November 2016.
Faculty of Mechanical Engineering, Universiti Teknikal Malaysia Melaka, Hang Tuah Jaya, 76100 Durian Tunggal, Melaka,
Malaysia
© 2016 The Authors. Published by IASE. This is an open access article under the CC
BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
51
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
properly. This is because of less optimum controller rotary encoder. MATLAB Simulink is the main
parameters, hardware failure or unconsidered software to run HILS for SBW system. It includes xPC
system uncertainties. To avoid this safety problem, a Target and Real-Time Workshop as a controller for
middle step between simulation and experimental actuator and Visual Studio 2008 Express as a C
works namely HiLS is necessary. By using HiLS, the compiler.
performance of the controller and the functionality The DAQ PCI card which sends the digital output
of the SBW system can be evaluated at various and receives digital input is connected to Target PC.
conditions while avoiding unnecessary safety risks. The connection between Host and Target PC using
In this study, HiLS of SBW system which consists crossover network cable is to give input signal to
of 14 degree-of-freedom (DoF) vehicle model, hardware driver. From the Host PC, the input signal
conventional steering linkages driven by electric goes to the Target PC and driver motor reads from
motor, sensors and signal processing unit has been DAQ card in digital input. The DAQ PCI card converts
developed. The 14-DoF vehicle model consists of from digital input to analog input to run the stepper
ride and handling model coupled by Calspan tire motor. The pinion rotation angle signal is transferred
model. The HiLS has three main subsystems namely to DAQ through rotary encoder. Then the DAQ PCI
vehicle model, controller and real steering system. card converts it to digital output and display the
Proportional-integral-derivative (PID) control graph on Target PC. The results will be saved on Host
optimized with Ziegler-Nichols method is used to PC after sending to workspace on xPC Target
control the electric motor to drive the rack-pinion Explorer. Fig. 1 shows the HiLS setup for SBW
system. The performance of the SBW system is system.
tested for some standard steering maneuver tests
namely step steer, double lane (DLC) change and
slalom tests. The study contributes to the wealth of
knowledge by demonstrating a new type of control
method on HiLS of SBW, by achieving agreement
between simulation and HiLS setup and also by
testing on various maneuver styles.
This paper is organized as follows: The first
section contains introduction and review of some
relevant preliminary works as well as the
justification on the proof of concept of SBW control
using HiLS. The second section presents the
structure of the HiLS test rig developed in this study
and the proposed control structure of the SBW Fig. 1: HiLS setup for SBW system
system. This is followed by the structure of 14-DoF
vehicle model and the steering system modeling in 2.2. Control structure
the third section. The simulation and experimental
results of SBW system for three maneuvering tests The SBW system uses actuator to control the
are presented in the fourth section. The final section pinion rotation and ensures the vehicle follow the
contains conclusions. desired trajectory. The performance of the steering
is based on the controller that is used on the system.
2. Experimental setup The actuator will track the steering input position to
follow the desired angle from the steering wheel.
2.1. HiLS test rig of SBW system Based on the conventional steering characteristics,
the SBW system has been developed in term of the
HiLS system is a method that can give more ratio and the response with optimized controller.
advantages for cost and safety (Seungkyu et al., The control structure is developed in MATLAB
2009). This is because the experiment can be carried Simulink to control the SBW system as shown in Fig.
out as a real time situation to replace the actual test 2. Based on the Fig. 2, PID control optimized with
of a real vehicle. HiLS system is processed in the Ziegler-Nichols is used to control the stepper motor.
main computer called Host PC and the steering The optimized PID value will control the system to
system is replaced by the HiLS mechanism. The follow exactly the desired input of steering wheel
pinion rotation executes real time control in the HiLS angle. Fig. 3 shows the structure of PID control with
system. This section describes the hardware design learning rate.
in the HiLS system and the steering control. The The parameters of PID will be optimized by
actuator is attached on the pinion to rotate the learning rate value. Eq. 1-3 show that the value of
pinion. The actuator driver and rotary encoder are learning rate is multiplied with error and output
connected to data acquisition (DAQ) PCI card. DAQ error corresponding to each PID parameter.
PCI card is connected with PCI-based network card
where PCI-based network card is located on Target ̇ (1)
PC. Host PC and Target PC are connected using ̇ (2)
crossover network cable. AC/DC power supply ̇ (3)
functions to supply voltage to the actuator and the
52
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
where, the learning rate is denoted as , the error The parameters for PID control will self-tune to
value denoted by . optimal value for the system.
53
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
that the output from the simulation follows the Eq. 10 and 11 can be expressed as
experimental result for the steering input. where,
The steering system model included an actuator
and the steering linkage model. The stepper motor is
used as an actuator to control the pinion rotation. (13)
The stepper motor model (Morar, 2003) is (14)
developed to run the steering control in simulation.
The general equation between voltage and current in (15)
a stepper motor is shown in Eq. 4 where emf is the
electromotive force, R is coils resistance, L is coils The value of is the solution of a quadratic
inductance and I is coils current. equation that is obtained from the kinematic
equations in Eq. 10 and 11. The equation can be
( )
( )
(4) written as,
√
where, U is the supplied voltage. The electromotive (16)
force emf can be written as: √
(17)
[ ( ) ] (5) (18)
where, is the motor constant, ( ) is the actual The steering system model in MATLAB Simulink
rotor position, is the location of coil j in the is shown in Fig. 6. This model is developed based on
stator, is the rotational velocity and n is the Eq. 10-18 above. This model consists of an actuator
numbers of rotor pole pairs. model and the controller. From the Fig. 6, it shows
Then, all resistance and inductance coils can be the pinion as input and the wheel angle as output
expressed in the Laplace domain as shown in Eq. 6 which then function as input for vehicle model.
below.
(6)
∑ (7)
4.1. Simulation and experimental results
∑ (8)
SBW system is performed with 3 different
conditions namely step steer, slalom and DLC tests.
The rack and pinion linkage model is formulated Each test is run with constant speed at 80 kmph. The
as kinematic equations based on a six bar planar tests are selected to observe the performance of the
linkage (Hanzaki et al., 2007, Nasir, 2015). The steering response for SBW system. Step steer test is
kinematic equation for the rack and pinion can be selected to observe response timing. The DLC and
written in Eq. 9 below where is the wheel track, slalom test are for measures of the maneuverability
is rack length and is the rack travel shown in Fig. of the vehicle. The output for every test is analyzed
5. such as steering wheel angle, lateral displacement,
lateral acceleration, body slip angle, yaw angle and
(9) yaw rate.
From Eq. 9, it produces cosine and sine functions 4.2. Step steer test
in term of scalar components where h is distance
from front wheel axis, is tie rod length and is The step steer test was run at 80 kmph constant
steering arm length. b is an arbitrary parameter as speed and the steering is quickly turned to 30 degree
shall be further explained in Eq. 10. In c and s to represent sudden change. From the graph of
notations for cosine and sine, respectively; steering wheel angle in Fig. 7(a), the experiment
results closely follow the simulation trend. It has a
(10) bit delay between simulation and experiment but
(11)
less than 1 second. The response is considered
(12)
acceptable because from the lateral displacement
graph in Fig. 7(b) both results are similar. The lateral
acceleration graph in Fig. 7(c) shows the value for
54
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
simulation and experiment are both around 0.35 g’s. Fig. 7(d)-(f), the experiment results still follow the
While for body side slip, yaw rate and yaw angle in simulation pattern.
1 pinion rack u2
pinion
Saturation1 Saturation Math
Linear equation Function
c
z1
s atan2 180/pi
-1
Subsystem Trigonometric
Gain1 Subtract8
Function Gain2
b2
z1
b2 k u2 k2 11.1551
-1 1
Math z2 Constant3
k+b wheel angle
Function5 Switch Gain4
Subsystem2
Subsystem3
c
z2
Add2 s atan2 180/pi
(e)
(a)
(f)
(b) Fig. 7: Results of simulation and HiLS for step steer test
(c)
55
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
56
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
the SBW system was developed based on the the Promotion of Mechanism and Machine
conventional system characteristics. The vehicle (IFToMM) Congress, Besancon, France.
model used on the system was based on a real
Hudha K, Jamaluddin H and Samin PM (2008).
vehicle for linkage with HiLS. From the vehicle
Disturbance rejection control of a light armoured
model, the steering input for step steer, DLC and
vehicle using stability augmentation based active
slalom tests show the result for lateral displacement,
suspension system. International Journal of
body slip angle, lateral acceleration, yaw angle and
Heavy Vehicle Systems, 15(2-4): 152-169.
yaw rate. Using the selected controller, the
simulation and experimental results of steering Hudha K, Zakaria MH and Tamaldin N (2011).
response for every test were compared. The results Hardware in the loop simulation of active front
for every test show that the SBW system follows the wheel steering control for yaw disturbance
simulation and has good response with the provided rejection. International Journal of Vehicle Safety,
input. 5(4): 356-373.
Ikenaga S, Lewis FL, Campos J and Davis L (2000).
Acknowledgements
Active suspension control of ground vehicle
based on a full-vehicle model. IEEE conference of
We acknowledge the support of Universiti
American Control, 6: 4019-4024.
Teknikal Malaysia Melaka and sponsorship of
Https://doi.org/10.1109/ACC.2000.876977
Ministry of Science, Technology and Innovation
Malaysia through National Science Fellowship. Jang SH, Park TJ and Han CS (2003). A control of
vehicle using steer-by-wire system with
References hardware-in-the-loop simulation system.
Proceedings of Advanced Intelligent
Ahmad F, Hudha K, Imaduddin F and Jamaluddin H Mechatronics (AIM 2003), 1: 389–394.
(2010). Modelling, validation and adaptive PID
Kim CJ, Jang JH, Yu SN, Lee SH, Han CS and Hedrick JK
control with pitch moment rejection of active
(2008). Development of a control algorithm for a
suspension system for reducing unwanted vehicle
tie-rod-actuating steer-by-wire system.
motion in longitudinal direction. International
Proceedings of the Institution of Mechanical
Journal of Vehicle Systems Modelling and Testing,
Engineers, Part D: Journal of Automobile
5(4): 312-346.
Engineering, 222(9): 1543-1557.
Ahmad FB, Hudha K and Jamaluddin H (2009). Gain
Morar A (2003). Stepper motor model for dynamic
scheduling PID control with pitch moment
simulation. Acta Electrotehnica, 44(2): 117-122.
rejection for reducing vehicle dive and squat.
International journal of vehicle safety, 4(1): 45- Nasir MZM, Dwijotomo A, Amir MZ, Abdullah MA,
83. Hassan MZ and Hudha K (2012). Position tracking
of automatic rack and pinion steering linkage
Bachmeyer PJ (2008). Simulation-based design
system through hardware in the loop testing.
strategies for component optimization in steer-
IEEE Conference of Control and System Graduate
by-wire applications. M.Sc. Thesis, North Carolina
Research Colloquium (ICSGRC), Shah Alam,
State University.
Selangor: 111-115.
Balachandran A and Gerdes JC (2015). Designing Https://doi.org/10.1109/ICSGRC.2012.6287145
steering feel for steer-by-wire vehicles using
Oh SW, Chae HC, Yun SC and Han CS (2004). The
objective measures. IEEE/ASME Transactions on
design of a controller for the steer-by-wire
Mechatronics, 20(1): 373-383.
system. JSME International Journal Series C,
Bertoluzzo M, Buja G and Menis R (2007). Control 47(3): 896-907.
schemes for steer-by-wire systems. IEEE
Oncu S, Guvenc L, Ersolmaz S, Ozturk S, Kilic N and
Industrial Electronics Magazine, 1(1): 20-27.
Sinal M (2007). Steer-by-Wire Control of a Light
Cesiel D, Gaunt MC and Daugherty B (2006). Commercial Vehicle Using a Hardware-in-the-
Development of a steer-by-wire system for the Loop Test Setup. SAE Commercial Vehicle
GM Sequel. Proceedings from the 2006 SAE Engineering Congress and Exhibition, SAE
World Congress. SAE Technical Paper 2006-01- Technical Paper 2007-01-4198.
1173, doi:10.4271/2006-01-1173.
Park S, Hwang S, Oh Y and Lee U (2007).
Haggag S, Alstrom D, Cetinkunt S and Egelja A Development of the independent-type SBW
(2005). Modeling, control, and validation of an system. SAE World Congress and Exhibition, SAE
electro-hydraulic steer-by-wire system for Technical Paper 2007-01-1148.
articulated vehicle applications. IEEE/AsME
Park TJ, Han CS and Lee SH (2005). Development of
Transactions on Mechatronics, 10(6): 688-692.
the electronic control unit for the rack-actuating
Hanzaki AR, Saha SK and Rao PVM (2007). Modeling steer-by-wire using the hardware-in-the-loop
of rack and pinion steering linkage using multi- simulation system. Mechatronics, 15(8): 899-918.
body dynamics. 12th International Federation for
57
Mohd Zubir Amir, Md Fahmi Abd Samad / International Journal of Advanced and Applied Sciences, 3(9) 2016, Pages: 51-58
58