4
4
Automation &Control
Lecture 4
CONTROL UNIT
(SOFTWARE)
The second component of automation systems are the units control
(controls software’s) , which use to controlling the systems
operations. Where the control units working to makes the system
stable or more stability by adjust the timing and the working between
the subparts of system to reach to the best result for the planned work
and this done with the help of sensors or measuring elements. The
controller compares the actual value of the system output with the
reference input (desired value), determines the error or deviation,
and produces a control signal that will reduce the error or deviation to
zero or to a very small value.
Proportional-Integral-Derivative controller
(PID controller)
A proportional-integral-derivative controller (PID controller) is a control
loop feedback mechanism (controller) widely used in industrial control
systems. The PID controller automatically compares the desired target
value (setpoint or SP) with the actual value of the system (process
variable or PV). The difference between these two values is called the
error value, denoted as e(t), such that e(t) = SP – PV(t)
The PID controller algorithm involves three separate constant
parameters, and is accordingly sometimes called three-term control:
1. The proportional (P)
2. The integral (I)
3. The derivative (D)
2
PID then applies corrective actions automatically to bring the PV to the
same value as the SP using three methods:
1. The proportional (P) component responds to the current error value
by producing an output that is directly proportional to the magnitude
of the error. This provides immediate correction based on how far the
system is from the desired setpoint.
2. The integral (I) component, in turn, considers the cumulative sum of
past errors to address any residual steady-state errors that persist
over time, eliminating lingering discrepancies.
3. The derivative (D) component predicts future error by assessing the
rate of change of the error, which helps to mitigate overshoot and
enhance system stability, particularly when the system undergoes
rapid changes.
Whatever the actual mechanism may be and whatever the form of the
operating power, the proportional controller is essentially an amplifier
with an adjustable gain.
Proportional-Plus-Integral Control Action
The control action of a proportional plus-integral controller is defined by
8
The overall control function