A kind of oil-water mixture detection device and method

文档序号:1770373 发布日期:2019-12-03 浏览:19次 中文

阅读说明:本技术 一种油水混合液检测装置及方法 (A kind of oil-water mixture detection device and method ) 是由 田海峰 李新华 王建林 于 2019-07-08 设计创作,主要内容包括:本发明涉及一种油水混合液检测装置及方法。所述装置包括数据采集模块,适于置于油水混合液中,经配置用于采集油水混合液的含水率;运动机构,与所述数据采集模块固定连接,经配置用于带动所述数据采集模块在油水混合液中运动;以及控制模块,分别与所述数据采集模块和运动机构相连接,经配置用于控制运动机构的运动,并当数据采集模块在油水混合液中运动时,获取多个参考位置的含水率。本发明实现了对储油罐中混合液的含水率的自动测量,操作简便,彻底解决了采样液获取困难这一难题。(The present invention relates to a kind of oil-water mixture detection device and methods.Described device includes data acquisition module, suitable for being placed in oil-water mixture, is configured for the moisture content of acquisition oil-water mixture;Movement mechanism is fixedly connected with the data acquisition module, is configured for that the data acquisition module is driven to move in oil-water mixture;And control module, it is connected respectively with the data acquisition module and movement mechanism, is configured for the movement of control movement mechanism, and when data acquisition module moves in oil-water mixture, obtains the moisture content of multiple reference positions.The present invention realizes the automatic measurement to the moisture content of mixed liquor in oil storage tank, easy to operate, thoroughly solves sample solution and obtains this difficult problem.)

1. a kind of oil-water mixture detection device, wherein include:

Data acquisition module is configured for the moisture content of acquisition oil-water mixture suitable for being placed in oil-water mixture;

Movement mechanism is fixedly connected with the data acquisition module, is configured for driving the data acquisition module in grease It is moved in mixed liquor;And

Control module is connected with the data acquisition module and movement mechanism respectively, is configured for control movement mechanism Movement, and when data acquisition module moves in oil-water mixture, obtain the moisture content of multiple reference positions.

2. the apparatus according to claim 1, wherein the data acquisition module, which is further configured, includes:

Moisture content detection unit is configured to real-time detection oil-water mixture, for calculating moisture content;And

Temperature detecting unit is configured for obtaining oil mixing with water when the moisture content detection unit detects oil-water mixture The temperature of liquid.

3. the apparatus of claim 2, wherein the moisture content detection unit uses microwave type, condenser type, resistance-type Or high-frequency radio frequency formula detects oil-water mixture.

4. the apparatus of claim 2, wherein the temperature detecting unit is using thermal resistance, thermoelectricity occasionally number temperature Spend the temperature of sensor detection oil-water mixture.

5. the apparatus according to claim 1, wherein the movement mechanism, which is configured, further comprises:

Power source is configured for that output power is exported or stopped according to the motion control information of control module;And

Telescoping mechanism, one end are connected with the output end of the power source, the other end and the fixed company of the data acquisition module It connects, under the driving of the power source, the data acquisition module is driven to move in oil-water mixture.

6. device according to claim 5, wherein the power source is servomotor or stepping motor, the control Molding root tuber is according to real-time position when determining that data acquisition module moves in oil-water mixture to the motion control information that it is exported It sets.

7. device according to claim 5, wherein the power source is single-phase or threephase motor, the movement mechanism Further include:

Motor sampling element, for acquiring the revolving speed of motor output shaft, the control module is according to motor output shaft Revolving speed and motor output shaft parameter obtain real time position when data acquisition module moves in oil-water mixture;And

Arrestment mechanism is configured for controlling the stopping of described single-phase or threephase motor according to the motion control information of control module Operation.

8. the apparatus according to claim 1, wherein the control module, which is further configured, includes:

Human-computer interaction interface is configured for input instruction, parameter and/or display testing result;And

Industrial personal computer unit is configured for exporting motion control information to movement mechanism, and it is mixed in grease to obtain data acquisition module Close real time position when moving in liquid and the moisture content of corresponding reference position.

9. device according to claim 8, wherein the industrial personal computer unit is further configured, according to the reference bit It sets and corresponding moisture content calculates water content and/or oil content.

10. device described according to claim 1 or 2 or 5 or 8, wherein further comprise:

Data transmission module, for the data in control module to be transferred to second device.

11. device according to claim 10, wherein it is single that the data transmission module is further arranged as wireless transmission Member.

12. device according to claim 11, wherein the wireless transmission unit using ZigBee, 433MHz, Wi-Fi, LoRa or NB-IoT mode realizes the wireless transmission of data between control module and second device.

13. device according to claim 10, wherein the second device be portable memory, mobile terminal or Remote server.

14. a kind of oil-water mixture detection method, wherein include:

Detecting device for moisture content is connected to one end of movement mechanism;

By controlling the power source connecting with the other end of movement mechanism, transport detecting device for moisture content in oil-water mixture It is dynamic;And

When detecting device for moisture content moves in oil-water mixture, the moisture content of multiple reference positions is obtained.

15. according to the method for claim 14, wherein may further comprise:

Real time position when detection detecting device for moisture content moves in oil-water mixture, according to real time position determination Whether detecting device for moisture content reaches reference position.

16. according to the method for claim 15, wherein when power source is servomotor or stepping motor, according to The motion control information acquisition detecting device for moisture content for being sent to servomotor or stepping motor is transported in oil-water mixture Real time position when dynamic;When power source is single-phase motor or threephase motor, obtained by motor sampling element electronic The revolving speed of machine output shaft obtains detecting device for moisture content in oil according to the revolving speed of motor output shaft and motor output shaft parameter Real time position when being moved in water mixed liquid.

17. according to the method for claim 14, wherein further comprise:

Corresponding to same reference position, multiple groups are obtained by multiple movement of the control detecting device for moisture content in oil-water mixture Moisture content.

18. method described in 4 or 17 according to claim 1, wherein further comprise:

Water content and/or oil content are calculated according to reference position and corresponding moisture content.

19. according to the method for claim 18, wherein further comprise:

Calculate the average moisture content of each reference position;

The average moisture content of each reference position is compared from different with reference to moisture content respectively;

In response to comparing result, determine the corresponding kind of liquid in each reference position, the kind of liquid include crude oil, pure water and Oil-water mixture;

Corresponding liquid layer depth is determined according to reference position and its corresponding kind of liquid;And

According to oil-water mixture volume of a container parameter and corresponding liquid layer depth, the volume of corresponding types liquid is calculated.

20. according to the method for claim 18, wherein further comprise:

According to reference position and corresponding average moisture content, the liquid layer layer depth determined by two neighboring or multiple reference positions is determined And its average moisture content;

The aqueous of each liquid layer is calculated according to oil-water mixture volume of a container parameter, liquid layer layer depth and its corresponding flat moisture content Amount and/or oil content;And

Calculate total water content and/or oil content.

Technical field

The present invention relates to a kind of detection device of oil field, in particular to a kind of oil-water mixture applied to oil storage tank Detection device and method.

Background technique

Oil extraction is a complicated engineering.After well logging, drilling well, oil recovery, what is produced in oil well is usually The fluid-mixing of oil, gas and water, and be stored in caching oil storage tank.In order to obtain the higher oil product of purity and gas product, It needs to carry out separation and preliminary treatment in fluid-mixing of the oil field to oil, gas and water in oil storage tank etc. before conveying.It is logical Gas, liquid separation is crossed, oil gas is separated, and oil-water mixture is further separated from liquid, will be separated Water re-injection or be used, with prevent pollution environment.On the one hand, the oil reserve and moisture storage capacity in accurate measurement caching oil storage tank It is the important means for measuring oil well output (oil production, Liquid output);On the other hand, preliminary treatment is passed through to the fluid in oil storage tank Afterwards, only after the qualifieds such as the moisture content of oil-water mixture, crude oil can be transported from oil field to various regions and is gone.

It is detected currently, water ratio in oil well mainly passes through chemical method.Oil recovery worker, which arrives well site daily and samples acquirement, to adopt Sample liquid, lab technician detects the sample solution of oil well using chemical method, to obtain crude oil water content.Not only increased using such mode Oil recovery work and the labor intensity of lab technician are added, and anomalous weather will affect the quality of sample solution and cause result of laboratory test inaccurate Really, meanwhile, working efficiency is low.When detecting the moisture content of the oil-water mixture in oil storage tank, usually first obtained from oil storage tank Sample solution is taken, determines the oil-water interfaces of sample solution, then calculates water content and oil content further according to oil-water interfaces.For example, passing through Continuous scanning sample solution, measures the frequency of different medium, determines oil-water interfaces according to frequency;Or on oil dipstick apply test ointment or Oil-water interfaces are measured using test paper;Or the resistance of measurement sample solution, according to different medium there is the principle of different resistance to determine Oil-water interfaces.Although the above method obtains accuracy measurement result in the accuracy that can guarantee measurement to a certain degree Precondition is that have clearly grease layering interfaces.And the physical property of crude oil is complicated, has in oil storage tank longer, uneven Water to oil area, and due to gravity, the water content of intermediate zone is gradually increased from top to bottom.If using above-mentioned measurement Method can generate biggish measurement error, and there are bigger difficulty for the acquisition of sample solution.

Summary of the invention

For the technical problems in the prior art, the invention proposes a kind of oil-water mixture detection device and sides Method, easy to operate for measuring the moisture content and its relevant parameter of oil-water mixture in oil storage tank, measurement is accurate.

In order to solve the above-mentioned technical problem, according to an aspect of the present invention, a kind of oil-water mixture detection device is provided, Wherein, comprising:

Data acquisition module is configured for the moisture content of acquisition oil-water mixture suitable for being placed in oil-water mixture;

Movement mechanism is fixedly connected with the data acquisition module, is configured for that the data acquisition module is driven to exist It is moved in oil-water mixture;And

Control module is connected with the data acquisition module and movement mechanism respectively, is configured for control fitness machine The movement of structure, and when data acquisition module moves in oil-water mixture, obtain the moisture content of multiple reference positions.

Optionally, the data acquisition module, which is further configured, includes:

Moisture content detection unit is configured to real-time detection oil-water mixture, for calculating moisture content;And

Temperature detecting unit is configured for obtaining grease when the moisture content detection unit detects oil-water mixture The temperature of mixed liquor.

Optionally, the moisture content detection unit detects grease using microwave type, condenser type, resistance-type or high-frequency radio frequency formula Mixed liquor.

Optionally, the temperature detecting unit detects oil mixing with water using thermal resistance, thermoelectricity occasionally digital temperature sensor The temperature of liquid.

Optionally, the movement mechanism, which is configured, further comprises:

Power source is configured for that output power is exported or stopped according to the motion control information of control module;And

Telescoping mechanism, one end are connected with the output end of the power source, and the other end and the data acquisition module are solid Fixed connection, under the driving of the power source, drives the data acquisition module to move in oil-water mixture.

Optionally, the power source is servomotor or stepping motor, and the control module is according to exporting it Motion control information determines real time position when data acquisition module moves in oil-water mixture.

Optionally, the power source is single-phase or threephase motor, the movement mechanism further include:

Motor sampling element, for acquiring the revolving speed of motor output shaft, the control module is according to motor output The revolving speed and motor output shaft parameter of axis obtain real time position when data acquisition module moves in oil-water mixture;And

Arrestment mechanism is configured for controlling described single-phase or threephase motor according to the motion control information of control module It is out of service.

Optionally, the control module, which is further configured, includes:

Human-computer interaction interface is configured for input instruction, parameter and/or display testing result;And

Industrial personal computer unit is configured for exporting motion control information to movement mechanism, obtains data acquisition module in oil The moisture content of real time position and corresponding reference position when being moved in water mixed liquid.

Optionally, the industrial personal computer unit is further configured, and is calculated according to the reference position and corresponding moisture content Water content and/or oil content.

Optionally, the device further comprises:

Data transmission module, for the data in control module to be transferred to second device.

Optionally, the data transmission module is further arranged as wireless transmission unit.

Optionally, the wireless transmission unit realizes control using ZigBee, 433MHz, Wi-Fi, LoRa or NB-IoT mode The wireless transmission of data between molding block and second device.

Optionally, the second device is portable memory or remote server.

In order to solve the above-mentioned technical problem, according to an aspect of the present invention, a kind of oil-water mixture detection method is provided, Wherein, comprising:

Detecting device for moisture content is connected to one end of movement mechanism;

By controlling the power source connecting with the other end of movement mechanism, make detecting device for moisture content in oil-water mixture Movement;And

When detecting device for moisture content moves in oil-water mixture, the moisture content of multiple reference positions is obtained.

Optionally, the method may further comprise:

Real time position when detection detecting device for moisture content moves in oil-water mixture, determines according to the real time position Whether the detecting device for moisture content reaches reference position.

Optionally, when power source is servomotor or stepping motor, according to being sent to servomotor or stepping The motion control information of motor obtains real time position when detecting device for moisture content moves in oil-water mixture;Work as power source When for single-phase motor or threephase motor, motor speed is obtained by motor sampling element, according to motor speed and Motor output shaft parameter obtains real time position when detecting device for moisture content moves in oil-water mixture.

Optionally, the method further comprises:

Corresponding to same reference position, obtained by multiple movement of the control detecting device for moisture content in oil-water mixture Multiple groups moisture content.

Optionally, the method further comprises:

Water content and/or oil content are calculated according to reference position and corresponding moisture content.

Optionally, the method further comprises:

Calculate the average moisture content of each reference position;

The average moisture content of each reference position is compared from different with reference to moisture content respectively;

In response to comparing result, the corresponding kind of liquid in each reference position is determined, the kind of liquid includes crude oil, pure Water and oil-water mixture;

Corresponding liquid layer depth is determined according to reference position and its corresponding kind of liquid;And

According to oil-water mixture volume of a container parameter and corresponding liquid layer depth, the volume of corresponding types liquid is calculated.

Optionally, the method further comprises:

According to reference position and corresponding average moisture content, the liquid layer determined by two neighboring or multiple reference positions is determined Layer depth and its average moisture content;

Each liquid layer is calculated according to oil-water mixture volume of a container parameter, liquid layer layer depth and its corresponding flat moisture content Water content and/or oil content;And

Calculate total water content and/or oil content.

The present invention realizes the automatic measurement to the moisture content of every layer of mixed liquor in oil storage tank, and every layer of mixing is being calculated After the water content and oil content of liquid, and then available whole water content and oil content.It is easy to operate, effectively change The mode of operation for relying on oil recovery work and lab technician, reduces labor intensity.Using device and method of the present invention, no It needs to sample mixed liquor, thus thoroughly solves sample solution and obtain this difficult problem.It can control measurement by parameter setting Precision.

Detailed description of the invention

In the following, the preferred embodiment of the present invention will be described in more detail in conjunction with attached drawing, in which:

Fig. 1 is the control principle block diagram of oil-water mixture detection device according to an embodiment of the invention;

Fig. 2 is the functional block diagram of moisture content detection unit according to an embodiment of the invention;

Fig. 3 A is the schematic front view of oil storage tank in application scenarios according to an embodiment of the invention

Fig. 3 B is the schematic top plan view of oil storage tank in Fig. 3 A;

Fig. 4 is the flow chart of oil-water mixture detection method according to an embodiment of the invention;

Fig. 5 is the method flow diagram for calculating different types of liquid volume according to an embodiment of the present invention;

Fig. 6 is the method flow diagram of determining kind of liquid according to an embodiment of the present invention;

Fig. 7 is the method flow diagram for calculating water content and oil content according to a further embodiment of the invention;And

Fig. 8 is the schematic front view of oil storage tank in application scenarios according to another embodiment of the invention.

Specific embodiment

In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.

In the following detailed description, the specific embodiment for being used to illustrate the application as the application a part may refer to Each Figure of description.In the accompanying drawings, similar appended drawing reference describes substantially similar component in different drawings.This Shen Each specific embodiment please has carried out description detailed enough following, so that having the general of ability domain-dependent knowledge and technology Logical technical staff can implement the technical solution of the application.It should be appreciated that can also be using other embodiments or to the application Embodiment carry out structure, logic or electrical property change.

As shown in Figure 1, for according to the control principle block diagram of the oil-water mixture detection device of one embodiment of the invention.Institute Oil-water mixture detection device is stated including at least data acquisition module 1, control module 2 and movement mechanism 3.Wherein, the data Acquisition module 1 is placed in oil-water mixture to be measured, and movement mechanism 3 is fixedly connected with the data acquisition module 1, drives the number It moves up and down in oil-water mixture according to acquisition module 1.It can be according to detection instruction when the lower movement on it of data acquisition module 1 Measure the moisture content of oil-water mixture.Control module 2 is connected with the data acquisition module 1 and movement mechanism 3 respectively, control The movement of movement mechanism 3, and real time position when data acquisition module 1 moves up and down in oil-water mixture is obtained, and Real time position obtains corresponding moisture content when reaching reference position.

Wherein, the data acquisition module 1 includes moisture content detection unit 11 and temperature detecting unit 12.The moisture content Detection unit 11 detects oil-water mixture using microwave type, condenser type, resistance-type or high-frequency radio frequency induction field formula.For example, root The principle influenced according to microwave transmission speed by propagation medium is it is found that when microwave frequency immobilizes, and speed is faster, and wavelength is got over Short, in the case where same transmission range, microwave is greater than oil, even larger than water in the phase shift of air, thus, by detecting phase The variation of shifting then can detecte out moisture content.Contain as the Chinese patent of Publication No. CN106706670 A discloses a detection The full content of the example of water rate, the patent is incorporated in this patent.

As shown in Fig. 2, for according to the functional block diagram of the moisture content detection unit 11 of one embodiment of the invention.As schemed Show, the moisture content detection unit 11 in the present embodiment measures the oil-water mixture in oil storage tank using radio frequency method.Moisture content inspection Surveying unit 11 includes signal generator 111, radio frequency sensor 112, phase width comparator 113 and processor 114.Wherein, signal is sent out Raw device 111 can produce the high frequency radio signals of 100MHz-400MHz according to the control instruction of processor 114.Radio frequency sensor 112 include transmitting antenna and receiving antenna, and the radiofrequency signal of application is converted to electromagnetic wave and is transported to oil mixing with water by transmitting antenna Liquid, receiving antenna sense the electromagnetic wave returned from oil-water mixture, obtain the deamplification of corresponding former radiofrequency signal.Phase amplitude ratio compared with Device 113 compares the deamplification and former radiofrequency signal, acquires phase width attenuation x.

Since the attenuation of electromagnetic wave in the medium depends on the dielectric constant and conductivity of medium, corresponding to of the invention The water content of application scenarios, the mixed liquor in oil storage tank is gradually increased from top to bottom, thus the depth of mixed liquor is different, dielectric Constant and conductivity are different, the difference so that the phase width of signal is decayed.It can determine that moisture content y decays with phase width by experiment The fit equation for measuring x, the moisture content of oil-water mixture where current radio frequency sensor is calculated according to the fit equation.

In one embodiment, fit equation uses linear equation y=kx+b, and wherein k, b are fitting parameter, passes through experiment It can determine fitting parameter k, b occurrence under condition of different temperatures, processor 114 is according to current temperature signal T0Selection corresponds to Fitting parameter calculates moisture content.Or it is determined by experiment fitting parameter k, b occurrence at a temperature of some, then determine aqueous The corresponding relationship of rate and temperature.After moisture content is calculated, by inquiring the corresponding relationship of moisture content and temperature, obtained to current To moisture content proofreaded.

In another embodiment, using fit equation y=(x-A0)/(A1-A0).Wherein, A0To demarcate anhydrous amplitude Difference measures phase difference obtained when crude oil for the moisture content detection unit in normal circumstances, is 0% as moisture content Standard value;A1For pure water amplitude difference, phase obtained when pure water is measured in normal circumstances for the moisture content detection unit Difference, the standard value for being 100% as moisture content.Moisture content detection unit is to detected medium (oil-water mixture in the present invention) It measures to obtain the phase width difference x for being detected medium, processor 114 is according to fit equation y=(x-A0)/(A1-A0) calculate by Medium moisture content is detected, then according to collected temperature signal T0, to calculated water cut value according to temperature and moisture content Corresponding relationship carry out revision obtain accurate moisture content.

On the other hand, radio frequency sensor transmits the frequency optimum traffic of signal into mixing liquid according to mixing liquid to letter The difference of number phase width decaying and it is different.Thus, in a preferred embodiment, the processor 114 in the present invention is being moved up and down In the process, corresponding different detection liquid level, i.e., reference position as described below, the parameter of adjustment signal generator 111 are allowed to defeated The radiofrequency signal of different operating frequency out.

By the above measure, the present invention can detecte out the moisture content from 0% to 100%, detection range is wide, error is small, Accuracy is high.In one embodiment, processor 114 uses MSP430F5739 microcontroller, and processing speed can achieve us Grade, thus can satisfy control requirement of the invention.

The temperature of the thermoelectricity occasionally thermal resistance or output digit signals of output analog signal can be used in temperature detecting unit 12 Sensor is spent, such as DS18B20 temperature sensor.

The data acquisition module 1 receives the detection instruction of control module 2, controls 11 real-time detection of moisture content detection unit Oil-water mixture, and moisture content is calculated according to testing result.The temperature that temperature detecting unit 12 obtains oil-water mixture is controlled simultaneously Degree, and obtained moisture content and temperature information are returned into control module 2 together.In some embodiments, moisture content detection is single Member 11 only detects oil-water mixture, and the calculating of moisture content is completed by control module 2.

In some embodiments, movement mechanism 3 includes at least power source 31 and telescoping mechanism 32.Wherein, power source 31 Output end is connected with one end of telescoping mechanism 32, and the other end of telescoping mechanism 32 is fixedly connected with the data acquisition module 1. Power source 31 receives the motion control information from control module 2, according to motion control information output power or stops exporting dynamic Power.When 31 output power of power source, the output end of power source 31 drives telescoping mechanism 32 to move, the other end of telescoping mechanism 32 It elongates or shortens.It is fixed together when being put into oil-water mixture when by telescoping mechanism 32 and data acquisition module 1, passes through setting The direction of motion can make data acquisition module 1 move up and down in oil-water mixture.In one example, telescoping mechanism 32 is Reelable cable wire or steel band.

In one embodiment, the power source 31 can be servomotor or stepping motor.At this point, according to control The motion control information that module 2 issues can determine real-time position when data acquisition module moves up and down in oil-water mixture It sets.

In another embodiment, the power source 31 is single-phase or threephase motor.In order to obtain data acquisition module 1 The real time position to move up and down in oil-water mixture, it is also necessary to motor sampling element, such as encoder, it is electronic for acquiring The revolving speed of machine output shaft.According to the revolving speed of motor output shaft and motor output shaft parameter, can be counted by calculating Real time position when moving up and down in oil-water mixture to be measured according to acquisition module 1.In order to stop the operation of motor, also need Want arrestment mechanism, such as band-type brake.For example, when detection after the completion of, in order to prevent when motor is out of service data acquisition module 1 by It drives motor to invert in its gravity, when motor is out of service, is lockked motor by arrestment mechanism, thus Stop data acquisition module steadily.

In some embodiments, control module 2 includes at least human-computer interaction interface 21 and industrial personal computer unit 22.In a reality It applies in example, the human-computer interaction interface 21 includes control panel, wherein settable button (such as starting button, stop button), aobvious Display screen (such as liquid crystal display, numeral method device) or indicator light (such as represent the light-emitting diodes of the different colours of different conditions Pipe etc.).Control panel above-mentioned is only one embodiment, is not excluded for other embodiments, such as touch screen certainly.

Industrial personal computer unit 22 include using certain type of industrial personal computer as the circuit of core, the industrial personal computer be, for example, PLC, Single-chip microcontroller etc..Industrial personal computer unit 22 exports the motion control to movement mechanism according to the control program and control parameter of inside setting Information, and real time position when data acquisition module moves up and down in oil-water mixture is obtained, reach journey in real time position When the reference position being arranged in sequence, corresponding moisture content is obtained.

For in using PLC as industrial personal computer, movement mechanism 3 is servomotor and its driver including power source 31, Control module 2 is briefly described.The part input terminal of PLC is connected with the button in human-computer interaction interface 21, is used for Operational order is received, detection is such as started or stops detection.Its part output end is connected with the driver of servomotor, passes through The control such as frequency, quantity and direction of control pulse information is sent to driver, for controlling revolving speed and the side of servomotor To, and the real time position that servomotor exports can be determined according to the control information.Corresponding, industrial personal computer unit 22 also wraps Power circuit is included, for for the power elements on industrial personal computer, servomotor and its driver, control panel, since this is normal Circuit is advised, details are not described herein.Control circuit when power source 31 is using stepping motor is similar, repeats no more.

In another embodiment, power source 31 is common single-phase or threephase motor, in order to realize the fortune to motor Row control, is arranged sampling element on the output shaft of the motor, common such as motor encoder, motor encoder with Industrial personal computer unit 22 is connected using RS-485 communication interface, and encoder is according to the agreement with industrial personal computer unit 22, to industrial personal computer Unit 22 sends pulse information.Industrial personal computer unit 22 determines the real-time of motor output according to the number of pulses from encoder Position.It since the output revolving speed of common motor is higher than actual needs of the invention, thus further include motor reducer.In addition Other control circuits, such as power circuit, the protection circuit of band-type brake circuit, motor are also needed, since this is custom circuit, Details are not described herein.

The industrial personal computer unit 22 is connected by RS-485 communication interface with data acquisition module 1.Industrial personal computer unit 22 The multiple reference positions for needing to detect by program setting, different reference positions correspond to the different depth of oil-water mixture. The reference position is the measurement position that data acquisition module 1 should detect moisture content, is acquired according to the reference position and data The initial position of module 1 can determine the moving distance that motor should export, hereon referred to as refer to moving distance.When industrial personal computer list When member 22 has determined that the real-time range of motor output has been reached with reference to moving distance, that is, data acquisition module 1 reaches Reference position sends detection instruction to data acquisition module 1.Data acquisition module 1 detects present bit according to the detection instruction The moisture content and the temperature of mixed liquor herein of the mixed liquor at place are set, and is sent to industrial personal computer unit 22.Industrial personal computer unit 22 receives And store the moisture content and temperature.The moisture content that each reference position needs to measure can be set in the industrial personal computer unit 22 Quantity, thus corresponding one group of each reference position includes the data of multiple moisture content.

In one embodiment, industrial personal computer unit 22 also calculates the water content and oil content of different mixing liquid layers, and final Obtain the water content and oil content of whole container.Industrial personal computer unit 22 can will test data or calculated result is shown in control panel Display screen on.

In order to which the data for obtaining control module 2 are sent to external second device, as remote server, mobile terminal or Storage device, one embodiment of the present of invention further include data transmission module 4, and data transmission module 4 can use wire transmission Mode, such as be connected using RS-232 or RS-485 communication cable with host computer.Or it by the way of wireless transmission, such as adopts The wireless biography of data between control module 2 and second device is realized with ZigBee, 433MHz, Wi-Fi, LoRa or NB-IoT mode It is defeated.

As shown in figure 4, for according to the flow chart of the oil-water mixture detection method of one embodiment of the invention, in conjunction with Fig. 1 Shown in oil-water mixture detection device structure principle chart and Fig. 3 A Fig. 3 B shown in oil storage jar structure in application scenarios it is former Reason figure, which comprises

Detecting device for moisture content 10 is connected to one end of movement mechanism by step S1.It in the present embodiment, will be in Fig. 1 Data acquisition module 1 is fabricated to the device of a waterproof and oilproof, referred to as detecting device for moisture content.A control is made in control module 2 Box 20 processed, is communicated by the R-485 communications cable and detecting device for moisture content 10.Movement mechanism 3 includes motor 311 and fixes Hawser 321 on motor output shaft, the other end and the detecting device for moisture content 10 of hawser 321 are fixed together.Control box 20 are mounted on oil mixing with water liquid container (such as oil storage tank) to be measured outside, and detecting device for moisture content 10 is put into oil storage tank by hawser 321 It is interior, it can be moved up and down in oil-water mixture to be measured by the drive of hawser 321.

Step S2 obtains real time position when up and down motion of the detecting device for moisture content 10 in oil-water mixture to be measured. Control module 2 controls motor 311 and rotates, and motor 311 drives detecting device for moisture content 10 to move by hawser 321.For example, When starting motor 311, motor 311 discharges hawser 321, and detecting device for moisture content 10 is driven to move from top to bottom;When containing When water rate detection device 10 reaches oil storage pot bottom, control motor 311 is inverted, and 311 output shaft of motor winds hawser 321, Detecting device for moisture content 10 is driven to move from bottom to top.Encoder is installed, motor 311 is turning on 311 output shaft of motor During dynamic, encoder issues pulse signal to control module 2, and control module 2 is worked as according to the pulse signal number determination received It is preceding to be in forward or reverse, and determine real-time position when up and down motion of the detecting device for moisture content 10 in oil-water mixture to be measured It sets.

If the power source of movement mechanism is servomotor or stepping motor, according to servomotor or stepping electricity The motion control information that motivation is sent to movement mechanism obtains the real time position.

Step S3, judges whether detecting device for moisture content 10 has reached reference position.Wherein, according to oil-water mixture to be measured Depth, multiple reference positions are set in control module 2.For example, the oil storage tank in Fig. 3 A and Fig. 3 B is a upright cylinder Body, a diameter of 5 meters, length is 5 meters.Since top, one reference position is set every 0.25m, as measurement position, such as Shown in table 1.

It is influenced by gravity, big underwater heavy, the small oil floating of density of density, the top in tank is essentially oil, and middle part is The oil-water mixture of different proportion, bottom are water.In the present embodiment, the liquid level of pot liquid is apart from tank deck 0.50m.It is controlled The control of module 2, motor 311 drive detecting device for moisture content 10 to move from top to bottom when rotating forward;Motor 311 is inverting When drive detecting device for moisture content 10 move from bottom to top.Motor monitors dynamic detecting device for moisture content 10 in operational process Position in tank.When motor drives detecting device for moisture content 10 to run to a reference position, in step S4, mould is controlled Block 2 sends detection instruction to detecting device for moisture content 10.If reaching reference position, return step S3 not yet.

Step S5, detecting device for moisture content 10 are detected when receiving detection instruction, are calculated according to detection data Moisture content, while detecting fluid temperature, moisture content and temperature be sent to control module 2.

Detecting device for moisture content 10 from top to bottom in motion process, constantly repeats step 2-5, to obtain table 1 in tank In third column and the 4th column data.When detecting device for moisture content 10 runs to tank bottom, motor reversion, moisture content detection dress It sets 10 beginnings to move from bottom to top in tank, in the motion process, repeats step 2-5, obtain the 5th column and the 6th in table 1 Column data.

Table 1

Step S6 judges up and down reciprocatingly whether number of run reaches detecting device for moisture content 10 in oil-water mixture to be measured Predetermined times in the operation of step S7 stop-motion, and calculate water content and/or oil content if reached.If Up and down reciprocatingly number of run does not reach predetermined times, then return step S2, continues to test real time execution position etc..In this implementation In example, the up and down reciprocatingly number of run of detecting device for moisture content 10 is primary.

The calculating of water content and oil content can be completed by control module 2, can also be by control module 2 by the multiple groups of acquisition Data are sent to the server process of distal end by data transmission module 4.One of data processing entities are as shown in Figure 5.

Step S71 calculates the average moisture content of same reference position.The same reference position is obtained by abovementioned steps Multiple (in the present embodiment be two) moisture content, the average value of multiple moisture content is calculated, as being averaged for corresponding reference position Moisture content, such as last column data in table 1.

The size of the reference moisture content of step S72, the corresponding average moisture content in comparison reference position and setting, according to comparing As a result the corresponding kind of liquid of current reference position, i.e. crude oil, oil-water mixture or pure water are determined, so that it is determined that corresponding liquid Layer, i.e. crude oil layer, oil mixing with water liquid layer and pure water layer.For example, setting: when liquid aqueous rate≤30%, the liquid is crude oil; When the liquid aqueous rate < 90% of 30% <, the liquid is oil-water mixture;When moisture content >=90%, the liquid is pure water. Data in table 1 are sequentially handled respectively.Detailed process is for example shown in Fig. 6:

Step S721 reads corresponding average moisture content according to reading serial number from table 1.For example, setting initial read sequence Number be 1, first time access according to when, first average moisture content 0 will be taken out.

Step S722 compares it with 0.

Step S723, judges whether current average moisture content is equal to 0, if the average moisture content of current sequence number is equal to 0, It determines that the reference position does not have liquid, in step S724, the average moisture content of the position is determined as invalid data, invalid data It is not involved in calculating, and goes to step S732;If the average moisture content of current sequence number is not equal to 0, it is determined that current ginseng Examining position has liquid, goes to step S725.Wherein, for judging that the parameter " 0 " of invalid data is only a specific embodiment, Situations such as it is to the sensitivity of detecting device for moisture content 10, present air humidity is related, can pass through in specific application scenarios It debugs repeatedly, determines specific parameter value.

Current average moisture content is compared with crude oil with reference to moisture content (such as 30%) by step S725.

Step S726, judges whether current average moisture content is less than or equal to crude oil with reference to moisture content.If current average Moisture content is less than or equal to crude oil and refers to moisture content, determines that the liquid of current reference position is crude oil in step S727;If worked as Preceding average moisture content is greater than crude oil and refers to moisture content, then goes to step S728.

Current average moisture content is compared with pure water with reference to moisture content (such as 90%) by step S728.

Step S729, judges whether current average moisture content is greater than or equal to pure water with reference to moisture content.If current average Moisture content is less than pure water and refers to moisture content, determines that the liquid of current reference position is oil mixing with water fluid injection in step S730;If Current average moisture content is greater than or equal to pure water and determines that the liquid of current reference position is then in step S731 with reference to moisture content Pure water then goes to step S732.

Step S732, judges whether there are also untreated data, if in addition, if in step S733, data will be read Serial number adds 1, and goes to step S721, and new data are read according to serial number.According to table 1, reads serial number and be up to 21.Current sequence number When being 21, then it may determine that processed total data, which terminates.

Some specific datas in treatment process in step S72, as data amount check, with reference to moisture content specific value, Judge that parameter value of invalid data etc. can be different according to the difference of concrete scene.

Step S73 determines different liquid layer depths.It is exemplified by Table 1, it, can be with according to the corresponding kind of liquid in reference position It determines from the region from former reference position 0.00m to 0.50m to be air, the region between 0.50m to 1.50m is crude oil, That is crude oil layer depth h1=1.50-0.50=1.00m.Similarly, the layer depth h of oil-water mixture is determined2=4.00-1.50=2.50m, The layer depth h of pure water3=5.00-4.00=1.00m.

Step S74 calculates the body of corresponding liquid layer according to oil-water mixture volume of a container parameter to be measured, the layer depth of liquid layer Product.In the present embodiment, oil storage tank is cylindrical body, the radius r=2.5m of the circle of upper bottom surface, can according to cylinder volume formula It is calculated:

The volume of crude oil: V1=π * r2*h1=3.14*2.52* 1.00=19.63m3

The volume of oil-water mixture: V2=π * r2*h2=3.14*2.52* 2.50=49.06m3

The volume of pure water: V3=π * r2*h3=3.14*2.52* 1.00=19.63m3

In the process of above embodiments, by the way that the reference moisture content of different liquid layers is arranged, oil-water mixture to be measured is held Liquid in device is divided into different liquid levels, and obtains the volume of each liquid level.

In another embodiment, the tool of crude oil layer and oil mixing with water layer can be further determined that according to the data in table 1 Body water content and oil content.By taking the water content and oil content that calculate crude oil layer as an example, as shown in Figure 7:

Step S751 determines the average moisture content of the liquid layer determined by two adjacent reference positions.As shown in table 1, In Liquid layer L between 0.75 and 0.51Average moisture content α1Are as follows:

α1=(26.97+26.31) %/2=26.64%,

Liquid layer L between 1.00 and 0.752Average moisture content α2Are as follows:

α2=(26.97+26.62) %/2=26.80%,

Liquid layer L between 1.25 and 1.003Average moisture content α3Are as follows:

α3=(26.08+26.62) %/2=26.35%

Liquid layer L between 1.50 and 1.254Average moisture content α4Are as follows:

α4=(26.08+28.36) %/2=27.22%

Step S752 calculates each liquid layer water content according to volume parameter and its average moisture content.Wherein,

Liquid layer L1Water content VL11=π * r2*L11=3.14*2.52* 0.25*26.64%=1.31m3

Liquid layer L2Water content VL21=π * r2*L22=3.14*2.52* 0.25*26.80%=1.31m3

Liquid layer L3Water content VL31=π * r2*L33=3.14*2.52* 0.25*26.35%=1.29m3

Liquid layer L4Water content VL41=π * r2*L44=3.14*2.52* 0.25*27.22%=1.34m3

Step S753 calculates each liquid layer oil content.Wherein,

Liquid layer L1Oil content VL12=VL1-VL11=3.14*2.52* 0.25-1.31=3.60m3

Liquid layer L2Oil content VL22=VL2-VL21=3.14*2.52* 0.25-1.31=3.60m3

Liquid layer L3Oil content VL32=VL3-VL31=3.14*2.52* 0.25-1.29=3.62m3

Liquid layer L4Water content VL42=VL4-VL41=3.14*2.52* 0.25-1.34=3.57m3

Step S754 calculates the total moisture content and total oil content amount of crude oil layer.Wherein:

VWater=VL11+VL21+VL31+VL41=1.31+1.31+1.29+1.34=5.25m3

VOil=VL12+VL22+VL32+VL42=3.60+3.60+3.62+3.57=14.39m3

Similarly, water content and oil content in oil-water mixture can be calculated, calculating process can be with the meter of crude oil layer It is identical, it is not repeated herein.

In the above-described embodiments, oil storage tank can also use both ends for hemispheroidal storage using upright cylindrical body Oil tank, as shown in figure 8, volume parameter can measure acquisition when reference point is arranged, to be calculated specifically according to volume parameter Amount of liquid, the not reinflated explanation of specific calculating process.

In the present invention, the accuracy that can control the moisture content of mixing liquid layer by the way that the quantity of reference position is arranged, leads to The precision for crossing setting moisture measurement device 10, can obtain the higher moisture content of precision, thus further accurate water content Calculated result.The present invention changes the moisture measurement mode of oil storage tank Crude Oil, thus solves sample solution and obtain difficulty This problem.It is easy to operate, oil recovery work and lab technician's labor intensity are reduced, measurement result can be visually displayed in control plane On plate, it can also be wirelessly transferred to the server of distal end, such as the control centre in oil field, improve the information in oil field Change, automatization level.

Above-described embodiment is used for illustrative purposes only, and is not limitation of the present invention, in relation to the general of technical field Logical technical staff can also make a variety of changes and modification without departing from the present invention, therefore, all equivalent Technical solution also should belong to scope disclosed by the invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种应用液体闪烁计数仪测定酒用香料冰乙酸天然度的方法及其应用

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!