Gas-Liquid Two-Phase Flow Measurement Using Coriolis Flowmeters Incorporating Artificial Neural Network Support Vector Machine and Genetic Programming Algorithms
Gas-Liquid Two-Phase Flow Measurement Using Coriolis Flowmeters Incorporating Artificial Neural Network Support Vector Machine and Genetic Programming Algorithms
5, MAY 2017
Abstract— Coriolis flowmeters are well established for the flowrate of a two-phase mixture is challenging in industry.
mass flow measurement of single-phase flow with high accuracy. Significant research based on traditional flowmeters for two-
In recent years, attempts have been made to apply Coriolis phase flow measurement has been conducted, such as Venturi,
flowmeters to measure two-phase flow. This paper presents data
driven models that are incorporated into Coriolis flowmeters V-cone, turbine, vortex, and slotted orifice meters [1]–[3].
to measure both the liquid mass flowrate and the gas volume The determination of gas volume fraction of two-phase flow
fraction of a two-phase flow mixture. Experimental work was is crucial for the optimization of some industrial processes.
conducted on a purpose-built two-phase flow test rig on both Resistive sensors, capacitive sensors, electrical capacitance
horizontal and vertical pipelines for a liquid mass flowrate tomography, electrical resistance tomography, and microwave
ranging from 700 to 14500 kg/h and a gas volume fraction
between 0% and 30%. Artificial neural network (ANN), support probes have been proposed for the phase fraction measurement
vector machine (SVM), and genetic programming (GP) models of two-phase flow [4]–[6]. These techniques are often referred
are established through training with the experimental data. The to as direct method, since the systems are designed to measure
performance of backpropagation-ANN (BP-ANN), radial basis the desired two-phase flow characteristics directly. Due to
function-ANN (RBF-ANN), SVM, and GP models is assessed and the difficult nature of two-phase flow and complexity of the
compared. Experimental results suggest that the SVM models
are superior to the BP-ANN, RBF-ANN, and GP models for sensing systems, the applications of such direct two-phase
two-phase flow measurement in terms of robustness and accuracy. flowmeters have achieved limited success in industry.
For liquid mass flowrate measurement with the SVM models, Indirect techniques based on traditional sensors incorpo-
93.49% of the experimental data yield a relative error less rating soft-computing algorithms, such as artificial neural
than ±1% on the horizontal pipeline, while 96.17% of the results network (ANN), support vector machine (SVM), least-squares
are within ±1% on the vertical installation. The SVM models
predict the gas volume fraction with a relative error less than SVM, and extreme learning machine together with genetic
±10% for 93.10% and 94.25% of the test conditions on the algorithms or particle swarm optimization, have also been
horizontal and vertical installations, respectively. applied to two-phase or multiphase flow measurement or
Index Terms— Artificial neural network (ANN), Coriolis mass flow regime identification [7]–[10]. Coriolis flowmeters, as
flowmeter, flow measurement, gas volume fraction, genetic pro- one of the most accurate single-phase mass flowmeters, have
gramming (GP), support vector machine (SVM), two-phase flow. been successfully applied to a range of industrial applica-
tions. In recent years, many researchers have attempted to
use Coriolis flowmeters for two-phase or multiphase flow
I. I NTRODUCTION measurement [11]. However, despite recent progress in sensor
and transmitter technologies, improving the accuracy for mass
modeling a nonlinear system with multiple inputs and outputs where n and L are the numbers of input variables and hidden
[22]–[26]. These techniques learn from history data and give nodes. ω j is the weight connecting the j th hidden node and
854 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 66, NO. 5, MAY 2017
where C j is the center vector for the j th hidden node and di − yi ≤ ε + ξi (6)
determined by the K-means clustering method. x − C j is
yi − di ≤ ε + ξi (7)
the Euclidean norm and σ 2 is the variance of the Gaussian
function. ξi ≥ 0 (8)
An RBF network with enough hidden nodes can approxi-
ξi ≥ 0. (9)
mate any continuous function with arbitrary precision. More-
over, as a local approximation network, the RBF neural Equation (4) can be transformed into a dual problem and
network has the advantages of simple structure, less adjustive solved by Lagrange functional
parameters, and fast training.
L
y= αi − αi∗ · K (x, x i ) + b (10)
D. SVM i=1
SVM was developed by Cortes and Vapnik [27] to solve the where αi and αi∗ are Lagrange multipliers and K (x, x i ) is a
classification problem based on the statistic learning theory kernel function.
WANG et al.: GAS–LIQUID TWO-PHASE FLOW MEASUREMENT USING CORIOLIS FLOWMETERS 855
E. GP
GP as an evolutionary computation technique is an exten- Fig. 6. Schematic of the two-phase flow test rig.
sion of genetic algorithms and is widely applied to symbolic
data mining (symbolic regression, classification, and opti-
mization) [29]–[31]. Unlike the traditional regression analysis,
GP-based symbolic regression automatically evolves both the
structure and the parameters of the mathematical model from
the available data. Meanwhile, it is superior to other machine
learning techniques due to the ability to generate an empir-
ical mathematical equation without assuming prior form of
the existing relationships. In this paper, multigene symbolic
regression is applied to establish a model for two-phase
flow measurement. The structure of a multigene symbolic
regression model is shown in Fig. 5.
The GP model can be regarded as a linear combination
of lower order nonlinear transformations of the input vari- Fig. 7. Photograph of the test Coriolis flowmeters on 1-inch pipelines.
ables. The output yGP is defined as a vector output of n
trees modified by the bias term b0 and scaling parameters
b1 , . . . , bn are expected to be transportable to other gas–liquid two-phase
flow conditions. The gas flow is set to enter to the liquid flow
yG P = b0 + b1 t1 + · · · + bn tn (12)
through a bypass on the pipe. The liquid mass flowrate is
where ti (i = 1, . . . , n) is the (m × 1) vector of outputs from controlled by adjusting the pump frequency from 15% to 80%.
the i th tree comprising a multigene individual. The gas flowrate is varied by adjusting the opening of the
The evolutionary process starts with initial population by valve in a gas flow controller. Two independent Coriolis
creating individuals containing GP trees with different genes flowmeters (KROHNE OPTIMASS 6400 S25 and Bronkhorst
generated randomly. The evolutionary process continues with mini CORI-FLOW M15) were installed before the mixer to
an evaluation of the fitness of the new population, two-point provide references for the individual mass flow rates of the
high-level crossover to acquire and delete genes, and low-level liquid and gas phases, respectively. Both reference meters’
crossover on subtrees. Then, the created trees replace the measurement uncertainties under single-phase conditions were
parent trees or the unaltered individual in the next generation verified according to the manufacturer’s technical specifica-
through mutation operators. The best program that appeared tion. In the downstream, two additional Coriolis flowmeters
in any generation, the best-so-far solution, defines the output (see Fig. 7) of the same type as the liquid reference meter
of the GP algorithm [30]. were installed in the vertical and horizontal test sections,
respectively. These are the meters under test to assess the
III. E XPERIMENTAL R ESULTS AND D ISCUSSION performance of ANN, SVM, and GP models under two-
phase flow conditions. In view of the effects of gravity and
A. Test Rig and Experimental Conditions buoyancy on two-phase fluid, both the horizontal and vertical
Fig. 6 shows the schematic of the two-phase flow test rig installations of the meters are considered. A DP transducer
that was used in this paper. The measurement data obtained was used to record the DP value across each flowmeter under
on this rig and subsequent conclusions drawn from the data test.
856 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 66, NO. 5, MAY 2017
Fig. 9. Original errors of the liquid mass flowrate from Test II. (a) Horizontal
pipeline. (b) Vertical pipeline.
Fig. 8. Original errors of the liquid mass flowrate from Test I. (a) Horizontal
pipeline. (b) Vertical pipeline. errors become positive and crossing the zero line and then
return to negative errors again along with increasing entrained
gas. This is believed to be due to the flow regime effects
The data logging frequencies, as set in the data loggers for on the fluid-tube coupling system at different flowrates. At a
the mass flowrate, density, damping, and DP, are 50, 10, 2, lower flowrate (<2000 kg/h), the flow was nearly slug flow
and 20 Hz, respectably. Each parameter was logged over a as observed during the test, while the flow regime became
period of 100 s with a time averaged value generated under gradually dispersed bubbly flow as the flowrate and entrained
each experimental condition. Gas volume fraction α is defined gas increase. For the Coriolis flowmeter on the horizontal
and calculated as follows: pipeline, the range of mass flow errors is different from
qv,g
α= × 100% (13) that on the vertical pipeline most likely due to the effects
qv,l + qv,g of gravity and buoyancy on the flow regime. Positive errors
where qv,g and qv,l are the calculated volume flowrates of occur at the mass flowrates of 700 and 1000 kg/h when the
gas and liquid phases from the reference flow meters and the gas volume fraction below 6%. By comparing the mass flow
temperature and pressure in the upstream of the horizontal errors at the same flowrate in Figs. 8 and 9, the errors are
test meter. generally reproducible for the same installation and thanks to
Density drop is determined from the density of the liquid the new-generation flow transmitter [32]. For the test data set,
flow (ρl ) and the apparent density (ρ) from the Coriolis Test II includes some experimental data that were collected at
flowmeter under test different flowrates from those in Test I. The new conditions as
ρl − ρ in Test II that were conducted on a different day and obtained
d= × 100%. (14) under different flowrate from Test I are useful to assess the
ρl
models’ generalization capability and reproducibility.
Two series of experimental tests, Tests I and II, were conducted
Fig. 10 shows the distribution of the relative errors of the
for the liquid mass flow rate ranging from 700 to 14 500 kg/h
measured liquid mass flowrate on both the horizontal and
and gas volume fraction from 0% to 30%. The fluid temper-
vertical pipelines. Each color (blue or green) in the figure
ature during the tests was around 20 °C. For the purpose of
represents training or test data sets, respectively. The Coriolis
ANN training, 237 data sets were collected from Tests I, while
flowmeter on the horizontal pipeline yields the liquid mass
24 data sets recorded from Tests II for testing the performance
flowrate with a relative error between −41% and 9%, while
of the data driven models.
the meter on the vertical pipeline gives an error from −25%
to 11%. The difference in errors between the vertical and
B. Analysis of Original Errors horizontal installations is due to the fact that the bubbles in
The typical original mass flow errors of the Coriolis flowme- a vertical flow are distributed evenly in the pipe cross section
ters in Test I are shown in Fig. 8. The Coriolis flowmeter on due to the effect of gravity, resulting in less interruption on
the vertical section gives negative errors at flowrates below the tube vibration inside the Coriolis flowmeter and hence
4000 kg/h. At a higher flowrate (>5500 kg/h), the mass flow different errors.
WANG et al.: GAS–LIQUID TWO-PHASE FLOW MEASUREMENT USING CORIOLIS FLOWMETERS 857
Fig. 10. Relative error histogram of the measured liquid mass flowrate. (a) Horizontal pipeline. (b) Vertical pipeline.
Fig. 11. Performance of BP-ANNs with differenct numbers of neurons in the hidden layer. (a) BP-ANN: H-L. (b) BP-ANN: V-L. (c) BP-ANN: H-G.
(d) BP-ANN: V-G.
condition, a separate model is established for the correction paper, normalized root-mean-square error (NRMSE) is used
of the measured liquid mass flowrate and the prediction of to assess the performance of a data driven model, which is
gas volume fraction. The inputs of the BP-ANN for liquid defined as
mass flowrate correction include four variables, i.e., observed
1
1
m
density drop, apparent mass flowrate, damping, and DP. The
N RM S E = (yi − ŷi )2 (17)
inputs of the BP-ANN for gas volume fraction prediction ȳ m
i=1
include observed density drop, apparent mass flowrate, and DP.
The number of neurons (L) in the hidden layer is determined where yi is the reference mass flow rate of the liquid phase or
using (15) and (16), as proposed in [33] gas volume fraction, ȳ is the mean of yi , ŷi is the corrected
mass flow rate or predicted gas volume fraction from the data
L ≤ 2n + 1 (15) driven model accordingly, and m is the number of samples
m
L ≤ (16) used.
n+1 As the weights and biases between the neurons are ini-
where n and m are the numbers of input variables and training tialized randomly, a different BP-ANN is obtained for each
samples, respectively. However, (15) and (16) give only the training, resulting in different performances. A preliminary
range of L for BP-ANN models. The exact L for a model study of averaging NRMSE of more than 200 BP-ANNs did
can be selected by a trial-and-error method to compromise not show any noticeable difference. Therefore, in order to
between minimizing errors and achieving good generalization minimize the effect of random initialization of an ANN, the
capability. The output layer has one neuron for each model, average NRMSE of 200 BP-ANNs with the same structure is
since there is only one output variable. calculated to assess the effect of the hidden neurons on the
The BP-ANN transfer function between the input and performance of the ANN.
hidden layers is hyperbolic tangent sigmoid transfer function. For the models for liquid mass flowrate correction, the
The pure linear function is taken as the transfer function number of neurons in the hidden layer is set from 4 to 9 as
connecting the hidden layer to the output layer. The training per (15) and (16). The NRMSE values of the BP-ANNs are
function is Bayesian regularization, while the learning function summarized in Fig. 11. The error bars indicate the maximum
is gradient descent with momentum weight and bias learning and minimum errors of 200 BP-ANNs for the same structure.
function. Training stops when the maximum number of epochs In view of the errors on both training and test datasets, the
is reached or the performance is minimized to the goal. In this BP-ANN with seven neurons in the hidden layer performs
WANG et al.: GAS–LIQUID TWO-PHASE FLOW MEASUREMENT USING CORIOLIS FLOWMETERS 859
Fig. 12. Errors of the corrected liquid mass flowrate from the trained Fig. 13. Error of the predicted gas volume fraction from the trained
BP-ANNs. (a) Errors of the corrected mass flowrate on the horizontal pipeline BP-ANNs. (a) Errors of the predicted gas volume fraction on the horizontal
with training data set. (b) Errors of the corrected mass flowrate on the pipeline with training data set. (b) Errors of the predicted gas volume fraction
horizontal pipeline with test data set. (c) Errors of the corrected mass flowrate on the horizontal pipeline with test data set. (c) Errors of the predicted gas
on the vertical pipeline with training data set. (d) Errors of the corrected mass volume fraction on the vertical pipeline with training data set. (d) Errors of
flowrate on the vertical pipeline with test data set. the predicted gas volume fraction on the vertical pipeline with test data set.
better than other structures under both the horizontal and liquid mass flowrate from the BP-ANNs. For the horizontal
vertical conditions. The BP-ANN used for gas volume fraction and vertical pipelines, the relative errors are mostly less than
prediction has lower NRMSE when the number of the hidden ±2% (the red dashed lines in Fig. 12) with the training
neurons is 6. data set except some larger errors at the low flowrates of
Once the structure of a BP-ANN is determined, the trained 700 and 1000 kg/h. This is very likely due to larger bubbles
neural network that has the minimum error with the test data or slugs appearing in the flow tubes under low flowrate,
set is selected. Fig. 12 shows the errors of the corrected which affects the Coriolis flowmeter behaving differently from
860 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 66, NO. 5, MAY 2017
Fig. 15. Errors of the predicted gas volume fraction from the RBF-ANNs.
Fig. 14. Errors of the corrected liquid mass flowrate from the RBF-ANNs. (a) Errors of the predicted gas volume fraction on the horizontal pipeline
(a) Errors of the corrected mass flowrate on the horizontal pipeline with with training data set. (b) Errors of the predicted gas volume fraction on
training data set. (b) Errors of the corrected mass flowrate on the horizontal the horizontal pipeline with test data set. (c) Errors of the predicted gas
pipeline with test data set. (c) Errors of the corrected mass flowrate on volume fraction on the vertical pipeline with training data set. (d) Errors of
the vertical pipeline with training data set. (d) Errors of the corrected mass the predicted gas volume fraction on the vertical pipeline with test data set.
flowrate on the vertical pipeline with test data set.
volume fraction is below 5%. As the entrained gas increases,
smaller bubbles. The trained BP-ANN has relatively larger the errors from the training data set are mostly within ±10%
errors at low flowrates and hence results in unsatisfactory (the red dashed lines in Fig. 13). For the test data set, however,
performance with the test data set under the same experimental all the errors are less than ±10% on the vertical pipeline, even
conditions. under the low flowrate conditions.
Since the gas volume fraction under the experimental con-
ditions ranges from 0% to 30% and the intrinsic complexity of E. Performance of the RBF-ANN
two-phase flow, the relative errors of the predicted gas volume Fig. 14 shows the relative errors of the corrected liquid
fraction from the BP-ANNs are quite large when the gas mass flowrate from the RBF-ANNs. In order to achieve more
WANG et al.: GAS–LIQUID TWO-PHASE FLOW MEASUREMENT USING CORIOLIS FLOWMETERS 861
Fig. 17. Errors of the predicted gas volume fraction from the SVMs.
(a) Errors of the predicted gas volume fraction on the horizontal pipeline
with training data set. (b) Errors of the predicted gas volume fraction on
Fig. 16. Errors of the corrected liquid mass flowrate error from the SVMs. the horizontal pipeline with test data set. (c) Errors of the predicted gas
(a) Errors of the corrected mass flowrate on the horizontal pipeline with volume fraction on the vertical pipeline with training data set. (d) Errors of
training data set. (b) Errors of the corrected mass flowrate on the horizontal the predicted gas volume fraction on the vertical pipeline with test data set.
pipeline with test data set. (c) Errors of the corrected mass flowrate on
the vertical pipeline with training data set. (d) Errors of the corrected mass
flowrate on the vertical pipeline with test data set.
Fig. 18. Errors of the corrected liquid mass flowrate error from the GPs.
(a) Errors of the corrected mass flowrate on the horizontal pipeline with Fig. 19. Errors of the predicted gas volume fraction from the GPs. (a) Errors
training data set. (b) Errors of the corrected mass flowrate on the horizontal of the predicted gas volume fraction on the horizontal pipeline with training
pipeline with test data set. (c) Errors of the corrected mass flowrate on data set. (b) Errors of the predicted gas volume fraction on the horizontal
the vertical pipeline with training data set. (d) Errors of the corrected mass pipeline with test data set. (c) Errors of the predicted gas volume fraction
flowrate on the vertical pipeline with test data set. on the vertical pipeline with training data set. (d) Errors of the predicted gas
volume fraction on the vertical pipeline with test data set.
TABLE III
NRMSE OF SVM W ITH D IFFERENT K ERNEL F UNCTIONS
Fig. 20. Performance comparison between ANNs, SVMs, and GPs. (a) ANNs, SVMs, and GPs with training data set. (b) ANNs, SVMs, and GPs with
test data set.
initial choice of synaptic weights and cannot produce the fixed and terminal sets {x 1 , x 2 , x 3 , x 4 } for models H-L and V-L
results. Through a direct comparison of the performances of and {x 1 , x 2 , x 4 } for models H-G and V-G.
SVM between the four kinds of kernel function (Table III), we The GP-based formulations for the four models are given
know that the SVM with RBF generates the smallest NRMSE in the following:
among the four models.
From Fig. 16(a) and (c), the SVM model performs well y H −L = 0.994x 2 − 2633x 1 + 4300 tanh(x 1 ) tanh(x 3 )
to fit with training data and limit the relative errors on the + 13.2x 1 x 4 + 0.00571x 2 x 3 − 0.0995x 2 x 3
horizontal and vertical pipelines to ±1% or less, except some × tanh(x 1 ) + 62.4 (18)
points at 700 and 1000 kg/h, which is a common problem for yV −L = x 2 + 57.6x 3 − 0.161x 4 + 29.8x 1 x 4
the ANN and SVM models. The generalization ability of the
+ 871 tanh x 32 x 4 tanh(x 1 ) − 0.00913x 4(x 3 + x 1 x 4 )
SVM model is proven, as shown in Fig. 16(b) and (d). Most
errors from the SVM models with the test data are reduced − 0.122x 1 x 2 x 3 + 32.5 (19)
−6
to ±1%. y H −G = 0.783x 1 + 1.6e x 2 + 0.00278x 4 − 0.114x 1 x 4
Fig. 17 shows that for gas volume fraction prediction, a less + 0.159x 12 x 4 + 6.82e−5 x 43 − 0.0182 (20)
−7 −7
number of points from the SVM models have an error beyond yV −G = 1.01x 1 − 5.49e x 2 − 0.0217x 4 − 2.74e tanh(x 1 )
±10% with the training data set. Since the kernel function − 1.05e−4 x 1 x 2 + 2.74e−6 x 2 x 4 + 0.00253x 1 x 42
used in the SVM models is RBF, the performance of the SVM
− 1.05e−4 x 12 x 4 − 2.74e−7 x 1 x 2 x 4 + 0.00587. (21)
models has the common problem with the RBF-ANN. The
relative errors in the predicted gas volume fraction with the The errors of the corrected mass flowrate on the train-
test data set at the flowrate of 1000 kg/h are larger than other ing data set using GP are higher by −15% and 25%,
test data. respectively, under the horizontal and vertical installations
[Fig. 18(a) and (c)], which results in larger errors on the
G. Performance of the GP
test data set [Fig. 18(b) and (d)]. As can be seen that, larger
Four GP models are established in this paper for correcting errors normally occur at low flowrates, which indicate that the
the liquid mass flowrate and predicting the gas volume frac- GP models are unable to approximate all the data.
tion, respectively, for the horizontal and vertical installations As shown in Fig. 19, for the prediction of gas volume
of Coriolis flowmeters. The parameters that were set in the GP fraction, the outputs of GP models have large errors for low
algorithms include: a population size of 250, a tournament size gas entrainment and low flowrates. The relative errors with
of 25, an elitism of 0.7, maximum number of genes allowed test data reach 25% and −50% on the horizontal and vertical
in an individual 6, function set {×, −, +, tanh, mult3, add3}, pipes, respectively.
864 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 66, NO. 5, MAY 2017
Fig. 21. Relative error histogram of ANNs, SVMs, and GPs for corrected liquid mass flowrate. (a) BP-ANN: H-L. (b) BP-ANN: V-L. (c) RBF-ANN: H-L.
(d) RBF-ANN: V-L. (e) SVM: H-L. (f) SVM: V-L. (g) GP: H-L. (h) GP: V-L.
H. Perforamce Comparison Between BP-ANN, gas volume fraction prediction, GP produces larger errors than
RBF-ANN, SVM, and GP the other three techniques. Both BP-ANN and RBF-ANN have
1) Robustness: In order to assess the robustness of the four a similar mean NRMSE with the training data set, while the
kinds of models, the averaged NRMSE values are shown in SVM models yield less error. With the test data set, BP-ANN,
Fig. 20. The models for liquid mass flowrate correction and RBF-ANN, and SVM methods perform similarly on Models
WANG et al.: GAS–LIQUID TWO-PHASE FLOW MEASUREMENT USING CORIOLIS FLOWMETERS 865
Fig. 22. Relative error histogram of ANNs, SVMs, and GPs for gas volume fraction prediction. (a) BP-ANN: H-G. (b) BP-ANN: V-G. (c) RBF-ANN: H-G.
(d) RBF-ANN: V-G. (e) SVM: H-G. (f) SVM: V-G. (g) GP: H-G. (h) GP: V-G.
H-L and V-L. However, the SVM models are significantly all the time. This outcome suggests that the SVM models are
better than the BP-ANN, RBF-ANN, and GP models for the superior to both ANN and GP models in terms of robustness.
prediction of gas volume fraction. Moreover, BP-ANN and 2) Accuracy: Fig. 21 shows the relative error histograms of
RBF-ANN have uncertain parameters to optimize which could the ANNs, SVMs, and GPs for corrected liquid mass flowrate.
result in differences in performance. However, due to their It is clear that the error distributions of the GP and ANN
fixed structure, the SVM models produce repeatable results models are much wider and dispersive than the SVM models.
866 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 66, NO. 5, MAY 2017
TABLE IV
M EAN AND S TANDARD D EVIATION OF THE R ELATIVE E RROR D ISTRIBUTION FOR L IQUID M ASS F LOWRATE C ORRECTION
TABLE V
M EAN AND S TANDARD D EVIATION OF THE R ELATIVE E RROR D ISTRIBUTION FOR G AS V OLUME F RACTION P REDICTION
TABLE VI
A CCURACY C OMPARISONS OF ANN, SVM, AND GP M ODELS
Through comparing the mean value and standard deviation of error less than ±1% on the horizontal pipeline, while 96.17%
the errors between the eight error distributions (Table IV), we of the results are within ±1% on the vertical installation.
can see that the SVM models with the lowest mean value and The SVM models predict the gas volume fraction with a
standard deviation outperform the BP-ANN, RBF-ANN, and relative error less than 10% for 93.10% and 94.25% of the
GP models for liquid mass flowrate measurement on both the test conditions on the horizontal and vertical installations,
horizontal and vertical pipelines. Moreover, the data driven respectively. Therefore, the SVM models perform significantly
models (a mean value of 0.0008% and a standard deviation better than the BP-ANN, RBF-ANN, and GP models for two-
of 0.40%) on the vertical pipeline perform better than those phase flow measurement in terms of robustness and accuracy.
on the horizontal pipeline (a mean value of 0.0585% and a
standard deviation of 0.66%).
IV. C ONCLUSION
Fig. 22 shows the relative error histograms of the four
types of models for gas volume fraction prediction. GP models In this paper, experimental and analytical investigations
have a larger range of errors than all other models. The error have been carried out to assess the performance of BP-ANN,
distribution of the SVM model is much narrower than the ANN RBF-ANN, SVM, and GP for gas–liquid two-phase flow mea-
models for the measurement of gas volume fraction. It can be surement using Coriolis flowmeters. The results presented have
seen that most errors of the SVM models are concentrated suggested that the SVM models are superior to the two ANN
around zero line. Table V shows that the standard deviations models and the GP models for two-phase flow measurement in
of the SVM and RBF-ANN models are smaller than that of the terms of robustness and accuracy. The SVM models perform
BP-ANN and GP models on both the horizontal and vertical well consistently, while the performance of ANN and GP
pipelines. models depends on the user-defined parameters. For liquid
In order to assess the accuracy of the ANN, SVM, and GP mass flowrate measurement, the SVM models outperform
models, the percentage of experimental data for each model the BP-ANN, RBF-ANN, and GP on both the horizontal
that can achieve the accuracy of ±2% and ±1%, respectively, and vertical pipelines and the most corrected errors (>93%)
for liquid mass flowrate measurement and ±10% for gas are within ±1%. For the gas volume fraction prediction,
volume fraction prediction is calculated and summarized in the RBF-ANN and SVM models yield most relative errors
Table VI. For liquid mass flowrate measurement with the (>90%) less than ±10% and outperform the BP-ANN and
SVM models, 93.49% of the experimental data yield a relative GP. It must be stressed that the significantly reduced errors in
WANG et al.: GAS–LIQUID TWO-PHASE FLOW MEASUREMENT USING CORIOLIS FLOWMETERS 867
mass flowrate measurement from the Coriolis mass flowmeters [17] L. Xing et al., “A combination method for metering gas–liquid two-
and gas volume fraction prediction are achieved by using the phase flows of low liquid loading applying ultrasonic and coriolis
flowmeters,” Flow Meas. Instrum., vol. 37, pp. 135–143, Jan. 2014.
existing data from the Coriolis flowmeters and a simple DP [18] L. Ma, H. Zhang, H. Zhou, and Q. He, “Mass flow measurement of oil-
transducer without the use of any other devices. SVM has water two-phase flow based on coriolis flow meter and SVM,” J. Chem.
consistently outperformed ANN and GP in the correction of Eng. Chin. Univ., vol. 21, no. 2, pp. 201–205, Apr. 2007.
liquid mass flow errors and prediction of gas volume fraction. [19] R. May, H. Maier, G. C. Dandy, and T. Fernando, “Non-linear variable
selection for artificial neural networks using partial mutual information,”
This outcome has effectively extended the applicability of Environ. Model. Softw., vol. 23, nos. 10–11, pp. 1312–1326, 2008.
Coriolis mass flowmeters to liquid flow measurement with [20] S. Galelli, G. B. Humphrey, H. R. Maier, A. Castelletti, G. C. Dandy,
a significant volume of entrained gas. In the future work, and M. S. Gibbs, “An evaluation framework for input variable selection
algorithms for environmental data-driven models,” Environ. Model.
the data driven models will be extended for the measurement Softw., vol. 62, pp. 33–51, Dec. 2014.
of other liquids with different viscosities under two-phase or [21] L. Wang, J. Liu, Y. Yan, X. Wang, and T. Wang, “Gas-liquid two-
multiphase flow conditions. phase flow measurement using coriolis flowmeters incorporating neural
networks,” in Proc. IEEE Int. Instrum. Meas. Technol. Conf., Taipei,
Taiwan, May 2016, pp. 747–751.
R EFERENCES
[22] H. A. Farfani, F. Behnamfar, and A. Fathollahi, “Dynamic analysis
[1] Y. Li, J. Wang, and Y. Geng, “Study on wet gas online flow rate of soil-structure interaction using the neural networks and the support
measurement based on dual slotted orifice plate,” Flow Meas. Instrum., vector machines,” Expert Syst. Appl., vol. 42, no. 22, pp. 8971–8981,
vol. 20, nos. 4–5, pp. 168–173, Aug. 2009. Dec. 2015.
[2] J. L. G. Oliveira, J. C. Passos, R. Verschaeren, and C. van der Geld, [23] S. Belaid and A. Mellit, “Prediction of daily and mean monthly global
“Mass flow rate measurements in gas–liquid flows by means of a Venturi solar radiation using support vector machine in an arid climate,” Energ.
or orifice plate coupled to a void fraction sensor,” Experim. Thermal Convers. Manage., vol. 118, pp. 105–118, Jun. 2016.
Fluid Sci., vol. 33, no. 2, pp. 253–260, Jan. 2009. [24] M. A. M. Ramli, S. Twaha, and Y. A. Al-Turki, “Investigating the
[3] Z. Sun, “Mass flow measurement of gas–liquid bubble flow with the performance of support vector machine and artificial neural networks in
combined use of a Venturi tube and a vortex flowmeter,” Meas. Sci. predicting solar radiation on a tilted surface: Saudi Arabia case study,”
Technol., vol. 21, no. 5, pp. 1–7, Mar. 2010. Energ. Convers. Manage., vol. 105, pp. 442–452, Nov. 2015.
[4] Y. Xu, H. Wang, Z. Cui, F. Dong, and Y. Yan, “Separation of gas–liquid [25] F. Chen, H. Li, Z. Xu, S. Hou, and D. Yang, “User-friendly optimization
two-phase flow through independent component analysis,” IEEE Trans. approach of fed-batch fermentation conditions for the production of
Instrum. Meas., vol. 59, no. 5, pp. 1294–1302, May 2010. iturin a using artificial neural networks and support vector machine,”
[5] L. Wang, Z. Yao, B. Wang, H. Ji, and H. Li, “Flow pattern identification Electron. J. Biotechnol., vol. 18, no. 4, pp. 273–280, Jul. 2015.
of gas–liquid two-phase flow based on capacitively coupled contactless [26] A. H. Gandomi and A. H. Alavi, “A new multi-gene genetic program-
conductivity detection,” IEEE Trans. Instrum. Meas., vol. 61, no. 5, ming approach to nonlinear system modeling. Part I, materials and
pp. 1466–1475, May 2012. structural engineering problems,” Neural Comput. Appl., vol. 21, no. 1,
[6] F. Dong, Y. Xu, L. Hua, and H. Wang, “Two methods for measurement of pp. 171–187, Feb. 2012.
gas-liquid flows in vertical upward pipe using dual-plane ERT system,” [27] C. Cortes and V. Vapnik, “Support-vector networks,” Mach. Learn.,
IEEE Trans. Instrum. Meas., vol. 55, no. 5, pp. 1576–1586, Oct. 2006. vol. 20, no. 3, pp. 273–297, 1995.
[7] L. Xu, W. Zhou, X. Li, and S. Tang, “Wet gas metering using a [28] H. Drucker, C. Burges, L. Kaufman, A. Smola, and V. Vapnik, “Sup-
revised Venturi meter and soft-computing approximation techniques,” port vector regression machines,” Neural Inf. Process. Syst., vol. 9,
IEEE Trans. Instrum. Meas., vol. 60, no. 3, pp. 947–956, Mar. 2011. pp. 155–161, Apr. 1997.
[8] X. Li, X. Huang, B. Wang, and H. Li, “A new method for the online [29] J. Koza, Genetic Programming: On the Programming of Computers by
voidage measurement of the gas–oil two-phase flow,” IEEE Trans. Means of Natural Evolution. Cambridge, MA, USA: MIT Press, 1992.
Instrum. Meas., vol. 58, no. 5, pp. 1571–1577, May 2009. [30] J. Madár, J. Abonyi, and F. Szeifert, “Genetic programming for the
[9] H. Ji, J. Long, Y. Fu, Z. Huang, B. Wang, and H. Li, “Flow pattern identification of nonlinear input-output models,” Ind. Eng. Chem. Res.,
identification based on EMD and LS-SVM for gas–liquid two-phase vol. 44, no. 9, pp. 3178–3186, Mar. 2005.
flow in a minichannel,” IEEE Trans. Instrum. Meas., vol. 60, no. 5, [31] D. P. Searson, “GPTIPS 2: An open-source software platform for sym-
pp. 1917–1924, May 2011. bolic data mining,” in Handbook of Genetic Programming Applications.
[10] M. G. De Giorgi, A. Ficarella, and A. Lay-Ekuakille, “Cavitation New York, NY, USA: Springer, 2015, ch. 22.
regime detection by LS-SVM and ANN with wavelet decomposition [32] J. W. Kunze, R. Storm, and T. Wang, “Coriolis mass flow measurement
based on pressure sensor signals,” IEEE Sensors J., vol. 15, no. 10, with entrained gas,” in Proc. ITG/GMA Symp. Sensors Meas. Syst.,
pp. 5701–5708, Oct. 2015. Jun. 2014, pp. 1–6.
[11] T. Wang and R. Baker, “Coriolis flowmeters: A review of developments [33] G. J. Bowden, H. R. Maier, and G. C. Dandy, “Input determination
over the past 20 years, and an assessment of the state of the art and likely for neural network models in water resources applications. Part 2. Case
future directions,” Flow Meas. Instrum., vol. 40, pp. 99–123, Sep. 2014. study: Forecasting salinity in a river,” J. Hydrol., vol. 301, nos. 1–4,
[12] J. Hemp and G. Sultan, “On the theory and performance of pp. 93–107, Jan. 2005.
coriolis mass flowmeters,” in Proc. Int. Conf. Mass Flow Meas.,
1989, pp. 1–38.
[13] R. P. Liu, M. J. Fuent, M. P. Henry, and M. D. Duta, “A neural
network to correct mass flow errors caused by two-phase flow in a digital
coriolis mass flowmeter,” Flow Meas. Instrum., vol. 12, no. 1, pp. 53–63,
Mar. 2001.
[14] B. Safarinejadian, M. A. Tajeddini, and L. Mahmoodi, “A new fuzzy
based method for error correction of coriolis mass flow meter in presence Lijuan Wang (S’13) received the B.Eng. degree
of two-phase fluid,” in Proc. Int. Conf. Artif. Intell. Image Process., 2012, in computer science and technology from Qiqihar
pp. 192–196. University, Qiqihar, China, in 2010, and the Ph.D.
[15] V. A. Lari and F. Shabaninia, “Error correction of a coriolis mass degree in measurement and automation from North
flow meter in two-phase flow measurment using neuro-fuzzy,” in China Electric Power University, Beijing, China,
Proc. 16th CSI Int. Symp. Artif. Intell. Signal Process., May 2012, in 2015. She is currently pursuing the Ph.D. degree
pp. 611–616. in instrumentation and measurement with the Uni-
[16] Q. L. Hou, K. J. Xu, M. Fang, Y. Shi, B. B. Tao, and R. versity of Kent, Canterbury, U.K.
W. Jiang, “Gas–liquid two-phase flow correction method for digital Her current research interests include electrosta-
CMF,” IEEE Trans. Instrum. Meas., vol. 63, no. 10, pp. 2396–2404, tic sensing, flow measurement, and digital signal
Mar. 2014. processing.
868 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 66, NO. 5, MAY 2017
Jinyu Liu received the B.Eng. degrees in electrical Xue Wang received the B.Sc. degree in mathe-
engineering and automation from Tianjin Univer- matical statistics from Northwest University, Xi’an,
sity, Tianjin, China, and in electronic and computer China, in 1996, the M.Sc. degree in statistics
systems from the University of Kent, Canterbury, from Northwestern Polytechnic University, Xi’an,
U.K., in 2012, and the M.Sc. degree in energy in 1999, and the Ph.D. degree in statistics from
and sustainability with electrical power engineering The University of Nottingham, Nottingham, U.K.,
from the University of Southampton, Southampton, in 2006.
U.K., in 2013. He is currently pursuing the Ph.D. She was a Post-Doctoral Research Assistant with
degree in instrumentation and measurement with the the Statistics Group, University of Bristol, Bris-
University of Kent. tol, U.K., from 2005 to 2006. She is currently a
His current research interests include flow rig Lecturer with University of Kent, Canterbury, U.K.
construction, flow measurement, and digital signal processing. Her current research interests include bayesian nonparametrics, wavelet and
multiscale methods, and statistical signal processing.