원시데이터 수집 시스템
선정목록으로

Pressure Signal Enhancement of Slowly Increasing Leaks Using Digital Compensator Based on Acoustic Sensor

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Fang Wang — College of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029, China
  2. Weiguo Lin — College of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029, China
  3. Zheng Liu — Faculty of Applied Science, University of British Columbia Okanagan, Kelowna, BC V1V 1V7, Canada
  4. Xianbo Qiu — College of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029, China
DOI
10.3390/s19194317
저널
Sensors
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s19194317
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W2978810585

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Pipeline leak detection technologies are critical for the safety protection of pipeline transportation. However, they are insensitive to slowly increasing leaks. Therefore, this study proposes an enhancement method for slowly increasing leak signals. By analyzing the characteristics of pressure signals of slowly increasing leaks, a digital compensator is developed to overcome the disadvantages of pressure signals and enhance the pressure signals. According to the frequency response analysis of the digital compensator, the enhancement principle is the parameter adjustment of the digital compensator. Therefore, this paper further proposes an adaptive adjustment method of the parameter to enhance different degrees of leak signals online in real-time, and the proposed method is evaluated using two field pipelines. The experimental results demonstrate that this method is suitable not only for enhancing slowly increasing leaks but also for enhancing abrupt leaks.

본문 51,169자

본문 펼치기
# _sensors_ _Article_ ## Pressure Signal Enhancement of Slowly Increasing Leaks Using Digital Compensator Based on Acoustic Sensor Fang Wang <sup>1</sup> , Weiguo Lin <sup>1,</sup> *, Zheng Liu <sup>2</sup> and Xianbo Qiu <sup>1</sup> 1 College of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029, China; 2016400136@mail.buct.edu.cn (F.W.); xbqiu@mail.buct.edu.cn (X.Q.) 2 Faculty of Applied Science, University of British Columbia Okanagan, Kelowna, BC V1V 1V7, Canada; zheng.liu@ubc.ca * Correspondence: linwg@mail.buct.edu.cn Received: 3 September 2019; Accepted: 3 October 2019; Published: 5 October 2019 [���������](https://www.mdpi.com/1424-8220/19/19/4317?type=check_update&version=2) [�������](https://www.mdpi.com/1424-8220/19/19/4317?type=check_update&version=2) Abstract: Pipeline leak detection technologies are critical for the safety protection of pipeline transportation. However, they are insensitive to slowly increasing leaks. Therefore, this study proposes an enhancement method for slowly increasing leak signals. By analyzing the characteristics of pressure signals of slowly increasing leaks, a digital compensator is developed to overcome the disadvantages of pressure signals and enhance the pressure signals. According to the frequency response analysis of the digital compensator, the enhancement principle is the parameter adjustment of the digital compensator. Therefore, this paper further proposes an adaptive adjustment method of the parameter to enhance different degrees of leak signals online in real-time, and the proposed method is evaluated using two field pipelines. The experimental results demonstrate that this method is suitable not only for enhancing slowly increasing leaks but also for enhancing abrupt leaks. Keywords: leak detection; pressure signal; digital compensator; slowly increasing leak 1. Introduction Many pipelines, such as chemical feedstock transportation pipelines, urban gas pipelines, and water pipelines, suffer from leaks which may occur because of corrosion, aging pipelines, or third party damages [1–5]. Nowadays, researchers have developed many leak monitoring systems which mainly have three steps: (1) sensing signals through sensors, (2) leak diagnosis, and (3) leak location. Therefore, the effectiveness of leak signals is crucial for pipeline leak detection. When a pipeline leak occurs, the leak of the medium will cause many physical changes, such as the pressure, strain, acoustic wave. For the heated medium, the temperature would also vary. These physical variables can be measured by the sensors installed on the pipeline. Moreover, the most widely used sensors are the optical fiber sensors [6,7], acoustic transducers [8–11] and pressure transducers [12–15]. The fiber optical sensors can sense leak signals by monitoring temperature, strain, or acoustic signals based on laying a long sensing cable along the outside of a pipeline [7,16,17]. This method has been widely applied in pipeline leak detection thanks to its high sensitivity and reliability [16,18]. However, the laying and maintenance of fiber optical sensors are often costly and difficult, especially for underground pipelines. The acoustic transducers are installed on both ends of the pipeline and can monitor a pipeline leak by measuring relative pressure [19]. As presented in [20,21], the acoustic transducer has a wide frequency response and high sensitivity. Moreover, the waveform of the acoustic signal is sharp, which helps the accurate location of a leak. Therefore, the acoustic transducer is widely employed in pipeline leak detection [22–25]. However, the acoustic transducers cannot sense slowly increasing leaks. In this paper, pipeline leaks are divided into abrupt and slowly increasing leaks according to whether the leak _Sensors_ 2019, _19_ [, 4317; doi:10.3390/s19194317](http://dx.doi.org/10.3390/s19194317) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2019, _19_, 4317 2 of 16 aperture changes slowly. It is important to note that the slowly increasing leak is not the same as the small leak. Compared with acoustic transducers, pressure transducers are used to measure absolute pressure. Furthermore, almost all pipelines have been equipped with pressure transducers due to their stability and low cost. However, the pressure changes caused by the leak are too small in contrast to the pressure fluctuation and whole pressure transducer range [12,19,26], particularly for slowly increasing leaks. Additionally, the infection point of a slowly increasing leak signal is difficult to obtain accurately, which will influence the precision of the leak location. Nevertheless, the pressure signal can still record the pressure drop process caused by a slowly increasing leak, which provides the possibility of detecting the slowly increasing leak. Therefore, after taking into account the cost and ability to measure slowly increasing leaks, this paper designs a digital compensator based on the advantages of the acoustic transducer to enhance pressure signals of slowly increasing leaks. Moreover, the input and output of the digital compensator are the pressure signals and the compensated signals, respectively. According to the frequency response of the digital compensator, the pressure signals of slowly increasing leaks can be enhanced by adjusting the parameter (the discretization frequency _f_ s) of the digital compensator. Hence, a parameter adaptive adjustment method is proposed to real-time online enhance pressure signals of with different degrees of leaks. The rest of this paper is organized as follows. Section 2 describes the methodology including the development and the stability analysis of the digital compensator, the signal enhancement principle of slowly increasing leaks, the adaptive adjustment of parameters, and the leak detection and location. Section 3 describes the field experiments. The conclusions of this study are summarized in Section 4. 2. Methodology In practice, slowly increasing leaks may occur during the pipeline pressure regulation process (increase, decrease, or fluctuation). Figure 1 shows some instances of slowly increasing leaks coming from the pressure transducers installed on the crude oil pipeline. Moreover, the specific parameters of the field pipeline are given in Section 3. As can be seen, leak pressures are highly susceptible to the static pressure of the pipeline, and their waveforms are smoother and milder. Moreover, these characteristics make slowly increasing leaks hard to identify. Consequently, the purpose of the digital compensator is to compensate for these characteristics and enhance pressure signals. Figure 1. Typical slowly increasing leak signals. _Sensors_ 2019, _19_, 4317 3 of 16 As the analysis in Section 1, the acoustic and pressure transducers have a certain complementarity. Therefore, the digital compensator is developed based on the acoustic transducer. Figure 2 shows the structure and physical diagram of the acoustic transducer that is composed of a piezoelectric acoustic sensor and signal conditioning circuit. Figure 2. Acoustic transducer: ( a ) structure, ( b ) physical diagram. _2.1._ _Development of the Digital Compensator_ Based on the acoustic transducer (Figure 2), the structure of the digital compensator is shown in Figure 3, where the input _P_ ( _z_ ) is the original pressure signal from the pressure transducer and the output _P_ c( _z_ ) is the compensated signal. Moreover, the _H_ p( _s_ ), _H_ c( _s_ ), _H_ h( _s_ ), _Hl_ ( _s_ ), and _H_ a( _s_ ) are the transfer functions of the piezoelectric acoustic sensor, charge amplifier (Figure 4a), first-order high-pass filter (Figure 4b), second-order low-pass filter (Figure 4c) and amplifier (Figure 4d), respectively. Figure 3. Structure of the digital compensator. Figure 4. Analog circuit diagram: ( a ) charger amplifier, ( b ) high-pass filter, ( c ) low-pass filter, ( d ) amplifier. _Sensors_ 2019, _19_, 4317 4 of 16 Since the internal parameters and structure of the piezoelectric acoustic sensors produced by different manufacturers vary widely, and these specific data are confidential to the customer, it is impossible to establish a corresponding mechanism model based on the structure of the sensor. The ideal operating state of a senor is the linear relationship between input and output. Moreover, for the customer of the sensor, the known parameters are its sensitivity and range. Based on this, the _H_ p( _s_ ) is expressed as: _H_ p( _s_ ) = _A_ p (1) where _A_ p is the sensitivity coefficient of the piezoelectric acoustic sensor. Moreover, according to the principle of analog circuit shown in Figure 4, the _H_ c( _s_ ), _H_ h( _s_ ), _Hl_ ( _s_ ), and _H_ a( _s_ ) are: _H_ c( _s_ ) = <sup>_<u>−R</u>_</sup> <sup><u>c</u></sup> <sup>_<u>s</u>_</sup> (2) _τ_ c _s_ + 1 <u>(</u> _<u>τ</u>_ <u>h</u> _<u>s</u>_ <u>)</u> <sup>2</sup> _H_ h( _s_ ) = (3) ( _τ_ h _s_ ) <sup>2</sup> + 2 _τ_ h _s_ + 1 <u>1</u> _Hl_ ( _s_ ) = (4) ( _τls_ ) <sup>2</sup> + 2 _τls_ + 1 _H_ a( _s_ ) = _A_ a (5) where _R_ c is the feedback resistance of the charge amplifier; _τ_ c, _τ_ h, and _τl_ are the time constant of the charge amplifier, high- and low-pass filters; _A_ a is the gain of the amplifier. Hence, the continuous model _H_ ( _s_ ) is: _H_ ( _s_ ) = _H_ p( _s_ ) _H_ c( _s_ ) _H_ h( _s_ ) _Hl_ ( _s_ ) _H_ a( _s_ ) = <sup>_−A_</sup> <sup><u>p</u></sup> <sup>_<u>A</u>_</sup> <sup><u>a</u></sup> <sup>_<u>R</u>_</sup> <sup><u>c</u></sup> 4 ∏ _m_ =1 _τ_ c _τl_ <sup>2</sup> _<u>s</u>_ <sup>2</sup> ( _s_ + 1/ _τm_ ) (6) _l_ where _τ_ 1 = _τ_ c, _τ_ 2 = _τ_ h, and _τ_ 3 = _τ_ 4 = _τl_ . Then, a bilinear transformation method is used to discretize the continuous model _H_ ( _s_ ). Moreover, the discrete model _H_ ( _z_ ) can be expressed as: _H_ ( _z_ ) = _−_ 4 _Aτ_ h _f_ s <sup>2</sup> 4 ∏ _m_ =1 (2 _f_ s _τm_ + 1)( _z −_ <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 <u>(</u> _<u>z −</u>_ <u>1)</u> <sup>2</sup> <u>(</u> _<u>z</u>_ <u>+ 1)</u> <sup>2</sup> (7) <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 <sup>)</sup> where _A_ = _A_ p _A_ a _R_ c; _f_ s is the discretization frequency, and it has the same definition with the sampling frequency. According to the _Z_ inverse transformation of Equation (7), the backward difference equation is: 4 ### ∑ _m_ =0 _amP_ c( _k −_ _m_ ) = 4 ### ∑ _n_ =0 _bnP_ ( _k −_ _n_ ) (8) where _k_ represents the sampling time, and the values of the coefficients _am_ and _bn_ can be calculated with Equation (9). _q_ <sup>2</sup> _l_ <sup>+ 2</sup> <sup>_ql_</sup> <sup>(</sup> <sup>_q_</sup> <sup>c +</sup> <sup>_q_</sup> <sup>h) +</sup> <sup>_q_</sup> <sup>c</sup> <sup>_q_</sup> <sup>h</sup> 8 _Aτ_ h _f_ s <sup>2</sup> _−ql_ ( _q_ c _ql_ + _qlq_ h + 2 _q_ c _q_ h) 0 _q_ c _q_ h _q_ <sup>2</sup> _l_ _−_ 4 _Aτ_ h _f_ s <sup>2</sup> 1 _−_ 4 _Aτ_ h _f_ s <sup>2</sup> <sup>2</sup> _l_ _−_ 4 _Aτ_ h _f_ s <sup>2</sup>   _a_ 0 _b_ 0 _a_ 1 _b_ 1 _a_ 2 _b_ 2 _a_ 3 _b_ 3 _a_ 4 _b_ 4   s <sup>2</sup> _q_ c = <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup><u>c</u></sup> c <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 _q_ h = 2 <sup><u>2</u></sup> _f_ <sup>_<u>f</u>_</sup> s <sup><u>s</u></sup> _τ_ <sup>_<u>τ</u>_</sup> h <sup><u>h</u></sup> + <sup>_<u>−</u>_</sup> 1 <sup><u>1</u></sup> _ql_ = 2 <sup><u>2</u></sup> _f_ <sup>_<u>f</u>_</sup> s <sup><u>s</u></sup> _τ_ <sup>_<u>τ</u>_</sup> _l_ <sup>_<u>l</u>_</sup> + <sup>_<u>−</u>_</sup> 1 <sup><u>1</u></sup> =   1 _−_ 4 _Aτ_ h _f_ s <sup>2</sup> _−_ ( _q_ c + _q_ h + 2 _q_ l) 0 _q_ <sup>2</sup> _l_ <sup>+ 2</sup> <sup>_ql_</sup> <sup>(</sup> <sup>_q_</sup> <sup>c +</sup> <sup>_q_</sup> <sup>h) +</sup> <sup>_q_</sup> <sup>c</sup> <sup>_q_</sup> <sup>h</sup> 8 _Aτ_ h _f_ s <sup>2</sup> ,    (9)   _Sensors_ 2019, _19_, 4317 5 of 16 So far, the digital compensator is established. Moreover, its input and output are the original pressure signal _P_ ( _k_ ) and the compensated signal _P_ c( _k_ ), respectively. Equations (6)–(8) are its continuous, discrete, and backward difference forms. _2.2._ _Stability Analysis of the Digital Compensator_ According to Equation (7), the poles of the digital compensator _H_ ( _z_ ) are: _pi_ = <sup><u>2</u></sup> <sup>_<u>f</u>_</sup> <sup><u>s</u></sup> <sup>_<u>τi −</u>_</sup> <sup><u>1</u></sup> (10) 2 _f_ s _τi_ + 1 where _i_ = 1, 2, 3, 4; _τ_ 1 = _τ_ c, _τ_ 2 = _τ_ h, and _τ_ 3 = _τ_ 4 = _τl_ . As the discretization frequency _f_ s and the time constant _τi_ are both positive, then: _f_ lims _→_ 0 <sup>(2</sup> <sup>_f_</sup> <sup>s</sup> <sup>_τi_</sup> <sup>) = 0 and 2</sup> <sup>_f_</sup> <sup>s</sup> <sup>_τi −_</sup> <sup>1</sup> <sup>_<_</sup> <sup>2</sup> <sup>_f_</sup> <sup>s</sup> <sup>_τi_</sup> <sup>+ 1</sup> (11) Hence, the pole _pi_ satisfies: (12) ���� _<_ 1 _|pi|_ = ���� <u>22</u> _<u>ff</u>_ <u>ss</u> _<u>ττii −</u>_ + 11 According to Equation (12), the digital compensator is stable with _f_ s _>_ 0 and _τi_ _>_ 0. _2.3._ _Pressure Signal Enhancement Principle of Slowly Increasing Leaks_ The frequency response _H_ ( _e_ <sup>_jω_</sup> ) of the digital compensator _H_ ( _z_ ) (Equation (7)) is: _H_ ( _e_ <sup>_jω_</sup> ) = _H_ ( _z_ ) _|z_ = _ejω_ = _−_ 4 _Aτ_ h _f_ s <sup>2</sup> 4 ∏ _m_ =1 (2 _f_ s _τm_ + 1)( _e_ <sup>_jω_</sup> _−_ <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 <u>(</u> _<u>e</u>_ <sup>_jω_</sup> _<u>−</u>_ <u>1)</u> <sup>2</sup> <u>(</u> _<u>e</u>_ <sup>_jω_</sup> <u>+ 1)</u> <sup>2</sup> (13) <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 <sup>)</sup> According to Euler’s formula ( _e_ <sup>_jω_</sup> = cos _ω_ + _j_ sin _ω_ ), Equation (13) can be rewritten as: _H_ ( _e_ <sup>_jω_</sup> ) = _−_ 4 _Aτ_ h _f_ s <sup>2</sup> <u>(cos</u> _<u>ω −</u>_ <u>1 +</u> _<u>j</u>_ <u>sin</u> _<u>ω</u>_ <u>)</u> <sup>2</sup> <u>(cos</u> _<u>ω</u>_ <u>+ 1 +</u> _<u>j</u>_ <u>sin</u> _<u>ω</u>_ <u>)</u> <sup>2</sup> 4 ∏ _m_ =1 (2 _f_ s _τm_ + 1)(cos _ω −_ 2 <sup><u>2</u></sup> _f_ <sup>_<u>f</u>_</sup> s <sup><u>s</u></sup> _τ_ <sup>_<u>τ</u>_</sup> _m_ <sup>_<u>m</u>_</sup> + <sup>_<u>−</u>_</sup> 1 <sup><u>1</u></sup> <sup>+</sup> <sup>_j_</sup> <sup>sin</sup> <sup>_ω_</sup> <sup>)</sup> <u>(</u> _<u>−</u>_ <u>sin</u> _<u>ω</u>_ <u>+</u> _<u>j</u>_ <u>cos</u> _<u>ω</u>_ <u>)</u> <sup>2</sup> s <sup>2</sup> <sup>sin2</sup> <sup>_ω_</sup> 4 (14) = _−_ 16 _Aτ_ h _f_ s <sup>2</sup> 4 ∏ _m_ =1 (2 _f_ s _τm_ + 1)(cos _ω −_ <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 <sup><u>2</u></sup> 2 <sup>_<u>f</u>_</sup> _f_ <sup><u>s</u></sup> s <sup>_<u>τ</u>_</sup> _τ_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>−</u>_</sup> + <sup><u>1</u></sup> 1 <sup>+</sup> <sup>_j_</sup> <sup>sin</sup> <sup>_ω_</sup> <sup>)</sup> Hence, the amplitude response �� _H_ ( _ejω_ )�� (the specific derivation is given in Appendix A) is: <sup>2</sup> - + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan ��� _H_ ( _ejω_ )��� = 20 lg - _Aτ_ c _τ_ h <sup>2</sup> h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�</u> <u>�2</u> 2 _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ c <sup>2</sup> _τl_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <sup>+ 20 lg</sup> _τ_ c <sup>2</sup> _τ_ h <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan h <sup>2</sup> <sup>+</sup> _l_ <sup>2</sup> <sup>+</sup> <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> (15) <u>�</u> <u>�2</u> 2 _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 According to Equation (15), it can be concluded that: (1) the _f_ s is the scale factor, (2) _A_ is the translation step, and (3) _τ_ c, _τ_ h, and _τl_ have both scale and translational effects. Figure 5 shows the amplitude response �� _H_ ( _ejω_ )�� varying with the parameters ( _f_ s, _A_, _τ_ c, _τ_ h, and _τl_ ) and the corresponding cutoff frequency is given in Table 1. It is important to note that: (1) when a parameter is a variable, other parameters are set to fixed values ( _f_ s = 100 Hz, _τ_ c = 4 s, _τ_ h = 2 s, _τl_ = 0.01 s Figure 5 shows the amplitude response _Sensors_ 2019, _19_, 4317 6 of 16 and _A_ = _A_ p _A_ a _R_ c = 5.348 _×_ 10 <sup>_−_</sup> <sup>11</sup> C/Pa _×_ 3 _×_ 2 _×_ 10 <sup>10</sup> Ω = 3.21 Ω _×_ C/Pa); and (2) according to the structure of the digital compensator, the cutoff frequency of the charge amplifier, high-pass filter and low-pass filter should be _f_ c _<_ _f_ h _<_ _fl_, since _f_ = (2 _πτ_ ) <sup>_−_</sup> <sup>1</sup>, the change of _τ_ c, _τ_ h and _τl_ needs to satisfy _τ_ c _>_ _τ_ h _>_ _τl_ . It can be seen from Figure 5 and Table 1 that the parameters _f_ s, _τ_ c, _τ_ h, and _τl_ play a telescopic effect on the amplitude response �� _H_ ( _ejω_ )��, in which the effect of _f_ s and _τl_ is obvious. Based on the above analysis, the amplitude response �� _H_ ( _ejω_ )�� changes with the frequency, that is, the digital compensator _|H_ ( _z_ ) _|_ can selectively pass and amplify certain frequencies of the pressure signal. Therefore, the digital compensator has a frequency selective characteristic, and these passing frequencies are determined by the parameters _f_ s, _τ_ c, _τ_ h, and _τl_ . Different leak pressure signals have different frequency distributions, as illustrated in Figure 6. Therefore, in order to enhance pressure signals, the pass-band of the digital compensator should be matched or overlapped with the frequency band of the leak pressure signals, which can be achieved by adaptively adjusting the parameters _f_ s, _τ_ c, _τ_ h, and _τl_ of the digital compensator. Since the adjustment of the _τ_ c, _τ_ h, and _τl_ needs to satisfy _τ_ c _>_ _τ_ h _>_ _τl_, this study adjusts only the discretization frequency _f_ s. Figure 5. Waveforms of ��� _H_ ( _ejω_ )��� with different parameters: ( a ) _f_ s, ( b ) _A_, ( c ) _τ_ c, ( d ) _τ_ h, ( e ) _τl_ . _Sensors_ 2019, _19_, 4317 7 of 16 Figure 6. Frequency distributions of leak pressure signals: ( a ) example 1, ( b ) example 2. Table 1. The effect of different parameters on the cutoff frequency result of the model. <u>Cutoff Frequency (rad)</u> Parameters Values <u>Lower</u> <u>Upper</u> _f_ s (Hz) _A_ (Ω _×_ C/Pa) _τ_ c (s) _τ_ h (s) _τl_ (s) 100 0.0058 0.6292 500 0.0011 0.1299 1000 0.0005 0.0650 <u>2000</u> <u>0.0002</u> <u>0.0325</u> 7 0.0058 0.6292 10 0.0058 0.6292 50 0.0058 0.6292 <u>100</u> <u>0.0058</u> <u>0.6292</u> 3 0.0064 0.6298 20 0.0049 0.6284 50 0.0049 0.6284 <u>100</u> <u>0.0049</u> <u>0.6284</u> 0.5 0.0192 0.6487 1 0.0103 0.6357 2 0.0058 0.6292 <u>3</u> <u>0.0045</u> <u>0.6273</u> 0.001 0.0059 2.5386 0.01 0.0058 0.6292 0.1 0.0052 0.0721 1 0.0030 0.0120 _A_ = _A_ p _A_ a _R_ c, and its unit is Ω _×_ C/Pa because _A_ p is the sensitivity coefficient of the piezoelectric acoustic sensor, and its unit is C/Pa; _A_ a is the gain of the amplifier and is dimensionless, and _R_ c is the feedback resistance of the charge amplifier and its unit is Ω. To sum up, the key to the enhancement of slowly increasing leaks is that the digital compensator has suitable parameters. _Sensors_ 2019, _19_, 4317 8 of 16 _2.4._ _Adaptive Adjustment of the Discretization Frequency_ _f_ s The discretization frequency _f_ s should satisfy Nyquist sampling theorem: _f_ s _≥_ 2 _f_ max (16) where _f_ max is the maximum frequency of the signal. Since the sampling frequency _f_ of pressure signals have satisfied this theorem, the _f_ s can be selected from the values greater than the _f_ ( _f_ s _≥_ _f_ ). Figure 7 shows the time-domain waveforms of compensated signals with different discretization frequency _f_ s. When _f_ s = 2000 Hz, the waveform of the compensated signal almost reproduces the pressure signal except for the amplitude and polarity. Therefore, when _f_ s increases to a certain extent, the digital compensator has almost no selectivity for the pressure signal, that is the corresponding compensated signal is not enhanced. At this time, the width of the leak waveform in the compensated signal is approximate to the width in the pressure signal. And the better performing parameters should make the former smaller than the latter, as the _f_ s = 200 Hz shown in Figure 7. Figure 7. Compensated signals with different discretization frequency _f_ s. According to the above analysis, the width characteristic of the signal can further constrain the range of the _f_ s. Based on the signal decomposition method [27], a compensated signal is decomposed into sub-signals, and the sub-signal width of the maximum peak is taken as its width characteristic which is denoted as _WP_ c ( _f_ s), as shown in Figure 8. Similarly, the pressure signal is divided into intervals based on extreme points. The width between the largest drop interval and the adjacent ascending interval in the pressure signal is taken as the width characteristic of the pressure signal and is denoted as _WP_, as shown in Figure 8. Then, the _f_ s should make the _WP_ c ( _f_ s) smaller than the _WP_ . Therefore, the constraints of parameter _f_ s are s.t. _f_ s _≥_ _f_ and _WP_ c ( _f_ s) _> WP_ (17) The signal-to-noise ratio (SNR) of the compensated signal is an indicator that can evaluate whether the pressure signal is enhanced. However, the SNR calculation depends on the signal abnormality, which is unknown before leak detection [27]. Therefore, it is not feasible to directly use SNR as an indicator to select an appropriate _f_ s. Moreover, the better performing compensated signal has two characteristics: (1) its leak amplitude is significantly larger than the normal, and (2) it is evenly distributed around zero. The former can be described by the standard deviation, and the latter can be _Sensors_ 2019, _19_, 4317 9 of 16 represented by the number of intervals in which the signal can be decomposed by its zero crossings. Hence, this paper proposes the optimization goal shown below: max _J_ = _cσ_ + (1 _−_ _c_ ) _M_ (18) where _σ_ is the standard deviation of the normalized signal; _M_ is the number of intervals [27]; _c_ is the penalty factor and is determined by: _c_ = <sup><u>1</u></sup> _N_ _ne_ ( _i_ ) _−_ _ns_ ( _i_ ) _|_ max _{P_ [ _ne_ ( _i_ )] _−P_ [ _ns_ ( _i_ )] _}_ (19) where _N_ is the data length of the signal; _ne_ ( _i_ ) is the end position of the _i_ th drop interval; and _ns_ ( _i_ ) is the start position of the _i_ th drop interval. Therefore, under the constraint shown in Equation (17), the optimized _f_ s should make the optimization goal maximize. Figure 9 shows the original pressure signal and the compensated signals with the optimized _f_ s, where _c_ is 0.221 and 0.044, respectively. As can be seen, the waveforms of the compensated signals are sharp, and the infection points are obvious. Therefore, the pressure signals are enhanced by the digital compensator with suitable parameters. Figure 8. Width characteristic. Figure 9. Pressure signals and compensated signals with the optimized _f_ s. _2.5._ _Leak Detection and Location_ After the signal enhancement, these signals should be judged whether they are leak signals, which can be achieved by signal conditioning or machine learning. This paper uses the leak detection method based on model-free abnormal acoustic signal isolation [27], and the equation of leak location is [27] _xL_ = <sup><u>1</u></sup> (20) 2 <sup>(</sup> <sup>_L_</sup> <sup>+</sup> <sup>_a_</sup> <sup>∆</sup> <sup>_t_</sup> <sup>)</sup> _Sensors_ 2019, _19_, 4317 10 of 16 where _xL_ is the distance from the leak point to the upstream sensor; _a_ is the velocity of signals propagating inside the pipeline; _L_ is the length between the upstream and downstream sensors; and ∆ _t_ is the time difference of the upstream and downstream leak signals, which can be calculated by Equations (21)–(23). _N_ ### ∑ _i_ =1 _Rxy_ (∆ _n_ ) = lim _N→_ +∞ <u>1</u> _N_ _x_ ( _i_ ) _y_ ( _i_ + ∆ _n_ ) (21) _Rxy_ (∆ _n_ 0) = max _Rxy_ (∆ _n_ ) (22) ∆ _t_ = _T ×_ ∆ _n_ 0 (23) where _Rxy_ is the cross-correlation coefficient; ∆ _n_ is the delay points, ∆ _n_ 0 is the delay points corresponding to the maximum of the cross-correlation coefficient _Rxy_ ; _N_ is the data length of a signal; _x_ ( _i_ ) is the upstream signal; and _y_ ( _i_ ) is the downstream signal. 3. Field Experiments In order to verify the effectiveness of the method based on the digital compensator, two field pipelines (a naphtha pipeline and a crude oil pipeline) are used. Figure 10 shows the installation diagram of the transducers on field pipelines. Their parameters are presented in Table 2, and the fixed parameters _A_ p, _R_ c, _A_ a, _τ_ c, _τ_ h, and _τl_ of the digital compensator, referring to the acoustic transducer, are set to 5.348 _×_ 10 <sup>_−_</sup> <sup>11</sup> C/Pa, 2 _×_ 10 <sup>10</sup> Ω, 3, 4 s, 2.209 s, and 0.01 s, respectively. In the naphtha pipeline, there were 15 abrupt leaks conducted on 20 and 21 November 2013. In the crude oil pipeline, 13 slowly increasing leaks were conducted on 27 October 2016 and 11 December 2017. Figure 10. The installation of transducers on pipelines. Table 2. Parameters of the two field pipelines. <u>Pipeline</u> Parameters <u>Naphtha</u> <u>Crude Oil</u> Total Length (km) 15.511 19.356 Pipe Diameter (mm) 150 219 Leak size (mm) 4 and 8 2 Sound Velocity (m _·_ s <sup>_−_</sup> <sup>1</sup> ) 1055 900 Upstream Pressure (MPa) 2.18 0.80 Downstream Pressure (MPa) 0.48 0.1 Leak Location from upstream (km) 9.476 8.5 Sampling Frequency (Hz) 50 100 Pressure Sensor Type STG74S of Honeywell Acoustic Sensor Type Dynamic pressure sensor Sensor Location Installed on both ends of the pipeline _Sensors_ 2019, _19_, 4317 11 of 16 _3.1._ _Case Study_ (1) Slowly increasing leaks Figure 11 is the case of a slowly increasing leak generated when the upstream pressure was steady, and the downstream was fluctuating. Owing to the fluctuation, the identification of the infection points of the downstream pressure signal becomes more difficult, and the acoustic signal of the slowly increasing leak is submerged in the noise. However, the compensated signal ( _fs_ = 236 Hz) of the downstream becomes a noticeable pulse, which facilitated its detection. The _fs_ corresponding to the compensated signal of the upstream is 181 Hz. And the SNRs corresponding to the pressure signals, the acoustic signals, and the compensated signal are (upstream: 3.7719 dB, downstream: 0.0131 dB), (upstream: 9.4516 dB, downstream: 0.3084 dB), and (upstream: 20.2370 dB, downstream: 5.8836 dB), respectively. As can be seen, the compensated signals are the best. Figure 12 illustrates the case of a slowly increasing leak occurred when the upstream pressure was steady, and the downstream was rising. As can be seen, the leak pressure drop propagated from the leak point to the downstream was offset by the upward trend of the downstream pressure. However, as the acoustic transducer and the digital compensator can eliminate static pressure, the leak is noticeable in the acoustic signal and compensated signal (upstream: _fs_ = 116 Hz, downstream: _fs_ = 100 Hz). Moreover, the SNRs of the compensated signals (upstream: 12.1120 dB, downstream: 12.0793 dB) are greater than the acoustic signals (upstream: 5.9677 dB, downstream: 0.8939 dB). Figure 11. The case of the pressure fluctuation. Figure 12. The case of the pressure rising. _Sensors_ 2019, _19_, 4317 12 of 16 Figure 13 shows the case of a slowly increasing leak generated when the upstream pressure was steady and the downstream was falling. The leak pressure drop captured by the pressure transducer of the downstream is hardly distinguishable from the pressure signal. However, the leak in the acoustic signals and the compensated signals (upstream: 184 Hz, downstream: 100 Hz) is more visible, and the corresponding SNRs are (upstream: 9.3254 dB, downstream: 3.4554 dB) and (upstream: 14.7680 dB, downstream: 10.5375 dB), respectively. (2) Abrupt leaks Figure 14 shows the case of an abrupt leak. The SNRs of the pressure signals, the acoustic signals, and the compensated signal are (upstream: 0.2291 dB, downstream: 0.0883 dB), (upstream: 17.8417 dB, downstream: 15.2260 dB), and (upstream: 17.7724 dB, downstream: 15.8009 dB), respectively, and the _f_ s of the upstream and downstream compensated signals is 58 Hz and 80 Hz. From the perspective of the waveform, these signals are obvious. From the perspective of the SNR, the acoustic and compensated signals are greater than the pressure signals, and the acoustic signals and the compensated signals are approximately equal. Figure 13. The case of the pressure falling. Figure 14. The case of an abrupt leak. In summary, the proposed method is suitable not only for slowly increasing leaks but also for abrupt leaks. _3.2._ _Comparison of Leak Detection and Location_ To further prove the validity of the compensated signal, the leak detection and location results of the pressure signals, acoustic signals, and compensated signals are compared. The negative pressure _Sensors_ 2019, _19_, 4317 13 of 16 wave method [12] is used to detect the leak pressure signals, and the model-free method [27] is for the leak detection of acoustic signals and compensated signals. (1) Data set. The data set includes 28 leak samples and 200 normal samples of which 15 abrupt leak samples and 100 normal samples are from the naphtha pipeline, and the rest (13 slowly increasing leak samples and 100 normal samples) are from the crude oil pipeline. (2) Parameter settings. The alarm thresholds of the negative pressure wave method were set as 10 KPa (naphtha pipeline) and 1 KPa (crude oil pipeline) based on the leak samples (randomly selected) from the data set, and the model-free method does not require parameter setting. (3) Comparison results. The leak detection and location results are listed in Table 3. For the abrupt leaks from the naphtha pipeline, there is no missing alarm with the acoustic signals and compensated signals, but the pressure signals reached 46.67%. For the slowly increasing leaks from the crude oil pipeline, the compensated signals have no missing alarm, but the pressure signals and acoustic signals were 61.54% and 53.85%, respectively. Additionally, the location error of the pressure signals is the maximum, and the location errors of the acoustic signals and compensated signals are small. Therefore, the performance of compensated signals is better than the others for leak (abrupt leak or slowly increasing leak) detection. For the normal samples, the false alarm rate of acoustic signals is the lowest, followed by compensated signals and pressure signals. However, the missing alarm rate of acoustic signals and pressure signals is high. After comprehensive consideration of the missing alarm rate and false alarm rate, the compensated signals are the best. Table 3. Leak detection and location results of the compensated signals, acoustic signals, and pressure signals. <u>Pipeline</u> <u>Signal</u> <u>Missing Alarm Rate</u> <u>(%)</u> <u>False Alarm Rate</u> <u>(%)</u> <u>Maximum Relative Error</u> <u>(%)</u> Naphtha Crude oil Compensated signal 0 0 0.29 Acoustic signal 0 0 0.26 <u>Pressure Signal</u> <u>46.67</u> <u>0</u> <u>9.03</u> Compensated signal 0 2 0.28 Acoustic signal 61.54 0 0.30 Pressure Signal 53.85 5 10.68 Missing alarm rate= (Total leak number _−_ Correct leak alarm number)/Total leak number%. False alarm rate = False alarm number/Total normal number%. Relative error = |Leak location-Pipeline length|/Pipeline length%. 4. Conclusions An enhancement method based on the digital compensator was proposed for the slowly increasing leaks, and the digital compensator is developed according to the advantages of the acoustic transducer. It can not only overcome the effects of static pressure on signals but also converts the slowly decreasing pressure into a noticeable pulse. Based on the adaptive adjustment of the parameter (discretization frequency _f_ s), both abrupt and slowly increasing leaks can be enhanced online in real-time. The experimental results indicated the better performance of the compensated signals compared with the pressure signals and the acoustic signals. Author Contributions: Investigation, F.W.; methodology, F.W. and W.L.; software, F.W.; supervision, Z.L. and X.Q.; validation, W.L.; writing—original draft, F.W.; writing—review and editing, Z.L. Funding: This work was supported by the National Key Research and Development Program of China (2016YFC0801913-06). Acknowledgments: The authors thank Elsevier Service for their linguistic assistance in the preparation of this manuscript and YueYang for providing support in building the experimental platform. Conflicts of Interest: The authors declare no conflict of interest. _Sensors_ 2019, _19_, 4317 14 of 16 Appendix A To prove: - + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan ��� _H_ ( _ejω_ )��� = 20 lg - _Aτ_ c _τ_ h <sup>2</sup> h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <u>�s</u> _<u>τ</u>_ 2c _fτ_ sh _ττ_ c _τl_ <u>tanh</u> _τl_ tan <sup>_<u>ω</u>_</sup> <u>2</u> <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <sup>+ 20 lg</sup> _τ_ c <sup>2</sup> _τ_ h <sup>2</sup> <sup>+</sup> <u>2</u> _<u>f</u>_ <u>�s</u> _<u>τ</u>_ 2c _fτ_ sh _ττ_ c _τl_ <u>tanh</u> _τl_ tan <sup>_<u>ω</u>_</sup> <u>2</u> + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ c <sup>2</sup> _τl_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan h <sup>2</sup> <sup>+</sup> <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> (A1) <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> _l_ <sup>2</sup> <sup>+</sup> Proof. According to Equation (14), the  �� _H_ ( _ejω_ )�� is: <u>16</u> _<u>Aτ</u>_ <u>h</u> _<u>f</u>_ <u>s</u> <sup>2</sup> <sup><u>sin2</u></sup> <sup>_<u>ω</u>_</sup> <sup><u>(sin2</u></sup> <sup>_<u>ω</u>_</sup> <sup><u>+ cos2</u></sup> <sup>_<u>ω</u>_</sup> <sup><u>)</u></sup> ��� _H_ ( _ejω_ )��� = 20 lg Since     4 ∏ _m_ =1 <u>�[(2</u> _f_ s _τm_ + 1) cos _ω −_ (2 _f_ s _τm −_ 1)] <sup>2</sup> + [(2 _f_ s _τm_ + 1) sin _ω_ ] <sup>2</sup>    (A2)   sin _ω_ = <u>2 tan</u> <sup>_<u>ω</u>_</sup> <u>2</u>, cos _ω_ = <sup><u>1</u></sup> <sup>_−_</sup> <sup><u>tan2</u></sup> <sup>_<u>ω</u>_</sup> <u>2</u>, sin <sup>2</sup> _ω_ + cos <sup>2</sup> _ω_ = 1 (A3) 1 + tan <sup>2</sup> <sup>_<u>ω</u>_</sup> 2 1 + tan <sup>2</sup> <sup>_<u>ω</u>_</sup> 2 Equation (A2) can be rewritten as:       ��� _H_ ( _ejω_ )��� = 20 lg = 20 lg = 20 lg = 20 lg     _Aτ_ h     <sup>_Aτ_</sup> <sup>h</sup> _Aτ_ h 4 ∏ _m_ =1 <u>16</u> _<u>Aτ</u>_ <u>h</u> _<u>f</u>_ <u>s</u> <sup>2</sup> <sup><u>sin2</u></sup> <sup>_<u>ω</u>_</sup> <u>�[(2</u> _f_ s _τm_ + 1) cos _ω −_ (2 _f_ s _τm −_ 1)] <sup>2</sup> + [(2 _f_ s _τm_ + 1) sin _ω_ ] <sup>2</sup> <u>2</u> _<u>f</u>_ <u>s sin</u> _<u>ω</u>_ (4 _f_ s <sup>2</sup> _τm_ <sup>2</sup> + 1) _−_ (4 _f_ s <sup>2</sup> _τm_ <sup>2</sup> _−_ 1) cos _ω_ <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> 1 + 4 _f_ s <sup>2</sup> _τm_ <sup>2</sup> tan <sup>2</sup> <sup>_<u>ω</u>_</sup> 2 4 ### ∏ _m_ =1 4 ### ∏ _m_ =1 4 ### ∏ _m_ =1 - <u>2 tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> - 2 _f_ s - <u>1+tan</u> <sup>2</sup> <sup>_<u>ω</u>_</sup> <u>2</u> - <u>2</u> (4 _f_ s <sup>2</sup> _τm_ <sup>2</sup> + 1) _−_ (4 _f_ s <sup>2</sup> _τm_ <sup>2</sup> _−_ 1) 1 <sup><u>1</u></sup> + <sup>_<u>−</u>_</sup> tan <sup><u>tan22</u></sup> <sup>_<u>ωω</u>_</sup> 2     According to the logarithmic algorithm, Equation (A4) can be decomposed into: ��� _H_ ( _ejω_ )��� =20 lg ( _Aτ_ h) + 10 lg <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> 1 + 4 _f_ s <sup>2</sup> _τ_ c <sup>2</sup> tan <sup>2</sup> <sup>_<u>ω</u>_</sup> 2 + 10 lg <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> 1 + 4 _f_ s <sup>2</sup> _τ_ h <sup>2</sup> <sup>tan2</sup> <sup>_<u>ω</u>_</sup> 2 + 20 lg <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <sup>_<u>ω</u>_</sup> 2 1 + 4 _f_ s <sup>2</sup> _τl_ <sup>2</sup> <sup>tan2</sup> <sup>_<u>ω</u>_</sup> 2 2 The last three items on the right side of the above equation are processed as follows: (A4) (A5) (A6) (A7) 10 lg <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> = 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> 1 + 4 _f_ s <sup>2</sup> _τ_ c <sup>2</sup> tan <sup>2</sup> <sup>_<u>ω</u>_</sup> 2 _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> 10 lg <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> 1 + 4 _f_ s <sup>2</sup> _τ_ h <sup>2</sup> <sup>tan2</sup> <sup>_<u>ω</u>_</sup> 2 = 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�</u> <sup>_<u>ω</u>_</sup> 2 _τ_ c <sup>2</sup> _τl_ <sup>2</sup> <sup>+</sup> 2 _f_ s _τ_ c _τ_ h _τl_ tan _l_ <sup>2</sup> <sup>+</sup> <u>�s</u> _<u>τ</u>_ 2c _fτ_ sh _ττ_ c _τl_ <u>tanh</u> _τl_ tan <sup>_<u>ω</u>_</sup> <u>2</u> <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <sup>_−_</sup> <sup>10 lg</sup> _τ_ <sup>_<u>τ</u>_</sup> h <sup><u>c</u></sup> _τl_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�</u> <u>�2</u> <sup>_−_</sup> <sup>10 lg</sup> <sup>_<u>τ</u>_</sup> <sup><u>h</u></sup> 2 _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 _τ_ c _τl_ _Sensors_ 2019, _19_, 4317 15 of 16 20 lg <u>2</u> _<u>f</u>_ <u>s tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> 1 + 4 _f_ s <sup>2</sup> _τl_ <sup>2</sup> <sup>tan2</sup> <sup>_<u>ω</u>_</sup> 2 h <sup>2</sup> <sup>+</sup> = 20 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�</u> <sup>_<u>ω</u>_</sup> 2 _τ_ c <sup>2</sup> _τ_ h <sup>2</sup> <sup>+</sup> 2 _f_ s _τ_ c _τ_ h _τl_ tan _<u>f</u>_ <u>�s</u> _<u>τ</u>_ 2c _fτ_ sh _ττ_ c _τl_ <u>tanh</u> _τl_ tan <sup>_<u>ω</u>_</sup> <u>2</u> <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <sup>_−_</sup> <sup>20 lg</sup> _τ_ c _<u>ττ</u>_ <u>l</u> h Hence, Equation (A5) is ��� _H_ ( _ejω_ )��� = 20 lg ( _Aτ_ h) _−_ 10 lg _<u>τ</u>_ <u>c</u> _τ_ h _τl_ _−_ 10 lg <sup>_<u>τ</u>_</sup> <sup><u>h</u></sup> _τ_ c _τl_ _−_ 10 lg <sup>_<u>τ</u>_</sup> <sup><u>h</u></sup> _<u>τ</u>_ <u>l</u> _−_ 20 lg _τ_ c _τ_ h + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> _l_ <sup>2</sup> <sup>+</sup> (A8) (A9) <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ c <sup>2</sup> _τl_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan h <sup>2</sup> <sup>+</sup> <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <sup>+ 20 lg</sup> _τ_ c <sup>2</sup> _τ_ h <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> _l_ <sup>2</sup> <sup>+</sup> = 20 lg - _Aτ_ c _τ_ h <sup>2</sup> - _Aτ_ c _τ_ h <sup>2</sup> - + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ c <sup>2</sup> _τl_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> <sup>+ 20 lg</sup> _τ_ c <sup>2</sup> _τ_ h <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan h <sup>2</sup> <sup>+</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 <u>�2</u> Therefore, - + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan ��� _H_ ( _ejω_ )��� = 20 lg - _Aτ_ c _τ_ h <sup>2</sup> h <sup>2</sup> <sup>_τ_</sup> _l_ <sup>2</sup> _l_ <sup>2</sup> <sup>+</sup> <u>�</u> <u>�2</u> 2 _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 + 10 lg <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> _τ_ c <sup>2</sup> _τl_ <sup>2</sup> <sup>+</sup> <u>�2</u> _f_ s _τ_ c _τ_ h _τl_ tan <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>2</u> _<u>f</u>_ <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> <u>�</u> <u>�2</u> <sup>+ 20 lg</sup> <u>�</u> 2 _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 _τ_ c <sup>2</sup> _τ_ h <sup>2</sup> <sup>+</sup> 2 _f_ s _τ_ c _τ_ h _τl_ tan h <sup>2</sup> <sup>+</sup> _l_ <sup>2</sup> <sup>+</sup> <u>s</u> _<u>τ</u>_ <u>c</u> _<u>τ</u>_ <u>h</u> _<u>τl</u>_ <u>tan</u> <sup>_<u>ω</u>_</sup> <u>2</u> (A10) <u>�</u> <u>�2</u> 2 _f_ s _τ_ c _τ_ h _τl_ tan <sup>_<u>ω</u>_</sup> 2 References 1. Montiel, H.; Vilchez, J.A.; Casal, J.; Arnaldos, J. Mathematical modelling of accidental gas releases. _J. Hazard._ _Mater._ 1998, _59_, 211–233. [[CrossRef]](http://dx.doi.org/10.1016/S0304-3894%0x2897%0x2900149-0) 2. Li, S.; Cheng, N.; Wang, P.; Yan, D.; Wang, P.; Li, Y.; Zhao, X.; Wang, P. Extraction of single non-dispersive mode in leakage acoustic vibrations for improving leak detection in gas pipelines. _J. Loss Prev._ _Process Ind._ 2016, _41_, 77–86. [[CrossRef]](http://dx.doi.org/10.1016/j.jlp.2016.03.016) 3. Meseguer, J.; Mirats-Tur, J.M.; Cembrano, G.; Puig, V.; Quevedo, J.; Pérez, R.; Sanz, G.; Ibarra, D. A decision support system for on-line leakage localization. _Environ._ _Model._ _Softw._ 2014, _60_, 331–345. [[CrossRef]](http://dx.doi.org/10.1016/j.envsoft.2014.06.025) 4. Liang, W.; Zhang, L. A wave change analysis (WCA) method for pipeline leak detection using Gaussian mixture model. _J. Loss Prev._ _Process Ind._ 2012, _25_, 60–69. [[CrossRef]](http://dx.doi.org/10.1016/j.jlp.2011.06.017) 5. Xu, J.; Chai, K.T.C.; Wu, G.; Han, B.; Wai, E.L.C.; Li, W.; Yeo, J.; Nijhof, E.; Gu, Y. Low-Cost, Tiny-Sized MEMS Hydrophone Sensor for Water Pipeline Leak Detection Jinghui. _IEEE Trans._ _Ind._ _Electron._ 2019, _66_, 6374–6382. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2018.2874583) 6. Zhang, S.; Liu, B.; He, J. Pipeline deformation monitoring using distributed fiber optical sensor. _Measurement_ 2019, _133_, 208–213. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2018.10.021) 7. Wong, L.; Deo, R.; Rathnayaka, S.; Shannon, B.; Zhang, C.; Chiu, W.K.; Kodikara, J.; Widyastuti, H. Leak detection in water pipes using submersible optical optic-based pressure sensor. _Sensors_ 2018, _18_, 4192. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s18124192) 8. Liu, C.; Li, Y.; Fu, J.T.; Liu, G.X. Experimental study on acoustic propagation-characteristics-based leak location method for natural gas pipelines. _Process Saf._ _Environ._ _Prot._ 2015, _96_, 43–60. 9. Gao, Y.; Brennan, M.J.; Liu, Y.; Almeida, F.C.; Joseph, P.F. Improving the shape of the cross-correlation function for leak detection in a plastic water distribution pipe using acoustic signals. _Appl._ _Acoust._ 2017, _127_, 24–33. [[CrossRef]](http://dx.doi.org/10.1016/j.apacoust.2017.05.033) _Sensors_ 2019, _19_, 4317 16 of 16 10. Lin, W.; Wang, X.; Wang, F.; Wu, H. Feature extraction and early warning of agglomeration in fluidized bed reactors based on an acoustic approach. _Powder Technol._ 2015, _279_, 185–195. 11. Li, S.; Song, Y.; Zhou, G. Leak detection of water distribution pipeline subject to failure of socket joint based on acoustic emission and pattern recognition. _Measurement_ 2018, _115_, 39–44. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2017.10.021) 12. Ostapkowicz, P. Leak detection in liquid transmission pipelines using simplified pressure analysis techniques employing a minimum of standard and non-standard measuring devices. _Eng._ _Struct._ 2016, _113_, 194–205. [[CrossRef]](http://dx.doi.org/10.1016/j.engstruct.2016.01.040) 13. Abdulshaheed, A.; Mustapha, F.; Ghavamian, A. A pressure-based method for monitoring leaks in a pipe distribution system: A Review. _Renew._ _Sustain._ _Energy Rev._ 2017, _69_, 902–911. [[CrossRef]](http://dx.doi.org/10.1016/j.rser.2016.08.024) 14. Ghazali, M.F.; Beck, S.B.M.; Shucksmith, J.D.; Boxall, J.B.; Staszewski, W.J. Comparative study of instantaneous frequency based methods for leak detection in pipeline networks. _Mech._ _Syst._ _Signal_ _Process._ 2012, _29_, 187–200. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2011.10.011) 15. He, G.; Liang, Y.; Li, Y.; Wu, M.; Sun, L.; Xie, C.; Li, F. A method for simulating the entire leaking process and calculating the liquid leakage volume of a damaged pressurized pipeline. _J. Hazard._ _Mater._ 2017, _332_, 19–32. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.jhazmat.2017.02.039) 16. Ren, L.; Jiang, T.; Jia, Z.; Li, D.; Yuan, C.; Hongnan, L. Pipeline corrosion and leakage monitoring based on the distributed optical fiber sensing technology. _Measurement_ 2018, _122_, 57–65. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2018.03.018) 17. Barrias, A.; Casas, Joan, R.; Villalba, S. A review of distributed optical fiber sensors for civil engineering applications. _Sensors_ 2016, _16_, 748. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s16050748) 18. Hao, W.; Lin, H.S.; Pua, C.H.; Abd-Rahman, F. Pipeline monitoring and leak detection using Loop integrated Mach Zehnder Interferometer optical fiber sensor. _Opt._ _Fiber Technol._ 2018, _46_, 221–225. 19. Zhang, Y.; Chen, S.; Li, J.; Jin, S. Leak detection monitoring system of long distance oil pipeline based on dynamic pressure transmitter. _Measurement_ 2014, _49_, 382–389. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2013.12.009) 20. Gao, Y.; Brennan, M.J.; Joseph, P.F.; Muggleton, J.M.; Hunaidi, O. On the selection of acoustic/vibration sensors for leak detection in plastic water pipes. _J. Sound Vib._ 2005, _283_, 927–941. [[CrossRef]](http://dx.doi.org/10.1016/j.jsv.2004.05.004) 21. Liu, C.; Li, Y.; Meng, L.; Wang, W.; Zhang, F. Study on leak-acoustics generation mechanism for natural gas pipelines. _J. Loss Prev._ _Process Ind._ 2014, _32_, 174–181. [[CrossRef]](http://dx.doi.org/10.1016/j.jlp.2014.08.010) 22. Hunaidi, O.; Chu, W.T. Acoustical characteristics of leak signals in plastic water distribution pipes. _Appl._ _Acoust._ 1999, _58_, 235–254. [[CrossRef]](http://dx.doi.org/10.1016/S0003-682X%0x2899%0x2900013-4) 23. Brennan, M.J.; Kroll De Lima, F.; De Almeida, F.C.L.; Joseph, P.F.; Paschoalini, A.T. A virtual pipe rig for testing acoustic leak detection correlators: Proof of concept. _Appl._ _Acoust._ 2016, _102_, 137–145. [[CrossRef]](http://dx.doi.org/10.1016/j.apacoust.2015.09.015) 24. Wang, F.; Lin, W.; Liu, Z.; Wu, S.; Qiu, X. Pipeline Leak Detection by Using Time-Domain Statistical Features. _IEEE Sens._ _J._ 2017, _17_, 6431–6442. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2017.2740220) 25. Oh, S.W.; Yoon, D.B.; Kim, G.J.; Bae, J.H.; Kim, H.S. Acoustic data condensation to enhance pipeline leak detection. _Nucl._ _Eng._ _Des._ 2018, _327_, 198–211. [[CrossRef]](http://dx.doi.org/10.1016/j.nucengdes.2017.12.006) 26. Ostapkowicz, P. Leakage detection from liquid transmission pipelines using improved pressure wave technique. _Eksploatacja I Niezawodno´s´c_ 2014, _16_, 9–16. 27. Wang, F.; Lin, W.; He, Z.; Wu, H. Pipeline leak detection and location based on model-free isolation of abnormal acoustic signals. _Energies_ 2019, _12_, 3172. [[CrossRef]](http://dx.doi.org/10.3390/en12163172) _⃝_ c 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 43문단 · 20,910자

(제목 없음)

1Pipeline leak detection technologies are critical for the safety protection of pipeline transportation. However, they are insensitive to slowly increasing leaks. Therefore, this study proposes an enhancement method for slowly increasing leak signals. By analyzing the characteristics of pressure signals of slowly increasing leaks, a digital compensator is developed to overcome the disadvantages of pressure signals and enhance the pressure signals. According to the frequency response analysis of the digital compensator, the enhancement principle is the parameter adjustment of the digital compensator. Therefore, this paper further proposes an adaptive adjustment method of the parameter to enhance different degrees of leak signals online in real-time, and the proposed method is evaluated using two field pipelines. The experimental results demonstrate that this method is suitable not only for enhancing slowly increasing leaks but also for enhancing abrupt leaks.

Introduction

2Many pipelines, such as chemical feedstock transportation pipelines, urban gas pipelines, and water pipelines, suffer from leaks which may occur because of corrosion, aging pipelines, or third party damages [1][2][3][4][5]. Nowadays, researchers have developed many leak monitoring systems which mainly have three steps: (1) sensing signals through sensors, (2) leak diagnosis, and (3) leak location. Therefore, the effectiveness of leak signals is crucial for pipeline leak detection.

3When a pipeline leak occurs, the leak of the medium will cause many physical changes, such as the pressure, strain, acoustic wave. For the heated medium, the temperature would also vary. These physical variables can be measured by the sensors installed on the pipeline. Moreover, the most widely used sensors are the optical fiber sensors [6,7], acoustic transducers [8][9][10][11] and pressure transducers [12][13][14][15]. The fiber optical sensors can sense leak signals by monitoring temperature, strain, or acoustic signals based on laying a long sensing cable along the outside of a pipeline [7,16,17]. This method has been widely applied in pipeline leak detection thanks to its high sensitivity and reliability [16,18]. However, the laying and maintenance of fiber optical sensors are often costly and difficult, especially for underground pipelines.

4The acoustic transducers are installed on both ends of the pipeline and can monitor a pipeline leak by measuring relative pressure [19]. As presented in [20,21], the acoustic transducer has a wide frequency response and high sensitivity. Moreover, the waveform of the acoustic signal is sharp, which helps the accurate location of a leak. Therefore, the acoustic transducer is widely employed in pipeline leak detection [22][23][24][25]. However, the acoustic transducers cannot sense slowly increasing leaks. In this paper, pipeline leaks are divided into abrupt and slowly increasing leaks according to whether the leak aperture changes slowly. It is important to note that the slowly increasing leak is not the same as the small leak.

5Compared with acoustic transducers, pressure transducers are used to measure absolute pressure. Furthermore, almost all pipelines have been equipped with pressure transducers due to their stability and low cost. However, the pressure changes caused by the leak are too small in contrast to the pressure fluctuation and whole pressure transducer range [12,19,26], particularly for slowly increasing leaks. Additionally, the infection point of a slowly increasing leak signal is difficult to obtain accurately, which will influence the precision of the leak location. Nevertheless, the pressure signal can still record the pressure drop process caused by a slowly increasing leak, which provides the possibility of detecting the slowly increasing leak.

6Therefore, after taking into account the cost and ability to measure slowly increasing leaks, this paper designs a digital compensator based on the advantages of the acoustic transducer to enhance pressure signals of slowly increasing leaks. Moreover, the input and output of the digital compensator are the pressure signals and the compensated signals, respectively. According to the frequency response of the digital compensator, the pressure signals of slowly increasing leaks can be enhanced by adjusting the parameter (the discretization frequency f s ) of the digital compensator. Hence, a parameter adaptive adjustment method is proposed to real-time online enhance pressure signals of with different degrees of leaks.

7The rest of this paper is organized as follows. Section 2 describes the methodology including the development and the stability analysis of the digital compensator, the signal enhancement principle of slowly increasing leaks, the adaptive adjustment of parameters, and the leak detection and location. Section 3 describes the field experiments. The conclusions of this study are summarized in Section 4.

Methodology

8In practice, slowly increasing leaks may occur during the pipeline pressure regulation process (increase, decrease, or fluctuation). Figure 1 shows some instances of slowly increasing leaks coming from the pressure transducers installed on the crude oil pipeline. Moreover, the specific parameters of the field pipeline are given in Section 3. As can be seen, leak pressures are highly susceptible to the static pressure of the pipeline, and their waveforms are smoother and milder. Moreover, these characteristics make slowly increasing leaks hard to identify. Consequently, the purpose of the digital compensator is to compensate for these characteristics and enhance pressure signals. As the analysis in Section 1, the acoustic and pressure transducers have a certain complementarity. Therefore, the digital compensator is developed based on the acoustic transducer. Figure 2 shows the structure and physical diagram of the acoustic transducer that is composed of a piezoelectric acoustic sensor and signal conditioning circuit.

Development of the Digital Compensator

9Based on the acoustic transducer (Figure 2), the structure of the digital compensator is shown in Figure 3, where the input P(z) is the original pressure signal from the pressure transducer and the output P c (z) is the compensated signal. Moreover Since the internal parameters and structure of the piezoelectric acoustic sensors produced by different manufacturers vary widely, and these specific data are confidential to the customer, it is impossible to establish a corresponding mechanism model based on the structure of the sensor. The ideal operating state of a senor is the linear relationship between input and output. Moreover, for the customer of the sensor, the known parameters are its sensitivity and range. Based on this, the H p (s) is expressed as:

10where A p is the sensitivity coefficient of the piezoelectric acoustic sensor. Moreover, according to the principle of analog circuit shown in Figure 4, the H c (s), H h (s), H l (s), and H a (s) are:

11where R c is the feedback resistance of the charge amplifier; τ c , τ h , and τ l are the time constant of the charge amplifier, high-and low-pass filters; A a is the gain of the amplifier. Hence, the continuous model H(s) is:

12where τ 1 = τ c , τ 2 = τ h , and τ 3 = τ 4 = τ l . Then, a bilinear transformation method is used to discretize the continuous model H(s). Moreover, the discrete model H(z) can be expressed as:

13where A = A p A a R c ; f s is the discretization frequency, and it has the same definition with the sampling frequency. According to the Z inverse transformation of Equation (7), the backward difference equation is:

14where k represents the sampling time, and the values of the coefficients a m and b n can be calculated with Equation (9).

15So far, the digital compensator is established. Moreover, its input and output are the original pressure signal P(k) and the compensated signal P c (k), respectively. Equations (6)-(8) are its continuous, discrete, and backward difference forms.

Stability Analysis of the Digital Compensator

16According to Equation (7), the poles of the digital compensator H(z) are:

17As the discretization frequency f s and the time constant τ i are both positive, then:

18Hence, the pole p i satisfies:

19According to Equation (12), the digital compensator is stable with f s > 0 and τ i > 0.

Pressure Signal Enhancement Principle of Slowly Increasing Leaks

20The frequency response H(e jω ) of the digital compensator H(z) (Equation (7)) is:

21According to Euler's formula (e jω = cos ω + j sin ω), Equation (13) can be rewritten as:

22Hence, the amplitude response H(e jω ) (the specific derivation is given in Appendix A) is:

23According to Equation (15), it can be concluded that:

24(1) the f s is the scale factor, (2) A is the translation step, and (3) τ c , τ h , and τ l have both scale and translational effects. Figure 5 shows the amplitude response H(e jω ) varying with the parameters ( f s , A, τ c , τ h , and τ l ) and the corresponding cutoff frequency is given in Table 1. It is important to note that: (1) when a parameter is a variable, other parameters are set to fixed values ( f s = 100 Hz, τ c = 4 s, τ h = 2 s, τ l = 0.01 s and A = A p A a R c = 5.348 × 10 −11 C/Pa × 3 × 2 × 10 10 Ω = 3.21 Ω×C/Pa); and (2) according to the structure of the digital compensator, the cutoff frequency of the charge amplifier, high-pass filter and low-pass filter should be f c < f h < f l , since f = (2πτ) −1 , the change of τ c , τ h and τ l needs to satisfy τ c > τ h > τ l . It can be seen from Figure 5 and Table 1 that the parameters f s , τ c , τ h , and τ l play a telescopic effect on the amplitude response H(e jω ) , in which the effect of f s and τ l is obvious.

25Based on the above analysis, the amplitude response H(e jω ) changes with the frequency, that is, the digital compensator |H(z)| can selectively pass and amplify certain frequencies of the pressure signal. Therefore, the digital compensator has a frequency selective characteristic, and these passing frequencies are determined by the parameters f s , τ c , τ h , and τ l . Different leak pressure signals have different frequency distributions, as illustrated in Figure 6. Therefore, in order to enhance pressure signals, the pass-band of the digital compensator should be matched or overlapped with the frequency band of the leak pressure signals, which can be achieved by adaptively adjusting the parameters f s , τ c , τ h , and τ l of the digital compensator. Since the adjustment of the τ c , τ h , and τ l needs to satisfy τ c > τ h > τ l , this study adjusts only the discretization frequency f s .

26and its unit is Ω×C/Pa because A p is the sensitivity coefficient of the piezoelectric acoustic sensor, and its unit is C/Pa; A a is the gain of the amplifier and is dimensionless, and R c is the feedback resistance of the charge amplifier and its unit is Ω.

27To sum up, the key to the enhancement of slowly increasing leaks is that the digital compensator has suitable parameters.

Adaptive Adjustment of the Discretization Frequency f s

28The discretization frequency f s should satisfy Nyquist sampling theorem: (16) where f max is the maximum frequency of the signal. Since the sampling frequency f of pressure signals have satisfied this theorem, the f s can be selected from the values greater than the f ( f s ≥ f ). Figure 7 shows the time-domain waveforms of compensated signals with different discretization frequency f s . When f s = 2000 Hz, the waveform of the compensated signal almost reproduces the pressure signal except for the amplitude and polarity. Therefore, when f s increases to a certain extent, the digital compensator has almost no selectivity for the pressure signal, that is the corresponding compensated signal is not enhanced. At this time, the width of the leak waveform in the compensated signal is approximate to the width in the pressure signal. And the better performing parameters should make the former smaller than the latter, as the f s = 200 Hz shown in Figure 7. According to the above analysis, the width characteristic of the signal can further constrain the range of the f s . Based on the signal decomposition method [27], a compensated signal is decomposed into sub-signals, and the sub-signal width of the maximum peak is taken as its width characteristic which is denoted as W P c ( f s ), as shown in Figure 8. Similarly, the pressure signal is divided into intervals based on extreme points. The width between the largest drop interval and the adjacent ascending interval in the pressure signal is taken as the width characteristic of the pressure signal and is denoted as W P , as shown in Figure 8. Then, the f s should make the W P c ( f s ) smaller than the W P . Therefore, the constraints of parameter f s are

29The signal-to-noise ratio (SNR) of the compensated signal is an indicator that can evaluate whether the pressure signal is enhanced. However, the SNR calculation depends on the signal abnormality, which is unknown before leak detection [27]. Therefore, it is not feasible to directly use SNR as an indicator to select an appropriate f s . Moreover, the better performing compensated signal has two characteristics: (1) its leak amplitude is significantly larger than the normal, and (2) it is evenly distributed around zero. The former can be described by the standard deviation, and the latter can be represented by the number of intervals in which the signal can be decomposed by its zero crossings. Hence, this paper proposes the optimization goal shown below:

30where σ is the standard deviation of the normalized signal; M is the number of intervals [27]; c is the penalty factor and is determined by: 19) where N is the data length of the signal; n e (i) is the end position of the ith drop interval; and n s (i) is the start position of the ith drop interval. Therefore, under the constraint shown in Equation (17), the optimized f s should make the optimization goal maximize. Figure 9 shows the original pressure signal and the compensated signals with the optimized f s , where c is 0.221 and 0.044, respectively. As can be seen, the waveforms of the compensated signals are sharp, and the infection points are obvious. Therefore, the pressure signals are enhanced by the digital compensator with suitable parameters.

Leak Detection and Location

31After the signal enhancement, these signals should be judged whether they are leak signals, which can be achieved by signal conditioning or machine learning. This paper uses the leak detection method based on model-free abnormal acoustic signal isolation [27], and the equation of leak location is [27] x L = 1 2 (L + a∆t)

32where x L is the distance from the leak point to the upstream sensor; a is the velocity of signals propagating inside the pipeline; L is the length between the upstream and downstream sensors; and ∆t is the time difference of the upstream and downstream leak signals, which can be calculated by Equations (21)- (23).

33R xy (∆n 0 ) = max R xy (∆n) (22)

34where R xy is the cross-correlation coefficient; ∆n is the delay points, ∆n 0 is the delay points corresponding to the maximum of the cross-correlation coefficient R xy ; N is the data length of a signal; x(i) is the upstream signal; and y(i) is the downstream signal.

Field Experiments

35In order to verify the effectiveness of the method based on the digital compensator, two field pipelines (a naphtha pipeline and a crude oil pipeline) are used. Figure 10 shows the installation diagram of the transducers on field pipelines. Their parameters are presented in Table 2, and the fixed parameters A p , R c , A a , τ c , τ h , and τ l of the digital compensator, referring to the acoustic transducer, are set to 5.348 × 10 −11 C/Pa, 2 × 10 10

Case Study

36(1) Slowly increasing leaks Figure 11 is the case of a slowly increasing leak generated when the upstream pressure was steady, and the downstream was fluctuating. Owing to the fluctuation, the identification of the infection points of the downstream pressure signal becomes more difficult, and the acoustic signal of the slowly increasing leak is submerged in the noise. However, the compensated signal ( f s = 236 Hz) of the downstream becomes a noticeable pulse, which facilitated its detection. The f s corresponding to the compensated signal of the upstream is 181 Hz. And the SNRs corresponding to the pressure signals, the acoustic signals, and the compensated signal are (upstream: 3.7719 dB, downstream: 0.0131 dB), (upstream: 9.4516 dB, downstream: 0.3084 dB), and (upstream: 20.2370 dB, downstream: 5.8836 dB), respectively. As can be seen, the compensated signals are the best. Figure 12 illustrates the case of a slowly increasing leak occurred when the upstream pressure was steady, and the downstream was rising. As can be seen, the leak pressure drop propagated from the leak point to the downstream was offset by the upward trend of the downstream pressure. However, as the acoustic transducer and the digital compensator can eliminate static pressure, the leak is noticeable in the acoustic signal and compensated signal (upstream: f s = 116 Hz, downstream: f s = 100 Hz). Moreover, the SNRs of the compensated signals (upstream: 12.1120 dB, downstream: 12.0793 dB) are greater than the acoustic signals (upstream: 5.9677 dB, downstream: 0.8939 dB). Figure 13 shows the case of a slowly increasing leak generated when the upstream pressure was steady and the downstream was falling. The leak pressure drop captured by the pressure transducer of the downstream is hardly distinguishable from the pressure signal. However, the leak in the acoustic signals and the compensated signals (upstream: 184 Hz, downstream: 100 Hz) is more visible, and the corresponding SNRs are (upstream: 9.3254 dB, downstream: 3.4554 dB) and (upstream: 14.7680 dB, downstream: 10.5375 dB), respectively.

37(2) Abrupt leaks Figure 14 shows the case of an abrupt leak. The SNRs of the pressure signals, the acoustic signals, and the compensated signal are (upstream: 0.2291 dB, downstream: 0.0883 dB), (upstream: 17.8417 dB, downstream: 15.2260 dB), and (upstream: 17.7724 dB, downstream: 15.8009 dB), respectively, and the f s of the upstream and downstream compensated signals is 58 Hz and 80 Hz. From the perspective of the waveform, these signals are obvious. From the perspective of the SNR, the acoustic and compensated signals are greater than the pressure signals, and the acoustic signals and the compensated signals are approximately equal. In summary, the proposed method is suitable not only for slowly increasing leaks but also for abrupt leaks.

Comparison of Leak Detection and Location

38To further prove the validity of the compensated signal, the leak detection and location results of the pressure signals, acoustic signals, and compensated signals are compared. The negative pressure wave method [12] is used to detect the leak pressure signals, and the model-free method [27] is for the leak detection of acoustic signals and compensated signals.

39(1) Data set. The data set includes 28 leak samples and 200 normal samples of which 15 abrupt leak samples and 100 normal samples are from the naphtha pipeline, and the rest (13 slowly increasing leak samples and 100 normal samples) are from the crude oil pipeline.

40(2) Parameter settings. The alarm thresholds of the negative pressure wave method were set as 10 KPa (naphtha pipeline) and 1 KPa (crude oil pipeline) based on the leak samples (randomly selected) from the data set, and the model-free method does not require parameter setting.

41(3) Comparison results. The leak detection and location results are listed in Table 3. For the abrupt leaks from the naphtha pipeline, there is no missing alarm with the acoustic signals and compensated signals, but the pressure signals reached 46.67%. For the slowly increasing leaks from the crude oil pipeline, the compensated signals have no missing alarm, but the pressure signals and acoustic signals were 61.54% and 53.85%, respectively. Additionally, the location error of the pressure signals is the maximum, and the location errors of the acoustic signals and compensated signals are small. Therefore, the performance of compensated signals is better than the others for leak (abrupt leak or slowly increasing leak) detection.

42For the normal samples, the false alarm rate of acoustic signals is the lowest, followed by compensated signals and pressure signals. However, the missing alarm rate of acoustic signals and pressure signals is high. After comprehensive consideration of the missing alarm rate and false alarm rate, the compensated signals are the best.

Conclusions

43An enhancement method based on the digital compensator was proposed for the slowly increasing leaks, and the digital compensator is developed according to the advantages of the acoustic transducer. It can not only overcome the effects of static pressure on signals but also converts the slowly decreasing pressure into a noticeable pulse. Based on the adaptive adjustment of the parameter (discretization frequency f s ), both abrupt and slowly increasing leaks can be enhanced online in real-time. The experimental results indicated the better performance of the compensated signals compared with the pressure signals and the acoustic signals.

참고문헌 27건

  1. Leakage detection from liquid transmission pipelines using improved pressure wave technique Eksploatacja i Niezawodnosc - Maintenance and Reliability · Polskie Naukowo-Techniczne Towarzystwo Eksploatacyjne · 2014
  2. Feature extraction and early warning of agglomeration in fluidized bed reactors based on an acoustic approach Powder Technology · Elsevier BV · 2015 10.1016/j.powtec.2015.04.009
  3. On the selection of acoustic/vibration sensors for leak detection in plastic water pipes Journal of Sound and Vibration · Elsevier BV · 2004 10.1016/j.jsv.2004.05.004
  4. Study on leak-acoustics generation mechanism for natural gas pipelines Journal of Loss Prevention in the Process Industries · Elsevier BV · 2014 10.1016/j.jlp.2014.08.010
  5. Leak detection monitoring system of long distance oil pipeline based on dynamic pressure transmitter Measurement · Elsevier BV · 2013 10.1016/j.measurement.2013.12.009
  6. Mathematical modelling of accidental gas releases Journal of Hazardous Materials · Elsevier BV · 1998 10.1016/s0304-3894(97)00149-0
  7. A decision support system for on-line leakage localization Environmental Modelling & Software · Elsevier BV · 2014 10.1016/j.envsoft.2014.06.025
  8. A wave change analysis (WCA) method for pipeline leak detection using Gaussian mixture model Journal of Loss Prevention in the Process Industries · Elsevier BV · 2011 10.1016/j.jlp.2011.06.017
  9. Experimental study on acoustic propagation-characteristics-based leak location method for natural gas pipelines Process Safety and Environmental Protection · Elsevier BV · 2015 10.1016/j.psep.2015.04.005
  10. Acoustical characteristics of leak signals in plastic water distribution pipes Applied Acoustics · Elsevier BV · 1999 10.1016/s0003-682x(99)00013-4
  11. Comparative study of instantaneous frequency based methods for leak detection in pipeline networks Mechanical Systems and Signal Processing · Elsevier BV · 2011 10.1016/j.ymssp.2011.10.011
  12. A virtual pipe rig for testing acoustic leak detection correlators: Proof of concept Applied Acoustics · Elsevier BV · 2015 10.1016/j.apacoust.2015.09.015
  13. Leak detection in liquid transmission pipelines using simplified pressure analysis techniques employing a minimum of standard and non-standard measuring devices Engineering Structures · Elsevier BV · 2016 10.1016/j.engstruct.2016.01.040
  14. Extraction of single non-dispersive mode in leakage acoustic vibrations for improving leak detection in gas pipelines Journal of Loss Prevention in the Process Industries · Elsevier BV · 2016 10.1016/j.jlp.2016.03.016
  15. A Review of Distributed Optical Fiber Sensors for Civil Engineering Applications Sensors · Multidisciplinary Digital Publishing Institute · 2016 10.3390/s16050748
  16. A pressure-based method for monitoring leaks in a pipe distribution system: A Review Renewable and Sustainable Energy Reviews · Elsevier BV · 2016 10.1016/j.rser.2016.08.024
  17. A method for simulating the entire leaking process and calculating the liquid leakage volume of a damaged pressurized pipeline Journal of Hazardous Materials · Elsevier BV · 2017 10.1016/j.jhazmat.2017.02.039
  18. Improving the shape of the cross-correlation function for leak detection in a plastic water distribution pipe using acoustic signals Applied Acoustics · Elsevier BV · 2017 10.1016/j.apacoust.2017.05.033
  19. Pipeline Leak Detection by Using Time-Domain Statistical Features IEEE Sensors Journal · IEEE Sensors Council · 2017 10.1109/jsen.2017.2740220
  20. Leak detection of water distribution pipeline subject to failure of socket joint based on acoustic emission and pattern recognition Measurement · Elsevier BV · 2017 10.1016/j.measurement.2017.10.021
  21. Acoustic data condensation to enhance pipeline leak detection Nuclear Engineering and Design · Elsevier BV · 2018 10.1016/j.nucengdes.2017.12.006
  22. Pipeline corrosion and leakage monitoring based on the distributed optical fiber sensing technology Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.03.018
  23. Pipeline deformation monitoring using distributed fiber optical sensor Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.10.021
  24. Low-Cost, Tiny-Sized MEMS Hydrophone Sensor for Water Pipeline Leak Detection IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2874583
  25. Pipeline monitoring and leak detection using Loop integrated Mach Zehnder Interferometer optical fiber sensor Optical Fiber Technology · Elsevier BV · 2018 10.1016/j.yofte.2018.10.013
  26. Leak Detection in Water Pipes Using Submersible Optical Optic-Based Pressure Sensor Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18124192
  27. Pipeline Leak Detection and Location Based on Model-Free Isolation of Abnormal Acoustic Signals Energies · Multidisciplinary Digital Publishing Institute · 2019 10.3390/en12163172