A three-phase flow holdup measurement system in pipelines based on complex resistivity method
Through the three-phase current holding rate measurement system in the pipeline based on the complex resistivity method, the excitation signal and precision signal processing technology are used to solve the single parameters and complexity of the existing system, and the stagnation rate of the three-phase current is realized. Accurate measurement, efficient and flexible measurement capabilities.
Patent Information
- Application Number
- CN202410088788.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-22
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-01-22
AI Technical Summary
The existing three-phase flow rate measurement system in the pipeline has problems such as single measurement parameters, complex measurement devices and failure at high water phase content, so it is impossible to achieve accurate measurement.
The three-phase current holding rate measurement system in the pipeline based on the complex resistivity method includes a transmitter unit, a pipeline holding rate measuring sensor array, a receiver unit and a host computer unit. The electric field and current signals are collected through the excitation signal, and the OPA2388 precision is used. The operational amplifier and the ADS131M08 analog-to-digital conversion chip perform signal processing, and the retention rate of each phase is calculated in combination with the neural network.
It realizes accurate measurement of the stagnancy of three-phase flow in the pipeline, overcomes the multi-solvency problems and device complexity of traditional systems, has high anti-interference ability and flexibility, and reduces the system size and cost.
Smart Images

Figure CN117907388B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of holdup measurement, and in particular to a holdup measurement system for three-phase flow in a pipeline based on a complex resistivity method. Background Art
[0002] Three-phase flow is widely used in many fields such as petrochemical industry, metallurgical industry, oil and gas transmission, biopharmaceuticals, and water conservancy projects. The most representative of these three-phase flows is oil, gas, and water. The holdup refers to the proportion of a certain phase in any pipe cross section during the multiphase flow process. For example, the relative content of water or gas in the fluid at a certain position in the pipe is called water holdup or gas holdup. Measuring the holdup of each phase of the three-phase flow in the pipeline helps to understand the relative content and distribution of oil, gas, and water in the pipeline, further optimize the pipeline transportation plan, and provide guidance for ensuring safety during pipeline transmission, improving pipeline transmission efficiency, and reducing waste during transmission.
[0003] At present, the methods used by the three-phase flow holdup measurement system in pipelines mainly include: conductivity method, capacitance method, differential pressure method, ray method, and optical method. Among them, there are many measurement systems based on conductivity method and capacitance method, but the measurement accuracy of the sensor in the conductivity measurement system is greatly affected by the three-phase flow pattern in the pipeline. In addition, the existing conductivity holdup measurement system has multiple solutions due to the single interpretation parameter, and cannot complete the task of accurate holdup measurement in the pipeline. When the water holdup of the fluid in the pipeline exceeds 50%, the conductivity measurement system will fail. The capacitance measurement system is more sensitive to water phase detection, but the capacitance measurement system cannot measure the oil and gas phase well. In order to effectively distinguish oil, gas and water, other measurement systems are required to cooperate with the holdup measurement. The combination of multiple measurement modules increases the cost and weight of the system, and reduces the reliability of the actual measurement process. Therefore, there is an urgent need for a simple and effective measurement system to solve the problem of three-phase flow holdup measurement in pipelines. Summary of the invention
[0004] In order to solve the technical problems of the traditional three-phase flow holdup measurement system in pipelines, such as single measurement parameters and complex measurement devices, the present invention provides a three-phase flow holdup measurement system in pipelines based on the complex resistivity method. The system uses the advantages of the complex resistivity method (strong anti-interference ability, fast measurement accuracy, high measurement efficiency, more measurement parameter information, and effective avoidance of multiple solutions) to complete the collection and processing of various signals in the pipeline, and then obtain the holdup of each phase of the three-phase flow in the pipeline. The system mainly includes: a transmitter unit, a pipeline holdup measurement sensor array, a receiver unit and a host computer unit; the output end of the transmitter unit is connected to the input end of the pipeline holdup measurement sensor array, the output end of the pipeline holdup measurement sensor array is connected to the input end of the receiver unit, and the output end of the receiver unit is connected to the host computer unit;
[0005] The transmitter unit includes an excitation control module, a driving circuit and an excitation main loop. The excitation control module is connected to the excitation main loop through the driving circuit to generate an induced polarization signal and provide a polarization signal source for subsequent polarization signal collection.
[0006] The pipeline holding rate measurement sensor array is used to output the induced polarization signal generated by the transmitter unit, collect the electric field signal and current signal in the pipeline after the induced polarization signal is excited, and transmit the electric field signal and current signal to the receiver unit;
[0007] The receiver unit includes a signal acquisition module and a main control module, the output end of the signal acquisition module is connected to the input end of the main control module, and the output end of the main control module is connected to the host computer unit, and is used to receive the electric field signal and the current signal from the pipeline holding rate measurement sensor array, and process the electric field signal and the current signal through the signal acquisition module, and transmit the processed signal to the host computer unit;
[0008] The host computer unit is used to realize the storage, real-time display and processing of data, and obtain the holding rate of each phase of the three-phase flow of oil, gas and water in the pipeline.
[0009] Furthermore, the transmitter unit can set the number and frequency of the main frequencies of the transmitted IP signals according to usage requirements, so as to transmit multiple frequency signals simultaneously.
[0010] Furthermore, the pipeline holding rate measurement sensor array includes a receiving electrode, a transmitting electrode, a driving motor, a central axis sleeve, multiple supporting arms, and multiple detection arms. The driving motor is sleeved on the central axis sleeve, one end of the supporting arm is connected to the driving motor, and the other end of the supporting arm is connected to the detection arm. The detection arm is connected to the bottom end of the central axis sleeve, and the multiple detection arms are symmetrical about the center of the central axis sleeve. The receiving electrode and the transmitting electrode are in the same horizontal plane, the transmitting electrode is arranged at the outermost end of each detection arm, the receiving electrodes are equidistantly arranged on the detection arm, and the receiving electrode is between the transmitting electrodes. When working, the driving motor slides on the central axis sleeve to drive the supporting arm to move, so that the detection arm completes the contraction and expansion movement, thereby adapting to the measurement environment in the pipeline.
[0011] Furthermore, the signal acquisition module includes a current detection circuit, an impedance conversion circuit, a low-pass filter circuit, and an analog-to-digital conversion circuit. The output end I of the pipeline holding rate measurement sensor array is connected to the input end of the current detection circuit, the output end U of the pipeline holding rate measurement sensor array is connected to the input end of the impedance conversion circuit, the output end of the impedance conversion circuit is connected to the input end of the low-pass filter circuit, the output end of the low-pass filter circuit is connected to the first input end of the analog-to-digital conversion circuit, and the output end of the current detection circuit is connected to the second input end of the analog-to-digital conversion circuit.
[0012] Furthermore, the impedance conversion circuit and the low-pass filter circuit are both composed of an OPA2388 precision operational amplifier, which is used to achieve accurate signal access and filter out some high-frequency noise signals.
[0013] Furthermore, the analog-to-digital conversion circuit is composed of a Σ-Δ analog-to-digital conversion chip ADS131M08, which effectively reduces the area of the printed circuit board and the volume of the measurement system.
[0014] Furthermore, the steps of data collection in the system are:
[0015] S301: After the system enters the designated position in the pipeline, the pipeline holding rate measurement sensor array is deployed, the transmitter unit and the receiver unit are turned on, and the system starts working;
[0016] S302: driving the transmitter unit to generate an induced polarization signal with a specified frequency and number of main frequencies by controlling the excitation control module of the transmitter;
[0017] S303: The generated induced polarization signal generates an electric field in the pipeline through the transmitting electrode of the pipeline holding rate measurement sensor array;
[0018] S304: The pipeline measurement sensor array collects the electric field signal and the current signal after the excitation polarization, and transmits the electric field signal and the current signal to the receiver unit;
[0019] S305: The receiver unit receives the electric field signal and the current signal transmitted by the pipeline holding rate measurement sensor array; converts the current signal into a voltage signal through the current detection circuit, the impedance conversion circuit and the low-pass filter circuit, and completes the impedance conversion of the electric field signal; finally, the processed electric field signal and the voltage signal are subjected to analog-to-digital conversion, and the analog-to-digital conversion circuit composed of the Σ-Δ type analog-to-digital conversion chip ADS131M08 and its peripheral circuit is used to convert the analog signal into a digital signal;
[0020] S306: The main control module communicates with the analog-to-digital conversion chip via SPI, receives the converted digital signal, and transmits it to the host computer unit via Ethernet;
[0021] S307: The host computer unit is a display and data processing platform that provides a friendly human-computer interaction interface and completes data storage, real-time display and processing.
[0022] Furthermore, the data processing process is:
[0023] Perform FFT processing on the data received by the host computer. The calculation formula of FFT is shown in formula (1):
[0024]
[0025] Wherein, Z(k) is the harmonic coefficient of the kth harmonic component, k is the harmonic number, N is the number of original data, n is the number of original data, z(n) is the nth original data, e is a natural constant, and j is an imaginary unit;
[0026] The frequency domain data after FFT processing is calculated according to formula (2) to obtain the real and imaginary impedance value of the complex resistance:
[0027]
[0028] Wherein, Z'(k) is the real value of the complex impedance, Z"(k) is the imaginary value of the complex impedance, Z(k) is the harmonic coefficient of the kth harmonic component obtained after FFT of the measured data, and k is the harmonic number;
[0029] Through the obtained real and imaginary impedance values and the trained neural network, the neural network uses the real and imaginary parts of the complex resistance as the input layer, and the water holdup and oil holdup as the output layer, to obtain the water holdup and oil holdup in the pipeline, and then obtain the gas holdup in the pipeline through formula (2), and finally obtain the holdup of each phase of the three-phase flow in the pipeline;
[0030] Y g =1-Y w -Y o (3)
[0031] Among them, Y g represents the gas holdup rate, Y w , Y o Represent water holding rate and oil holding rate respectively.
[0032] Furthermore, the system also includes a transmitter power module and a receiver power module, both of which are composed of low-noise, high-temperature resistant linear voltage regulator chips, which are used to supply power to the transmitter unit and the receiver unit separately to avoid mutual interference between digital signals and analog signals.
[0033] The technical solution provided by the present invention has the following beneficial effects: the present invention includes a transmitter unit, a pipeline holding rate measurement sensor array, a receiver unit and a host computer unit. The transmitter unit can adjust the frequency and the number of main frequencies of the generated induced electric signal according to the actual measurement situation, so that the measurement system has better flexibility and adaptability. The pipeline holding rate measurement sensor array is designed according to the actual environment in the pipeline, so that the measurement system has a strong environmental adaptability and improves the accuracy of the measurement system to collect signals. The second-order low-pass filter in the receiver unit is composed of the OPA2388 precision operational amplifier, which has the functions of impedance transformation and low-pass filtering, completes the accurate reception of the signal, and has a strong anti-interference ability. The analog-to-digital conversion circuit of the receiver unit is composed of a Σ-Δ type analog-to-digital conversion chip ADS131M08 and its peripheral circuits. Since the ADS131M08 integrates a low-noise, programmable gain amplifier and a low-drift, 1.2V reference, the printed circuit board area is effectively reduced, so that the volume of the measurement system is effectively reduced. The host computer unit completes the configuration of various parameters of the measurement system and displays, processes and stores the collected data by designing a friendly human-computer interaction interface, making the measurement system more convenient and user-friendly. Therefore, the present invention has the advantages of rich measurement parameters, simple structure, fast response speed, etc., and overcomes the problems of single measurement parameters and complex measurement devices in traditional pipeline holding rate measurement systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0035] Figure 1 It is an overall structural block diagram of a three-phase flow holdup measurement system in a pipeline based on the complex resistivity method in an embodiment of the present invention.
[0036] Figure 2 Schematic diagram of the structure of a complex resistivity sensor array measurement device in an embodiment of the present invention.
[0037] Figure 3 It is a workflow diagram of data collection of a three-phase flow holdup measurement system in a pipeline based on the complex resistivity method in an embodiment of the present invention.
[0038] Figure 4 It is a data processing flow chart of a three-phase flow holdup measurement system in a pipeline based on the complex resistivity method in an embodiment of the present invention.
[0039] Figure 5 It is a flow chart of establishing a neural network in data processing of a three-phase flow holdup measurement system in a pipeline based on a complex resistivity method in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0041] An embodiment of the present invention provides a system for measuring the holdup of three-phase flow in a pipeline based on a complex resistivity method.
[0042] Please refer to Figure 1 , Figure 1 It is an overall structural block diagram of a three-phase flow holdup measurement system in a pipeline based on a complex resistivity method in an embodiment of the present invention, which specifically includes: a transmitter unit 1, a pipeline holdup measurement sensor array 2, a receiver unit 3 and a host computer unit 4, wherein the output end of the transmitter unit 1 is connected to the input end of the pipeline holdup measurement sensor array 2, the output end of the pipeline holdup measurement sensor array 2 is connected to the input end of the receiver unit 3, and the output end of the receiver unit 3 is connected to the host computer unit 4; specifically:
[0043] (1) Transmitter unit
[0044] The transmitter unit 1 includes an excitation control module 101, a driving circuit 102, an excitation main circuit 103 and a transmitter power module 104. When working, the excitation control module generates a control signal and cooperates with the driving circuit to drive the excitation main circuit to generate a corresponding induced polarization signal, and an electric field is generated in the pipeline through the transmitting electrodes on the pipeline holding rate measurement sensor array. The purpose of the transmitter unit is to generate the required induced polarization signal to facilitate the subsequent collection of polarization signals.
[0045] In this embodiment, the excitation control unit 101 is the core control unit of the transmitter unit, which can generate a control signal and adjust the frequency and the number of main frequencies of the control signal according to actual conditions; the driving circuit 102 drives the excitation main loop 103 according to the generated control signal to generate an induced polarization signal corresponding to the control signal; the transmitter power supply module 104 mainly supplies power to the above modules so that the transmitter unit can work normally. The excitation current signal generated at last is supplied to the pipeline for excitation polarization to facilitate subsequent collection. The main functions of the transmitter unit are: driving the generation of induced polarization signals and controlling the frequency of the generated induced polarization signals.
[0046] (2) Pipeline holding rate measurement sensor array
[0047] The schematic diagram of the structure of the pipeline holding rate measurement sensor array 2 is as follows: Figure 2As shown. The pipeline holding rate measurement sensor array is a T-shaped intermediate gradient device array structure, which is mainly composed of a receiving electrode 201, a transmitting electrode 202, a drive motor 203, a central axis sleeve 204, a support arm 205, and a detection arm 206. The central axis sleeve 204 is the central axis of the measurement system, and the detection arm 206 is fixed to the central axis sleeve 204 by the support arm 205. The transmitting electrode 202 is placed at the outermost end of the two detection arms. The detection arm 206 is symmetrical about the center of the central axis sleeve 204. The receiving electrode and the transmitting electrode are on the same horizontal plane and are equidistantly arranged on the two detection arms.
[0048] During operation, the driving motor 203 slides on the central axis sleeve 204, driving the support arm 205 to move, thereby causing the detection arm 206 to rotate around the central axis sleeve, so that the sensor array can complete the contraction and expansion functions. When the sensor array is fully expanded, the transmitting electrode 202 outputs the induced polarization signal generated by the transmitter unit, so that it forms an electric field in the pipeline and transmits the current signal in the pipeline to the receiver unit. At the same time, the receiving electrode 201 collects the electric field signal and current signal after the induced polarization in the pipeline, and transmits them to the receiver unit. The main function of the pipeline holding rate measurement sensor array is to adapt to the measurement environment in the pipeline, complete the output of the induced polarization signal and the collection and transmission of the electric field signal and the current signal.
[0049] (2) Receiver unit
[0050] The receiver unit 3 of the three-phase flow rate measurement system in the pipeline based on the complex resistivity method mainly performs hardware circuit processing and analog-to-digital conversion on the electric field signal and current signal in the pipeline, transmits the converted signal to the main control module, and sends it to the host computer unit through Ethernet. The receiver unit mainly includes: current detection circuit 301, impedance conversion circuit 302, low-pass filter circuit 303, analog-to-digital conversion circuit 304, main controller 305, and receiver power supply module 306.
[0051] When the receiver unit 3 is working, it receives the electric field signal and current signal after the excitation polarization in the pipeline collected by the pipeline holding rate measurement sensor array. The current detection circuit 301 converts the current signal in the pipeline into a voltage signal to facilitate the collection of the current signal; the electric field signal is transformed by the impedance conversion circuit 302, so that the signal can accurately enter the receiver unit, and then most of the high-frequency noise is filtered out by the low-pass filter circuit 303; the voltage and current signals after signal conditioning are converted into analog-to-digital through the analog-to-digital conversion circuit 304, and communicate with the main controller 305 through SPI to transmit the converted signal, and then the signal is transmitted to the host computer unit through Ethernet. The receiver power supply module 306 stabilizes the external power supply voltage of the measurement system to the power supply range of each module through various voltage stabilizing and step-down chips, so that the receiver unit can work normally. The main functions of the receiver unit are: receiving the electric field signal and current data in the pipeline, performing impedance transformation and low-pass filtering on the received signal, analog-to-digital conversion and Ethernet signal transmission.
[0052] (3) Host computer unit
[0053] The host computer unit 4 provides a friendly human-computer interaction interface for realizing data transmission with the receiver unit 3 via Ethernet, can display the collected data in real time, perform data preprocessing and storage on the measured data after the measurement is completed, and calculate the real and imaginary impedance values that can reflect the distribution of the three-phase flow retention rate in the pipeline, and then obtain the retention rate of each phase of the three-phase flow of oil, gas and water in the pipeline. The host computer unit 4 is mainly composed of a data preprocessing module 401, a data calculation module 402, a data display and storage module 403 and a data analysis module 404.
[0054] After receiving the data from the receiver 3, the upper computer unit 4 immediately pre-processes the data and saves the original data. Then, the time domain signal is converted into a frequency domain signal through FFT. According to the corresponding relationship, the real and imaginary impedance values reflecting the holding rate of each phase of the three-phase flow in the pipeline are solved. Then, through data analysis and combined with relevant information, the holding rate of each phase of the three-phase flow of oil, gas and water in the pipeline is obtained.
[0055] The transmitter power module and the receiver power module are both composed of low-noise, high-temperature resistant linear voltage regulator chips, which are used to power the transmitter unit and the receiver unit separately to avoid mutual interference between digital signals and analog signals.
[0056] Figure 3 This is a data acquisition workflow diagram of the three-phase flow holdup measurement system in a pipeline based on the complex resistivity method of the present invention. The working principle of data acquisition is as follows:
[0057] S301: The system turns on the transmitter unit and the receiver unit:
[0058] After the measurement system enters the designated position in the pipeline, the pipeline holding rate measurement sensor array is deployed, the transmitter unit and the receiver unit of the measurement system are turned on, and the system starts working.
[0059] S302: Drive the transmitter unit to generate an excitation signal of a specified frequency:
[0060] The excitation control module of the transmitter is controlled to drive the transmitter unit to generate an excitation signal with a specified frequency and number of main frequencies.
[0061] S303: The generated electrostatic signal generates an electric field in the pipeline through the sensor array:
[0062] The induced polarization signal generated by the transmitter generates an electric field in the pipeline through the transmitting electrode of the pipeline holding rate measurement sensor array.
[0063] S304: The pipeline holding rate measurement sensor array collects electric field and current signals in the pipeline:
[0064] The pipeline measurement sensor array collects the electric field signal and current signal after excitation polarization and transmits them to the receiver unit to facilitate subsequent processing of the signal.
[0065] S305: The receiver unit receives the signal from the sensor array and processes the signal:
[0066] The receiver unit receives the electric field signal and current signal transmitted by the pipeline holding rate measurement sensor array. The electric field signal is converted into a voltage signal through impedance transformation and low-pass filtering; finally, the collected signal is converted into an analog-to-digital signal, and the analog-to-digital conversion circuit composed of the Σ-Δ type analog-to-digital conversion chip ADS131M08 and its peripheral circuits is used to realize the conversion of analog signals to digital signals.
[0067] S306: The main control module receives the signal and sends the signal to the host computer unit:
[0068] The main control module communicates with the analog-to-digital conversion chip via SPI, receives the converted data, and then transmits it to the host computer unit via Ethernet to facilitate subsequent data processing.
[0069] S307: The host computer unit displays, stores and calculates data:
[0070] After the collected data is sent to the host computer, the raw data is first displayed and stored, and then processed by software functions to obtain parameters reflecting the holding rate of the three-phase flow in the pipeline, and then the holding rate of each phase of the oil, gas and water three-phase flow in the pipeline is obtained.
[0071] Figure 4This is a data processing flow chart of the three-phase flow holdup measurement system in a pipeline based on the complex resistivity method of the present invention. The working principle of data processing is as follows:
[0072] S401: The main control module receives the signal and sends it to the host computer:
[0073] After receiving the data, the main control module transmits it to the host computer unit via Ethernet to facilitate subsequent data processing.
[0074] S402: Host computer displays and stores data:
[0075] The data transmitted by the receiver unit is preliminarily displayed and saved to prevent data loss during subsequent data processing.
[0076] S403: Perform FFT on the data:
[0077] FFT Fourier transform is the core part of data processing. Its essence is to transform data from time domain to frequency domain. It is a necessary part of later data calculation. The calculation formula of FFT is shown in formula (1):
[0078]
[0079] Among them, Z(k) is the harmonic coefficient of the kth harmonic component, k is the harmonic sequence number, N is the number of original data, n is the sequence number of the original data, z(n) is the nth original data, e is a natural constant, and j is an imaginary unit.
[0080] S404: Obtain the real and imaginary impedance values of the complex resistance:
[0081] According to the relevant formula of the complex resistivity method, the frequency domain data after FFT is calculated according to formula (2) to obtain the real and imaginary impedance value of the complex resistance.
[0082]
[0083] Wherein, Z'(k) is the real value of the complex impedance, Z"(k) is the imaginary value of the complex impedance, Z(k) is the harmonic coefficient of the kth harmonic component obtained after FFT of the measured data, and k is the harmonic number.
[0084] S405: Analyze the three-phase flow holding rate in the pipeline:
[0085] The three-phase flow rate information is obtained by using the real and imaginary impedance values and the trained neural network. The neural network establishment flow chart is as follows: Figure 5As shown. The neural network is an existing technology, and its structure includes an input layer, a hidden layer and an output layer. Among them, the input layer has 2 input nodes, the hidden layer has 4 hidden nodes, and the output layer has 2 output nodes. The neural network uses the real part and imaginary part of the complex resistance as the input layer, and the water holdup and oil holdup as the output layer, and obtains the water holdup and oil holdup in the pipeline, and then obtains the gas holdup in the pipeline through formula (3), and finally obtains the holdup of each phase of the three-phase flow in the pipeline.
[0086] Y g =1-Y w -Y o (3)
[0087] Among them, Y g is the gas holdup rate, Y w is the water holding rate, Y o is the oil holding rate.
[0088] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A three-phase flow holdup measurement system in a pipeline based on complex resistivity method, characterized in that: include: A transmitter unit, a pipeline holding rate measurement sensor array, a receiver unit and a host computer unit; the output end of the transmitter unit is connected to the input end of the pipeline holding rate measurement sensor array, the output end of the pipeline holding rate measurement sensor array is connected to the input end of the receiver unit, and the output end of the receiver unit is connected to the host computer unit; The transmitter unit includes an excitation control module, a driving circuit and an excitation main loop. The excitation control module is connected to the excitation main loop through the driving circuit to generate an induced polarization signal and provide a polarization signal source for subsequent polarization signal collection. The pipeline holding rate measurement sensor array is used to output the induced polarization signal generated by the transmitter unit, collect the electric field signal and the current signal after the induced polarization signal is excited in the pipeline, and transmit the electric field signal and the current signal to the receiver unit; The receiver unit includes a signal acquisition module and a main control module, the output end of the signal acquisition module is connected to the input end of the main control module, and the output end of the main control module is connected to the host computer unit, and is used to receive the electric field signal and the current signal from the pipeline holding rate measurement sensor array, and process the electric field signal and the current signal through the signal acquisition module, and transmit the processed signal to the host computer unit; The host computer unit is used to store, display and process data in real time, and obtain the holding rate of each phase of the three-phase flow of oil, gas and water in the pipeline; The data processing process is: Perform FFT processing on the data received by the host computer. The calculation formula of FFT is shown in formula (1): Wherein, Z(k) is the harmonic coefficient of the kth harmonic component, k is the harmonic number, N is the number of original data, n is the number of original data, z(n) is the nth original data, e is a natural constant, and j is an imaginary unit; The frequency domain data after FFT processing is calculated according to formula (2) to obtain the real and imaginary impedance value of the complex resistance: Wherein, Z'(k) is the real value of the complex impedance, Z"(k) is the imaginary value of the complex impedance, Z(k) is the harmonic coefficient of the kth harmonic component obtained after FFT of the measured data, and k is the harmonic number; Through the obtained real and imaginary impedance values and the trained neural network, the neural network uses the real and imaginary parts of the complex resistance as the input layer, and the water holdup and oil holdup as the output layer, to obtain the water holdup and oil holdup in the pipeline, and then obtain the gas holdup in the pipeline through formula (2), and finally obtain the holdup of each phase of the three-phase flow in the pipeline; AND g =1-Y w -AND o (3) Among them, Y g represents the gas holdup rate, Y w , Y o Represent water holding rate and oil holding rate respectively.
2. A three-phase flow holdup measurement system in a pipeline based on complex resistivity method as claimed in claim 1, characterized in that: The transmitter unit can set the number of main frequencies and frequencies of the transmitted IP signals according to usage requirements, so as to transmit multiple frequency signals simultaneously.
3. A three-phase flow holdup measurement system in a pipeline based on complex resistivity method as claimed in claim 1, characterized in that: The pipeline holding rate measurement sensor array includes a receiving electrode, a transmitting electrode, a driving motor, a central axis sleeve, multiple supporting arms, and multiple detection arms. The driving motor is sleeved on the central axis sleeve, one end of the supporting arm is connected to the driving motor, and the other end of the supporting arm is connected to the detection arm. The detection arm is connected to the bottom end of the central axis sleeve. The multiple detection arms are symmetrical about the center of the central axis sleeve. The receiving electrode and the transmitting electrode are in the same horizontal plane. The transmitting electrode is arranged at the outermost end of each detection arm. The receiving electrodes are equidistantly arranged on the detection arm, and the receiving electrodes are located between the transmitting electrodes. When working, the driving motor slides on the central axis sleeve to drive the supporting arm to move, so that the detection arm completes the contraction and expansion movement, thereby adapting to the measurement environment in the pipeline.
4. A three-phase flow holdup measurement system in a pipeline based on complex resistivity method as claimed in claim 1, characterized in that: The signal acquisition module includes a current detection circuit, an impedance conversion circuit, a low-pass filter circuit, and an analog-to-digital conversion circuit. The output end I of the pipeline holding rate measurement sensor array is connected to the input end of the current detection circuit, the output end U of the pipeline holding rate measurement sensor array is connected to the input end of the impedance conversion circuit, the output end of the impedance conversion circuit is connected to the input end of the low-pass filter circuit, the output end of the low-pass filter circuit is connected to the first input end of the analog-to-digital conversion circuit, and the output end of the current detection circuit is connected to the second input end of the analog-to-digital conversion circuit.
5. A three-phase flow holdup measurement system in a pipeline based on complex resistivity method as claimed in claim 4, characterized in that: The impedance conversion circuit and the low-pass filter circuit are both composed of the OPA2388 precision operational amplifier, which is used to achieve accurate signal access and filter out some high-frequency noise signals.
6. A system for measuring the holdup of three-phase flow in a pipeline based on complex resistivity method according to claim 4, characterized in that: The analog-to-digital conversion circuit is composed of a Σ-Δ type analog-to-digital conversion chip ADS131M08, which effectively reduces the area of the printed circuit board and reduces the volume of the measurement system.
7. A three-phase flow holdup measurement system in a pipeline based on complex resistivity method as claimed in claim 1 or 4, characterized in that: The steps of data collection in the system are as follows: S301: After the system enters the designated position in the pipeline, the pipeline holding rate measurement sensor array is deployed, the transmitter unit and the receiver unit are turned on, and the system starts working; S302: driving the transmitter unit to generate an induced polarization signal with a specified frequency and number of main frequencies by controlling the excitation control module of the transmitter; S303: The generated induced polarization signal generates an electric field in the pipeline through the transmitting electrode of the pipeline holding rate measurement sensor array; S304: the pipeline measurement sensor array collects the electric field signal and the current signal after the excitation polarization, and transmits the electric field signal and the current signal to the receiver unit; S305: The receiver unit receives the electric field signal and the current signal transmitted by the pipeline holding rate measurement sensor array; converts the current signal into a voltage signal through the current detection circuit, the impedance conversion circuit and the low-pass filter circuit, and completes the impedance conversion of the electric field signal; finally, the processed electric field signal and the voltage signal are subjected to analog-to-digital conversion, and the analog-to-digital conversion circuit composed of the Σ-Δ type analog-to-digital conversion chip ADS131M08 and its peripheral circuit is used to convert the analog signal into a digital signal; S306: The main control module communicates with the analog-to-digital conversion chip via SPI, receives the converted digital signal, and transmits it to the host computer unit via Ethernet; S307: The host computer unit is a display and data processing platform that provides a friendly human-computer interaction interface and completes data storage, real-time display and processing.
8. The system for measuring the holdup of three-phase flow in a pipeline based on complex resistivity method according to claim 1, characterized in that: The system also includes a transmitter power module and a receiver power module, both of which are composed of low-noise, high-temperature resistant linear voltage regulator chips, which are used to supply power to the transmitter unit and the receiver unit separately to avoid mutual interference between digital signals and analog signals.
