You are on page 1of 5

2017 5th International Conference on Mechanical, Automotive and Materials Engineering

Research on Adaptive Cruise Control Systems and Performance Analysis Using


Matlab and Carsim

Yang Ying, Ogunleye Odunayo Solomon


School of Mechanical Engineering and Automation
Northeastern University
Shenyang, China
e-mail: yangyang@mail.neu.edu.cn

Abstract—An application of mathematical control techniques nature of the control model presented and the effects
to the longitudinal dynamics of a vehicle equipped with an generated by difference sources on the performance of an
adaptive cruise control (ACC) system is presented. This study ACC system.
is carried out for the detailed understanding of a complex ACC
vehicle model under critical transitional maneuvers (TMs) in II. THE ADAPTIVE CRUISE CONTROL SYSTEM
order to establish safe inter-vehicle distance with zero range-
The task of ACC is to make the vehicle follow its
rate behind a preceding vehicle. The ACC vehicle is based on a
predecessor at a safe distance, and, in absence of an
nonlinear longitudinal model that includes vehicle inertial and
power train dynamics. The lower-level controller computes the obstructing predecessor, to drive with a predetermined
desired acceleration and deceleration commands for the upper- velocity[5]. While accomplishing this main task, ACC
level controller which then provides the throttle/brake should be able to achieve string stability. ACC should also
commands for the complex vehicle model. An application of a make sure that the acceleration and deceleration stay within a
PI controller algorithm to control the longitudinal dynamics of comfort zone. Furthermore, frequent switching between
an adaptive cruise control system equipped vehicle is presented applying throttle and brakes should be avoided
in this paper using Simulink to simulate the system. The The ACC controls the position and velocity of the
simulation results show that the adaptive cruise control system vehicle. It aims to make the velocity error and the position
can decrease the number of accidents and to reduce the impact error zero. The reference signal in the figure consists of the
of accidents. desired position, velocity, and possibly acceleration. The
desired velocity is often equal to the velocity of the
Keywords- adptive cruise control; simulink; proportional- predecessor. If following the other vehicle requires a desired
integral controller velocity that is higher than the preset velocity for free driving,
this preset velocity becomes the desired velocity. The desired
I. INTRODUCTION position is usually derived from a desired distance to the
As the traveling demand increased over the years, the predecessor. If there is no preceding vehicle to follow, there
highway networks were also expanded to meet the is no reference position, and only the velocity is
requirements. In order to overcome these problems an controlled[6]. If information from vehicles further along is
efficient infrastructure for the highway network is required. received through communication and used, this can be used
The concept of Automated Highway System (AHS) is one of to adapt the desired state values. An ACC vehicle in a
the approaches which are under considerable research to platoon is shown in Fig. 1.
overcome the problems. In the last few years the research
work has been focused to investigate how safety measures
and comfort level in urban areas and highway transportation
networks can be improved by means of on-board intelligent
driver assistance systems[1]. The main objectives for an
ACC vehicle to achieve are to reduce the number of
accidents by executing the higher deceleration or transitional Figure 1. ACC vehicle in a platoon.
maneuvers[2,3,4]. A survey reported a need for improvement
in the current ACC system especially during the Vehicles can use wireless communication to inform other
unsafe/uncomfortable reduction in speed which should take vehicles about their states and possibly send information
in account the physical limitations of the ACC-system about their expected states and (upcoming) throttle brake
equipped vehicles in order to avoid the collision or severity actions.
of the collision. An ACC system is the first step for collision III. VEHICLE MODEL
avoidance systems and can be beneficial to reduce
significantly the number of accidents or their severity. The model includes engine dynamic control system,
Before reviewing the relevant research work conducted in automatic transmission dynamic control system, and drive
the field of ACC systems, it is necessary to understand the train dynamic control system. The combination of all these
sub-systems forms a dynamic model of a complete vehicle

978-1-5386-0432-8/17/$31.00 ©2017 IEEE 249


which can be used to analyze and improve the response of To model the system we start with the block diagram in
the real vehicle [7]. Furthermore, this complex vehicle Fig. 3. Let Q be the speed of the car and Q r the desired
longitudinal control model, shown in Fig. 2, will be
(Target) speed. The controller, which typically is of the
analyzed in this study using the automotive vehicle
proportional-integral (PI) type, receives the signals Q and
following systems.
Q r generates a control signal u that is sent to an actuator
that controls the throttle position. The throttle in turn controls
the torque T delivered by the engine, which is transmitted
through the gears and the wheels, generating a force F that
moves the car. There are disturbance forces Fd due to
variations in the slope of the road, the rolling resistance and
aerodynamic forces. The cruise controller also has a human–
machine interface that allows the driver to set and modify the
desired speed[10]. There are also functions that disconnect
the cruise control when the brake is touched.
To develop a mathematical model we start with a force
Figure 2. The Vehicle Power train using Simulink.
balance for the car body. Let Q be the speed of the car, m
The models are built using the Simulink block then the the total mass (including passengers), F the force generated
vehicle model will be validated by comparing simulation by the contact of the wheels with the road, and Fd the
results with experimental test data. The vehicle equipped
disturbance force due to gravity, friction and aerodynamic
with the cruise control is a CARSIM model of a b-Class
drag. The equation of motion of the car is simply.
Sedan, which weighs 1650 kg. The physical layer of our
design is assumed to follow a given vehicle dynamic
F  Fd
dv
model[8,9]. CARSIM is commercially available vehicle m (2)
dynamics simulation software. It has a large database made dt
up of more than 150 libraries of datasets linked together.
Basically, two different types of model have been developed The force F is generated by the engine, whose torque is
for the purpose of controller synthesis. proportional to the rate of fuel injection, which is itself
proportional to a control signal 0 ≤ u ≤ 1 that controls the
IV. PI CONTROLLER FOR THE ACC SYSTEM throttle position. The torque also depends on engine speed.
We add to this model a feedback controller that attempts
The cruise control system of a car is a common feedback
to regulate the speed of the car in the presence of
system encountered in everyday life. The system attempts to
disturbances. We shall use a proportional-integral controller,
maintain a constant velocity in the presence of disturbances
which has the form
primarily caused by changes in the slope of a road. The
controller compensates for these unknowns by measuring the
speed of the car and adjusting the throttle appropriately.
ut K pe t  Ki ³ e W dWt 0 (3)

This controller can itself be realized as an input/output


K p S  Ki dynamical system by defining a controller state z and
Y s (1)
U S mS 2  b  K p S  Ki implementing the differential equation.

Now considering Proportional control and integral


dzdt vr  v, u K p vr  v  Ki z (4)
control, the closed loop transfer function of the cruise control
system with PI controller is obtained, as in Eqn. (1). where Q r is the desired speed. the integrator (represented by
the state z ) ensures that in steady state the error will be
driven to zero, even when there are disturbances or modeling
errors.
A. Upper Level Controller
The main functionality of the upper level controller is to
compute the desired acceleration for the ACC-equipped
vehicle that achieves the desired spacing or velocity. The
upper level controller, using the driver inputs, the radar
measurements, and the current distance and velocity of the
ACC-equipped vehicle relative to a leading vehicle,
Figure 3. Block diagram of a cruise control system for an automobile. computes the desired acceleration that is required to achieve
the desired spacing or velocity[11]. The computed
acceleration command is sent to the lower level controller to

250
compute and implement the corresponding actuation be applied. Here, engine control is set to zero i.e. cancel
commands as needed. The upper level controller can operate throttle. It adds no input throttle when deceleration is greater
in two main control modes. than desired distance and the brake control should be applied.
(a) Velocity Control: In this mode, the radar does not Otherwise, the throttle input is applied when deceleration is
detect any vehicle in the path of the ACC-equipped vehicle. less or equal to zero.
In this mode, the ACC essentially acts like the conventional (b) Throttle Control: When engine control torque is
cruise controller. Therefore, the ACC equipped vehicle’s required, the throttle controller converts the computed
velocity is maintained at the target velocity set by the driver. desired acceleration into a throttle command that is required
The control law for computing the acceleration command is to achieve the acceleration. Fig. 6 gets input from the
a proportional controller. acceleration output and into the vehicle power train which in
(b) Spacing Control: The spacing control mode is turn converts its value for Speed in km/h, RPM and Gear.
entered when the radar detects a leading vehicle in the ACC Brake Control: When braking control torque is required,
equipped vehicle’s path, and the ACC system controls the the brake controller converts the desired deceleration into
vehicle to maintain a desired distance based on the velocity appropriate brake command. This output from the
of the host vehicle and a user-specified time gap. This deceleration is then read from CARSIM has master cylinder
desired distance can be defined as pressure.

Sd '  vht gap (5)

Figure 4. Adaptive Cruise control System.


Figure 6. Block diagram of the Switch logic and the vehicle Power train.
where Δ is the desired distance to be maintained in the case
where the leading vehicle comes to a complete stop, and
t gap is the user-specified time gap with typical values in the V. SIMULATION RESULTS
range of about 0.7–2 seconds. In this experiment, the velocity of the leading vehicle
starts at an initial value of 80 km/h. The initial global
B. Low Level Controller longitudinal positions of the leading vehicle and the host
The main objective of the low level controller is twofold. vehicle are 200m and 1 m, respectively, which means that
First, using the desired acceleration command from the upper the host vehicle radar is initially out of range. The host
level controller, the lower level controller determines vehicle initially starts at an initial velocity of 0 then quickly
whether to apply braking control or throttle control[12]. accelerates with a driver set target velocity of 85 km/h. We
Secondly, the required control command is applied to the present three scenarios based on the driving behavior of the
vehicle in order to achieve the desired acceleration. The leading vehicle. In addition, we compare the results obtained
applied control command is either throttle angle command or during the control design stage using Matlab/Simulink with
master cylinder pressure command. those obtained from the experimental platform using
CARSIM. The modeled scenarios are described as Fig. 7.

Figure 5. Low level controller

Switching Logic: The switching logic component shown


in Fig. 4 and Fig. 5 determines, based on the desired Figure 7. The ACC System in Simulink.
acceleration from the upper level controller, whether a brake
torque or engine torque is required to achieve the desired
acceleration. Typically, it is common to assume that a simple A. Scenario 1: Spacing Control
logic for choosing between brake and engine control can be In this scenario, the radar detects a slower leading vehicle
based on the sign of the desired deceleration; that is, if the and transitions to the spacing control mode to control the
deceleration is greater than zero, then engine control should distance between the two vehicles to a driver-set time gap of

251
2 seconds. The desired gap distance is attained when the host This scenario can be observed between the time segment
vehicle detects the lead vehicle. The desired gap distance 25–100 s in Fig. 10 and Fig. 11. From the plots, when the
varies on the current speed of the host vehicle. This scenario leading vehicle reaches and a maintains a velocity of 120
can be observed between the time segment 0–100 s in Fig. 8 km/h after 60 s, the host vehicle maintains its velocity at the
and Fig. 9. driver-set velocity of 85 km/h, since the driver-set velocity is
the maximum achievable velocity of the host vehicle based
on the ACC algorithm.

Figure 8. The speed of the lead and host car.

Fig. 8 compares the speeds of the host car and the


preceding car. The result showed that both the speeds of the Figure 11. Radar range and desired gap distance of the host vehicle
host and the preceding car were almost the same, indicating
that the host car could follow the preceding car with From Fig. 11, it can be seen from the distance plots that
allowable speed errors. the safe gap distance for the host vehicle remained the same
after 38 s. This is due to the host vehicle out of radar range
with the lead vehicle. Basically, after 40 s, the host car is on
a conventional cruise.
C. Scenario 3: Leading Vehicle Slows Down
In this scenario, the leading vehicle slows down, and as a
result, the host vehicle also starts to decrease its velocity in
order to maintain the desired spacing between the vehicles.
This scenario can be observed between the time segment 10–
100 s in Fig. 12 and Fig. 13. At approximately 125s, the host
vehicle starts slow down. At 55-60 s, the two vehicles starts
Figure 9. Desired gap distance of the host vehicle. to travel at almost the same velocity.

Fig. 9 shows, the host car safely followed the preceding


car. The result has been shown to be useful in automatically
driving the host car because the use of the opening of the
throttle and the position of the braking pedal is very close to
the driving strategy of human drivers.
B. Scenario 2: Leading Vehicle Speeds Up
In this scenario, while in spacing control mode, the
leading vehicle begins to speed up. As a result, the velocity
of the host vehicle also increases in order to maintain a
desired velocity. Figure 12. The speed of the host car and the decreasing velocity of the Lead car.

Figure 10. Increasing lead vehicle speed and host vehicle Figure 13. Radar range and desired gap distance of the host vehicle

252
As depicted in Fig. 13, it can be seen from the distance plots Avoidance”. Control Engineering Practice. Vol. 17, Feb, 2009, pp.
442-455.
that the distance between the two vehicles reduces as the
[3] K.Yi, J Hong, Y.D.Kwon. “A vehicle control algorithm for stop-and-
speed of the lead car reduces and the desired gap distance go cruise control”. Journal of Automobile Engineering. Vol. 25. Oct.
shortens after 30 s. This is because to the host vehicle’s 2001, pp. 1099-1115.
radar detects the lead vehicle. Basically, after 26 s, the host [4] Venhovens P, Naab K, Adiprasito B. “Stop and go cruise control”.
car is ACC is turned on again. International Journal of Automotive Technology. Vol. 1, Feb, 2000,
pp. 61-69.
VI. CONCLUSIONS [5] Ding Y S, Ying H, Shao H. “PI and PD fuzzy controllers analytical
structures and stability analysis”. Information Sciences. Vol. 151,
This simulation results for the Velocity and Spacing May, 2003, pp.245-262.
control mode showed the ACC system model gives a [6] Ganguli, A. and Rajamani, R. "Tractable model development and
realistic feature in a real-life traffic condition. The two- system identification for longitudinal vehicle dynamics." Proc. Instn
vehicle system is analyzed under different encounter Mech. Engrs Part D Automobile Engineering. Vol. 218, 2004, pp.
scenarios to perform the evaluation for the PI controller ACC 1077-1084.
System model. The simulation results are produced to [7] Gerdes, J.C. and Hedrick, J.K. "Vehicle speed and spacing control via
evaluate the performance of MPC based upper-level spacing- coordinated throttle and brake actuation." Control Eng. Practice. Vol.
5, Nov. 1997, pp. 1607-1614.
control laws under these critical conditions. The causes for
[8] Xiao, L. and Gao, F. “A comprehensive review of the development of
differences in some vehicle response parameters were adaptive cruise control systems”. Vehicle System Dynamics. Vol. 48,
explained in detail. A car-following vehicle scenario was Oct. 2010, pp. 1167-1192.
created for evaluating the Velocity and spacing control of the [9] A. Vahidi and A. Eskandarian. “Research advances in intelligent
ACC system model. The ACC system was seen to prevent collision avoidance and adaptive cruise control”. IEEE Transactions
the Host car from crashing in the preceding vehicle in case of on Intelligent Transportation Systems, vol. 4,Mar, 2003, pp.143–153.
any emergency from the preceding vehicle. This results show [10] Martinez, J.-J. and Canudas-de Wit, C. “A safe longitudinal control
that the ACC system model improves both safety of the for adaptive cruise control and stop-and-go scenarios”. Control
occupants of the vehicle as well as smooth and quick traffic Systems Technology, IEEE Transactions. Vol. 15, Feb. 2007, pp.
246-258.
flow on a free highway.
[11] V.L. Bageshwar, W.L. Garrard, and R. Rajamani. “Model predictive
control of transitional maneuvers for adaptive cruise control vehicles”.
IEEE Transactions on Intelligent Transportation Systems. Vol. 53,
REFERENCES May, 2004, pp. 1573–1585.
[1] Masao Nagai. “The Perspective of Research for Enhancing Active [12] A. González-Villase nor, A.C. Renfrew, and P.J. Brunn. “A controller
Safety Based on Advanced Control Technology”. Vehicle System design methodology for close headway spacing strategies for
Dynamics. Vol. 45, May, 2007, pp. 413-431. automated vehicles”. International Journal of Control. Vol. 80, Feb,
[2] Seungwuk Moon, Kyongsu Yi. “Design Tuning and Evaluation of a 2007, pp. 179–189.
Full-range Adaptive Cruise Control System with Collision

253

You might also like