Root Locus Approach in Design of PID Controller Fo
Root Locus Approach in Design of PID Controller Fo
*
mmanjuprasadm@gmail.com
Abstract. The Proportional Integral Derivative (PID) controller is an effective and common
feedback control design used in closed loop control systems. One such best consideration of
closed loop control system would be cruise control system. This is a system that automatically
controls the speed of an electric vehicle despite external disturbances. In this paper, the goal is
to design a PID controller using root locus technique for a closed loop cruise control system.
By root locus approach, the controller constants and controller design is finalized. Simulation
results through MATLAB environment validate the effectiveness of controller design.
1. Introduction
Cruise control system is a controller used to control speed of vehicles automatically as per the driver
command, and adapting itself to road condition and external disturbances. It uses a servo mechanism
which takes over the throttle of the vehicle to regulate the speed. The main aim of the cruise control
system is to provide ease to drivers by automatically setting the speed of vehicles. Nowadays it’s been
a general feature that comes with most of the vehicles. It’s the most important feature in all auto pilot
vehicles. The cruise controllers in vehicles are in demand of controllers that can automatically adjust
the different attributes of cruise control such as speed, velocity and acceleration to maintain the
desired speed of the vehicle as per the road conditions.
The first ideology of cruise control came to automobile in the year 1900 by Wilson Pilcher [1]. The
same cruise control was also used by James Watt in steam engines. Ralph Teetor in 1948 developed an
advanced version of cruise control [2]. After many years, i.e, from 2000 due to the development of
highways there was a need to develop cruise control system to assist the drivers with ease of driving
[3]. The key issue in Cruise control system is to maintain the cruise speed, with varying environmental
disturbances and road condition. To make this possible there a need of controllers such as PID
controllers, fuzzy controllers, feedforward controllers etc. The cruise control system is usually built on
a radar sensor or Adaptive Cruise Control sensor (ACC) at its core to perpetuate its adaptive nature.
The equipment, which is mounted at the front of the vehicle, constantly monitors the road ahead. ACC
maintains the driver's speed as long as the road ahead is clear. If a slower vehicle is detected within the
system's detecting range, the system gradually slows speed by releasing the accelerator or actively
engaging the brake control system. The ACC automatically accelerates to the driver's selected speed if
the car ahead accelerates or changes lanes. Thus, a rear-end collisions are avoided and a safe distance
is maintained. The sensor in use, is of dimension 45*20*15mm and has a working voltage of 5V,
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
RIACT 2021 IOP Publishing
Journal of Physics: Conference Series 2115 (2021) 012023 doi:10.1088/1742-6596/2115/1/012023
working current of 15mA, working frequency of 40Hz, maximum range of 4m and measuring angle of
15°.
In the modelling of different variant of car, the complexity is increased when we consider all the car
parameters. In order to focus the control, only on speed control of car with respect to the road and
external disturbances, a balance car model with lesser parameter, without ignoring the real car model
is considered here. After the complete modelling of car or cruise, designed a PID controller by root
locus approach and the stability analysis is also done to validate the model.
we consider a simple vehicle dynamic to model according to above shown diagram. A control force u
acts on a vehicle of mass m, where the force u is the force generated by external factors. While
modelling the system, it is assumed that, the controlling variable is the force generated by the vehicle,
neglecting changes in the power train, friction between tyre and road, aerodynamic drag, gradient, etc.
The rolling resistance force and aerodynamic force due to wind are assumed to be varying linearly
with output velocity v. we assume that the car is not travelling in steep or valley positions but travels
in a straight road. We model this entire system as a first order mechanical system, such that the sum of
forces in horizontal direction for the figure 1, applying Newton’s second law of motion as
𝑚𝑣 + 𝑏𝑣 = 𝑢 (1)
since our aim is controlling the speed, the output equation (y) can be written as
𝑦=𝑣 (2)
we assume the vehicle mass as 1000kg and damping coefficient (b) as 50Ns/m in this paper.
𝑽(𝒔) 𝟏 𝒎/𝒔
𝑷(𝒔) = 𝑼(𝒔) = 𝒎𝒔+𝒃 [ 𝑵
] (5)
3. Design of controllers
Among the various controllers, proportional controller is best suited for closed loop continuous
systems and hence preferred in this work. This [12] controller, minimizes the overshoots in the control
variable and helps in reaching the desired position in a much faster rate. The improved version of
Proportional controller (P) is the Proportional plus Integral controller (PI). Due to the inclusion of
integral term, this controller achieves much faster response time than Integral only controller (I). The
2
RIACT 2021 IOP Publishing
Journal of Physics: Conference Series 2115 (2021) 012023 doi:10.1088/1742-6596/2115/1/012023
combination of above controllers will give proportional plus integral plus derivative (PID) controller
by combining the benefits of all the controller, PID control is the most widely used controller for time
domain systems. This controller gives a faster response time and a lower or zero offset. So PID
controller is the best form of controller. Considering r(s) as input, ‘e’ as error between input set speed
and actual speed, c(s) as the PID controller, p(s) is the cruise car model or plant and y(s) is the output
velocity, a unity feedback PID system can be shown as follows.
The time domain design constrains for the cruise control were taken as setting time <10sec, Rise
time<5sec.
𝒀(𝑺) 𝑷(𝒔)𝑪(𝒔) 𝑲𝒑
𝑻(𝑺) = 𝑹(𝑺) = 𝟏+𝑷(𝒔)𝑪(𝒔) = (6)
𝒎𝒔+𝒃+𝑲𝒑
According to the above graph the response seems to be unrealistic that is because in real-time the
velocity of cruise control cannot change the speed of vehicle from zero to ten meter per seconds in less
than 0.5 seconds due to drive train and engine constrains.
The Transfer Function of this closed loop cruise control system with PI controller is given by
3
RIACT 2021 IOP Publishing
Journal of Physics: Conference Series 2115 (2021) 012023 doi:10.1088/1742-6596/2115/1/012023
An introduction of integral controller to the system removes the steady state error of system. For
implementations let us consider Kp as 600 and Ki as 1.
Figure 5. Step response for proportional plus integral plus derivative control
The controller design can be finalized for the PI controller only but the most significant part of
derivatives will be missing. So, we go for PID controller design in the due process. Still the PI
controller would also serve the purpose of efficient controller.
4
RIACT 2021 IOP Publishing
Journal of Physics: Conference Series 2115 (2021) 012023 doi:10.1088/1742-6596/2115/1/012023
Using the root locus method, we find the damping ratio and natural frequency. The following
equations are used to find them.
𝒍𝒏𝟐 (𝑴𝒑)
𝜏 ≥ √𝝅𝟐+𝒍𝒏𝟐 (𝑴𝒑) (10)
where
𝜔𝒏 = frequency of natural oscillation
𝜏= damping factor
𝑻𝒓 =rise time in seconds
𝑴𝒑= Peak overshoot in percentage
Let us consider to have the rise time of 5 seconds. For achieving this rise time natural frequency must
be greater than 0.36. and damping ratio must be more than 0.6 as per the above equation. With these
we, plot a root locus design and obtained the below output.
From the plot we infer that the damping ratio of the system is more than 0.6 between the lines and less
than 0.6 outside these lines. The semi ellipse indicates a constant natural frequency.
5. Conclusion
A simple mathematical model of cruise control was derived with state space and transfer function
mathematical model. A PID controller was designed for the mathematical model. The root locus
analysis was done for the same. We have also concluded how a PID controller would serve a better
purpose than a PI controller. Autonomous cruise control is the future of motorized vehicles. This
work can be extended further with the introduction of more number of sensors like LiDAR camera
sensor, odometry sensor, etc. The time response of such a system can be studied for further
improvements in the model of autonomous vehicles which can prevent phantom traffic jams. Stop-
and-go waves can be dissipated with the help of ACC equipped vehicles. Furthermore, the validity and
real-time or near real-time applications of human-in-loop cyber physical systems in intelligent electro-
mechanical systems such as the one described in this paper, can be tested and their functionalities be
improved.
References
[1] Prakash YS and Kumar SA 2020 Mathematical modelling and control of cruise control system
on the inclined plane ICE3 431-436 (10.1109/ICE348803.2020.9122904)
5
RIACT 2021 IOP Publishing
Journal of Physics: Conference Series 2115 (2021) 012023 doi:10.1088/1742-6596/2115/1/012023
[2] Sailan and Kuhnert 2013 Modelling and design of cruise control for terrain vehicles CSIT 339-
349 10.5121/csit.2013.3828.
[3] Bharadwaj SM and Dattawadkar S 2015 Design of autonomous cruise control for intelligent
vehicles Vol.5, no.6 pp.313-315.
[4] Ionnau PA and Chien CC 1993 Autonomous intelligent cruise control IEEE trans. Vol.42,
pp657-672.
[5] Shladover SE april 2012 Vehicle system dynamics: International journal of vehicle Mechanics
and Mobility review of the state of development of advanced vehicle control systems.
[6] Rajamani R 2006 Vehicle dynamics ad control Vehicle dynamics and control {Texas springer}
[7] Teetor R 1948 Speed control devices for resisting operation of accelerator US- patent 2519859
[8] 1966 American motors Car life 12: 46. 1985 retrieved March 2015
[9] Astrom A and Wittenmark B 2000 Adaptive cruise control design PhD dissertion University
of Michigan Ann Arbor
[10] U.M Michigan Control tutorial for MATLAB and simulink- motor systems
[11] Carnegie Mellon Control tutorials with MATLAB: solution to cruise controls.
[12] Pratumsuwan P and Thongchaisuratkrul C 2009 Precompensation for a hybrid fuzzy PID
control of a proportional hydraulic system Electrical Engineering/Electronics, Computer,
Telecommunications and Information Technology, 2009. ECTI-CON 2009. 6th International
Conference.
[13] P,I,D,PI, PD, and PID control 2021 March 5 University of Michigan
(https://eng.libretexts.org/@go/page/22412)
[14] Raj R FA, Kumar SB and Karthik TC April 2011 Cruise control operation from zero to preset
speed-simulation and implementation International Journal of Information and Education
Technology, Vol. 1, No. 1
[15] Pananurak W, Thanok and Parnichkun M 2014 Adaptive cruise control for an intelligent
vehicle 2008 IEEE Int. Conf. Robot. Biomimetics ROBIO 2008, pp. 1794-1799, 2009.
[16] Adaptive Cruise Control System Overview, 5th Meeting of the U.S. Software System Safety
Working Group April 12th-14th 2005 @ Anaheim, California USA