Professional Documents
Culture Documents
Abstract—In todays automobile industry, the cruise control Fuzzy controller in term of controller’s specifications. There
is one of the most critical aspects that require a well-designed is still room for improvement that will be shared in this paper.
controller that can accommodate the new development in technol-
ogy. In this paper, we have designed a cruise controller using the
Fuzzy logic rules and a developed MATLAB code to simulate the II. M ATHEMATICAL M ODELING
car’s engine mechanism. Fuzzy logic has expanded substantially
in the field of nonlinear systems as it provides a very simplified To represent the physics and dynamics of the system, we
approach to design controllers that can provide an optimum will start with the Newton’s 2nd law of motion which is stated
results. Hence, this paper will present a fuzzy controller that can as follow:
be used to study the performance between the conventional PID
controller and fuzzy controller and provide a platform that can F =m×a (1)
help to identify whether fuzzy logic will help to maximize the
performance or there might be rooms for improvement to reach
the targeted results. where F represents the total force, m is the body mass and
Keywords—Cruise control ; Fuzzy logic ; Nonlinear control finally a which is the acceleration. This equation will be
expanded to represents the dynamics of the car as well as
I. I NTRODUCTION the disturbances.
The cruise control objective is to regulate the speed of Since we are concerned with the velocity to be calculated,
the vehicle based on the desired speed. The speed will be then we will replace the acceleration in eq. (1) with the rate
measured using speed sensor, then the error and the change of change of velocity v which is the acceleration a. Then eq.
of the error will be calculated in order to adjust the speed. (1) will become as follow:
Adjusting the speed is to control the throttle position which is dv
proportionally related to the fuel injection to the engine. This F =m× . (2)
will provide the driving force that will move the car according dt
to the Newton”s law of motion. Below is a figure that can describe the major dynamics of the
With the uncertainty and complexity, Fuzzy control is car based on the Newton’s motion’s law. Now F which is the
being able to provide a method that wouldn’t need a detailed
mathematical algorithms to base on, it is basically based on the
experience and the logic behind the process itself with a simple
understanding to the dynamics it contained. In this project, we
use the Mamdani model, the most commonly method used due
to its simplicity and coherency. For consistency, we begin the
paper with the mathematical modeling followed by a detailed
explanation of the Fuzzy logic design and approach and finally
a bried about he MATLAB simulink design and simulation
with the results. Fig. 1: This is just a simple description of how the dynamics
This paper will provide an insight and comparison between of the car representation looks like
the controller’s performance of a normal linear PID controller
and a Fuzzy controller that has two inputs and one output. total force, will have many components that need to be mod-
The strategy we implement is to perform the test using three eled in details to emulate the system, therefore, we will divide
different loads, 1000, 2200 and 3000 kg which considers the the force into two parts, the engine force and disturbance. Both
car’s mass. Significant results have been noticed with the will be modeled in the following subsections.
2211
Fig. 5: Normal controller response characteristic
de(t)
Fig. 3: The membership functions for Input dt
2212
Fig. 9: The Controller Parts of the model
2213
Step Response with 3000Kg mass The Total force response for 2200Kg mass
30 2500
Desired Speed
Speed
2000
29
1500
28
Total Force
1000
dSpee
27
500
26
0
25
−500
24 −1000
0 10 20 30 40 50 0 10 20 30 40 50
Time Time
Fig. 12: The system step response for m=3000 Kg Fig. 15: The system step response for the total force needed
The Total force response for 3000Kg mass Step Response 1000Kg mass
2500 31
Total Force
2000 30
Desired Speed
1500 29 Speed
Total Force
1000 28
Speed
500 27
0 26
−500 25
−1000 24
0 10 20 30 40 50 0 10 20 30 40 50
Time Time
Fig. 13: The system step response for the total force needed Fig. 16: The system step response for m=1000 Kg
Step Response with 2200Kg mass The Total force response for 1000Kg mass
30 2500
Total Force
Desired Speed
Speed 2000
29
1500
28
Total Force
1000
Speed
27
500
26
0
25
−500
24 −1000
0 10 20 30 40 50 0 10 20 30 40 50
Time Time
Fig. 14: The system step response for m=2200 Kg Fig. 17: The system step response for the total force needed
nature of linearizion is works upon. In overall, we believe that the system can be improved by
As we noticed from the simulation, the fuzzy controller’s adjusting the fuzzy rules as well as the membership functions
step response time was much better compared to the PI con- to reduce the ripples which causes small fluctuations especially
troller which was taking longer time to reach the steady state, with higher weights. Also, as an insight toward future work,
Fuzzy controller takes around 6sec while the PI controller we see a possibility to combine a controller that consists
takes 21sec. of both the Fuzzy and PID controller to come up with an
2214
[8] C. Qui, ”A Design of Automobile Cruise Control System Based on Fuzzy
Step Response with 1000Kg mass
31
PID”, In nfo. Science, Electronics and Electrical Engineering Int. Conf.,
Desired Speed 2014
Speed
30
29
28
Speed
27
26
25
24
0 10 20 30 40 50
Time
3500
3000
2500
Total Force
2000
1500
1000
500
−500
0 10 20 30 40 50
Time
Fig. 19: The system step response for the total force needed
using PI controller
R EFERENCES
[1] Y. John and L. Reza. Fuzzy Logic Intelligence, Control, And Informa-
tion. Prentice-Hall, New Jersy, 1999
[2] O. Katsuhiko. Modern Control Engineering. Prentice-Hall, New Jersy,
Fourth Edition, 2002
[3] S. Ko, J. Lee, ”Fuzzy logic based adaptive cruise control with guaran-
teed string stability”, In Int. Conf. on Control, Automation and Systems,
Seoul, Korea, 2007
[4] Z. Eizad, L. Vlacic, ”A Control algorithm and vehicle model for stop
and go cruise control”, In IEEE Intelligent Vehicles Symposium, Italy,
2004
[5] S. Ko and J. Lee, ”Fuzzy logic based adaptive cruise control with
guaranteed string stability”, In Int. Conf. on Control, Automation and
Systems, Korea, 2007
[6] W. Pananurak, S. Thanok and M. Parnichkun, ”Adaptive cruise control
for an intelligent vehicle”, In Int. Conf. on Robotics and Biomimetics,
Thailand, 2009
[7] P. Maji, S. Kumar Patra and K. Mahapatra, ”Implementation of FPGA
based Fuzzy PI Approximate Control for Automatic Cruise Control
System”, In Proceedings of Int. Conf. on Circuits, Communication,
Control and Computing, 2014
2215