SPC Ut-6
SPC Ut-6
INTRODUCTION With the use of a low cost simple ON-OFF controller, only
two control states are possible, like fully ON or fully OFF. It
PID controllers are found in a wide range of applications for is used for a limited control application where these two
industrial process control. Approximately 95% of the closed- control states are enough for the control objective.
loop operations of the industrial automation sector use PID However oscillating nature of this control limits its usage
controllers. and hence it is being replaced by PID controllers.
PID stands for Proportional-Integral-Derivative. These three PID controller maintains the output such that there is zero
controllers are combined in such a way that it produces a error between the process variable and setpoint/ desired
control signal. As a feedback controller, it delivers the output by closed-loop operations. PID uses three basic
control output at desired levels. control behaviors that are explained below.
Before microprocessors were invented, PID control was
A PID controller continuously calculates an error value
implemented by the analog electronic components. But
today all PID controllers are processed by the e(t) as the difference between a desired setpoint (SP)
microprocessors. and a measured process variable (PV) and applies a
correction based on proportional, integral,
Programmable logic controllers also have the inbuilt PID and derivative terms (denoted P, I, and D respectively),
controller instructions. Due to the flexibility and reliability of hence the name.
the PID controllers, these are traditionally used in process
control applications.
1
PROPORTIONAL (P) CONTROLLER This controller requires biasing or manual reset
when used alone. This is because it never reaches
Proportional or P- controller gives an output that is the steady-state condition.
proportional to current error e (t).
It provides stable operation but always maintains
It compares the desired or set point with the actual value the steady-state error.
or feedback process value.
The speed of the response is increased when the
The resulting error is multiplied with a proportional
constant to get the output.
proportional constant Kc increases.
If the error value is zero, then this controller output is zero.
2
ADVANTAGES OF PROPORTIONAL CONTROLLER DISADVANTAGES OF PROPORTIONAL CONTROLLER
The proportional controller helps in reducing the Due to the presence of these controllers, we get
steady-state error, thus makes the system more some offsets in the system.
stable.
Proportional controllers also increase the maximum
The slow response of the overdamped system can be overshoot of the system.
made faster with the help of these controllers.
INTEGRAL CONTROLLERS
INTEGRAL CONTROLLERS
Due to the limitation of p-controller where there As the name suggests in integral controllers the
always exists an offset between the process variable output (also called the actuating signal) is directly
and setpoint, I-controller is needed, which provides proportional to the integral of the error signal. Now
necessary action to eliminate the steady-state error. let us analyze integral controller mathematically.
It integrates the error over a period of time until the As we know in an integral controller output is
error value reaches zero. It holds the value to the directly proportional to the integration of the error
final control device at which error becomes zero. signal, writing this mathematically we have,
3
Where Ki is an integral constant also known as ADVANTAGES OF INTEGRAL CONTROLLER
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
Integral control decreases its output when a point following a disturbance that’s why these are
negative error takes place. It limits the speed of known as reset controllers.
response and affects the stability of the system. The
speed of the response is increased by decreasing
integral gain, Ki.
4
DERIVATIVE CONTROLLERS
ADVANTAGES OF DERIVATIVE CONTROLLER
Now let us analyze the derivative controller
mathematically. As we know in a derivative The major advantage of a derivative controller is that
controller output is directly proportional to the it improves the transient response of the system.
derivative of the error signal, writing this
mathematically we have,
5
PROPORTIONAL AND INTEGRAL CONTROLLER
The schematic diagram of the PI controller Against step
input, For the values of K=5.8, Ki=0.2, Its time response, 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.
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).
The response of the system shown in above figure with K=5.8, Ki=0.2
PROPORTIONAL AND DERIVATIVE CONTROLLER Where, Kd and Kp are proportional constant and
derivative constant respectively.
As the name suggests it is a combination of
proportional and a derivative controller the output Advantages and disadvantages are combinations of
(also called the actuating signal) is equals to the advantages and disadvantages of proportional and
summation of proportional and derivative of the error derivative controllers.
signal. Now let us analyze proportional and derivative Readers should note that adding ‘zero’ at the proper
controller mathematically. location in the open-loop transfer function improves
As we know in a proportional and derivative controller stability, while the addition of pole in the open-loop
output is directly proportional to the summation of transfer function may reduce the stability.
proportional of error and differentiation of the error The words “at proper location” in the above sentence
signal, writing this mathematically we have, 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).
Removing the sign of proportionality we have, 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 below figure.
6
Closed-loop control system with PD Controller
The transfer function of the PD controller is K+Tds or PROPORTIONAL PLUS INTEGRAL PLUS DERIVATIVE
Td(s+K/Td); so we have added one zero at -K/Td. By CONTROLLER (PID CONTROLLER)
controlling the value of ‘K’ or ‘Td’, the position of the
‘zero’ can be decided.
A PID controller is generally used in industrial control
If ‘zero’ is very far away from the imaginary axis, its
influence will decrease, if ‘zero’ is on the imaginary applications to regulate temperature, flow, pressure,
axis (or very close to the imaginary axis) it will also be speed, and other process variables.
not accepted (root locus generally starts from ‘poles’ & A type of controller in which the output of the
terminates at ‘zero’, Designer’s aim is generally such controller varies in proportion with the error signal,
that root locus should not go towards the imaginary integral of the error signal and derivative of the error
axis, due to this reason ‘zero’ very near to imaginary signal is known as the proportional integral derivative
axis is also not acceptable, hence a moderate position controller. PID is the acronym used for this type of
of ‘zero’ should be kept) controller.
Generally,it is said, PD controller improves transient Proportional plus integral plus derivative controller is
performance and the PI controller improves the steady-state sometimes referred as a 3-mode controller, as it
performance of a control system.
combines the controlling action of proportional,
integral as well as derivative controller altogether.
7
The combination of all the three types of control action
improves the overall performance of the control system,
in order to provide the desired output in an effective
manner. The output of a PID controller is given as:
Here Kp is proportionality constant for the error signal, We know that the transfer function is represented as
Ki is the proportionality constant for integral of the output by input. Thus the transfer of the controller will
error signal and be given as,
Kd is the proportionality constant for the derivative of
the error signal.
Further to determine the transfer function of the On further simplification
controller, the time domain function must be converted
to the frequency domain. Therefore, considering the
Laplace transform of the above equation, we will get
8
So, further
9
Response of PV to step change of SP vs time, for Response of PV to step change of SP vs time, for
three values of Kp (Ki and Kd held constant) three values of Ki (Kp and Kd held constant)
10
MANUAL TUNING OF PID CONTROL Effects of increasing a parameter independently
11
LINEAR QUADRATIC CONTROL (LQR) The cost function is often defined as a sum of the
deviations of key measurements, like altitude or
The theory of optimal control is concerned with process temperature, from their desired values. The
operating a dynamic system at minimum cost. The case algorithm thus finds those controller settings that
where the system dynamics are described by a set minimize undesired deviations. The magnitude of the
of linear differential equations and the cost is control action itself may also be included in the cost
described by a quadratic function is called the LQ function.
problem. One of the main results in the theory is that
the solution is provided by the linear–quadratic The LQR algorithm reduces the amount of work done
regulator (LQR), a feedback controller whose by the control systems engineer to optimize the
equations are given below. controller. However, the engineer still needs to specify
the cost function parameters, and compare the results
The LQR can be run repeatedly with a receding with the specified design goals. Often this means that
horizon; this is a form of model predictive control. controller construction will be an iterative process in
The settings of a (regulating) controller governing which the engineer judges the "optimal" controllers
either a machine or process (like an airplane or produced through simulation and then adjusts the
chemical reactor) are found by using a mathematical parameters to produce a controller more consistent
algorithm that minimizes a cost function with weighting with design goals.
factors supplied by a human (engineer).
12
13
In a real-world application, it is common for a robot to use
the Extended Kalman Filter to calculate near-optimal
estimates of the state of a robotic system and to use LQR to
generate the control values that move the robot from one
state to the next
14