Next Article in Journal
Deep Q-Learning-Based Neural Network with Privacy Preservation Method for Secure Data Transmission in Internet of Things (IoT) Healthcare Application
Next Article in Special Issue
Grey Wolf Optimizer in Design Process of the Recurrent Wavelet Neural Controller Applied for Two-Mass System
Previous Article in Journal
Joint Estimation of SOC and Available Capacity of Power Lithium-Ion Battery
Previous Article in Special Issue
Artificial Neural Networks and Deep Learning Techniques Applied to Radar Target Detection: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Pipeline Leak Detection and Estimation Using Fuzzy PID Observer

by
Raheleh Jafari
1,
Sina Razvarz
2,
Cristóbal Vargas-Jarillo
2,
Alexander Gegov
3,4,* and
Farzad Arabikhan
3
1
School of Design, University of Leeds, Leeds LS2 9JT, UK
2
Departamento de Control Automatico, CINVESTAV-IPN (National Polytechnic Institute), Mexico City 07360, Mexico
3
School of Computing, University of Portsmouth, Portsmouth PO13HE, UK
4
English Language Faculty of Engineering, Technical University of Sofia, 1756 Sofia, Bulgaria
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(1), 152; https://doi.org/10.3390/electronics11010152
Submission received: 2 December 2021 / Revised: 28 December 2021 / Accepted: 29 December 2021 / Published: 4 January 2022
(This article belongs to the Special Issue Theory and Applications of Fuzzy Systems and Neural Networks)

Abstract

:
A pipe is a ubiquitous product in the industries that is used to convey liquids, gases, or solids suspended in a liquid, e.g., a slurry, from one location to another. Both internal and external cracking can result in structural failure of the industrial piping system and possibly decrease the service life of the equipment. The chaos and complexity associated with the uncertain behaviour inherent in pipeline systems lead to difficulty in detection and localisation of leaks in real time. The timely detection of leakage is important in order to reduce the loss rate and serious environmental consequences. The objective of this paper is to propose a new leak detection method based on an autoregressive with exogenous input (ARX) Laguerre fuzzy proportional-integral-derivative (PID) observation system. The objective of this paper is to propose a new leak detection method based on an autoregressive with exogenous input (ARX) Laguerre fuzzy proportional-integral-derivative (PID) observation system. In this work, the ARX–Laguerre model has been used to generate better performance in the presence of uncertainty. According to the results, the proposed technique can detect leaks accurately and effectively.

1. Introduction

Pipelines are the safest way for transporting crude oil, petroleum products, and natural gas over long distances. Pipelines deliver clear benefits in supporting economic growth as they provide a cheaper means to transport. However, oil and gas pipelines may be significantly damaged due to internal and external defects (e.g., corrosion, dents, gouges, weld defects). Construction and operational defects of pipes can pose major risks to supplies. Pipeline safety is possible using inspection and monitoring techniques which can be either internal or external in nature.
Over the last few years, a number of technologies have been reported to monitor pipelines such as acoustic emission [1,2,3], fibre optic sensor [4,5], digital signal processing, and mass–volume balance [6]. In [7], a real-time transient modelling method has been utilised for leakage detection and localization in the pipeline systems. In [8], an extended version of a real-time transient modelling method to estimate two leaks simultaneously in a piping system is proposed. The acoustic pulse reflectometry method has been used successfully to identify damage in pipelines utilising the time domain [9].
In [10], the cepstrum analysis technique is utilised to identify leaks in pipes. In [11], a new method based on auxiliary mass spatial probing by the stationary wavelet transform is suggested to detect damage in beams. Artificial intelligence with fuzzy logic has become the most effective approach, which attracts many investigators to deeply research it [12,13,14,15,16]. It has been successfully used for leak detection. In [17], a low-cost wireless sensor system is introduced to detect of leaks in metallic piping systems. In [18,19], a neural network technique was utilized to detect the leak in a pipeline and has provided promising results. In [20], an artificial neural network was utilized to detect the leak in a pipeline such that the sound noise data were gathered through several microphones placed within a specific distance from the damaged part. The fast Fourier transform algorithm has been performed on data and supplied to a feed-forward network for making a final decision. In [11,21], a neural network technique was used for pattern recognition in oil pipe networks.
Various researchers have used observational approaches for fault diagnosis in pipes that are based on different algorithms [22,23,24]. The authors in [25] focused on leakage reconstruction in pipe systems utilising sliding mode observer. The authors in [26,27,28] focused on leakage reconstruction in pipe systems utilising a PID (proportional-integral-derivative) model and observer. In [29], a fuzzy PI observer was used to detect leaks in pipeline. In [30], a leak inspection device consisting of an adaptive Luenberger-type observer based upon a set of two-coupled partial differential equations governing the flow dynamics is proposed. To improve the input and output performance of ARX, in [26,31], the Laguerre method is applied to ARX to filter the input and output. In [27,29], a fuzzy PID observation method using the ARX–Laguerre technique is used for diagnosing fault in pipe.
The object of this paper is to develop a new technique based on autoregressive with exogenous input Laguerre (ARX–Laguerre) fuzzy PID to detect leaks in a pipe. For this aim, in the first step, the ARX–Laguerre technique is used for pipeline modelling. In the second step, the PID observer based on the ARX–Laguerre model is designed to detect leakage in the presence of uncertainties. The numerical results demonstrate that the proposed technique detects and estimates leaks accurately. The remainder part of this paper is organized as follows: in Section 2, the pipeline model equations are described using the momentum and continuity equations. The pipeline model equations based on the ARX–Laguerre technique are given in the Section 3. The proposed new technique based on ARX–Laguerre fuzzy PID observer to detect and locate leaks in a pipe is given in Section 4. The algorithm and simulation results analysis is given in Section 5. Moreover, in this section, the proposed method is compared with some other existing methods to illustrate its value. Finally, conclusions are given.

2. Pipeline Modelling

Here, we do not consider convective speed changes and compressibility effects in process lines. The mass flow rate ( m ), the length of the pipe ( Γ ) , the flow in a pipe system ( Φ ) , the inlet pressure ( i ) , and outlet pressure ( o ) at pipeline are assumed to be computable. Furthermore, the area of cross section   ( a ) is fixed along the pipe. The suggested pipeline architecture is illustrated in Figure 1.
The differential equation describing the dynamic behaviour of a fluid in a duct is based on the mass, momentum, and the conservation of energy [32]. Newton’s second law of motion, when implemented to a control volume, generated the following momentum equation [32,33]:
υ t + 1 ρ x + 2 ð υ 2 = 0
If we substitute υ = Φ a   as well as   = ρ g H in (1) the resulting momentum equation will be:
Φ a t + g x H + Φ 2 2 ð a 2 = 0
Thus,
Φ t + a g x H + Φ 2 2 ð a = 0
in which H represents the pressure head, Φ   the rate of flow in a pipe,   x   the length of pipe, t time steps, g the gravity, a the pipe cross-sectional area, ð the inside diameter of the pipe, and the pipe friction factor.
Coefficient of friction is typically assumed to be constant. In general, it was found to be a function of the Reynolds number   ( R e ) and the pipe material roughness coefficient   ( e ) . The Swamee–Jain equation can be used to describe the friction factor for a pipe of circular section ( ð ) as follows [34,35]:
= ( 0.5   ln [ 0.27 ( e ð ) + 5.74 1 R e 0.9 ] ) 2
where is the pipe friction factor, ð is the inside diameter of the pipe and the pipe material roughness coefficient   ( e )
Reynolds number equation is determined via the following equation [36]:
R e = 4 ρ Φ π ð μ = ρ ν ð μ
in which ρ represents the fluid density, and μ the viscosity of the flowing fluid. For 10 8 < e ð < 0.01 as well as 5000 < R e < 10 8 are provably correct.
t + ρ a 2 ν x = 0
After applying the overall mass balance as well as the Reynolds transport theorem to the control volume the continuity equation will be obtained:
t + ρ a 2 v x = 0
The following equation can be acquired if we substitute the pressure head   ( H )   as well as the flow rate ( Φ ) in Equation (7):
H t + a 2 g a Φ x = 0
in which a represents the speed of the wave inside a fluid filled elastic duct. The wave velocity depends on the elastic properties of the fluid and pipe. The pressure head ( H ) and flow rate ( Φ ) change as functions of position and time, H ( x , t ) and Φ ( x , t ) , respectively, so that x [ 0 , Γ ] , where Γ represents the length of the duct.
Now we can create a model of the pipe applying Equations (3) and (8). These equations need to be solved; however, coming to analytical solutions is not easy. Because of this, different methods need to be used to solve these equations such as characteristics and finite difference approaches [37]. Here, the finite difference approach is implemented such that Equations (3) and (8) are discretized to obtain a system of ordinary differential equations. The considered finite difference approach discretizes the whole pipe into N smaller sections [37,38]. Finite difference technique with a fixed step size   Δ s is, historically, the most popular time-stepping approach. Here, we consider finite difference method because it is an easy-to-use approach and is specially designed and applied for nonlinear observer models. In this study we define it as follows:
Φ ( s i 1 , t ) s Δ Φ ( s i 1 , t ) Δ s Φ i Φ i 1 Δ s H ( s i 1 , t ) s Δ H ( s i 1 , t ) Δ s H i H i 1 Δ s
i = 1 , ,   n , in which n represents the number of points of the grid, and Δ s = s i + 1 s i represents the size of the i -section between the two successive grid points. The computational domain s [ 0 , Γ ] is divided up into three smaller domains,   { s k } { 0 , s l e a k , Γ } , so that s l e a k indicates the location of leak; see Figure 2. The leak flow rate can be measured by Φ l e a k = C d a l e a k 2 g H ( s l e a k ,   t ) , such that C d represents efflux coefficient, and a l e a k the cross-sectional area along the leak path. The leak flow rate can be calculated by Φ l e a k = Λ H ( s l e a k ,   t ) , in which Λ = C d a l e a k 2 g . The behaviour of a dynamic pipeline network can be described by an ordinary differential equation system:
  Φ ˙   1 = g a s ( H 1 H 2 ) Φ 1 2 2 ð a H ˙ l e a k = c 2 g a s ( Φ 1 Φ 2 Λ H l e a k )   Φ ˙   2 = g a Γ s ( H 2 H 3 ) Φ 2 2 2 ð a
Suppose that both inlet and outlet pressures, H 1 and H 3 , respectively, are known and have been defined using external means such as a pump. The pressure H 2   and the inlet and outlet flow rate ( Φ 1 and Φ 2 , respectively) of the leakage point are considered to be variables. From the continuity equation we can write:
Φ 1 = Φ l e a k + Φ 2

3. Pipeline Modelling Based on the ARX–Laguerre Technique

For many years, pipelines played a huge role in oil and gas industries, as they significantly reduce transport costs. Leakage inspection in transmission pipelines is crucially significant for safe operation. In general, there are various fault detection methods, each with different potentials; however, the selection of proper leak detection technique is difficult. This is particularly important when they deal with various types of uncertain conditions. To deal with this problem, we introduce a fuzzy ARX–Laguerre PID observer in Section 4. First, in this study, the ARX–Laguerre technique is used for pipeline modelling. In the second step, the PID observer based on the ARX–Laguerre model is designed to detect leakage in the presence of uncertainties. The proposed model-based ARX–Laguerre orthonormal method is represented by developing its coefficients associated to the flow input and flow output, Fourier coefficients, and Laguerre-based orthonormal function, as follows [23,39]:
M 0 ( s ) = 0 i a λ n . a ( j = 1 l a M 0 ( s ) ) . x n . M 0 ( s ) + 0 i b λ n . b ( j = 1 l b M i ( s ) ) . x n . M i ( s )
in which M 0 ( s ) ,   ( λ n . a   a n d   λ n . b ) ,   ( i a , i b )   ( l a ,   l b ) , ,   M i ( s ) , x n . M 0 ( s ) , and x n . M i ( s ) represent the pipe outflow, Fourier coefficients, the order of the system, Laguerre orthonormal function, convolution product, pipe inflow, exhaust filter, and entrance filter, respectively. By expanding the ARX model on Laguerre orthonormal bases, the following state-space model can be obtained:
{ M ( s + 1 ) = [ A M ( s ) + B y ( y ( s ) + α s ( k ) ) + B u ( u ( s ) + a p ( s ) ) ] y ( s ) = ( S ) T M ( s ) + B s α s ( s ) ,
in which M ( s ) , y ( s ) ,   u ( s ) ,   α p ( s ) ,   and   α s ( s ) represent the state vector, calculated output, control input, pump defect, and sensor defect, respectively. A ,   B y ,   B u ,   and   B s ,   as   well   as   S , represent matrices of coefficients.

4. ARX–Laguerre Fuzzy PID Observation Technique

In this section, the ARX–Laguerre fuzzy PID observation system is proposed to detect and estimate a leak in pipelines.

4.1. Modelling of Dynamic System by ARX–Laguerre

Let us consider the linear ARX state space model with disturbances illustrated by the following equation to formulate the dynamic fault detection problem:
{ M ( s + 1 ) = [ A   M ( s ) + B u ( u ( s ) + α p ( s ) ) ] y ( s ) = ( S ) T M ( s ) + B s α s ( s ) ,
We define the ARX model on Laguerre base as follows [31,40]:
y ( k ) = 0 N a 1 S ( n , p ) x ( n , y ) ( s ) + 0 N b 1 S ( n , b ) x ( n , u ) ( s ) X ( k ) = [ x ( n , u ) ( s ) x ( n , y ) ( s ) ] x ( n , y ) ( s ) = L n a ( k , ξ p ) y ( s ) x ( n , u ) ( s ) = L n b ( k , ξ b ) u ( s )
in which y ( k ) ,   u ( k ) ,   ( K ( n , p ) , K ( n , s ) ) ,   ( N a , N b ) , x ( n , y ) ( s ) , x ( n , u ) ( s ) ,   and   ( L n a ( s , ξ a ) , L n b ( s , ξ b ) ) represent the pipe outflow, pipe inflow, Fourier coefficients, exhaust filter, entrance filter, and Laguerre orthonormal function, respectively.
Using Equation (16) the following state-space model can be obtained in the presence of failures of the pump and sensor as well as disturbances:
{ M p ( s + 1 ) = [ A M p ( s ) + B y ( y p ( s ) + α s ( s ) ) + B u ( u ( s ) + α p ( s ) ) ] y ( s ) = ( S ) T M p ( s ) + B s α s ( s ) ,
The fault of the pump is calculated using the following formula:
e y ( s ) = y p ( s ) y ( s ) e M ( s ) = [ x p ( n , u + α p ) ( s ) x ( n , u ) ( s ) x p ( n , y a ) ( s ) x ( n , y ) ( s ) ]
such that
x a ( n , u + α p ) ( s ) M ( n , u ) ( s ) M p ( s ) M ( s ) y p ( s ) y ( s ) e y ( s ) 0
The fault of the sensor is calculated using the following formula:
e y ( s ) = y p ( s ) y ( s ) e M ( s ) = [ M p ( n , u ) ( k ) M ( n , u ) ( s ) M p ( n , y p + α s ) ( k ) M ( n , y ) ( s ) ]
such that
M p ( n , y p + α s ) ( s ) x ( n , y ) ( s ) M p ( s ) M ( s ) y p ( s ) y ( s ) e y ( S ) 0 .

4.2. Fault Diagnosis

In this study, the ARX–Laguerre fuzzy PID observation system is proposed to identify pump and sensor defects in pipes. We define the proposed technique by the following formulas in the presence of failures of the pump and sensor in the pipe:
{ M ^ ( s + 1 ) = A M ^ ( s ) + B y ( y ^ ( s ) + α ^ s ( s ) ) + B y ( u ( s ) + α ^ p ( s ) ) + K p e ( s ) e s ( s ) = ( q s ( s ) q ^ s ( s ) ) e p ( s ) = ( w p ( s ) w ^ p ( s ) ) α ^ p ( s + 1 ) = α ^ p ( s ) + K i p e p ( s ) + K d p ( e p ( s + 1 ) + e p ( s ) + e p ( s 1 ) ) α ^ s ( s + 1 ) = α ^ s ( s ) + K i s e s ( s ) + K d s ( e s ( s + 1 ) + e s ( s ) + e s ( s 1 ) ) y ^ ( s + 1 ) = ( S ) T M ^ ( s + 1 ) + β s α ^ s ( s )
where M ^ ( s ) represents the state vector, α p ( s ) pump defect, α s ( s ) sensor defect, and y ^ ( s ) the output of the system, and A ,   B y ,   B u ,   and   B s ,   as   well   as   S , represent matrices of coefficients. In accordance with Equation (21), in this paper, we particularly study three main cases and types of faults in pipe.
Case 1: In case α p 0 ,   α s = 0 , and α ^ p ( s ) α p ( s ) , we have:
( y ( s + 1 ) y ^ ( s + 1 ) 0 ) &   ( M ( s + 1 ) M ^ ( s + 1 ) ) 0     [ M 1 T ( s + 1 ) M 2 T ( s + 1 ) ] T [ M ^ 1 T ( s + 1 ) M ^ 2 , α p T ( s + 1 ) ] T 0   { M ( n , u ) ( s ) M ^ ( n , u + α p ) ( s ) 0 M ( n , y ) ( s ) M ^ ( n , y ) ( s ) 0
In case α p 0 ,   α s = 0 , and α ^ p ( s ) = α p ( s ) , we have:
( y ( s + 1 ) y ^ ( s + 1 ) = 0 ) &   ( M ( s + 1 ) M ^ ( s + 1 ) ) 0     [ M 1 T ( s + 1 ) M 2 T ( s + 1 ) ] T [ M ^ 1 T ( s + 1 ) M ^ 2 , α p T ( s + 1 ) ] T 0   { M ( n , u ) ( s ) M ^ ( n , u + α p ) ( s ) 0 M ( n , y ) ( s ) M ^ ( n , y ) ( s ) = 0
In accordance with Equations (22) and (23), in case the error related to ARX–Laguerre fuzzy PID technique is close to zero, the detection rate of defect is very high.
The following formula can be defined for fault in the pump:
α ^ p = α q q p q ^ p 0   &   w w ^ 0 r = w w ^
Case 2: In case α s 0 ,   α p = 0 , and α ^ s ( s ) α s ( s ) , we have:
( y ( s + 1 ) y ^ ( s + 1 ) 0 ) &   ( M ( s + 1 ) M ^ ( s + 1 ) ) 0     [ M 1 T ( s + 1 ) M 2 T ( s + 1 ) ] T [ M ^ 1 T ( s + 1 ) M ^ 2 , α p T ( s + 1 ) ] T 0   { M ( n , u ) ( s ) M ^ ( n , u ) ( s ) 0 M ( n , y ) ( s ) M ^ ( n , y + α s ) ( s ) 0
In case α s 0 ,   α p = 0 , and α ^ s ( s ) = α s ( s ) , we have:
( y ( s + 1 ) y ^ ( s + 1 ) = 0 ) &   ( M ( s + 1 ) M ^ ( s + 1 ) ) 0     [ M 1 T ( s + 1 ) M 2 T ( s + 1 ) ] T [ M ^ 1 T ( s + 1 ) M ^ 2 , α p T ( s + 1 ) ] T 0   { M ( n , u ) ( s ) M ^ ( n , u ) ( s ) = 0 x ( n , y ) ( s ) x ^ ( n , y + α s ) ( s ) 0
In accordance with Equations (25) and (26), the ARX–Laguerre fuzzy PID has a significant influence on the efficiency of sensor defect detection in a duct.
The following formula can be defined for fault in sensor:
α ^ s = α s w w ^ 0   &   q p q ^ p 0 r = q p q ^ p
Case 3: In case α s 0 ,   α p = 0 , α ^ s ( s ) α s ( s ) , and α ^ p ( s ) α p ( s ) we have:
( y ( s + 1 ) y ^ ( s + 1 ) 0 ) &   ( M ( s + 1 ) M ^ ( s + 1 ) ) 0     [ M 1 T ( s + 1 ) M 2 T ( s + 1 ) ] T [ M ^ 1 , α s T ( s + 1 ) M ^ 2 T ( s + 1 ) ] T 0   { M ( n , u ) ( s ) M ^ ( n , u + α p ) ( s ) 0 M ( n , y ) ( s ) M ^ ( n , y + α s ) ( s ) 0
In case α s 0 ,   α p = 0 , and α ^ s ( s ) = α s ( s ) , we have:
( y ( s + 1 ) y ^ ( s + 1 ) 0 ) &   ( M ( s + 1 ) M ^ ( s + 1 ) ) 0     [ M 1 T ( s + 1 ) M 2 T ( s + 1 ) ] T [ M ^ 1 T ( s + 1 ) M ^ 2 , α p T ( s + 1 ) ] T 0   { M ( n , u ) ( s ) M ^ ( n , u + α p ) ( s ) 0 M ( n , y ) ( s ) M ^ ( n , y + α s ) ( s ) 0
In accordance with Equation (29), in case the pipe includes sensor and pump failures, the signals received from pump and joint variable can identify the defects. Signal sensor and pump faults are:
α ^ p = α p &   α ^ s = α s r 1 = w w ^ 0   &   r 2 = q p q ^ p 0
To increase the signal estimation accuracy and to modify the performance of fault estimation of the ARX–Laguerre PID technique, optimal fuzzy observer coefficients, K p p , K i p , K d p , K p s , K i s and K d s , are applied, which are defined as follows:
K i p = K p p T i p ,   K d p = K p p . T d p K i s = K p s T i s ,   K d s = K p s . T d s
where T i p ,   T i s , T d p , and T d s , represent the integral gain for pump failure, the integral gain for sensor failure, the derivative gain for pump failure, and the derivative gain for sensor failure, respectively. Following Equation (29), we have:
β p = T i p T i p ,     K i p = ( K p p ) 2 β p K d p β s = T i s T i s ,     K i s = ( K p s ) 2 β s K d s
Normalization of the above equation can be performed by the formula described below:
K ' p p = K p p K p p ( m i n ) K p p ( m a x ) K p p ( m i n ) [ 0 , 1 ] ,   K ' p p = K d p K d p ( m i n ) K p p ( m a x ) K p p ( m i n ) [ 0 , 1 ] , 2 β p 5 K ' p s = K p s K p s ( m i n ) K p s ( m a x ) K p s ( m i n ) [ 0 , 1 ] ,   K ' d s = K d s K d s ( m i n ) K d s ( m a x ) K d s ( m i n ) [ 0 , 1 ] , 2 β s 5
such that β = i α ( x i )     ·   x i   i α ( x i ) represents a membership function.

5. Simulation Results

In this section, we evaluate our proposed technique on a pipe model under the leak condition in the presence of failures of the pump and sensor in the pipe. In order to check the efficiency of the proposed ARX–Laguerre fuzzy PID observation technique for fault detection in the pipe, we consider two cases, pipe with fault and under no-fault conditions.
Pipe under no-fault condition. In this case, the duct functions under optimal circumstances and performs well. The input–output signals of the pipe model in a healthy state can be computed as follows:
r ( w ) = w w ^ r ( w ) = w ( w O b s e r v e r + α p ) r ( w ) = w ( w O b s e r v e r + 0 ) 0 r ( ϕ ) = ϕ ϕ ^ r ( ϕ ) = ϕ ( ϕ O b s e r v e r + α s ) r ( ϕ ) = ϕ ( ϕ O b s e r v e r + 0 ) 0
The sensor signal for the pipe under no-fault condition and no noise impact is shown in Figure 3. The pump signal for the pipe under no-fault condition and no noise impact is shown in Figure 4.
For a healthy system, the pump and sensor faults can be described as follows:
F a u l t p u m p = α p ( t t 0 ) = { 0 ,             t < t p α p ,           t > t p F a u l t s e n s o r = α s ( t t 0 ) = { 0 ,             t < t s α s ,           t > t s
The effectiveness of the proposed technique for fault estimation under no-fault condition is shown Figure 5. As can be observed from Figure 5, the proposed method is more effective than the ARX–Laguerre PI observer [41] and the adaptive fuzzy observer [42]. The error between the predicted output and the expected output based on the proposed technique under no-fault condition is shown in Figure 6. It can be seen that the proposed method yields more accurate results compared with ARX–Laguerre PI observer [41] and the adaptive fuzzy observer [42].
Pipe under fault condition. In this case, the duct functions under faulty circumstances. The duct has two kinds of defects simultaneously, the sensor defect and the pump defect.
The input–output signals from sensor and pump in the pipe with a fault state can be computed as follows:
r ( w ) = w w ^ r ( w ) = w ( w O b s e r v e r + α p ) 0 r ( ϕ ) = ϕ ϕ ^ r ( ϕ ) = ϕ ( ϕ O b s e r v e r + α s ) 0
where
w 1 α p ( m ) = { 55 ,           10 t 25 0 ,             o t h e r w i s e ϕ 1 α s ( m ) = { 0.6 ,           10 t 25 0 ,             o t h e r w i s e
The pump signal for the pipe under fault condition and no noise impact is shown in Figure 7. The sensor signal for the pipe under fault condition is shown in Figure 8.
The effectiveness of the proposed technique for fault estimation under fault condition is shown Figure 9. As can be observed from Figure 9, the proposed method is more effective than the ARX–Laguerre PI observer [41] and the adaptive fuzzy observer [42]. The error between the predicted output and the expected output based on the proposed technique under fault condition is shown in Figure 10. It can be seen that the proposed method yields more accurate results compared with ARX–Laguerre PI observer [41] and the adaptive fuzzy observer [42]. Furthermore, the delay for the proposed method to fault detection in both Figure 9 and Figure 10 is less than the other methods.
The effectiveness of the proposed technique for fault estimation at leakage point is shown in Figure 11. It can be seen from this figure that our proposed method detects fault in less time in comparison with ARX–Laguerre PI observer [41] and the adaptive fuzzy observer [42].

6. Conclusions

The task of precise defect detection in the pipeline system is a formidable challenge due to the uncertainties in leak signal. To better deal with uncertainties in the leak signal, in this paper, an ARX–Laguerre PID-observer is introduced to perform fault diagnosis in the pipeline system. First, in this study, the ARX–Laguerre technique was used for pipeline modelling. In the second step, the PID observer based on the ARX–Laguerre model was designed to detect leakage in the presence of uncertainties. The performance of the proposed algorithm was tested in numerical simulations. According to the results, the proposed technique can accurately locate the leakage point. Despite the high accuracy of the proposed fault diagnosis method, it has a disadvantage of large extensive computation. In the future, the proposed observation method will be used to enhance the performance of fault diagnosis when the uncertainties are in the form of Z-numbers.

Author Contributions

Conceptualization, R.J., S.R., C.V.-J., A.G. and F.A.; methodology, R.J., S.R., C.V.-J., A.G. and F.A.; software, S.R.; validation S.R.; formal analysis, R.J. and S.R.; investigation, R.J. and S.R.; resources, R.J., S.R., C.V.-J., A.G. and F.A.; writing—original draft preparation, R.J., S.R., C.V.-J., A.G. and F.A.; writing—review and editing, R.J., S.R., C.V.-J., A.G. and F.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Meng, L.; Yuxing, L.; Wuchang, W.; Juntao, F. Experimental study on leak detection and location for gas pipeline based on acoustic method. J. Loss Prev. Process Ind. 2012, 25, 90–102. [Google Scholar] [CrossRef]
  2. Jin, H.; Zhang, L.; Liang, W.; Ding, Q. Integrated leakage detection and localization model for gas pipelines based on the acoustic wave method. J. Loss Prev. Process Ind. 2014, 27, 74–88. [Google Scholar] [CrossRef]
  3. Mahmutoglu, Y.; Turk, K. A passive acoustic based system to locate leak hole in underwater natural gas pipelines. Digital Signal Process. 2018, 76, 59–65. [Google Scholar] [CrossRef]
  4. Lim, K.; Wong, L.; Chiu, W.K.; Kodikara, J. Distributed fiber optic sensors for monitoring pressure and stiffness changes in out-of-round pipes. Struct. Control Health Monitor. 2016, 23, 303–314. [Google Scholar] [CrossRef]
  5. Jia, Z.; Ren, L.; Li, H.; Sun, W. Pipeline leak localization based on FBG hoop strain sensors combined with BP neural network. Appl. Sci. 2018, 8, 146. [Google Scholar] [CrossRef] [Green Version]
  6. Wan, J.; Yu, Y.; Wu, Y.; Feng, R.; Yu, N. Hierarchical leak detection and localization method in natural gas pipeline monitoring sensor networks. Sensors 2012, 12, 189–214. [Google Scholar] [CrossRef] [Green Version]
  7. Billmann, L.; Isermann, R. Leak detection methods for pipelines. IFAC Proc. Vol. 1984, 17, 1813–1818. [Google Scholar] [CrossRef]
  8. Verde, C. Minimal order nonlinear observer for leak detection. J. Dyn. Syst. Meas. Control 2004, 126, 467–472. [Google Scholar] [CrossRef]
  9. Sharp, D.; Campbell, D. Leak detection in pipes using acoustic pulse reflectometry. Acta Acust. United Acust. 1997, 83, 560–566. [Google Scholar]
  10. Taghvaei, M.; Beck, S.; Staszewski, W. Leak detection in pipelines using cepstrum analysis. Measur. Sci. Technol. 2006, 17, 367. [Google Scholar] [CrossRef] [Green Version]
  11. Zhao, J.; Li, D.; Qi, H.; Sun, F.; An, R. The fault diagnosis method of pipeline leakage based on neural network. In Proceedings of the 2010 International Conference on Computer, Mechatronics, Control and Electronic Engineering, Changchun, China, 24–26 August 2010; Volume 1, pp. 322–325. [Google Scholar]
  12. Jafari, R.; Razvarz, S.; Gegov, A. Applications of Z-Numbers and Neural Networks in Engineering. In Science and Information Conference; Springer: Berlin/Heidelberg, Germany, 2020; pp. 12–25. [Google Scholar]
  13. Jafari, R.; Razvarz, S.; Gegov, A. End-to-end memory networks: A survey. In Science and Information Conference; Springer: Berlin/Heidelberg, Germany, 2020; pp. 291–300. [Google Scholar]
  14. Jafari, R.; Razvarz, S.; Gegov, A. A novel technique for solving fully fuzzy nonlinear systems based on neural networks. Vietnam J. Comput. Sci. 2020, 7, 93–107. [Google Scholar] [CrossRef] [Green Version]
  15. Jafari, R.; Contreras, M.A.; Yu, W.; Gegov, A. Applications of Fuzzy Logic, Artificial Neural Network and Neuro-Fuzzy in Industrial Engineering. In Latin American Symposium on Industrial and Robotic Systems; Springer: Berlin/Heidelberg, Germany, 2019; pp. 9–14. [Google Scholar]
  16. Razvarz, S.; Hernández-Rodríguez, F.; Jafari, R.; Gegov, A. Foundation of Z-Numbers and Engineering Applications. In Latin American Symposium on Industrial and Robotic Systems; Springer: Berlin/Heidelberg, Germany, 2019; pp. 15–24. [Google Scholar]
  17. Christos, S.C.; Fotis, G.; Nektarios, G.; Dimitris, R.; Areti, P.; Dimitrios, S. Autonomous low-cost Wireless Sensor platform for Leakage Detection in Oil and Gas Pipes. In Proceedings of the 2021 10th International Conference on Modern Circuits and Systems Technologies (MOCAST), Thessaloniki, Greece, 5–7 July 2021; pp. 1–4. [Google Scholar]
  18. Belsito, S.; Lombardi, P.; Andreussi, P.; Banerjee, S. Leak detection in liquefied gas pipelines by artificial neural networks. AIChE J. 1998, 44, 2675–2688. [Google Scholar] [CrossRef]
  19. Ferraz, I.M.N.; Garcia, A.C.; Bernardini, F.V.C. Artificial neural networks ensemble used for pipeline leak detection systems. Int. Pipeline Conf. 2008, 48579, 739–747. [Google Scholar]
  20. Shibata, A.; Konishi, M.; Abe, Y.; Hasegawa, R.; Watanabe, M.; Kamijo, H. Neuro based classification of gas leakage sounds in pipeline. In Proceedings of the 2009 International Conference on Networking, Sensing and Control, Okayama, Japan, 26–29 March 2009; pp. 298–302. [Google Scholar]
  21. Kim, K.-H.; Lee, H.-S.; Jeong, H.-M.; Kim, H.-S.; Park, J.-H. A Study on Fault Diagnosis of Boiler Tube Leakage based on Neural Network using Data Mining Technique in the Thermal Power Plant. Trans. Korean Inst. Electr. Eng. 2017, 66, 1445–1453. [Google Scholar]
  22. Gao, Z.; Cecati, C.; Ding, S.X. A survey of fault diagnosis and fault-tolerant techniques—Part I: Fault diagnosis with model-based and signal-based approaches. IEEE Trans. Ind. Electron. 2015, 62, 3757–3767. [Google Scholar] [CrossRef] [Green Version]
  23. Piltan, F.; Kim, J.-M. Bearing fault diagnosis by a robust higher-order super-twisting sliding mode observer. Sensors 2018, 18, 1128. [Google Scholar] [CrossRef] [Green Version]
  24. Gao, Z.; Ding, S.X.; Cecati, C. Real-time fault diagnosis and fault-tolerant control. IEEE Trans. Ind. Electron. 2015, 62, 3752–3756. [Google Scholar] [CrossRef] [Green Version]
  25. Angulo, M.T.; Verde, C. Second-order sliding mode algorithms for the reconstruction of leaks. In Proceedings of the 2013 Conference on Control and Fault-Tolerant Systems (SysTol), Nice, France, 9–11 October 2013; pp. 566–571. [Google Scholar]
  26. Wu, Q.; Saif, M. Robust fault diagnosis for a satellite large angle attitude system using an iterative neuron PID (INPID) observer. In Proceedings of the 2006 American Control Conference, Minneapolis, MN, USA, 14–16 June 2006; p. 6. [Google Scholar]
  27. Piltan, F.; Sohaib, M.; Kim, J.-M. Fault diagnosis of a robot manipulator based on an ARX-laguerre fuzzy PID observer. In Proceedings of the International Conference on Robot Intelligence Technology and Applications, Daejeon, Korea, 16–17 December 2017; pp. 393–407. [Google Scholar]
  28. Wu, A.-G.; Duan, G.-R.; Fu, Y.-M. Generalized PID observer design for descriptor linear systems. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2007, 37, 1390–1395. [Google Scholar] [CrossRef]
  29. Piltan, F.; Kim, J.-M. Pipeline Leak Detection and Estimation Using Fuzzy-Based PI Observer. In Proceedings of the International Conference on Intelligent and Fuzzy Systems, Istanbul, Turkey, 21–23 July 2019; pp. 1122–1129. [Google Scholar]
  30. Aamo, O.M.; Smyshlyaev, A.; Krstic, M.; Foss, B.A. Output feedback boundary control of a Ginzburg–Landau model of vortex shedding. IEEE Trans. Autom. Control 2007, 52, 742–748. [Google Scholar] [CrossRef]
  31. Bouzrara, K.; Garna, T.; Ragot, J.; Messaoud, H. Online identification of the ARX model expansion on Laguerre orthonormal bases with filters on model input and output. Int. J. Control 2013, 86, 369–385. [Google Scholar] [CrossRef]
  32. Cebeci, T.; Bradshaw, P. Momentum Transfer in Boundary Layers; McGraw-Hill Book Co.: New York, NY, USA, 1977. [Google Scholar]
  33. Hafeez, H.Y.; Ndikilar, C.E. 4.1 The continuity equation. In Applications of Heat, Mass and Fluid Boundary Layers; Woodhead Publishing: Sawston, UK, 2020; p. 67. [Google Scholar]
  34. Swamee, P.K.; Swamee, N. Full-range pipe-flow equations. J. Hydraul. Res. 2007, 45, 841–843. [Google Scholar] [CrossRef]
  35. Assunção, G.S.C.; Marcelin, D.; Filho, J.C.v.; Schiozer, D.J.; de Castro, M.S. Friction Factor Equations Accuracy for Single and Two-Phase Flows. In International Conference on Offshore Mechanics and Arctic Engineering; American Society of Mechanical Engineers: New York, NY, USA, 2020; Volume 84430, p. V011T11A043. [Google Scholar]
  36. Rott, N. Note on the history of the Reynolds number. Annu. Rev. Fluid Mech. 1990, 22, 1–12. [Google Scholar] [CrossRef]
  37. Tomé, M.; Mangiavacchi, N.; Cuminato, J.; Castelo, A.; McKee, S. A finite difference technique for simulating unsteady viscoelastic free surface flows. J. Non-Newton. Fluid Mech. 2002, 106, 61–106. [Google Scholar] [CrossRef]
  38. Wang, X.; Wildman, R.A.; Weile, D.S.; Monk, P. A finite difference delay modeling approach to the discretization of the time domain integral equations of electromagnetics. IEEE Trans. Antennas Propag. 2008, 56, 2442–2452. [Google Scholar] [CrossRef]
  39. Piltan, F.; Kim, J.-M. Advanced fuzzy-based leak detection and size estimation for pipelines. J. Intell. Fuzzy Syst. 2020, 38, 947–961. [Google Scholar] [CrossRef]
  40. Kim, J.H.; Kim, K.S.; Sim, M.S.; Han, K.H.; Ko, B.S. An application of fuzzy logic to control the refrigerant distribution for the multi-type air conditioner. In Proceedings of the FUZZ-IEEE’99. 1999 IEEE International Fuzzy Systems. Conference Proceedings (Cat. No. 99CH36315), Seoul, Korea, 22–25 August 1999; Volume 3, pp. 1350–1354. [Google Scholar]
  41. Najeh, T.; Njima, C.B.; Garna, T.; Ragot, J. Input fault detection and estimation using PI observer based on the ARX-Laguerre model. Int. J. Adv. Manuf. Technol. 2017, 90, 1317–1336. [Google Scholar] [CrossRef] [Green Version]
  42. Tong, S.; Li, Y.; Li, Y.; Liu, Y. Observer-based adaptive fuzzy backstepping control for a class of stochastic nonlinear strict-feedback systems. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2011, 41, 1693–1704. [Google Scholar] [CrossRef]
Figure 1. The suggested pipeline architecture.
Figure 1. The suggested pipeline architecture.
Electronics 11 00152 g001
Figure 2. The suggested pipeline architecture.
Figure 2. The suggested pipeline architecture.
Electronics 11 00152 g002
Figure 3. The sensor signal for the pipe under no-fault condition.
Figure 3. The sensor signal for the pipe under no-fault condition.
Electronics 11 00152 g003
Figure 4. The pump signal for the pipe under no-fault condition.
Figure 4. The pump signal for the pipe under no-fault condition.
Electronics 11 00152 g004
Figure 5. The effectiveness of the proposed technique for fault estimation under no-fault condition.
Figure 5. The effectiveness of the proposed technique for fault estimation under no-fault condition.
Electronics 11 00152 g005
Figure 6. The error between the predicted output and the expected output based on the proposed technique under no-fault condition.
Figure 6. The error between the predicted output and the expected output based on the proposed technique under no-fault condition.
Electronics 11 00152 g006
Figure 7. The pump signal for the pipe under fault condition.
Figure 7. The pump signal for the pipe under fault condition.
Electronics 11 00152 g007
Figure 8. The sensor signal for the pipe under fault condition.
Figure 8. The sensor signal for the pipe under fault condition.
Electronics 11 00152 g008
Figure 9. The effectiveness of the proposed technique for fault estimation under fault condition.
Figure 9. The effectiveness of the proposed technique for fault estimation under fault condition.
Electronics 11 00152 g009
Figure 10. The error between the predicted output and the expected output based on the proposed technique under fault condition.
Figure 10. The error between the predicted output and the expected output based on the proposed technique under fault condition.
Electronics 11 00152 g010
Figure 11. The effectiveness of the proposed technique for fault estimation at leakage point in pipe.
Figure 11. The effectiveness of the proposed technique for fault estimation at leakage point in pipe.
Electronics 11 00152 g011
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jafari, R.; Razvarz, S.; Vargas-Jarillo, C.; Gegov, A.; Arabikhan, F. Pipeline Leak Detection and Estimation Using Fuzzy PID Observer. Electronics 2022, 11, 152. https://doi.org/10.3390/electronics11010152

AMA Style

Jafari R, Razvarz S, Vargas-Jarillo C, Gegov A, Arabikhan F. Pipeline Leak Detection and Estimation Using Fuzzy PID Observer. Electronics. 2022; 11(1):152. https://doi.org/10.3390/electronics11010152

Chicago/Turabian Style

Jafari, Raheleh, Sina Razvarz, Cristóbal Vargas-Jarillo, Alexander Gegov, and Farzad Arabikhan. 2022. "Pipeline Leak Detection and Estimation Using Fuzzy PID Observer" Electronics 11, no. 1: 152. https://doi.org/10.3390/electronics11010152

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop