[go: up one dir, main page]

CN107392250A - A kind of Method for Discriminating Gas-liquid Two Phase Flow - Google Patents

A kind of Method for Discriminating Gas-liquid Two Phase Flow Download PDF

Info

Publication number
CN107392250A
CN107392250A CN201710610596.0A CN201710610596A CN107392250A CN 107392250 A CN107392250 A CN 107392250A CN 201710610596 A CN201710610596 A CN 201710610596A CN 107392250 A CN107392250 A CN 107392250A
Authority
CN
China
Prior art keywords
wave signal
flow pattern
interface wave
phase flow
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710610596.0A
Other languages
Chinese (zh)
Inventor
华陈权
车新跃
杨毅森
邢兰昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Petroleum East China
Original Assignee
China University of Petroleum East China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Petroleum East China filed Critical China University of Petroleum East China
Priority to CN201710610596.0A priority Critical patent/CN107392250A/en
Publication of CN107392250A publication Critical patent/CN107392250A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N29/00Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
    • G01N29/44Processing the detected response signal, e.g. electronic circuits specially adapted therefor
    • G01N29/4409Processing the detected response signal, e.g. electronic circuits specially adapted therefor by comparison
    • G01N29/4418Processing the detected response signal, e.g. electronic circuits specially adapted therefor by comparison with a model, e.g. best-fit, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2291/00Indexing codes associated with group G01N29/00
    • G01N2291/02Indexing codes associated with the analysed material
    • G01N2291/024Mixtures
    • G01N2291/02425Liquids in gases, e.g. sprays
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2291/00Indexing codes associated with group G01N29/00
    • G01N2291/02Indexing codes associated with the analysed material
    • G01N2291/024Mixtures
    • G01N2291/02433Gases in liquids, e.g. bubbles, foams
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)

Abstract

本发明涉及一种气液两相流流型识别方法。其包括根据采集的超声回波计算得到界面波信号;根据经验模态分解法把界面波信号分解为若干个本征模态函数;通过提取界面波信号本征模态函数的能量百分比特征,得到各本征模态函数分量的能量,并将各本征模态函数分量的能量组成特征向量T;基于对特征向量归一化,获得本征模态函数的总能量和归一化后的特征向量T′;通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型。采用的脉冲超声回波法原理简单,易于测量两相流界面波;使用的支持向量机方法基于统计学习理论,适合样本较少的情况,相比神经网络等算法能够在较少训练样本情况下得到较好的识别率。

The invention relates to a flow pattern identification method of gas-liquid two-phase flow. It includes calculating the interface wave signal based on the collected ultrasonic echo; decomposing the interface wave signal into several eigenmode functions according to the empirical mode decomposition method; extracting the energy percentage characteristics of the eigenmode function of the interface wave signal to obtain The energy of each eigenmode function component, and the energy of each eigenmode function component constitutes the eigenvector T; based on the normalization of the eigenvector, the total energy of the eigenmode function and the normalized characteristic Vector T'; by sending the feature vector T' as a training sample into the support vector machine for training, the flow classification model is obtained. The principle of the pulsed ultrasonic echo method is simple, and it is easy to measure the interface wave of the two-phase flow; the support vector machine method used is based on the statistical learning theory, which is suitable for the case of fewer samples. get a better recognition rate.

Description

一种气液两相流流型识别方法A flow pattern recognition method for gas-liquid two-phase flow

技术领域technical field

本发明涉及一种气液两相流流型识别方法。The invention relates to a flow pattern identification method of gas-liquid two-phase flow.

背景技术Background technique

众多工业生产过程(动力、石化、冶金等)都涉及到气液两相流现象。两相流体介质的相界面空间分布情况被称为流动形态或流型。两相流流型是分析两相流流动特性和传热特性的重要指标,流型的准确识别也对两相流各种参数的测量起着决定的作用。由于两相流的流型受到众多因素的影响,流型复杂多变,这不仅对测量两相流参数造成阻力,也使现场系统及设备的设计变得更复杂。两相流动系统的复杂性和随机性使流型的准确识别变得困难,流型准确识别一直都是尚未圆满解决的问题。而随着工业过程对两相流计量、节能和控制方面的要求越来越高,两相流的流型辨识需求也变得越来越急迫。现有技术主要为流型图法、直接测量法、间接测量法。流型图是在不同实验条件下得到的,有局限性和适用条件,不能在工业过程中广泛使用。直接测量法中高速摄影法的缺点是需要透明管道或窗口,复杂的反射、折射效应降低了测量的精度;射线衰减法使用了放射源不利于存放和保管,安全问题需要特别关注。间接测量法需要选择能够反映流体动态特征的参数,压差信号被广泛使用,但是压差信号表现出很大的随机性,需要进一步的信号分析提取能够较好识别流型的特征参数,并利用特征信息使用智能分类算法识别流型。特征的选择很大程度上决定了识别流型的成功率。Many industrial production processes (power, petrochemical, metallurgy, etc.) involve gas-liquid two-phase flow phenomenon. The spatial distribution of the phase interface in a two-phase fluid medium is called the flow configuration or flow pattern. The flow pattern of two-phase flow is an important index to analyze the flow characteristics and heat transfer characteristics of two-phase flow, and the accurate identification of flow pattern also plays a decisive role in the measurement of various parameters of two-phase flow. Because the flow pattern of two-phase flow is affected by many factors, the flow pattern is complex and changeable, which not only creates resistance to the measurement of two-phase flow parameters, but also makes the design of field systems and equipment more complicated. The complexity and randomness of the two-phase flow system make it difficult to accurately identify the flow pattern, and the accurate identification of the flow pattern has always been an unsolved problem. As the industrial process has higher and higher requirements for two-phase flow measurement, energy saving and control, the demand for flow pattern identification of two-phase flow has become more and more urgent. The existing technologies are mainly flow diagram method, direct measurement method and indirect measurement method. Flow diagrams are obtained under different experimental conditions, have limitations and applicable conditions, and cannot be widely used in industrial processes. The disadvantage of the high-speed photography method in the direct measurement method is that transparent pipes or windows are required, and the complex reflection and refraction effects reduce the measurement accuracy; the radiation attenuation method uses radioactive sources, which is not conducive to storage and storage, and safety issues need special attention. The indirect measurement method needs to select parameters that can reflect the dynamic characteristics of the fluid. The differential pressure signal is widely used, but the differential pressure signal shows great randomness. Further signal analysis is needed to extract the characteristic parameters that can better identify the flow pattern, and use Signature information identifies flow patterns using intelligent classification algorithms. The selection of features largely determines the success rate of identifying flow patterns.

发明内容Contents of the invention

本发明旨在解决上述问题,提供了一种气液两相流流型识别方法,采用的脉冲超声回波法原理简单,易于测量两相流界面波;界面波信号与流型有强烈的关联性,对界面波信号进行特征提取,能够较好的用于流型识别;使用的支持向量机方法基于统计学习理论,适合样本较少的情况,相比神经网络等算法能够在较少训练样本情况下得到较好的识别率,其采用的技术方案如下:The present invention aims to solve the above problems, and provides a flow pattern identification method of gas-liquid two-phase flow. The principle of the pulse ultrasonic echo method adopted is simple, and it is easy to measure the interface wave of the two-phase flow; the interface wave signal has a strong correlation with the flow pattern feature extraction of the interface wave signal can be better used for flow pattern recognition; the support vector machine method used is based on statistical learning theory and is suitable for the case of fewer samples. Compared with neural network and other algorithms, it can be used in fewer training samples In the case of better recognition rate, the technical scheme adopted is as follows:

一种气液两相流流型识别方法,包括根据采集的超声回波传播时间和超声波在液体中的传播速度,得到界面波信号;A flow pattern identification method of gas-liquid two-phase flow, comprising obtaining interface wave signals according to the collected ultrasonic echo propagation time and the propagation velocity of ultrasonic waves in liquid;

根据经验模态分解法把界面波信号分解为若干个本征模态函数;According to the empirical mode decomposition method, the interface wave signal is decomposed into several intrinsic mode functions;

通过提取界面波信号前8个本征模态函数的能量百分比特征,得到各本征模态函数分量的能量,并将各本征模态函数分量的能量组成特征向量T;By extracting the energy percentage characteristics of the first 8 intrinsic mode functions of the interface wave signal, the energy of each intrinsic mode function component is obtained, and the energy of each intrinsic mode function component is composed into a feature vector T;

基于对特征向量归一化,获得前8个本征模态函数的总能量和归一化后的特征向量T′;Based on the normalization of the eigenvectors, the total energy of the first 8 eigenmode functions and the normalized eigenvector T′ are obtained;

通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型并识别流型。By sending the feature vector T' as a training sample into the support vector machine for training, the flow classification model is obtained and the flow pattern is identified.

在上述技术方案的基础上,采集的超声波由被测段管道底部发出,经过两相流流体界面反射后回波被接收;由公式h=ct/2,计算得到界面波信号,记界面波信号为x(t)。On the basis of the above technical scheme, the collected ultrasonic wave is emitted from the bottom of the pipeline under test, and the echo is received after being reflected by the interface of the two-phase flow fluid; the interface wave signal is calculated by the formula h=ct/2, and recorded as the interface wave signal is x(t).

在上述技术方案的基础上,根据经验模态分解法把界面波信号分解为若干个本征模态函数,包括:On the basis of the above technical solutions, the interface wave signal is decomposed into several intrinsic mode functions according to the empirical mode decomposition method, including:

(1)取界面波信号所有极大值点和极小值点,分别用三次样条函数拟合出上包络线和下包络线,上下包络线的均值为m1(t);(1) Take all the maximum and minimum points of the interface wave signal, respectively use the cubic spline function to fit the upper envelope and the lower envelope, and the mean value of the upper and lower envelopes is m 1 (t);

(2)将h11(t)=x(t)-m1(t)视为新的信号x(t),重复(1)步,经过k次筛选,使h1k(t)满足数据中极值点和过零点的数目相等或最多相差1且信号的局部极大值包络线和局部极小值包络线的均值为0。记c1(t)=h1-k(t),为第一个本征模态函数;(2) Treat h 11 (t)=x(t)-m 1 (t) as a new signal x(t), repeat step (1), and pass k times of screening to make h 1k (t) satisfy the The number of extreme points and zero-crossing points is equal or the difference is at most 1, and the mean value of the local maximum envelope and local minimum envelope of the signal is 0. Record c 1 (t) = h 1 -k(t), which is the first intrinsic mode function;

(3)将r1(t)=x(t)-c1(t)作为新的数据,重复(1)(2)步,直到分解出所有的本征模态函数,最终界面波信号分解为n个本征模态函数函数和一个剩余分量。(3) Taking r 1 (t)=x(t)-c 1 (t) as new data, repeat steps (1) and (2) until all eigenmode functions are decomposed, and finally the interface wave signal is decomposed are n eigenmode function functions and a residual component.

在上述技术方案的基础上,各本征模态函数分量的能量为特征向量T=[E1,E2,E3,E4,E5,E6,E7,E8]。On the basis of the above technical scheme, the energy of each eigenmode function component is Eigenvector T=[E 1 , E 2 , E 3 , E 4 , E 5 , E 6 , E 7 , E 8 ].

在上述技术方案的基础上,前8个本征模态函数的总能量归一化后的特征向量T'=[E1/E,E2/E,E3/E,E4/E,E5/E,E6/E,E7/E,E8/E]。On the basis of the above technical solutions, the total energy of the first 8 eigenmode functions Normalized feature vector T'=[E 1 /E, E 2 /E, E 3 /E, E 4 /E, E 5 /E, E 6 /E, E 7 /E, E 8 /E ].

在上述技术方案的基础上,通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型并识别流型的步骤为:On the basis of the above technical solution, by sending the feature vector T' as a training sample into the support vector machine for training, the steps to obtain the flow classification model and identify the flow pattern are as follows:

1)准备训练样本{(X1,d1),(X2,d2),...,(Xn,dn)},其中X1,X2,...,Xn为特征向量,d1,d2,...,dn为目标值;1) Prepare training samples {(X 1 ,d 1 ),(X 2 ,d 2 ),...,(X n ,d n )}, where X 1 ,X 2 ,...,X n are features Vector, d 1 , d 2 ,...,d n are target values;

2)在约束条件下求解使目标函数2) In constraints Solve below so that the objective function

最大化的αoi maximized αo i

其中C为选取的惩罚参数,K(Xi,Xj)是内积核函数K(x,xi)矩阵的第i行第j列对应元素,选取内积核函数为径向基函数 Where C is the selected penalty parameter, K(X i ,X j ) is the corresponding element of the i-th row and column j of the inner product kernel function K(x, xi ) matrix, and the inner product kernel function is selected as the radial basis function

3)计算最优权值Y为隐层输出向量;3) Calculate the optimal weight Y is the hidden layer output vector;

4)对于待分类模式X,计算分类判别函数f(X)为1或-1,决定X的类别归属;4) For the pattern X to be classified, calculate the classification discriminant function f(X) is 1 or -1, which determines the category of X;

5)使用训练好的支持向量机处理测试样本的特征向量,完成对流型的识别。5) Use the trained support vector machine to process the feature vector of the test sample to complete the recognition of the flow pattern.

本发明具有如下优点:采用的脉冲超声回波法原理简单,易于测量两相流界面波;界面波信号与流型有强烈的关联性,对界面波信号进行特征提取,能够较好的用于流型识别;使用的支持向量机方法基于统计学习理论,适合样本较少的情况,相比神经网络等算法能够在较少训练样本情况下得到较好的识别率。The invention has the following advantages: the principle of the pulsed ultrasonic echo method is simple, and it is easy to measure the interface wave of two-phase flow; the interface wave signal has a strong correlation with the flow pattern, and the feature extraction of the interface wave signal can be better used for Flow pattern recognition; the support vector machine method used is based on statistical learning theory and is suitable for situations with fewer samples. Compared with algorithms such as neural networks, it can obtain better recognition rates with fewer training samples.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本发明的一种实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图引伸获得其它的实施附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings that are required in the description of the embodiments or the prior art. Apparently, the drawings in the following description are only one embodiment of the present invention, and those skilled in the art can obtain other implementation attachments according to the provided drawings without creative work. picture.

图1:本发明的方法流程图;Fig. 1: method flowchart of the present invention;

图2:本发明所述超声波测量界面示意图;Figure 2: a schematic diagram of the ultrasonic measurement interface of the present invention;

图3:根据本发明获得的层状流界面波信号示意图;Fig. 3: schematic diagram of laminar flow boundary wave signal obtained according to the present invention;

图4:根据本发明获得的塞状流界面波信号示意图;Fig. 4: Schematic diagram of interface wave signal of plug flow obtained according to the present invention;

图5:根据本发明获得的波状流界面波信号示意图。Fig. 5: Schematic diagram of the interface wave signal of wavy flow obtained according to the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步说明:Below in conjunction with accompanying drawing and embodiment the present invention will be further described:

如图1至图5所示,本实施例的一种气液两相流流型识别方法,包括根据采集的超声回波传播时间和超声波在液体中的传播速度,得到界面波信号;As shown in Figures 1 to 5, a method for identifying a gas-liquid two-phase flow pattern in this embodiment includes obtaining the interface wave signal according to the collected ultrasonic echo propagation time and the propagation speed of the ultrasonic wave in the liquid;

根据经验模态分解法把界面波信号分解为若干个本征模态函数;According to the empirical mode decomposition method, the interface wave signal is decomposed into several intrinsic mode functions;

通过提取界面波信号前8个本征模态函数的能量百分比特征,得到各本征模态函数分量的能量,并将各本征模态函数分量的能量组成特征向量T;By extracting the energy percentage characteristics of the first 8 intrinsic mode functions of the interface wave signal, the energy of each intrinsic mode function component is obtained, and the energy of each intrinsic mode function component is composed into a feature vector T;

基于对特征向量归一化,获得前8个本征模态函数的总能量和归一化后的特征向量T′;Based on the normalization of the eigenvectors, the total energy of the first 8 eigenmode functions and the normalized eigenvector T′ are obtained;

通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型。The flow type classification model is obtained by sending the feature vector T' as a training sample into the support vector machine for training.

优选的,采集的超声波由被测段管道底部发出,经过两相流流体界面反射后回波被接收;由公式h=ct/2,计算得到界面波信号,记界面波信号为x(t)。Preferably, the ultrasonic wave collected is sent out from the bottom of the pipeline under test, and the echo is received after being reflected by the two-phase flow fluid interface; the interface wave signal is calculated by the formula h=ct/2, and the interface wave signal is recorded as x(t) .

优选的,根据经验模态分解法把界面波信号分解为若干个本征模态函数,包括:Preferably, the interface wave signal is decomposed into several intrinsic mode functions according to the empirical mode decomposition method, including:

(1)取界面波信号所有极大值点和极小值点,分别用三次样条函数拟合出上包络线和下包络线,上下包络线的均值为m1(t);(1) Take all the maximum and minimum points of the interface wave signal, respectively use the cubic spline function to fit the upper envelope and the lower envelope, and the mean value of the upper and lower envelopes is m 1 (t);

(2)将h11(t)=x(t)-m1(t)视为新的信号x(t),重复(1)步,经过k次筛选,使h1k(t)满足数据中极值点和过零点的数目相等或最多相差1且信号的局部极大值包络线和局部极小值包络线的均值为0。记c1(t)=h1-k(t),为第一个本征模态函数;(2) Treat h 11 (t)=x(t)-m 1 (t) as a new signal x(t), repeat step (1), and pass k times of screening to make h 1k (t) satisfy the The number of extreme points and zero-crossing points is equal or the difference is at most 1, and the mean value of the local maximum envelope and local minimum envelope of the signal is 0. Record c 1 (t) = h 1 -k(t), which is the first intrinsic mode function;

(3)将r1(t)=x(t)-c1(t)作为新的数据,重复(1)(2)步,直到分解出所有的本征模态函数,最终界面波信号分解为n个本征模态函数函数和一个剩余分量。(3) Taking r 1 (t)=x(t)-c 1 (t) as new data, repeat steps (1) and (2) until all eigenmode functions are decomposed, and finally the interface wave signal is decomposed are n eigenmode function functions and a residual component.

优选的,各本征模态函数分量的能量为特征向量T=[E1,E2,E3,E4,E5,E6,E7,E8]。Preferably, the energy of each eigenmode function component is Eigenvector T=[E 1 , E 2 , E 3 , E 4 , E 5 , E 6 , E 7 , E 8 ].

进一步,前8个本征模态函数的总能量归一化后的特征向量Further, the total energy of the first 8 eigenmode functions Normalized eigenvectors

T'=[E1/E,E2/E,E3/E,E4/E,E5/E,E6/E,E7/E,E8/E]。T'=[E 1 /E, E 2 /E, E 3 /E, E 4 /E, E 5 /E, E 6 /E, E 7 /E, E 8 /E].

更进一步,通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型并识别流型的步骤为:Furthermore, by sending the feature vector T′ as a training sample into the support vector machine for training, the steps to obtain the flow pattern classification model and identify the flow pattern are as follows:

1)准备训练样本{(X1,d1),(X2,d2),...,(Xn,dn)},其中X1,X2,...,Xn为特征向量,d1,d2,...,dn为目标值;1) Prepare training samples {(X 1 ,d 1 ),(X 2 ,d 2 ),...,(X n ,d n )}, where X 1 ,X 2 ,...,X n are features Vector, d 1 , d 2 ,...,d n are target values;

2)在约束条件下求解使目标函数2) In constraints Solve below so that the objective function

最大化的αoi maximized αo i

其中C为选取的惩罚参数,K(Xi,Xj)是内积核函数K(x,xi)矩阵的第i行第j列对应元素,选取内积核函数为径向基函数 Where C is the selected penalty parameter, K(X i ,X j ) is the corresponding element of the i-th row and column j of the inner product kernel function K(x, xi ) matrix, and the inner product kernel function is selected as the radial basis function

3)计算最优权值Y为隐层输出向量;3) Calculate the optimal weight Y is the hidden layer output vector;

4)对于待分类模式X,计算分类判别函数f(X)为1或-1,决定X的类别归属;4) For the pattern X to be classified, calculate the classification discriminant function f(X) is 1 or -1, which determines the category of X;

5)使用训练好的支持向量机处理测试样本的特征向量,完成对流型的识别。5) Use the trained support vector machine to process the feature vector of the test sample to complete the recognition of the flow pattern.

6)支持向量机多分类算法的流程图6) Flow chart of support vector machine multi-classification algorithm

表1不同流型的部分样本的能量百分比特征向量Table 1 The energy percentage eigenvectors of some samples of different flow patterns

表2层状流、波状流和塞状流工况下的流型识别结果Table 2 Flow pattern recognition results under laminar flow, wavy flow and plug flow conditions

上面以举例方式对本发明进行了说明,但本发明不限于上述具体实施例,凡基于本发明所做的任何改动或变型均属于本发明要求保护的范围。The present invention has been described above by way of examples, but the present invention is not limited to the above specific embodiments, and any changes or modifications made based on the present invention fall within the scope of protection of the present invention.

Claims (6)

1.一种气液两相流流型识别方法,其特征在于,所述方法包括:1. A gas-liquid two-phase flow pattern recognition method, characterized in that the method comprises: 根据采集的超声回波传播时间和超声波在液体中的传播速度,得到界面波信号;According to the collected ultrasonic echo propagation time and the propagation speed of ultrasonic waves in the liquid, the interface wave signal is obtained; 根据经验模态分解法把界面波信号分解为若干个本征模态函数;According to the empirical mode decomposition method, the interface wave signal is decomposed into several intrinsic mode functions; 通过提取界面波信号前8个本征模态函数的能量百分比特征,得到各本征模态函数分量的能量,并将各本征模态函数分量的能量组成特征向量T;By extracting the energy percentage characteristics of the first 8 intrinsic mode functions of the interface wave signal, the energy of each intrinsic mode function component is obtained, and the energy of each intrinsic mode function component is composed into a feature vector T; 基于对特征向量归一化,获得前8个本征模态函数的总能量和归一化后的特征向量T′;Based on the normalization of the eigenvectors, the total energy of the first 8 eigenmode functions and the normalized eigenvector T′ are obtained; 通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型并识别流型。By sending the feature vector T' as a training sample into the support vector machine for training, the flow classification model is obtained and the flow pattern is identified. 2.根据权利要求1所述的一种气液两相流流型识别方法,其特征在于:采集的超声波由被测段管道底部发出,经过两相流流体界面反射后回波被接收;由公式h=ct/2,计算得到界面波信号,记界面波信号为x(t)。2. A method for identifying a gas-liquid two-phase flow pattern according to claim 1, characterized in that: the collected ultrasonic wave is sent from the bottom of the pipeline under test, and the echo is received after being reflected by the interface of the two-phase flow fluid; The formula h=ct/2 calculates the interface wave signal, and records the interface wave signal as x(t). 3.根据权利要求1所述的一种气液两相流流型识别方法,其特征在于,根据经验模态分解法把界面波信号分解为若干个本征模态函数,包括:3. A method for identifying a gas-liquid two-phase flow pattern according to claim 1, wherein the interface wave signal is decomposed into several intrinsic mode functions according to the empirical mode decomposition method, including: (1)取界面波信号所有极大值点和极小值点,分别用三次样条函数拟合出上包络线和下包络线,上下包络线的均值为m1(t);(1) Take all the maximum and minimum points of the interface wave signal, respectively use the cubic spline function to fit the upper envelope and the lower envelope, and the mean value of the upper and lower envelopes is m 1 (t); (2)将h11(t)=x(t)-m1(t)视为新的信号x(t),重复(1)步,经过k次筛选,使h1k(t)满足数据中极值点和过零点的数目相等或最多相差1且信号的局部极大值包络线和局部极小值包络线的均值为0,记c1(t)=h1-k(t),为第一个本征模态函数;(2) Treat h 11 (t)=x(t)-m 1 (t) as a new signal x(t), repeat step (1), and pass k times of screening to make h 1k (t) satisfy the The number of extreme points and zero-crossing points is equal or the difference is at most 1 and the mean value of the local maximum envelope and local minimum envelope of the signal is 0, write c 1 (t)=h 1 -k(t) , is the first eigenmode function; (3)将r1(t)=x(t)-c1(t)作为新的数据,重复(1)(2)步,直到分解出所有的本征模态函数,最终界面波信号分解为n个本征模态函数函数和一个剩余分量。(3) Taking r 1 (t)=x(t)-c 1 (t) as new data, repeat steps (1) and (2) until all eigenmode functions are decomposed, and finally the interface wave signal is decomposed are n eigenmode function functions and a residual component. 4.根据权利要求1所述的一种气液两相流流型识别方法,其特征在于,各本征模态函数分量的能量为特征向量T=[E1,E2,E3,E4,E5,E6,E7,E8]。4. a kind of gas-liquid two-phase flow pattern identification method according to claim 1, is characterized in that, the energy of each intrinsic mode function component is Eigenvector T=[E 1 , E 2 , E 3 , E 4 , E 5 , E 6 , E 7 , E 8 ]. 5.根据权利要求1所述的一种气液两相流流型识别方法,其特征在于:前8个本征模态函数的总能量归一化后的特征向量T'=[E1/E,E2/E,E3/E,E4/E,E5/E,E6/E,E7/E,E8/E]。5. A method for identifying gas-liquid two-phase flow pattern according to claim 1, characterized in that: the total energy of the first 8 eigenmode functions Normalized feature vector T'=[E 1 /E, E 2 /E, E 3 /E, E 4 /E, E 5 /E, E 6 /E, E 7 /E, E 8 /E ]. 6.根据权利要求1所述的一种气液两相流流型识别方法,其特征在于:通过将特征向量T′作为训练样本送入支持向量机训练,得到流型分类模型并识别流型的步骤为:6. A method for flow pattern identification of gas-liquid two-phase flow according to claim 1, characterized in that: by sending the feature vector T' as a training sample into a support vector machine for training, a flow pattern classification model is obtained and the flow pattern is identified The steps are: 1)准备训练样本{(X1,d1),(X2,d2),...,(Xn,dn)},其中X1,X2,...,Xn为特征向量,d1,d2,...,dn为目标值;1) Prepare training samples {(X 1 ,d 1 ),(X 2 ,d 2 ),...,(X n ,d n )}, where X 1 ,X 2 ,...,X n are features Vector, d 1 , d 2 ,...,d n are target values; 2)在约束条件下求解使目标函数2) In constraints Solve below so that the objective function 最大化的αoi maximized αo i 其中C为选取的惩罚参数,K(Xi,Xj)是内积核函数K(x,xi)矩阵的第i行第j列对应元素,选取内积核函数为径向基函数 Where C is the selected penalty parameter, K(X i ,X j ) is the corresponding element of the i-th row and column j of the inner product kernel function K(x, xi ) matrix, and the inner product kernel function is selected as the radial basis function 3)计算最优权值Y为隐层输出向量;3) Calculate the optimal weight Y is the hidden layer output vector; 4)对于待分类模式X,计算分类判别函数f(X)为1或-1,决定X的类别归属;4) For the pattern X to be classified, calculate the classification discriminant function f(X) is 1 or -1, which determines the category of X; 5)使用训练好的支持向量机处理测试样本的特征向量,完成对流型的识别。5) Use the trained support vector machine to process the feature vector of the test sample to complete the recognition of the flow pattern.
CN201710610596.0A 2017-07-25 2017-07-25 A kind of Method for Discriminating Gas-liquid Two Phase Flow Pending CN107392250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710610596.0A CN107392250A (en) 2017-07-25 2017-07-25 A kind of Method for Discriminating Gas-liquid Two Phase Flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710610596.0A CN107392250A (en) 2017-07-25 2017-07-25 A kind of Method for Discriminating Gas-liquid Two Phase Flow

Publications (1)

Publication Number Publication Date
CN107392250A true CN107392250A (en) 2017-11-24

Family

ID=60337556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710610596.0A Pending CN107392250A (en) 2017-07-25 2017-07-25 A kind of Method for Discriminating Gas-liquid Two Phase Flow

Country Status (1)

Country Link
CN (1) CN107392250A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111896616A (en) * 2020-03-29 2020-11-06 中国石油大学(华东) Recognition method of gas-liquid two-phase flow pattern based on acoustic emission-BP neural network
CN112114047A (en) * 2020-09-18 2020-12-22 中国石油大学(华东) Gas-liquid flow parameter detection method based on acoustic emission-GA-BP neural network
US11341657B2 (en) * 2019-04-01 2022-05-24 Stratos Perception Llc Systems and methods for monitoring and controlling a multi-phase fluid flow

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104897364A (en) * 2015-06-16 2015-09-09 中国海洋石油总公司 Method for determining gas-liquid two-phase hydrodynamic slug flow in horizontal and micro-inclined pipes

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104897364A (en) * 2015-06-16 2015-09-09 中国海洋石油总公司 Method for determining gas-liquid two-phase hydrodynamic slug flow in horizontal and micro-inclined pipes

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘彤: ""基于动态差压信号的气液两相流特性研究"", 《中国优秀硕士学位论文全文数据库基础科学辑》 *
赵德喜等: ""基于超声波技术的水平管气液两相流流型识别方法"", 《油气储运》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11341657B2 (en) * 2019-04-01 2022-05-24 Stratos Perception Llc Systems and methods for monitoring and controlling a multi-phase fluid flow
US20220245830A1 (en) * 2019-04-01 2022-08-04 Stratos Perception Llc Systems and Methods for Monitoring and Controlling a Multi-Phase Fluid Flow
CN111896616A (en) * 2020-03-29 2020-11-06 中国石油大学(华东) Recognition method of gas-liquid two-phase flow pattern based on acoustic emission-BP neural network
CN111896616B (en) * 2020-03-29 2023-04-07 中国石油大学(华东) Gas-liquid two-phase flow pattern identification method based on acoustic emission-BP neural network
CN112114047A (en) * 2020-09-18 2020-12-22 中国石油大学(华东) Gas-liquid flow parameter detection method based on acoustic emission-GA-BP neural network
CN112114047B (en) * 2020-09-18 2024-07-05 中国石油大学(华东) GAs-liquid flow parameter detection method based on acoustic emission-GA-BP neural network

Similar Documents

Publication Publication Date Title
CN110163108B (en) Robust sonar target detection method based on dual-path feature fusion network
CN101984340B (en) Method for identifying flow type of soft grain two-phase turbulence based on artificial intelligence
CN112733447B (en) A method and system for underwater sound source localization based on domain adaptive network
CN107392250A (en) A kind of Method for Discriminating Gas-liquid Two Phase Flow
CN114897023B (en) An underwater acoustic target identification method based on extraction of sensitive differential features of underwater acoustic targets
WO2021237958A1 (en) Underwater acoustic target ranging method based on feature extraction and neural network
CN115270872A (en) Radar radiation source individual small sample learning and identifying method, system, device and medium
CN113822201B (en) Deep Learning Method for Underwater Object Shape Recognition Based on Time History of Flow Field Velocity Components
CN105510970A (en) Method for obtaining seismic facies optimal classification number
CN109919921B (en) Environmental impact degree modeling method based on generation countermeasure network
Shen et al. A high-precision feature extraction network of fatigue speech from air traffic controller radiotelephony based on improved deep learning
CN101158617A (en) A Method of Vortex Structure Recognition Based on Wavelet Transform and Support Vector Machine
CN103218614A (en) Method for identifying severe convection weather based on combination of manifold learning and rough set
CN110850420B (en) FisherSVM sonar signal discrimination method based on pinball loss
CN103235894A (en) Self-adapting preferred fuzzy kernel clustering based naphtha attribute clustering method
CN114510974B (en) Intelligent recognition method for gas-liquid two-phase flow pattern in porous medium
CN114492540B (en) Training method and device of target detection model, computer equipment and storage medium
CN113591733B (en) Underwater acoustic communication modulation mode classification identification method based on integrated neural network model
CN117935023B (en) Mesoscale eddy recognition and feature analysis method and system based on attention mechanism
CN118586712A (en) A risk prediction method for offshore platform outflow operations based on multi-data source drive
Zhang et al. Experimental study and numerical model adequacy assessment of hull structure dynamic response subject to underwater explosion
Liu et al. Seismic event identification based on a generative adversarial network and support vector machine
CN106650951A (en) Multichannel measurement data automatic screening method based on time domain global similarity
CN110189034A (en) An Insider Trading Identification Method Based on Naive Bayesian Model
CN105005763A (en) Face recognition method and face recognition system based on local feature information mining

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124