Steer by Wire

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

IAEAC 2021(ISSN 2689-6621)

Simulation of Automobile Brake System Based on


PID Algorithm
Zhi Liu
2021 IEEE 5th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC) | 978-1-7281-8028-1/20/$31.00 ©2021 IEEE | DOI: 10.1109/IAEAC50856.2021.9390707

Electrical Engineering College


Henan University of science and technology
Luoyang, China
782509087@qq.com

Abstract—The automobile safety system has become an strategies are adopted according to different vehicle speeds.
important part of automobile research and development. The The main control principles are as follows: anti-slip control
driving anti-slip control system can make full use of the principle at the vehicle start and acceleration stage, anti-slip
maximum adhesion of the ground and prevent the excessive control principle at medium speed of vehicle running and
slip of the driving wheel in the starting and accelerating anti-slip control principle at high speed of vehicle running
driving process on low adhesion, separation and split roads, [4]. The pertinence control is implemented according to the
so as to improve the tractive trafficability, directional stability car in different driving stages, so that the driving condition
and steering maneuverability of the vehicle. In this paper, of the vehicle to achieve the best.
simulation model of ABS Vehicle based on single wheel is
designed in which PID control algorithm is adopted. There are many control methods for driving anti-slip,
Simulation results show that the slip rate becomes stable by and logic threshold control is the most common control
online adjusting Kp, Ki, Kd three parameters properly. The method. With the improvement of people's requirements for
PID control can be well applied in anti-sideslip of automobile. vehicle safety and the development of engine technology,
hardware and software technology, electronic technology
Keywords—PID control, anti-slip control, automobile and automatic control technology, in order to explore and
braking, PID parameter seek more effective, simple and feasible control method,
I. INTRODUCTION many scholars and experts at home and abroad begin to
study the control method of driving anti-slip. After a lot of
Nowadays, the driving safety of vehicles has been theoretical research and analysis, the vehicle drive anti-slip
widely concerned by people, and people's requirements for control is developing in the direction of practicality and
the safety performance of vehicles are constantly diversification[5]. With the development of automobile
improving[1]. Therefore, the automobile safety system has anti-slip control system, the control technology has been
become an important part of automobile research and relatively mature, mainly including traditional logic
development. Acceleration slip regulation (ASR) is an threshold control, PID control based on classical control
active safety device, which can make the driving wheel of theory, optimal control based on modern control theory,
the vehicle get the best longitudinal driving force under the sliding mode variable structure control and fuzzy intelligent
bad road and complex road conditions according to the control based on intelligent control[5].
driving behavior of the vehicle, and can prevent the driving
wheel from excessive slip during the driving process, such The logic threshold control method is common used. By
as starting, accelerating, turning and so on, so as to maintain analyzing the acceleration and deceleration in the process of
the directional stability and steering control ability and automobile braking, the threshold value is set up to control
improve the driving efficiency high acceleration the wheel speed in real time. The control method is simple.
performance, etc. Automotive safety system is an important However, due to different vehicle models and different
part in the field of automotive research. It is a research roads, the threshold values are not the same, the control
direction of automotive industry to deeply study automotive effect is not accurate enough, and a long braking distance is
active safety devices, and improve the vehicle handing and required[6]. Compared with other braking methods, sliding
ride comfort in acceleration, turning and other driving mode variable structure control can obtain better braking
processes in harsh and complex road conditions[2]. efficiency, but in the process of using this method, how to
select the parameters is an important aspect of sliding mode
The driving anti-slip control system realizes the best variable structure control. The fuzzy control method is
traction performance of driving wheels by adjusting the slip similar to the fuzzy reasoning method of human brain,
ratio of driving wheels. Its principle is to make the car which can form certain control rules combined with
automatically control the wheels in the slip ratio range with practical experience[6]. Fuzzy control method does not
large longitudinal and lateral adhesion coefficients. On hard need to establish an accurate mathematical model, it has
road, the best slip ratio of driving wheel is about 15% - good robustness, but relatively, control accuracy is difficult
30%[3]. The driving anti-slip control system can make full to control. PID control has been widely used in various
use of the maximum adhesion of the ground and prevent the fields, through the error feedback control, the ideal control
excessive slip of the driving wheel in the starting and effect can be obtained as long as the specific target value is
accelerating driving process on low adhesion, separation selected.
and split roads, so as to improve the tractive trafficability,
directional stability and steering maneuverability of the As far as the anti-lock braking process is concerned,
vehicle. each control algorithm has certain advantages under
different working conditions and driving conditions.
II. CONTROL METHOD OF DRIVING ANTI-SLIP Compared with the comprehensive performance, the PID
The anti-slip control strategy is different according to control algorithm has high performance in the realization
different driving conditions. At present, different control method and control precision. Therefore, in this paper, the

978-1-7281-8028-1/21/$31.00 ©2021 IEEE 2768

Authorized licensed use limited to: Cornell University Library. Downloaded on May 24,2021 at 16:02:12 UTC from IEEE Xplore. Restrictions apply.
PID algorithm is used in the simulation modeling when the where, m is the mass of the whole vehicle; v is the speed of
controller is designed. the vehicle; Fx is the ground braking force; I is the moment
of inertia of the wheel; R is the rolling radius of the wheel;
III. SIMULATION MODEL OF ABS VEHICLE BASED ON  is the angular velocity of the wheel; Mb is the braking
SINGLE WHEEL torque; μ is the adhesion coefficient between the wheel and
Automobile is a complex nonlinear system. Under the ground; N is the normal reaction of the wheel to the
different working conditions, the engine has different ground.
working characteristics. The wear characteristics of tire and
brake, the change of vehicle speed and load and many other v  wr
factors make the system show a strong time-varying  S  * 100% 
characteristics. In addition, the working environment of the v
automobile is complex, so the anti-interference ability of the
system is required. Rapid and agile control is another where S is the vehicle slip ratio; v is the vehicle body speed;
important factor in the control process. Most of the control w is the wheel angular speed; r is the wheel radius [8].
systems require milliseconds or even shorter, which limits Based on this, the Simulink model of single wheel ABS
the application of complex control algorithms, because vehicle is established.
complex algorithms can not meet the requirements of fast
and agile control; However, too simple control algorithm As shown in Figure 2, the Simulink model based on
can not get ideal control effect, and can not meet the single wheel anti-lock braking vehicle is established.
requirements. All of these bring great difficulties to the
design and research of drive anti-slip control system. Due
to the rapid development of computer and the demand of
modern control theory, some complex control algorithms
have been applied in some industrial production, such as
nonlinear control, optimal control, adaptive control, etc. In
terms of control theory, the main control methods that can
effectively control the excessive slip of automobile driving
wheels are logic threshold control, PID control, fuzzy
control, neural network control, sliding mode variable
structure control and optimal control[7]. This paper mainly
studies PID control.
In order to simplify the research problem, the single
wheel vehicle system model is adopted, the effect of load Fig. 2. Simulink model of single wheel ABS vehicle
transfer, air resistance, wheel rolling resistance, suspension
system and steering system is ignored. The single wheel This model is used in the process of anti-lock braking.
vehicle model is shown in Figure 1. Slip ratio is the main control parameter. The main control
aim is to make the slip ratio of the wheel as close to or equal
to the optimal slip ratio of 0.2 [7].

TABLE I. VEHICLE RELATED PARAMETERS

1/4 Vehicle mass m/kg 390

Wheel moment of inertia J/kgm2 1.7

Wheel radius R/m 0.3

Acceleration of gravity g/ms-2 9.8


Fig. 1. Schematic diagram of single wheel vehicle model Optimum slip ratio Sc 0.2

Vehicle motion equation: Peak adhesion coefficient s 0.8

Adhesion coefficient of brake lock g 0.7


1
mv  Fx  Initial speed during braking V0/ms-1 20
4
Brake proportional factor 3000
Wheel motion equation:
IV. PID PARAMETER SIMULATION OF BRAKING PROCESS

I   Fx R  M b  A. PID Algorithm
Since the emergence of PID controller, it has been
Wheel longitudinal friction: rapidly developed and widely used in the field of industrial
control. It has the advantages of simple structure, easy
implementation and good performance, and is widely used
Fx  N   in different fields. When other technologies of control

2769

Authorized licensed use limited to: Cornell University Library. Downloaded on May 24,2021 at 16:02:12 UTC from IEEE Xplore. Restrictions apply.
theory are difficult to adopt, the structure and parameters of In the simulation, we make a more complete simulation
the system controller must be determined by experience and on the braking process, which is an important part.
on-site debugging[9]. That is, when we do not fully
understand a system and controlled object, or can not obtain B. Simulation Debugging
system parameters through effective measurement means, it According to the existing model and vehicle system
is the most convenient way to apply the PID control parameters, in the absence of PID control, when the vehicle
technology. brakes at high speed, there will be serious locking
phenomenon. In order to compare with the PID control
PID control algorithm has been well applied in system, we simulate the braking process without PID
production, because it does not need accurate model, nor control. The simulation results are as follows:
does it need the linearity of the system, so the algorithm is
simple and reliable. Therefore, it has been well applied in
the industrial field. The PID control algorithm is simple and
convenient. As long as the proportional Kp, integral Ki and
differential coefficients Kd are properly adjusted, the ideal
control effect can be obtained.
In this paper, the method of trial and error is used.
The Steps of adjusting PID parameters by using trial and
error method:
When |e(t)| is large, in order to speed up the response
speed of the system and reduce or eliminate the static error
in a short time, Kp should be increased, so that the time
constant and damping coefficient of the system can be
reduced. But Kp should not be too large, otherwise the
system will be unstable; In order to avoid the large
overshoot of the controlled object which may be caused by
the system at the beginning of control, the smaller Kd should
be taken in order to speed up the response time of the system. Fig. 3. Slip ratio without PID control
In order to avoid the large overshoot, the integral coefficient
Ki can be taken as zero. It can be seen from figure 3 that without PID control, the
When |e(t)| is in medium size, smaller Kp should be wheel speed oscillates repeatedly, which leads to serious
taken to reduce the overshoot of system response. At this divergent oscillation of slip rate, which can not be stabilized
time, choosing a reasonable Kd value is the key. In order to within the controllable range, and the phenomenon of
ensure the response speed of the system, Kd value should be multiple dead time occurs, which further affects the braking
appropriate. At this time, Ki value can be increased performance and further diverges.
appropriately, but not too much. Due to the repeated oscillation of slip rate, we can also
When |e(t)| is small, in order to make the system have see from figure 4 that the braking torque is also seriously
good stability performance, larger Kp and Ki can be used. In unstable.
order to avoid the oscillation of the system at the
equilibrium point, the value of Kd should not be too large or
too small.
In the PID controller, the choice of parameters is not
unique. According to the needs and the changes of the
system, each parameter can be adjusted effectively and
reasonably. The effects of Kp, Ki and Kd are different. In the
actual control process, the decrease of one parameter can be
compensated by the increase of other parameters. Therefore,
it is possible to get the same control effect with different
setting parameters.
In the drive anti-slip control, PID is based on the sliding
rate to implement proportion, integral and differential on
error signal, and finally send the sum of them to the
controlled object. In the drive anti-slip control, the
difference between the target slip rate and the actual wheel
Fig. 4. Braking torque without PID control
slip rate is taken as the input of the system. According to the
change of the slip rate, the throttle opening angle is Figure 5 below shows the comparison of wheel speed
calculated and fed back to the engine to adjust the output and vehicle speed without PID control:
torque of the engine, or the braking torque is controlled by
controlling the braking system to make the slip rate near the
target slip rate [10, 11].

2770

Authorized licensed use limited to: Cornell University Library. Downloaded on May 24,2021 at 16:02:12 UTC from IEEE Xplore. Restrictions apply.
The I link can increase the system type and achieve no
steady-state error or reduce the steady-state error. However,
it will also make the system stability worse, as shown in
Figure 8. As shown in Figure 9, when the proportion link is
appropriate, taking an inappropriate I value will also lead to
the instability of slip ratio [12].
D Link can achieve effective state prediction, which
improves the stability of the system, but it is not easy to
achieve large D value in practical application.

Fig. 5. Wheel braking process without PID control, red for vehicle speed,
blue for wheel speed

As can be seen from figure 6, without control strategy,


when braking, the wheels will lock up seriously. Simple
feedback brake will cause serious oscillation of wheel speed
and creeping of vehicle speed, resulting in dangerous
phenomena such as sideslip and rollover.
Finally, without PID control, the braking distance will
Fig. 7. Slip rate when P link is too large
be short, but in fact, the tire will not be as stable as the ideal
state in the simulation when it is completely locked, the
sudden situation such as sideslip and rollover will happen
and lead to brake failure and traffic accidents.

Fig. 8. System instability caused by too large I link

Fig. 6. Braking distance without PID control

Compared with the above control effect without PID,


the simulation is carried out after adding PID regulator in
the slip rate control part. PID controller is a kind of linear
controller. According to the control deviation between the
given value r(t) and the actual output c(t), the simulation
model of PID controller is added as a subsystem to the
controller box of Simulink model of single wheel anti-lock
braking (ABS) vehicle in Figure 2. Thus, the simulation
diagram of the whole system is formed.
In the process of adjustment, P link is adjusted firstly.
The larger the proportion link, the higher the accuracy of the
system, the faster the adjustment speed will be. But too large
proportion link will cause the system to lose stability. So
first we adjust the appropriate P value. It can be seen from Fig. 9. The adjustment process of D makes the system stable gradually
figure 7 that when P value is too large, the slip rate diverges,
where P value is 100.

2771

Authorized licensed use limited to: Cornell University Library. Downloaded on May 24,2021 at 16:02:12 UTC from IEEE Xplore. Restrictions apply.
According to the law of PID regulation method and by
using trial and error method, the appropriate control
proportion is finally determined, where Kp=10.4, Ki=0.62,
and Kd =1, the simulation result of slip rate is shown in
Figure 10.

Fig. 12. Response curve of braking torque

Fig. 10. Slip rate curve of the system under PID control

From the figure, we can see that after PID adjustment,


the slip rate tends to the final stable state of 0.2 in a
relatively short time.
After adjusting the slip rate, the characteristics of other
state parameters of the system are surveyed, as shown in
Figure 11, which shows the comparison of wheel speed and
Fig. 13. Response curve of braking distance
vehicle speed. It can be seen from the figure that, compared
with the case without PID control, both wheel speed and
It can be seen from the figure that the braking torque
vehicle speed have achieved a smooth decline, and the
increases sharply at the initial time, but tends to be stable in
relative speed is low and stable. This shows that the ABS
a very short time. At the same time, the wheel force also
system is very important.
tends to be stable, so that the slip rate gradually becomes
stable. Because there is a reverse braking process in the
braking process, the braking distance in the ideal state is
increased, in the actual situation, this will greatly increase
the safety performance, and greatly reduce the probability
of sideslip in the braking process.
Through the simulation curve image and PID control
slip rate curve based on the PID control method, it can be
seen that PID control can get better control effect by online
adjusting Kp, Ki, Kd three parameters.
V. CONCLUSION
PID control not only has good adaptability, but also has
the advantages of both control precision and control speed.
Fig. 11. Simulation results of PID control of the system. Blue is wheel It has high control precision, less braking time, fast response
speed and red is vehicle speed of slip rate curve and small overshoot. PID control can be
well applied in anti-sideslip of automobile. This paper only
The below figure shows the response curve of braking studies on the basis of single wheel model. It can not explain
torque and braking distance. the whole vehicle situation very well. In the future research,
we will develop two-wheel model or four-wheel model on
the basis of improving the single wheel model, and
introduce more external conditions of the vehicle, such as
road conditions, steering angle and so on, to simulate and
get more accurate results.
REFERENCES
[1] Zhiguang Zhou, Guixiang Zhang, "Research of Variable Pavement
Vehicle SBC Based on Adaptive RBF Neural Network Sliding
Mode Control", 2009 International Conference on Electronic
Computer Technology, 2009, pp.536-540.

2772

Authorized licensed use limited to: Cornell University Library. Downloaded on May 24,2021 at 16:02:12 UTC from IEEE Xplore. Restrictions apply.
[2] Jialin Tian, Yi Zhou, Lin Yang, Shuhui Hu, "Analysis of stick-slip [8] Xu, Huadong, "Simulation on TPMS based on neural network PID
reduction for a new torsional vibration tool based on PID control", control", 2011 International Conference on Mechatronic Science
Proceedings of the Institution of Mechanical Engineers, Part K: Electric Engineering and Computer (MEC), 2011, pp.205-208
Journal of Multi-body Dynamics, 2019, 82-94. [9] Li, Zhanqi, Jiansen Yang, and Quanzhou Liu, "Research on Road
[3] Chen, Wuwei, Hansong Xiao, Qidong Wang, Linfeng Zhao, and Adhesion Conditions Recognition in Automotive ABS Control
Maofei Zhu, "Longitudinal Vehicle Dynamics and Control", Process", ICTIS 2013, 2013.
Integrated Vehicle Dynamics and Control, 2016. [10] Fan, Xiao Bin, Bing Xu Fan, and Hui Gang Wang, "Study on
[4] Tingting Yang, Yuejun Guo, Yi Zhou, Siwen Wei. "Joint Control Technology for Vehicle Active Suspension", Applied
Communication and Control for Small Underactuated USV Based Mechanics and Materials, 2011, pp.69-73.
on Mobile Computing Technology", IEEE Access, 2019, pp.65-70 [11] Hao Zhu, Zhuoping Yu, Lu Xiong, Hui Zheng, "An Anti-Lock
[5] Sun, Xiang Cheng, Hai Chen Qin, and Jian Kui Chen, "Research on Braking Control Strategy for 4WD Electric Vehicle Based on
Application of Fuzzy PID Control in Linear Servo System", Applied Variable Structure Control", SAE International, 2013.
Mechanics and Materials, 2013, pp.556-562 [12] Liu, Xi Xia, Rui Wang, and Lei Yuan, "Design and Analysis on the
[6] Xinchun Li, "The Automatic Monitoring System of Rubber Anti-Lock Braking Control System of a Four-Wheel Vehicle",
Conveyer Paste Mixing", 2008 International Conference on Applied Mechanics and Materials, 2014, pp.864-869.
Intelligent Computation Technology and Automation (ICICTA),
10/2008, pp.1167-1170.
[7] Zhang, Zhen Sheng, Yong Qian Luo, and He Wei, "Engineering
Vehicle ABS Model Reference Self- Adaptive Control Strategy
Analysis and Simulation", Applied Mechanics and Materials, 2013,
pp.526-530.

2773

Authorized licensed use limited to: Cornell University Library. Downloaded on May 24,2021 at 16:02:12 UTC from IEEE Xplore. Restrictions apply.

You might also like