Professional Documents
Culture Documents
Types of Controllers _ Proportional Integral and Derivative Controllers _ Electrical4U
Types of Controllers _ Proportional Integral and Derivative Controllers _ Electrical4U
Types of Controllers _ Proportional Integral and Derivative Controllers _ Electrical4U
Menu
Contents
Key learnings:
💡
• Controller Definition: A controller is a device that adjusts a system’s
output to match a set desired value, thus minimizing error and
enhancing stability and accuracy.
What is a Controller?
In control systems, a controller is a mechanism that seeks to minimize the difference
between the actual value of a system (i.e. the process variable) and the desired value of
the system (i.e. the setpoint). Controllers are a fundamental part of control engineering
and used in all complex control systems.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 1/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Before we introduce you to various controllers in detail, it is essential to know the uses
of controllers in the theory of control systems. The important uses of the controllers
include:
Different varieties of these controllers are codified within industrial automotive devices
such as programmable logic controllers and SCADA systems. The various types of
controllers are discussed in detail below.
Types of Controllers
There are two main types of controllers: continuous controllers, and discontinuous
controllers.
The main feature of continuous controllers is that the controlled variable (also known
as the manipulated variable) can have any value within the controller’s output range.
Now in the continuous controller theory, there are three basic modes on which the
whole control action takes place, which are:
1. Proportional controllers.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 2/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
2. Integral controllers.
3. Derivative controllers.
We use the combination of these modes to control our system such that the process
variable is equal to the setpoint (or as close as we can get it). These three types of
controllers can be combined into new controllers:
Proportional Controllers
All controllers have a specific use case to which they are best suited. We cannot just
insert any type of controller at any system and expect a good result – there are certain
conditions that must be fulfilled. For a proportional controller, there are two
conditions and these are written below:
1. The deviation should not be large; i.e. there should not be a large deviation
between the input and output.
2. The deviation should not be sudden.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 3/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
1. The proportional controller helps in reducing the steady-state error, thus makes
the system more stable.
2. The slow response of the overdamped system can be made faster with the help
of these controllers.
Now there are some serious disadvantages of these controllers and these are written as
follows:
1. Due to the presence of these controllers, we get some offsets in the system.
2. Proportional controllers can lead to increased maximum overshoot, affecting
system stability.
Let’s examine the Proportional Controller (P-controller) using a specific example. This
example will clarify concepts like ‘Stability’ and ‘Steady State Error.’ Refer to the
feedback control system in Figure-1.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 4/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
s3+3s2+2s+K=0
If the Routh-Hurwitz is applied in this characteristics equation, then the range of ‘K’ for
the stability can be found as 0<K<6. (It implies that for the values K>6 system will be
unstable; for the value of K=0, the system will be marginally stable).
Figure-2: Root locus of the system shown in Figure-1, Root Locus provides an idea that what
should be the value of ‘K’
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 5/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
(You can understand that root locus is drawn for the open-loop transfer function
(G(s)H(s), but it gives an idea about the poles of the closed-loop transfer function, i.e.
roots of characteristics equation, also called zeros of the characteristics equation.
The Root locus is helpful in designing the value of ‘K’, i.e. gain of the proportional
controller). So, the system (in Figure-1) is stable for values such as K= 0.2, 1, 5.8 etc.; but
what value we should select. We will analyze each value and show you the results.
As a summary, you can understand that the high value of ‘K’ (i.e., for example, K=5.8)
will reduce the stability (it is a disadvantage) but improves the steady-state
performance (i.e. reduce the steady-state error, which will be an advantage).
It can be observed that for the high value of ‘K’, values of Kp, Kv and Ka will be high
and steady-state error will below.
1. At K=0.2
In this case characteristics equation of the system is s3+ 3s2+ 2s+0.2=0; roots of this
equation are -2.088, -0.7909 and -0.1211; We can ignore -2.088 (as it is far away from
imaginary axis). On the basis of the remaining two roots, it can be termed as an
overdamped system (as both the roots are real & negative, no imaginary parts).
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 6/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Against step input, its time response is shown in Fig-3. It can be seen that the response
has no oscillations. (if roots are complex then time response exhibits oscillations). The
overdamped system has damping more than ‘1’.
It should be noted that in the designing of control systems, overdamped systems are
not preferred. Roots (poles of closed-loop transfer function) should have slight
imaginary parts.
In the case of overdamped, damping is more than ‘1’, while damping around 0.8 is
preferred.
2. At K=1
In this case characteristics equation of the system is s3+ 3s2+ 2s+1=0; roots of this
equation are -2.3247, -0.3376 ±j0.5623; We can ignore -2.3247.
On the basis of the remaining two roots, it can be termed as an underdamped system
(as both the roots are complex having negative real parts). Against step input, its time
response is shown in Fig-4.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 7/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
3. At K=5.8
As 5.8 is very close to 6, so you can understand that system is stable, but almost on the
border. You can find the roots of its characteristics equation.
One root can be ignored, the remaining two roots will be very close to the imaginary
axis. (Roots of its characteristics equation will be -2.9816, -0.0092±j1.39). Against step
input, its time response is shown in Fig-5.
Figure-5: Response has oscillations, it is the response of the underdamped system (Response
in Figure-4 is also belongs to the underdamped system)
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 8/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Integral Controllers
As the name suggests in integral controllers the output (also called the actuating
signal) is directly proportional to the integral of the error signal. Now let us analyze
integral controller mathematically.
Where Ki is an integral constant also known as controller gain. The integral controller is
also known as reset controller.
Due to their unique ability, Integral Controllers can return the controlled variable back
to the exact set point following a disturbance that’s why these are known as reset
controllers.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 9/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
It tends to make the system unstable because it responds slowly towards the produced
error.
Derivative Controllers
Derivative controllers are not used alone due to their limitations. They are most
effective when combined with other types of controllers.
Now, as the name suggests in a derivative controller the output (also called the
actuating signal) is directly proportional to the derivative of the error signal.
The major advantage of a derivative controller is that it improves the transient response
of the system.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 10/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Through the PI controller, we are adding one pole at origin and one zero somewhere
away from the origin (in the left-hand side of complex plane).
As the pole is at the origin, its effect will be more, hence PI controller may reduce the
stability; but its main advantage is that it reduces steady-state error drastically, due for
this reason it is one of the most widely used controllers.
The schematic diagram of the PI controller is shown in Fig-6. Against step input, For
the values of K=5.8, Ki=0.2, Its time response, is shown in Fig-7. At K=5.8 (As a P-
controller, it was on the verge of instability, so just by adding the small value of an
Integral part, it became unstable.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 11/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Please note the Integral part reduces the stability, which does not mean that system will
be always unstable. In the present case, we have added an integral part and the system
became unstable).
Figure-7: The response of the system shown in Figure-6, with K=5.8, Ki=0.2
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 12/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Readers should note that adding ‘zero’ at the proper location in the open-loop transfer
function improves stability, while the addition of pole in the open-loop transfer
function may reduce the stability.
The words “at proper location” in the above sentence are very important & it is called
designing of the control system (i.e. both zero & pole should be added at proper points
in the complex plane to get the desired result).
Inserting the PD controller is like the addition of zero in open-loop transfer function
[G(s)H(s)]. Diagram of PD Controller is shown in Fig-8
In the present case, we have taken the values of K=5.8, Td=0.5. Its time response, against
step input, is shown in Fig-9. You can compare Fig-9, with Fig-5 and can understand
the effect of inserting the derivative part in the P-controller.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 13/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
If ‘zero’ is very far away from the imaginary axis, its influence will decrease, if ‘zero’ is
on the imaginary axis (or very close to the imaginary axis) it will also be not accepted
(root locus generally starts from ‘poles’ & terminates at ‘zero’, Designer’s aim is
generally such that root locus should not go towards the imaginary axis, due to this
reason ‘zero’ very near to imaginary axis is also not acceptable, hence a moderate
position of ‘zero’ should be kept)
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 14/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
or
It can be observed that one pole at origin is fixed, remaining parameters Td, K, and Ki
decide the position of two zeros.
In this case, we can keep two complex zeros or two real zeros as per the requirement,
hence PID controller can provide better tuning. In the olden days, the PI controller was
one of the best choice of control engineers, because designing (tuning of parameters) of
the PID controller was a little difficult, but nowadays, due to the development of
software designing of PID controllers have become an easy task.
Against step input, For the values of K=5.8, Ki=0.2, and Td=0.5, Its time response, is
shown in Fig-11. Compare Fig-11 with Fig-9 (We have taken values such that all the
time response can be compared).
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 15/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
When you are designing a PID controller for a given system, general guidelines to
obtain the desired response are as follows:
Fuzzy Logic Controllers (FLC) do not require a precise mathematical model. They
operate on empirical data, effectively managing non-linearities and showing greater
disturbance insensitivity than many other controllers.
FLC is based on fuzzy sets, i.e. classes of objects in which the transition from
membership to non-membership is smooth rather than abrupt.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 16/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
The important step in the fuzzy controller synthesis procedure is to define the input
and output variables based on previous experiences or practical knowledge.
This is done accordingly with the expected function of the controller. There are no
general rules to select those variables, although typically the variables chosen are the
states of the controlled system, their errors, error variation, and error accumulation.
Dr. Vipin Jain obtained a Bachelor of Engineering in 1992 from Nagpur University, a
Masters of Technology in 2007, and a Ph.D. in 2017 from University of Delhi. He has
been studying, working, and teaching in the electrical industry for over 25 years. He
has been working as a faculty member in the Electrical Engineering Department of
the Bharat Institute of Technology, Meerut (UP), India since December 2007.
...
Leave a Comment
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 17/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Name *
Email *
Website
Post Comment
Recent Posts
» Electric Current: What is it? (Formula, Units, AC vs DC)
» Voltage: What is it? (Definition, Formula And How To Measure Potential Difference)
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 18/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
Please feel free to contact us if you’d like to request a specific topic. Click here to see
our privacy policy.
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 19/20
7/3/24, 1:13 AM Types of Controllers | Proportional Integral and Derivative Controllers | Electrical4U
© 2024 Electrical4U
https://www.electrical4u.com/types-of-controllers-proportional-integral-derivative-controllers/ 20/20