Sei sulla pagina 1di 55

Universiti Kuala Lumpur

Malaysia France Institute

FAB38404
Process Control
Lecture 5
Control Strategy & Tuning Methods
Reference :
Chemical Process Control, An Introduction to Theory And Practice, G. Stephanopoulos
Chapter 1

Yusof Mohd Ekhsan


Automation And Robotic Unit | Industrial Automation Section

Objectives
Upon completion of this topics, you are expected to be able to:
Describe basic process control theory
Describe the function and applications of various PID controllers
Describe how pneumatic controller work
Describe how electronic single loop controllers works
Set up and maintain pneumatic controllers
Apply the appropriate equations and perform closed-loop tuning
Perform visual loop tuning

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 2

Introduction
o
o
o

Process control loops are composed of multiple parts.


The primary element : measures the process variables and
provides information through a field transmitter to the controller.
The controller: compare the process variable to a set-point that
has already been programmed into the controller and determines if
the process needs to change. If the process needs to change, the
controller sends out a command signal to a controlling device
which in turn changes the process.
The whole control loop process is then repeated over and over.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 3

Process Control Theory

Process control is the application of a control system to a process


to provide the most efficient and reliable operation possible.
The goal of process control is to measure, compare, compute and
correct.
To produce the best control possible, the control system must be
matched to the process.
The key characteristics of a process must be identified and the
complexity of the process must be simplified.
Processes are generally very complex because they contain many
smaller processes connected together in series.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 4

Process Control System

A process control system can be defined as a mechanism that


measure the value of a selected process parameter and operates
to limit the change in this parameter from a desired value.
The process parameter that is selected for control is called the
controlled variable (CV) or process variable (PV).
The CV in the example of the heat exchanger is the outlet oil
temperature.
The measurement of the CV is performed by a measuring element
(the primary element) that is a thermocouple connected to a
temperature transmitter.
The temperature transmitter detects the change in temperature
and converts it to a signal suitable for transmission such as 420mA DC current, 1-5 volts, 0-10 volts and 3-15psi air pressure.
This transmission signal is called measured variable.
The measured variable is a signal that represents the controlled
variable.
The transmission signal received from the measuring element is
used by the controller

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 5

Process and Control Loop Basics


Control loop:
The instrumentation and piping or mechanical linkages that are
engineered to maintain a process variable (PV) at the desired
condition.
Error:
the difference between the process variable (PV) and the setpoint
(SP).
Load disturbance:
Any process input that can impact the process variable (PV)
Manipulated variable:
the condition, quality or quantity that is adjusted in an effort to
minimize error; to make the process variable (PV) equal to the
setpoint (SP)
Measured variable:
the condition, quality or quantity that is measured and analyzed in
order to implement a control strategy
Process:
A method of doing or producing something. Can be a series of
operations performed
in the making or treatment of a product. Page | 6
FAB38404 Process Control
Universiti Kuala Lumpur Malaysia France Institute

Modulating Control

In modulating control, the feedback controller operates in two


steps.
The first step is to compute the error between the controlled
variable (feedback) and the setpoint.
The second step is to produce an output signal to the final control
element (control valve) in an effort to reduce the measured error to
zero.
This is a continuous operation with constantly changing analog
output values.
Three basic functioning modes: Proportional, Integral and
Derivative (known as PID controller)
Loop operation and tuning parameters may active only a single
mode, a combination of two modes or a combination of all three
modes.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 8

Continuous-Mode Controllers

Most process control applications employ continuous-mode


controllers instead of discrete-mode controllers to avoid the
oscillatory system response caused by ON/OFF control.
A continuous-mode controllers sends an analog signal to the
process control field device to regulate the process variable,
bringing the error signal to zero in a closed-loop system.
In a PLC-based system, the controller may be an intelligent I/O
interface or software routine instructions that use standard I/O
analog modules.
Three different modes to control the process:
- proportional control mode
- Integral control mode
- Derivative control mode
Proportional mode provides a control variable adjustment that is
proportional to the error deviation.
Integral mode (reset mode) provides a change in the control
variable based on the time history of the error.
Derivative mode (rate mode) provides a change in the control
variable based on the rate of change of the error signal.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 9

Continuous-Mode Controllers

Block diagram of a continuous-mode controller


FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 10

Continuous-Mode Controllers

The combination of all three modes in one controller forms the


industry standard known as PID control.
Table below shows the different possible combinations of
continuous-mode control modes.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 11

Proportional Controller (P Mode)

A proportional controller adjust the control variable output in a


manner proportional to the error.
The controller (Hc) receives feedback information from the process
(Hp) in the from of the process variable, which is then compared to
the set point.
The error created, either positive or negative tells the controller
what percentage of output (CV) to provide to bring the error to zero
Figure below illustrates a typical proportional controller transfer
function for a direct-acting controller
As the error becomes more negative (PV>SP), the controller will
increase the control variable in proportion to the error. This will
cause the process variable to decrease thus pushing the error to
zero. If the error becomes more positive, the opposite occurs.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 12

Proportional Controller (P Mode)

The control variable output (CV) of a proportional controller,


starting from the set point value is expressed by:
CV = KPE + CV(E=0)
where:

KP = the proportional gain of the controller


E = the current error
CV(E=0) = the controller output when the error equals 0

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 13

Proportional Controller (P Mode)

An example, if a controller with a control variable output value of


50% senses that the proportional error in the system (K PE) is 20%,
its new output will be 70%.
CVnew = 20% + 50% = 70%

The slope of this graphs, the proportional gain KP is computed by


dividing the percentage change in output by the percentage
% change in CV
change
K p in
error:
% change in E

Note that the direction of the slope of the proportional gain (the
positive or negative response of the control variable to a change in
FAB38404 Process
Control
Universiti
Lumpur Malaysia
France Institute is direct acting Page
the error)
depends
on Kuala
whether
the controller
or | 14

Proportional Controller (P Mode)

Example: The temperature


control
system
has
a
temperature response that
span from 60F to 180F,
equaling a range of 120F
(180F - 60F).
If the controller only need to
exert control from 90F to
150F with set point at 120%,
it will only be controlling a
range of 60F (150F -90F)
over the total range of 120F.
Therefore, the proportional
band of the controller is 60F
over 120F range.
The proportional band of the
control is represented as

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 15

Proportional Controller (P Mode)

If the PV in the previous


example is at set point of 120%,
then the controller must only
maintain CV at 50% to keep the
error at 0.
If the process variable increases
to 135F, the error incurred
over the total temperature span
will be

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 16

Proportional Controller (P Mode)

The gain of a controller indicates


how sensitive the controller is to
error.
The
proportional
band
also
indicates this sensitivity.
Example: two controller with gains
of KP1 = 1 and KP2 =2 that have
proportional bands of 100% and
50% respectively.
The system with a gain of 1 will
change the controller output 1%
for every 1% of error.
The system with a gain of 2 will
have
twice
the
sensitivity,
changing CV 2% for every 1% error

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 17

Example
Graph the transfer function for a proportional controller with a
proportional band of 60% over a process variable range of 50F to
150F. The proportional band is centered around a set point of 90F at
a 50% controller output.
Solution:
In this system, the set point (90F) is not at the center of the total
process variable range.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 18

Example

The proportional gain for a reverse-acting controller is


calculated using the same equations as used for a directacting one. The sign of the gain will be negative due to the
slope of the curve. Assuming the PV is 160F and the
previous CV output was at the set point (50%).

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 19

Example

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 20

Integral Controllers (I Mode)

An Integral controller provides an output whose rate of change is


proportional to the error deviation.
This means that the larger the error the faster the controllers
output changes and vice versa.
An integral controller will bring the systems residual error to zero.
An integral controllers output (CV) is represented by:

where:
dCV/dt = the rate of change in controller output in %
over seconds
KI = the integral gain in % of the controller output per
sec. per % error
E = the error in %

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 21

Integral Controllers (I Mode)

The controllers output (CV) can be obtained as follow:

When an integral controller is used, it calculate CV for every


change in error.
If the value of the error changes after the controller has calculated
a previous value CV then it will use this previous value of CV and
calculate a new CV output based on the new error.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 22

Integral Controllers (I Mode)

The integral gain KI indicate the sensitivity of the outputs rate of


change to the percentage of error that occurs over time.
A larger value of KI means a small error will produce, a large rate of
change in the controller output.
A small value of KI means a small error produce, a small rate of
change in the controller output.
In Figure below, the rate of change of KI1 > KI2

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 23

Integral Controllers (I Mode)

FAB38404 Process Control

If the error makes a large jump


(1) the controller will respond
with a step increase in output.
As the error decrease (2) the rate
of increase of the output variable
will decrease.
When the error becomes zero (3),
the controller will keep its output
at its previous level.
As the error increases in the
opposite direction (4) the output
will decrease.
As the error decrease but remain
negative (5) the CV will decrease
but less rapid rate.
If the error increase positively (6)
the output will increase.
As the error goes to zero and
remains there (7), the controller
will level
out.
Page | 24
Universiti Kuala Lumpur Malaysia
France Institute

Integral Controllers (I Mode)

The gain of an integral controller (KI) is defined by the equation:

If a value of KI = 0.2 indicates that the controller will change 0.2%


per second for every 1% of error present in the system.
If the 1% error in the system lasts for 2 seconds and then goes to
zero, the controller will increase its output 0.4%

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 25

Integral Controllers (I Mode)


The value of integral gain KI1 can be
computed as

The value above indicates that the


controller will gain 0.5% in output per
second for each percentage of error
present.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 26

Integral Controllers (I Mode)


If the error is 50% (e.g. PV-200F) after
one second the controllers output will
be 75%.

It the error drops to 10% the output will


be

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 27

Integral Controllers (I Mode)

The inverse of the gain term KI is referred to as the Integral time


(TI) or reset time, in seconds. The integral time is the time it takes
for the control variable (CV) to change 1% for a 1% change in error.

If the integral time must be specified in minutes, a simple


conversion can change TI from seconds to minutes:

For the previous example, the reset time is equal to:

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 28

Proportional-Integral Controllers (PI Mode)

Although an integral controller does not have the residual error at


steady state, its response action is often too slow to be used in
real-life applications.
This is due to the ramping effect of the integral action as the
controller increases its output.
Therefore, proportional action is normally added to an integral
controller to form a proportional-integral (PI) controller.
PI controller can have one of
two configurations:
- Parallel
- Series

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 29

Proportional-Integral Controllers (PI Mode)

In a parallel PI controller, the proportional and integral actions


occur independently of each other, so the controllers output (CV)
is equal to the proportional action plus the integral action:

In a series PI controller, the integral action occurs after the


proportional action. Therefore the input to the integral action is
not the system error E but rather the result of the proportional
action KPE

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 30

Proportional-Integral Controllers (PI Mode)


The term repeats is used
when referring to how many
times the proportional amount
is repeated in 1 minutes.
If TI < 1 minute, the integral
gain is repeated more than 1
time per minute.
In figure (a) the integral gain
of a PI controller with a repeat
of 1 (TI=1). After 1 minute, the
term KPE is repeated.
In figure (b) TI = 0.333
indicate that the term KPE will
be repeated three times in
one minute.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 31

Proportional-Integral Controllers (PI Mode)


The integral or reset, time of a
PI controller influences the
ultimate closed-loop response of
the system.
As the reset time decreases, the
response
speed
increases
creating an overshoot.
The overshoot in the response
will cause the proportional
action to initiate a negative
increase (reduction of output)
producing
an
oscillating
response.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 32

Proportional-Integral Controllers (PI Mode)

Gain curves for (a) direct and (b) reverse-acting series PI controller
FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 33

Derivative Controller (D Mode)

The output of a derivative controller is proportional to the rate of


change of error in the system which is express as dE/dt.
This derivative action also referred to as rate mode is expressed
as

FAB38404 Process Control

Derivative controller action

Universiti Kuala Lumpur Malaysia France Institute

Page | 34

Derivative Controller (D Mode)

The derivative gain constant (KD) is also referred to as the rate


time. It can be expressed in seconds or minutes as:

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 35

Derivative Controller (D Mode)


If the error increases at a rate of
1.0%/sec, the controller will
apply a derivative action that
makes its output jump from 50%
to 70%.
If the rate of increase slows
down to 0.5%/sec, the controller
will decrease its output to 60%.
When the rate of change of error
equal zero, the controller will
decrease its output to 50%
again.
Note that the derivative action is
based on the rate at which the
error changes not the actual
value of the error.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 36

Derivative Controller (D Mode)

Derivative action is not used by itself, it is used in combination with


proportional and proportional-integral actions.
First the derivative action response to a step change creates an
infinite change in error over time (dE/dt = ) cause the output of
the controller to have 100% saturation for an instant ( point 1).
If the error remains at its stepped up value, the controller will
sense no change and will return the control variable to 50%
(between point 1 and 2). At point 2 when the error drops in a step ,
the control variable will again have an infinite change over time
thus causing a 0% output (point 2).
The second reason is it only produces a change in output if there is
a change in the rate of error (point 3, 5, 6 and 7).
If a large error remains constant the controller will maintain the CV
at 50% of its range (point 8) thus the error will not be corrected.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 37

Derivative Controller (D Mode)

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 38

Proportional-Derivative Controllers (PD Mode)


Proportional-derivative
(PD)
controllers
are
composite
controllers that combine the actions
of proportional and derivative
controllers.
A PD controllers output equation is
presented as

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 39

Derivative Controller (D Mode)

The term KD (or TD) in a series PD controller indicates the time it


takes for the proportional action to equal the derivative action, in
other words for the controller to repeat the derivative action.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 40

Derivative Controller (D Mode)


The derivative component of a PD
controller provides a faster response
than just the proportional action
alone, since it provides an immediate
response to an error change that
behaves in ramp form.
The proportional action increases the
output as it reads the error level.
A derivative action anticipates the
error value because it evaluate the
rate at which the error is changing.
Therefore when the error changes in
ramp form instead of step form, the
derivative gain compensates for the
proportional controls delay in action.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 41

Derivative Controller (D Mode)


If the set point changes, the
proportional controller will try to
bring the error to zero by making
PV equal SP.
The error at the start (t0) is 1, and
as PV approaches SP this error
becomes smaller.
The controller output is positive
(direct acting) which makes the
PV value become more positive.
The slope of PV is also positive
(Point A).
The slope is negative when the
response of the pure proportional
action starts to decrease (Point B).
When the proportional response
becomes negative the derivative
term becomes positive thus
braking the undershoot.
FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 42

Derivative Controller (D Mode)

Closed-loop process to a PD controller for several value of KD

Process response of a PD controller with too much derivative gain


FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 43

Proportional-Integral-Derivative Controllers (PID


Mode)

A proportional-integral-derivative (PID) controller combines the


actions of all three controller modes.
Also called a three-mode controller can be used to control almost
any process that involves lags and dead times.
Can be arranged in either a series or parallel configuration.
The basic expression for the process variable output for a standard
parallel PID controller is

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 44

Proportional-Integral-Derivative Controllers (PID


Mode)

PID control eliminates the offset of the proportional action through


its integral action and suppresses oscillation with its derivative
action.
When properly tuned, a PID controller will smoothly regulate the
response of a complex system or process.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 45

Proportional-Integral-Derivative Controllers (PID


Mode)

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 46

PID Bumpless Auto/Manual Transfer

Most PLC applications that implement PID control employ


automatic / manual control stations that allow the operator to
switch between manual and PLC process control.
To prevent a step change or bump during this switch, the control
station must ensure that both controllers, the manual controller
and the PLC (automatic), send the same output (CV) to the
process. Otherwise the process may receive a change in the control
variable which could produce a transient response in the system.
The automatic (PLC) and manual controllers must follow each
others outputs when they are operating

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 47

PID Bumpless Auto/Manual Transfer

When the system is in manual mode, the PID controller tracks the
manual controllers output, so that when the transfer from manual
to automatic occurs, both controller outputs are the same.
A similar operation takes place during an automatic to manual
transfer.
During a manual-to-automatic transfer in a PLC system, the PID
interface processor may also set the set point equal to the process
variable. This forces the system error (SP-PV) to zero, ensuring that
a bump does not occur during the transfer.
After the transfer, the PID processor returns the set point to its
original value.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 48

Cascade Control

Cascade control uses two controllers configured so that the output


of one feedback loop becomes the set point for the other one.
Figure (a) illustrates a temperature control batch system that
utilizes a single PID controller while Figure (b) shows the same
system with cascade control.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 49

Cascade Control

In the cascade configuration, the batch tank controller provides the


set point for the steam jacket temperature controller, which is turn,
actuates the stem valve.
The batch tank loop is called the primary loop since the main
process variable (the batch temperature) is the primary control
concern.
The steam jacket temperature loop is called the secondary loop or
inner loop since the jacket temperature is of secondary interest in
the control system.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 50

Cascade Control

The greatest advantage of cascade control systems is that they


respond quicker than single controller systems to disturbances that
affect the primary loop.
In cascade control, the secondary loop response to a disturbance
generally occurs first, before the primary loop starts to respond.
Most programmable controller system allow cascade control
directly to the PID intelligent interface or analog input modules.
Therefore the user must only identify the input to the secondary
loop.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 51

Controller Loop Tuning

For a process control system to work correctly, its control loop(s)


must be tuned. Loop tuning involves selecting the constants [K P, KI
(or TI) and KD (or TD)] that will be used with the proportional,
integral, and derivative actions of a controller.

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 52

Controller Loop Tuning

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 53

Ziegler-Nichols Closed-Loop Tuning Method

The Ziegler-Nichols closed-loop tuning method is used to obtain the


controller constants [KP, KI (or TI) and KP (or TD)] in a system with
feedback.
The main objective is to find the value of the proportional-only gain
that cause the control loop to oscillate indefinitely at a constant
amplitude.
This gain which causes steady-state oscillation is called the
ultimate proportional gain (KPU).
Another important value with this proportional-only control tuning
method is the ultimate period (TU). TU is the time required to
complete one full oscillation once the response begins to oscillate
at a constant amplitude.
This two parameters KPU and TU are used to find the loop-tuning
constants of the controller (P,PI or PID).

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 54

Ziegler-Nichols Closed-Loop Tuning Method

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 55

Example

FAB38404 Process Control

Universiti Kuala Lumpur Malaysia France Institute

Page | 56

Potrebbero piacerti anche