Vehicle Speed Control For Autonomous Vehicle Using
Vehicle Speed Control For Autonomous Vehicle Using
must have the equal speed as the desired speed. Under other
Abstract: This project presents a real time reading of conditions, if the output speed is higher than input speed
Proportional Integral Derivative (PID) controller tuning. The given into the program, the error signal considered negative
system will control the output speed of the vehicle based on the
and the motor speed will be decrease.
given input speed by implementing the PID controller. The
controller helps in ensuring that the output speed achieves the In nowadays technology, majority of control systems in the
same as the input speed given and does not depart. The speed of most industries are operated by using PID controllers. PID
car is controlled by controlling a linear motor that is attached to a controller is usually used widely because of it is works
current sensor and an incremental encoder as a feedback to precisely, easy to tuning and easy to implement in many
calculate speed. The output reading of speed is in km/h. Raspberry processes. The PID controller helps to maintain and reduce
Pi 3B+ is used as microcontroller and python language is used in
order to program the vehicle speed. The vehicle is tested and PID
error in the system [3]. Moreover, DC motor is a nonlinear
parameter are calculated. The system is then run by using PID device. Thus, speed can be varying because of load demand
parameter and it shows that expected PID controller is stable and and disturbances that changing throughout time [4]. By tuning
able to control the car’s speed. all parameters of PID, the error can be improvised in order to
Keywords: Autonomous vehicle, incremental encoder, speed achieve the desired output. PID controller can regulate the
control system, PID
input value based on historical data and it improve the error
produce and make the system more precise and reach a stable
I. INTRODUCTION
system. In order to achieve required output, the parameter of
Autonomous vehicle (AV) is also known as a self-driving PID gain values is adjusted to operate the changing process
vehicle which can be defined as a vehicle that can move variable. The process reaction result is test without PID
independently without human input or control and capable control; after that it will inserted to the program for its tuning
sensing its surrounding. This driverless car would be benefit process. A study by researchers [5] analyze the result of
to people and the environment as it implementing artificial implementation of proportional (P) and proportional and
intelligence and an electric vehicle would help to reduce integral (PI) controller for speed control. The control system
harmful gas emission to the surrounding [1]. Besides, this parameters such as peak time, peak overshoot, settling time,
self-driving car help people with disabilities or even elderly rise time, steady-state error, are used to measure the speed
people who often choose public transport or seek help of response of PI controller and P controller. For the result, PI
others to reach a destination [2]. In this era, intelligent controller has preferred control performance than P controller
vehicles are becoming more crucial due to the famous for all three desired speeds that have been set. Through
technology integrated system. Hence, speed of an observation, P controller has less settling time but steady-state
autonomous vehicle system is important in order to control error arise and higher reading of overshoot in the response
the brake and measured current reading of motor. The speed [6]. Thus, a PI controller is used to lessen the overshoot and
control is needed in every AV. In the process system, there are steady-state error. Based on previous researcher [7], there is
many variables that can change that will be causing the output problem arise with servo motor which is used in order to push
reading do not achieve its desired value. The output speed a rod into speed movement mechanism. The use of servo
motor has an advantage on controlling the angle but servos
have a bad thermal performance. The temperature of servo is
easily rising and it may affect the servo’s lifespan. In addition,
Manuscript published on November 30, 2019.
* Correspondence Author problem is arisen as the motor’s rotor in the servo is
Hidayatulsherlina Razali*, Centre for System Engineering Studies, continuous moving back and forth even when it stop. It
Faculty of Electrical Engineering, Universiti Teknologi MARA, 40450 Shah creates vibration that may affect the movement of rod into the
Alam, Selangor, Malaysia.
Mahanijah Md Kamal*, Centre for System Engineering Studies, speed mechanism. Although the reading of speed can be
Faculty of Electrical Engineering, Universiti Teknologi MARA, Shah Alam, maintained but it can be difficult to maintain them in
Selangor, Malaysia. hazardous environments. Hence, it makes the level of
Noorfadzli Abdul Razak, Centre for System Engineering Studies,
Faculty of Electrical Engineering, Universiti Teknologi MARA, 40450 Shah
robustness is lower compare to linear motor. Therefore, the
Alam, Selangor, Malaysia. aims of this project is to design a speed control of autonomous
car system that able to maintain the input speed given by the
© The Authors. Published by Blue Eyes Intelligence Engineering and controller by using Raspberry Pi controller as well as PID
Sciences Publication (BEIESP). This is an open access article under the
CC-BY-NC-ND license controller.
(http://creativecommons.org/licenses/by-nc-nd/4.0/)
The speed is started to decrease after overshoot but it still analysis because it helps to avoid excessive control action and
does not show any balance input speed but it finally stables at it also can be operated within safe constrain. The proportional
the 7.6 km/h. After getting the process reaction curve, the PID controller does helps to reduce the rise time. Furthermore,
parameters is calculated and a transfer function is obtained. integral gain helps to eliminate the offset value that exists by
Table III shows the result obtained when the speed is not proportional controller and last but not least, the derivatives
controlled by PID controller. help to correct value when there are slightly errors during
steady state in the system.
IV. CONCLUSION
In conclusion, proportional controller, P, helps to generate
a corrective action to the error. The integral term, I, produce
an improvement proportional to the integral of the error.
Integral help to reduced tracking error to zero with
Fig. 5. Reaction curve with PID controller application of a sufficient control effort while the derivative
controller, D, produce a control action corresponding to the
As can be seen in Fig. 6, it shows the difference before and
error range change. It helps to maintain the speed based on the
after implementing PID where it is clearly stable and able to
input given in the system. The process of system with
achieve the target speed that have been programmed into the
implementation of PID gain stability faster compared to
system. The overshoot of the system is lowered to 0.27 km/h
without PID.
and the system reaches steady state earlier compared to
system of without PID. The stability of the system is gain
faster compared to without PID. Thus, PID is choses for
REFERENCES
AUTHORS PROFILE