Water content measurement method for oil-water two-phase flow based on time-frequency graph convolution
Through a method based on time-frequency graph convolution, using distributed multi-electrode high-frequency capacitance sensors and a time-frequency graph convolution neural network model, the problem of real-time performance and low accuracy in the measurement of oil-water two-phase flow moisture content is solved, and a rapid , accurate moisture content measurement, improving the objectivity and prediction performance of measurement.
Patent Information
- Application Number
- CN202210466844.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-04-29
AI Technical Summary
Existing methods for measuring the moisture content of oil-water two-phase flow have problems with poor real-time performance and low measurement accuracy, making it difficult to achieve accurate and fast measurement.
Using a method based on time-frequency graph convolution, a distributed multi-electrode high-frequency capacitive sensor was constructed to measure the oil-water two-phase flow fluctuation signal, and then converted into a microwave difference frequency signal. The mutual information method and the Welch method were used to construct a data matrix, combined with The time-frequency graph convolutional neural network model is used for feature extraction and moisture content prediction.
It achieves rapid and accurate measurement of the moisture content of the oil-water two-phase flow, has real-time monitoring capabilities, eliminates uncertainty in measurement and subjectivity of human operation, and improves the objectivity and prediction performance of measurement.
Smart Images

Figure CN114878599B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for measuring the water content of oil-water two-phase flow, and in particular to a method for measuring the water content of oil-water two-phase flow based on time-frequency graph convolution. Background Art
[0002] With the continuous development of modern science and technology, many industries have higher and higher requirements for the measurement accuracy and real-time performance of the water content of oil-water two-phase flow, such as chemical industry, petroleum and many other industries. If the measurement accuracy and real-time performance of the water content of oil-water two-phase flow can reach a certain level, it will have important guiding significance for the operation of these industries. At present, most of the measurement methods of the water content of oil-water two-phase flow have the problems of poor real-time performance and low measurement accuracy, so accurate and rapid measurement of the water content of oil-water two-phase flow is a current technical problem. Existing two-phase flow measurement methods such as ultrasonic method, optical method, and ray method are difficult to achieve real-time and accurate measurement of the water content of oil-water two-phase flow.
[0003] In recent years, soft sensor models have also developed rapidly in the field of multiphase flow. In particular, the application of deep learning methods and artificial intelligence technology has broadened the application scope of multiphase flow soft sensor models. Deep learning technology is a new theory that has emerged in recent years. It extracts the features of the measured object layer by layer in an unsupervised or supervised manner. Its features are highly objective and can accurately and comprehensively reflect the essence of the measured object. Graph convolutional neural networks are derived from the development of convolutional neural networks. They not only learn node features, but also consider the spatial features between nodes. They are more advantageous in processing feature extraction and prediction problems of multivariate signals. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method for measuring the water content of oil-water two-phase flow based on time-frequency graph convolution, which can accurately reflect the frequency change of materials during the flow process, in order to overcome the shortcomings of the prior art.
[0005] The technical solution adopted by the present invention is: a method for measuring the water content of oil-water two-phase flow based on time-frequency graph convolution, comprising the following steps:
[0006] 1) Construct a distributed multi-electrode high-frequency capacitive sensor for measuring the water content fluctuation signal of oil-water two-phase flow;
[0007] 2) Use a distributed multi-electrode high-frequency capacitance sensor to measure the oil-water two-phase flow fluctuation signal and convert it into a microwave difference frequency signal;
[0008] 3) Construct a data set, specifically preprocess the microwave difference frequency signal, then use a sliding window to obtain samples from the data, add corresponding labels to the samples, and then use 80% of the samples as a training set, 10% of the samples as a validation set, and the remaining 10% of the samples as a test set;
[0009] 4) calculating the mutual information value of the four-way microwave difference frequency signals based on the mutual information method, and constructing the adjacency matrix of the microwave difference frequency signals based on the mutual information value;
[0010] 5) Construct the characteristic matrix of 4-channel microwave difference frequency signals based on Welch method;
[0011] 6) Construct a time-frequency graph convolutional neural network model to realize the feature extraction and moisture content prediction of microwave difference frequency signals.
[0012] The distributed multi-electrode high-frequency capacitive sensor described in step 1) includes four electromagnetic excitation positive electrodes and four electromagnetic excitation negative electrodes installed at equal intervals on the same circumferential surface of the outer wall of the measuring pipe section of the non-conductive pipeline, and both sides of each electromagnetic excitation positive electrode are arranged adjacent to the electromagnetic excitation negative electrode, wherein one electromagnetic excitation positive electrode and one electromagnetic excitation negative electrode constitute a group of measuring electrode pairs, with a total of four groups of measuring electrode pairs, and each group of measuring electrode pairs is located on the same diameter on the radial cross-section of the measuring pipe section.
[0013] Step 2) includes:
[0014] When the oil-water two-phase flow enters the measuring pipe section from the pipeline, the distributed multi-electrode high-frequency capacitance sensor installed on the measuring pipe section measures the two-phase flow fluctuation signal; during measurement, the excitation signal is generated by the sinusoidal excitation signal source, which is sent to the detection module through the power divider in one way and to the electromagnetic excitation positive electrode of each group of measuring electrode pairs of the multi-electrode high-frequency capacitance sensor in the other way to excite the oil-water two-phase flow, and the electromagnetic excitation negative electrode of each group of measuring electrode pairs sends the measured two-phase flow fluctuation signal under different flow rate conditions in the pipeline to the detection module, and in the detection module, the excitation signal and the fluctuation signal enter the mixer for signal mixing, and the mixed signal is passed through the adder to obtain a microwave difference frequency signal; the four groups of measuring electrodes of the distributed multi-electrode high-frequency capacitance sensor obtain a total of 4 microwave difference frequency signals.
[0015] Step 3) includes:
[0016] (3.1) Preprocess the microwave difference frequency signal, the formula is as follows:
[0017]
[0018] Among them, I i Represents the i-th data, I mean and I std are the mean and standard deviation of the data, is the i-th data after preprocessing;
[0019] The four microwave difference frequency signals are segmented by non-overlapping windowing, and the microwave difference frequency signals with window lengths of H and L are obtained. samples, among which, represents round down;
[0020] For oil-water two-phase flow, the actual water content value is used as a label, and a total of N fluctuation samples with label values are obtained;
[0021] (3.2) Randomly divide N fluctuation samples with labeled values into training set, validation set and test set to form a data set. The specific ratio is [training set: validation set: test set] = [8:1:1].
[0022] Step 4) includes:
[0023] Randomly select two microwave difference frequency signals X and Y from the four microwave difference frequency signals, and the signal lengths are both m. The mutual information value I(X,Y) of the two microwave difference frequency signals X and Y is calculated as follows:
[0024]
[0025] Wherein, P(x) and P(y) are the probability density distribution functions of the two microwave difference frequency signals X and Y respectively, P(x, y) is the joint probability density distribution function of the two microwave difference frequency signals X and Y, x is the index of the microwave difference frequency signal X, and y is the index of the microwave difference frequency signal Y;
[0026] The four microwave difference frequency signals are combined in pairs to calculate the mutual information values, and a total of 12 mutual information values are obtained. The adjacency matrix of the microwave difference frequency signals is constructed based on the 12 mutual information values. Specifically, the values of the elements on the main diagonal of the adjacency matrix are set to 1, and each mutual information value I(X,Y) is an element in the Xth row and Yth column of the adjacency matrix.
[0027] Step 5) includes:
[0028] Firstly, each microwave difference frequency signal is segmented using the Hamming window function, and adjacent data segments overlap by 50%. The power spectrum of the obtained microwave difference frequency signal data segments is calculated based on the Welch method. According to each microwave difference frequency signal and the power spectrum, the following data are extracted for each microwave difference frequency signal: the maximum value and the maximum value of the power spectrum, the minimum value and the minimum value of the power spectrum, the average value and the average value of the power spectrum, and the standard deviation and the standard deviation of the power spectrum to form a feature matrix.
[0029] The time-frequency graph convolutional neural network model described in step 6) is composed of two graph convolution modules and an output module, each graph convolution module includes a graph convolution layer, a batch normalization layer, an activation function layer and a discard layer connected in sequence; the output module includes an expansion layer, an activation function layer and a fully connected layer connected in sequence; wherein:
[0030] In the graph convolution module:
[0031] The convolution formula used in the graph convolution layer is as follows:
[0032]
[0033] in is the adjacency matrix; is the degree matrix; C is the feature matrix; σ is the activation function; Θ is the filter parameter matrix, which can be continuously optimized by training;
[0034] Batch normalization layer, which performs batch normalization on the output of the graph convolution layer to speed up the model training process and prevent overfitting;
[0035] The activation function layer uses the Relu activation function to introduce nonlinear characteristics into the time-frequency graph convolutional neural network model;
[0036] The dropout layer randomly selects neurons from the previous layer with a probability of 0.5, so that the selected neurons do not output;
[0037] Output module:
[0038] The expansion layer expands the data into one dimension;
[0039] The activation function layer uses the Relu activation function to introduce nonlinear characteristics into the time-frequency graph convolutional neural network model;
[0040] Fully connected layer, output results, using Sigmoid as the activation function.
[0041] In the time-frequency graph convolutional neural network model described:
[0042] Setting hyperparameters, wherein the hyperparameters are obtained by using the AMSGrad optimization algorithm to update the weights of the time-frequency graph convolutional neural network model through gradient reverse based on the training set and the validation set;
[0043] The mean square error (MSE) is used as the loss function to measure the gap between the output of the time-frequency graph convolutional neural network model and the true label. Minimizing the gap is used as the criterion to guide network training and optimization in the right direction.
[0044] The method for measuring water content of oil-water two-phase flow based on time-frequency graph convolution of the present invention has the advantages of:
[0045] 1. The distributed multi-electrode high-frequency capacitance sensor used has a small time constant and fast response speed. It can perform real-time monitoring and dynamic processing, and can quickly and accurately obtain sequence fluctuation signals. The multi-electrode groups are symmetrically distributed on the pipe wall, and the fluctuation information of different cross-sectional positions of the pipeline is measured at different angles, which can accurately reflect the frequency changes of the material during the flow process.
[0046] 2. The method of the present invention measures the moisture content fluctuation signals measured at four different positions and at different angles through a distributed multi-electrode high-frequency capacitive sensor, takes the channel as a node, considers both the relationship between the nodes and the characteristics of the nodes themselves, and inputs the graph convolutional neural network for learning, which can capture the basic characteristics and laws of signal changes.
[0047] 3. The time-frequency graph convolutional neural network model used in the present invention is objective in predicting flow, eliminating the uncertainty in the test and the subjectivity of human operation. After being trained with a large amount of data and a large number of iterations, the time-frequency graph convolutional neural network model can have a strong and objective predictive performance for this type of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a schematic diagram of the structure of the distributed multi-electrode high-frequency capacitance sensor in the present invention;
[0049] Figure 2 It is a structural schematic diagram of the time-frequency graph convolutional neural network model in the present invention. DETAILED DESCRIPTION
[0050] The method for measuring water content of oil-water two-phase flow based on time-frequency graph convolution of the present invention is described in detail below in conjunction with the embodiments and drawings.
[0051] The method for measuring the water content of oil-water two-phase flow based on time-frequency graph convolution of the present invention uses a distributed multi-electrode high-frequency capacitance sensor to obtain the oil-water two-phase flow fluctuation signal, constructs an adjacency matrix based on the mutual information method, extracts frequency domain features based on the Welch method, extracts water content features in the measurement signal based on the time-frequency graph convolution neural network model and predicts it, uses a supervised learning method, and uses the water content test value as a label to achieve accurate measurement of the water content of the oil-water two-phase flow. Specifically, it includes the following steps:
[0052] 1) Construct a distributed multi-electrode high-frequency capacitive sensor for measuring the water content fluctuation signal of oil-water two-phase flow;
[0053] like Figure 1 As shown, the distributed multi-electrode high-frequency capacitance sensor comprises four electromagnetic excitation positive electrodes 1, 3, 5, 7 and four electromagnetic excitation negative electrodes 2, 4, 6, 8 which are equally spaced and installed on the same circumferential surface of the outer wall of the measuring pipe section (9) of the non-conductive pipeline, and both sides of each electromagnetic excitation positive electrode are arranged adjacent to the electromagnetic excitation negative electrode, wherein one electromagnetic excitation positive electrode and one electromagnetic excitation negative electrode form a group of measuring electrode pairs, and there are four groups of measuring electrode pairs in total, and each group of measuring electrode pairs is located on the same diameter on the radial cross section of the measuring pipe section 9.
[0054] 2) Using a distributed multi-electrode high-frequency capacitance sensor to measure the oil-water two-phase flow fluctuation signal and convert it into a microwave difference frequency signal; including:
[0055] When the oil-water two-phase flow enters the measuring pipe section from the pipeline, the distributed multi-electrode high-frequency capacitance sensor installed on the measuring pipe section measures the two-phase flow fluctuation signal; the fluctuation information is obtained by measuring the frequency value returned by each pair of electrodes, and the fluctuation of the frequency value reflects the cross-sectional fluctuation information of the two-phase flow in the pipeline; during measurement, the excitation signal is generated by the sinusoidal excitation signal source, which is sent to the detection module through a power divider in one way and to the electromagnetic excitation positive electrode of each group of measuring electrode pairs of the multi-electrode high-frequency capacitance sensor in the other way to excite the oil-water two-phase flow, and the electromagnetic excitation negative electrode of each group of measuring electrode pairs sends the measured two-phase flow fluctuation signal under different flow rate conditions in the pipeline to the detection module, and the excitation signal and the fluctuation signal enter the mixer in the detection module for signal mixing, and the mixed signal is passed through the adder to obtain a microwave difference frequency signal; each group of measuring electrode pairs uses an independent circuit to measure the fluctuation information of the two-phase flow in the pipeline, and the four groups of measuring electrodes of the distributed multi-electrode high-frequency capacitance sensor obtain a total of 4 microwave difference frequency signals.
[0056] Specifically, the four groups of measuring electrode pairs use a cyclic sampling method to measure the oil-water two-phase flow fluctuation signal. The measurement strategy is: within a sampling period, the four groups of measuring electrode pairs sample sequentially. After completing one cycle of sampling, the next cycle of sampling is performed. Each group of measuring electrode pairs can collect one oil-water two-phase flow fluctuation signal, and a total of four distributed multi-electrode high-frequency capacitance sensors can be used to measure the oil-water two-phase flow fluctuation signals. During the measurement process, the sampling period is set to 0.001 seconds.
[0057] The oil-water two-phase flow fluctuation signal is obtained through the frequency value returned by each set of measuring electrode pairs. The fluctuation of the frequency value reflects the fluctuation of the cross-sectional water content of the oil-water two-phase flow in the pipeline.
[0058] 3) Construct a data set, specifically preprocess the microwave difference frequency signal, then use a sliding window to obtain samples from the data, add corresponding labels to the samples, and then use 80% of the samples as a training set, 10% of the samples as a validation set, and the remaining 10% of the samples as a test set; including:
[0059] (3.1) Preprocess the microwave difference frequency signal, the formula is as follows:
[0060]
[0061] Among them, I i Represents the i-th data, I mean and I std are the mean and standard deviation of the data, is the i-th data after preprocessing;
[0062] The four microwave difference frequency signals are segmented by non-overlapping windowing, and the microwave difference frequency signals with window lengths of H and L are obtained. samples, among which, represents round down;
[0063] For oil-water two-phase flow, the actual water content value is used as a label, and a total of N fluctuation samples with label values are obtained;
[0064] (3.2) Randomly divide N fluctuation samples with labeled values into training set, validation set and test set to form a data set. The specific ratio is [training set: validation set: test set] = [8:1:1].
[0065] 4) calculating the mutual information value of the four-channel microwave difference frequency signals based on the mutual information method, and constructing the adjacency matrix of the microwave difference frequency signals based on the mutual information value; including:
[0066] Randomly select two microwave difference frequency signals X and Y from the four microwave difference frequency signals, and the signal lengths are both m. The mutual information value I(X,Y) of the two microwave difference frequency signals X and Y is calculated as follows:
[0067]
[0068] Wherein, P(x) and P(y) are the probability density distribution functions of the two microwave difference frequency signals X and Y respectively, P(x, y) is the joint probability density distribution function of the two microwave difference frequency signals X and Y, x is the index of the microwave difference frequency signal X, and y is the index of the microwave difference frequency signal Y;
[0069] The four microwave difference frequency signals are combined in pairs to calculate the mutual information values, and a total of 12 mutual information values are obtained. The adjacency matrix of the microwave difference frequency signals is constructed based on the 12 mutual information values. Specifically, the values of the elements on the main diagonal of the adjacency matrix are set to 1, and each mutual information value I(X,Y) is an element in the Xth row and Yth column of the adjacency matrix.
[0070] 5) Construct the characteristic matrix of 4-channel microwave difference frequency signals based on Welch method; including:
[0071] Firstly, each microwave difference frequency signal is segmented using the Hamming window function, and adjacent data segments overlap by 50%. The power spectrum of the obtained microwave difference frequency signal data segments is calculated based on the Welch method. According to each microwave difference frequency signal and the power spectrum, the following data are extracted for each microwave difference frequency signal: the maximum value and the maximum value of the power spectrum, the minimum value and the minimum value of the power spectrum, the average value and the average value of the power spectrum, and the standard deviation and the standard deviation of the power spectrum to form a feature matrix.
[0072] 6) Construct a time-frequency graph convolutional neural network model to realize feature extraction and moisture content prediction of microwave difference frequency signals;
[0073] like Figure 2 As shown, the time-frequency graph convolutional neural network model is composed of two graph convolution modules and an output module, each graph convolution module includes a graph convolution layer, a batch normalization layer, an activation function layer and a discard layer connected in sequence; the output module includes an expansion layer, an activation function layer and a fully connected layer connected in sequence; wherein:
[0074] In the graph convolution module:
[0075] The convolution formula used in the graph convolution layer is as follows:
[0076]
[0077] in is the adjacency matrix; is the degree matrix; C is the feature matrix; σ is the activation function; Θ is the filter parameter matrix, which can be continuously optimized by training;
[0078] Batch normalization layer, which performs batch normalization on the output of the graph convolution layer to speed up the model training process and prevent overfitting;
[0079] The activation function layer uses the Relu activation function to introduce nonlinear characteristics into the time-frequency graph convolutional neural network model;
[0080] The dropout layer randomly selects neurons from the previous layer with a probability of 0.5, so that the selected neurons do not output;
[0081] Output module:
[0082] The expansion layer expands the data into one dimension;
[0083] The activation function layer uses the Relu activation function to introduce nonlinear characteristics into the time-frequency graph convolutional neural network model;
[0084] Fully connected layer, output results, using Sigmoid as the activation function.
[0085] In the time-frequency graph convolutional neural network model described:
[0086] Setting hyperparameters, wherein the hyperparameters are obtained by using the AMSGrad optimization algorithm to update the weights of the time-frequency graph convolutional neural network model through gradient reverse based on the training set and the validation set;
[0087] The mean square error (MSE) is used as the loss function to measure the gap between the output of the time-frequency graph convolutional neural network model and the true label. Minimizing the gap is used as the criterion to guide network training and optimization in the right direction.
Claims
1. A method for measuring water content of oil-water two-phase flow based on time-frequency graph convolution, characterized in that: The steps include: 1) Construct a distributed multi-electrode high-frequency capacitive sensor for measuring the water content fluctuation signal of oil-water two-phase flow; The distributed multi-electrode high-frequency capacitance sensor comprises four electromagnetic excitation positive electrodes (1, 3, 5, 7) and four electromagnetic excitation negative electrodes (2, 4, 6, 8) which are installed at equal intervals on the same circumferential surface of the outer wall of a measuring pipe section (9) of a non-conductive pipeline, and both sides of each electromagnetic excitation positive electrode are arranged adjacent to the electromagnetic excitation negative electrode, wherein one electromagnetic excitation positive electrode and one electromagnetic excitation negative electrode form a group of measuring electrode pairs, and there are four groups of measuring electrode pairs in total, and each group of measuring electrode pairs is located on the same diameter on the radial cross section of the measuring pipe section (9); 2) Using a distributed multi-electrode high-frequency capacitance sensor to measure the oil-water two-phase flow fluctuation signal and convert it into a microwave difference frequency signal; including: When the oil-water two-phase flow enters the measuring pipe section (9) from the pipeline, the distributed multi-electrode high-frequency capacitance sensor installed on the measuring pipe section (9) measures the two-phase flow fluctuation signal; during measurement, the excitation signal is generated by the sinusoidal excitation signal source, one of which is sent to the detection module through the power divider, and the other is sent to the electromagnetic excitation positive electrode of each group of measuring electrode pairs of the multi-electrode high-frequency capacitance sensor to excite the oil-water two-phase flow, and the electromagnetic excitation negative electrode of each group of measuring electrode pairs sends the measured two-phase flow fluctuation signal under different flow rate conditions in the pipeline to the detection module, and the excitation signal and the fluctuation signal enter the mixer in the detection module for signal mixing, and the mixed signal is passed through the adder to obtain a microwave difference frequency signal; the four groups of measuring electrodes of the distributed multi-electrode high-frequency capacitance sensor obtain a total of 4 microwave difference frequency signals 3) Construct a data set, specifically preprocess the microwave difference frequency signal, then use a sliding window to obtain samples from the data, add corresponding labels to the samples, and then use 80% of the samples as a training set, 10% of the samples as a validation set, and the remaining 10% of the samples as a test set; including: (3.1) Preprocess the microwave difference frequency signal, the formula is as follows: Among them, I i Represents the i-th data, I mean and I std are the mean and standard deviation of the data, is the i-th data after preprocessing; The four microwave difference frequency signals are segmented by non-overlapping windowing, and the microwave difference frequency signals with window lengths of H and L are obtained. samples, among which, represents round down; For oil-water two-phase flow, the actual water content value is used as a label, and a total of N fluctuation samples with label values are obtained; (3.2) Randomly divide N fluctuation samples with labeled values into training set, validation set and test set to form a data set. The specific ratio is [training set: validation set: test set] = [8:1:1]; 4) calculating the mutual information value of the four-channel microwave difference frequency signals based on the mutual information method, and constructing the adjacency matrix of the microwave difference frequency signals based on the mutual information value; including: Randomly select two microwave difference frequency signals X and Y from the four microwave difference frequency signals, and the signal lengths are both m. The mutual information value I(X,Y) of the two microwave difference frequency signals X and Y is calculated as follows: Wherein, P(x) and P(y) are the probability density distribution functions of the two microwave difference frequency signals X and Y respectively, P(x, y) is the joint probability density distribution function of the two microwave difference frequency signals X and Y, x is the index of the microwave difference frequency signal X, and y is the index of the microwave difference frequency signal Y; The four microwave difference frequency signals are combined in pairs to calculate the mutual information values, and a total of 12 mutual information values are obtained. The adjacency matrix of the microwave difference frequency signals is constructed based on the 12 mutual information values. Specifically, the values of the elements on the main diagonal of the adjacency matrix are set to 1, and each mutual information value I(X,Y) is an element in the Xth row and Yth column of the adjacency matrix. 5) Construct the characteristic matrix of 4-channel microwave difference frequency signals based on Welch method; including: Firstly, each microwave difference frequency signal is segmented using the Hamming window function, and adjacent data segments overlap by 50%. The power spectrum of the microwave difference frequency signal data segments is calculated based on the Welch method. According to each microwave difference frequency signal and power spectrum, the following data are extracted to obtain the maximum value and the maximum value of the power spectrum, the minimum value and the minimum value of the power spectrum, the average value and the average value of the power spectrum, and the standard deviation and the standard deviation of the power spectrum, to form a feature matrix 6) Construct a time-frequency graph convolutional neural network model to realize feature extraction and moisture content prediction of microwave difference frequency signals; The time-frequency graph convolutional neural network model is composed of two graph convolution modules and an output module, each graph convolution module includes a graph convolution layer, a batch normalization layer, an activation function layer and a discard layer connected in sequence; the output module includes an expansion layer, an activation function layer and a fully connected layer connected in sequence; wherein: In the graph convolution module: The convolution formula used in the graph convolution layer is as follows: in is the adjacency matrix; is the degree matrix; C is the feature matrix; σ is the activation function; Θ is the filter parameter matrix, which can be continuously optimized by training; Batch normalization layer, which performs batch normalization on the output of the graph convolution layer to speed up the model training process and prevent overfitting; The activation function layer uses the Relu activation function to introduce nonlinear characteristics into the time-frequency graph convolutional neural network model; The dropout layer randomly selects neurons from the previous layer with a probability of 0.5, so that the selected neurons do not output; Output module: The expansion layer expands the data into one dimension; The activation function layer uses the Relu activation function to introduce nonlinear characteristics into the time-frequency graph convolutional neural network model; Fully connected layer, output results, using Sigmoid as the activation function.
2. The method for measuring water content of oil-water two-phase flow based on time-frequency graph convolution according to claim 1 is characterized in that: In the time-frequency graph convolutional neural network model described in step 6): Setting hyperparameters, wherein the hyperparameters are obtained by using the AMSGrad optimization algorithm to update the weights of the time-frequency graph convolutional neural network model through gradient reverse based on the training set and the validation set; The mean square error (MSE) is used as the loss function to measure the gap between the output of the time-frequency graph convolutional neural network model and the true label. Minimizing the gap is used as the criterion to guide network training and optimization in the right direction.
Citation Information
Patent Citations
Wellhead water content prediction method for low-gas-yield oil well based on time-frequency characteristics
CN110243885A
