Professional Documents
Culture Documents
II Semester 2016-2017
Course Code: CLL 361
Course Title: Instrumentation & Automation
Course Coordinator: Dr. Munawar A. Shaik, Office: II-290, Tel: 1038, E-mail: munawar[at]iitd.ac.in
http://web.iitd.ac.in/~munawar
Course Credit: 2.5 (L-T-P Structure: 1 0 3)
Course Timings: Weekly Lectures: Wed, 8 am 8:50 am, LH-114
Practical: M,T,Th,F 2 pm 5 pm, I-303 (Process Control Lab)
Instructors for Practical:
Mon: Prof. A.K. Gupta (AKG)
Tue: Dr. M.C. Ramteke (MCR)
Thu: Dr. M.A. Shaik (MAS) & Prof. A.K. Saroha (AKS)
Fri: Dr. D. Bhatia (DB) & Prof. S.K. Gupta (SKG)
Lab Instructor for Process Control Lab: Mr Pardeep Kumar
Course Objective: To introduce the basics of instrumentation and principles of operation of different measuring
devices for temperature, level, pressure, flow, PH, humidity, density, and viscosity; to impart knowledge of
transmitters, transducers, converters, control valves, digital and analog components related to PLC, DCS, SCADA
systems with emphasis on practical hands-on training.
Course Contents and Layout:
Topics
Lectures
Basics of control system components, signals and standards
1
Pressure measuring instruments/sensors
1
Level measurement
1
Flow measuring instruments
1
Temperature measuring devices
1
Humidity, density, viscosity and PH measuring devices
2
Pressure controllers: regulators, safety valves
1
Flow control actuators: different types of valves
1
Electrical and pneumatic signal conditioning and transmission
1
Computer process control, PLC, DCS, SCADA
4
14
Experiments
Dynamics of Lagged Thermometer
Dynamics of a Stirred Tank Heater
Temperature Control
Level Control
Pressure Control
Cascade Control
Flow Control
Interacting & Non-Interacting Two-tank System
Control Valve Characteristics
Time Constant of Manometer
Time Constant for Thermocouple & Thermometer
Level Measurement by Capacitance Method
Grading:
Regular Labwork: 60 %
Quiz (end of semester): 40 %
Name
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
The weekly lectures will be held on Wednesdays. For the practical part there will be about 12 experiments in total.
The 60% of in-laboratory evaluation will be done for each turn based on your weekly report that is submitted. The
experiments will be conducted in subgroups of max 3 students. Each cycle will have max 10 subgroups.
Handouts of all experiments can be downloaded from the link
http://privateweb.iitd.ac.in/~munawar/CLL361.pdf
All the students are required to come prepared for the experiment. A common cover page (as per template on page
3 of the document in link) is to be used while submitting report for each experiment. All experiments, calculations
and final report writing will have to be completed and submitted before leaving the laboratory. Each sub-group of
students needs to submit only one report, but it must be a joint effort. If some experiment is not completed or only
partially done, you have to still submit the report for whatever was accomplished on that day. All lab reports should
be neatly hand written (on A4 paper) with diagrams drawn manually using pencil.
As this is a lab course 100 % attendance (including make-up) is required. There will be one extra turn at the end of
the semester for catching up or re-doing one experiment, only if needed, with prior permission of the instructor.
Lack of attendance automatically gets you a zero score for that turn. This also includes late arrival/absence from the
laboratory without prior permission of the laboratory instructor/TA for some part or entire laboratory. As a safety
measure it is mandatory to use gloves, lab coats, safety glasses and shoes during practical. Students who wish to
change their lab turn to other days, because of time table reasons, should find a mutual exchange with other
students. Change is allowed only once in the beginning of the semester.
References:
William C. Dunn, Fundamentals of Industrial Instrumentation and Process Control, Mc-GrawHill (2005).
S.K. Singh, Industrial Instrumentation and Control, 3rd edition, McGraw-Hill (2008).
Seborg, D.E., Edgar, T.F., Mellichamp, D.A. Process Dynamics and Control, 2nd edition, John Wiley (2003).
Stephanopoulos, G. Chemical Process Control: An Introduction to Theory and Practice, Pearson Education
(1984).
Dr. Munawar A. Shaik
(Course Coordinator)
GROUP NO.:
SUBGROUP NO.:
Name of
LAB INSTRUCTOR:
show that it can be approximated by a first order system followed by a time delay and n-first
order systems in series using a lagged thermometer.
THEORY: If several identical interacting systems are arranged in series, the response is
practically the same as that of a distributed system, which is one where resistance and
capacity are associated with each incremental length of the system. That is to say that transfer
function of a distributed parameter system can be approximated by
( )
( )
Where
as n
(1)
is the time constant of a first order system. Another useful approximation of the
transfer function of a distributed parameter system is a first order system followed by a time
lag, i.e;
( )
( )
(2)
Where Td is the time delay and is the time constant of the first order system.
PROCEDURE : Measure the initial reading of the thermometer and then place the lagged
thermometer inside the hot bath which is maintained at constant temperature. Measure the
temperature with time until the steady state has been reached. This completes one set of the
experiment. Remove the lagged thermometer from the hot bath and allow it to cool in the
atmosphere. Once again, note the temperature versus time until the new steady state has
been reached.
RESULTS TO BE REPORTED:
1. Plot Q =
and
are
2. To approximate the response of two and three first order systems in series, determine
the time to reach 74% and 80% response respectively. Let these be t0.74 and t0.8. Then
time constant of two first order systems in series will be approximately, =
/4
and the time constant for three first order systems in series will be, =
/9.
Using these time constants, determine the theoretical response from equation (1) and
match with the actual responses and comment.
3. To approximate the response by a first order system followed by a time delay, find the
inflection point of the transient response plot and draw a tangent at the inflection
point. The intercept of the x-axis provides the value of Td, while the inverse of the
slope gives the value of the time constant. Using the values of
theoretical response from equation (2) and match with the actual response and
comment.
To study the response of a stirred tank heater using a step change in heater input.
EXPERIMENTAL SET-UP: The stirred tank has a diameter of 22.6 cm and a height of 28 cm. Water is
filled upto a certain level and is continuously agitated by a stirrer with a diameter of 5 cm rotating at
1100 rpm. The bottom of the tank contains heating coils whose input is controlled by means of variac.
Cooling water flows through a long helical coil. There are 15 turns in all, the diameter of the helix being
4.2 cm and the coil thickness is 6mm. Cooling water is obtained from an overhead tank and there is a
valve to regulate the flow. Temperature of the tank is measured using a thermometer.
THEORY:
Draw a block diagram of the stirred tank heater. Cooling water enters at a temperature Ti
and mass flow rate Mc (measured using measuring cylinder). The outlet temperature of the cooling
water changes when a step change is introduced into the system by altering the heater input Q. Derive
the transfer function (refer any book on process control like Coughanowr) between the tank
temperature T and the heater input Q.
The value of heat transfer coefficient between tank and coil, U, is a function of several parameters like
stirrer rpm and diameter, Prandtl number etc. The exact correlation can be obtained from Perrys
handbook.
PROCEDURE:
The study is to be conducted by changing the heater input in a step fashion and
noting the change in tank temperature. (It is also possible to change cooling water flowrate and note
the resultant effect on the system)
1. Set up the apparatus and start the flow of cooling water.
2. Set variac reading (say 80 V) and wait for steady state to be attained.
3. Give a step change to the variac reading (hence heater input) and start noting temperature vs
time.
4. Plot the temperature vs time curve. Compare the experimental and theoretical curves (with
the one obtained from the transfer function). Identify possible sources of error.
Fig: 1. Block Diagram of a Control Loop for Measurement of Process Reaction Curve.
A typical process curve exhibits an S- shape as shown in Fig: 2. It is represented by equation
(1).
e L s
G ( s) = K
1 + Ts
(1)
Zeigler and Nichols suggested setting the values of Kc, Ti, Td according to the formula shown
in Table 1. Refer Fig. 2 for symbol meaning for tuning the controller via Z-N settings.
Table 1. Z-N Settings for Tuning Different Controllers
Type of Controller
Proportional (P)
Proportional - Integral (PI)
Proportional - Integral Derivative (PID)
Kc
T/L
0.9T/L
1.2T/L
Ti
Td
L/0.3
2L
0.5L
Fig: 2.Typical Process Reaction Curve (First Order with Transportation lag)
Similarly, Cohen and Coon suggested controller parameters as given in Table 2.
Table 2. C-C Settings for Tuning Different Controllers
Types of Control
Proportional (P)
Parameter Settings
Kc = (T/(Kp*L) ) * ( 1+L/3T)
The value of Kp can be found using Kp = Bu / M, where Bu is the ultimate value of B at large
time t. (Refer to Fig. 1).
PROCEDURE:
1. Process Tank filled with liquid water is made available. Temperature Control Trainer
is active.
2. Log in the system and select INTERFACE mode for experimentation.
3. Turn on the water supply and maintain the inlet flow rate of water to process tank to
approximately 600-700 mL per min. Please note that attached Rotameter is not
calibrated. Corresponding reading in Rotameter will be around 20-25 LPM. Please
verify it.
4. Due to some external disturbances, liquid flow rate may show some significant
change in its value. Please keep an eye on the rotameter reading to dampen such
changes by careful adjustment of rotameter itself. Please note that change in mass
flow rate is not desired in the undertaken experiment.
5. Run the process as directed below:
o Select the MANUAL MODE with controller output 0 %.
o
o
o
o
o
o
6. With the help of saved data file, draw the Process Reaction Curve.
7. Find the control setting parameters from Cohen-Coon (C-C) & Ziegler-Nichols (Z-N)
rules.
8. Tabulate the control setting parameters for each type of controlling mode e.g. Pmode, PI-mode, PID-mode; obtained from both the rules, C-C & Z-N.
9. Run the process with the suggested controlling parameters for each type of control
mode, obtained from both the methods. Please follow the instructions directed
below carefully.
Select the MANUAL MODE with controller output 0%.
Have the set point of 25 oC.
Wait till steady state is reached.
Select the AUTO MODE.
Set P / PI / PID parameters as obtained from Z-N rules. For the first time, set
for P-mode. You will have the opportunity of tuning PI & PID mode in next
RUN sequences.
Wait till steady state is reached. Please do not rush.
Once steady state is reached, LOG on to a file for saving transient response of
system. It is advised to save the data file with name explaining: controller
mode, set pointy change, control parameter values.
Start saving data, with file name as suggested above, if possible.
Wait till approximately 5 mins.
Give a STEP change by changing the set point from 25 oC to 35 oC.
Wait till steady state is reached. Please do not rush.
Log Off from data saving procedure.
10. Repeat the procedure mentioned in STEP-8 for obtaining the process transient
response for different control mode e.g. PI and PID.
11. Repeat STEP-8 and STEP-9 for controlling parameters as obtained previously from CC rules.
12. Draw the excel plots for all the above set of transient responses. Plot process value
and set point of the process on the same graph against time.
13. Report the best possible controlling mode for the step change made. Justify your
decision on both, qualitative and quantitative scale.
14. Last step of experiment is to observe the frequency response of the system. Do as
directed below:
Select AUTO MODE.
Set for PI Mode of control. Set the controlling parameters with Kc= 4*Kc(ZN) and Ti = 1.85*Ti (Z-N).
Fig: 1. Block Diagram of a Control Loop for Measurement of Process Reaction Curve.
A typical process curve exhibits an S- shape as shown in Fig: 2. It is represented by equation
(1).
G ( s) = K
e L s
1 + Ts
(1)
Zeigler and Nichols suggested setting the values of Kc, Ti, Td according to the formula shown
in Table 1. Refer Fig. 2 for symbol meaning for tuning the controller via Z-N settings.
Table 1. Z-N Settings for Tuning Different Controllers
Type of Controller
Proportional (P)
Proportional - Integral (PI)
Proportional - Integral Derivative (PID)
Kc
T/L
0.9T/L
1.2T/L
Ti
Td
L/0.3
2L
0.5L
Fig: 2.Typical Process Reaction Curve (First Order with Transportation lag)
Similarly, Cohen and Coon suggested controller parameters as given in Table 2.
Table 2. C-C Settings for Tuning Different Controllers
Types of Control
Proportional (P)
Parameter Settings
Kc = (T/(Kp*L)) * ( 1+L/3T)
The value of Kp can be found using Kp = Bu / M, where Bu is the ultimate value of B at large
time t. (Refer to Fig. 1).
It is the open loop method of tuning control parameter, which is widely used in industrial
practices. However, we will divert from this approach in this experiment. Students will have
an opportunity to exercise the above mentioned open loop algorithm in Temperature
Control Trainer experimentation.
Currently, the area of focus will be doing a set of suggested simulation on INTERFACE
panel of the trainer. Transient data will be observed and analyzed for step, frequency &
square wave responses given to the system. You will be given a set of controlling
parameters for different modes of controller. You are required to come up with the best
control logic from the given set.
Having done with search for best controlling action, students are advised to replicate their
simulations model for real time experimentation. This will help in realizing and appreciating
the real time differences with ideal simulation conditions, if any.
EXPERIMENTAL PROCEDURE:
1. Run the process with the suggested controlling parameters (same as for simulation)
for each type of control mode. Please follow the instructions directed below
carefully.
2. Log in the system with INTERFACE mode this time.
3. Select AUTO mode.
4. Make sure all the system component e.g. pump, rotameter, sump-tank are in
working conditions.
5. Repeat step 4 for real time analysis for all the above done simulations.
6. Plot the responses, both simulation & experiments, on the same graph for
comparison.
7. Plot the Bode diagram for frequency response.
8. Explain the effect of increasing value of Kc for P-mode controller, both qualitatively
and quantitatively.
9. What happens to phase lag with decrease in frequency of the sine wave signal.
Justify your reasoning on simulation and experimental results obtained.
SIMULATION PROCEDURE:
1. Level Control Interface Panel is made available.
2. Log in the system and select SIMULATION mode
3. Select AUTO mode.
4. Do as directed below:
o Adjust set point to 30%.
o Select P-mode of controller with Kc = 1.0.
o Wait for steady state. Please do not rush.
o Log on to a file for saving system transient response.
o Induce a step change by changing set point to 50%.
o Wait for steady state. Please do not rush.
o Log off from data saving protocol.
5. Repeat step 4 for Kc = 2, 10, 30.
6. Please observe the sustained oscillations for Kc = 30. Justify it.
7. Turn ON the Function Generator module.
OPTIONAL:
Table 3. Input Response Parameter for Simulation
S.No. Signal Type
Amplitude
Period Reference Point Control Mode
1.
Sine Wave
10
10
40
a. P-mode
Kc = 1
b. P-mode
Kc = 5
c. P-mode
Kc = 50
2.
Sine Wave
10
100
40
P-mode, Kc = 5
3.
Triangle
10
10
40
PI-mode;
Wave
Kc= 100, Ti = 10.
8. Repeat step 4 for simulation conditions as mentioned in Table 3.
Fig: 2. Block Diagram of a Control Loop for Measurement of Process Reaction Curve.
A typical process curve exhibits an S- shape as shown in Fig: 3. It is represented by equation
(1).
G ( s) = K
e L s
1 + Ts
(1)
Zeigler and Nichols suggested setting the values of Kc, Ti, Td according to the formula shown
in Table 1. Refer to Fig. 3 for meaning of symbols for tuning the controller via Z-N settings.
Table 1. Z-N Settings for Tuning Different Controllers
Type of Controller
Proportional (P)
Proportional - Integral (PI)
Proportional - Integral - Derivative (PID)
Kc
T/L
0.9T/L
1.2T/L
Ti
Td
L/0.3
2L
0.5L
Fig: 3. Typical Process Reaction Curve (First Order with Transportation lag)
The value of K can be found using K = Bu / M, where Bu is the ultimate value of B at large
time t. (Refer to Fig. 2).
Start-up:
1. All the drains should be closed.
2. Switch on the main supply.
position
OFF
OFF
level PC
PC
Fully anti clockwise
1. Ensure that the drain valve of sump tank (V1) is fully closed.
2. Close the bypass valve (V2) partially. Partially open the drain valve (V3) of the level
tank.
3. Fill clean water in the sump tank till the maximum level of the sump tank.
4. Connect the communication cable from output of the interface card to PC.
5. Connect the 230 V A.C. supply to the trainer. Switch ON the Mains supply.
6. Ensure that pneumatic supply (to the trainer) is ON and it is more than 2 kg/cm2.
7. Ensure that position of the switches is as per the table mentioned above
8. Switch on the pump on the panel marked as PUMP
9. Gradually turn the knob of FR clockwise till the pressure gauge marked E/P IN
shows 20 psi. (WARNING: Sudden application of pressure or application of high
pressure may damage E/P converter.)
10. Switch ON the PC and the interface device. Select the experiment Cascade
Flow/Level.
11. Make following settings. (Take two readings with set points 200 and 300)
Primary loop (level loop): set point: 300, PB: 80%, It: 10 s-1, Dt: 0 s-1.
Secondary Loop (flow loop): PB: 25%, It: 45 s-1, Dt: 5 s-1.
Low alarm: 275 lph, High alarm: 400 lph
12. Ensure that both the PID controllers are in Manual Mode. Keep the output of the
secondary loop to 0 %. This means the control valve is fully open. Let the level reach
near set point.
13. Change the secondary PID and primary PID to Auto mode
14. See the graphical trend display where you will observe graphs of level vs time, set
point vs time, output vs time, etc. Observe if the level is under control. Note if there
are oscillations or offset, note if the response time is faster or slower. Depending on
this data, tune the PID controller.
15. Once control is achieved and fine tuning is done, create a disturbance in secondary
loop (flow loop) and observe its effect on the level. To do this open the valve V2
slightly and observe the flow and level. This will increase the flow momentarily
leading to increase in level. However, the primary loop takes care of the minor
changes here on its own and the effect of this is not passed on to secondary loop
(level loop). Please note that the disturbance in the flow should not be more than
10 % of the present value of flow.
16. Switch OFF the pump and shut down the system.
Orifice plate
Rotameter
HV-2
HV-1
Water tank
Pump
signal back to analog form. The output of MCIO card (0-10 volts) is fed to the signal
conditioning card where 0-10 V is converted to 4-20 mA, which is transferred to the final
control element for adjusting the desired air pressure to be supplied to the control valve for
adjusting the stem position.
Precautions:
1. The recirculation valve (HV-2) has to be kept open to at least 60%. (It is recommended
to keep this valve always fully opened).
2. To ensure electrical signal transmission keep the PANEL switch in ON position.
Start-up:
1.
2.
3.
4.
Procedure:
1.
2.
3.
4.
Data: Inner diameter of each tank (D1) = 0.108 m. Outer diameter of the down comer in
each tank (D2) = 0.022m. Cross-section area of each tank, A = [(D1)2-(D2)2]/4.
Nomenclature: V1 = flow control valve (Rotameter); V2 = Valve for water supply to Tank2;
V3 = Valve for water supply to Tank3; V4 = drain valve for Tank2; V5 = drain valve for Tank3;
V6 = drain valve for overhead tank; V7 = drain valve for sump tank.
Procedure for Single-Tank System Tank2 (or Tank1):
1. Close all the valves V1-V7. Fill the sump tank with water. Switch ON the power supply and
the pump. Wait till there is overflow from overhead tank. Now open the valve V1 and adjust
the flow rate (10-20 lph).
2. Open the valve V2 completely and partially open the valve V4 and wait till a constant height
is achieved by liquid in Tank 2. Note down the inlet flow rate and height of liquid (hi) in the
tank (this is initial height).
3. Now increase the inlet flow rate (step change: 10-20 lph) through valve V1. Simultaneously
start the stop watch and record the height of liquid level in tank with time, till steady state is
reached (constant height). Note down the final constant height and flow rate.
4. Repeat the same experiment for different step changes. After completing the experiment
switch OFF the pump and power supply. Open the drain valve V4.
5. Determine the valve resistance (R2) by plotting flow rate Vs head. The resistance is the
reciprocal of slope of discharge vs head curve.
Types of Control Valve: Valve is essentially a variable orifice. Control valve is a valve with a
pneumatic / hydraulic / electric (excluding solenoids) or other externally powered actuator
that automatically fully or partially opens or closes the valve to a position dictated by signals
transmitted from controlling instruments. Control valves are used primarily to throttle energy
in a fluid system and not for shutoff purpose. Depending upon the vale plug design the control
valve can be divided in three categories: (i) Equal % type, (ii) Linear type, (iii) Quick opening
type (On/Off type).
(1) Control Valve Flow Coefficient: A control valve changes the flow rate by changing the
pressure in the flow system because it introduces the constriction in the delivery system.
There is a close relation between the pressure and the flow rate in a fluid stream passing
through a pipe so that if pressure is changed, the flow rate will also change as
where
k is correction factor which allows selection of proper size of valve to accommodate the rate
of flow that the system must support. This correction factor is called as valve coefficient and
is used in valve sizing. The flow coefficient (Cv) of a control valve is given by
= 11.7
where Q = discharge of fluid (m3/h), P= pressure drop (KPa), G = specific gravity of fluid
relative to water (G=1)
Procedure for Control Valve 1:
(2) Study of Hysteresis of Control Valve: Hysteresis is predictable error resulting from the
differences in the transfer functions when a reading is taken from above and below the value
to be measured. In case of control valves for same actuator signal different stem travel (hence
valve coefficients) are obtained depending upon the direction of change in signal. The
maximum error in stem travel expressed in % for same actuator pressure while opening and
closing the valve is indicated as hysteresis.
Procedure for Control Valve 1:
Plot x vs p on a simple graph for both increasing pressure and decreasing pressure cases for
all three valves, where x is fraction of maximum valve lift, x = L / Lmax; L is valve lift (in
mm), L = L Li ; Li = initial position of valve stem(mm), L = position of valve stem (mm); Lmax
= max value of valve lift.
(3) Study of Rangeability: Control valves have a characteristic such that flow changes by a
constant of its instantaneous value for given change in stem position. Generally this type of
valve does not shut off the flow completely in its limit of stem travel. The rangeability (R) is
defined as the ratio of maximum to minimum controllable flow.
=
where m is
fraction of max flow rate.
Procedure for Control Valve 1:
Calculate fraction of max flow rate, m = Q / Qmax, where Q is flow rate of water (m3/s), Qmax is
max flow rate of water (m3/s). Determine rangeability =
where mmin is min value of
m and mmax is max value of m.
After completion stop the air supply. Switch OFF pump and power supply. Open valve V5 fully
to release the air.
V2
Manometer
Pressure
Regulator
V1
2 = 4L/g
(1)
= 1/2g
Calculate L using eq (2)
=2
(2)
where hs = steady state height of manometric fluid, x = horizontal distance between two legs of
manometer.
The dynamic response of a second order system depends on the value of . For > 1, he response is
overdamped, while for <1 the response is underdamped. For = 1, the response is called critically
damped. For the case of manometer, the response often falls under the category of underdamped
response as shown in Fig 2. The overshoot is defined as A/B and decay ratio as C/A in Fig 2.
} = (overshoot)2
(3)
(4)
Compare the experimentally obtained values of and with the theoretical predictions from equation
(1) & (2) and comment.
Precautions:
Dont give pressure to manometer above 0.4 kg/cm2 in case of mercury and not more than
0.1 kg/cm2 in case of water and CCl4
Accidentally if the manometer fluid comes in the catch pot fill it again into that and note down
the time and height one by one.
1
+1
where is time constant, which can be estimated from step response data as the time required to
reach 63.2% of the ultimate response.
In case when a thermo-well is used, the nature of the dynamics changes to a second order transfer
function
( )
=
( ) (
1
+ 1)(
+ 1)
where 1 and 2 are effective time constants which can be obtained from Fig 1.
When experiment is over, switch OFF the heater and power supply.
Clean the apparatus properly.
x100
Now plot a graph of I vs t1 and draw a tangent from maximum value of t1 to vertical axis at (t1=0) and
find P as shown in Fig 1. Calculate Ia = 0.368 P and read corresponding time constant 1. Calculate I
= Ia I. Plot a graph of I vs t1 and find R as shown in Fig 1. Calculate Ia = 0.398 R and read
corresponding time constant 2.
Precautions: