Control Lab Manual-2021
Control Lab Manual-2021
Control Lab Manual-2021
Faculty of Engineering
The theory and practice of automated process control is essential for the effective and efficient
operation of today's chemical processes. The Process Control Laboratory provides exposure to
feedback control of various process operations such as level tanks and pressure tank, as well as to the
dynamics of process components such as temperature sensors and motorized and pneumatic valves.
The control system most often used in continuous processes is PID (proportional-integral-derivative)
control. PID control can be accomplished by mechanical, pneumatic, hydraulic, or electronic control
systems as well as by PLCs (Programmable Logic controller) and PACs (Programmable Automation
Controller).
In this manual, we discuss the basic principles of Manual control, On/Off Control, PID control using
LabVIEW, which stands for Laboratory Virtual Instrumentation Engineering Workbench. It is a
graphical programming language first released in 1986 by National Instruments (Austin, TX).
LabVIEW integrates the creation of user interfaces (termed front panels) into the development cycle.
LabVIEW programs-subroutines are termed virtual instruments (VIs). Each VI has three
components: a block diagram, a front panel, and a connector pane.
LEAD AUTHORS
Eng. Rowaida Zoumot, Lecturer, Chemical Engineering Department, Jordan University of Science
and Technology
CONTRIBUTORS
Eng. Heba Jalamneh, Chemical Engineering Department, Jordan University of Science and
Technology
EXPERIMENT # 1
TEMPERATURE TRAINER
Technology Integration
Temperature Experiment
Manual
INTRODUCTION
Process control technology is the tool that enables manufacturers to keep their operations running
within specified limits and to set more precise limits to maximize profitability, ensure quality and
safety.
The Components of a Control Loop
A controller seeks to maintain the measured process variable (PV) at set point (SP) in spite of
unmeasured disturbances (D). The major components of a control system (Figure 1) include a
sensor, a controller and a final control element. To design and implement a controller, we
must: identify a process variable we seek to regulate, be able to measure it (or something directly
related to it) with a sensor, and be able to transmit that measurement as an electrical signal back to
our controller, and have a final control element (FCE) that can receive the controller output (Pr)
signal, react in some fashion to impact the process (e.g., a valve moves), and as a result cause the
process variable to respond in a consistent and predictable fashion.
PRACTICAL APPLICATIONS
Chemical Process include refining, combining, handling, and otherwise manipulating fluids to
profitably produce end products can be a precise, demanding, and potentially hazardous process.
Small changes in a process can have a large impact on the end result. Variations in proportions,
temperature, flow, turbulence, and many other factors must be carefully and consistently controlled
to produce the desired end product with a minimum of raw materials and energy.
TemperatureExperiment Hardware& Software
Hardware:
Description:
The Compact Field Point (cFP) setup consists of the following components:
cFP-2020
- Embedded controller runs Lab VIEW Real-Time for control, data logging, and signal
processing
- Stand-alone embedded real-time controller or Ethernet interface for PC-based distributed
I/O
- 64 MB of nonvolatile Compact Flash storage, 32 MB DRAM memory
- 1 RS485 and 3 RS232 serial ports for connection to peripherals
- Up to 512 MB of removable Compact Flash storage
- Embedded Web and file servers with remote-panel user interface
cFP-TC-120:
- 16 Bit Thermocouple Input Module (TC, mV)
- 8 Channel
cFP-AIO-610:
- 12 bit Analog I/O Module
- 4 Channel, 12 bit, AI, V and mA
- 4 Channel, 12 bit AO, V
1. Thermocouples
Type: K-Type
Qty. 4: TC1, TC2, TC3, TC4
3. Pump
4. Heater
Software:
Description:
1. To run the experiment, turn on your PC and run the “Temperature Experiment”
located on the desktop.
If you click on any of the thermocouple pictures, another window will pop-up
showing the thermocouple reading in ºC and its related voltage reading.
Figure (5): Temperature Readings Window
Control system parameters. Here you can change the parameters of the
control whether On/Off or Auto. And you can change the Set point and
monitor the Process Variable and Output.
2.5 Chart:
The behavior of the system is plotted on this chart. You can monitor the
Set point plot, Process Variable plot, and output plots.
This indicates the connection status of the Compact FieldPoint. The cFP
should always be connected to be able to perform the experiment. If at
any point the cFP was disconnected, please consult your lab administrator
immediately.
Save Button:
1. Connect the Thermocouples (TC1, TC2, TC3, TC4) and Flow Control Valve
Temp. cables to their locations on the console. Each cable has a label that
indicates its name and shall be plugged to its relevant location.
3. When you run an experiment, always make sure that the message “Compact
FieldPoint is connected” always appears on the bottom of the screen. If not,
please consult the Lab Administrator for support.
APPARATUS
OBJECTIVES
1. Calibrate the thermocouple /conditioning circuit
2. Investigate the linearity and hystersis of the sensor/conditioner
Experimental Details:
The aim of this experiment is to calibrate the thermocouples to give the following
characteristics:
Minimum Temperature = 0 oC = 0.000 Volt = 0.0 % PV
Maximum Temperature = 100 oC = 1.000 Volt = 100 % PV
(i.e The range of Sensor is 100 oC)
Temperature Calibration Button:
This button opens a new window where you can perform temperature calibration:
You can change the calibration by entering a new calibration value and then pressing
the “Ok” button, or you can cancel the operation by pressing the “Cancel” button.
Set New Output Range Button:
Use this button to change the output range of the controller; i.e. if you want the control
valve to operate in a selected scale or a full scale.
Procedure:
1- Prepare a source of boiling water and crushed ice, and glass thermometer
or digital thermometer as reference.
2- Connect the thermocouple available to the socket on the conditioning
module using especial connecting lead supplied with the equipment.
3- Place the thermocouple and digital thermometer in the cold water and
start heating and record data:
4- Gradually leave the hot water to cool by adding ice or cold water to it and
record the corresponding reading as part 4 starting from zero time one
reading/one minute.
100%
Results:
1- Plot the temperature versus the thermocouple/conditioner time to
determine the linearity and hysteresis.
2- How does the thermocouple/conditioner output change with change in
temperature?
3- Calculate the transmitter gain (KT)?
4- Explain how the thermocouple/conditioner may be calibrated to suit an
operating temperature range 40-90 oC
Experiment (1-2): Motorized Valve Characteristics
OBJECTIVES
Demonstrate the manual operation of the motorized valve and determine its
characteristics (flow/ position):
THEORY
Trim design of the valve affects how the control valve capacity changes as the valve
moves through its complete travel. Because of the variation in trim design, many
valves are not linear in nature. Valve trims are instead designed, or characterized, in
order to meet the large variety of control application needs. Many control loops have
inherent non linearity's, which may be possible to compensate selecting the control
valve trim
Results:
1- Plot a graph of controller output versus flow rate and determine the
characteristics of control value and any hysteresis?. (refer to Level
Experiment 2)
2- Calculate the control valve gain (Kv)?
Experiment (1-3): Manual remove of initial offset and Process Reaction Curve
OBJECTIVES
THEORY
4
TD = Td ( )
2𝑇𝑑
11 + 𝑇
Results:
OBJECTIVES
1. To control the temperature of the process fluid leaving the heat exchanger TC4
using the proportional output from the process controller to operate the
motorized valve.
2. To study the effect of changing (Kc) value versus offset value.
3. Use one of the widely used field methods for optimizing the P-only, PI and PID
settings on the controller to suit the characteristics of the process: Ultimate
Period/ Ziegler-Nicholas (closed loop).
THEORY
The Ziegler-Nichols closed-loop tuning method allows you to use the ultimate gain value, Ku,
and the ultimate period of oscillation, Pu, to calculate Kc. It is a simple method of tuning PID
controllers and can be refined to give better approximations of the controller.
Determining the ultimate gain value, Ku, is accomplished by finding the value of the
proportional-only gain that causes the control loop to oscillate indefinitely at steady state..
Another important value associated with this proportional-only control tuning method is the
ultimate period (Pu). The ultimate period is the time required to complete one full oscillation
while the system is at steady state. These two parameters, Ku and Pu, are used to find the loop-
tuning constants of the controller (P, PI, or PID).
OBJECTIVES
Control the temperature of the process fluid leaving the exchanger TC4 using
proportional integral: PI controller to operate the motorized valve, and study the
response of the controller to a change in set point or a disturbance to the process.
OBJECTIVES
To control the temperature of the process fluid leaving the exchanger TC4 using three-
term controller: PID controller to operate the motorized valve, and study the response
of the controller to a change in set point or a disturbance to the process.
Name Number
ITEM
GRADE
Introduction/ Objectives / 15
Experiment setup and Description
PRESSURE TRAINER
Technology Integration
Pressure Experiment
Manual
INTRODUCTION
Process control technology is the tool that enables manufacturers to keep their operations running
within specified limits and to set more precise limits to maximize profitability, ensure quality and
safety.
The Components of a Control Loop
A controller seeks to maintain the measured process variable (PV) at set point (SP) in spite of
unmeasured disturbances (D). The major components of a control system (Figure 1) include a
sensor, a controller and a final control element. To design and implement a controller, we
must: identify a process variable we seek to regulate, be able to measure it (or something directly
related to it) with a sensor, and be able to transmit that measurement as an electrical signal back to
our controller, and have a final control element (FCE) that can receive the controller output (Pr)
signal, react in some fashion to impact the process (e.g., a valve moves), and as a result cause the
process variable to respond in a consistent and predictable fashion.
PRACTICAL APPLICATIONS
Chemical Process include refining, combining, handling, and otherwise manipulating fluids to
profitably produce end products can be a precise, demanding, and potentially hazardous process.
Small changes in a process can have a large impact on the end result. Variations in proportions,
temperature, flow, turbulence, and many other factors must be carefully and consistently controlled
to produce the desired end product with a minimum of raw materials and energy.
Pressure Experiment Hardware & Software
Hardware:
Description:
The Compact FieldPoint (cFP) setup consists of the following components:
cFP-2020
- Embedded controller runs LabVIEW Real-Time for control, data logging, and signal
processing
- Stand-alone embedded real-time controller or Ethernet interface for PC-based distributed
I/O
- 64 MB of nonvolatile CompactFlash storage, 32 MB DRAM memory
- 1 RS485 and 3 RS232 serial ports for connection to peripherals
- Up to 512 MB of removable CompactFlash storage
- Embedded Web and file servers with remote-panel user interface
cFP-AIO-600:
- 12 bit Analog I/O Module
- 4 Channel, 12 bit AI, V and mA
- 4 Channel, 12 bit AO, mA
Description:
1. To run the experiment, turn on your PC and run the “Pressure Experiment.vi”
located on the desktop.
2.13 Chart:
The behavior of the system is plotted on this chart. You can monitor the Setpoint plot,
Process Variable plot, and output plots.
Save Button:
To save the experiment results, click on the Save Button; a
save dialog box will appear.
Print Button:
To print the experiment results, click on the Print Button;
another window will appear to prompt you for a scale to print;
i.e. if you want to select a specific period of the experiment to
print.
RunningtheExperiment: PRESSURE CONTROL APPARATUS
1. Connect the Pressure Sensor, Pressure Sensor 24VAC Power Supply, and Flow
Control Valve Pressure cables to their locations on the console. Each cable has a
label that indicates its name and shall be plugged to its relevant location.
2. Turn on your PC and run the “Pressure Experiment.vi” located on the desktop.
3. When you run an experiment, always make sure that the message “Compact
FieldPoint is connected” always appears on the bottom of the screen. If not,
please consult the Lab Administrator for support.
EXPERIMENT (2-1): MANUAL CONTROL OF SYSTEM PRESSURE
OBJECTIVES
EQUIPMENT SET- UP
Figure
(2-4): Experiment’s Screen
SUMMARY OF THEORY:
The pressure in the system may be controlled manually via the manual Control buttons selection:
1. Record the pressure changes and the control valve position changes with changing the power
output from the controller
2. Determine control valve type and action?
3. Determine controller action?
4. Record bias value
5. Note the difficulties which may be experienced in controlling the pressure at a chosen value.
EXPERIMENT 2-2: Process Reaction Curve (Open Loop Response)
OBJECTIVES
Determine the Process Reaction Curve (Open Loop Response) of the process: (method for
optimizing P-only, PI and PID settings)
SUMMARY OF THEORY:
The reaction curve ( due to Cohen and Coon ) in which the system , in manual control, is given an
input change and the effect on the process variable is recorded. From the change in the process
variable with time, the values BU,T and TD are found and inserted into the Cohen and Coon
equations to find the controller settings in the equations to give the controller settings:
POCEDURE RESULTS
OBJECTIVES
2. Use one of the widely used field methods for optimizing the P-only, PI and PID settings on
the controller to suit the characteristics of the process: Ultimate Period/ Ziegler-Nicholas
(closed loop).
SUMMARY OF THEORY:
Proportional control means that the corrective action for a deviation from the set point is proportional
to that deviation over a certain deviation range. The range of the proportional control is expressed as
a percentage of the controller range, the 0% setting being simple on / off control action. This may be
expressed mathematically as Pr = - Kc (e),
Where Pr: is the controller action .
Kc: controller (gain )
e: is the error ( deviation from set point )
Graphically:
CLOSED LOOP : ( due to Ziegler and Nichols ) the natural frequency of oscillation of the center
system is found and the appropriate values put into the equations on the PID setting data sheet .
OBJECTIVES
To show how integral Action can correct an "offset" due to the stable control point being removed
from the centre of the proportional band.
SUMMARY OF THEORY:
If the demands on a control system are such that stable control is near one end of the proportional
band then the set point will not correspond to the value of the controlled process variable . this will
occur in the present equipment when the demand for air is either very high or very low .Integral
action senses this offset and reduces it to zero by moving the proportional band at a rate depending
on the integral action. THIS MAY BE REPRESENTED MATHEMATICALLY as;
C = pr = controller action
K =constant (controller GAIN)
E = Deviation
t I = Integral action time
OBJECTIVES
SUMMARY OF THEORY:
Derivatives action reduces the rate of deviation from the set point and damps oscillation about the set
point:
Further experiment:
Do any experiment with any values if you need to prove or try other process disturbances: (PD,
closed and open one of the output valves…) and observe the controller response behavior
Experiment (2-5): On/Off Controller
OBJECTIVES
1- Define one of the controller type: (On/Off), and define the main variables controlled it.
2- Determine the effect of Hysteresis (deadband) on-off controller output.
SUMMARY OF THEORY:
On-Off control is conceptually the same thing as proportional control with a high controller
gain. It is characterized by very small, but infinite, errors causing the controller output to switch
between maximum and minimum output according to the sign of the error and to determine the
value of error a variable called hysteresis must be determined.
Name Number
ITEM
GRADE
Introduction/ Objectives / 15
Experiment setup and Description
LEVEL TRAINER
Technology Integration
Level Experiment
Manual
INTRODUCTION
Process control technology is the tool that enables manufacturers to keep their operations running
within specified limits and to set more precise limits to maximize profitability, ensure quality and
safety.
The Components of a Control Loop
A controller seeks to maintain the measured process variable (PV) at set point (SP) in spite of
unmeasured disturbances (D). The major components of a control system (Figure 1) include a
sensor, a controller and a final control element. To design and implement a controller, we
must: identify a process variable we seek to regulate, be able to measure it (or something directly
related to it) with a sensor, and be able to transmit that measurement as an electrical signal back to
our controller, and have a final control element (FCE) that can receive the controller output (Pr)
signal, react in some fashion to impact the process (e.g., a valve moves), and as a result cause the
process variable to respond in a consistent and predictable fashion.
PRACTICAL APPLICATIONS
Chemical Process include refining, combining, handling, and otherwise manipulating fluids to
profitably produce end products can be a precise, demanding, and potentially hazardous process.
Small changes in a process can have a large impact on the end result. Variations in proportions, level,
temperature, flow, turbulence, and many other factors must be carefully and consistently controlled
to produce the desired end product with a minimum of raw materials and energy.
Process Description:
The process consists of two tanks the process tank and the sump tank. Water is
pumped from the sump tank to the process tank and the flow is measured using a flow
meter (F-1). As water is pumped to the process tank, level is measured using the flow
sensor. The sensor used in the experiment is a floater sensor.
The sensing mechanism consists of a custom, weighted float and counterweight which
are attached by a cord. The cord runs over a notched pulley to give a positive drive. As
the water level raises or lowers, the float goes up or down, thus turning the pulley. The
pulley shaft is coupled to a potentiometer. The potentiometer converts volt-age to
digital form for connection to a data logger.
Water flows out of the process tank through a manual valve (V-4) which is opened and
closed manually or through one of two solenoid valves (SOL2 & SOL3). A solenoid is
an electromechanical device which allows for an electrical device to control the flow
of a gas or liquid.
The valve changes state, either opening or closing to allow a liquid to either flow
through or be blocked by the solenoid valve.
Response to signals received from controllers that compare a "set point" to a "process
variable" whose value is provided by sensors that monitor changes in level inside the
process tank. The opening or closing of control valves is done by means of electrical
signal. Positioners are used to control the opening or closing of the actuator based on
Electric Signals to manipulate the input flow rate to the process tank
APPARATUS
1. To run the experiment, turn on your PC and run the “shortcut Level
Experiment.vi” located on the desktop. Then run "level experiment.vi"
Figure (3-2): Graphical Interface for Level Experiment using LAB VIEW
Details of the items in the Experiment Main Screen Figure (3-2) above are as follows:
2.21 Chart:
The behavior of the system is plotted on this chart. You can monitor the Setpoint plot,
Process Variable plot, and output plots.
Save Button:
To save the experiment results, click on the Save Button; a
save dialog box will appear.
Print Button:
To print the experiment results, click on the Print Button;
another window will appear to prompt you for a scale to print;
i.e. if you want to select a specific period of the experiment to
print.
Experiment (3-1): Sensor Calibration
OBJECTIVES
INTRODUCTION
Calibration: the aim of this experiment is to calibrate the level sensor to give the following
characteristics:
Minimum Level: 30mm=0%.
Maximum Level: 130mm=100%.
Linearity and hysteresis: having calibrated the sensor it is interesting to determine the linearity of
the output over the conditioner operating range from minimum to maximum level.
Procedure:
a- Calibration:
1- Press calibration icon on graphical interface for level experiment to open calibration window
1- Adjust the level of water in the process tank in steps of 10 mm from the maximum
level (130 mm) to the minimum level (30 mm).
2- Record the level reading in tank as(mm)and level reading as (%) from icon (2.6).
3- Repeat the procedure by increasing the level from minimum value to maximum
one, to do that:
a- Press on start button, choose manual control.
b- Press on pump icon to get green color.
c- From the control valve opening (2.3) set Power output to 50%.
d- Open drain valve(V-4)in a suitable opening(in order to get uniform increment in
water level".
3- Record the level reading in tank as (mm) and level reading as (%) from icon (2.6)
as follows:
Increasing Decreasing
PV(mm) PV (%) PV(mm) PV (%)
30 130
40 120
50 110
60 100
70 90
80 80
90 70
100 60
110 50
120 40
130 30
Results:
1- Plot the level mm versus the output to determine the linearity and hysteresis,
and find the relation between both.
2- Calculate the transmitter gain (KT)?
Experiment (3-2): Control Valves characteristics
OBJECTIVES
1- Demonstrate manual operation of the motorized control valve and determine its
characteristics.
2- Determine solenoid valves (SOL2 & SOL3) actions and coefficients (Cv).
SUMMARY OF THEORY:
The control valve is essentially a analog device. The output of the control valve is
controlled by an analog positioned. A 4-20 mA signal is usually used in the
positioning the control valve.
The main advantage sof the control valve include:
a. Faster response
b. Continuous, accurate positioning and control
The relationship between control valve capacity and valve stem travel is known as the
Flow Characteristic of the Control Valve
Trim design of the valve affects how the control valve capacity changes as the valve
moves through its complete travel. Because of the variation in trim design, many
valves are not linear in nature. Valve trims are instead designed, or characterized, in
order to meet the large variety of control application needs. Many control loops have
inherent non linearity's, which may be possible to compensate selecting the control
valve trim.
The most common characteristics are shown in Figure (3-3). The percent of flow
through the valve is plotted against valve stem position. The curves shown are typical
of those available from valve manufacturers. These curves are based on constant
pressure drop across the valve and are called inherent flow characteristics.
Figure (3-3) Control Valve Flow Characteristics
Where:
Cv = Flow coefficient or flow capacity rating of valve.
F = Rate of flow (US gallons per minute).
SG = Specific gravity of fluid (Water = 1).
ΔP = Pressure drop across valve (psi).
Procedure:
Increasing Decreasing
Pr % Flow rate Pr % Flow rate
0 100
10 90
20 80
30 70
40 60
50 50
60 40
70 30
80 20
90 10
100 0
b- Solenoid valves:
Results:
Use one of the widely used field methods for optimizing the P-only, PI and PID
settings on the controller to suit the characteristics of the process: Ultimate Period/
Ziegler-Nicholas (closed loop).
SUMMARY OF THEORY:
The Ziegler-Nichols closed-loop tuning method allows you to use the ultimate gain
value, Ku, and the ultimate period of oscillation, Pu, to calculate Kc. It is a simple
method of tuning PID controllers and can be refined to give better approximations of
the controller.
Determining the ultimate gain value, Ku, is accomplished by finding the value of the
proportional-only gain that causes the control loop to oscillate indefinitely at steady
state.. Another important value associated with this proportional-only control tuning
method is the ultimate period (Pu). The ultimate period is the time required to
complete one full oscillation while the system is at steady state. These two
parameters, Ku and Pu, are used to find the loop-tuning constants of the controller (P,
PI, or PID).
4. Change the controller to automatic controller with P-only setting (ie Kc= 10).
5. Apply a step change to the process by opening or closing SOL2 or SOL3 as
appropriate
6. If the process variable (PV) remains steady: calculate offset:
7. Increase Kc in suitable range and re-apply a step change until reach the
ultimate region for the process variable. (PV oscillates around SP with constant
amplitude).
Results:
OBJECTIVES
1- Demonstrate the characteristics of: P-only, PI and PID process controller and the
response to a change in set point (SP) or to disturbance to the Process
SUMMARY OF THEORY:
A- P-only controller:
B- PI controller:
1- Set the controller to automatic controller.
2- Set the value of Kc & Ti that calculated in Experiment 3
3- Repeat the same procedure as P-only controller step (3-8) for different Ti and or
Kc values
4- Observe the response of the process and discuss what happen and why.
C- PID controller:
1- Set the controller to automatic controller.
2- Set the value of Kc, Ti and Td that calculated in Experiment 3
3- Repeat the same procedure as P-only controller step (3-8) for different Td and or
Kc values
4- Observe the response of the process and discuss what happen and why.
D- Further experiment:
Do any experiment with any values if you need to prove or try anything (PD, open
both solenoid valves for any controller type, do multi disturbances on system).
Experiment (3-5): On/Off Controller
OBJECTIVES
1- Define one of the controller type: (On/Off), and define the main variables
controlled it.
2- Determine the effect of Hysteresis (deadband) on-off controller output.
SUMMARY OF THEORY:
On-Off control is conceptually the same thing as proportional control with a high
controller gain. It is characterized by very small, but infinite, errors causing the
controller output to switch between maximum and minimum output according to
the sign of the error. and to determine the value of error a variable called hysteresis
must be determined.
Name Number
ITEM
GRADE
Introduction/ Objectives / 15
Experiment setup and Description