Professional Documents
Culture Documents
Subrata Chatterjee
Department of Electrical Engineering
National Institute of Technical Teachers’ Training and
Research, Kolkata
Kolkata, India
e-mail: subrata0507@gmail.com
Abstract—The motor operated control valve as a final control DC output voltage signal from PLC based PID controller.
element in any process control loop of a process plant may be The valve position has been calibrated by using a DC voltage
controlled according to the set point needed by the process signal from PLC based PID controller and finally, it is
requirement. There are various types of control techniques of a applied to control the flow of liquid in a flow control system.
motorized valve are presented by the different investigators. In The calibration results and flow control characteristics are
the present paper, a Programmable Logic Controller (PLC) reported in the paper. From these experimental studies, the
based flow control scheme using a motor [PMDC] operated repeatability and linearity of the proposed control system are
valve has been described. The final calibration and found to be within tolerable limits.
experimental results reported in the paper reveal the linearity
and reliability of the control system. II. METHOD OF APPROACH
Keywords-flow control; position control; motorized valve; The motor operated control valve consists of 12 volts, 10-
PLC; control loop RPM PMDC motor, which drives a Teflon seated valve in a
20 mm line at a reduced speed of 3 RPM by a gearbox [Rack
I. INTRODUCTION and Pinion]. This valve is positioned by an analog voltage
Though the final control element in any process plant signal in the range of 0 to +/-5 V from PLC. The motor is
may be pneumatic, hydraulic or electric motor types [1, 2] rotated in both directions by using the analog signal obtained
but pneumatic or hydraulic controllers are now being from PLC based controller. The analog signal at the O/P of
replaced by microprocessor based or PC/PLC based the PLC is low [0 to +/- 5V], so separate driver circuit
controllers in order to avoid the costs of the converters and schematic has been developed for direction control of the 12
down time of the plant. Therefore, the electric motor volt PM DC motor.
actuated control valves are now being used since they are One analog input to the PLC is the set point signal i.e. the
driven directly by the analog DC voltage or current signal or desired valve position according to the process variable to be
digital signal from the electronic controller [1, 2, 11]. There controlled. Actual valve position signal, which is obtained
are different control techniques of a motorized valve such as from the servo potentiometer attached to the motor shaft, is
firing angle control of a thyristor drive unit, armature control fed to the feedback analog input to the PLC. Analog output
of DC motor [1, 2, 11], stepping motor [3, 5], linear motor from the PLC which is the PID controlled output, is used to
control [6], PC based control [8], etc. move to the desired position of the valve motor and
Normally PI and PID control schemes are accepted in simultaneously the flow through the valve is measured.
various types of control applications [9, 10, 12]. PC Based In the second phase of the experimentation, the valve
position control schemes have wide applications in process position signal from servo potentiometer is disconnected and
plant [8]. In recent years, it is more common to integrate the existing flow transmitter is connected to the PLC
control actions into PLC systems [11]. The analog I/O of a feedback input to control the flow and study the static and
PLC can be used to achieve PID control [12]. dynamic characteristics of the flow control system.
In the present paper, the analog I/O of a PLC has been The designed circuit to drive and direction control of the
used to achieve the position control of a permanent magnet PMDC motor consists of an opto-isolated phototransistor and
DC motor actuated control valve to control the liquid flow in a relay assembly. The PLC based PID controller output
a flow control system. The valve is operated by the analog provides the switching action signal to the opto-isolated
phototransistor and the motor is rotated in both directions by
263
Thus the output signal of the PLC controller will change maximum and the minimum position of the valve to avoid the
the polarity depending on the magnitude of the set point and damage of the valve motor system. Thus the valve motor will
feedback input signals. This signal will act as the control rotate through the activated relays in both directions
action signal to the opto-isolated phototransistor assembly according to the valve position requirement as per the desired
(T1 and T2). When T1 will be ‘on’, relay RL1 will be set point within the process.
activated which will send the current through the motor in
one direction and when T2 will be ‘on’, relay RL3 will be IV. CONTROLLER OPERATION
activated which will send the current through the motor in the PID or Three-Mode Controller [9, 10] is one of the most
opposite direction. Relays RL2 and RL4 connected in series powerful but complex controllers, where the operation
with RL1 and RL3 are normally closed and can be activated combines the proportional, integral and derivative modes.
through two micro switches, which will operate at the
Programmable Logic Controller or PLC is an industrial through IN terminal (INPUT 2), which is an integer in
computer that accepts inputs from sensors, evaluates these in between 0 to 32786 depending on the magnitude of the
accordance with a stored program and generates outputs to signal. This integer value is converted in to a real number for
control machines and processes. As PLC can accept and appropriate scaling which is done by “INT TO REAL” and
provide discrete and analog values, the analog input and “DIV REAL” function blocks. After appropriate scaling the
output may be current or voltage signal and PLC converts the real value output is again converted into integer value by
signal to an integer between 0 and 32768 [216 for 16 bit data “REAL TO INT” function block and stored in Register
bus] and vice versa. whose address is %R00008. Similarly the measured value or
The ladder diagram developed for PID control using PLC process value i.e. another analog input goes to PLC after
Software is shown in Fig. 3. In the diagram, each rung execution of 3rd rung and is stored in register
consists of different functional blocks and output from each address %R00014. PID controlled operation is performed in
block is stored in registers addressed as % R0000N where N rung 2 by PID ISA function block, where set value (SP) and
is register number. After execution of 1st rung, one analog process value (PV) are coming from %R00008
input (Set Point value) is entered in to the PLC processor and %R00014 respectively. In PID ISA function block
264
“MAN”, “UP” and “DN” terminals are always off V. EXPERIMENTAL RESULTS
(ALW_OFF) for automatic operation. Controlled variable Before experimentation, as the limit switches SW1 and
(CV) is stored in %R00015 that is an integer and can be SW2 are placed on the valve body, so that the motor stops at
again scaled in rung 4. The content of the register %R00015 full open and full close positions. Therefore, the valve shaft
will go to the analog output terminal of PLC to be fed to the has to move in the forward or reverse direction by the
appropriate output device. manual push button switches F(M) and R(M). After the
Tuning of controller [2, 4, 7, 8, 12] is the process of perfect alignment of the valve, the linear position of the
setting gains to achieve desired performance. The tuning sets valve shaft was indicated on a circular scale and the valve
the loop gains by optimizing the response to the command. was calibrated by using a variable DC voltage source at the
Higher loop gains will improve command response and they input instead of an actual signal from a controller. The
also improve the disturbance response. minimum and the maximum rotations of the valve shaft are
adjusted by zero and span adjustment potentiometers. Now
the controlled output signal from PLC was connected to the
valve control unit and the set point in PLC was increased in
steps and at each step the actual valve opening position and
flow of liquid through control valve was observed in both
increasing and decreasing modes. The valve characteristics
thus obtained by plotting the valve position against set point
voltage and percentage error from the linearity are shown in
Fig. 5 and Fig. 6 respectively. The error is found within +/-
0.4%.
100
Observed Actual
Observed Value [Position in %]
80
60
40
20 y = 1.0019x - 0.1905
0
0 20 40 60 80 100
-20
Set Value [Position in %]
0.3
0.2
% Error from Linearity
265
and the values of P, I and D parameters are for optimum are found to have very good repeatability. The percentage
control have been determined. With these values of P, I and error from linearity as shown in Fig. 6, is also within
D parameters, the flow control system has been tested by tolerable limits. The opto isolated phototransistor switches
changing the set point in steps and at each step the controlled used to run the valve motor is less costly than the
value of liquid flow is measured. The static characteristic conventional thyristor drive units.
graph of the control loop is drawn by plotting the measured The controller is the PLC itself. A few key characteristics
flow of liquid against set point as shown in Fig. 7. The make the PLC advantageous over other controllers. Firstly,
dynamic characteristic graph has also been observed by PLC is designed to communicate directly with the process to
producing the step change of the set point at a steady state be controlled and PLC recognizes these inputs and outputs as
condition of the control loop and recording the measured part of its system at a fixed address. Secondly,
liquid flow at different instant with the help of the data reprogramming is much easier with PLC based controller.
logger in the LABTECH NOTE BOOK PRO software. The Thirdly such types of controllers are designed to operate in
dynamic characteristic is shown in Fig. 8. demanding industrial environment such as high noise, high
vibration, high temperature and high humidity. These three
factors are largely responsible for the wide acceptance of
100 PLC as controller. They require no special programmer; no
air conditioned rooms and no special input output systems to
80 be designed.
60
Flow in %
266
[8] S.C. Bera and J. K. Ray, “PC based position control system of a [11] Ashraf Salah , EI Din Zein EI Din, “PLC Based Speed Control of DC
Motorized valve in a Process Plant,” Proceedings of International Motor “, Power electronics and Motion control Conference , 2006,
Conference C.I.I.C 2001. IPEC ’06. CES/IEEE 5th International, vol. 2,. pp. 1-6. 1-16 Aug.
[9] R. A. Wright, C. Kravaris and N. Kazantzis, “Model Based Synthesis 2006.
of nonlinear PI and PID Controllers.” AIChE journal, vol. 47, no. 8, [12] S. Chattopadhyay, S. Pal and S. C. Bera. “PLC Based Continuous
2001. Voltage Control System of a DC Generator”, Proceedings of the
[10] M. Li, F. Wang and F. Gao, “PID - Based Sliding Mode Controller Conference on ‘Emerging Trends in Electrical Technology, ETET-
for Nonlinear Processes.” Ind. Eng. Chem. Res. - 2001, vol. 40, no. 2006.
16, pp. 2660 - 2667.
267