Disclosure of Invention
The invention aims to provide an oil well metering system and method, which can reduce the metering error of an oil well.
An oil well metering system comprising: the liquid inlet pipe, the liquid discharge pipe, the liquid inlet three-way valve, the first temporary storage, the second temporary storage, the liquid outlet three-way valve, the gas conveying pipe and the communicating pipe;
the liquid outlet end of the liquid inlet pipe is communicated with the inlet of the liquid inlet three-way valve; a first outlet of the liquid inlet three-way valve is communicated with an upper liquid inlet of the first temporary storage device, and a second outlet of the liquid inlet three-way valve is communicated with an upper liquid inlet of the second temporary storage device; a bottom liquid outlet of the first temporary storage device is communicated with a first inlet of the liquid outlet three-way valve, and a bottom liquid outlet of the second temporary storage device is communicated with a second inlet of the liquid outlet three-way valve; the outlet of the liquid outlet three-way valve is communicated with the liquid inlet end of the liquid discharge pipe; the communicating pipe communicates the upper parts of the first temporary storage and the second temporary storage; one end of the gas pipe is communicated with the tops of the first temporary storage device and the second temporary storage device, and the other end of the gas pipe is communicated with the liquid discharge pipe;
and only one outlet of the liquid inlet three-way valve is in an open state at any time.
Optionally, the liquid inlet three-way valve and the liquid outlet three-way valve are both electric three-way valves; a first electromagnetic valve is arranged at a first inlet of the liquid outlet three-way valve and is used for controlling the opening and closing of the first inlet of the liquid outlet three-way valve; and a second electromagnetic valve is arranged at a second inlet of the liquid outlet three-way valve and is used for controlling the opening and closing of the second inlet of the liquid outlet three-way valve.
Optionally, a first differential pressure transmitter is arranged at the bottom of the first temporary storage, and a second differential pressure transmitter is arranged at the bottom of the second temporary storage; the first differential pressure transmitter is used for detecting the liquid level or the quality of the liquid in the first temporary storage; the second differential pressure transmitter is used for detecting the liquid level or the quality of the liquid in the second temporary storage.
Optionally, a gas flowmeter is arranged on the gas transmission pipe; the gas flowmeter is used for detecting the gas flow in the gas transmission pipe.
Optionally, the oil well metering system further comprises a PLC intelligent control system; the signal input end of the PLC intelligent control system is connected with the first differential pressure transmitter, the second differential pressure transmitter and the gas flowmeter, and the control output end of the PLC intelligent control system is connected with the first electromagnetic valve, the second electromagnetic valve and the liquid inlet three-way valve; the PLC intelligent control system is used for controlling the opening and closing of the first electromagnetic valve and the second electromagnetic valve and the opening and closing of the first outlet and the second outlet of the liquid inlet three-way valve according to signals of the first differential pressure transmitter and the second differential pressure transmitter; and the flow rate value of the gas flowmeter is acquired.
Optionally, a gas-phase one-way valve is arranged on the gas pipe, and the gas-phase one-way valve is positioned at the downstream of the gas flowmeter; the gas-phase one-way valve is used for preventing gas in the gas transmission pipe from flowing backwards.
Optionally, a liquid-phase check valve is mounted on the liquid discharge pipe, and the liquid-phase check valve is located at the upstream of the position of the liquid discharge pipe, which is communicated with the gas delivery pipe; the liquid-phase check valve is used for preventing the gas in the gas transmission pipe from flowing backwards into the first temporary storage and the second temporary storage.
Optionally, the oil well gauging system further comprises a computer; the signal input end of the computer is connected with the signal output end of the PLC intelligent control system, and the PLC intelligent control system is used for sending the detected signal to the computer; the computer is used for measuring the oil outlet data.
The invention also discloses an oil well metering method, which is applied to the oil well metering system; the oil well metering method comprises the following steps:
after receiving the starting signal, closing the first electromagnetic valve and the second electromagnetic valve, and controlling the liquid inlet three-way valve to open the first outlet and close the second outlet so that the oil flows into the first temporary storage through the liquid inlet pipe and the liquid inlet three-way valve;
when a received differential pressure signal sent by a second differential pressure transmitter indicates that differential pressure is generated, determining that the oil in the first temporary storage device has risen to the position of the communicating pipe, and controlling the liquid inlet three-way valve to open the second outlet and close the first outlet so that the oil flows into the second temporary storage device through the liquid inlet pipe and the liquid inlet three-way valve;
opening a first electromagnetic valve to discharge the oil in the first temporary storage through the liquid discharge pipe;
when the received differential pressure signal sent by the first differential pressure transmitter indicates that no differential pressure exists, determining that the oil in the first temporary storage is completely discharged, and closing the first electromagnetic valve;
after the first electromagnetic valve is closed, when a received differential pressure signal sent by the first differential pressure transmitter indicates that differential pressure is generated, determining that the oil in the second temporary storage device has risen to the position of the communicating pipe, and controlling the liquid inlet three-way valve to open the first outlet and close the second outlet, so that the oil flows into the first temporary storage device through the liquid inlet pipe and the liquid inlet three-way valve;
opening a second electromagnetic valve to discharge the oil in the second temporary storage through the liquid discharge pipe;
when the received differential pressure signal sent by the second differential pressure transmitter indicates no differential pressure, the second electromagnetic valve is closed after the oil in the second temporary storage is completely discharged, so that the alternating metering of the oil in the first temporary storage and the oil in the second temporary storage is realized;
repeating the step of determining that the oil in the first temporary storage device rises to the position of the communicating pipe when the received differential pressure signal sent by the second differential pressure transmitter indicates that differential pressure is generated, controlling the liquid inlet three-way valve to open the second outlet and close the first outlet so that the oil flows into the second temporary storage device through the liquid inlet pipe and the liquid inlet three-way valve, and the step of determining that the oil in the second temporary storage device is completely discharged and closing the second electromagnetic valve when the received differential pressure signal sent by the second differential pressure transmitter indicates that no differential pressure exists, thereby realizing multiple alternate metering of the oil in the first temporary storage device and the oil in the second temporary storage device.
Optionally, the oil well metering method further comprises: acquiring a gas flow value detected by the gas flowmeter in real time and sending the gas flow value to a computer;
after determining that the oil in the first temporary storage chamber has risen to the position of the communicating pipe, before opening the first electromagnetic valve to discharge the oil in the first temporary storage chamber through the drain pipe, the method further comprises the following steps:
acquiring a differential pressure signal detected by the first differential pressure transmitter and sending the differential pressure signal to a computer;
after determining that the oil in the second temporary storage chamber has risen to the position of the communicating pipe, before opening the second electromagnetic valve to discharge the oil in the second temporary storage chamber through the drain pipe, the method further comprises the following steps:
and acquiring a differential pressure signal detected by the second differential pressure transmitter and sending the differential pressure signal to a computer.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the oil well metering system and the oil well metering method are characterized in that two temporary storage devices are arranged, a communicating pipe is connected between the two temporary storage devices, when oil in one temporary storage device is full, the surplus oil automatically flows to the other temporary storage device, the flow direction of the oil is switched to the other temporary storage device, the oil which continuously flows in cannot participate in metering when the oil amount of one temporary storage device is measured and the oil is discharged, errors in the oil metering process are effectively avoided, and the metering accuracy is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide an oil well metering system and method, which can reduce the metering error of an oil well.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
FIG. 1 is a system block diagram of an embodiment of the well gauging system of the present invention.
An oil well metering system comprising: the liquid inlet pipe 1, theliquid outlet pipe 2, the liquid inlet three-way valve 12, the first temporary storage 9, the secondtemporary storage 10, the liquid outlet three-way valve 6, the gas pipe 13 and the communicating pipe 11;
the liquid outlet end of the liquid inlet pipe 1 is communicated with the inlet of the liquid inlet three-way valve 12; a first outlet of the liquid inlet three-way valve 12 is communicated with an upper liquid inlet of the first temporary storage device 9, and a second outlet of the liquid inlet three-way valve 12 is communicated with an upper liquid inlet of the secondtemporary storage device 10; a bottom liquid outlet of the first temporary storage device 9 is communicated with a first inlet of the liquid outlet three-way valve 6 through a flange, and a bottom liquid outlet of the secondtemporary storage device 10 is communicated with a second inlet of the liquid outlet three-way valve 6 through a flange; the outlet of the liquid outlet three-way valve 6 is communicated with the liquid inlet end of theliquid discharge pipe 2; the communicating pipe 11 communicates the upper parts of the first temporary storage 9 and the secondtemporary storage 10; one end of the gas pipe 13 is communicated with the tops of the first temporary storage device 9 and the secondtemporary storage device 10, and the other end of the gas pipe is communicated with theliquid discharge pipe 2;
the height of the upper liquid inlet of the first temporary storage 9 and the height of the upper liquid inlet of the secondtemporary storage 10 are higher than the height of the communicating pipe 11.
Only one outlet of the liquid inlet three-way valve 12 is in an open state at any moment, and when the first outlet is opened, the second outlet is closed; when the second outlet is open, the first outlet is closed.
As an alternative embodiment, the liquid inlet three-way valve 12 and the liquid outlet three-way valve 6 are both electric three-way valves; a first electromagnetic valve 4 is arranged at a first inlet of the liquid outlet three-way valve 6, and the first electromagnetic valve 4 is used for controlling the opening and closing of the first inlet of the liquid outlet three-way valve 6; a second electromagnetic valve 5 is arranged at a second inlet of the liquid outlet three-way valve 6, and the second electromagnetic valve 5 is used for controlling the opening and closing of the second inlet of the liquid outlet three-way valve 6.
As an alternative embodiment, a firstdifferential pressure transmitter 7 is arranged at the bottom of the first temporary storage 9, and a seconddifferential pressure transmitter 8 is arranged at the bottom of the secondtemporary storage 10; the firstdifferential pressure transmitter 7 is used for detecting the liquid level or the quality of the liquid in the first temporary storage 9; the seconddifferential pressure transmitter 8 is used to detect the level or quality of the liquid in the secondtemporary storage 10.
As an optional embodiment, agas flow meter 14 is arranged on the gas delivery pipe 13; thegas flow meter 14 is used for detecting the gas flow in the gas transmission pipe 13.
As an optional implementation, the oil well metering system further comprises a PLCintelligent control system 15; the signal input end of the PLCintelligent control system 15 is connected to the firstdifferential pressure transmitter 7, the seconddifferential pressure transmitter 8 and thegas flowmeter 14, and the control output end of the PLCintelligent control system 15 is connected to the first electromagnetic valve 4, the second electromagnetic valve 5 and the liquid inlet three-way valve 12; the PLCintelligent control system 15 is used for controlling the opening and closing of the first electromagnetic valve 4 and the second electromagnetic valve 5 and the opening and closing of the first outlet and the second outlet of the liquid inlet three-way valve 12 according to signals of the firstdifferential pressure transmitter 7 and the seconddifferential pressure transmitter 8; and is also used to collect the flow value of thegas flowmeter 14.
As an optional implementation manner, a gas-phase one-way valve is arranged on the gas conveying pipe 13, and the gas-phase one-way valve is positioned at the downstream of thegas flowmeter 14; the gas-phase check valve is used for preventing gas in the gas transmission pipe 13 from flowing backwards.
As an optional implementation mode, a liquid phase check valve 3 is installed on theliquid discharge pipe 2, and the liquid phase check valve 3 is located upstream of theliquid discharge pipe 2 where theliquid discharge pipe 2 is communicated with the gas conveying pipe 13; the liquid phase check valve 3 is used for preventing the gas in the gas pipe 13 from flowing backwards into the first temporary storage 9 and the secondtemporary storage 10.
As an alternative embodiment, the well gauging system further comprises acomputer 16; the signal input end of thecomputer 16 is connected with the signal output end of the PLCintelligent control system 15, and the PLCintelligent control system 15 is used for sending the detected signal to thecomputer 16; thecomputer 16 is used to meter the production data.
The communicating pipe 11 enables the upper parts of the first temporary storage 9 and the secondtemporary storage 10 to be communicated, and the two temporary storage alternately measure the oil liquid under the action of the firstdifferential pressure transmitter 7 and the seconddifferential pressure transmitter 8. When the liquid in the first temporary storage device 9 rises to the height of the communicating pipe 11, the liquid enters the secondtemporary storage device 10 through the communicating pipe 11, at the moment, the seconddifferential pressure transmitter 8 senses the pressure difference and immediately sends an instruction of 'the liquid in the first temporary storage device 9 is full' to the PLCintelligent control system 15, the PLCintelligent control system 15 controls the liquid inlet three-way valve 12 to switch the flow direction of the liquid, so that the crude oil enters the secondtemporary storage device 10, the first electromagnetic valve 4 on the liquid outlet three-way valve 6 is opened, the liquid in the first temporary storage device 9 enters theliquid discharge pipe 2 through the liquid outlet three-way valve 6, the liquid in the first temporary storage device 9 is discharged, and when the firstdifferential pressure transmitter 7 on the first temporary storage device 9 senses no pressure difference signal, the first electromagnetic valve 4 is closed. When the liquid in the secondtemporary storage device 10 rises to the height of the communicating pipe 11, the liquid enters the first temporary storage device 9 through the communicating pipe 11, at the moment, the firstdifferential pressure transmitter 7 senses the pressure difference and immediately sends an instruction that the liquid in the secondtemporary storage device 10 is full to the PLCintelligent control system 15, the PLCintelligent control system 15 controls the liquid inlet three-way valve 12 to switch the flow direction of the liquid, so that the crude oil enters the first temporary storage device 9, the second electromagnetic valve 5 on the liquid outlet three-way valve 6 is opened, the liquid in the secondtemporary storage device 10 enters theliquid discharge pipe 2 through the liquid outlet three-way valve 6, after the liquid in the secondtemporary storage device 10 is discharged, when the seconddifferential pressure transmitter 8 on the secondtemporary storage device 10 senses no pressure difference signal, the second electromagnetic valve 5 is closed. The alternating metering of the crude oil by the first temporary storage device 9 and the secondtemporary storage device 10 is realized through the process.
The oil well metering system can realize liquid phase metering, pump efficiency analysis, gas phase metering, crude oil water content and the like. The method comprises the following specific steps:
procedure for metering the liquid phase:
starting metering, the PLCintelligent control system 15 closes the first electromagnetic valve 4 and the second electromagnetic valve 5, and starts timing by taking seconds as a unit, when the liquid in the first temporary storage 9 rises to the height of the communicating pipe 11, the liquidEnters the secondtemporary storage device 10 through the communicating pipe 11, at the same time, the seconddifferential pressure transmitter 8 on the secondtemporary storage device 10 senses the differential pressure due to the entering of crude oil and immediately sends a command of 'the liquid in the first temporary storage device 9 is full' to the PLCintelligent control system 15, the PLCintelligent control system 15 sends information to thecomputer 16 after receiving feedback, and thecomputer 16 records the differential pressure value P of the firstdifferential pressure transmitter 71The weight of the liquid measured each time was calculated by the following data model:
m-unit Kg, liquid mass;
delta P- -unit Pa, differential pressure value of liquid differential pressure body
r- -Unit: rice, the inner diameter of the tank body;
g- -acceleration of gravity
The mass m of the primary liquid phase measured by the first temporary storage 9 can be calculated1。
When the liquid in the secondtemporary storage device 10 rises to the height of the communicating pipe 11, the liquid enters the first temporary storage device 9 through the communicating pipe 11, the firstdifferential pressure transmitter 7 on the first temporary storage device 9 senses the differential pressure due to the entering of crude oil and immediately sends an instruction that the liquid in the secondtemporary storage device 10 is full to the PLCintelligent control system 15, the PLCintelligent control system 15 sends information to thecomputer 16 after receiving the feedback, and thecomputer 16 records the differential pressure value P of the seconddifferential pressure transmitter 82The mass m of the primary liquid phase measured by the secondtemporary storage 10 can be calculated by the above formula2。
And obtaining a liquid phase daily yield calculation data model through the following data models:
QM-liquid daily yield, unit: ton/day;
mn-weight of each measurement, unit: kilogram;
t- -measurement time, unit: second;
pump efficiency analysis procedure:
when the measurement is started, the PLCintelligent control system 15 combines the corresponding record of the size of the measured liquid amount and the measurement time relationship when the data is collected in the working process of the polished rod of the oil pumping unit from the lower suspension point to the upper suspension point, and analyzes the extraction rate of the oil pumping unit and the condition of the produced liquid overflow.
Procedure for metering the gas phase:
the gas discharged from the first temporary storage device 9 and the secondtemporary storage device 10 enters the gas pipe 13 and enters theliquid discharge pipe 2 through thegas flow meter 14, when the gas flow of the day needs to be measured, the gas flow of the starting node and the ending node of the time period needing to be measured only needs to be read from thegas flow meter 14, and the difference between the two data is the gas flow needing to be measured. A daily gas production data model is measured:
Qv-gas daily yield, unit: nm3/d;
qv-real-time cumulative amount of gas meter in the metering process, in units: nm3;
q'v-cumulative amount of gas meter at the beginning of metering, in: nm3;
t- -measurement time, unit: second;
the process of measuring the water content of the crude oil comprises the following steps:
the crude oil entering the first temporary storage device 9 contains pure oil and pure water, the differential pressure value of the firstdifferential pressure transmitter 7 is adjusted to be 0 at the moment that the liquid inlet three-way valve 12 is opened, when the liquid level in the first temporary storage device 9 is at the known height H, namely the length between the connecting pipe of the differential pressure transmitter and the bottom of the inner wall of the communicating pipe, the differential pressure value of the differential pressure transmitter A is P, and the density rho of the pure oil at the corresponding temperature is found out according to the temperature of the crude oil in the pipeline at that time0Substituting the mathematical model into the established mathematical model calculation formula to obtain the corresponding water content D of the crude oilM. Because the crude oil contains a small amount of impurities such as minerals inWhen the water content of the crude oil is calculated, the actual condition of the crude oil on site must be considered, and a correction coefficient is adopted to correct the calculation result.
Lambda-correction factor
DMMass water content
ρ0Density of pure oil
ρwDensity of pure oil
H-liquid level height, i.e. the length of the connecting pipe of the differential pressure transmitter from the bottom of the inner wall of the communicating pipe
P-liquid differential pressure value
G-gravitational acceleration.
The invention also discloses an oil well metering method, which is applied to the oil well metering system; the oil well metering method comprises the following steps:
after receiving the starting signal, closing the first electromagnetic valve and the second electromagnetic valve, and controlling the liquid inlet three-way valve to open the first outlet and close the second outlet so that the oil flows into the first temporary storage through the liquid inlet pipe and the liquid inlet three-way valve;
when a received differential pressure signal sent by a second differential pressure transmitter indicates that differential pressure is generated, determining that the oil in the first temporary storage device has risen to the position of the communicating pipe, and controlling the liquid inlet three-way valve to open the second outlet and close the first outlet so that the oil flows into the second temporary storage device through the liquid inlet pipe and the liquid inlet three-way valve;
opening a first electromagnetic valve to discharge the oil in the first temporary storage through the liquid discharge pipe;
when the received differential pressure signal sent by the first differential pressure transmitter indicates that no differential pressure exists, determining that the oil in the first temporary storage is completely discharged, and closing the first electromagnetic valve;
after the first electromagnetic valve is closed, when a received differential pressure signal sent by the first differential pressure transmitter indicates that differential pressure is generated, determining that the oil in the second temporary storage device has risen to the position of the communicating pipe, and controlling the liquid inlet three-way valve to open the first outlet and close the second outlet, so that the oil flows into the first temporary storage device through the liquid inlet pipe and the liquid inlet three-way valve;
opening a second electromagnetic valve to discharge the oil in the second temporary storage through the liquid discharge pipe;
when the received differential pressure signal sent by the second differential pressure transmitter indicates no differential pressure, the second electromagnetic valve is closed after the oil in the second temporary storage is completely discharged, so that the alternating metering of the oil in the first temporary storage and the oil in the second temporary storage is realized;
repeating the step of determining that the oil in the first temporary storage device rises to the position of the communicating pipe when the received differential pressure signal sent by the second differential pressure transmitter indicates that differential pressure is generated, controlling the liquid inlet three-way valve to open the second outlet and close the first outlet so that the oil flows into the second temporary storage device through the liquid inlet pipe and the liquid inlet three-way valve, and the step of determining that the oil in the second temporary storage device is completely discharged and closing the second electromagnetic valve when the received differential pressure signal sent by the second differential pressure transmitter indicates that no differential pressure exists, thereby realizing multiple alternate metering of the oil in the first temporary storage device and the oil in the second temporary storage device.
Optionally, the oil well metering method further comprises: acquiring a gas flow value detected by the gas flowmeter in real time and sending the gas flow value to a computer;
after determining that the oil in the first temporary storage chamber has risen to the position of the communicating pipe, before opening the first electromagnetic valve to discharge the oil in the first temporary storage chamber through the drain pipe, the method further comprises the following steps:
acquiring a differential pressure signal detected by the first differential pressure transmitter and sending the differential pressure signal to a computer;
after determining that the oil in the second temporary storage chamber has risen to the position of the communicating pipe, before opening the second electromagnetic valve to discharge the oil in the second temporary storage chamber through the drain pipe, the method further comprises the following steps:
and acquiring a differential pressure signal detected by the second differential pressure transmitter and sending the differential pressure signal to a computer.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the oil well metering system and the oil well metering method are characterized in that two temporary storage devices are arranged, a communicating pipe is connected between the two temporary storage devices, when oil in one temporary storage device is full, the surplus oil automatically flows to the other temporary storage device, the flow direction of the oil is switched to the other temporary storage device, the oil which continuously flows in cannot participate in metering when the oil amount of one temporary storage device is measured and the oil is discharged, errors in the oil metering process are effectively avoided, and the metering accuracy is improved.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.