covid
Buscar en
Journal of Applied Research and Technology. JART
Toda la web
Inicio Journal of Applied Research and Technology. JART Parameter monitoring and control during petrol transportation using PLC based PI...
Información de la revista
Vol. 14. Núm. 2.
Páginas 125-131 (abril 2016)
Compartir
Compartir
Descargar PDF
Más opciones de artículo
Visitas
5335
Vol. 14. Núm. 2.
Páginas 125-131 (abril 2016)
Original
Open Access
Parameter monitoring and control during petrol transportation using PLC based PID controller
Visitas
5335
E.B. Priyanka
Autor para correspondencia
priyankabhaskaran1993@gmail.com

Corresponding author.
, C. Maheswari, B. Meenakshipriya
Department of Mechatronics Engineering, Kongu Engineering College, Perundurai, Tamil Nadu, India
Este artículo ha recibido

Under a Creative Commons license
Información del artículo
Resumen
Texto completo
Bibliografía
Descargar PDF
Estadísticas
Figuras (16)
Mostrar másMostrar menos
Tablas (6)
Table 1. System specifications.
Table 2. Identified model parameters at different % of pump speed.
Table 3. Controller parameters.
Table 4. Performance measures from MATLAB/SIMULINK model.
Table 5. Performance measures after disturbance at the operating point of 150lph.
Table 6. Real time performance measures of IMC-PID, auto tuned, ZN-PID controller at 180lph.
Mostrar másMostrar menos
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.

Keywords:
Petroleum pipeline
Automation
PLC
Shams IMC-PID controller
Texto completo
1Introduction

Petroleum (literally, “rock oil”) is a substance that has formed beneath the surface of the earth over years. The remains of ancient plants and animals have been buried and compressed beneath thousands of feet of sand, mud, and rock. The organic materials, under certain geological conditions, have been transformed by overburden pressure and subsurface heat into hydrocarbon compounds, such as crude oil and natural gas.

Huge quantities of crude oil and refined petroleum products are transported by ship between production sites, refineries and points of consumption. For many years, oil shipments have accounted for about 30% of global maritime trade. In 2011, they accounted for the bulk of traffic handled by French ports, representing more than 40% of total tonnage (Adam, 2006).

There are quite lot of procedures involved in the transportation of the oil or the petroleum products from the middle sea region to the shore region achieved effectively through the pipeline transportation. The pipelines are selected based on several criteria such as, long life cycle working, continual exposure in salt, sea water and sun rays, economical strategies and the implantation of the accessories across the overall transporting system. For transportation, the pipeline used is made of the concrete materials because of the high pressure and the flow tolerance parameter (Hou, Liu, & Li, 2003; Zhang, Wang, & Liang, 2006).

According to the United Nations Conference on Trade and Development (UNCTAD), shipments of crude oil totaled 1.78 billion tons in 2012, while shipments of refined products and liquefied gas amounted to 1.05 billion tons (of which approximately 230 million tons of LNG). In the long range transmission there are several problems identified by the transporters on the basis of constant pressure and flow rate maintenances (Hu, Starr, Zhou, & Leung, 2000; Venkatasubramanian, Rengaswamy, Yin, & Kavuri, 2003). Currently, there is a special linear structure deployed with sensors on pipelines to monitor and regulate flow and pressure. They demonstrated a multilayer communication schemes that ensure the effective routing of data among the sensors but there is no consideration of control valve among the sensor based remote communication networks which involves manual operation to achieve desired performance of pipeline transportation (Jawhar, Mohamed, & Agrawal, 2011). To overcome the practical difficulties, this paper subjects the implementation of the automatic control valves for the desired pressure and flow set ranges (Silva, Buiatti, Cruz, & Pereira, 1996).

2Experimental setup

The replica of the industrial construction is built as the lab-scale experimental set up as shown in Figure 1. The setup 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 9km long), analog pressure sensor, analog flow sensor and pressure gauges (Shijiu, Lining, & Jian, 1998). The control valves are implemented along the transport pipeline system in addition with analog flow sensor. For controlling purpose, the setup has been interfaced with the Micrologix 1400 PLC, which is programmed with PID controller.

Fig. 1.

Experimental set up for pressure monitoring and control.

(0.19MB).

Figure 2 shows the process flow diagram of oil transportation system. From the Figure 2, the set flow rate is initialized and the pump is started with the initial low pressure, since the liquid is inflammable it is pumped with the low pressure and then gradually increased at the regular intervals. At each point the pressure is increased by 10% and it is continuously measured with the pressure sensor till the desired flow rate is achieved. Then the signal is transmitted to the controller for the optimized control. Finally the liquid reaches the destination with the desired set range of pressure and flow rate.

Fig. 2.

Process flow diagram.

(0.07MB).
2.1System specification

The established lab scale experimental setup has been the representation of simplified industrial setup and the system specification is given in Table 1.

Table 1.

System specifications.

S. No.  Parameters  Values 
Original set up
Diameter of the Hose  8 inch 
Flow Rate  150m3/h 
Velocity  77.091m/min 
Length of the pipe  9km 
Experimental set up (lab-scale)
Diameter of the pipe  ¾ inch 
2.2Calibration of control valve

Since the flow control is achieved by control valve, initial calibration test is required to ensure its performance for continuous running of experiment. As shown in Figure 3, the upscale curve is obtained when the percentage of opening is increased from 0% to 50%. Similarly the down scale curve is obtained when percentage of opening is reduced from 50% to 0%. This ensures the less hysteresis between upscale and downscale readings and this control valve can be used for flow control analysis.

Fig. 3.

Control valve characteristics.

(0.08MB).
3Model development3.1Open loop response analysis

For modeling the process plant, open loop response is obtained by conducting experimental runs in the lab scale experimental setup. The flow rate of the petroleum is obtained by adjusting the speed of the pump. The speed of the centrifugal pump is controlled using the variable frequency drive. For this, the open loop response is carried out by regulating flow of petroleum by adjusting the speed of the pump.

Figures 4–7 show the corresponding flow rate for 20%, 40%, 60%, 80% speed of the pump. Experimental run starts with the initial flow rate of 349lph and continuous readings were recorded until the flow rate reaches steady state. The result reveals that, for 20% of valve opening the final flow rate achieved is 178lph. Similarly for 40%, 60%, 80% of pump speed, the final flow rate obtained are 233, 273, 311lph respectively. The recorded data are plotted against time to get the reaction curve by which the first order model parameters (process gain Kp and process time constant τp) are determined. The identified model parameters are tabulated in Table 2.

Fig. 4.

Flow rate for 20% of speed of pump.

(0.05MB).
Fig. 5.

Flow rate for 40% of speed of pump.

(0.05MB).
Fig. 6.

Flow rate for 60% of speed of pump.

(0.05MB).
Fig. 7.

Flow rate for 80% of speed of pump.

(0.05MB).
Table 2.

Identified model parameters at different % of pump speed.

Percentage of flow rate  Kp  Tp (s)  θ (s) 
20  0.8520  24.297  5.835 
40  0.5799  39.69  3.31 
60  0.3777  6.153  1.347 
80  0.1871  32.968  2.032 

The bold indication denotes the worst case model of maximum process gain with minimum time constant and time delay.

3.2Model identification

From Table 2, it is clear that the behavior of process is nonlinear and stable. Hence, First Order Plus Time Delay (FOPTD) transfer function (G(s)=[Kp/(τpS+1)]eθs) model is used to represent the flow maintenance of petroleum. The worst case model with the largest process gain and smallest time constant is selected to exemplify the process model. The identified FOPTD model of the flow control process is represented as,

where, Kp=process gain (0.8520), τp=time constant (6.153) and θ=process delay (1.347) obtained from the experimental data.

3.3Controller design3.3.1Conventional controllers

Many previous researchers have used the performance of a conventional controller as the benchmark to analyze the performance of a proposed controller. In this way, the conventional controller such as Ziegler–Nicholas PID controller and Internal Model Control based PID controller (Maâmar & Rachid, 2014a, 2014b) are considered for comparative purpose and the controller parameters are given as,

where Kc is controller gain, τi is integral time, τd is derivative time and λ is the closed loop time constant.

3.3.2Shams IMC-PID controller

The Shams IMC based tuning is one of the closed loop tuning method which overcomes the shortcoming of the well-known Ziegler–Nicholas continuous cycling method and gives consistently better performance and robustness for the first order process. By using this tuning, it is possible to get the enhanced disturbance rejection performance by adjusting the single tuning parameter of the controller. The Shams IMC-PID controller parameters (Shamsuzzoha, 2015) are given by,

where Kc is controller gain and τi is integral time. The value of α (non-minimum phase element) is selected so that it cancels out the pole at s=−1/τ and the value of α is obtained as

The important feature of this controller is that it deals with nonlinear and stable process in a unified way. From the tuning rules, τc controls the tradeoff between robustness and performance of the control system. The settings of the above said controllers are computed based on the FOPTD model given and the controller parameters are provided in Table 3.

Table 3.

Controller parameters.

Controllers  Parameters
  Kc  Ti (s)  Td (s)  Ki=(Kc/TiKd=(Kc*Ti
ZN-PID  6.4339  2.694  0.6735  2.4288  4.3332 
IMC-PID  10.557  1.5255  0.37549  6.922  3.9631 
Shams-IMC-PID  2.508  4.588  0.5466  4.508 
3.4Interfacing the real time system with SCADA

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 using Factory talk view studio software is shown in Figure 8. Here the flow range is set for which the variable frequency drive is gets actuated, correspondingly the pressure for the same flow outcome is monitored and the required control valve opening is made by the controller automatically based on the control signals. All the parameters of the experimental setup are monitored and controlled through SCADA.

Fig. 8.

SCADA screen for constant petroleum flow and pressure through pipes.

(0.14MB).

The control panel of the SCADA consists of numerical display of the pressure readings read by the pressure sensor 1, pressure sensor 2 and pressure sensor 3. It also displays the flow rate read by the flow sensor and the speed at which the pump operates and the percentage of the control valve opening. The alarm light blinks when the pressure of the petroleum or the flow rate of the petroleum crosses the safer limit. The emergency push button in control panel is used to shut the entire system in the case of any emergency (Yang, 2002, 2003).

4Result and discussion

The simulation and experimental work has been carried out in flow and pressure control setup to analyze the performance of the ZN-PID, IMC-PID and Shams tuning IMC-PID controllers. To implement the closed loop control function, a PID block is developed in the ladder logic program in which control signal is given to the control valve to form closed loop system.

4.1Simulation results

The controller structure of PID block in petroleum transportation is developed using SIMULINK in MATLAB platform. The performance of ZN, IMC and Shams tuning IMC-PID controller are analyzed at a set point at 150lph. The closed loop simulated transient responses are recorded and displayed in Figures 9 and 10.

Fig. 9.

MATLAB/Simulink model.

(0.15MB).
Fig. 10.

Performance analysis using MATLAB/Simulink model.

(0.07MB).
4.1.1Performance analysis

In the simulation study, the performances of various controllers are compared by setting the peak of maximum uncertainty (Ms) value for comparison. It is better to have IAE, TV and Ms (Integral Absolute Error, Total Variation of the input, uncertainty margin value) to be small, but for a well-tuned controller there is a trade-off, which means that a reduction in IAE implies an increase in TV and Ms (and vice versa). (Shamsuzzoha & Skogestad, 2010).

From the performance analysis shown in Figure 10 and Table 4, the simulation results reveals that the shams IMC–PID controller is forced to follow the set point at short duration of time and to maintain the steady state without overshoot and with minimum error indices and good quality indices as compared with ZN and Simple IMC-PID controller (Li, Liu, Jin, & Hirasawa, 2015). It also gives faster disturbance rejection with the time duration of 8sec and smaller overshoot of 22.57% as compared to ZN and Simple IMC-PID controllers which rejects the same disturbance with the time period of 11 and 18s having overshoot of 39.24% and 26.12% respectively while maintaining the setpoint.

Table 4.

Performance measures from MATLAB/SIMULINK model.

Performance measures  ZN-PID  IMC-PID  Shams-PID tuning 
ISE  1.51E+08  2.1451E+05  45,009 
IAE  827,886.4  832,609.6  122,240.9 
ITAE  18,698,590  18,656,496  725,786.8 
Tr (s)  0.17  12.13  2.51 
Ts (s)  35.84  24.64  11.61 
%Mp  39.24  26.12  22.57 
4.1.2Disturbance rejection test

The disturbance rejection performance is investigated at the operating point of flow rate at 150lph. A step disturbance is introduced into the process by way of increasing the flow rate to 180lph after the time period of 50s as shown in Figure 11 and it is ensured that, only Shams IMC-PID controller damp the disturbance in a shorter time period of 21s with less undershoot of 14.28% as compared to the ZN-PID and Simple-IMC PID controllers. The error and quality indices of output signal are used to evaluate the disturbance rejection performance of the controllers and are given in Table 5.

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.

(0.09MB).
Table 5.

Performance measures after disturbance at the operating point of 150lph.

Performance measures  ZN-PID  IMC-PID  Shams-PID tuning 
ISE  3.698E+07  4.124E+06  75,817 
IAE  913,225.2  936,591.1  248,521.8 
ITAE  19,726,474  19,613,213  814,923.6 
Tr (s)  2.13  19.63  4.05 
Ts (s)  41.32  29.91  13.74 
%Mp  40.14  28.43  23.17 
4.2Experimental results

A PLC based PID block of the ladder logic program is created through which the values of Kc, Ki, Kd are entered in the PID block which is shown in Figure 12.

Fig. 12.

PID control block in which tuning values entered to create closed loop system by giving feedback to control valve.

(0.24MB).

The corresponding Step set point responses with various overshoots first order plus time delay process, G(s)=0.85/(6.15s+1)e−1.34s are shown in Figure 13 by changing the value of Kc.

Fig. 13.

Step setpoint responses with various overshoots first order plus time delay process, G(s)=0.85/(6.15s+1)e−1.34s.

(0.09MB).

An real time experimentation is carried in the lab scale setup to analyze the performance of ZN, IMC and Shams IMC-PID controllers in the closed loop system with an operating range of 180lph at time duration of t=0–90s as shown in Figures 14–16 and the corresponding performance indices are also calculated and listed in Table 6.

Fig. 14.

Performance of Shams tuning IMC-PID controller for the setpoint at 180lph.

(0.08MB).
Fig. 15.

Performance of ZN-PID controller for the setpoint at 180lph.

(0.09MB).
Fig. 16.

Performance of IMC-PID controller for the setpoint at 180lph.

(0.09MB).
Table 6.

Real time performance measures of IMC-PID, auto tuned, ZN-PID controller at 180lph.

Error indices  IMC-PID  ZN-PID  Shams-tuning PID 
ISE  1.685E+07  2.33E+15  52,019 
IAE  872,609.3  937,886.4  156,240.9 
ITAE  29,656,496  17,856,590  825,786.3 
Ts  2522  4644  1426 

From the real time results, it is clear that the response of the shams IMC-PID controller reaches the set point at 23s and maintains steady state for the entire measuring period of upto t=90s. On the other hand, the ZN-PID controller reaches the set point at 46s and maintained with slight oscillation up to t=60s. A simple IMC-PID controller reaches the set point at 29s but it carries the minimal oscillation along the setpoint until it reaches the entire time duration of 90s. Table 6 ensures that shams tuning PID controller furnishes minimum error indices of 16.54% as compared with conventional controllers and it gives the better performance for flow regulation in oil pipeline transportation.

5Conclusion

In this paper, maintaining the constant flow rate is achieved when petroleum gets transmitted through the pressure line. A PLC based PID controller is developed along with the SCADA for the online monitoring and controlling and for the tuning of PLC based PID controller, ZN, Simple IMC and Shams IMC-PID controllers are considered. A complete experimental analysis in terms of system response is presented. The simulation and experimental results proves that the Shams IMC-PID controller provides fair transient as well as steady state behavior with minimum error indices and good quality indices as compared to the ZN, Simple IMC-PID controllers. Among the controller tuning rules, Shams IMC-PID controller provides 34% enhanced better performances and also tolerated the perturbations in the model parameters when the operating point changes. Also, it produces successful performance in disturbance rejection test. Finally, the problem of manually varying the speed of the pump and the control valve opening to achieve the desired flow rate is replaced by a PLC based shams tuning IMC PID controller.

Conflict of interest

All the authors have no conflicts of interest to declare and publishing this article.

References
[Adam, 2006]
S. Adam.
A central database improves pipeline projects.
2006 international pipeline conference, pp. 481-485
[Hou et al., 2003]
T.-H. Hou, W.L. Liu, L. Li.
Intelligent remote monitoring and diagnosis of manufacturing processes using an integrated approach of neural networks and rough sets.
Journal of Intelligent Manufacturing, 14 (2003), pp. 239-253
[Hu et al., 2000]
W. Hu, A.G. Starr, Z. Zhou, A.Y.T. Leung.
A systematic approach to integrated fault diagnosis of flexible manufacturing systems.
International Journal of Machine Tools & Manufacture, 40 (2000), pp. 1587-1602
[Jawhar et al., 2011]
I. Jawhar, N. Mohamed, D.P. Agrawal.
Linear wireless sensor networks: Classification and applications.
Journal of Network and Computer Applications, 34 (2011), pp. 1671-1682
[Li et al., 2015]
D. Li, L. Liu, Q. Jin, K. Hirasawa.
Maximum sensitivity based fractional IMC-PID controller design for non-integer order system with time delay.
Journal of Process Control, 31 (2015), pp. 17-29
[Maâmar and Rachid, 2014a]
B. Maâmar, M. Rachid.
IMC-PID fractional order filter controllers design for integer order systems.
ISA transaction, 53 (2014), pp. 1620-1628
[Maâmar and Rachid, 2014b]
B. Maâmar, M. Rachid.
IMC-PID fractional order filter controllers design for non-integer order systems.
Journal of Process Control, 24 (2014), pp. 261-271
[Shamsuzzoha, 2015]
M. Shamsuzzoha.
A unified approach for PID controller design for time delay process.
Korean Journal of Chemical Engineering, 32 (2015), pp. 583-596
[Shamsuzzoha and Skogestad, 2010]
M. Shamsuzzoha, S. Skogestad.
The set point overshoot method: A simple and fast closed loop approach for PID tuning.
Journal of Process Control, 20 (2010), pp. 1220-1234
[Shijiu et al., 1998]
J. Shijiu, W. Lining, L. Jian.
Instantaneous negative pressure wave pattern recognition method in leak detection of crude petroleum transported pipeline.
Journal of Electronic Measurement and Instrument, 12 (1998), pp. 59-64
[Silva et al., 1996]
R.A. Silva, C.M. Buiatti, S.L. Crui, J.A.F.R. Pereira.
Pressure wave behavior and leak detection in pipelines.
Computers and Chemical Engineering, 20 (1996), pp. 491-496
[Venkatasubramanian et al., 2003]
V. Venkatasubramanian, R. Rengaswamy, K. Yin, S.N. Kavuri.
A review of process fault detection and diagnosis part 1: Quantitative model-based methods.
Computers and Chemical Engineering, 27 (2003), pp. 293-311
[Yang, 2002]
J. Yang.
Studyondata access technology.
Journal of Liangshan University, 4 (2002), pp. 24-27
[Yang, 2003]
X.-k. Yang.
The web-based interface technology between server and database.
Journal of Liaoning Normal University (Natural Science Edition), 26 (2003), pp. 152-154
[Zhang et al, 2006]
L.B. Zhang, Z.H. Wang, W. Liang.
Remote and intelligent diagnostic methods on leakage fault for crude oil pipelines.
2006 international pipeline conference, pp. 683-688

Peer Review under the responsibility of Universidad Nacional Autónoma de México.

Copyright © 2016. Universidad Nacional Autónoma de México, Centro de Ciencias Aplicadas y Desarrollo Tecnológico
Descargar PDF
Opciones de artículo