| With the increasing progress of technology and development of the world economic situation,As one of the strategic energy sources,oil has also become a target of attention around the world.Due to the increasing demand for oil,most oil fields are overexploited,and the oil well output fluid is already in a state of high water content and low oil content in the later stage.In order to be able to judge the state of the well in time and save input costs,designing a flowmeter that can measure the parameters of each phase of the three-phase flow is urgently needed for oil field exploitation.Since the liquid flow pattern of three-phase flow is affected by the composition of each phase,fluid pressure,ambient temperature and external interference,the measurement of its parameters is still one of the most challenging problems.Based on the investigation of multiphase flow detection devices in the domestic and overseas,the flowmeters currently used in most oilfields are expensive,occupy large space and need high maintenance costs.From the perspective of detecting the dynamic characteristics of oil wells and the safety of storage and transportation,this project designs a threephase flow detection device for gas,oil and water three-phase flow with high water content,low oil content,low flow velocity and near-laminar flow.In order to measure the phase content,liquid velocity,quantity of flow,and volume of each phase,the detection method of microwave sensor,capacitive sensor,flow rate sensor and other modules are used to combine with each other.According to the method of using a capacitive sensor alone or a combination of capacitive and microwave sensors to determine the content of oil and water phases,and then calculate the content of the gas phase,and then measure the fluid flow rate through the flow rate sensor,the flow rate of each phase and the volume of each phase can be measured.The measurement results are displayed on the screen all the time,and the results at each moment are stored on an SD card.The experimental results of each stage are continuously analyzed to optimize the hardware and software and improve the performance of the device.The main control chip of this device selected STM32H750VBT6,and the measurement circuit of each external sensor is designed around the main control unit,and the control of the whole system by the main control unit is realized by designing the corresponding algorithms of different modules.Through simulation,design and experiment,the final measurement results show that the performance of the three-phase flow measurement system is excellent and attains the expected goal under the conditions of near-laminar flow and low flow rate provided by the laboratory.When measuring the actual oil well,the device can still calculate the phase parameters accurately.The scheme designed in this project can provide reliable assessment data for the degree of exploitation of the oilfield,so as to realize the control of the cost of exploitation and the scientific use of the oilfield,this experimental device is a nonseparate detection device that can be installed on the oil pipeline,with the advantages of small footprint,no radiation,simple operation and convenient installation. |