Professional Documents
Culture Documents
K.C. Engineers
CONTROL SYSTEM:
The control system is that means by which any quantity of interest in a machine,
mechanism or equipment is maintained or altered in accordance with a desired manner.
Control system is of two types: 1. OPEN LOOP CONTROL SYSTEM:
It is shown in figure1. Any physical system, which doesnt automatically correct for
variation in its output, is called open loop system. In these systems, the output remains
constant for a constant input signal provided the external; conditions remain unaltered. The
output may be changed to any desired value by appropriately changing the input signal but
variations in external or internal parameters of the system may cause the output to vary from
the desired value in an uncontrolled fashion. The open loop control is, therefore, satisfactory
only if such fluctuations can be tolerated or system components are designed and constructed
so as to limit parameter variations and environmental conditions as well controlled.
Input
Controller
Plant
Output
intervals of time. It is obvious that such an arrangement takes no account of varying rates of
traffic flowing to the road crossing from the two directions. If on the other hand a scheme is
introduced in which the rate of traffic flow along both directions are measured and are
compared and the difference is used to control the timings of the red and green lights, a
closed-loop system results. Thus, the concept of feedback can be usefully employed to traffic
control.
Unfortunately, the feedback, which is the underlying principle of most control
systems, introduces the possibility of undesirable system oscillations.
DEFINITIONS:
(Referred from Modern control Engineering By Katsuhiko Ogata, 4th edition, page no.
2 and Control system engineering By I.J Nagrath and M.Gopal, 3rd edition, page no. 195)
PLANTS:
A plant may be a piece of equipment, perhaps just a set of machine parts functioning
together, the purpose of which is to perform a particular operation.
PROCESSES:
A process may be defined as natural, progressively continuing operation or
development marked by a series of gradual changes that succeed one another in relatively
fixed way and leads toward a particular result or end; or an artificial or voluntary,
progressively continuing operation that consists of a series of controlled actions or
movements systematically directed towards a particular result.
SYSTEMS:
A system is a combination of components that act together and perform a certain
objective. A system is not limited to physical ones. The concept of system can be applied to
abstract, dynamic phenomena such as those encountered in economics. The word system
should therefore, be interpreted to imply physical, biological, economic and the like systems.
DISTURBANCES:
A disturbance is a signal that tends to adversely affect the value of the output of a
system. If a disturbance is generated within the system, it is called internal, while the external
disturbance is generated outside the system and is an input.
FEEDBACK CONTROL:
Feedback control refers to an operation that, in the presence of disturbance tends to
reduce the difference between the output of a system and some reference input and does so on
the basis of this difference. Here only the unpredictable or known disturbances can always be
compensated for within the system.
DELAY TIME:
It is the time required for the response to reach 50% of the final value in first attempt.
It is represented by td. It is shown in figure 2.
Allowable Tolerance
Tc(t)
Mp
1.0
0.5
Ttd
Tt
Ttr
Ttp
Figure : 2
RISE TIME:
It is the time required for the response to rise from 10% to 90% of the final value for
over damped systems and 0 to 100% of the final value for under damped systems. It is shown
in figure 2.
PEAK TIME:
It is the time required for the response to reach the peak of time response or the peak
overshoot. It is represented by ts. It is shown in figure 2.
SETTING TIME:
It is the time required for the response to reach and stay within a specified tolerance
band (Usually 2% to 5%) of its final value. It is represented by ts in figure 2
e
+
Controller
Plant
PLANT:
System to be controlled.
CONTROLLER:
Provides the excitation for the plant; Designed to control the overall system behavior.
Kc +
Ti
Tds 2 + Kcs + Ti
+ Tds =
s
s
Kc =
Proportional gain
Ti =
Integral gain
Td =
Derivative gain
First, let's take a look at how the PID controller works in a closed-loop system using
the schematic shown above. The variable (e) represents the tracking error, the difference
between the desired input value (R) and the actual output (Y). This error signal (e) will be
sent to the PID controller, and the controller computes both the derivative and the integral of
this error signal. The signal (u) just past the controller is now equal to the proportional gain
(Kc) times the magnitude of the error plus the integral gain (Ti) times the integral of the error
plus the derivative gain (Td) times the derivative of the error.
u = Kc e + Ti edt + Td
de
dt
This signal (u) will be sent to the plant, and the new output (Y) will be obtained. This
new output (Y) will be sent back to the sensor again to find the new error signal (e). The
controller takes this new error signal and computes its derivative and its integral again. This
process goes on until the error becomes equal to zero.
Rise Time
Kc
Decrease
Increase
Ti
Decrease
Increase
Increase
Eliminate
Td
Small Change
Decrease
Decrease
Small Change
Note that these correlations may not be exactly accurate, because Kc, Ti, and Td are
dependent of each other. In fact, changing one of these variables can change the effect of the
other two. For this reason, the table should only be used as a reference when you are
determining the values for Kc, Ti and Td.
1. PROPORTIONAL CONTROL:
The cycling inherent with the on-off control would be objectionable for most
processes. To get steady operation when the disturbances are absent, the controlled variable
must be a continuous function of error. With proportional control, the most widely used type;
the controller output is a linear function of the error signal. The controller gain is the
fractional change in output divided by the fractional change in input.
P = Kc* e -------------------------(1)
Where:
P
Kc
controller gain.
The control action can also be expressed by the proportional bandwidth B. The
bandwidth is the error needed to cause a 100% change in the controller output, and it is
usually expressed as a percentage of the chart width. A bandwidth of 50% means that
controller output would go from 0 to 1 for an error equal to 50% of the chart width or from,
say, 0.5 to 0.6 for an error of 5%.
B = 1/Kc * 100 ------------------(2)
Some pneumatic controllers are calibrated in sensitivity units, or pounds per square
inch per inch of the pen travel. For a standard controller with a 3 to 15 psi range and a 4-inch
chart, the gain and sensitivity are related by equation:
S = 3Kc psi/inch ------------------------(3)
Kc
edt + Ps (4)
Ti
Where:
Kc
gain
Ti
Ps
constant
output
In this case, we have added to the proportional action term, Kc * e, another term that
is proportional to the integral of the error.
There is no offset with the integral control, since the output keeps changing as long as
any error persists. However, the initial response to an error is slow and proportional control is
ordinarily used with integral control. The integral action corrects for the offset that usually
occurs with proportional control only, and the effect is similar to manual adjustment or
resetting of the set point after each load change. The terms reset action and reset time are
widely used to characterize the integral action of a proportional integral controller.
P = Kc (e +
1
dt ) (5)
Ti
Where:
Ti
reset time
Kc
gain
output
de
( 6)
dt
Kc
gain
Td
output
In this case, we have added to the proportional term another term, KcTd (de/dt) that is
proportional to the derivative of the error. Other terms that are used to describe the derivative
action are rate control and anticipatory control.
Derivative action is often added to proportional control to improve the response of
slow systems. By increasing the output when the error is changing rapidly, derivative action
anticipates the effect of large load changes and reduces the maximum error.
DESCRIPTION:
FOR PRESSURE CONTROL TRAINER:
The basic objective of this flow controller is to control the pressure in the process tank.
This set up consists of the following components:
SETUP ASSEMBLY:
This assembly is used for supporting the various components on the front panel of the
equipment i.e. pressure gauges which is used to measure the pressure, Current to pressure
converter having a range in between 3 to 15 psi i.e. 3 psi for a current of 4mA and 15 psi for
current of 20mA which is given to the I/P converter by DIGITAL INDICATING
CONTROLLER. The setup also contains a pneumatic actuator.
Digital Indicating
PID Controller
I/P Convertor
Safety Pressure
Valve
Gauge
Pressure
Safety Gauge
Valve
Surge
Tank
Pressure
Transmitter
Air Release
Valve
Pressure
Regulator
Process
Tank
Air
Supply
Control
Valve
Moisture
Separator
PRESSURE TRANSMITTER:
The pressure in the process tank is sensed by the pressure transmitter with the help of
pressure sensor fitted in the line and after that is transmitted by the transmitter to the
computer through interfacing unit which shows the value of the process variable. This
transmitter converts that accordingly into 4-20mA i.e. 4mA for 0% pressure and 20mA for
100 % pressure.
10
CONTROL VALVE:
A control valve basically performs the function of controlling the input of air pressure in the
process tank. It is a diaphragm type pneumatic actuator, which varies the flow of the air
according to the movement of the stem at a pressure range of 3 to 15 psi, which is received
from I/P converter.
INTERFACING UNIT:
The interfacing unit is basically a medium for communicating with the equipment from the
computer. In case of pressure controller, the pressure of the air in process tank is sensed by
the pressure sensor in the pipe line, which is further transmitted into 4-20 mA which means
that the current is 4mA for 0% pressure and 20mA for 100% pressure and are displayed on
the interfacing unit in terms of 0 to 100%. These signals are further transmitted to the
computer through this interfacing unit by using a RS-232C where the signals are displayed on
the computer screen. The output of the interfacing unit is then transmitted to the I/P
converter, which converts it into 3 to 15 psi that means 3 psi for 4mA and 15 psi for 20mA.
INSTALLATION REQUIREMENTS: This section gives the necessary details regarding the installation of the equipment and the
software used for interfacing with the equipment.
For the installation of the equipment, following components are required: -
1)
2)
Water supply.
3)
11
COMPUTER:
A computer, which is the basic requirement for installing the software for interfacing with
the equipment. But the computer must fulfill the following requirements:-
1.
The Processor must be at least celeron 286 MHZ, Pentium III is recommended.
2.
3.
4.
5.
There must be an A4 size printer, which is used to get a hard copy of the stored data
required.
SOFTWARE INSTALLATION:
1)
Close all the programs running before inserting the Cd into CD drive.
2)
3)
4)
5)
Then, Open the software directory and double click the exe file of the
software to run the program.
6)
MENUS
&
BASIC FUNCTIONS: -
This section gives us the detailed information regarding the menus and the basic function of
the control software, which is used to control the equipment. It is shown in figure 3.
LOGIN:
This menu enables you to start the experiment. In this option, we are given with the User
Name i.e. name of the institute and the Password, which is k.c.engineers. Here we have
also the option of the entering the Professors Name under whose supervision test is going
to be performed, Students name and the Roll Number of the student who is
performing the experiment, which can be used during the report generation. It is compulsory
to select this option first and to fill the correct user name and password to continue the
Pressure Instrument Trainer
12
experiment. Without enabling this option and trying to continue the process or to select any
other option in the front panel shows the display box indicating that the user must login first
for selecting any other option. In this option, password is compulsory for running the
software. In case of wrong password the software will not run and a dialogue box will appear
with the software. All other options can be skipped off if not desired.
VIEW DIAGRAM: After LOGIN, we have to select VIEW DIAGRAM. This option, which shows us the
complete block diagram of the equipment and tells us how the equipment functions and also
helps in preparing the equipment connection. After that we have to choose the BACK option
and then decide to choose either the SIMULATION to access data from the simulation logic
in order to start the experiment or INTERFACE to access with the real time data.
SIMULATION:
Selecting this option accesses data from the PID simulation logic. This option doesnt use any
real time data. In this case, the process values and set point are to be entered by the user and
then observes the change in the controller output. In this we have the option to put some
value of disturbance. Now as the value of the load or the disturbance increases in a process,
then the corresponding error between the SP and PV increases. Hence as a result, the output
response also increases and vice-versa. Also in case of manual mode in the Simulation, when
the controller output is made equal to zero, then the value of PV decreases and finally reaches
to zero.
SIMULATION MODE:
13
INTERFACE:
Selecting this option, accesses real time data from using interfacing unit. In order to make the
system stable, we have to change the values of P, I, D.
START:
By enabling this option, the equipment will be ready to perform the experiment.
LOG:
On clicking the LOG button ON or selecting this option enables the data to be logged in
some particular file, which can be used later for continuing the experiment. In order to view
this saved data-logging file, click VIEW DATA FILE.
OFF:
Selecting this option disables the data logging.
FUNCTION GENERATOR:
The function generator is basically used to apply the dynamic waveform of some particular
period and amplitude to the process. The waveform is applied to the set point in case of the
close loop operation and is applied to the output in case of the open loop function.
ON:
This option enables the function generator selection and also enables the waveform to be
applied to the process.
OFF:
Selecting this option disables the function generator so that it stops functioning.
Pressure Instrument Trainer
14
REFERENCE POINT:
This function is used to set the reference point equal to set point which helps in
making PV equal to the set point.
PERIOD:
This function is basically used to provide some time period to a waveform so that the
waveform completes its one complete cycle in some particular interval of time.
AMPLITUDE:
This function is used to set the amplitude of the waveform, which is selected to be
applied to the process.
PROCESS: This function is responsible for either increasing or decreasing the value of PV in the
SIMULATION mode.
LAG (MIN): It is also known as delay time and is measured in minutes. It is the amount of time
required for the response to reach 50% of the final value in first attempt. As the value of the
lag time increases, the change in the value of PV also increases.
DISTURBANCE (%):
A disturbance is a signal that tends to adversely affect the value of the output of a
system. If a disturbance is generated with in the system, it is called internal, while an external
disturbance is generated outside the system and is an input.
INITIAL:
This is the value of the PV when we continue the process without allowing the
process variable to reach its initial state i.e. equal to zero or its ambient temperature.
15
AMBIENT TEMPERATURE: This is the initial value of PV, or due to the room temperature of the place where the
experiment is to be performed.
OUTPUT RANGE: This corresponds to the maximum and the minimum range of the controller output,
which is to be set by the user.
OUTPUT HIGH
It corresponds to the maximum limit of the controller output means that the output of
the controller never exceeds this limit. This value is set by the user in order to obtain the
accurate result.
OUTPUT LOW:
It corresponds to the lowest limit of the controller output means that the output of the
controller can never be less than this value.
PID GAINS:
This corresponds to the various values of the Kc, Ti and Td, which are to be selected
by the user in order to make the system stable. In other words, these values are selected in
order to make PV equal to SP.
MODE STATUS: This option tells you that in which mode the system is operating i.e. whether the
system is operating in P, PI or PID.
P:
This option tells you that the system is operating in proportional controller mode. P
represents the proportional gain. In order to get the steady operation when the disturbances
are absent, the controlled variable must be a continuous function of error. With proportional
control, the controller output is a linear function of the error signal.
PD:
This option indicates that the system is operating in Proportional + Derivative
controller mode.
Pressure Instrument Trainer
16
PID:
This option indicates that the system is operating in proportional
+ Integral +
Derivative controller
BIAS:
Bias is the value of the normal output of the controller at zero error. This is added to the
proportional controller.
Thus, when a process is under P only control and the SP equals the measurement (when error
equals zero), some bias value of the controller output must exist or the measured PV will drift
from the set point. This bias value of the controller output is determined from the design flow
of operation of the process to be controlled. Specifically, bias is the value of the controller
output, which in open loop causes the measured PV to maintain steady state at the design
flow of the operation when the process disturbances are at their design.
ACTION:
There are mainly two actions for controlling the process variable and controller output.
These actions are:
1) INC-INC
2) INC-DEC
Using INC-INC action will cause increase in output with the corresponding increase in
process variable. Using INC-DEC action will cause decrease in controller output with
increase in process variable. This action should be observed by the user, which will further
depend on the final control element functioning.
For example: Consider a case of pneumatic actuator, which is open for air and otherwise
closed which means that the actuator valve is open for 15 psi pressure and close for 3 psi
pressure. So, the final control element sets INC-INC action or INC-DEC action.
17
do anything to control the output of the process. So, if the output is increasing with increase
in the value of the Kc, the controller automatically decreases its output in order to make it
stable. But in case of manual control, the user controls the output of the process. Click AUTO
to select the AUTO mode and Click again to change the system to manual mode.
EXIT:
This option enables you to logout of the simulation or interfacing mode.
STOP:
This option enables you to logout out of this window.
RUN/PAUSE:
This option enables the graph to run or pause to show the waveform according to the
data shown the table in that window.
PRINT GRAPH:
Use print graph option for printing graphs according to the data that is saved in the
data log file.
Enabling this option enables you to enter into the print window, which shows the
User i.e. the name of the institute, Professors Name i.e. under whose supervision test is to
be performed, Students Name and Roll number i.e. the name and the roll number of the
student who is performing the experiment and the File path i.e. the path of the file which was
Pressure Instrument Trainer
18
saved using the LOG button. In this window the user has two options at the top of the
window i.e. one option of Print Window, which is used to take out the printout of the
window, and the second option is of Stop, which enables the user to come out of the window.
PRINT TABLE:
Use print table option to print table from data file that are saved in the data log file.
This option opens all the data stored using the log button in the excel file where the user has
an option to set the left, right margins of the page.
BODE PLOT:
To view this, switch off the start button so as to return back to the front panel and
click bode plot.
COMPARE DATA:
This option enables you to compare the data between to two experiments having
different values of P, I, D. This option also enables you to compare data between the
SIMULATION mode and INTERFACING mode.
EXIT:
Selecting this option allows you to return back to the desktop or logout you from the
software.
19
COHEN-COON METHOD
M/S
Uu=0
+
Gc
R=0
Gp
Gv
+
Loop Opened
B
H
To Recorder
Block Diagram of a Control loop for measurement of the Process reaction Curve
Tangent Line;
Slope S = Bu/T
Td
Time
Tt
Figure : 5
Typical process Reaction Curve showing graphical construction
to determine first order with Transport lag Model
The open loop method of tuning in which the control action is removed from the
controller by placing it in manual mode and an open loop transient is induced by a step
change in the signal. This method was proposed by COHEN and COON in 1953 and is often
used as an alternative to the Z-N method. Fig shows a typical control loop in which the
control action is removed and the loop opened for the purpose of introducing a step change
(M/S). The step response is recorded at the output of the measuring element. The step change
to the valve is conveniently provided by the output from the controller, which is in manual
mode. The response of the system is called the process reaction curve; a typical process
reaction curve exhibits an s-shape as shown in the fig. 5
It is represented by equation:
Gp ( s ) =
Kc e
Tds
Ts + 1
------------------(7)
The C-C method is summarized in the following steps: Pressure Instrument Trainer
20
1) After the process reaches steady state at the normal temperature of operation, switch
the controller to manual. In modern controller, the controller output will remain at the
same value after switching as it had before switching.
2) With the controller in manual, introduce a small step change in the controller output
and record the transient, which is the process reaction curve.
3) Draw a straight line tangent to the curve at the point of inflection, as shown in fig .the
intersection of the tangent line with the time axis is the apparent transport lag (Td);
the apparent first order time constant (T) is obtained from the
T=Bu/S ------------------------------(8)
Where Bu is the ultimate value of B at large t and S is the slope of the tangent line.
The steady state gain that relates B to M in fig is given by
Kp=Bu/M -----------------------------(9)
4) Using the values of Kp, T and Td from step 3, he controller settings are found from the
relations as given below:
TYPE OF CONTROL
PARAMETER SETTING
Proportional (P)
Kc =
T
Td
(1 + )
KpTd
3T
Kc =
9 Td
T
( +
)
KpTd 10 12T
Td
T )
Ti = Td (
Td
9 + 20
T
30 + 3
Kc =
1
5 Td
( +
)
KpTd 4 6T
Td
T )
td = Td (
Td
22 + 3
T
62
Kc =
T
4 Td
( +
)
TdKp 3 4T
Td
T )
Ti = Td (
Td
13 + 8
T
32 + 6
21
4
td = Td (
)
Td
11 + 2
T
1
PLANT
Uu(t)
C(t)
C(t)
Tangent Line at
Inflection point
K
0
L
Time
T
Figure : 6
S Shaped Response Curve
FIRST METHOD:
In this method, we obtain experimentally the response of the plant to a unit step input.
If the plant involves neither integrator nor dominant complex conjugate poles, then such a
Pressure Instrument Trainer
22
unit step response curve may look S-shaped. This method applies if the response to a step
input exhibits an S-shaped curve. Such step response curves may be generated experimentally
or from a dynamic simulation of the plant.
The S-shaped curve may be characterized by two constants, delay time L and time
constant T, which is shown in fig. 6 constant are determined by drawing a tangent line at the
inflection point of the S-shaped curve and determining the intersections of the tangent line
with the time axis and line C (t)=K, as shown in the figure.
The transfer function C(s)/U(s) may then be approximated by first order system with a
transport lag as follows: Ls
C ( s) K e
=
U ( s)
Ts + 1
----------------------(10)
Zeigler and Nichols suggested setting the values of Kp, Ti and Td according to the
formula shown in below table.
Type of controller
Kc
Ti
Td
T/L
PI
0.9T/L
L/0.3
PID
1.2T/L
2L
0.5L
Notice that the PID controller tuned by the first order method of Zeigler- Nichols
rules gives: Gc( S ) = Kc(1 +
1
T
1
+ Tds = 1.2 (1 +
+ 0.5 Ls )
Tis
L
2 Ls
Thus the PID controller has the pole at the origin and double zeros at S=-1/L.
SECOND METHOD:
It is shown in fig. 7. In the second method, we first set Ti=infinity and Td=0. Using
the proportional control action only, increase Kc from 0 to critical value Kcr at which the
output first exhibits sustained oscillations, (If the output doesnt exhibit sustained oscillations
for whatever value Kp may take, then this method doesnt apply). Thus, the critical gain Kcr
and the corresponding period Pcr are experimentally determined. Zeigler and Nichols
suggested that we set the values of the parameters Kc, Ti and Td according to the formula
shown in the table
Notice that the PID controller tuned by the second method of Zeigler-Nichols rules
gives:
23
1
+ Tds )
Tis
1
= 0.6 Kcr (1 +
+ 0.125 Pcrs)
0.5 Pcrs
Gc( s ) = Kc (1 +
= 0.075
KcrPcr ( s + 4 / Pcr )
Thus the PID controller has the pole at the origin and double zeros at S=-4/Pcr.
C(t)
Tangent Line at
Inflection point
K
0
L
Time
T
Figure : 7
S Shaped Response Curve
Type of controller
Kc
Ti
Td
0.5Kcr
PI
0.45Kcr
Pcr/1.2
PID
0.6Kcr
0.5Pcr
1.25Pcr
Note that if the system has a known mathematical model (such as transfer function),
then we can use the root locus method to find the critical gain Kcr and the frequency of the
sustained oscillations Wcr, where 2*pi/Wcr=Pcr. These values can be found from the
crossing points of the root locus branches with the jw axis. (Obviously, if the root locus
branches do not cross the jW axis, this method doesnt apply).
COMMENTS:
Zeigler-Nichols tuning rules (other tuning rules presented in the literature) have been
widely used to tune PID controllers in process control system where the plant dynamics are
not precisely known. Over many tears, such tuning rules proved to be very useful. ZeiglerPressure Instrument Trainer
24
Nichols tuning rules can, of course, be applied to plants whose dynamics are known. (If the
plant dynamics are known, many analytical and graphical approaches to the design of the PID
controllers are available, in addition to the Zeigler-Nichols tuning rules).
PB (%)
Reset (min.)
Rate (min.)
2PBu
---------
--------
PI
2.22PBu
0.83Tu
-------
PID
1.67PBu
0.50TTu
0.125Tu
25
Max.
63.2%
(Max.Min)
PV
Min.
Output
Time
Td
T
Figure :
Put the controller in manual mode, set the output to a nominal operating value and
allow the PV to settle completely. Record the PV and output values.
2.
Make a step change in the output. Record the new output values.
3.
Wait for the PV to settle. From the chart, determine the values as derived from the
sample displayed in the given figure.
4.
Multiply the measured values by the factors shown in fig (a) and enter the new tuning
parameters into your controller. The table provides the proper values for a quarter
decay ratio. If you want less overshoot, reduce the gain, Kc.
Controller
PB (%)
Reset (min)
Rate (%)
100KTd/T
---------
----------
PI
110KTd/T
3.33Td
----------
PID
80KTd/T
2Td
0.50Td
26
27
A.R
(1 + w 2 T 2 ) 2
The phase angle is always negative for a first order system and the negative angle is
called phase lag. The phase lag is 360(dt/p) in fig. And approaches a limit of 90 degree at
high frequencies.
A2
A4
A6
A1
A3
A5
A7
B1
B3
B5
C1
C3
D1
D3
E1
F1
28
Where
A1A2 A0A3
B1
-----------------A1
A1A4 A0A5
B3
----------------A1
A1A6 A4A7
B5
--------------A1
B1A3 A1B3
C1
-----------------B1
B1A5 A1B5
C3
-----------------B1
C1B3 B1C3
D1
----------------C1
C1B5 B1 0
D3
----------------C1
If we study the array successive rows have one term fewer than the preceding row,
and hence the array is triangular. The following are the limitations of the rouths stability
criterion:
It is valid only if the characteristic equation is algebraic.
1) If any co-efficient of the characteristic equation is complex or contain power of e,
this criterion cant be applied.
2) It gives us information as to how many roots are lying in the right hand side of the splane. Values of the roots are not available. Also, it cannot distinguish between real
and complex roots.
29
CONDUCTING EXPERIMENT:
DESCRIPTION:
This section gives the functional details of the product, which is used to conduct the
experiment. Functional details and control loop description enables us to understand the
working principle of the product.
START UP:
1.
2.
3.
4.
5.
Select the Auto mode to perform the experiment automatically and in Manual mode to
change the values manually.
6.
SHUT DOWN:
1.
2.
30
Experiment No. 1.
Experiment No. 2.
Experiment No. 3.
Experiment No. 4.
Experiment No. 5.
Experiment No. 6.
Experiment No. 7.
31
THEORY:
In these systems, the output remains constant for a constant input signal provided the
external; conditions remain unaltered. The output may be changed to any desired value by
appropriately changing the input signal but variations in external or internal parameters of the
system may cause the output to vary from the desired value in an uncontrolled fashion. The
open loop control is, therefore, satisfactory only if such fluctuations can be tolerated or
system components are designed and constructed so as to limit parameter variations and
environmental conditions as well as controlled, whereas in case of closed loop system, the
controlled variable is measured and compared with reference input and the difference is used
to control the elements.
EXPERIMENTAL PROCEDURE:
1.
2.
3.
4.
Apply a step change of 10% to the controller output and wait for the PV to reach the
steady state.
5.
Repeat the above steps i.e. 2 and 3 until the output of the controller reaches to 0%
temperature
6.
32
1.
100
2.
90
3.
80
4.
70
5.
60
6.
50
7.
40
8.
30
9.
20
10.
10
PV (%)
Set the output of the controller to some predicted value and apply some steady state
load change and then verify the result.
33
THEORY:
In order to get steady operation when the disturbances are absent, the controlled
variable must be a continuous function of error. With proportional control, the most widely
used type; the controller output is a linear function of the error signal. The controller gain is
the fractional change in output divided by the fractional change in input.
P = Kc* e -------------------------(1)
Where,
P
SP-PV =
Kc
controller gain.
EXPERIMENTAL PROCEDURE:
1. Start up the set up as mentioned previously.
2. Select the controller in AUTO mode.
3. Set the value of Kc as high as possible.
4. Observe the process and the output response.
5. If output response doesnt shows cycling, adjust the value of Kc to half of its previous
value.
6. Repeat steps 4 and 5 until cycling is observed.
7. Then, increase the value of Kc to twice its value and observe the Output response.
8. Repeat step 7 until cycling is observed.
Pressure Instrument Trainer
34
9. Record the value of Kc at which you observe the oscillations and record the
overshoot.
10. Now increase the value of Kc in steps and observe the corresponding overshoots.
11. Compare the relative overshoot with the value of Kc.
Observe that as the value of Kc increases, then the error or the difference between the
SP and PV increases. In other words, as the error decreases, the proportional band
decreases.
2.
In case of proportional controller, the control system is able to arrest the rise of the
controlled variable and ultimately bring it to rest at a new steady state value. The
difference between this new steady state value and the original value is called
OFFSET. There is always some offset present in case of proportional controller.
PV
Kc=1
Tt
PV
Kc=10
Tt
PV
Kc=15
Tt
PV
Kc=20
Tt
35
THEORY:
This mode of control is described by the relationship:
P = Kc e +
Kc
edt + Ps (14)
Ti
Where:
Kc
gain
error
Ti
Ps
constant
output
(SP-PV)
In this case, we have added to the proportional action term, Kc * e, another term that
is proportional to the integral of the error.
There is no offset with the integral control, since the output keeps changing as long as
any error persists. However, the initial response to an error is slow and proportional control is
ordinarily used with integral control. The integral action corrects for the offset that usually
occurs with proportional control only, and the effect is similar to manual adjustment or
resetting of the set point after each load change. The terms reset action and reset time are
widely used to characterize the integral action of a proportional integral controller.
P = Kc(e +
1
edt ) (15)
Ti
Where:
Ti
reset time.
Kc
gain
error
(SP-PV)
A small reset time corresponds to an increase in the integral action. With P action the
measured value will not necessarily become equal to the set point and a deviation will usually
be present. The control algorithm that applies changes in output as long as deviation exits, so
Pressure Instrument Trainer
36
as to bring the deviation to zero is called integral action. With integral action the parameters
that determines how fast the output will change in corresponding to some amount.
EXPERIMENTAL PROCEDURE:
1. Start up the setup as mentioned previously.
2. Select auto mode option for control.
3. Select a set point.
4. Select some value of Kc as described in proportional controller and Ti as high as
possible.
5. Observe the response of the system. If over damped oscillations are occurring, then
increase or decrease the corresponding values of Kc or Ti so as to make PV equal to
SP.
6. Then, observe the output response curve. If on decreasing the value of either Ti or Kc
makes the PV equal to SP, then continue decreasing the value until PV becomes
nearly equal to SP.
7. After experimentation, switch off the apparatus as mentioned previously.
The addition of integral action nearly eliminates the offset and the controlled variable
Ultimately returns to the original value.
2.
It is shown the fig., that the addition of integral action introduces an oscillatory
motion in the system and with the increase in the value of the integral time, the
difference between the SP and PV decreases.
PV
Tt
Kc=10
Ti=1
PV
Kc=10
Ti=5
Tt
PV
Kc=10
Ti=10
Tt
37
THEORY:
This mode of control may be represented by:
P = Kc* e + Kc Td de/dt --------------(16)
Where Kc = gain
Td = derivative time, seconds
In this case, we have added to the proportional term another term, KcTd (de/dt) that is
proportional to the derivative of the error. Other terms that are used to describe the derivative
action are rate control and anticipatory control.
Derivative action is often added to proportional control to improve the response of
slow systems. By increasing the output when the error is changing rapidly, derivative action
anticipates the effect of large load changes and reduces the maximum error.
Larger the derivative time larger is the action. Smaller is the proportional band the larger is
the derivative action.
EXPERIMENTAL PROCEDURE:
1. Start up the setup as mentioned previously.
2. Select auto mode option for control.
3. Select a set point.
4. Select some value of Kc as described in the proportional controller and the value of
Td to the minimum value.
5. Observe the response of the system. If over damped oscillations are occurring, then
reduce the value of Td to half of its previous value so as to make PV equal to SP.
6. Then, observe the output response curve and double the value of Td in order to make
PV equal to SP, then continue decreasing the value until PV becomes equal to SP.
7. After experimentation, switch off the apparatus as mentioned previously.
38
39
THEORY:
This mode of control is described by the relationship
P = Kc e +
Kc
de
edt + Kc eTd
+ Ps (17)
Ti
dt
Where:
e
error
Kc
gain
(SP-PV)
EXPERIMENTAL PROCEDURE:
1. Start up the setup as mentioned earlier.
2. Select auto mode option for control.
3. Select a set point.
4. Select some value of Kc, Ti and Td.
5. Observe the response of the system. If over damped oscillations are occurring, then
increase or decrease the corresponding values of Kc, Ti and Td so as to make PV
equal to SP.
6. Then, observe the output response curve. If on decreasing the value of either Kc, Ti,
Td makes the PV equal to SP, then continue decreasing the value until PV becomes
equal to SP.
7. After experimentation, switch off the apparatus
8. Using trail and error, select the proportional gain and integral time, which gives a
satisfactory response to step change in set point.
9. Set the derivative time to a non-zero value and carry out the above steps for different
derivative time values.
10. After experimentation shut down the setup as mentioned earlier.
Pressure Instrument Trainer
40
Tt
PV
PV
Kc=10
Ti=1
Td=1
Kc=10
Ti=1
Td=5
Kc=10
Ti=1
Td=10
Tt
Tt
41
THEORY:
This method is basically used to calculate the value of P, I, D using the open loop or
manual control method. The values of P, I, D are selected in such a way that the error or the
difference between the SP and PV should become equal to zero.
C(t)
Tangent Line at
Inflection point
K
0
L
Time
T
Figure : 7
S Shaped Response Curve
Since we are not given with the plant equation. So the process is assumed to be of first
order with steady state gain Kc, integral time Ti and derivative time td. The step response i.e.
process reaction curve, allows to obtain the approximate values of each parameter. With the
feedback loop open, a step response is applied to manipulated variable and the values of P, I
and D are estimated.
The delay time L and time constant T are determined by drawing a tangent line at the
inflection point of a S-shaped curve and determining the intersections of the tangent line with
the time axis and line c (t) = K as shown in the figure obtained by performing the experiment.
Pressure Instrument Trainer
42
Mode
Proportional
Integral
Derivative
T/L
INFINITY
P+I
0.9T/L
L/0.3
P+I+D
1.2T/L
2L
0.5L
EXPERIMENTAL PROCEDURE:
1.
2.
3.
4.
Apply a 20-30% change to controller output. Record the step response. Wait for the
steady state.
5.
Start data logging and from the readings draw a step response curve.
6.
7.
From this, calculate the values of PID controller settings from the table.
8.
Observation No.
Time in sec.
1.
2.
3.
4.
Calculate the value of the P, D and I from the table given in the theory part of this
experiment.
43
THEORY:
A convenient method of presenting the response of the data at various frequencies is
to use a log-log plot for the amplitude ratios, accompanied by the semi log plot for the phase
angles. Such plots are called BODE PLOT. Plotting of BODE plot is relatively easier as
compared to other methods as the loci of (1 + sT) and K/(1 + sT) can be represented by
straight line asymptotes.
In case of Bode plot, multiplication is converted into addition, so if
G(s) = K/(1 + sT)
And putting s = jw,
Then 20 log [G (w)] = 20 log K 20 log [1 + jwt].
In case of Bode plot, study of relative stability is easier as parameters of analysis of
relative stability are gain and phase margin, which are visibly seen on the sketch.
The transfer function for a first order system is given by
G ( s) =
ke Ls
Tds + 1
1
(1 + w T )
2
1
2
The phase angle is always negative for a first order system and this negative angle is
called phase lag.
STABILITY CRITERIA:
1. A system is stable if the phase lag is less than 180 degree at the frequency for which
the gain is unity.
44
2. A system is stable if the gain is less than unity at the frequency for which the phase
lag is 180.
EXPERIMENTAL PROCEDURE:
1. Rewrite the sinusoidal transfer function in the time constant form.
2. Identify the corner frequencies associated with each factor of the transfer function.
3. Knowing the corner frequency, draw the asymptotic magnitude plot. This plot
consists of a straight line segments with the line slope changing at each corner
frequency by +20 db/decade for a zero and 20 db/decade for a pole For a complex
conjugate zero or pole the slope changes by +/- 40 db/decade.
4. Draw a smooth curve through the corrected point such that it is asymptotic to the
straight-line segments. This gives the actual log-magnitude plot.
5. Draw the phase angle curve for each factor and add them algebraically to get the
phase plot.
6. The ultimate gain value i.e. Wco is that value when the phase angle curve crosses the
180 degree line and the corresponding gain value is called the ultimate gain i.e. Ku.
7. By using these two gains the other parameters that are the values of
P, D and I are calculated from the table given in the theory part of the Zeiglers closed
loop method.
45