TRAINING MANUAL
Course EXP-MN-SI070
Revision 0
MAINTENANCE INSTRUMENTATION
THE REGULATOR AND ITS FUNCTIONS
CONTENTS
1. OBJECTIVES ..................................................................................................................5
2. REGULATION .................................................................................................................6
2.1. DEFINITIONS ...........................................................................................................6
2.2. INTRODUCTION.......................................................................................................6
2.2.1. Behaviour in terms of regulation........................................................................8
2.2.2. Behaviour in terms of slaving ............................................................................8
2.3. CLOSED-LOOP REGULATION ................................................................................9
2.3.1. Operating principle ............................................................................................9
2.4. OPEN-LOOP REGULATION...................................................................................11
2.4.1. Operating principle ..........................................................................................11
3. THE PROCESS AND ITS CHARACTERISTICS ...........................................................13
3.1. STABILITY ..............................................................................................................13
3.1.1. Naturally stable process ..................................................................................13
3.1.1.1. Principle .....................................................................................................13
3.1.1.2. Example of a stable process ......................................................................14
3.1.2. Naturally unstable process ..............................................................................15
3.1.2.1. Principle .....................................................................................................15
3.1.2.2. Example of an unstable process ................................................................15
3.2. PROCESS RESPONSE PARAMETERS ................................................................16
3.2.1. Transient state and steady state .....................................................................16
3.2.1.1. Principle .....................................................................................................16
3.2.1.2. Example .....................................................................................................16
3.2.1.3. Conclusion .................................................................................................20
3.3. STATIC CHARACTERISTIC OF A PROCESS .......................................................20
3.3.1. Static gain........................................................................................................20
3.3.2. Static error.......................................................................................................21
3.3.3. Linearity and non-linearity of a system (process) ............................................21
3.4. DYNAMIC CHARACTERISTIC OF A PROCESS....................................................21
3.4.1. Response time ................................................................................................21
3.4.2. Overshoot........................................................................................................21
4. REGULATORS ..............................................................................................................22
4.1. ROLE OF THE REGULATOR .................................................................................22
4.2. REGULATOR STRUCTURE ...................................................................................23
4.3. PID DIAGRAM REPRESENTATION OF A REGULATOR ......................................27
4.4. REGULATOR CLASSIFICATION............................................................................28
4.4.1. Pneumatic regulator ........................................................................................28
4.4.2. Electronic regulator .........................................................................................30
4.5. REGULATOR ACTION DIRECTION.......................................................................33
4.5.1. Definition .........................................................................................................33
4.5.2. Choice of regulator action direction .................................................................34
5. REGULATOR ALGORITHMS........................................................................................35
5.1. PROPORTIONAL ACTION .....................................................................................35
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 2 / 75
Page 3 / 75
Page 4 / 75
1. OBJECTIVES
The purpose of this course is to enable the future instrumentation specialist to understand
the instrumentation on a predominantly oil-oriented industrial site.
The objectives of this course are to allow you to know:
what a regulator consists of,
what purpose it serves,
all its functions,
how to adjust the actions of a regulator.
Page 5 / 75
2. REGULATION
2.1. DEFINITIONS
Adjusted variable
Physical variable that you want to control. The name taken by the regulation is based on
this variable.
For example: temperature regulation.
Setpoint value
Value that the adjusted variable must take.
Correction variable
Physical variable that has been chosen to control the setpoint value. Generally, it is not of
the same nature as the adjusted variable.
Disturbance variables
Physical variables that influence the adjusted variable. Generally, they are not of the same
nature as the adjusted variable (e.g. variation in the ambient temperature).
2.2. INTRODUCTION
A certain number of parameters have to be controlled for most industrial processes, such
as: temperature, pressure, flow rate, level, pH, concentration of O2, etc.
It is the task of the regulation chain (and more generally of the slaving chain) to maintain
the parameters governing process operation at predetermined levels.
All regulation (or slaving) chains include four essential links: the sensor and its
transmitter, the actuator (regulation valve, speed variator, etc.), the regulator and the
industrial process (heat exchanger, distillation column, etc.).
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 6 / 75
You must therefore start by measuring the main variables that are used to control the
process. The regulator recovers these measurements and compares them with the values
required by the operator, which are usually called the "setpoint values".
In the case where the measured values are not in agreement with the setpoint values, the
regulator sends a command signal to the actuator so that it can act on the process. The
parameters governing the process are therefore stabilized at all times at the desired levels.
If we take the example of a heat exchanger, the adjusted variable is the output
temperature (which must be held constant, at a predetermined setpoint value) and the
correction variable is the flow-rate of the heat-transfer fluid.
The load's flow rate variations and changes in the ambient temperature are considered to
be disturbance variables.
Page 7 / 75
Page 8 / 75
Page 9 / 75
Example:
Page 10 / 75
Lastly, closed-loop regulation cannot anticipate. In order for the regulation to send a
command to the control system, the disturbances or any variations with respect to the
setpoint value must have been observed at the output from the process, and this
sometimes takes far too long.
Page 11 / 75
Page 12 / 75
3.1. STABILITY
3.1.1. Naturally stable process
3.1.1.1. Principle
A process is said to be naturally stable if a finite variation in the correction variable E
corresponds to a finite variation in the adjusted variable S.
Page 13 / 75
Page 14 / 75
Page 15 / 75
Remark:
A process is said to be of the integrator type if for a constant input E, output S is a rising
straight line.
3.2.1.2. Example
We have observed previously the response of a process to determine whether it is stable
or unstable.
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 16 / 75
In this section, we are going to determine the process's characteristic parameters from that
response.
It will be easier to adjust the regulation loop if we know these parameters.
On a stable process
Let us consider the regulation scheme for the heat exchanger in the figure below.
With the regulator in manual mode, let us generate a step V on the valve signal and
observe the change of temperature Ts.
Page 17 / 75
Definition
Tr
Time interval between application of the step and the start of the change
in the measurement: Tr = T1 T0
teBO
Open-loop establishment
time
Time interval between application of the step and the time when the
measurement reaches 95 % of its final value Mm. We consider that this
time is practically equal to the length of the transient state: teBO = t2 t0
Gs
Static gain
Page 18 / 75
On an unstable process
Designation
Definition
Tr
Time interval between application of the step and the start of the change in
the measurement: tr = t1 t0
Integration coefficient
K=
M
K unit in mn-1 or s-1
t V
Page 19 / 75
3.2.1.3. Conclusion
The regulation loop setting operations are often carried out by experienced technicians,
who do not necessarily know the value of the parameters (Gs, teBO, Tr, K) of the processes
on which they act.
Knowledge, even approximate, of these parameters can:
constitute an indicator for choosing the type of regulation best suited to a
process (single loop, cascade, etc.).
provide an indication on the best-suited regulation mode (P, PI, PID, PID selfadapting, etc.).
make it possible to find, using calculation methods, the optimum setting actions
to be displayed on a regulator to ensure the stability of a regulation loop.
Page 20 / 75
3.4.2. Overshoot
The first overshoot makes it possible to qualify a system's stability. The greater the
overshoot, the closer the system will be to instability. In certain regulation systems, no
overshoots are tolerated. In the unit-step response, the first overshoot is 20 (=120%
instead of 100%).
Page 21 / 75
4. REGULATORS
We have therefore said earlier that a regulation loop is made up of four main elements:
The sensor-transmitter,
The regulator,
The regulation valve,
The process (for example: heat exchanger, distillation column, etc.).
And here in this course, we are going to define what a regulator is, what it is made up of
and we are going to see all its functions in a regulation loop.
Remark:
These two variables have been identified for many years, and still are for many people, by
the letters "M" and "C".
But there is a problem here, the letter "C" also symbolizes the comparator, the sensor or
even the command; the letter "M" also stands for Measurement, Measurand (physical
value that has been captured).
Page 22 / 75
That is why the letters have been normalized by an American international system and the
letters used for the measured and setpoint value are:
X: Measured value
W: Setpoint value
It "regulates":
Compares the measured and setpoint values: measured-setpoint value
difference (e = X - W),
Decides what action is to be taken according to the parameters
It delivers:
An output signal usually called the "command Y " to the regulation valve.
Comparateur
Page 23 / 75
In the diagram above, we can see that the regulator is a set of several elements, it
consists of:
a comparator making it possible to compare the measured value with the
setpoint value,
a corrector that is going to correct this difference by performing several setting
actions,
a selector making it possible to choose between the Manual or Automatic
positions.
The measured signal X is the image of the adjusted variable, delivered by a sensor and
transmitter and transmitted in the form of an electrical or pneumatic signal;
The setpoint value W may be internal (provided locally by the operator) or external;
Command Y is displayed and generally in physical units for the set and measured values.
If a regulator is in automatic mode, its output will depend on the measured and the setpoint
value. This will not be the case if it is in manual mode.
Page 24 / 75
The blocks:
4: Setpoint value generator.
5: PID module: in automatic mode, the output from the block is the same as the output
from the regulator.
The automatic position corresponds to normal regulator operation.
The adjustments:
9: Adjustment of the internal setpoint value.
10: Adjustment of P, I and D actions.
11: Adjustment of the upper and lower limits.
12: Adjustment of the regulator's output in manual position.
The selectors:
13: Internal setpoint value or external setpoint value selector.
14: Regulator's action direction (direct or inverse) selector.
15: Automatic or manual operation selector.
The indicators:
16: Setpoint value indicator.
17: Measurement indicator.
18: Measured value Setpoint value difference indicator.
19: Output indicator.
Page 25 / 75
The table below gives the main symbols and designations used on regulators according to
the manufacturers.
Measurement
M
PV (Process Value)
X
Output
S
OUT or OUTPUT
Y
Setpoint value
C
SP (Set Point)
W
(W-X) difference
X
DV
E
INT and EX
C.I and C.E
L (local) and D (Distance)
Tracking
P.V.T (Process Value Tracking)
Direct, inverse
D and I
INC (Increase) and DEC (decrease)
Manual, auto
M and A
MAN. and AUT.
MANUAL and AUTO
Page 26 / 75
Page 27 / 75
Page 28 / 75
Most often, you have two pressure gauges integrated in the regulator, they indicate the
feed pressure and the regulator's output signal.
The pneumatic regulator is installed close to the measurement point and functions in a
single loop.
The setpoint value is adjusted by means of a pointer, and you must turn the pointer's knob
to change the value.
You can always adjust the measurement zero by means of a set screw.
Its main advantage is its response speed.
And its main drawback is the difficulty in integrating the functions of several regulators
spread around the units.
Page 29 / 75
Page 30 / 75
Page 31 / 75
Page 32 / 75
Page 33 / 75
Figure 30: Action direction of the regulator and of the process in a closed loop
Page 34 / 75
5. REGULATOR ALGORITHMS
We have seen in the structure of the regulator that there is a corrector, and this corrector is
going to allow us to make adjustments that will in turn allow us to act on the
measured/setpoint value difference (also called "static error").
These adjustments are made by means of the following three regulator actions:
Proportional action P: the error is multiplied by a gain K
Integral action I: the error is integrated over a time interval Ti
Derived action D: the error is derived over a time Td
Each of the regulator's actions therefore corresponds to an algorithm.
By associating these three algorithms in different ways, they will enable the regulator to
adjust a process to a setpoint value that we want, by managing to compensate all the
possible disturbances.
Page 35 / 75
5.1.2. Presentation
The regulator's command Y is proportional to the static error (W - X), insofar as possible
(Y cannot be negative, or have a value higher than 100).
In the proportional part, called the proportional band, we have: B p =
100
K
The proportional band Bp therefore represents the variation in the measured/setpoint value
difference as a % which produces a 100% variation in the regulator's output signal.
The gain K represents the ratio between the output variation and the input variation.
The setpoint value W, the measured value X and the proportional band Bp, are expressed
as a % of the full scale.
Figure 31: Diagram of the proportional band according to the regulator's output
Depending on the sites, people use different terms: you will hear the words 'gain' or
'proportional band' used.
Example of calculations:
I take my regulator's parameters and I see that:
The level measurement is X=10%
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 36 / 75
Page 37 / 75
5.1.3. Operation
At the time of a variation in the setpoint value's step, the process has a response that
looks like this:
Page 38 / 75
Page 39 / 75
Static behaviour (operation in steady state): we can see in graph-form that the smaller
the proportional band is, the smaller the error (W-X) will be in steady state.
In the figure, Xp1 < Xp2
Here the process's response in static is the green curve.
The red and blue curves show the change of value in the proportional band and therefore
its influence on the process.
Dynamic behaviour (operation in transient state): the smaller the proportional band is, the
shorter the system's response time will be.
In fact, for a given error, the command delivered is greater than with a larger proportional
band.
If the proportional band comes close to 0, the system becomes unstable.
In fact, On/Off operation corresponds to a nil proportional band (see On/Off regulation
chapter).
Page 40 / 75
Page 41 / 75
Page 42 / 75
5.2.2. Operation
In order to study the influence of integral action, we shall look at the response of the onestep integral modulus. The greater Ki is (the smaller Ti is), the more the value of output Y
increases quickly. Time Ti is the time required for command Y to increase by the input
value E = W - X.
Page 43 / 75
Page 44 / 75
Integral action repeats the effect of the proportional action, until the difference between the
measured and setpoint values is nil. It integrates the W-X difference as a function of time.
Here we can see the behaviour of the output signal Y from the open loop regulator with a
PI regulator.
This little example makes it possible to observe the behaviour of the regulator's output
signal.
At time T = 0: we see that the measurement = the setpoint value (W = X).
T = Ti = 1 min
K=1
Page 45 / 75
5.3.2. Operation
In order to study the influence of the derived action, we will look at the response of the
derived modulus to a ramp. The greater Td is, the larger the value of output Y will be. Time
Td is the time for which input E increases by the value of output Y.
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 46 / 75
Figure 46: Output signal from the regulator submitted to a derived action
The figure above allows us to see the shape of the regulator's output signal submitted to a
derived action.
These pulses on output signal Y are called "Dirac peaks". We can see that they act quickly
on the measured value X.
Page 47 / 75
Page 48 / 75
Figure 49: Output signal from the regulator with three combined actions
The figure above allows us to see how the regulator output signal Y evolves with three
combined regulator actions: P + I + D.
Figure 50: Unit-step response of each action of a regulator and of each of its
PI, PD and PID combinations
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 49 / 75
Regulator action
Advantages
Dynamic
Proportional
Precise
Stable
Drawbacks
Integral
Derived
Anticipates
Fast
Proportional
+
Integral
+
Derived
Precise
No deviation of the variable to be
adjusted
Page 50 / 75
Page 51 / 75
Page 52 / 75
Equation: S = Gr (M - C) + So
PI
(series)
Equation: S = Gr (M C ) +
Gr
Ti
(M C )dt S
Page 53 / 75
PD
(series)
Equation: S = G (M C ) + Gr Td
PID
(series)
Equation:
T + Td Gr
+
S = Gr (M C ) i
T
i
Ti
d (M C )
+ Gr Td
+ S0
dt
d (( M C )
+ S0'
dt
(M C )dt
Page 54 / 75
Page 55 / 75
Actions
PI
Series
PI
Parallel
PID
Series
PID
Parallel
PID
Combined
G rc
G rc
2,2
2,2
G rc
3,3
G rc
1,7
G rc
1,7
0,85T
G rc
T G rc
13,3
T
8
Gr
G rc
2
Ti
Max
T
1,2
2T
G rc
Td
Page 56 / 75
Firstly, they are deduced from the Ziegler and Nichols optimum behaviour criterion,
defined from the maximum amplitude of the controlled variable and its establishment time
(the choice of parameters varies greatly from one process to another).
Furthermore, the method consists of applying a step-type disturbance to the load when
excitations of the pulse, ramp or sine type are better suited in certain cases.
Generally speaking, this method is not suitable for fast loops (flow rates for example) and
processes with long delays. However, it can be used for stable and unstable processes.
Page 57 / 75
Adjustment parameters
Gr =
TG
TU
G r = 0,9
PI
TG
TU
Ti = 3,3TU
G r = 1,27
PID
TG
TU
Ti = 2TU
Td = 0,5TU
Page 58 / 75
The mathematical function that we have just described above is therefore the transfer
function of the process to be identified.
Figure 57: The process's unit-step response according to the mathematical model
To identify the process, we must therefore manage to determine the time constant and the
delay time.
Page 59 / 75
Figure 58: Unit-step response of the open-loop process submitted to one step
Broda therefore makes the S-shaped unit-step response correspond with the first order
function at two points on the y-axis, respectively 28% and 40%, for which he notes the
times T1 and T2.
He obtains: G S =
C
M
= 5,5(T2 T1 )
= 2,8T1 1,8T2
Figure 59: Unit-step response of the closed-loop process subjected to one step
Page 60 / 75
M
Gr
The purpose of the second test is to look for the and parameters. For this
test, the regulation loop must be placed in continuous oscillation. Let T be the
period of the oscillations and Grc the critical gain to be applied to obtain those
oscillations.
Page 61 / 75
Once we have completed these two tests to obtain the parameters being sought for the
process, we can deduce the regulator actions from them using the table below:
Regul
modes
PI
Series
PI
Parallel
PID
Series
Gr
0.8
GS
0.8
GS
0.8
GS
0.85
G S
Ti
Max.
GS
0,8
Td
Actions
PID
Parallel
PID
Combined
+ 0,4
+ 0,4
1.2 G S
1.2 G S
GS
0.75
+ 0.4
0. 4
0.35
GS
+ 2.5
Page 62 / 75
Page 63 / 75
Regul.
modes
PI
Series
PI
Parallel
PID
Series
PID
Parallel
PID
Combined
Gr
0,8
K
0,8
K
0,8
K
0,85
K
0,9
K
0,9
K
Ti
Maxi
K
0,15
4,8
K
0,15
5,2
Td
0,4
0,35
K
0,4
Actions
Page 64 / 75
Page 65 / 75
in proportional integral derived regulation, we look for the correct derived time
by observing the system's response to a setpoint value step
Page 66 / 75
Page 67 / 75
Example of use:
Cascade regulation can be used to regulate a level.
The slave loop is the regulation of the tank's supply flow rate.
This type of regulation is justified when you have a great deal of system inertia with
respect to a disturbance on the correction variable, or on an intermediate variable.
You must first of all adjust the inner loop, and then the outer loop with the slave regulator
closed.
Page 68 / 75
Example of use:
You can use a ratio regulation to establish the air/gas ratio of a boiler combustion
regulation.
Page 69 / 75
Example of use:
Page 70 / 75
Page 71 / 75
Page 72 / 75
8. LIST OF FIGURES
Figure 1: Regulation chain schematic diagram ....................................................................7
Figure 2: Unit-step response in process regulation..............................................................8
Figure 3: Unit-step response in process slaving ..................................................................8
Figure 4: Closed-loop regulation schematic diagram ...........................................................9
Figure 5: Example of closed-loop regulation......................................................................10
Figure 6: Example of open-loop regulation ........................................................................11
Figure 7: Schematic diagram of a stable process ..............................................................13
Figure 8: Example of a stable process...............................................................................14
Figure 9: Functional diagram of an unstable process ........................................................15
Figure 10: Example of an unstable process.......................................................................15
Figure 11: Functional diagram of an integrator type process .............................................16
Figure 12: Transient and steady states..............................................................................16
Figure 13: Example of a heat exchanger ...........................................................................17
Figure 14: Response of a stable process to a step............................................................18
Figure 15: Response to an unstable process step.............................................................19
Figure 16: Static characteristic of a process ......................................................................20
Figure 17: Dynamic response of a closed-loop process ....................................................21
Figure 18: Regulator structure ...........................................................................................23
Figure 19: Detailed structure of the regulator.....................................................................24
Figure 20: Example of measuring instrument identification on a PID diagram...................27
Figure 21: Example of regulator identification on a PID diagram .......................................27
Figure 22: Example of a pneumatic regulator ....................................................................28
Figure 23: Pneumatic regulator measurement pointer .......................................................29
Figure 24: Front face of an electronic regulator .................................................................30
Figure 25: Example of an ABB local digital regulator .........................................................32
Figure 26: Example of a digital regulator on a control system ...........................................33
Figure 27: Definition of the action direction........................................................................33
Figure 28: Action of the regulator with a direct process .....................................................34
Figure 29: Action of the regulator with an inverse process ................................................34
Figure 30: Action direction of the regulator and of the process in a closed loop ................34
Figure 31: Diagram of the proportional band according to the regulator's output ..............36
Figure 32: Unit-step response of a proportional action process.........................................38
Figure 33: Proportional regulation in closed-loop operation...............................................39
Figure 34: Determining the operating point........................................................................39
Figure 35: Influence of the proportional band in static behaviour.......................................39
Figure 36: Influence of the proportional band in dynamic behaviour..................................40
Figure 37: Example of adjustment of the proportional action .............................................41
Figure 38: Band shift characteristic....................................................................................41
Figure 39: Influence of band shift on the static error..........................................................42
Figure 40: Functional representation of a proportional action regulation on its own ..........42
Figure 41: Influence of Ki on the command Y signal ..........................................................44
Figure 42: Combined PI action ..........................................................................................44
Figure 43: Influence of the integration time in a closed loop ..............................................45
Figure 44: Example of PI regulator setting.........................................................................46
Figure 45: Influence of derived time Td on regulator output Y ...........................................47
Training Manual: EXP-MN-SI070-EN
Last revised: 17/10/2008
Page 73 / 75
Figure 46: Output signal from the regulator submitted to a derived action.........................47
Figure 47: Influence of derived time Td in a closed loop....................................................48
Figure 48: Example of PD regulator adjustment ................................................................48
Figure 49: Output signal from the regulator with three combined actions ..........................49
Figure 50: Unit-step response of each action of a regulator and of each of its PI, PD and
PID combinations........................................................................................................49
Figure 51: Determining the internal structure of a PID regulator........................................51
Figure 52: Series structure.................................................................................................52
Figure 53: Combined structure ..........................................................................................52
Figure 54: Parallel structure...............................................................................................52
Figure 55: Electronic schematization of a // PID regulator .................................................53
Figure 56: Unit-step response of an open-loop process to a step......................................57
Figure 57: The process's unit-step response according to the mathematical model..........59
Figure 58: Unit-step response of the open-loop process submitted to one step ................60
Figure 59: Unit-step response of the closed-loop process subjected to one step ..............60
Figure 60: Gain Grc to make the loop oscillate ...................................................................61
Figure 61: Unstable process identification in an open loop................................................63
Figure 62: Gain Grc for putting the process into oscillation.................................................64
Figure 63: Adjusting the proportional band ........................................................................65
Figure 64: Adjusting the integral time ................................................................................65
Figure 65: Adjusting the derived time ................................................................................66
Figure 66: Principle of a cascade regulation loop ..............................................................67
Figure 67: Example of a cascade regulation loop ..............................................................68
Figure 68: Principle of a ratio regulation loop.....................................................................68
Figure 69: Example of a ratio regulation loop ....................................................................69
Figure 70: Principle of a feedforward regulation loop.........................................................69
Figure 71: Example of a feedforward regulation loop ........................................................70
Figure 72: Principle of a split-range regulation loop...........................................................70
Figure 73: Example of a split-range regulation loop...........................................................71
Figure 74: Example with two valves adjusted with a shift for the Split range .....................71
Figure 75: Example with a calculation block without valve shifting for the Split range .......71
Figure 76: Shape of the measurement signal with On/Off regulation.................................72
Page 74 / 75
9. LIST OF TABLES
Table 1: A stable process's response parameters .............................................................18
Table 2: An unstable process's response parameters .......................................................19
Table 3: Symbols used on regulators ................................................................................26
Table 4: Advantages and drawbacks of PID actions..........................................................50
Table 5: Summary of the different types of regulator structure ..........................................54
Table 6: Ziegler and Nichols parameters according to the regulator's structure ................56
Table 7: Ziegler & Nichols parameters depending on the regulator's actions ....................58
Table 8: Broda parameters according to the regulator's structure ....................................62
Table 9: Unstable process parameters according to the regulator's structure ...................64
Page 75 / 75