An antifoam automatic filling system and filling control method

CN117759204BActive Publication Date: 2026-10-27SOUTHWEST PETROLEUM UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410106843.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-25
Publication Date
2026-10-27
Estimated Expiration
2044-01-25

AI Technical Summary

Technical Problem

目前用于现场的自动泡排加注装置智能化程度不够,消泡剂加注制度并不完善,人员仍需经常携带原液上井进行药剂补充

Benefits of technology

1、与井口泡沫监测装置进行联控,完善消泡剂加药制度,降低成本;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117759204B_ABST
    Figure CN117759204B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of antifoam automatic filling system and filling control method, the device includes solar power supply module, antifoam storage module, water storage module, dispensing module, mixed liquid injection module, control module, device base;The filling control method includes solar power supply method, storage stock solution method, dispensing method and mixed liquid injection method, the storage stock solution method includes antifoam stock solution storage method and water storage method.The present application can be controlled with wellhead foam monitoring device, perfect antifoam filling system, realize the goal of cost reduction and efficiency improvement, unmanned on well, intelligent control, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of natural gas extraction drainage and gas production technology, specifically involving an automatic defoamer injection system and injection control method. Background Technology

[0002] Natural gas production is often accompanied by the accumulation of formation water at the bottom of the well. In medium-deep, older gas wells, as the well pressure gradually decreases, the energy of the gas flow at the bottom also decreases, reducing its ability to carry liquid and leading to fluid accumulation at the bottom, forming a fluid-filled tubing string that affects normal gas well production. To avoid this, the industry generally employs a foaming process. This involves injecting a foaming agent to convert the accumulated water into low-density, water-containing foam, which is then discharged to the surface with the gas flow. A defoamer is then injected to convert the foam back into liquid, preventing it from interfering with the normal operation of the compressor.

[0003] Currently, the main methods for adding defoamer to the platform are: 1) Manual filling. According to production regulations, personnel are periodically dispatched to the site to manually fill the filler at designated locations on the production line. However, due to the lack of a clear filling procedure, the dosage heavily relies on the filler's experience, resulting in high costs. Furthermore, the production platforms in the work area are located in different areas, requiring filler personnel to frequently travel between platforms. In case of emergencies, if filler personnel cannot reach the site in time, it will impact production.

[0004] 2) Automatic foaming and defoaming injection devices. Currently, the automatic foaming and defoaming injection devices used in the field are not sufficiently intelligent, and the defoamer injection system is not perfect. Personnel still need to frequently carry the original solution up to the well for replenishment. At the same time, the field environment is humid, and the motor is prone to damage due to long-term full-load operation, requiring frequent up-and-down maintenance. Therefore, injection in areas with severe terrain and inclement weather still presents certain difficulties. Summary of the Invention

[0005] This invention aims to solve the above-mentioned problems by linking with the wellhead foam monitoring device to improve the defoamer injection system and achieve goals such as cost reduction and efficiency improvement, unmanned operation at the wellhead, and intelligent control. In particular, for the injection of defoamer in areas with severe terrain and bad weather, an automatic defoamer injection system and injection control method are proposed.

[0006] This invention proposes an automatic defoamer dispensing system, comprising a device base, a solar power supply module, a defoamer storage module, a water storage module, a dosing module, a mixed solution injection module, and a control module. The solar power supply module is fixed to the device base, the water storage module is fixed inside the device base, the defoamer storage module is fixed inside the device base, the dosing module is fixed inside the device base, the mixed solution injection module is fixed inside the device base, and the control module is fixed inside the device base.

[0007] The device base includes: a base plate, side plates, a top plate, legs, an inspection door, and a support; the legs are fixed to the base plate by welding, the side plates are fixed to the base plate by welding, the inspection door is connected to the side plates by hinges, the top plate is fixed to the side plates by welding, the top plate has multiple rainwater collection holes, and the support is fixed to the base plate.

[0008] The solar power module includes: a photoelectric sensor, a solar panel, a hinge, and a telescopic rod; the photoelectric sensor is fixed to the top plate by a threaded connection, multiple sets of solar panels are sequentially hinged together, one end of the telescopic rod is connected to the middle of the solar panel by a hinge, and the other end is fixed to the top plate by welding.

[0009] The defoamer storage module includes: a drone landing platform, a movable plate, a defoamer storage tank, a first liquid level sensor, and defoamer storage pipelines. The drone landing platform is welded to the top plate. The movable plate consists of two plates embedded in the top plate and located at an movable window directly above the defoamer storage tank. The movable window opens when the two plates slide in opposite directions and closes when they slide in the same direction. The defoamer storage tank is placed on the bottom plate. The defoamer storage tank has holes at its top axial center and edge, and holes are also present on the bottom of its side wall. The first liquid level sensor extends into the defoamer storage tank through the hole at the top axial edge. One end of the defoamer storage pipeline is connected to the hole at the top axial center of the defoamer storage tank. The defoamer storage pipeline includes an inner layer, a middle layer, and an outer layer. A sealing groove exists between the inner layer and the outer layer, and the middle layer can move up and down within the sealing groove. The bottom of the middle layer, the outer wall of the inner layer, and the inner wall of the outer layer form a sealed cavity. A spring is fixed on the outer layer, and a positioning pin is connected to the spring. The end of the positioning pin near the middle layer is magnetic, and an electromagnetic device is installed at the bottom of the middle layer. When the defoamer storage pipeline extends, gas is injected into the sealed cavity to push the middle layer out. After reaching a certain position, the bottom of the middle layer is energized, and the positioning pin is attracted by magnetic force to extend, thus fixing the position of the middle layer and achieving the extension purpose. When the defoamer storage pipeline retracts, the bottom of the middle layer is de-energized, the spring drives the positioning pin to retract, and the middle layer retracts.

[0010] The water storage module includes: a telescopic support rod, a rain sensor, a rain shield, an upper storage pipeline, a lower storage pipeline, an environmental monitoring sensor, a filter, a water tank, a second liquid level sensor, and a first injection pump; the rain shield includes a first rain shield, a second rain shield, a third rain shield, and a fourth rain shield. The telescopic support rod is fixed to the first rain shield by welding, the rain sensor is fixed to the first rain shield by a threaded connection, and the rain shield is connected to the top plate by a hinge. When the second and fourth rain shields are closed, they can cover the rainwater collection holes on the top plate. The water tank is placed on the bottom plate, and the top of the water tank has openings at the axial center and edge. The second liquid level sensor extends into the water storage tank through a hole at the axial edge of the top of the tank. One end of the upper storage pipeline is connected to a hole at the axial center of the top of the water storage tank, and the other end is connected to a rainwater collection hole on the top plate. The environmental monitoring sensor is fixed on the upper storage pipeline. The filter is installed on the upper storage pipeline. One end of the lower storage pipeline is connected to a hole at the axial edge of the top of the water storage tank. A hole is circumferentially opened at the bottom of the side wall of the water storage tank. The first injection pump is installed on the lower storage pipeline and is fixed to the bracket by a threaded connection. One end of the first injection pump is connected to tap water, and the other end is connected to the water storage tank.

[0011] The dosing module includes: a mixing tank, a second injection pump, a third injection pump, a mixing device, an antifoaming agent delivery pipeline, a water delivery pipeline, a third liquid level sensor, a first solenoid valve, a second solenoid valve, a first electromagnetic flowmeter, a second electromagnetic flowmeter, an air injection pipeline, an annular air injection pipe, and an exhaust pipe. The mixing tank is welded to the base plate. A flange bypass is opened on the side wall of the mixing tank. The third liquid level sensor is placed in the flange bypass. Holes are opened circumferentially and centrally on the upper end cap of the mixing tank. The mixing device is connected to the hole in the center of the upper end cap of the mixing tank through a flange. The mixing device includes a battery, a motor, a bushing, a stirring rod, and a stirring paddle. One end of the antifoaming agent delivery pipeline is connected to the hole at the bottom of the side wall of the antifoaming agent storage tank, and the other end is connected to... A hole on one side of the circumferential end cap of the mixing tank; the first solenoid valve and the first electromagnetic flow meter are installed on the defoamer delivery pipeline; one end of the water delivery pipeline is connected to a hole at the bottom of the side wall of the water storage tank, and the other end is connected to a hole on the other side of the circumferential end cap of the mixing tank; the second solenoid valve and the second electromagnetic flow meter are installed on the water delivery pipeline; the second injection pump and the third injection pump are respectively connected to the defoamer delivery pipeline and the water delivery pipeline; the second injection pump and the third injection pump are fixed side by side on the bracket by threaded connection; one end of the air injection pipeline is connected to the on-site air compressor, and the other end is connected to the annular air injection pipe; the annular air injection pipe is connected to the lower part of the mixing tank; one end of the exhaust pipe is connected to the circumferential hole on the end cap of the mixing tank.

[0012] The mixture injection module includes: a filling pump, an injection pipeline, a pressure sensor, a third solenoid valve, and a pressure stabilizing tank; the filling pump is driven by a frequency converter; one end of the injection pipeline is connected to the outlet of the mixing tank, and the other end is connected to a pre-reserved pipeline for on-site filling; a temperature control sensor and a heating device are installed on the injection pipeline; the pressure stabilizing tank and the third solenoid valve are connected to the injection pipeline; the pressure sensor is fixed on the pressure stabilizing tank; and both the third solenoid valve and the pressure stabilizing tank interface are equipped with check valves.

[0013] The control module includes a control cabinet, which houses a Raspberry Pi, a microcontroller, a router, an antenna, a battery, an explosion-proof flexible conduit, and electrical wires. The control cabinet is fixed to the base plate. The Raspberry Pi is used to control the microcontroller, acquire and process data, and execute programs. The microcontroller is used to control the switching of solenoid valves and pumps. Important data needs to be fed back to the central control room and archived.

[0014] An automatic defoamer dispensing control method includes: a solar power supply method, a stock solution storage method, a dosing method, and a mixed solution injection method.

[0015] The solar power supply method: The photoelectric sensors detect the presence and intensity of sunlight in the current environment. The four photoelectric sensors detect the intensity of sunlight and convert it into electrical signals, which are then transmitted to the Raspberry Pi. After analysis and decision-making, the Raspberry Pi sends instructions to the microcontroller to drive the telescopic rod to extend, the hinge to flip, and the solar panel to unfold. The obtained electrical energy is stored in the battery in the hybrid device or the control cabinet. The photoelectric sensors detect the movement and changes of the sun and convert them into electrical signals. After analysis and decision-making, the Raspberry Pi sends instructions to the microcontroller to drive the hinge to rotate, which in turn drives the telescopic rod to rotate, so that the solar panel can receive sunlight to the maximum extent.

[0016] The storage methods for stock solutions include methods for storing defoamer stock solutions and methods for storing water.

[0017] The storage method of the defoamer stock solution: When the defoamer reservoir is low, the first level sensor receives a signal and sends it back to the Raspberry Pi. The Raspberry Pi analyzes and makes a decision, simulating the required dosage of defoamer concentrate and remotely sends a replenishment request to the central control room. Upon receiving the message, the central control room arranges for the replenishment of defoamer concentrate. The drone, carrying the required dosage of defoamer concentrate, departs from the work area along a pre-planned route. Throughout the process, personnel only need to observe via the central control screen. When the drone carrying the concentrate arrives at the drone landing platform, the built-in sensors on the drone landing platform... The sensor receives a signal and sends feedback to the Raspberry Pi. The Raspberry Pi then sends a command to the microcontroller to open the movable plate. The defoamer storage line extends and connects with the outlet of the drone's medicine tank. The operator in the control room observes whether the connection is successful through the camera on the drone. Once the connection is successful, the defoamer concentrate is replenished. When the defoamer reservoir has sufficient liquid, the first liquid level sensor receives a signal and transmits it to the Raspberry Pi. The Raspberry Pi then sends a command to the microcontroller to disconnect the connection, the defoamer storage line retracts, and the movable plate closes, completing the storage of the defoamer concentrate.

[0018] The method of storing the water: When the water level in the storage tank is low, if the rain sensor detects rain, the Raspberry Pi sends a command to the microcontroller, the telescopic support rod extends, and the rain shield flips via a hinge, forming a certain angle between the rain shield and the top plate. Rainwater enters the upper storage pipeline through the rainwater collection holes on the top plate. One branch of the upper storage pipeline has an environmental monitoring device built in. When rainwater flows in, the environmental monitoring device judges the possibility of natural disasters based on the amount of rainwater collected per unit time, analyzes the composition of the rainwater, and determines whether there is a leak at the well site. Finally, the water flows into the storage tank through the filter. When the water level in the storage tank is low, if the rain sensor does not detect rain, the first injection pump is turned on, and tap water is stored through the lower storage pipeline. When the Raspberry Pi obtains data from the second liquid level sensor showing that the water level in the storage tank is sufficient, the first injection pump is turned off, the telescopic support rod retracts, the first and third rain shields retract, and the second and fourth rain shields close.

[0019] The method of dispensing the medicine: After completing monitoring, the wellhead foam monitoring device uploads the data. The Raspberry Pi analyzes the data and performs calculations and simulations to determine the required dosage, concentration, mixing time, and injection volume of the defoamer stock solution for that period. The Raspberry Pi sends instructions to the microcontroller to open the first solenoid valve, the second solenoid valve, the second injection pump, and the third injection pump, injecting the defoamer stock solution and water into the mixing tank. The Raspberry Pi transmits the required dosage to the first and second electromagnetic flow meters. The first and second electromagnetic flow meters count the injection volume according to the instructions. When the electromagnetic flow meter data reaches the required amount, it immediately feeds back to the Raspberry Pi. The Raspberry Pi then... The microcontroller sends a command to close the first solenoid valve, the second solenoid valve, the second injection pump, and the third injection pump; the third liquid level sensor obtains the current total liquid height in the mixing tank and transmits it to the Raspberry Pi; the Raspberry Pi analyzes the data and simulates the lower limit of the liquid level for the next dispensing cycle; the Raspberry Pi sends a command to the microcontroller to start the motor of the mixing device, and the on-site air compressor injects air through the air injection line, causing the liquid to begin mixing in the mixing tank, which stops after a certain period of time; when the liquid level in the mixing tank is higher than the set lower limit, the Raspberry Pi enters a sleep state to reduce power consumption; when the liquid level in the mixing tank is lower than the lower limit, the next dispensing cycle begins.

[0020] The method of injecting the mixture: Once the medication is prepared, the Raspberry Pi sends a command to the microcontroller to open the third solenoid valve 38 and the filling pump, allowing the mixture to enter the pressure stabilizing tank. The pressure sensor monitors the pressure inside the pressure stabilizing tank. When the pressure is within the set range, the mixture is added to the production pipeline. After the mixture in the mixing tank has been completely added, the third solenoid valve and the filling pump are closed. If the pressure value is higher or lower than the set range, the Raspberry Pi sends a command to the microcontroller to change the driving frequency of the filling pump, so that the pressure is within the set range.

[0021] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. Integrate with wellhead foam monitoring devices to improve the defoamer dosing system and reduce costs; 2. It can achieve the goal of unmanned operation at the well site, and the chemical dosing process is intelligently controlled; 3. Remote dispensing of chemicals enables intelligent dispensing of defoamers in areas with harsh terrain and severe weather, reducing the burden on dispensing personnel and the risk of danger, while also saving labor costs; 4. Set the Raspberry Pi to sleep mode to reduce the device's workload, increase its lifespan, and reduce power consumption.

[0022] 5. The power supply module is retractable and can be retracted to protect the solar panels in severe weather.

[0023] 6. The water storage module can perform environmental monitoring while replenishing the stored water, thereby determining whether there is a leak and the possibility of natural disasters. When the water tank is full, the rainwater collection section stops collecting rainwater to prevent rainwater accumulation from damaging the system.

[0024] 7. Introducing gas during the drug preparation process creates turbulent flow through gas-liquid mixing, which accelerates the dilution process of the defoamer concentrate, effectively reducing motor running time and load power, and saving maintenance costs.

[0025] 8. Add temperature control sensors and heating devices to the filling pipeline to prevent ice blockage caused by low temperatures.

[0026] 9. The storage pipeline extends and retracts using electromagnetic and spring principles. Attached Figure Description

[0027] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with examples of the invention to explain the invention and do not constitute a limitation thereof.

[0028] Figure 1 This is a schematic diagram of the overall structure of the device of the present invention; Figure 2 This is a front view of the internal structure of the device of the present invention; Figure 3 This is a schematic diagram of the rear side of the internal structure of the device of the present invention; Figure 4 This is a schematic diagram of the rainwater harvesting system of the present invention. Figure 5 This is a schematic diagram of the power supply module of the present invention. Figure 6 This is a cross-sectional view of the telescopic tube portion of the present invention; Figure 7 The method logic diagram of the present invention is stored; Figure 8 This is a logic diagram of the drug preparation method of the present invention; Figure 9 This is a logic diagram of the mixture injection method of the present invention; In the diagram: 1-Gas injection pipe, 2-Water storage pipe, 3-Side plate, 4-Telescopic support rod, 5-Rain sensor, 6-Rain shield, 7-UAV landing platform, 8-Movable plate, 9-Top plate, 10-Photoelectric sensor, 11-Solar power supply module, 12-Inspection door, 13-Defoamer storage tank, 14-Water tank, 15-First liquid level sensor, 16-Second liquid level sensor, 17-Water storage pipe, 18-Defoamer storage pipe, 19-Defoamer delivery pipe, 20-Water delivery pipe, 21-Mixing device, 22-Exhaust pipe, 23-Explosion-proof control cabinet, 24-Legs, 25-Second electromagnetic flowmeter 26-Second solenoid valve, 27-Bracket, 28-Third injection pump, 29-Mixing tank, 30-Filter, 31-Environmental monitoring sensor, 32-First injection pump, 33-Second injection pump, 34-First solenoid valve, 35-First electromagnetic flow meter, 36-Injection pipeline, 37-Pressure sensor, 38-Solenoid valve, 39-Pressure stabilizing pipe, 40-Injection pump, 41-Annular air injection pipe, 42-Base plate, 43-Third liquid level sensor, 44-Solar panel, 45-Telescopic rod, 46-Hinge, 47-Inner layer, 48-Middle layer, 49-Positioning pin, 50-Sealed cavity, 51-Spring, 52-Outer layer. Detailed Implementation

[0029] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0030] In the description of this invention, it should be understood that the terms "circumferential," "radial," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.

[0031] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," "fixing," and "fastening," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0032] like Figure 1 , Figure 2As shown, an automatic defoamer dispensing system includes a device base, a solar power supply module 11, a defoamer storage module, a water storage module, a dosing module, a mixed solution injection module, and a control module. The solar power supply module 11 is fixed to the device base, the water storage module is fixed inside the device base, the defoamer storage module is fixed inside the device base, the dosing module is fixed inside the device base, the mixed solution injection module is fixed inside the device base, and the control module is fixed inside the device base.

[0033] The device base includes: a base plate 42, a side plate 3, a top plate 9, a leg 24, an inspection door 12, and a bracket 27; the leg 24 is fixed to the base plate 42 by welding, the side plate 3 is fixed to the base plate 42 by welding, the inspection door 12 is connected to the side plate 3 by hinges, the top plate 9 is fixed to the side plate 3 by welding, the top plate 9 has multiple rainwater collection holes, and the bracket 27 is fixed to the base plate 42.

[0034] The solar power module 11 includes: a photoelectric sensor 10, a solar panel 44, a hinge 46, and a telescopic rod 45; the photoelectric sensor 10 is fixed to the top plate 9 by a threaded connection, multiple sets of solar panels 44 are sequentially hinged together, one end of the telescopic rod 45 is connected to the middle of the solar panel 44 by the hinge 46, and the other end is fixed to the top plate 9 by welding.

[0035] The defoamer storage module includes: a drone landing platform 7, a movable plate 8, a defoamer storage tank 13, a first liquid level sensor 15, and a defoamer storage pipeline 18. The drone landing platform 7 is welded to the top plate 9. The movable plate 8 consists of two plates embedded in the top plate 9 and located at an movable window directly above the defoamer storage tank 13. The movable window opens when the two plates slide in opposite directions and closes when they slide in the same direction. The defoamer storage tank 13 is placed on the bottom plate 42. Holes are provided at the axial center and edge of the top of the storage tank 13. Holes are also provided at the bottom of the side wall of the defoamer storage tank 13. The first liquid level sensor 15 extends into the defoamer storage tank 13 through the hole at the axial edge of the top of the defoamer storage tank 13. One end of the defoamer storage pipeline 18 is connected to the hole at the axial center of the top of the defoamer storage tank 13. The defoamer storage pipeline 18 includes an inner layer 47, a middle layer 48, and an outer layer 52. A sealing groove exists between the inner layer 47 and the outer layer 52. The middle layer 48 can move up and down within the sealing groove. The bottom of the middle layer 48, the outer wall of the inner layer 47, and the inner wall of the outer layer 52 form a sealed cavity 50. A spring 51 is fixed on the outer layer 52, and a positioning pin 49 is connected to the spring 51. The end of the positioning pin 49 near the middle layer is magnetic. An electromagnetic device is installed at the bottom of the middle layer 48. When the defoamer storage line 18 extends, gas is injected into the sealed cavity 50 to push the middle layer 48 out. After reaching a certain position, the bottom of the middle layer 48 is energized, and the positioning pin 49 is attracted by magnetic force to extend, thus fixing the position of the middle layer 48 and achieving the purpose of extension. When the defoamer storage line 18 retracts, the bottom of the middle layer 48 is de-energized, the spring 51 drives the positioning pin 49 to retract, and the middle layer 48 retracts.

[0036] The water storage module includes: a telescopic support rod 4, a rain sensor 5, a rain shield 6, an upper storage pipeline 17, a lower storage pipeline 2, an environmental monitoring sensor 31, a filter 30, a water storage tank 14, a second liquid level sensor 16, and a first injection pump 32; the rain shield 6 includes a first rain shield 61, a second rain shield 62, a third rain shield 63, and a fourth rain shield 64. The telescopic support rod 4 is fixed to the first rain shield 61 by welding. The rain sensor 5 is fixed to the first rain shield 61 by threaded connection. The rain shield 6 is connected to the top plate 9 by hinge. When the second rain shield 62 and the fourth rain shield 64 are closed, they can cover the rainwater collection holes on the top plate 9. The water storage tank 14 is placed on the bottom plate 42. The top axial center and side of the water storage tank 14 are... Holes are provided at all edges of the water tank 14. The second liquid level sensor 16 extends into the water tank 14 through the hole at the axial edge of the top of the water tank 14. One end of the upper storage pipeline 17 is connected to the hole at the axial center of the top of the water tank 14, and the other end is connected to the rainwater collection hole on the top plate 9. The environmental monitoring sensor 31 is fixed on the upper storage pipeline 17. The filter 30 is installed on the upper storage pipeline 17. One end of the lower storage pipeline 2 is connected to the hole at the axial edge of the top of the water tank 14. Holes are provided around the bottom of the side wall of the water tank 14. The first injection pump 32 is installed on the lower storage pipeline 2. The first injection pump 32 is fixed to the bracket 27 by a threaded connection. One end of the first injection pump 32 is connected to tap water, and the other end is connected to the water tank 14.

[0037] The dosing module includes: a mixing tank 29, a second injection pump 33, a third injection pump 28, a mixing device 21, an antifoaming agent delivery pipeline 19, a water delivery pipeline 20, a third liquid level sensor 43, a first solenoid valve 34, a second solenoid valve 26, a first electromagnetic flowmeter 35, a second electromagnetic flowmeter 25, an air injection pipeline 1, an annular air injection pipe 41, and an exhaust pipe 22. The mixing tank 29 is fixed to the base plate 42 by welding. A flange bypass is opened on the side wall of the mixing tank 29. The third liquid level sensor 43 is placed in the flange bypass. Holes are opened in the circumference and center of the upper end cap of the mixing tank 29. The mixing device 21 is connected to the hole in the center of the upper end cap of the mixing tank 29 through a flange. The mixing device 21 includes a battery, a motor, a bushing, a stirring rod, and a stirring paddle. One end of the antifoaming agent delivery pipeline 19 is connected to the hole at the bottom of the side wall of the antifoaming agent storage tank 13, and the other end is connected to... The first solenoid valve 34 and the first electromagnetic flow meter 35 are installed on the defoamer delivery pipeline 19 through a hole on one side of the end cap of the mixing tank 29. One end of the water delivery pipeline 20 is connected to a hole at the bottom of the side wall of the water storage tank 14, and the other end is connected to a hole on the other side of the end cap of the mixing tank 29. The second solenoid valve 26 and the second electromagnetic flow meter 25 are installed on the water delivery pipeline 20. The second injection pump 33 and the third injection pump 28 are respectively connected to the defoamer delivery pipeline 19 and the water delivery pipeline 20. The second injection pump 33 and the third injection pump 28 are fixed side by side on the bracket 27 by threaded connection. One end of the air injection pipeline 1 is connected to the on-site air compressor, and the other end is connected to the annular air injection pipe 41. The annular air injection pipe 41 is connected to the lower part of the mixing tank 29. One end of the exhaust pipe 22 is connected to the circumferential hole on the end cap of the mixing tank 29.

[0038] The mixture injection module includes: a filling pump 40, an injection pipeline 36, a pressure sensor 37, a third solenoid valve 38, and a pressure stabilizing tank 39; the filling pump 40 is driven by a frequency converter; one end of the injection pipeline 36 is connected to the outlet of the mixing tank 29, and the other end is connected to a reserved pipeline for on-site filling; a temperature control sensor and a heating device are installed on the injection pipeline 36; the pressure stabilizing tank 39 and the third solenoid valve 38 are connected to the injection pipeline 36; the pressure sensor 37 is fixed to the pressure stabilizing tank 39; and one-way valves are provided at the interfaces of the third solenoid valve 38 and the pressure stabilizing tank 39.

[0039] The control module includes a control cabinet 23, which houses a Raspberry Pi, a microcontroller, a router, an antenna, a battery, an explosion-proof flexible conduit, and electrical wires. The control cabinet 23 is fixed to the base plate 42. The Raspberry Pi is used to control the microcontroller, acquire and process data, and execute programs. The microcontroller is used to control the switching of solenoid valves and pumps. Important data needs to be fed back to the central control room and archived.

[0040] An automatic defoamer dispensing control method includes: a solar power supply method, a stock solution storage method, a dosing method, and a mixed solution injection method.

[0041] The solar power supply method: The photoelectric sensor 10 senses the presence and intensity of sunlight in the current environment. The four photoelectric sensors 10 sense the intensity of sunlight and convert it into electrical signals, which are transmitted to the Raspberry Pi. After analysis and decision-making, the Raspberry Pi sends instructions to the microcontroller to drive the telescopic rod 45 to extend, the hinge 46 to flip, and the solar panel 44 to unfold. The obtained electrical energy is stored in the battery in the hybrid device 21 or the control cabinet 23. The photoelectric sensor 10 senses the movement and changes of the sun and converts them into electrical signals. After analysis and decision-making, the Raspberry Pi sends instructions to the microcontroller to drive the hinge 46 to rotate, which in turn drives the telescopic rod 45 to rotate, so that the solar panel 44 can obtain sunlight to the maximum extent.

[0042] The storage methods for stock solutions include methods for storing defoamer stock solutions and methods for storing water.

[0043] The storage method of the defoamer stock solution: When the defoamer storage tank 13 is low, the first liquid level sensor 15 acquires a signal and sends it back to the Raspberry Pi. The Raspberry Pi analyzes and makes a decision, simulating the required dosage of defoamer concentrate, and remotely sends a replenishment prompt to the central control room. Upon receiving the message, the central control room arranges for the replenishment of defoamer concentrate. The drone, carrying the required dosage of defoamer concentrate, departs from the work area along a pre-planned route. Throughout the process, staff only need to observe via the central control screen. When the drone carrying the concentrate arrives at the drone landing platform 7, the built-in sensors on the drone landing platform 7 detect... The sensor detects and sends feedback to the Raspberry Pi, which then sends a command to the microcontroller to open the movable plate 8. The defoamer storage line 18 extends and connects with the outlet of the drone's medicine tank. The operator in the control room observes whether the connection is successful through the camera on the drone. After successful connection, the defoamer concentrate is replenished. When the defoamer storage tank 13 has sufficient remaining liquid, the first liquid level sensor 15 acquires a signal and transmits it to the Raspberry Pi. The Raspberry Pi sends a command to the microcontroller to disconnect the connection, the defoamer storage line 18 retracts, and the movable plate 8 closes, completing the storage of the defoamer concentrate.

[0044] The method of storing the water: When the water level in the storage tank 14 is low, if the rain sensor 5 detects rain, the Raspberry Pi sends a command to the microcontroller, the telescopic support rod 4 extends, and the rain shield 6 flips via a hinge, forming a certain angle between the rain shield 6 and the top plate 9. Rainwater enters the upper storage pipeline 17 through the rainwater collection holes on the top plate 9. One branch of the upper storage pipeline 17 has an environmental monitoring device built in. When rainwater flows in, the environmental monitoring device judges the possibility of natural disasters based on the amount of rainwater collected per unit time and analyzes the composition of the rainwater. The system analyzes the water to determine if there is a leak at the well site, and finally the water flows into the storage tank 14 through the filter 30. If the water level in the storage tank 14 is insufficient, and the rain sensor 5 does not detect rain, the first injection pump 32 is turned on, and tap water is stored through the lower storage pipeline 2. When the Raspberry Pi obtains data from the second liquid level sensor 16 showing that the water level in the storage tank 14 is sufficient, the first injection pump 32 is turned off, the telescopic support rod 4 retracts, the first rain shield 61 and the third rain shield 63 retract, and the second rain shield 62 and the fourth rain shield 64 close.

[0045] The method of dispensing the medicine: After completing monitoring, the wellhead foam monitoring device uploads the data. The Raspberry Pi analyzes the data and performs calculations and simulations to determine the required dosage, concentration, mixing time, and injection volume of the defoamer stock solution for that period. The Raspberry Pi sends instructions to the microcontroller to open the first solenoid valve 34, the second solenoid valve 26, the second injection pump 33, and the third injection pump 28, injecting the defoamer stock solution and water into the mixing tank 29. The Raspberry Pi transmits the required dosage to the first electromagnetic flowmeter 35 and the second electromagnetic flowmeter 25. The first electromagnetic flowmeter 35 and the second electromagnetic flowmeter 25 count the injection volume according to the instructions. When the electromagnetic flowmeter data reaches the required amount, it immediately feeds back to the Raspberry Pi. The Raspberry Pi then sends instructions to the microcontroller. The machine sends a command to close the first solenoid valve 34, the second solenoid valve 26, the second injection pump 33, and the third injection pump 28; the third liquid level sensor 43 obtains the current total liquid height in the mixing tank 29 and transmits it to the Raspberry Pi; the Raspberry Pi analyzes the data and simulates the lower limit of the liquid level for the next batch of medicine; the Raspberry Pi sends a command to the microcontroller, the motor of the mixing device 21 starts running, the on-site air compressor injects air through the air injection line 1, and the liquid begins to mix in the mixing tank 29, stopping after a certain period of time; when the liquid height in the mixing tank 29 is higher than the set lower limit, the Raspberry Pi enters a sleep state to reduce power consumption; when the liquid level in the mixing tank 29 is lower than the lower limit, the next batch of medicine is started.

[0046] The method of injecting the mixture: Once the medication is prepared, the Raspberry Pi sends a command to the microcontroller to open the third solenoid valve 38 and the filling pump 40, allowing the mixture to enter the pressure stabilizing tank 39. The pressure sensor 37 monitors the pressure inside the pressure stabilizing tank 39. When the pressure is within the set range, the mixture is added to the production pipeline. After the mixture in the mixing tank 29 is fully added, the third solenoid valve 38 and the filling pump 40 are closed. If the pressure value is higher or lower than the set range, the Raspberry Pi sends a command to the microcontroller to change the driving frequency of the filling pump 40, so that the pressure is within the set range.

[0047] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. An automatic defoamer dispensing system, characterized in that, The device includes a base, a solar power supply module (11), an antifoaming agent storage module, a water storage module, a dosing module, a mixed liquid injection module, and a control module; the solar power supply module (11) is fixed on the base, the water storage module is fixed inside the base, the antifoaming agent storage module is fixed inside the base, the dosing module is fixed inside the base, the mixed liquid injection module is fixed inside the base, and the control module is fixed inside the base. The device base includes: a base plate (42), a side plate (3), a top plate (9), a bracket (24), an inspection door (12), and a support (27); the bracket (24) is fixed to the base plate (42) by welding, the side plate (3) is fixed to the base plate (42) by welding, the inspection door (12) is connected to the side plate (3) by hinges, the top plate (9) is fixed to the side plate (3) by welding, the top plate (9) has multiple rainwater collection holes, and the support (27) is fixed to the base plate (42); The solar power module (11) includes: a photoelectric sensor (10), a solar panel (44), a hinge (46), and a telescopic rod (45); the photoelectric sensor (10) is fixed to the top plate (9) by a threaded connection, multiple sets of solar panels (44) are sequentially hinged together, one end of the telescopic rod (45) is connected to the middle of the solar panel (44) by a hinge (46), and the other end is fixed to the top plate (9) by welding; The defoamer storage module includes: a drone landing platform (7), a movable plate (8), a defoamer storage tank (13), a first liquid level sensor (15), and a defoamer storage pipeline (18); the drone landing platform (7) is fixed to the top plate (9) by welding, the movable plate (8) is composed of two plates, the movable plate (8) is embedded in the top plate (9), and is located at the movable window opened directly above the defoamer storage tank (13). When the two plates slide in opposite directions, the movable window opens, and the defoamer... The defoamer storage tank (13) is placed on the base plate (42). Holes are opened at the axial center and edge of the top of the defoamer storage tank (13). Holes are also opened circumferentially at the bottom of the side wall of the defoamer storage tank (13). The first liquid level sensor (15) extends into the defoamer storage tank (13) through the hole at the axial edge of the top of the defoamer storage tank (13). One end of the defoamer storage pipeline (18) is connected to the hole at the axial center of the top of the defoamer storage tank (13). The system includes an inner layer (47), a middle layer (48), and an outer layer (52). A sealing groove exists between the inner layer (47) and the outer layer (52). The middle layer (48) can move up and down within the sealing groove. The bottom of the middle layer (48), the outer wall of the inner layer (47), and the inner wall of the outer layer (52) form a sealed cavity (50). A spring (51) is fixed to the outer layer (52), and a positioning pin (49) is connected to the spring (51). The positioning pin (49) is magnetic near the end of the middle layer. An electromagnetic device is installed at the bottom of the middle layer (48); when the defoamer storage line (18) extends, gas is injected into the sealed cavity (50) to push the middle layer (48) to extend. After reaching a certain position, the bottom of the middle layer (48) is energized, and the positioning pin (49) is attracted by magnetic force to extend. The position of the middle layer (48) is fixed, and the extension purpose is achieved; when the defoamer storage line (18) contracts, the bottom of the middle layer (48) is de-energized, the spring (51) drives the positioning pin (49) to retract, and the middle layer (48) retracts.

2. The automatic defoamer dispensing system according to claim 1, characterized in that, The water storage module includes: a telescopic support rod (4), a rain sensor (5), a rain shield (6), an upper storage pipeline (17), a lower storage pipeline (2), an environmental monitoring sensor (31), a filter (30), a water tank (14), a second liquid level sensor (16), and a first injection pump (32); the rain shield (6) is connected to the top plate (9) by a hinge, and the rain shield (6) includes a first rain shield (61), a second rain shield (62), a third rain shield (63), and a fourth rain shield (64); the telescopic support rod (4) is fixed to the first rain shield (61) by welding, and the rain sensor (5) is fixed to the first rain shield (61) by threaded connection; when the second rain shield (62) and the fourth rain shield (64) are closed, they can cover the rainwater collection holes on the top plate (9); the water tank (14) is placed on the bottom plate (42); the water tank (14) Holes are opened at the top axial center and edge. The second liquid level sensor (16) extends into the water storage tank (14) through the hole at the top axial edge of the water storage tank (14). One end of the upper storage pipeline (17) is connected to the hole at the top axial center of the water storage tank (14), and the other end is connected to the rainwater collection hole on the top plate (9). The environmental monitoring sensor (31) is fixed on the upper storage pipeline (17). The filter (30) is installed on the upper storage pipeline (17). One end of the lower storage pipeline (2) is connected to the hole at the top axial edge of the water storage tank (14). Holes are opened circumferentially at the bottom of the side wall of the water storage tank (14). The first injection pump (32) is installed on the lower storage pipeline (2). The first injection pump (32) is fixed on the bracket (27) by a threaded connection. One end of the first injection pump (32) is connected to tap water, and the other end is connected to the water storage tank (14).

3. The automatic defoamer dispensing system according to claim 2, characterized in that, The drug preparation module includes: a mixing tank (29), a second injection pump (33), a third injection pump (28), a mixing device (21), an antifoaming agent delivery line (19), a water delivery line (20), a third liquid level sensor (43), a first solenoid valve (34), a second solenoid valve (26), a first electromagnetic flowmeter (35), a second electromagnetic flowmeter (25), an air injection line (1), an annular air injection pipe (41), and an exhaust pipe (22); the mixing tank (29) is fixed to the base plate (42) by welding. Above, the mixing tank (29) has a flange bypass on its side wall, and the third liquid level sensor (43) is placed inside the flange bypass. The mixing tank (29) has holes in both its circumference and center on its upper end cap. The mixing device (21) is connected to the hole in the center of the upper end cap of the mixing tank (29) through a flange. The mixing device (21) includes a battery, a motor, a bushing, a stirring rod, and a stirring paddle. One end of the defoamer delivery pipeline (19) is connected to the hole at the bottom of the side wall of the defoamer storage tank (13), and the other end is connected to... The first solenoid valve (34) and the first electromagnetic flow meter (35) are installed on the defoamer delivery pipeline (19) through a hole on one side of the end cap of the mixing tank (29). One end of the water delivery pipeline (20) is connected to a hole at the bottom of the side wall of the water storage tank (14), and the other end is connected to a hole on the other side of the end cap of the mixing tank (29). The second solenoid valve (26) and the second electromagnetic flow meter (25) are installed on the water delivery pipeline (20). The second injection pump (33) and the third injection pump (35) are installed on the water delivery pipeline (20). The inlet pump (28) is connected to the defoamer delivery pipeline (19) and the water delivery pipeline (20) respectively. The second injection pump (33) and the third injection pump (28) are fixed side by side on the bracket (27) by threaded connection. One end of the air injection pipeline (1) is connected to the on-site air compressor, and the other end is connected to the annular air injection pipe (41). The annular air injection pipe (41) is connected to the lower part of the mixing tank (29). One end of the exhaust pipe (22) is connected to the circumferential hole of the end cap on the mixing tank (29).

4. The automatic defoamer dispensing system according to claim 3, characterized in that, The mixed liquid injection module includes: a filling pump (40), an injection pipeline (36), a pressure sensor (37), a third solenoid valve (38), and a pressure stabilizing tank (39); the driving device of the filling pump (40) is a variable frequency drive device; one end of the injection pipeline (36) is connected to the outlet of the mixing tank (29), and the other end is connected to the reserved pipeline for on-site filling; a temperature control sensor and a heating device are installed on the injection pipeline (36); the pressure stabilizing tank (39) and the third solenoid valve (38) are connected to the injection pipeline (36); the pressure sensor (37) is fixed on the pressure stabilizing tank (39); and one-way valves are provided at the interfaces of the third solenoid valve (38) and the pressure stabilizing tank (39).

5. The automatic defoamer dispensing system according to claim 4, characterized in that, The control module includes a control cabinet (23), which contains a Raspberry Pi, a microcontroller, a router, an antenna, a battery, an explosion-proof flexible conduit, and wires. The control cabinet (23) is fixed on the base plate (42). The Raspberry Pi is used to control the microcontroller, acquire and process data, and execute programs. The microcontroller is used to control the switching of solenoid valves and pumps. Important data needs to be fed back to the central control room and archived.

6. An automatic dosing control method for defoamer, characterized in that, The method for controlling the automatic defoamer dispensing system of claim 5 includes: a solar power supply method, a stock solution storage method, a drug preparation method, and a mixed solution injection method; the photoelectric sensor comprises four components. The solar power supply method includes: the photoelectric sensor (10) senses whether there is sunlight and the intensity of sunlight in the current environment; four photoelectric sensors (10) sense the intensity of sunlight and convert it into electrical signals, which are transmitted to the Raspberry Pi; the Raspberry Pi analyzes and makes decisions, and sends instructions to the microcontroller to drive the telescopic rod (45) to extend, the hinge (46) to flip, and the solar panel (44) to unfold; the obtained electrical energy is stored in the battery in the hybrid device (21) or the control cabinet (23); the photoelectric sensor (10) senses the movement and changes of the sun and converts it into electrical signals; the Raspberry Pi analyzes and makes decisions, and sends instructions to the microcontroller to drive the hinge (46) to rotate, thereby driving the telescopic rod (45) to rotate, so that the solar panel (44) can obtain sunlight to the maximum extent. The storage method for the stock solution includes a storage method for the defoamer stock solution and a storage method for water; The storage method of the defoamer stock solution includes: When the defoamer storage tank (13) is low on liquid, the first liquid level sensor (15) acquires a signal and sends it back to the Raspberry Pi. The Raspberry Pi analyzes and makes a decision, simulates the amount of defoamer stock solution that needs to be replenished, and remotely sends a replenishment prompt to the central control room. After receiving the message, the central control room arranges for the replenishment of defoamer stock solution. The drone carries the required amount of defoamer stock solution and departs from the work area along a pre-planned route. Throughout the process, personnel only need to observe through the central control screen. When the drone carrying the stock solution arrives at the drone landing platform (7), the built-in sensing sensor on the drone landing platform (7) receives the signal and... Feedback is sent to the Raspberry Pi, which sends a command to the microcontroller to open the movable plate (8). The defoamer storage line (18) extends and connects with the outlet of the drone's medicine tank. The operator observes whether the connection is successful through the camera on the drone in the central control room. After successful connection, the defoamer concentrate is replenished. When the defoamer storage tank (13) has sufficient remaining liquid, the first liquid level sensor (15) acquires a signal and transmits it to the Raspberry Pi. The Raspberry Pi sends a command to the microcontroller to disconnect the connection. The defoamer storage line (18) retracts and closes the movable plate (8), completing the storage of the defoamer concentrate. The method for storing the water includes: When the water level in the storage tank (14) is insufficient, if the rain sensor (5) detects rain, the Raspberry Pi sends a command to the microcontroller, the telescopic support rod (4) extends, and the rain shield (6) flips via a hinge, so that the rain shield (6) and the top plate (9) form a certain tilt angle. Rainwater enters the upper storage pipeline (17) through the rainwater collection hole on the top plate (9). One branch of the upper storage pipeline (17) is equipped with an environmental monitoring sensor (31). When rainwater flows in, the environmental monitoring sensor (31) judges the possibility of natural disasters based on the amount of rainwater collected per unit time and monitors the rainwater flow. The components of the rainwater are analyzed to determine if there is a leak at the well site. Finally, the water flows into the storage tank (14) through the filter (30). If the water level in the storage tank (14) is insufficient and the rain sensor (5) does not detect rain, the first injection pump (32) is turned on and tap water is stored through the lower storage pipeline (2). When the Raspberry Pi obtains data from the second liquid level sensor (16) showing that the water level in the storage tank (14) is sufficient, the first injection pump (32) is turned off, the telescopic support rod (4) retracts, the first rain shield (61) retracts, and the second rain shield (62) and the fourth rain shield (64) close. The preparation method includes: after the wellhead foam monitoring device completes monitoring, it uploads the data; the Raspberry Pi analyzes the data and performs calculations and simulations to determine the required dose of defoamer stock solution, concentration ratio, mixing time, and injection volume of the mixture within the specified time period; the Raspberry Pi sends instructions to the microcontroller to open the first solenoid valve (34), the second solenoid valve (26), the second injection pump (33), and the third injection pump (28) to inject the defoamer stock solution and water into the mixing tank (29); the Raspberry Pi transmits the required dose to the first electromagnetic flowmeter (35) and the second electromagnetic flowmeter (25); the first electromagnetic flowmeter (35) and the second electromagnetic flowmeter (25) count the injection volume according to the instructions; when the electromagnetic flowmeter data reaches the required amount, it immediately feeds back to the Raspberry Pi; the Raspberry Pi... A command is sent to the microcontroller to close the first solenoid valve (34), the second solenoid valve (26), the second injection pump (33), and the third injection pump (28); the third liquid level sensor (43) obtains the current total liquid height in the mixing tank (29) and transmits it to the Raspberry Pi; the Raspberry Pi analyzes the data and simulates the lower limit of the liquid level for the next preparation; the Raspberry Pi sends a command to the microcontroller, the motor of the mixing device (21) starts running, the on-site air compressor injects air through the air injection line (1), the liquid begins to mix in the mixing tank (29), and stops after a certain time; when the liquid height in the mixing tank (29) is higher than the set lower limit, the Raspberry Pi is in a sleep state to reduce power consumption; when the liquid level in the mixing tank (29) is lower than the lower limit, the next preparation procedure begins. The method for injecting the mixture includes: after the preparation is completed, the Raspberry Pi sends a command to the microcontroller to open the third solenoid valve (38) and the filling pump (40), and the mixture begins to enter the pressure stabilizing tank (39). The pressure sensor (37) monitors the pressure inside the pressure stabilizing tank (39). When the pressure is within the set range, the mixture is injected into the production pipeline. After the mixture in the mixing tank (29) is filled, the third solenoid valve (38) and the filling pump (40) are closed. If the pressure value is higher or lower than the set range, the Raspberry Pi sends a command to the microcontroller to change the driving frequency of the filling pump (40) so that the pressure is within the set range.

Citation Information

Patent Citations

  • Skid-mounted automatic dosing foam discharging device and method

    CN113445964A

  • Treatment method and filling device for gas well foam drainage gas recovery

    CN116411901A

  • Unmanned on duty removes foaming agent and pours into sledge piece into

    CN204532296U

  • Automatic defoaming agent filling device

    CN221568426U