Professional Documents
Culture Documents
8
STUDY OF THE PERFORMANCE OF PID CONTROLLER IN MATLAB / SIMULINK
9
TEMPERATURE CONTROLLER TRAINER
EXPT. NAME OF THE EXPERIMENT
NO.
13 pH CONTROL TRAINER
THEORY
A thermometer is added with additional resistance (thermo-well) at its bulb to increase its
time constant. The system can generally be considered as first order system.
The dynamic response of first-order type instruments to a step change can be represented
by
Where,
1 e t / T
F
The time constant Τ is the time required to indicate 63.2% of the complete change.
The time constant, T is numerically equal to the product of resistance and capacitance.
PROCEDURE
Fill the heating bath with clean water by opening the inlet valve of heating bath.
Switch on beeper and set beep interval to 3 seconds.
Ensue that cyclic timer is set to 30 seconds on time and 30 seconds off time.
OBSERVATIONS & CALCULATIONS
Calculations
Model Graph:
Switch on Mains to heat the water in heating bath to its boiling point. Switch off the mains.
The water in heating bath is now near its boiling point. Insert the thermometer in heating bath
suddenly after noting its initial temperature.
Note the thermometer reading at each beep interval till the temperature reaches
at steady state.
RESULT:
STUDY OF STEP RESPONSE OF THERMOWELL
PROCEDURE
• Fill the thermo-well with clean water by opening the inlet valve of heating bath.
• Ensue that cyclic timer is set to 30 seconds on time and 30 seconds off time. Switch on Mains to
heat the water in thermo-well to its boiling point. Switch off the mains.
• The water in thermo-well is now near its boiling point. Insert the thermometer in thermo-well
• Note the thermometer reading at each beep interval till the temperature reaches at steady state.
• Switch off beeper and fill up the readings observed in “Observations” below.
OBSERVATIONS
..
Calculations
1. Step change = Final temp. – Initial temp.
3. Plot the graph of Actual temperature Vs time and note the value of time at 63.2% of step
5. Plot the graph of Theoretical temperature Vs time on the same graph plotted above.
Exp. No. :1b
Date:
To study the step response of the second order system (Mercury manometer& water manometer).
THEORY
The dynamic response of a second order system to a step change can be describedby a second-
order differential equation.The solutions to above equation involve three cases:
The response for under damped system [i.e. ζ<1] can be written as:
1 1
2 2
y (t ) KM 1 e t / Cos t Sin t
1 2
In case of manometer:
y(t) = Response at any time ‘t’ after step change (deviation value).
K = Gain factor =1
Where,
2𝑔
Natural frequency (𝜔𝑛 ) = √ 𝐿 (rad/sec)
Rise time, (tr) = Time the indicated value takes to first reach the new steady state value.
Time to first peak, (tp) = Time required for the indicated value to reach itsfirst maximum value.
Response/settling time(ts) is defined as the time required for the indicated value to reach and remain
inside a band whose width is equal to +/-5% of the total change in θ. The term 95% response time
sometimes is used to refer to this case. Also, values of +/-1% sometimes are used.
Decay ratio (DR)= c/a (Where c is the height of the second peak).
Period of oscillation Pis the time between two successive peaks or twosuccessive valleys of the
response.
PROCEDURE
From graph:
a=…………..; b=…………..; c=……………
Rise time(tr) =……………..S
Decay ratio(DR) = c/a =……………
Overshoot(OS) = a/b =…………….
∴ Ʈ =………..……S
CALCULATIONS
ω = 2π/T
∴ Ʈ =………..……S
𝐿
∴ ƮTheoratical =√2𝑔
=……………S
2𝑔
Damping coefficient =(8𝜇𝐿)/{(𝜌𝑔𝐷²) (√ 𝐿 )}
=…………..S
Press the rubber bulb to deflect the water to @100mm from ‘0’ level.
Note the water level reading and quickly open the vent to apply step change.
Note peak values observed during oscillations.
Measure the period of oscillations and note average time required for each oscillation.
Plot the graphs of Actual & Theoretical response Vs Time.
Note the top peak and bottom peak readings. Also simultaneously note the period of oscillation.
(This can be noted by measuring time required for 4-5 oscillations and then calculating for each
oscillation)
Repeat process 2-3 times for different step changes.
RESULT
Exp. No. :2
Date:
AIM
WORKING PRINCIPLE
Cascade Control Trainer is used to perform cascade control on flow and level process and study the
characteristics of I/P converter industrial standard Rotameter wheel flow meter and orifice with
differential pressure transmitter. DPT is used to measure the flow of fluid in a pipeline. The RF
capacitance level transmitter is used to measure the level of the process.
In cascade control action, pump sucks the water from reservoir and gives it to rotameter and control
valves. While the fluid flows through the orifice plate. A differential pressure developed across is, which
is sensed by differential pressure transmitter corresponding current output (4-20mA) is given to the Data
Acquisition card. Every internal transaction are in voltage.
Here, PC acts s error detector and controller. According to the error signal, corresponding control signal
is given to the I/P converter. It controls the flow of the fluid in pipeline by varying stem position of the
control valve.
The level is a primary control loop and flow is a secondary control loop. For maintaining the level of the
process tank, flow is manipulated level signal is given to the Data Acquisition card. By pass line is
provided to avoid the pump overloading. Rotameter visualize the flow of the fluid in a pipe line.
From the analyzer, we can also study the characteristics of level transmitter, DPT, I/P converter, control
valve and justify the various control action on the processes.
APPARATUS REQUIRED
1. VFLPA-501CE
2. Data Acquisition card
3. Cascade control software.
4. Patch chords.
CASCADE CONTROL SCHEME- BLOCK DIAGRAM
PROCEDURE
RESULT
EXP. NO:3
DATE :
List of Experiments
1. Open Loop
2. On/Off Controller
3. Proportional Controller
4. Proportional Integral
5. Proportional Derivative
6. Proportional Integral Derivative
PROCESS CONTROLLER
In automatic controlled process the parameter to be controlled is measured and compared with the set
point by process controller. The difference between the measured signal and the set point is error. The
controller performs on-line calculations based on error and other setting parameters and generates an
output signal. The output signal drives the final control elements like control valve or a damper to
control the process to the set point.
1.STUDY OF OPEN LOOP RESPONSE (MANUAL CONTROL)
PROCEDURE:
• Select open loop Experiment (click on “Change Expt.” Button, click on “Change”, Click on “Open
Loop” button.)
• Close the control valve by increasing the controller output to 100%. Note down steady state process
value.
• Apply the step change by 10% to controller output and wait for the process value to reach the steady
state value. Note down the process value.
• Repeat the above step until the controller output reaches to minimum 0%.
OBSERVATIONS
100
90
80
• From the above data , note the output required for maintaining the process at desired set points. (for
particular vent valve opening).
• Set the output of the controller to the noted value and at steady state apply the load change to the
process. Load change can be given by slightly varying the vent valve. Observe new steady state
process value.
2. STUDY OF ON/OFF CONTROLLER
AIM: To study the performance of ON/OFF controllers for step change in set point for the Pressure
control system
DESCRIPTION
A special case of proportional control is On-Off control. If the proportional band of the controller is
made very low (=0) the controller out put will move from one extreme position to other for slight
deviation of process value from the set point. This very sensitive action is called On-Off control because
final control element is either open (On) or close (Off) i.e. operates like a switch. These are the simplest
controllers.
These controllers incorporate a dead band to keep the output from cycling rapidly between on and off.
The controller will not turn on or off until the error signal moves out of the dead band. The process
variable controlled by an on/off controller always
cycles back and forth about the set point as shown in the fig. Dark line and dotted line shows process
parameter and reference values respectively.
Hysteresis is a value set in the vicinity of on-off operating point. Upper hysteresis is value or band in
which process value is allowed to operate above the set point and lower hysteresis is value or band in
which process value is allowed to operate below the set point.
PROCEDURE
• Select “On-Off mode” option for the control from software. (click on “Change Expt.” Button, click
on “Change”, Click on “On-Off mode” button.)
• Change Hysteresis value to 1%.(Range 0.1-10%)
• Change the values of the set point and observe the On-Off control operation.
OBSERVATIONS
Observe that if process value exceeds the set point and increases above the value of (0.5x Hysteresis),
control valve is full open and if process value decreases below the set point by (0.5 x Hysteresis), the
control valve closes fully i.e. controller operates like On/Off switch.
3. STUDY OF PROPORTIONAL (P) CONTROLLER
AIM: To study the performance of Proportional controller for step change in set point for the Pressure
control system
DESCRIPTION
In proportional controller the control algorithm generates a linear control output proportional to
deviation. In proportional action the amount of change in the measured value (or deviation) is expressed
in percent of span that is required to cause the control output to change from 0 to 100 % is called the
proportional band. The controller output is given by:
Where, OP is the output, PB is proportional band in %, b is the bias value, and e is the error signal. If
there is no biasing, output OP will become zero when error is zero. Hence bias value decides the value
of output when error is zero.
The proportional controllers usually show some difference between the set point and process variable
called offset. The offset can be reduced by decreasing proportional band or by readjusting the bias. With
decrease in proportional band the process becomes oscillatory.
• Observe the effect of very low proportional band values (system works in oscillatory mode).
• Observe the response of the system at load change. Load change can be given by slightly
manipulating the vent valve of the tank.
PROCEDURE
• Select P Mode option for control from software. (click on “Change Expt.” Button, click on
“Change”, Click on “P Mode” button.)
• Keep the set point to 50%. Change output mode to Manual. Adjust output value so as to match the
process value with set point and apply this output value as bias value to the controller. Adjust the
proportional band to 50%.
• Apply step change of 10% to set point and observe the response.
• Switch the controller to Manual mode. Decrease proportional band to half of the previous value &
then shift controller to Auto mode. With each decrease, obtain a new response of the step change.
Ensure that the set point changes are around the same operating point (@ 5-10% only).
• Using trial and error approach, find a value of proportional band so that the response to a step
change has at most one overshoot and one undershoot.
• Set the controller to the settings obtained in the above step and wait for the system to reach at steady
state.
4. STUDY OF PROPORTIONAL INTEGRAL (PI) CONTROLLER
AIM: To study the performance of Proportional Integral controller for step change in set point for the
Pressure control system
DESCRIPTION
The offset in proportional controller can be overcome by adding integral action. The control algorithm
that applies changes in output as long as deviation exits, so as to bring the deviation to zero, is called
integral action. Output of proportional-Integral controllers is given by:
Where OP is the output, b is the bias, PB is the proportional band in %, e is the error signal, Ti is
integral time; this is the time required to repeat proportional action.
PROCEDURE
• Select PI Mode option for control from software. (click on “Change Expt.” Button, click on
“Change”, Click on “PI Mode” button.)
• Adjust the process value by changing the output of controller in manual mode to a particular
temperature (set point =40%).
• Set the proportional band estimated from Proportional control (from previous experiment). Start
with derivative time=0 and integral time=1000 sec., which will cut off the derivative action and
widen the effect of integral action.
OBSERVATION
•
Observe the effect of reducing integral time on offset and on the response of the process.
• Set the set point to desired temperature (@40%). Allow the process to reach at steady state. Record
the steady state error.
• Switch on the controller to manual mode. Reduce the integral time to half of the previous value.
Switch to Auto mode and apply step change to the set point by 2 to 3%. Note the response of the
system.
• Using trial and error, find out an integral time, which gives satisfactory response to the step change
in set point.
5. STUDY OF PROPORTIONAL DERIVATIVE CONTROLLER
AIM : To study the performance of Proportional Derivative controller for step change in set point for
the Pressure control system
DESCRIPTION
Where OP is the output, b is the bias, PB is the proportional band in %, e is the error signal, Td is
derivative time.
Larger the derivative time larger is the action. Smaller is the proportional band the larger is the
derivative action.
In order to achieve faster response and more stable operation in slow processes derivative action is
added to apply an output component proportional to the rate of change of input (error). Derivative action
is used with P action or PI action.
PROCEDURE
• Select PD Mode option for control from software. (Click on “Change Expt.” Button, click on
“Change”, Click on “PD Mode” button.)
• Select PD controller. Set the proportional band estimated from Proportional control (P only). Start
with derivative time=0 and integral time=6000 sec., which will cut off the derivative action and
widen the effect of integral action.
• Set the set point to desired temperature (@40%). Allow the process to reach at steady state. Note the
response of the system.
• Switch on the controller to manual mode. Increase the derivative time by 1 sec. Switch to Auto
mode and apply step change to the set point by 2 to 3%. Note the response of the system.
• Increase the derivative time gradually and observe the process response for step change.
OBSERVATION
Observe the effect of increasing derivative time. Also note that the process may show offset as effect
of integral action is cut off.
6. STUDY OF PROPORTIONAL INTEGRAL DERIVATIVE CONTROLLER
AIM: To study the performance of Proportional Integral Derivative controllers for step change in set
point for the Pressure control system
DESCRIPTION
PID controllers are used for controlling almost all process variables like temperature, flow, level,
pressure etc. in a continuous or batch process.
Where OP is the output, b is the bias, PB is the proportional band in %, e is the error signal, Ti is the
integral time and Td is derivative time .
Selection of proportional band, integral time and derivative time to achieve desired process response to
load changes is called tuning of controller.
PROCEDURE
• Select PID Mode option for control from software. (click on “Change Expt.” Button, click on
“Change”, Click on “PID Mode” button.)
• Change the proportional band to the value that estimated in proportional controller. Set integral time
and derivative time based on the responses in previous experiments.
• Change the controller to Auto mode. Apply step change by 2 to 3% to the set point and observe the
response of the process.
• Change the proportional band, integral time, derivative time and observe the response of the process
for step change for each change in setting.
OBSERVATION
Compare the steady state response of the PID controller with P, PI and PD controller obtained in the
previous experiments.
Exp. No. :4
Date:
AIM
APPARATUS REQUIRED
1. Process station
2. Data acquisition card
3. Process control software with PC
4. Path chords
5. compressor
THEORY
Two position control applied in a process station results in a continuous oscillation in the
quantity to be controlled. This drawback was overcome by a continuous action which could be
maintained by a continuous balance of the input and output. The continuous control modes include
proportional, derivative or integral control modes or a combination of these modes.
PROPORTIONAL CONTROLLER
In this control mode, the actuating signal for the control action is proportional to the error
signal. The error signal being the difference between the set point and the feedback signal. The output of
this control mode can be represented as:
u(t)=Kp e(t) + u0
The range of errors to cover the 0% to 100% controller output is called the proportional band.
PROCEDURE
RESULT
EXP. NO:5a
DATE :
THEORY
Here the outlet flow from tank 1 discharges directly into the atmosphere before spilling into the
tank 2 and the flow through R1 depends only on H1. The variation in H2 in tank 2 does not affect the
transient response occurring in tank 1. So we can here consider the overall system as two individual
systems cascaded.The overall transfer function can be written as,
H 2 ( s ) / Q( s ) R2 /(( 1 2 s 2 ( 1 2 A1 R2 ) * s 1))
where 1 A1 R1 and 2 A2 R2
PROCEDURE
Level of Tank-
Sl no. Time (S) H(t) Observed(mm) H(t) Predicted(mm)
2(mm)
t t
( ) 1 1
H2(t)Predicted = AR2 1 1 2 e 1 e 2 ……………………. (1)
1 2 2 1
Where,
A = magnitude of step change = Flow after step input - Initial flow rate in m3/sec.
τ1= A1 x R1
τ2= A2 x R2 Where,
R1 = dH1 /dQ
R2 = dH2 /dQ
Where,
Put the values in equation (1) to find out H (t) Predictedand plot the graph of H(t)
Date:
AIM
To study the step response of two first order systems arranged in interacting mode.
THEORY
Here the flow through R1 depends upon the level difference (H 1-H2) between the two tanks.
Such a system is said to be interacting since any change in the level of Tank-2,
H2 will affect the flow rate Q1. The overall transfer function can be written as
H 2 ( s ) / Q( s ) R2 /(( 1 2 s 2 ( 1 2 A1 R2 ) * s 1))
where 1 A1 R1 and 2 A2 R2
PROCEDURE
• A flexible pipe is provided at the rotameter outlet. Insert the pipe in to the cover of the Tank-3. Keep
the outlet valve (R2) of Tank-2 slightly closed. Ensure that the valve (R3) between Tank-2 and Tank-3
is also slightly closed.
• Switch on the pump and adjust the flow @40 LPH. Allow the level of both Tank-2 and Tank-3, to
reach the steady state and record the initial flow (Q1) and steady state levels of both tanks (H1& H2).
• Apply the step change with increasing the rotameter flow by @ 10 LPH.
• Record the level of the Tank-2 at the interval of 30 sec, until the level reaches at steady state.
• Carry out the calculations as mentioned in calculation part and compare the predicted and observed
*Note: Take readings till the steady state reached in level of Tank-2
CALCULATIONS
1/ e t 1 / e t
H2(t)Predicted = AR2 1 1
1/ 1/
Where,
τ1 = A1 x R1
τ2= A2 x R2
Where,
Considering non linear resistance at outlet valve of both tanks, it can calculated as
dH 1 dH 2
R1 , R2
dQ dQ
Where,
Calculate values of b, αand β from equations given in theory part.Put the values in equation (1) to find
out H (t) Predictedand plot the graph of H (t) Predictedand H (t) Observed Vs time
RESULT:
Exp. No. :6
Date:
AIM
On completion of this unit you will able to understand experimental working of I to P and P to I
converters..
PROCEDURE
EQUIPMENTS REQUIRED
MIT16 setup.
Current meter (DMM)
BLOCK DIAGRAM FOR I TO P CONVERTER
20 pin FRC
P out
1 phase EMT8 panel CIP panel I to P converter
I out 3 to 15 psi
supply Silencer
Power supply
4 to
20mA
20 psi air
Compressor FRL AFR unit Pressure gauge (PG3)
supply
unit
3 to 15 psi
Pressure gauge (PG1) 2 bars
WIRING SEQUENCE
Panel connections
Sr. no. From To Sr. no. From To
1 0
2 0.5
3 1.00
4 1.5
5 2.0
6 2.5
RESULT
6.2 WORKING WITH P TO I CONVERTER
PROCEDURE
EQUIPMENTS REQUIRED
MIT16 setup.
Current meter (DMM)
Block diagram for P to I converter
20 pin FRC
1 phase
EMT 8 panel Pressure sensor Sensor o/p EMT9 Signal
supply
power supply conditioning
CIP panel V to I block circuit
0-1 bar
Com FRL AFR Current o/p to
press unit unit current meter
or Pressure gauge PG2 0-
15 psi
WIRING SEQUENCE
Panel connections
Sr. no. From To Sr. no. From To
Sr. no Pressure at PG1 on Voltage on EMT9 tag no. Current on CIP tag no.
AFR (psi) 16 measured on EMT8 10 measured on DMM
DPM (V)
1 0
2 2.5
3 5
4 7.5
5 10
RESULT
Exp. No. :7
Date:
THEORY
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. The figure
shows basic elements and internal parts of typical pneumatic control valve.
Depending upon the valve plug design the control valves can be classified as quick opening, linear and
equal percent type.
Equal%:Flow changes by a constant percentage of its instantaneous value for each unit of valve lift.
Q b e ay
Where,
Q = flow at constant pressure drop
y = valve opening.
e = base of natural logarithms.
Constants a and bcan be evaluated to give more convenient form
Q Q0 e log R / y max y
Where,
Area Plate
Diaphragm
Air Connection
Bottom Casing
Spring
Actuator Stem
Yoke
Spring Adjustor
O
Travel Plate
Travel Indicator
Coupling
Plug Stem
Gland Pusher
Gland Packing
Bonnet
Plug
Seat Guide
Body
Different types of actuators are used to control the stem travel of the valve, like electrical actuators,
pneumatic actuator, Hydraulic actuators etc. In this product pneumatic actuators are used for control
valves.Spring opposed diaphragm actuator positions the valve plug in response to the controller signals.
Mostly the controller signals are in the range of 3 - 15 psig.
Direct acting actuators basically consist of a pressure tight housing sealed by a flexible fabric
reinforced elastomer diaphragm. A diaphragm plate is held against the diaphragm by a heavy compression
spring. Signal air pressure is applied to upper diaphragm case that exerts force on the diaphragm and the
actuator assembly. By selecting proper spring rate or stiffness, load carrying capacity, and initial
compression, desired stem displacement can be obtained for any given input signal.
In case of reverse acting actuators the stem gets retracted with increase in pressure.
A control valve regulates the flow rate in a fluid delivery system. In general a close relation exists
between the pressure along the pipe and the flow rate so that if pressure is changed, then the flow rate is also
changed. A control valve changes the flow rate by changing the pressure in the flow system because it
introduces the constriction in the delivery system so we can say that the flow rate through the constriction is
given by
Q K P -------------------(1)
The correction factor K in above equation 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.
Valve coefficient
G
Cv 1.16 Q (In S I Units)
P
Where,
G is specific gravity of liquid.
Q flow in m3/h, ∆P pressure drop in bar.
Valve Characteristics
The amount of fluid passing through a valve at any time depends upon the opening between the plug
and seat. Hence there is relationship between stem position, plug position and the rate of flow, which is
described in terms of flow characteristics of a valve. Inherent and Installed are two types of valve
characteristics.
Inherent characteristics:
The inherent flow characteristic of control valve is the relation between the flow and the valve travel
at constant pressure drop across the valve. Following are the inherent characteristics for different types of
valves.
100
90
80
FLOW % OF MAXIMUM
70
60
50
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
Hysteresis is a 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 the
signal. The maximum error in stem travel (or valve coefficient) expressed in % for same actuator pressure
while opening and closing the valve is indicated as hysteresis.
Equal% valve has characteristics such that given percent change in stem position produces an
equivalent change in flow. 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.
Fmax
R
Fmin
Where,
Fmax is the flow when the valve stem is at extreme open position.
Fmin is the flow when valve stem is at extreme closed position.
(Fmax, Fmin represents flow rates measured at constant pressure drop across control valve. Hence rangeability
R also can be defined as ratio of Cv max to Cv min.)
F R m1
Where ,
R is the rangeability of the valve.
m is its fractional stem position.
OBSERVATIONS
Type of control valve: Linear / Equal% / Quick opening
CALCULATIONS
Specific gravity (G) = 1 (for water)
Valve positioner is a device used with actuator. The actuator stem motion is accurately compared with the
signal from controller. Any deviation from the desired position results in an error signal which activates
pneumatic relay having an independent air supply. Some of the advantages of positioner are as follows:
PROCEDURE
Open the regulating (gate) valves provided at the inlet of linear control valve. Also open the hose cock in
Switch on the pump and wait for 2-3 mins and ensure that water overflows to supply tank.Adjust the top air
regulator to provide 20-25 psi air supply to valve positioner and adjust bottom air regulator to 15-18 psi to
Vary the bottom air regulator pressure from 3-15 psi and ensure smooth working of control valve.
Close the hose cock of liner valve. Remove the air connection connected at IN of valve positioner and
Open the inlet valve (gate valve) at the inlet of equal % control valve. Ensure water circulation.
Vary the bottom air regulator pressure from 3-15 psi and ensure smooth working of control valve.
Open the inlet valve of the Linear control valve. Open the respective hose cock for pressure indication.
(Close the inlet valves and hose cocks of other control valves.)
Ensure that pressure regulator outlet is connected to the valve actuator of the linear control valve under
study. Keep the control valve fully open by adjusting air regulator. (In case of control valve with valve
positioner: Ensure that the bottom pressure regulator outlet is connected to “IN” port at the valve
positioner. Adjust the top pressure regulator to 20-25 psi for air supply to valve positioner).
Adjust the regulating valve and set the flow rate. (Set 400 LPH flow for linear/equal% valve or 600 LPH
for quick opening valve). Note for measuring lower flow rates below rotameter minimum range use
measuring jar.
For studying other valve (equal %/ Quick opening) remove the air connection connected to the actuator
and connect it to actuator of other valve. (In case of set up with valve positioner remove connection at the
“IN” port of the valve positioner and connect to the actuator of the other control valves). Repeat the steps
above.
RESULT
Exp. No. :8
Date:
AIM
To study the effect of gain, integral time and derivative time of PID Controller on the closed loop performance.
THEORY
The most commonly used controller in industry is PID controller. Here three tuning parameters are available in
hand. The controller gain kc which will increase the closed loop response, τi, which will eliminates the offset and
τd which will makes the performance robust.
TRANSFER FUNCTION:
Ziegler-Nichols Method:
1. First, note whether the required proportional control gain is positive or negative. To do so, step the input u up
(increased) a little, under manual control, to see if the resulting steady state value of the process output has
also moved up (increased). If so, then the steady-state process gain is positive and the required Proportional
control gain, Kc, has to be positive as well.
2. Turn the controller to P-only mode, i.e. turn both the Integral and Derivative modes off.
3. Turn the controller gain, Kc, up slowly (more positive if Kc was decided to be so in step 1, otherwise more
negative if Kc was found to be negative in step 1) and observe the output response. Note that this requires
changing Kc in step increments and waiting for a steady state in the output, before another change in Kc is
implemented.
4.When a value of Kc results in a sustained periodic oscillation in the output (or close to it), mark this critical
value of Kc as Ku, the ultimate gain. Also, measure the period of oscillation, Pu, referred to as the ultimate
period. ( Hint: for the system A in the PID simulator, Ku should be around 0.7 and 0.8 )
If M is the amplitude ratio of the system response at the cross over frequency ω co,
5. Using the values of the ultimate gain, Ku, and the ultimate period, Pu, Ziegler and Nichols prescribes the
following values for Kc, tI and tD, depending on which type of controller is desired:
Step 5: Evaluate control parameters as prescribed by Tyreus and Luyben (Table 2).
Step 6: Evaluate the performance of P, PI and PID controllers and compare the closed loop responses (Servo
regulatory).
The values of t and tDEL can be obtained by first recording the following time instances:
5. Based on the parameters K, t and tDEL, the controller parameters Kc, tI and tD can be calculated.
Table 1: Ziegler Nichols Tuning Rules
Step 3: Using the process parameters, use the prescribed values given by Cohen and Coon (Table 3).
Step 4: Evaluate the performance of P, PI and PID controllers and compare the closed loop responses.
RESULT
Exp. No. :9
Date:
LIST OF EXPERIMENTS
1.Conduct a step test on temperature control trainer and find the transfer function of system using System
Identification tool box (In Matlab).
2.Study the performance of different controllers On/Off Control and PID Control on temperature control trainer.
EXPERIMENT: 01
AIM
Conduct a step test on temperature control trainer and find the transfer function of system using System
Identification tool box
APPARATUS REQUIRED:
1. Arduino Uno R3.
2. Temperature control shield.
3. Adaptor(12V,2 amp).
4. Communication cable(A/B standard USB 2.0)
5. A computer with Matlab Software.
THEORY:
The temperature control trainer is an application of feedback control with an Arduino, an LED, two heaters, and
two temperature sensors. The heater power output is adjusted to maintain a desired temperature set point.
Thermal energy from the heater is transferred by conduction, convection, and radiation to the temperature sensor.
Heat is also transferred away from the device to the surroundings.
Figure: Controller output step with measured process variable response
System Identification Toolbox™ provides MATLAB functions, SIMULINK blocks, and an app for constructing
mathematical models of dynamic systems from measured input-output data. It lets you create and use models of
dynamic systems not easily modelled from first principles or specifications. You can use time-domain and
frequency-domain input-output data to identify continuous-time and discrete-time transfer functions, process
models, and state-space models.
PROCEDURE
Plug in power supply to electrical outlet and USB connection Temperature control trainer to computer.
Open Temperature control trainer folder in PC, choose step test folder and double click the file
“step_Test.slx”
Give the step change in the heater and run Simulink and observe the system response. Collect the data
(With and without disturbance)
Open system identification tool box GUI.
Import the data in system identification GUI, choose time domain and give the input and output
variables.
Choose time plot in system identification GUI and estimate transfer function (Choose: Transfer function)
by adjusting the poles and zeros obtain the best fitting model for the collected data.
RESULT
EXPERIMENT 02
AIM:
Study the performance of different controllers On/Off Control and PID Control on temperature control trainer.
APPARATUS REQUIRED:
1. Arduino Uno R3
2. Temperature control shield
3. Adaptor(12V,2 amp)
4. Communication cable(A/B standard USB 2.0)
5. Matlab Software.
THEORY:
The temperature control lab is an application of feedback control with an Arduino, an LED, two heaters, and
two temperature sensors. The heater power output is adjusted to maintain a desired temperature set point.
Thermal energy from the heater is transferred by conduction, convection, and radiation to the temperature
sensor. Heat is also transferred away from the device to the surroundings.
ON/OFF CONTROL:
One of the most widely used type of control is the On/Off control. On/Off control is also referred as two
position control. Two position controls is a position the of controller action in which the manipulated variable is
quickly changed to either a maximum or minimum value depending upon the controlled variable is greater or
lesser than the set point.
If the controlled variable is below the set point, the controller output is 100% the controlled variable is above the
set point, the controller output is 0% when the differential gap is zero. The tuning parameter for ON/OFF control
are differential gap and time delay.
Figure: Process under on/off control with dead band
Figure: Response Of PV To Step Change Of SP Vs Time for P,PI and PID control
Differential Gap:
Differential gap is the region in which the control causes the manipulated variable to maintain its previous until
the controlled variable has moved slightly beyond the set point. Small differential gap is not preferred. Because
it introduces oscillations and reduces the life of final control element.
Proportional Integral Derivative (PID) control automatically adjusts a control output based on the difference
between a set point (SP) and a measured process variable (PV). The value of the controller output u(t) is
transferred as the system input.
𝑒(𝑡) = 𝑆𝑃 − 𝑃𝑉
𝐾𝑐 𝑡 𝑑(𝑃𝑉)
𝑢(𝑡) = 𝑢𝑏𝑎𝑖𝑠 + 𝐾𝑐 𝑒(𝑡) + ∫ 𝑒(𝑡)𝑑𝑡 − 𝐾𝑐 𝜏𝐷
𝜏𝐼 0 𝑑𝑡
The 𝑢𝑏𝑎𝑖𝑠 term is a constant that is typically set to the value of u(t) when the controller is first switched from
manual to automatic mode. This gives "bumpless" transfer if the error is zero when the controller is turned on.
The three tuning values for a PID controller are the controller gain, 𝐾𝑐 , the integral time constant τI, and the
derivative time constant τD. The value of𝐾𝑐 is a multiplier on the proportional error and integral term and a
higher value makes the controller more aggressive at responding to errors away from the set point. The integral
time constant τI (also known as integral reset time) must be positive and has units of time. As τI gets smaller, the
integral term is larger because τI is in the denominator. Derivative time constant τD also has units of time and
must be positive. The set point (SP) is the target value and process variable (PV) is the measured value that may
deviate from the desired value. The error from the set point is the difference between the SP and PV and is
defined as e(t)=SP−PV
PROCEDURE:
1. ON/OFF CONTROL.
Plug in power supply to electrical outlet and USB Connection to PC, switch on the PC.
2. PID CONTROL.
Put the PID Parameters in PID Control box and click on run button.
Observe the temperature control trainer response and save the graphs.
RESULT:
EXP. NO:10
DATE :
AIM
THEORY
When two dissimilar materials are brought into contact , a potential difference develops as a result of an effect
known as the “seeback effect”. A thermocouple is a very simple temperature sensor operates based on the
seeback effect, which results in the generation of a thermoelectric potential when two dissimilar metals are
joined together at a junction.The electric potential of the material accepting electrons becomes negative at the
interface, while the potential of the material providing the electrons become positive. Thus an electric field is
established by the flow of electrons across the interface. When this electric field become sufficient to balance the
diffusion forces, a state of equilibrium with respect to electron migration is established. Since the magnitude of
the diffusion force is controlled by the temperature of the diffusion forces is controlled by the temperature of
the thermocouple junction, the electric potential developed at the junction provides a measure of the
temperature.
The electric potential is usually measured by introducing a special junction in an electric circuit. The voltage
across terminals M-N can be represented approximately by an empirical equation having the form,
metal A
T1 T2
metal B metal B
TABULAR COLUMN
PROCEDURE
Check connection made and switch ON the instrument by INSTRUMENT ON switch at the front panel The
display glows to indicate the instrument is ON.
Allow the instrument is ON position for 10 minutes for initial warm up.
Pore around 3/4th full of water to the kettle and place sensors and thermometer inside the kettle.
Digital temperature controller used is of RTD type.
Set the temperature in the temperature controller to the required temperature with the keys provided in the
front panel. Press the menu button and the increment or decrement keys.
Connect the sensor to be measure the temperature by connecting to the terminals marked thermocouple.
Note down he initial water temperature from the thermometer and the mV for the room temperature from
the milli-volt meter.
Switch on the power supply to the kettle and note down the actual temperature from the thermometer to the
required temperature. The heater will be off at the set temperature. Tabulate the reading in the tabular
column.
Experiment can be repeated for the other two sensors. Temperature in the thermometer and the indicator
reading in steps of 10 o C can be tabulated.
Fuse provided at the front panel for over current protection
RESULT
EXP. NO:11
DATE :
AIM
To study the digital input/output operation of Programmable Logic Controller (PLC) using ladder logic
diagram.
WORKING PRINCIPLE
A programmable logic controller, which is usually called a PLC is a programmable controller, is a solid-state
digital industrial computer. The top three units are PLCs of different sizes within the Allen-Bradley
MicroLogix 1000 family. A handled programming terminal is pictured in the figure.
Input interact with instructions specified in the user ladder program which tells the PLC how to react to the
incoming signals. The user program also directs the PLC on how to control field devices like motor starters,
pilot lights and solenoids. A signal going out of the PLC to control a field device is called an output.
A PLC simply follows the instructions stored in memory. Each instruction that is entered will be placed in
the memory of the PLC for future use and reference. Further, each instruction that is entered will be placed
in memory in ascending order.
VersaPro Software
The VersaPro application is installed in the GE Software Program group. The application can be started by
selecting Start->Programs->GE Software->VersaPro. It is possible to create a shortcut to the VersaPro
application and place the shortcut on the desktop or to click on a file created by VersaPro (the file in the
VersaPro folder with a .fld extension) and start the application in the context of the selected folder. VersaPro
may also be started using CTRL-ALT-V.
Fig. Simple block diagram of PLC
TRUTH Tables
OR GATE
A B OUTPUT
0 0 0
1 0 1
0 1 1
1 1 1
AND GATE
A B OUTPUT
0 0 0
1 0 0
0 1 0
1 1 1
VersaPro allows you to customize editor and window options. It is important to confirm the default language
and hardware configuration before creating a new folder. Other options may be customized before opening a
folder, or after the folder is opened. General Options VersaPro’s default hardware configuration is the
VersaMax PLC. The default block language is Ladder Diagram. To change the default configuration so that
you can create programs and hardware configuration for the target devices, or to customize display and
editing options, select the Tools menu and choose Options. The Options dialog box will appear.
VersaPro provides several options when creating a new folder. You can create an empty folder or create a
new folder based on an existing VersaPro folder. VersaPro also provides an option for you to create a folder
by importing content from Logicmaster 90 (series 90-30 or series 90 micro folders) or Control (Series 90-30
or VersaMax folders).
GE Fanue Series One Integrator’s Kit Selection Guide Integrator’s Kits are designed for users who required
the capability to view, edit and monitor the execution of Series One and Series One Junior PLC programs.
There are many ways in which these tasks can be accomplished, and choosing the right method for your
hardware can often be confusing. To make things easier, they have developed kits that include all of the
hardware, firmware, and software necessary to get started.
QIC610INTKIT
Our most versatile Integrator’s Kit, this package is built around the LogicMaster 1 Programming software. It
includes a licensed copy of LogicMaster 1 (IC64IPBE324), one Data Communications Unit
(IC610CCM105), one universal cable kit with RS-232/RS-422 converter, and a CD containing a complete
set of manuals for the Series One product family. The QIC610INTKIT is compatible with all Series One and
Series One Junior PLCs with the exception of systems having an IC610CPU101 CPU module.
QS1PORTABLEKIT
This kit consists of a Portable Programmer unit (IC610PRG110), a Hand-held Programmer (IC610PRG105),
a Series One Program Pack (IC610PRG116), and a CD containing a complete set of manuals for the Series
One Product family. Printer and audio cables are not included. QS1PORTABLEKIT is designed for use with
Series One PLCs: another version of this kit called the QS1JRKIT, is available for use with Series One
Junior Products.
NOR GATE
A B OUTPUT
0 0 1
1 0 0
0 1 0
1 1 0
NOT GATE
A OUTPUT
0 1
1 0
NAND GATE
A B OUTPUT
0 0 1
1 0 1
0 1 1
1 1 0
NOR GATE
A B OUTPUT
0 0 0
1 0 1
0 1 1
1 1 0
XNOR GATE
A B OUTPUT
0 0 1
1 0 0
0 1 0
1 1 1
QS1JRKIT
The QS1JRKIT is intended for use solely with Series One Junior PLCs. It is functionally identical to the
QS1PORTABLEKIT described above, but substitutes a Series One Junior Program Pack (IC610PRG115) in
place of the Series One Program Pack.
PROCEDURE
RESULT
Working of PLC of AND, OR, NOT, NAND, NOR, XOR and XNOR was studied and formed respectively
in the given figure
EXP. NO:12
DATE :
LIST OF EXPERIMENTS
1.Open Loop
2.On/Off Controller
3.Proportional Controller
4.Proportional Integral
5.Proportional Derivative
6.Proportional Integral Derivative
WORKING PRINCIPLE
Flow control trainer is designed for understanding the basic principles of flow control. The process setup
consists of supply water tank fitted with pump for water circulation. A DP transmitter is used for flow
sensing which measures differential pressure across orifice meter. The process parameter (flow) is
controlled by microprocessor based digital indicating controller which manipulates pneumatic control valve
through I/P converter. The control valve is fitted in water flow line. These units along with necessary piping
are fitted on support housing designed for tabletop mounting. The controller can be connected to computer
through Ethernet / USB port for monitoring the process in SCADA mode.
GENERAL INSTRUCTIONS
1.The experiment Nos 1 the 6 are to get feel of the process and PID settings.
2.Startup Setup
3.Switch on electric supply.
4.Switch on Mains.
5.Switch on electric supply.
6.Switch on Mains.
7.Switch on the pump and adjust the bypass valve to set rotameter flow at 100 LPH.
8.Switch on the compressed air source and adjust the air regulator to set supply air pressure at @ 2 kg/cm^2
9.Double click on Apex_Process_Trainers icon on the desktop
AIM
PROCEDURE
OBSERVATIONS
From the above data, note the output required for maintaining the flow at desired set points.
2.STUDY OF ON/OFF CONTROLLER
AIM
To study the performance of ON/OFF Controllers for a step change in set point
PROCEDURE
Observe that if process value exceeds the set point and increases above the value of (0.5x Hysteresis),
control valve is fully closed and if process value decreases below the set point by (0.5 x Hysteresis), the
control valve opens fully i.e. controller operates like On/Off switch.
3.STUDY OF PROPORTIONAL CONTROLLER
AIM
To study the performance of Proportional Controllers for a step change in set point
PROCEDURE
AIM
To study the performance of Proportional Integral Controllers for a step change in set point
PROCEDURE
Observe the effect of reducing integral time on offset and on the response of the process.
5.STUDY OF PROPORTIONAL DERIVATIVE CONTROLLER
AIM
To study the performance of Proportional Derivative Controllers for a step change in set point
PROCEDURE
Compare the steady state response of the PD controller with PI controller obtained in the previous
experiment.
AIM
To study the performance of Proportional Integral Derivative Controllers for a step change in set point
PROCEDURE
Compare the steady state response of the PID controller with P, PI and PD controller obtained in the above
experiment.
EXP. NO:13
DATE :
pH CONTROL TRAINER
AIM
To study the performance of Proportional Integral Derivative control with change in set point for pH
process
WORKING PRINCIPLE
pH process has two dosing pumps one for acid solution and other for base solution. If you wish to increase
pH towards 14 then base solution needs to be added and if you want to decrease towards 0 pH then acid
needs to be added. The upward movement of
pH needs forward acting PID controller while downward movement of pH needs reverse acting PID
control. Inactive (error) band is sometimes needed to prevent continuous shifting between the two PID
outputs which appears as oscillatory behavior on MV graph. Once MV is within error band of SP then both
outputs are kept off / to default values, thus stability.
PROCEDURE
6. Set valves position as V1 slightely open, V2, V3 and V4 closed. Switch ON all the pumps supply.
7. Start PID controller and Open the graph window. In setting of graph window select XT graph & process
monitoring mode. Add new graph of SP & MV. Select sample on ‘Pid controller 1’ & press save settings
button.
8. Now press ‘start graph’ button on the graph window & observe the graph of SP & MV on screen with 2
Sec sampling time with 40Samples/Div.
9. Observe the system response of the process for set point change. Vary the set point on the panel from 30 to
50 % manually. But while changing the set point always let the sensor o/p to settle. Observe the graph of
measured variable Vs set point.
10. After performing experiment stop the PID controller.
CONCLUSION
From the graph it is observed that the process settles within the error band of ±1.
Exp. No. :14
Date:
AIM
To calculate heat transfer rate and effectiveness of shell & tube heat exchanger in co-current mode.
THEORY
1. Conduction
2. Convection
3. Radiation
Conduction
Conduction is the flow of heat, which occurs either due to the exchange of energy from one molecule
to another without appreciable motion of the molecules or due to the motion of free electrons if they
are present. It occurs in all media-solids, liquids and gases - in which temperature differences exist.
A simple experiment to observe the phenomenon is to heat one end of a metal bar over a flame.
Gradually the other end of metal bar also heats up and we say that this is due to heat being conducted
along the bar.
The equation for the heat transfer by conduction may be written as:
dQ/dq = (k. A. dt)/dL,
Convection
Unlike solids, molecules in liquids and gases have freedom of motion, and in moving they carryover
their energy. The transfer of heat from one region to another, due to such macroscopic motion in a
liquid or gas, added on to the energy transfer by conduction is called heat transfer by convection. It is
usual to classify heat transfer by convection as either forced or free. When the fluid motion is caused
by an external agency such as pump or a blower, the situation is said to be one of forced convection.
On the other hand, when there is no such external agency and the fluid motion occurs due to density
variations caused by temperature differences, the situation is said to be one of free or natural
convection.
Radiation
All bodies at all temperature levels emit thermal radiation. Unlike conduction and convection, this
mode of heat transfer does not require any material medium. The propagation of energy in this mode
is carried out by electromagnetic waves emitted from the surface of another body, a part of the
energy is reflected, a part transmitted through the body and the remainder absorbed by the body.
The net transfer of heat between two bodies is expressed by the Stefan-Boltzmann law, which is
ordinarily written as:
Flow arrangements
Temperature δ TR
δ TL
Length
Counter-current flow
In this type of heat exchanger, the two fluids exchanging heat pass each other in opposite directions.
Here, the driving force is much more nearly constant throughout the length of the exchanger. The net
result is that a unit surface gives about the same rate of exchange throughthe entire exchanger.
Temperature
δTR
δ TL
Length
A shell & tube heat exchanger of transfer type can be in the form of a tube arrangement. When the
required heat transfer surface is large, the recommended exchanger is the shell and tube type. In this
type of heater or cooler, large heat transfer surface can be achieved economically and practically by
placing tubes in the bundle. The ends of the tubes are mounted in a tube sheet. This is very
commonly accomplished by expanding the ends of tube into a close-fitting hole in the tube sheet by a
process called by rolling. The resultant tube bundle is then enclosed by a cylindrical casing (shell),
through which the second fluid flows around and through the tubebundle.
One fluid flow through the inner tubes and the other through the shell surrounding it. The fluid
flowing through the tubes enters a header or channel where it is distributed through the tubes in co-
current flow and leaves the unit through another header. Either the hot or the cold fluid may flow in
the shell of the exchanger surrounding the tubes. The heat transfer takes place across the walls of the
inner tubes.
Fluid Bin
Fluid Aout
Fluid Ain
Fluid Bout
Fluid Bout
t
Fluid Aout
Fluid Ain
Fluid Bin
This heat exchanger is constructed by placing pipe inside a pipe. One fluid passes through the inner
pipe and the other through annular area between the pipes. The heat transfer takes place across the
walls of the inner tubes. This is the simplest and cheapest type of heat exchanger. These can be made
from standard fittings, and are useful where only a small heat transfer area is required. Several units
can be connected in series to extend their capacity.
Effectiveness
The term effectiveness is defined as follows:
Effectiveness = Rate of heat transfer in heat exchanger/ Maximum possible heat transfer rate
∆Tm = 1/A ∫ ∆T dA
Because of logarithm in denominator, the mean temperature difference is often called the
logarithmic mean temperature difference and the symbol LMTD is used.
Δ TL = T3 - T1 and Δ TR = T4 - T2
where
Ud = Q x 1000
W m2 0K
Where
No. of tubes: 4
3.142∗(0.006+0.004)∗4
Hs= ( )
2
Hs=0.06283 m2 ~ 0.06 m2
Nomenclature:
Observation table:
Obs. No. Temp. Temp. Temp. Temp. F1 F2
T1+273 T2+273 T3+273 T4+273
0K 0K 0K 0K For water For water
LPH=Kg/hr LPH=Kg/hr
Calculations
H1 =m Cp Δ T KJ/hr.
H2 =m Cp ΔT. KJ/hr.
Average heat
transfer
𝐻1+𝐻2
Q= 2
KJ/hr
𝑄𝑋1000
Ud =(𝐻𝑠 𝑥 𝐿𝑀𝑇𝐷)3600 W m2 0 K
Effectiveness of heat exchanger = Heat gained by cold water/ Heat gained by hot water
AIM
To calculate heat transfer rate and effectiveness of shell and tube heat exchanger.
PROCEDURE
Repeat the experiment no.1 in counter current mode by changing the piping and
valve positions as per piping schematic and observe the performance.
Proceed further to next experiment or shut down the set up.
HS m2 0.06
Observation table:
Obs. Temp. Temp. Temp. Temp. F1 F2
No. T1+273 T2+273 T3+273 T4+273
0K 0K 0K 0K For water For water
LPH=Kg/hr LPH=Kg/hr
Calculations
H2 =m Cp ΔT. KJ/hr.
Average heat
transfer
Q=
𝐻1+𝐻2
KJ/hr
2
𝑄𝑋1000
Ud =(𝐻𝑠 𝑥 𝐿𝑀𝑇𝐷)3600 W m2 0 K
Effectiveness of heat exchanger = Heat gained by cold water/ Heat gained by hot water