You are on page 1of 14

Home Search Collections Journals About Contact us My IOPscience

An on-line adaptive estimation method for water holdup measurement in oilwater two-phase

flow with a conductance/capacitance sensor

This content has been downloaded from IOPscience. Please scroll down to see the full text.

2016 Meas. Sci. Technol. 27 074001

(http://iopscience.iop.org/0957-0233/27/7/074001)

View the table of contents for this issue, or go to the journal homepage for more

Download details:

IP Address: 137.132.123.69
This content was downloaded on 17/05/2017 at 07:07

Please note that terms and conditions apply.

You may also be interested in:

Oilwater two-phase flow measurement with combined ultrasonic transducer and electrical sensors
Chao Tan, Ye Yuan, Xiaoxiao Dong et al.

Water holdup measurement in kerosene--water two-phase flows


S-F Huang, X-G Zhang, D Wang et al.

Water holdup measurement of oilwater two-phase flow in a horizontal well using a dual-circle
conductance probe array
Lijun Xu, Wen Zhang, Zhang Cao et al.

The development of a conductance method for measuring liquid holdup in horizontal oil--water
two-phase flows
Lusheng Zhai, Ningde Jin, Yanbo Zong et al.

The measurement of gasliquid two-phase flows in a small diameter pipe using a dual-sensor
multi-electrode conductance probe
Lu-Sheng Zhai, Peng Bian, Yun-Feng Han et al.

The influence on response of axial rotation of a six-group local-conductance probe in horizontal


oilwater two-phase flow
Kong Weihang, Kong Lingfu, Li Lei et al.
Measurement Science and Technology

Meas. Sci. Technol. 27 (2016) 074001 (13pp) doi:10.1088/0957-0233/27/7/074001

An on-line adaptive estimation method for


water holdup measurement in oilwater
two-phase flow with a conductance/
capacitance sensor
HaoWu, ChaoTan and FengDong
Tianjin Key Laboratory of Process Measurement and Control, School of Electrical Engineering and
Automation, Tianjin University, Tianjin 300072, Peoples Republic of China

E-mail: tanchao@tju.edu.cn

Received 28 December 2015, revised 27 March 2016


Accepted for publication 21 April 2016
Published 31 May 2016

Abstract
Oilwater two-phase flow widely exists in industrial processes such as petroleum engineering
and chemical engineering. Accurate and real-time measurement of water holdup is an
important problem requiring urgent solutions. In this work, a conductance and capacitance
combination sensor (CCCS) system with four conductance rings and two concave capacitance
plates was validated for its measurement performance of in situ water holdup through dynamic
experiments. An online adaptive weight Kalman estimation (OAWKE) fusion algorithm
for the CCCS system is proposed to fuse the conductance measurement and capacitance
measurement. The algorithm has fast and dynamic response for the water holdup measurement
of oilwater two-phase flow and has improved measurement precision by the adaptive data
fusion method. The OAWKE fusion algorithm also has the ability to deal with the abrupt
change of water holdup during the measurement process. Therefore, in the low water
conductivity condition (tap water), the CCCS system with the OAWKE fusion algorithm can
dynamically estimate the real-time full range water holdup of oilwater two-phase flow, which
has prospects in the petroleum industry.

Keywords: conductance/capacitance sensor, water holdup measurement,


oilwater two-phase flow, adaptive weight estimation, sensor fusion, Kalman estimation

(Some figuresmay appear in colour only in the online journal)

1.Introduction oil well surveillance, production prediction and mining plan


development.
Multi-phase flow widely exists in industrial processes and Many water holdup measurement methods have been pro-
daily life. As a typical multi-phase flow, oilwater two-phase posed in previous research, such as the quick closing valves
flow is often encountered in the chemical and petroleum (QCV) method [2], radiation method [3], microwave method
industry, where process parameter measurement is important [4], wire-mesh method [5], ultrasonic method [6], and imped-
to improve the production efficiency and safety [1]. However, ance method [7], etc. These methods have their own advan-
they are difficult to measure because of the complicated flow tages and disadvantages. For the QCV method, it has a high
patterns. Water holdup is one of the most important process ability to calibrate all the flow patterns and flow conditions
parameters, which is related to the production process moni- and has high precision on the water holdup measurement, but
toring and oil production estimation. Accurate and on-line it cannot realize the online measurement without any distur-
measurement of water holdup measurement is valuable to the bance to the continuity of the flow. For the radiation method,

0957-0233/16/074001+13$33.00 1 2016 IOP Publishing Ltd Printed in the UK


Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

a gamma ray densitometry measures the phase fraction through realize online measurement at high precision, high safety and
the attenuation coefficient in a different medium, such as gas low cost due to the restriction of the measurement principle.
water two-phase flow and oilgaswater three phase flow [810]. Therefore, combining two or more measurement methods
However, it is difficult to measure the oilwater two-phase is a practical way to realize the full range of water holdup
flow using this method because of the similar density of the measurement in oilwater two-phase flow. The impedance
media. It also has high device cost and high risk to the operator. sensors are considered for the combination based on their
The microwave method, based on the high penetrability of the simple structures, low cost and high compatibility. A con-
microwave, is non-intrusive, and has the ability to measure ductance and capacitance combination sensor (CCCS) and
not only the material surface water, but also the internal water. the measurement system have been designed and optimized
It can avoid the influence of the water salinity on instrument to measure the water holdup in oilwater two-phase flow in
response compared with other measurement methods [11, 12]. horizontal pipeline based on the different measurement princi-
However, the temperature, pressure and electromagnetic inter- ples [26]. The CCCS utilized the complementary information
ference affect the measurement performance of the microwave. and redundant information to calculate the water holdup and
The wire-mesh method can be used to detect the local instan- analyze the dynamic features of the two-phase flow [27], and
taneous cross-sectional distribution of the phases in gasliquid the data fusion based on dynamic response is necessary to the
two-phase flow and the flow structure can be reconstructed real-time water holdup measurement.
[13]. But it is an intrusive measurement method which could Data fusion has been used successfully in military fields
destroy the flow structure and can be easily contaminated. The and it also has application prospects in civil fields [28]. Multi-
ultrasonic method is widely researched in gasliquid two-phase sensor fusion in multi-phase flow is still in its initial stage
flow for the water fraction measurement and it is also used in and needs further research. Some data fusion algorithms have
waterairsand three-phase flow in a specific condition for the been applied on two-phase flow pattern online recognition and
air and water concentration measurement based on the reflec- flow process parameter measurements [29, 30].
tion on the interface and the attenuation on the transmission The Kalman filter (KF) is a recursion algorithm built
path [14, 15]. It can solve many measurement problems based on linear algebra and a hidden Markov model in order to
on a non-intrusive way. But the ultrasonic method is seriously realize the state estimation of a dynamic system based on a
affected by the flow patterns. As an impedance method, the state model and an observation model [31]. The state model
great advantages of low cost, high sampling speed, high sen- describes the state transition at each consecutive time step
sitivity, high compatibility, simple sensor structure and easy with the process noise. The observation model describes the
installation, etc make it widely acceptable and researched by relationship between the sensor outputs and the state vector of
scholars. The conductance method, capacitance method and the system with measurement noises [32]. KF has high perfor-
impedance tomography method have been researched for the mance in estimating and forecasting the state of the dynamic
multi-phase flow measurement [1618]. process without history data storage based on the two models.
For the conductance method, the continuous phase should However, multi-phase flow is a non-linear and transient
be electrically conductive, and the non-continuous phase system; without widely trustworthy and quantitative descrip-
should have a different conductivity compared with the contin- tion models, the transition state is difficult to describe and the
uous phase. The phase fraction is calculated by measuring the parameters of the KF are difficult to choose in the two models.
mixed fluid conductivity in the sensing field. Fossa proposed Therefore, the selection and optimization of the parameters to
a conductance probe to measure the liquid fraction in gas describe and meet the actual states is necessary.
liquid two-phase flow. The device has two pairs of electrodes In this paper, an online adaptive weight Kalman estima-
(one pair of ring electrodes for conductance measurement and tion (OAWKE) fusion algorithm is proposed to realize the
one pair of plate electrodes for capacitance measurement). dynamic estimate of the real-time water holdup based on
The electrodes are placed on the internal wall of the pipe [19]. the phase fraction calculation model of the CCCS system.
Xu etal measured the water holdup by a conductance array The online algorithm can realize the full range of in situ water
with 24 needle-like electrodes in oilwater stratified flow (ST) holdup real-time measurement in low water conductivity
[20]. For the capacitance method, the non-continuous phase (tap water), and it also has the ability to deal with the abrupt
should have different relative permittivity compared with change of water holdup during the measured flow process.
the continuous phase [21]. Abouelwafa et al concluded that This non-intrusive measurement method can reduce pressure
a concave-plate capacitance structure has higher sensitivity loss and processing difficulty and the measurement results are
for phase measurement compared with other structures [22]. not affected by the flow direction based on its symmetrical
Huang etal discussed the conductivity effects on capacitance structure. Therefore, the CCCS system and the online esti-
measurement [23]. Strazza and Demoria obtained the relation- mation algorithm have application prospects in liquidliquid
ship between the accurate phase fraction and the axis length phase fraction measurement.
of the capacitance plate in high viscosity oilwater two-phase
flow [24]. dos Reis et al compared the performance of dif- 2. Sensor structure and measurement method
ferent capacitance structures, such as a helical structure, con-
cave structure and double ring structure [25]. A CCCS system has been designed for the water holdup
However, it is difficult for a single method mentioned measurement in oilwater two-phase flow with four conduc-
above to cover all the flow patterns of the two-phase flow to tance rings and two concave capacitance plates, as shown in

2
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 1. Structure of conductance and capacitance combination sensor (CCCS) [26].

figure1. All these electrodes are installed on a Plexiglas pipe Since the sensing volume of the conductance and capaci-
of 50mm inner diameter. tance are the same, high speed electrical switches are required
For the conductance probes, probe 1 is connected to the to set the sensing field alternated to avoid the mutual interfer-
exciting signal and probe 4 is connected to the signal ground. ence. The switching speed of the two measurement methods
The exciting signal is an alternating square wave current with is 500 Hz, which is high enough to capture the dynamic
2 mA peak-to-peak and 20kHz frequency. Probe 2 and probe change of the oilwater two-phase flow. The sampling speed
3 are the receiving probes, and the output potential difference is 200kHz for each channel with 16 bit A/D conversion. The
between them is proportional to the water holdup of the two- CCCS system has been examined with the ST response to test
phase flow. A dimensionless voltage V is adopted to describe the ability of the holdup measurement; detailed testing results
the relative voltage difference [33]: can be found in [26].
V
V= w
(1)
Vm 3. Improved Kalman measurement estimation
model
where Vw is the measured voltage in the water filled pipe and
Vm is the measured voltage of the oilwater two-phase flow in
The oilwater two-phase flow is a random dynamic process,
the test section.
therefore it is difficult to get the accurate system model for
Set m and w are the conductance of the two-phase mix-
flow parameter measurement because of the complicated and
ture and water respectively. Since V is proportional to m/w,
variable flow process. The description of the actual process is
the water holdup can be expressed by:
based on the approximate assumptions:
3V
Ht =
(2) (1) When the estimated parameters are multi-dimensional,
2+V the state transition matrix F (k ) is a non-singular matrix
based on the Maxwell equation. The dimensionless voltage V and z is the measurement information, then the (F , z ) is
has a good match with the water holdup in ST static calibration. completely observable and (F, 1) is completely control-
For the concave capacitance, the axial length of the plate is lable.
40mm and the opening angle is 90. The exciting signal is an (2) State noise v(k ) ~ N (0, Q(k )) and measurement noise
alternating sine wave voltage of 20V peak-to-peak and 1 MHz w(k ) ~ N (0, R(k )) are assumed as independent and
frequency. The phase fraction change in the sensing volume identically distributed Gaussian white noise. Q(k ) and
will cause the measured capacitance change. The output signal R(k ) are time variant or time invariant, v(k ) and w(k ) are
will be different so that this difference can be used to calculate independent of each other, E [v(k )w(k )T ] = 0.
the water holdup. The water conductivity influences the meas- (3) The initial state is assumed as X (0) ~ N (x, P(0)) and X (0)
urement, so the relative capacitance difference (RCD) is no is independent with state noise v(k ) and measurement noise
longer correct to calculate the water holdup in low frequency w(k ) so that E [X (0)v(k )T ] = 0 and E [X (0)w(k )T ] = 0.
(less than 80 MHz [34]). The impedance of the full pipe with (4) The measured value z(k ) of the measurement system is
conductive water and non-conductive water are defined as Z w1 assumed to be bounded.
and Z w2. By defining a parameter = 1/Z w1 / 1/Z w2 , the water
The Kalman estimation uses measurement z(k ) to find the
holdup can be calculated with revised relative capacitance dif-
best estimation of the state quantity based on the linear min-
ference (RCD*) to eliminate the stray capacitance:
imum variance. The measured objects physical model of the
C Co V Vco discrete-time system is shown as equations (4) and (5), the
RCD = m
(3) = cm state at the (k + 1) moment is:
Cw / Co Vcw / Vco
x (k + 1) = F (k )x (k ) + v(k )
(4)
where the Co and Cw are the capacitance when the pipe is full
of oil and water respectively. Vco and Vcw are the measured where x (k ) and x (k + 1) are the state vectors of the measured
voltages that are proportional to Co and Cw. objects at the k and (k + 1) moment, v(k ) is the Gaussian

3
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 2. Fusion structure of centralized fusion and distributed fusion. (a) Centralized fusion structure. (b) Distributed fusion structure.

white noise of the state process, and F (k ) is the state transition state and stable state in order to decrease the interference fluc-
matrix. tuation influence.
The measurement model of the sensor at the k moment is: The measurement of the CCCS system can judge the abrupt
change. A switch method is introduced into the Kalman esti-
z (k ) = h (k )x (k ) + w (k )
(5) mation algorithm to improve the estimation accuracy when
where z(k ) is the measured value of the sensor, h(k ) is the mea- the abrupt change occurs.
surement matrix of the sensor, w(k ) is the measurement noise H dissimilar sensors are assumed in the system (H= 2 in
of the sensor. the CCCS system), the measured water holdup by the jth (j=
The basic Kalman estimation process can be used as the 1, 2, H) sensor at the k moment is zj (k ). So the calculation
multi-dimensional random process estimation. The structure equationfor the fluctuation judgement J(k) is:
of the multi-sensor data fusion algorithm can be divided into
centralized fusion and distributed fusion. For the central- z(k 1) + z(k 2)
J (k ) = z (k )
(6)
ized fusion, all the received data are sent into the data fusion 2
center, and all the local measurement equation and data are 1
where z(k ) = H Hj = 1 zj (k ) is the average water holdup mea-
combined and fused in the fusion center. For the distributed
fusion, the state of the measured process is estimated by local surement that can be calculated by the conductance mea-
sensors. The estimation results are sent to the fusion center surement and capacitance measurement at the k moment.
for data fusion to obtain the global estimation. The estimation J (k ) reflects the fluctuation between the adjacent measure-
structure of these two algorithms are shown in figure2. ment, and thus can identify the abrupt change and switch the
These two algorithms have their own advantages. The cen- working state of the algorithm by adjusting the process noise
tralized fusion can increase estimation precision and decrease covariance. The judgement method is:
the probability of false alarm or false rejection by reserving all Q1 if J (k ) <
Q=
Q2 if J (k ) >
the original measurement information. This algorithm is suit- (7)
able for a small number of sensors. The distributed fusion can
increase the speed of processing information, the reliability and where Q is the process noise covariance matrix. is the
continuity of the fusion center and decrease the demand of the threshold and is the adjustment coefficient that can be
communication channel and processing load of the fusion center. adjusted by the operating staff. So the abrupt change judgement
According to the characteristics of the two algorithms, range and judgement standard can be controlled according to
the estimation precision can be increased compared with the different applications. Q1 is used as Q when J (k ) is less than
basic Kalman estimation. During the oilwater two-phase the threshold, and Q2 is used as Q when J (k ) is larger than
flow measurement, the states are not constantly stable. The the threshold. When the abrupt change happens, J (k ) will be
complicated and variable flow states of oilwater two-phase larger than the threshold and will be used as the judgement
flow with abrupt changes occur frequently, especially in the standard to switch the operation state of the Kalman estimator.
oil extraction process in the petroleum industry. In the high water holdup situation (water holdup Hw is
In the discrete Kalman filter estimation theory, the dynamic larger than 30%) and high flow rate (the flow pattern is not ST
change of the measured states is processed as random interfer- or stratified flow with mixing at the interfaces (ST&MI)), the
ence. The noise variance update equationsare used to com- measurement results of the conductance sensor and capaci-
pute the system noise covariance. The water holdup abrupt tance sensor can be fused by Kalman centralized fusion. The
change during the measurement is always processed as the measurement results of the single sensor can also be esti-
random interference based on the update process of the algo- mated, and the estimation results data can be fused by Kalman
rithm, and the noise will resume to the stable state level at the distributed fusion. The centralized estimation algorithm and
highest speed after the abrupt change process is finished. In distributed estimation algorithm can obtain their own esti-
addition, the abrupt change interference causes large deviation mation results. The judgement standard is very important in
when using the basic update algorithm, so the estimation and Kalman fusion estimation. For the random dynamic process,
update speed is not fast enough to follow the abrupt change it is difficult for the single estimation algorithm to capture the
in the measurement process. Therefore, the improved Kalman rapidly changing information. Different algorithms have dif-
estimator should have the ability to track the abrupt change ferent problems, such as low response speed and estimation

4
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

precision. Therefore, different algorithms with a suitable The total length of the horizontal experimental pipeline
weight coefficient are necessary for better results. An adaptive is 16.6 m which is made by stainless steel with 50mm inner
weighting algorithm for fusing the results of different algo- diameter. The loop has two branches of 7.2 m and 7.3 m each.
rithms is used to improve the precision. Different estimation The CCCS system and QCV were installed about 13 m
algorithms have different estimation precision, so it is unfair from the inlet of the horizontal experimental pipeline to make
to use the same weight coefficient. For a higher precision, a the flow pattern fully develop, and about 1.5 m far from the
parameter called uncertainty compensation is used to adjust outlet of the horizontal experimental pipeline to avoid the
the weight coefficient, which can be obtained by calibration. influence of reflux at the bend. The shutdown sectionof QCV
For the qth estimation algorithm, the adjustable weight at the has 800mm length and 50mm inner diameter. The time of the
k moment Wq(k ) can be calculated as: valve turning on or off is less than 0.8s, and the fluid in the
QCV shut down sectionis about 1820ml, including the fluid
Wq(k ) = 2q + (xq(k 1) x (k 1))2
(8) left in the valves body.
Tap water (density 998 kg m3, dynamic viscosity
where q is the uncertainty compensation of the qth esti-
0.00101 Pa s) and mineral white oil (density 841kg m3,
mation algorithm, xq(k-1) is the estimated water holdup
dynamic viscosity 0.025 Pa s) were used as the experimental
of the qth estimation algorithm at the (k-1) moment, and
1
medium. A water tower 32 m high is used to make the water
x (k 1) = m qm= 1 xq(k 1) is the average estimated water pressure stable (0.32MPa) and a frequency converter is used
holdup value of all the estimation algorithms at the (k-1) to make the oil pressure stable (0.1 MPa0.4MPa). For the
moment. oilwater two-phase flow experiment, oil and water are
In order to avoid the deviation from estimated values, the pumped into the single phase measurement pipe from the oil
Wq(k ) is normalized by: tank and water tank. Oil and water flow through single phase
Wq(k ) flow meters of different flow rate range respectively which are
W q(k ) = m used to make sure the precision of the measurement can be
(9)
Wq(k ) used as the dynamic calibration standard (less than 1% preci-
q=1 sion on average). After the calibration, the fluid will flow into
the experimental pipe. The oil and water are mixed well at the
where W q(k ) is the adaptive weight of the qth algorithm at
beginning of the experimental pipeline by an ejector. Then,
the k moment, m is the total number of estimation algorithms
the mixed fluid flows through the CCCS system and then goes
which can obtain the corresponding estimation results.
into the separate tank.
For the calculation, the final water holdup estimate based
In the oilwater two-phase flow experiment, the superficial
on the weight is:
water velocity was between 0.04 m s1 and 2 m s1, the super-
m
ficial oil velocity was between 0.07 m s1 and 2 m s1. The
Hw(k ) = xq(k ) W q(k )
(10) inlet pressure was about 0.2MPa, and the inlet temperature
q=1
was about 20 C. The experiments were designed based on the
where Hw(k ) is the calculated water holdup at the k moment. Tralleros flow pattern map, covering ST, ST&MI, dispersion
The CCCS system is designed as the water holdup meas- of oil in water and water (O/W&W), dispersion of water in oil
urement instrument, so the full-scale error is used to follow and oil in water (W/O &O/W), oil in water emulsion (O/W)
the standard criterion of instruments, which is calculated by: and water in oil emulsion (W/O)[35]. For each oilwater two-
Holdupmeas HoldupQCV phase flow experimental condition, the sampling time of the
Er =
(11) 100% CCCS system is 20s. The experiment conditions are shown
Holdup range in figure4.
1 n
Eave r = Er 100%
(12)
n i 5. Experimental results and discussions

where n is the sample size, Holdupmeas and HoldupQCV are the QCV measurement results are used as the reference values for
water holdup values measured by the CCCS system and QCV, the water holdup calibration. The measuring cylinders were
the Holdup range is the measured water holdup range which used to measure the extracted fluid from the shut down sec-
equals 100% because of its whole holdup range. In order to tionwith 0.55% precision.
evaluate the efficiency of the algorithm, Holdupmeas can be
replaced by Holdupesti which is the water holdup estimation. 5.1. Basic online measurement algorithm
Eave_r is the average of the absolute value of Er for overall
accuracy comparison. Based on equations (1)(3), the average water holdup mea-
sured by the conductance sensor and capacitance sensor are
4. Experimental description compared with QCV, as shown in figure5.
For the conductance sensor, when the water holdup is less
The two-phase flow experiments were conducted on an oil than 30%, oil is the continuous phase. The measured values are
gaswater multi-phase flow experimental facility shown in ineffective because it is hard to form the current loop between
figure3. the probes. When the water holdup is higher than 30%, water

5
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 3. The schematic of the experimental loop in Tianjin University.

Figure 5. Measurement value of conductance probes and concave


Figure 4. Experimental conditions based on Tralleros flow pattern capacitance.
transition boundaries.

is the continuous phase, the measured values are proportional other flow patterns. Therefore, the results of the conductance
to the water holdup based on the impendence matching of the sensor (figure 5(a)) only include the estimates when the water
circuit. The measured results for the situation that the water holdup is higher than 30%, and the results of the capacitance
holdup is less than 30% are easy to recognize because the sensor (figure 5(b)) do not include the estimates in ST flow
water holdup estimated by equations(1) and (2) is larger than and ST&MI flow.
100%. For the capacitance sensor, the value of for RCD* In view of the measurement results, an online measurement
calculation is 0.38, which is related to the thickness and mat algorithm for the water holdup calculation has been proposed.
erials of the pipe wall. According to the measured voltage, the The flowchart graph of the algorithm is shown in figure6.
capacitance measurements do not have high resolution for the The Hwcon(k ) is the water holdup calculated with con-
flow pattern of ST and ST&MI at a low flow rate (the mix- ductance data, Hwcap(k ) is the water holdup calculated with
ture superficial flow velocity is less than 0.3 m s1). The ST capacitance data. According to figure 6, when the water
and ST&MI flow pattern measured by capacitance sensors are holdup calculated by the conductance method is larger than
easy to recognize because the measured voltages are less than 100%, it means the flow condition is oil continuous flow

6
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 7. Water holdup Kalman estimation by conductance and


capacitance.

covariance Q by using the measured data from the past 1s,


so the memory of the estimator only needs to reserve 1s
data. As an example, when the water superficial velocity is
1.97 m s1 and the oil superficial velocity is 0.43 m s1, the
water holdup measured by QCV is 83.8%, and the average
water holdup calculated by conductance and capacitance
are 82.3% and 83.6%. The estimation results are shown in
figure7.
For all the experimental conditions where both sensors
Figure 6. CCCS system online measurement algorithm.
are valid, the centralized fusion and distributed fusion are
(water holdup is less than 30%) and the flow pattern is not used separately to estimate the water holdup. For the central-
ST or ST&MI flow, so the water holdup calculated by the ized fusion, the water holdup measured by the conductance
capacitance sensor should be adopted. When the received method and capacitance method are used as the input to obtain
signals of the capacitance sensor are very close to or smaller global centralized estimation X cf (k k ). The estimated value
than the value when the pipe is full of water, it means the should follow the real value at the fastest time, so the average
flow pattern is ST or ST&MI flowthen the water holdup measurement of the two methods is used as the initial input
calculated by the conductance sensor should be adopted of the centralized fusion (equations (B.1) and (B.2)). For the
(equation (1)). Under other conditions, the water holdup cal- distributed fusion, the estimation of the water holdup of each
culated by the conductance sensor and capacitance sensor sensor is used as the input to obtain global distributed esti-
are fused with the OAWKE fusion algorithm to improve the mation X df (k k ). The estimated value should follow the real
measurement precision. value, so the average value of the two-method estimation is
used as the initial input of the distributed fusion (equations
(B.3)(B.6)). The fusion results of the centralized fusion and
5.2. Centralized and distributed Kalman estimation results
distributed fusion for the previous flow conditions are shown
The complexity in the flow process and the transition of in figure8.
different flow patterns is random and unpredictable. When According to figure8, the centralized estimation results are
the water holdup is higher than 30% and the flow pat- better than the distributed estimation. For all the experimental
tern is not ST flow or ST&MI flow, the water holdup cal- conditions, the comparison between the centralized estima-
culated by conductance and capacitance should be fused. tion and the distributed estimation is shown in figure9.
Equations (A.1)(A.5) in appendix A are used to create a The errors are calculated by equation (11). These results
Kalman estimator to predict the real-time water holdup. The show that the precision of the distributed estimation and cen-
variance of zero-mean Gaussian white noise is used as the tralized estimation are both better than using each method
measurement noise variance R. The minimum of the local alone. To further improve the performance of the distributed
variance of the measured signal can be used as noise vari- estimation and the centralized estimation, an algorithm that
ance, and the maximum can be used as signal variance; the integrates these two estimation methods is needed. On the
ratio between them is signal-noise ratio (SNR). The noise other hand, the abrupt change of the water holdup occurs fre-
can be reconstructed by the SNR to obtain the process noise quently in industrial processes. So the measurement method

7
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 8. Water holdup Kalman estimation results for the case. (a) Water holdup Kalman estimation. (b) Kalman estimation variances.

Figure 9. Water holdup Kalman estimation results and the errors comparison. (a) Kalman estimation fusion results. (b) Error of different
estimation methods.

and estimation algorithm should also have the ability to deal The sampling time of each stage was 20s. The results with
with the abrupt change. normal Kalman estimation are shown in figure10.
The performance of normal Kalman estimation is delayed
to respond to the abrupt change of the water holdup. Both
5.3. Improved estimation algorithm for water holdup abrupt
change
the capacitance estimation and conductance estimation need
several seconds to follow the abrupt change, then the estima-
The water holdup abrupt change is a large fluctuation of the tion performs efficiently during the stable flow state. Since the
water holdup in the oilwater two-phase flow, which may flow process in multi-phase flow is random, it is difficult to
cause flow patterns transition. However, the abrupt change obtain the prior information and set up a precise state trans
of the water holdup happens randomly and frequently, there- ition model for Kalman estimation. Therefore, it is hard to
fore it is important to deal with the abrupt change during the satisfy the real-time measurement requirement.
measurement. The threshold and judgement parameter J (k ) is used to
A normal Kalman estimation takes more time in iteration deal with this situation based on equations (6) and (7). The
to deal with the abrupt change. In the case shown in figure10, past 1s measurements are used to obtain the noise variance of
three stages of water holdup are chosen to test the influence of the stable flow state by the noise reconstruction based on SNR
the abrupt change: the superficial velocity of oil was 0.28 m s1 when the maximum value is Q1, and Q2 is the abrupt signal
and water was 1.98 m s1, the superficial velocity of oil was response variance which is calculated in the same way as Q1
0.71 m s1 and water was 1.97 m s1, and the superficial and estimated less than 0.1 based on experience. In order to
velocity of oil was 0.84 m s1 and water was 1.27 m s1. judge the abrupt change, the measured water holdup by the

8
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 10. Normal water holdup Kalman estimation value for abrupt change ((a) capacitance estimation; (b) conductance estimation;
(c) distributed estimation and centralized estimation).

Figure 11. Improved water holdup Kalman estimation value for abrupt change ((a) capacitance estimation; (b) conductance estimation;
(c) distributed estimation and centralized estimation).

conductance and capacitance sensor is an important reference. According to this result, for the abrupt change, the centralized
The water holdup measured by conductance and capacitance estimation has better performance than the distributed estima-
at the k moment and the average value of the (k-1) moment and tion. For the stable state, the distributed estimation has higher
(k-2) moment are compared during measurement. The differ- precision than the centralized estimation for more than half of
ence between these two values is used as judgement parameter the experimental conditions. However, the estimation results
J (k ) because sometimes the change of the individual meas- should output the best and unique values for the water holdup.
ured signal between the (k-1) moment and k moment is larger Therefore, an adaptive weight fusion algorithm is used to fuse
than the threshold, and occasionally even in the stable process the advantages of different estimation algorithms in order to
if the threshold is small. It will lead the switch function balance the delay time with high precision.
to misjudgment. The average values of the (k-1) moment and
(k-2) moment are used to avoid this pitfall. On the other hand, 5.4. Online adaptive weight Kalman estimation fusion
the adjustment coefficient is used to avoid false judgements. algorithm
In this case, is chosen as 3%, and is chosen as 1, so
is 3%. When the abrupt change happened, if the measured To deal with the random dynamic process of oilwater two-
value of the water holdup is less than 3%, Q1 is used as the phase flow, at each estimation moment, four estimation results
noise variance and the discrete Kalman estimator de-noise the of four algorithms that include conductance measurement
measured signal. Otherwise, it means the abrupt change hap- Kalman estimation, capacitance measurement Kalman esti-
pens, and Q2 is used as the noise variance and discrete Kalman mation, centralized estimation and distributed estimation are
estimator track the abrupt change signal. The testing results of integrated to achieve a more reliable and accurate estimate of
the improved algorithm with threshold is shown in figure11. water holdup. To avoid the influence of the abrupt change,
The estimation results of the improved algorithm show estimations from the three algorithms (centralized estima-
that when the abrupt change happens, the performance of tion, conductance estimation and capacitance estimation) for
the conductance estimation and capacitance estimation are 3s after the abrupt change are used in the adaptive weighting
better than the basic Kalman fusion estimation. However, algorithm based on the judgement parameter J (k ). For the
compared with the centralized estimation, the distributed esti- stable flow state, estimations from the four algorithms are
mation also has time delay when tracking the abrupt change used in the adaptive weighting algorithm based on the judge-
of water holdup, because it needs to wait for the estimation ment. The adaptive weighting algorithm should be calculated
results of conductance and capacitance for further calculation. by equations (8)(10). The adaptive weight W q(k ) updates

9
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

are based on the estimated result at the (k-1) moment and the
uncertainty compensation q of each algorithm. Therefore, the
weight will adaptively update with the measurements of dif-
ferent time steps. In the three or four algorithms based on the
abrupt change condition and stable condition, the qth algo-
rithm uncertainty compensation q is needed to calculate and
calibrate. For the calibration of the CCCS system, the sys-
tematic error of the water holdup measurement of the capaci-
tance sensor and conductance sensor is less than 5%, so the
maximum error of each sensor j is used as the uncertainty
compensation of single sensor estimation. For the distributed
estimation and centralized estimation, the uncertainty com-
pensation q can be calculated by:
H
q = 2j
(13)
j=1

the uncertainty compensation of the distributed estimation Figure 12. Water holdup online output results for abrupt change
and centralized estimation are both 7.07%. On the other hand, situation.
based on previous results, the distributed estimation of more
than half the experimental conditions is better than the central- In order to evaluate the overall accuracy of the different
ized estimation, so the distributed estimation should be set at a algorithms, equation (12) is used to calculate the average
higher weight. The fusion estimation is better than the single error based on all the experiment conditions. The comparison
measurement estimation, so the weight of the centralized esti- results are shown in figure15.
mation should be higher than the conductance estimation and The comparison results show that the OAWKE fusion algo-
capacitance estimation. Under the above constraints, 0.6 and rithm has higher precision than the model based results of the
0.4 were selected as the coefficient of distributed estimation water holdup calculated by the conductance sensor and capac-
and centralized estimation separately. Therefore, for the dis- itance sensor. It also has higher precision than the Kalman
tributed estimation, the uncertainty compensation is 8.48%, estimation based algorithms. For the abrupt change state, the
and the uncertainty compensation of the centralized estima- OAWKE fusion algorithm is calculated with abrupt change
tion is 5.66%. The estimation results for the abrupt change judgement and fuses different estimation algorithms without
situation are shown in figure12. the slowest distributed estimation algorithm. Therefore, the
According to the examples in figure 14, the Eave_esti_r of OAWKE fusion algorithm has fast response for the abrupt
change state and high precision for the stable state.
different algorithms is calculated by equation(12). The Eave_
esti_r of the distributed estimation is 1.39%, the Eave_esti_r of the
centralized estimation is 1.56% and the Eave_esti_r of the adap- 6.Conclusions
tive online estimation results is 1.32%. The adaptive online
estimation also has faster response for the abrupt change. In A CCCS system combines the capacitance method and con-
summary, the OAWKE fusion algorithm for the water holdup ductance method to measure the water holdup. The two sen-
measurement by the CCCS system is shown in figure13. sors are compacted at the same sensing space, and operate
For the stable state, the water holdup error is calcu- under the control of high-speed switches to measure the water
lated by equation (11). The comparison of the conductance holdup alternatively. For the conductance method, the mea-
sensor measurement, capacitance sensor measurement and sured data will be valid except for water holdup less than 30%
the OAWKE fusion algorithm estimation values is shown in in dispersed flow, and for the capacitance method, the mea-
figure14. sured data will be valid for the whole range except the flow
According to the results, when the measurement value of pattern is ST flow or ST&MI flow. Therefore, the measured
one sensor has a positive error and the other has a negative values of these two methods provide the complementary data
error, the fusion results will have great improvement on the and redundant data at different flow conditions. It is impor-
estimation precision. When the measurement values of both tant to utilize the redundant data to improve the measurement
sensors have the same positive errors or negative errors, the results based on data fusion when the sensor measurement
fusion results will also have improvements compared with the precision is not high enough. For the redundant data, the
middle values of the errors. The average error of the two sen- OAWKE fusion algorithm is used to improve the measure-
sors measurement results of all the experimental conditions ment results.
is1.06%, and the error of the fusion results of all the exper The measured data of the conductance sensor and capaci-
imental conditions is0.95%. Therefore, the OAWKE fusion tance sensor are used to realize the conductance estimation,
results are better than the average values of the two sensor capacitance estimation, centralized estimation and distributed
measurement results and it is efficient for the water holdup estimation. An adaptive weight fusion is used to improve the
measurement improvement. fusion results. According to the Kalman estimation theory, the

10
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

Figure 13. Online adaptive weight Kalman estimation (OAWKE) fusion algorithm.

Figure 14. Comparison of water holdup calculation results for all experimental conditions.

process noise covariance of the stable state and abrupt state larger than , the fusion algorithm is working in the abrupt
are different. In order to switch the fusion algorithm working change state; only three estimation results (without distributed
state, a judgement parameter J (k ) and threshold are used estimation that has the slowest response) are used in the adap-
to make judgement. When J (k ) is smaller than , the fusion tive weight fusion.
algorithm is working in the stable state; all the four estimation The OAWKE fusion algorithm can realize the online esti-
results are used in the adaptive weight fusion. When J (k ) is mate of water holdup. For the stable state, according to the

11
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

where the matrix K (k + 1) is the Kalman Gain at the (k + 1)


moment:

K (k + 1) = p(k + 1 k )hT (k + 1)

[h(k + 1)p(k + 1 k )hT (k + 1) + R]1 (A.5)
where p(k k ) is the covariance matrix of the state estimation
error at the k moment, p(k + 1 k ) is the covariance matrix of
the state prediction estimation error at the k moment, x(k k )
is the state estimation value for the estimated value x (k ) at the
k moment, and x(k + 1 k ) is the state prediction estimation
value for the estimated value x (k + 1) at the k moment, R and
Q are the covariance matrix of measurement noise and process
noise at the k moment separately.
The Kalman centralized estimation equationsare:
 H
cf (k k ) = X
X cf (k k 1) + Kj(k k ) [zj(k ) hj(k )X
cf (k k 1)]
Figure 15. The overall full-scale error for different algorithms.
j=1
average error calculation of all the experimental conditions, (B.1)
the OAWKE fusion algorithm (1.86%) has better performance
compared with the model based water holdup calculation cf (k k 1) = Fcf (k 1)X
X
(B.2) cf (k 1 k 1)
(conductance 2.32%, capacitance 2.41%) and Kalman esti-
where the subscript cf means that the centralized estimation
mation based water holdup calculation (conductance 2.23%,
is adopted. X cf (k k ) is the global centralized estimation for the
capacitance 2.40%). For the abrupt change state, the OAWKE
state x (k ) at the k moment, X cf (k k 1) is the prediction for
fusion algorithm has a fast response speed and higher preci-
sion during the water holdup measurement. the state x (k ) at the (k-1) moment, Fcf (k 1) is the centralized
Therefore, in the low water conductivity condition (tap transition matrix at the (k-1) moment.
water), the CCCS system cooperating with the programmable The Kalman distributed estimation equationsare:
OAWKE fusion algorithm can realize the full range water
holdup measurement of oilwater two phase flow. It is an Xdf (k k ) = X df (k k 1)
efficient solution to measure the water holdup by integrating H
+ Pdf (k k ) pj 1 (k k ) [xj (k k ) X

different sensors, convenient installation with a symmetrical df (k k 1)]
j=1

structure, the non-turbulent measurement method and online
measurement algorithm. H
df (k k 1)]

pj 1 (k k 1) [xj (k k 1) X


j=1
Acknowledgments 
(B.3)
The authors would like to express their gratitude for the sup-
port from the National Natural Science Foundation of China df (k k 1) = Fdf (k )X
X
(B.4) df (k 1 k 1)
(No. 61473206 and 61227006).

H
Appendix A. Basic Kalman estimation theory Pdf1(k k ) = Pdf1(k k 1) + [ pj 1 (k k ) pj 1 (k k 1)]
j=1
The Kalman estimation update equationsare shown as follows: (B.5)
The state at the (k + 1) moment is calculated based on the
state at the k moment: Pdf (k k 1) = Fdf (k 1)Pdf (k 1 k 1)F Tdf (k 1) + Q

x(k + 1 k ) = F (k + 1)x(k k )
(A.1) (B.6)

p(k + 1 k ) = F (k )p(k k )FT (k ) + Q where the subscript df means the distributed estimation is
(A.2)
adopted. X df (k k ) is the global distributed estimation for the
The estimated value is revised based on the measured data: state x (k ) at the k moment, Fdf (k ) is the distributed transition
matrix at the k moment, X df (k k 1) is the prediction for the
x (k + 1 k + 1) = x (k + 1 k ) + K (k + 1)
state x (k ) at the (k-1) moment, Pdf (k k ) is the global distributed
[z(k + 1) h(k + 1)x (k + 1 k )] (A.3)
covariance at the k moment, and Pdf (k k 1) is the prediction
for the global distributed estimation covariance at the (k-1)
p(k + 1 k + 1) = [I K (k + 1)h(k + 1)] p(k + 1 k )
(A.4) moment.

12
Meas. Sci. Technol. 27 (2016) 074001 H Wu etal

References [18] DeviaF and FossaM 2003 Design and optimisation of


impedance probes for void fraction measurements Flow
Meas. Instrum. 1413949
[1] ThornR, JohansenGA and HjertakerBT 2013 Three-phase [19] FossaM 1998 Design and performance of a conductance
flow measurement in the petroleum industry Meas. Sci. probe for measuring the liquid fraction in two-phase
Technol. 2412003 gasliquid flows Flow Meas. Instrum. 91039
[2] OddieG, ShiH, DurlofskyLJ, AzizK, PfefferB and [20] XuW, XuL, CaoZ, ChenJ, LiuX and HuJ 2012 Normalized
HolmesJA 2003 Experimental study of two and three least-square method for water hold-up measurement in
phase flows in large diameter inclined pipes Int. J. Multiph. stratified oilwater flow Flow Meas. Instrum. 277180
Flow 2952758 [21] StrizzoloCN and ConvertiJ 1993 Capacitance sensors
[3] broE and JohansenGA 1999 Improved void fraction for measurement of phase volume fraction in two-phase
determination by means of multibeam gamma-ray pipelines IEEE Trans. Instrum. Meas 427269
attenuation measurements Flow Meas. Instrum. 1099108 [22] AbouelwafaMSA and KendallEJM 1980 The use of
[4] NyforsE 2000 Industrial microwave sensorsa review capacitance sensors for phase percentage determination in
Subsurf. Sens. Technol. Appl. 12343 multiphase pipelines IEEE Trans. Instrum. Meas.
[5] Da SilvaMJ, SchleicherE and HampelU 2007 Capacitance 29247
wire-mesh sensor for fast measurement of phase fraction [23] HuangSM, GreenRG, PlaskowskiAB and BeckMS 1988
distributions Meas. Sci. Technol. 182245 Conductivity effects on capacitance measurements of two-
[6] ChaudhuriA, SinhaDN, ZalteA, PereyraE, WebbC and component fluids using the charge transfer method J. Phys.
GonzalezME 2014 Mass fraction measurements in E: Sci. Instrum. 21539
controlled oilwater flows using noninvasive ultrasonic
[24] StrazzaD, DemoriM, FerrariV and PoesioP 2011
sensors J. Fluids Eng. 13618
Capacitance sensor for hold-up measurement in high-
[7] YanT and SabicD 2013 An electrode polarization impedance
viscous-oil/conductive-water core-annular flows Flow
based flow sensor for low water flow measurement Meas.
Meas. Instrum. 223609
Sci. Technol. 2467002
[25] dos ReisE and da Silva CunhaD 2014 Experimental study on
[8] PinguetBG, rouxG and HopmanN 2006 Field experience
different configurations of capacitive sensors for measuring
in multiphase gas-well testing: the benefit of the
the volumetric concentration in two-phase flows Flow
combination of venturi and multienergy gamma
ray SPE 103223110 Meas. Instrum. 3712734
[9] BlaneyS 2008 Gamma radiation methods for clamp-on [26] WuH, TanC, DongX and DongF 2015 Design of a
multiphase flow metering PhD Thesis School of conductance and capacitance combination sensor for water
Engineering, Cranfield University, UK holdup measurement in oilwater two-phase flow Flow
[10] JungS, KimJ, KimJ and KwonT 2009 Flow-rate Meas. Instrum. 4621829
measurements of a dual-phase pipe flow by cross- [27] TanC, LiP, DaiW and DongF 2015 Characterization of oil
correlation technique of transmitted radiation signals Appl. water two-phase pipe flow with a combined conductivity/
Radiat. Isot. 6712548 capacitance sensor and wavelet analysis Chem. Eng. Sci.
[11] Lund BoO and NyforsE 2002 Application of microwave 13415368
spectroscopy for the detection of water fraction and water [28] HuangY, LanY, HoffmannWC and LaceyRE 2007
salinity in water/oil/gas pipe flow J. Non-Cryst. Solids Multisensor data fusion for high quality data analysis and
30534553 processing in measurement and instrumentation J. Bionic
[12] GuoH, WuX, JinZ and ZhaoH 1993 The design and Eng. 45362
development of microwave holdup meter and application in [29] TanC, WuH and DongF 2013 Horizontal oilwater two-
production logging interpretation of multiphase flows SPE phase flow measurement with information fusion of
2645135564 conductance ring sensor and cone meter Flow Meas.
[13] BarneaD, RoitbergE and ShemerL 2013 Spatial distribution Instrum. 348390
of void fraction in the liquid slug in the whole range of pipe [30] ZhangJ, HuH, DongJ and YanY 2012 Concentration
inclinations Int. J. Multiph. Flow 5292101 measurement of biomass/coal/air three-phase flow by
[14] GoncalvesJL, PaivaTA, CarvalhoRDM and VenturiniOJ integrating electrostatic and capacitive sensors Flow Meas.
2011 Application of the ultrasonic technique for monitoring Instrum. 24439
and measuring the phase fractions of liquidgassolid [31] KalmanRE 1960 A new approach to linear filtering and
mixtures SPE 143153113 prediction problems Trans. ASME 823545
[15] LucklumF and JakobyB 2009 Non-contact liquid level [32] TanC, DaiW, YeungH and DongF 2015 A Kalman
measurement with electromagnetic-acoustic resonator estimation based oilwater two-phase flow measurement
sensors Meas. Sci. Technol. 20124002 with CRCC Int. J. Multiph. Flow 7230617
[16] MeriboutM, Al-RawahiN, Al-NaamanyA, Al-BimaniA, [33] AndreussiP, di DonfrancescoA and MessiaM 1988 An
Al-BusaidiK and MeriboutA 2010 Integration of impedance method for the measurement of liquid hold-up
impedance measurements with acoustic measurements for in two-phase flow Int. J. Multiph. Flow
accurate two phase flow metering in case of high water-cut 1477785
Flow Meas. Instrum. 21819 [34] JaworekA and KrupaA 2004 Gas/liquid ratio measurements
[17] KarapantsiosTD and PaparaM 2008 On the design by RF resonance capacitance sensor Sensors Actuators A
of electrical conductance probes for foam drainage 1131339
applications: assessment of ring electrodes performance [35] TralleroJL, SaricaC and BrillJP 1997 A study of oil/
and bubble size effects on measurements Colloids Surf. A water flow patterns in horizontal pipes SPE Prod. Facil.
32313948 1216572

13

You might also like