Professional Documents
Culture Documents
com
Original
Parameter monitoring and control during petrol transportation using PLC
based PID controller
E.B. Priyanka , C. Maheswari, B. Meenakshipriya
Department of Mechatronics Engineering, Kongu Engineering College, Perundurai, Tamil Nadu, India
Received 15 July 2015; accepted 9 March 2016
Available online 18 May 2016
Abstract
One of the major sources of petroleum products is obtained from the sea (offshore and onshore). Here the major problem faced by the worker is,
maintaining the constant pressure and flow till the extreme ends. In this paper, the parameters such as pressure and flow are maintained constantly
by implementing control valves depending on the different pressure and flow rate of the transmitting pipe. PLC (Programmable Logical Controller)
is used to automatically regulate the flow and pressure during petroleum product transportation by controlling the percentage of opening of the
control valves and pumps respectively. The required set point for pressure and flow rate are obtained by implementing a suitable controller that
regulates in a long transmitting concrete pipes. For this, a PLC based PID controller is developed and its open loop responses are identified. The
simulation studies are carried out in the MATLAB/SIMULINK platform to ensure the performance of the controller. The controller tuning is
done by ZN (Ziegler and Nicholas) PID and Simple-IMC (Internal Model Control) PID, Shams tuning IMC-PID controller. The simulation result
provides better control action when Shams IMC-PID controller is used. Shams IMC-PID controller is experimentally verified on the lab scale-setup
and the results prove that it provides most consistent performance as compared to ZN and Simple-IMC PID controllers.
All Rights Reserved 2016 Universidad Nacional Autnoma de Mxico, Centro de Ciencias Aplicadas y Desarrollo Tecnolgico. This is an
open access item distributed under the Creative Commons CC License BY-NC-ND 4.0.
1. Introduction they accounted for the bulk of traffic handled by French ports,
representing more than 40% of total tonnage (Adam, 2006).
Petroleum (literally, rock oil) is a substance that has There are quite lot of procedures involved in the transporta-
formed beneath the surface of the earth over years. The remains tion of the oil or the petroleum products from the middle sea
of ancient plants and animals have been buried and com- region to the shore region achieved effectively through the
pressed beneath thousands of feet of sand, mud, and rock. The pipeline transportation. The pipelines are selected based on sev-
organic materials, under certain geological conditions, have been eral criteria such as, long life cycle working, continual exposure
transformed by overburden pressure and subsurface heat into in salt, sea water and sun rays, economical strategies and the
hydrocarbon compounds, such as crude oil and natural gas. implantation of the accessories across the overall transporting
Huge quantities of crude oil and refined petroleum prod- system. For transportation, the pipeline used is made of the
ucts are transported by ship between production sites, refineries concrete materials because of the high pressure and the flow
and points of consumption. For many years, oil shipments have tolerance parameter (Hou, Liu, & Li, 2003; Zhang, Wang, &
accounted for about 30% of global maritime trade. In 2011, Liang, 2006).
According to the United Nations Conference on Trade and
Development (UNCTAD), shipments of crude oil totaled 1.78
Corresponding author. billion tons in 2012, while shipments of refined products and
E-mail addresses: priyankabhaskaran1993@gmail.com (E.B. Priyanka), liquefied gas amounted to 1.05 billion tons (of which approxi-
maheswarikec@gmail.com (C. Maheswari). mately 230 million tons of LNG). In the long range transmission
Peer Review under the responsibility of Universidad Nacional Autnoma de there are several problems identified by the transporters on the
Mxico. basis of constant pressure and flow rate maintenances (Hu, Starr,
http://dx.doi.org/10.1016/j.jart.2016.03.004
1665-6423/All Rights Reserved 2016 Universidad Nacional Autnoma de Mxico, Centro de Ciencias Aplicadas y Desarrollo Tecnolgico. This is an open access
item distributed under the Creative Commons CC License BY-NC-ND 4.0.
126 E.B. Priyanka et al. / Journal of Applied Research and Technology 14 (2016) 125131
Table 1
System specifications.
cation schemes that ensure the effective routing of data among 3000
the sensors but there is no consideration of control valve 2000
among the sensor based remote communication networks which
involves manual operation to achieve desired performance of 1000
1996).
Fig. 3. Control valve characteristics.
2. Experimental setup
pressure sensor till the desired flow rate is achieved. Then the
signal is transmitted to the controller for the optimized control.
The replica of the industrial construction is built as the lab-
Finally the liquid reaches the destination with the desired set
scale experimental set up as shown in Figure 1. The setup
range of pressure and flow rate.
includes the pump, to pump the oil from the underground level
(below the sea level), the transmitting pipes for the efficient
and long range transmission (up to 9 km long), analog pressure 2.1. System specication
sensor, analog flow sensor and pressure gauges (Shijiu, Lining,
& Jian, 1998). The control valves are implemented along the The established lab scale experimental setup has been the
transport pipeline system in addition with analog flow sensor. representation of simplified industrial setup and the system spec-
For controlling purpose, the setup has been interfaced with the ification is given in Table 1.
Micrologix 1400 PLC, which is programmed with PID con-
troller. 2.2. Calibration of control valve
Figure 2 shows the process flow diagram of oil transportation
system. From the Figure 2, the set flow rate is initialized and the Since the flow control is achieved by control valve, initial cal-
pump is started with the initial low pressure, since the liquid is ibration test is required to ensure its performance for continuous
inflammable it is pumped with the low pressure and then gradu- running of experiment. As shown in Figure 3, the upscale curve
ally increased at the regular intervals. At each point the pressure is obtained when the percentage of opening is increased from
is increased by 10% and it is continuously measured with the 0% to 50%. Similarly the down scale curve is obtained when
Crude
pumping
Send to Flow
storage tank through pipes
Leakage
Flow rate Pressure &
PLC based PID flow decrease
maintenance
controller Friction
350 360
355
330
350
290 340
335
270
330
250 325
230 320
315
210 310
190 0 50 100 150 200 250 300 350
170 Time(sec)
0 50 100 150 200 250 300 350
Time [sec] Fig. 7. Flow rate for 80% of speed of pump.
230
0 50 100 150 200 250 300 350 the initial flow rate of 349 lph and continuous readings were
Time(sec) recorded until the flow rate reaches steady state. The result
Fig. 5. Flow rate for 40% of speed of pump.
reveals that, for 20% of valve opening the final flow rate achieved
is 178 lph. Similarly for 40%, 60%, 80% of pump speed, the
final flow rate obtained are 233, 273, 311 lph respectively. The
360
350
recorded data are plotted against time to get the reaction curve
340 by which the first order model parameters (process gain Kp and
Flow rate (lph)
Table 3
Controller parameters.
Controllers Parameters
2014a, 2014b) are considered for comparative purpose and the where Kc is controller gain and i is integral time. The value of
controller parameters are given as, (non-minimum phase element) is selected so that it cancels
out the pole at s = 1/ and the value of is obtained as
ap
Kc = ; aD [1.2, 2]; i = 2 c 2 /
Kp = 1 1 e ; d = 2 ; c = 2 (5)
and d = 0.5[ZN-PID] (2)
The important feature of this controller is that it deals with
nonlinear and stable process in a unified way. From the tuning
p +0.5 rules, c controls the tradeoff between robustness and perfor-
Kc = ; i = p +0.5; mance of the control system. The settings of the above said
Kp (+0.5)
controllers are computed based on the FOPTD model given and
p the controller parameters are provided in Table 3.
d = [Simple-IMC PID] (3)
2p +
3.4. Interfacing the real time system with SCADA
where Kc is controller gain, i is integral time, d is derivative
time and is the closed loop time constant. A SCADA model is developed to monitor the entire process
and to view/vary the tuning values of the ZN, IMC and sham
tuning PID controllers remotely. The developed SCADA screen
3.3.2. Shams IMC-PID controller using Factory talk view studio software is shown in Figure 8.
The Shams IMC based tuning is one of the closed loop tuning Here the flow range is set for which the variable frequency drive
method which overcomes the shortcoming of the well-known is gets actuated, correspondingly the pressure for the same flow
ZieglerNicholas continuous cycling method and gives con- outcome is monitored and the required control valve opening is
sistently better performance and robustness for the first order made by the controller automatically based on the control sig-
process. By using this tuning, it is possible to get the enhanced nals. All the parameters of the experimental setup are monitored
disturbance rejection performance by adjusting the single tuning and controlled through SCADA.
parameter of the controller. The Shams IMC-PID controller The control panel of the SCADA consists of numerical dis-
parameters (Shamsuzzoha, 2015) are given by, play of the pressure readings read by the pressure sensor 1,
pressure sensor 2 and pressure sensor 3. It also displays the
Kc = ; i = (4) flow rate read by the flow sensor and the speed at which the
Kp (2i + ) pump operates and the percentage of the control valve opening.
Fig. 8. SCADA screen for constant petroleum flow and pressure through pipes.
E.B. Priyanka et al. / Journal of Applied Research and Technology 14 (2016) 125131 129
499.9
Display
0.852
+ PID(s)
6153s+1
Transport Untitled.mat
Step1 Sham PID controller Transfer F on 1
delay 3 Scope
To file
.852
+ PID(s)
6153s+1
ZN-PID controller Transfer F on Transport Simout
delay 4
To workspace
0.852
+ PID(s)
6153s+1
PID controller 3 pH system 3 Transport
delay 5
The alarm light blinks when the pressure of the petroleum or the uncertainty (Ms ) value for comparison. It is better to have IAE,
flow rate of the petroleum crosses the safer limit. The emergency TV and Ms (Integral Absolute Error, Total Variation of the input,
push button in control panel is used to shut the entire system in uncertainty margin value) to be small, but for a well-tuned
the case of any emergency (Yang, 2002, 2003). controller there is a trade-off, which means that a reduction
in IAE implies an increase in TV and Ms (and vice versa).
4. Result and discussion (Shamsuzzoha & Skogestad, 2010).
From the performance analysis shown in Figure 10 and
The simulation and experimental work has been carried out Table 4, the simulation results reveals that the shams IMCPID
in flow and pressure control setup to analyze the performance of controller is forced to follow the set point at short duration of
the ZN-PID, IMC-PID and Shams tuning IMC-PID controllers. time and to maintain the steady state without overshoot and
To implement the closed loop control function, a PID block is with minimum error indices and good quality indices as com-
developed in the ladder logic program in which control signal is pared with ZN and Simple IMC-PID controller (Li, Liu, Jin, &
given to the control valve to form closed loop system. Hirasawa, 2015). It also gives faster disturbance rejection with
the time duration of 8 sec and smaller overshoot of 22.57% as
4.1. Simulation results compared to ZN and Simple IMC-PID controllers which rejects
the same disturbance with the time period of 11 and 18 s having
The controller structure of PID block in petroleum trans- overshoot of 39.24% and 26.12% respectively while maintaining
portation is developed using SIMULINK in MATLAB platform. the setpoint.
The performance of ZN, IMC and Shams tuning IMC-PID con-
troller are analyzed at a set point at 150 lph. The closed loop 4.1.2. Disturbance rejection test
simulated transient responses are recorded and displayed in The disturbance rejection performance is investigated at the
Figures 9 and 10. operating point of flow rate at 150 lph. A step disturbance is
introduced into the process by way of increasing the flow rate
4.1.1. Performance analysis to 180 lph after the time period of 50 s as shown in Figure 11
In the simulation study, the performances of various con- and it is ensured that, only Shams IMC-PID controller damp the
trollers are compared by setting the peak of maximum disturbance in a shorter time period of 21 s with less undershoot
of 14.28% as compared to the ZN-PID and Simple-IMC PID
800
controllers. The error and quality indices of output signal are
700
used to evaluate the disturbance rejection performance of the
600
controllers and are given in Table 5.
Flow rate (lph)
500
400
300 Table 4
200 Performance measures from MATLAB/SIMULINK model.
100
Performance measures ZN-PID IMC-PID Shams-PID tuning
0
5 10 15 20 25 30 35 40 45 ISE 1.51E+08 2.1451E+05 45,009
Time (sec) IAE 827,886.4 832,609.6 122,240.9
ITAE 18,698,590 18,656,496 725,786.8
Simple IMC-PID Setpoint Tr (s) 0.17 12.13 2.51
Shams IMC-PID ZN-PID Ts (s) 35.84 24.64 11.61
%Mp 39.24 26.12 22.57
Fig. 10. Performance analysis using MATLAB/Simulink model.
130 E.B. Priyanka et al. / Journal of Applied Research and Technology 14 (2016) 125131
800
700
600
400
300
200
100
0
50 100 150 200 250 300 350 400 450 500
Time (sec)
Fig. 11. Response for ZN, IMC-Shams-PID of first order process with setpoint change at t = 0; load disturbance of magnitude 1 at t = 100.
Fig. 12. PID control block in which tuning values entered to create closed loop system by giving feedback to control valve.
Table 5 600
Performance measures after disturbance at the operating point of 150 lph.
500
Performance measures ZN-PID IMC-PID Shams-PID tuning
400
ISE 3.698E+07 4.124E+06 75,817
IAE 913,225.2 936,591.1 248,521.8 300
ITAE 19,726,474 19,613,213 814,923.6
200
Tr (s) 2.13 19.63 4.05
Ts (s) 41.32 29.91 13.74 100
%Mp 40.14 28.43 23.17
0
0 5 10 15 20 25
Time (sec)
Conict of interest
References