Underground fluid control system, control method and device and computer equipment

By adopting optical fiber transmission and two-dimensional variable domain fuzzy controllers in the downhole fluid control system, the precise control and information transmission of downhole fluid control valves are realized, and the precise control of downhole fluid control systems in the harsh environment in the existing technology is solved. The problem has improved the mining efficiency of oil and gas wells.

CN119062289APending Publication Date: 2024-12-03CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310637158.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing downhole fluid control system is difficult to achieve precise control and intelligence in oil and gas wells, and cannot meet actual engineering needs, especially in harsh high temperature and high pressure environments.

Method used

A downhole fluid control system is designed, including ground control unit, transmission unit, downhole control unit and fluid control valve unit, which realizes remote control and data transmission through optical fiber transmission, and uses a univariate two-dimensional variable domain fuzzy controller to make fluid Adjust the opening of the control valve.

Benefits of technology

It realizes precise control and information transmission of downhole fluid control valves, extends the production cycle of shale reservoirs, and improves mining efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119062289A_ABST
    Figure CN119062289A_ABST
Patent Text Reader

Abstract

The invention provides an underground fluid control system, method and device and computer equipment. The system comprises a ground control unit, a transmission unit, an underground control unit and a fluid control valve unit. The ground control unit is connected with the underground control unit through the transmission unit, and the fluid control valve unit is connected with the underground control unit; the ground control unit is used for receiving a first control instruction from the upper computer and underground data from the underground control unit and generating a second control instruction; the transmission unit is used for realizing data transmission between the underground control unit and the ground control unit; the underground control unit is used for obtaining underground data and controlling the fluid control valve unit based on the second control instruction. According to the system provided by the invention, accurate control, information transmission and electric energy supply of the underground fluid control valve can be realized, and underground remote control and real-time data display are realized, so that the production cycle of a shale reservoir is effectively prolonged, and the exploitation benefit is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of oil and gas production control, and in particular to a downhole fluid control system, control method, device and computer equipment. Background Art

[0002] The working depth of downhole data acquisition and control equipment in oil and gas wells can reach several thousand meters. The working environment is harsh, with small space, high pressure, and temperature up to 150 degrees Celsius. Such a working environment places high demands on the reliability and stability of data acquisition and transmission systems.

[0003] Traditional underground data transmission methods include wired transmission, wireless transmission, a combination of wired and wireless transmission, and storage and playback. Wired transmission can be divided into cable transmission and optical fiber transmission according to the transmission cable; wireless transmission includes pressure pulse, acoustic pulse and electromagnetic wave transmission; wired and wireless transmission includes wireless docking transmission and mutual induction docking transmission; storage and playback is to mechanically salvage the underground data storage instrument to the ground and then play it back to read the information.

[0004] As a communication transmission medium with excellent performance, optical fiber has high transmission speed and long communication distance, and has the advantages of anti-electromagnetic interference, low transmission loss, fast speed, large data volume, and light weight. After the optical fiber is coated and the optical module is insulated, it can adapt to the high temperature and high pressure state in ordinary logging environment, and can be used in oil fields, mines and deep-sea oil field mining. However, the existing downhole fluid control has low accuracy and intelligence, which cannot meet the actual engineering needs. Summary of the invention

[0005] In order to solve the problem that existing downhole systems are difficult to effectively control, the present application provides a downhole fluid control system, control method, device and computer equipment, which can realize actual detection of oil and gas production and intelligent control of downhole fluids.

[0006] In one aspect, a downhole fluid control system is provided, the system comprising: a surface control unit, a transmission unit, a downhole control unit and a fluid control valve unit;

[0007] The surface control unit is connected to the downhole control unit via the transmission unit, and the fluid control valve unit is connected to the downhole control unit;

[0008] The ground control unit is used to receive a first control instruction from a host computer and downhole data from a downhole control unit; and generate a second control instruction based on the first control instruction and the downhole data;

[0009] The transmission unit is used to transmit the downhole data from the downhole control unit to the surface control unit, and transmit the second control instruction from the surface control unit to the downhole control unit;

[0010] The downhole control unit is used to obtain the downhole data and control the fluid control valve unit based on the second control instruction.

[0011] In another aspect, a downhole fluid control method is provided, the method comprising:

[0012] Obtaining the actual opening and theoretical opening of the target fluid control valve;

[0013] Calculating an error and an error rate based on the actual opening and the theoretical opening;

[0014] The error and error rate are input into a single variable two-dimensional variable universe fuzzy controller, and the opening of the target fluid control valve is adjusted based on the calculation result.

[0015] In another aspect, a downhole fluid control device is provided, the device comprising:

[0016] A data acquisition module, used to obtain the actual opening and theoretical opening of the target fluid control valve;

[0017] An error calculation module, used for calculating an error and an error rate based on the actual opening and the theoretical opening;

[0018] The control valve adjustment module is used to input the error and error rate into a single variable two-dimensional variable universe fuzzy controller, and adjust the opening of the target fluid control valve based on the calculation result.

[0019] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the processor can load and execute at least one instruction, at least one program, code set or instruction set to implement the downhole fluid control method provided in the above-mentioned application embodiment.

[0020] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, code set or instruction set is stored. The processor can load and execute at least one instruction, at least one program, code set or instruction set to implement the downhole fluid control method provided in the above-mentioned embodiment of the present application.

[0021] On the other hand, a computer program product or computer program is provided, the computer program product or computer program includes computer program instructions, and the computer program instructions are stored in a computer-readable storage medium. A processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, so that the computer device executes the downhole fluid control method described in any of the above embodiments.

[0022] The beneficial effects brought by the technical solution provided by the present application include at least: the embodiment of the present invention provides a downhole fluid control system, control method, device and computer equipment, the system includes a ground control unit, a transmission unit, a downhole control unit and a fluid control valve unit; the ground control unit is connected to the downhole control unit through the transmission unit, and the fluid control valve unit is connected to the downhole control unit; the ground control unit is used to receive a first control instruction from a host computer and downhole data from the downhole control unit; a second control instruction is generated based on the first control instruction and the downhole data; the transmission unit is used to transmit the downhole data from the downhole control unit to the ground control unit, and transmit the second control instruction from the ground control unit to the downhole control unit; the downhole control unit is used to obtain the downhole data, and control the fluid control valve unit based on the second control instruction. The system provided by the embodiment of the present invention can realize precise control of downhole fluid control valves, information transmission and power supply, realize remote control of downhole to downhole and display data in real time, thereby effectively extending the production cycle of shale reservoirs and improving mining efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 A schematic structural diagram of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0025] Figure 2 Another structural schematic diagram of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0026] Figure 3 A schematic structural diagram of a power supply unit of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0027] Figure 4A schematic diagram showing the structure of a ground control unit of a downhole fluid control system provided by an exemplary embodiment of the present application

[0028] Figure 5 A program block diagram of a host computer of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0029] Figure 6 A schematic diagram of the main interface of a host computer of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0030] Figure 7 A schematic diagram of a transmission unit and a control circuit of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0031] Figure 8 A coding timing waveform diagram of optical fiber transmission of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0032] Fig. 9 A schematic diagram of encoding truth value representation of optical fiber transmission of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0033] Fig.10 A schematic structural diagram of a downhole control unit of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0034] Fig.11 A schematic diagram of an implementation flow of a downhole fluid control method provided by an exemplary embodiment of the present application is shown;

[0035] Fig.12 Another implementation flow diagram of a downhole fluid control method provided by an exemplary embodiment of the present application is shown;

[0036] Fig.13 A schematic diagram of the basic structure of fuzzy control of a downhole fluid control method provided by an exemplary embodiment of the present application is shown;

[0037] Fig.14 A structure diagram of a two-dimensional variable universe fuzzy control system for a downhole fluid control method provided by an exemplary embodiment of the present application is shown;

[0038] Fig.15 A schematic diagram showing the variation of the expansion factor of a downhole fluid control method under different λ provided by an exemplary embodiment of the present application is shown;

[0039] Fig.16 A schematic diagram showing the comparison of the effects of PID control, fuzzy control and variable domain fuzzy control of a downhole fluid control method provided by an exemplary embodiment of the present application is shown;

[0040] Fig.17 An experimental schematic diagram of a downhole fluid control system provided by an exemplary embodiment of the present application is shown;

[0041] Fig.18 A schematic diagram of the structure of a computer device corresponding to a downhole fluid control method provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of the present application more clear, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0043] The downhole fluid control system provided by the present application can achieve precise control of the downhole fluid control valve.

[0044] Embodiment 1

[0045] Figure 1 A schematic structural diagram of a downhole fluid control system provided by an embodiment of the present invention is shown.

[0046] See also Figure 1 , the downhole fluid control system includes: a surface control unit 101, a transmission unit 102, a downhole control unit 103 and a fluid control valve unit 104;

[0047] The surface control unit is connected to the downhole control unit via the transmission unit, and the fluid control valve unit is connected to the downhole control unit;

[0048] The ground control unit is used to receive a first control instruction from a host computer and downhole data from a downhole control unit; and generate a second control instruction based on the first control instruction and the downhole data;

[0049] The transmission unit is used to transmit the downhole data from the downhole control unit to the surface control unit, and transmit the second control instruction from the surface control unit to the downhole control unit;

[0050] The downhole control unit is used to obtain the downhole data and control the fluid control valve unit based on the second control instruction.

[0051] Figure 2 Another structural schematic diagram of a downhole fluid control system provided by an embodiment of the present invention is shown.

[0052] In some embodiments, the downhole fluid control system includes an uphole part and a downhole part, wherein the uphole part includes a ground control unit, and the downhole part includes a downhole control unit and a fluid control valve unit, and the uphole part and the downhole part are connected by a transmission unit, wherein the fluid control valve unit includes multiple fluid control valves.

[0053] Specifically, due to the large logging depth, long downhole distance, and long transmission distance, the transmission unit includes a vertical section optical fiber composite cable and a horizontal section optical fiber composite cable, wherein the ground control system is connected to the horizontal section optical fiber composite cable through the vertical section optical fiber composite cable, and the horizontal section optical fiber composite cable is connected to each fluid control valve in communication. Through the vertical and horizontal sections of the optical fiber composite cable, the ground control system sends a high-voltage direct current control signal to the downhole to control the fluid control valve, and the fluid control valve and the sensor unit send data signals to the uphole through the downhole control unit.

[0054] The downhole control unit is used to execute the instructions transmitted by the ground control system and transmit the data collected by the sensor unit to the surface.

[0055] The remote high-voltage DC power supply system is used to remotely power downhole sensors and other devices. The optoelectronic composite cable is used to transmit data and power at the same time.

[0056] Optionally, the remote high-voltage direct current power supply system can provide 2052V direct current, the length of the vertical section of the optical fiber composite cable is three kilometers, and the length of the horizontal section of the optical fiber composite cable is two kilometers.

[0057] In some embodiments, the downhole fluid control system further comprises a power supply unit;

[0058] The power supply unit includes a remote high-voltage DC power supply module and a downhole transformer module; the remote high-voltage DC power supply module is connected to the ground control unit and the transmission unit respectively;

[0059] The remote high-voltage direct current power supply module is used to supply power to the surface control unit, and to supply power to the downhole control unit and the fluid control valve unit via the downhole voltage transformation module.

[0060] Figure 3 A structural block diagram of a power supply unit in the system provided by the present application is shown.

[0061] See also Figure 3In a specific example, the remote high-voltage DC power supply system provides 220V, 9V, and 3.3V power to the industrial computer, optical transmitter, and optical receiver on the ground, respectively, and outputs 2502V high-voltage electricity through the transformer to be transmitted to the underground, and the transformer is used to power the underground FPGA, A / D conversion, sensors and other equipment. Optionally, the voltage required for the underground equipment includes but is not limited to 24V, 8V, 5V, and 3.3V DC. The three-phase engineering electricity on the ground is converted into high-voltage DC through a three-phase dry-type isolation transformer and a three-phase rectifier, and is transmitted over long distances through a fiber-optic composite cable. In the underground, the high-voltage DC is reduced to a suitable voltage through a step-down device to supply each device.

[0062] Figure 4 A schematic diagram of the structure of a ground control unit in a system provided by an embodiment of the present invention is shown.

[0063] See also Figure 4 The ground control system is connected to the upper computer, i.e., the monitoring software, and the lower computer control core, i.e., the first field programmable gate array FPGA, respectively. The monitoring software and the FPGA control core can also communicate directly. Among them, the upper computer monitoring software can be used for data display and provide a control panel for users; the lower computer FPGA control core can realize the functions of sending instructions and receiving data.

[0064] The ground control system is mainly used for receiving, analyzing, processing and feedback of data, and remotely controlling the downhole casing according to the mining plan. The upper and lower computers can be independent of each other, without interfering with each other, with clear division of labor, to better ensure the stable operation of the system.

[0065] Specifically, the upper computer monitoring software is the fluid control valve control software, which displays the opening of the downhole fluid control valve and the temperature, flow, pressure and other data collected by the sensor, and can remotely control the opening, closing, opening, throttling and self-cleaning of the downhole fluid control valve and other functions.

[0066] Figure 5 The program block diagram of the host computer in the system provided by the embodiment of the present invention is shown.

[0067] See also Figure 5 ,The host computer monitoring software is developed using LabVIEW development software.

[0068] Figure 6 A schematic diagram of the main interface of the host computer in the system provided by the embodiment of the present invention is shown.

[0069] In a specific example, the host computer monitoring software is divided into two parts: the login page and the function page. The operator enters the user name and password on the login page, clicks the login button to enter the function page, and clicks the close button to exit the system. The login page can also display the system time in real time. The function page includes the switch control area, the function control area, and the data display area.

[0070] The ground control system provided by the embodiment of the present invention can set the host computer control software according to the functions and data required by the actual working conditions, and realize the control of the downhole control unit and the display of the downhole collected data. The host computer provides a human-computer interaction interface for the operator, and realizes sending control instructions, sending and receiving data, modifying test parameters, controlling working status, storing test data, displaying the control interface, replaying data, generating reports, etc. through the control panel. The host computer provided by the embodiment of the present invention can realize the stable operation of the system through a friendly software interaction interface.

[0071] The lower computer is used to collect data of test sensor signals, test pressure, and test flow, and to make abnormal judgments. As the core of the ground control system, the main control device of the lower computer must have strong computing power and rich communication interface resources. Optionally, the lower computer uses a field programmable logic device FPGA as the main control device.

[0072] The FPGA core has the advantages of high programmability, short development cycle, and high programmability of parallel computing. The internal logic blocks of the FPGA can be connected through editable connections as needed, which is equivalent to placing a circuit board in a chip. As the core controller of the circuit, the FPGA can be connected to other parts through various logical I / O ports, and a unique I / O expansion port and A / D conversion module that are not reused with other devices are reserved for data communication.

[0073] In a specific example, serial communication is used between the host computer and the slave computer, and the VISA node of LabVIEW is used for serial communication. Optionally, the VISA node includes 8 nodes, which respectively implement functions such as configuring the serial port, writing to the serial port, reading from the export, closing the serial port, detecting the serial port buffer, and setting the serial port buffer. Furthermore, the host computer software sets up a serial communication server and a serial communication client to facilitate communication.

[0074] In some embodiments, the transmission unit includes a ground conversion module, a ground optical transmission module, a ground optical receiving module, an optoelectronic composite cable, a downhole optical transmission module, a downhole optical receiving module, and a downhole conversion module;

[0075] The surface conversion module and the downhole conversion module are used for converting optical signals into electrical signals and converting digital signals into analog signals.

[0076] Figure 7 A schematic diagram of a transmission unit and a control loop in a system provided by an embodiment of the present invention is shown.

[0077] See also Figure 7 The hardware of the optical fiber transmission system and the downhole control unit mainly includes optical transmission module, optoelectronic composite cable, optical receiving module, control circuit, A / D conversion and optoelectronic composite cable and other devices. It is a communication system with light wave as carrier and optical cable as transmission medium. The optical transmission module converts the received control command electrical signal into an optical signal and inputs it into the optoelectronic composite cable. The optoelectronic composite cable, as a carrier for long-distance transmission of data and electrical energy, transmits the optical signal to the optical receiving module. The optical receiving module converts the received optical signal into an electrical signal and transmits the signal to the next node.

[0078] The optical fiber transmission system transmits the control instructions to the downhole control circuit through the optical transmitting module and the optical receiving module, and then transmits the downhole temperature, flow, pressure and other data to the industrial computer. The optical fiber transmission system transmits the control instructions to the downhole control circuit through the optical transmitting module and the optical receiving module, and then uploads the downhole temperature, flow, pressure and other data to the industrial computer.

[0079] Specifically, the control system sends out a control instruction, i.e., an information source. The control instruction is input into the optical transmitter through the communication serial port. The optical transmitter converts the control instruction, i.e., an electrical signal, into an optical signal carrying information, and couples the optical signal into the optical cable for optical transmission. When the digital signal is "1", the light source device sends a "signal" optical pulse, and when the digital signal is "0", the light source device sends a "blank" pulse, i.e., no light is emitted. The light wave reaches the receiving end after being transmitted through the optical fiber with low attenuation loss. The optical receiver downhole receives the optical signal and restores it to an electrical signal. Finally, the electrical signal is transmitted to the electrical receiver through the serial port to complete the communication between the ground and the downhole.

[0080] Figure 8 The diagram shows a coding timing waveform diagram of optical fiber transmission in a system provided by an embodiment of the present invention.

[0081] Fig. 9 The diagram shows a schematic diagram of the encoding truth value representation of optical fiber transmission in the system provided by the embodiment of the present invention.

[0082] See also Figure 8 and Fig. 9In a specific example, 8B10B coding is selected as the coding scheme of the optical fiber transmission system. The 8-bit data signal is divided into two sub-groups: the upper three bits are the most significant bit (MSB) and the lower five bits are the least significant bit (LSB). From the most significant bit to the least significant bit, they are recorded as: H, G, F, E, D, C, B, A. The upper three bits of data are encoded as 4 bits of valid data, recorded as: f, g, h, j, and the lower five bits of data are encoded as 6 bits of valid data, recorded as: a, b, c, d, e, i, where i and j are the code insertion values, and the other bits are corresponding uppercase and lowercase. In this way, the lower four bits of the mapped 10-bit coded data correspond to the upper three bits of the 8 bits, and the upper six bits of the 10 bits correspond to the lower five bits of the 8 bits. In order to verify the correctness of the encoded and decoded data, it is first simulated in modelsim, and the signal timing waveform is observed to verify the truth table. After the logic level simulation is successful, the data is verified. The comparison and verification of the waveform and the truth table meet the design expectations.

[0083] In some embodiments, the downhole control unit further includes at least one of a temperature sensor, a pressure sensor, and a flow sensor for acquiring the downhole data.

[0084] Fig.10 A schematic diagram of the structure of a downhole control unit in a system provided by an embodiment of the present invention is shown.

[0085] See also Fig.10 The downhole control unit is connected to each sensor and transmits the collected data back to the surface through the transmission system after AD conversion.

[0086] Optionally, the downhole control unit uses a second field programmable gate array FPGA as the core control chip, which is used to receive instructions from the surface to the downhole, and connects to temperature sensors, pressure sensors, flow sensors, etc. to collect required data, and then transmits it back to the surface. In addition, an A / D conversion module is also required to convert the analog quantity output by the downhole sensor into a digital quantity, which is transmitted to the downhole control circuit and then transmitted back to the host computer.

[0087] In a specific example, due to the high temperature and high pressure environment underground and space size limitations, underground devices such as the control core need to have high temperature and high pressure resistance characteristics and be small enough.

[0088] Optionally, in order to further save underground space, an embodiment of the present invention integrates the fiber optic transmitter, fiber optic receiver and control unit into a circuit board with FPGA as the control chip. The FPGA core control unit underground actually includes all the functions of the fiber optic transmitter, fiber optic receiver and control unit.

[0089] Specifically, the FPGA core is used to receive control instructions output by the optical fiber transmission system on the one hand, and to receive sensor data on the other hand. The data collected by the flow sensor, temperature sensor, pressure sensor, and displacement sensor are converted into AD through the voltage-current conversion circuit and input into the FPGA. The FPGA can display the data on the LCD and transmit the data back to the host computer through the optical fiber transmission system for display.

[0090] In some embodiments, the fluid control valve unit includes a two-position four-way solenoid valve;

[0091] The two-position four-way solenoid valve uses a motor to drive a hydraulic pump to adjust the direction and opening.

[0092] The control instructions received by the FPGA are compared with the data collected by the actual displacement sensor, and the output control signal controls the DC brushless motor through the driver board to finally drive the hydraulic pump. Based on the deviation comparison between the control instructions and the actual collected data, the position in the hydraulic pump cavity can be controlled steplessly, realizing the closed-loop control of the downhole control unit.

[0093] The opening control of the fluid control valve underground adopts a motor-driven hydraulic pump to pump hydraulic oil into the hydraulic cavity to push the piston to move. The flow direction of the hydraulic oil is changed by the on and off state of the two-position four-way solenoid valve, so that it enters the left and right hydraulic cavities respectively, and the piston moves to the left and right respectively to achieve the purpose of increasing or decreasing the opening. If the motor is directly used to drive the hydraulic pump to press in different directions, there will be a problem of wasting time when the motor slows down and stops when reversing, and then reversing, and the opening adjustment may not be timely due to the limitation of the motor thrust or speed. The two states of the two-position four-way solenoid valve provided in the embodiment of the present invention can make the hydraulic oil reverse. The motor only needs to maintain a stable speed to continuously drive the hydraulic pump to press, and convert the potential energy of the hydraulic oil into kinetic energy to push the piston to move. It can not only solve the problem of limited motor thrust, but also reduce the wear of the control valve, so that the opening control process is smooth, rapid and stable.

[0094] Embodiment 2

[0095] Fig.11 A flow chart of fuzzy control of a fluid control valve in a system provided by an embodiment of the present invention is shown.

[0096] See also Fig.11 , the downhole fluid control method comprises:

[0097] Step 201: Acquire the actual opening and theoretical opening of the target fluid control valve;

[0098] Step 202: Calculating an error and an error rate based on the actual opening and the theoretical opening;

[0099] Step 203: input the error and error rate into a single variable two-dimensional variable universe fuzzy controller, and adjust the opening of the target fluid control valve based on the calculation result.

[0100] Fig.12 Another flow chart of fuzzy control of a fluid control valve in a system provided by an embodiment of the present invention is shown.

[0101] See also Fig.12 Due to the complex structure of the downhole fluid control valve and the harsh operating environment, it is difficult to obtain an accurate mathematical model of the fluid control valve. The embodiment of the present invention uses a variable domain fuzzy control algorithm to control the opening of the valve body in conjunction with a control relay to connect the solenoid valve. The opening of the downhole fluid control valve needs to be smoothly controlled to ensure the stability of the system, and the commonly used PID control has overshoot, which will seriously affect the stability of the system. The use of a mold controller can ensure the stability of the control fluid control valve.

[0102] The fuzzy control algorithm is a rule-based control method that does not rely on the model of the controlled object. In some embodiments, by introducing a variable domain based on fuzzy control, a variable domain fuzzy controller is used to control the opening of the fluid control valve to improve the accuracy and speed of the system's control of the valve body opening.

[0103] Fig.13 The basic structure diagram of fuzzy control in the method provided by the embodiment of the present invention is shown.

[0104] Fig.14 The structure diagram of a two-dimensional variable universe fuzzy control system provided by an embodiment of the present invention is shown.

[0105] See also Fig.13 and Fig.14 Based on the control requirements of the system and the complexity of the algorithm, a single variable two-dimensional variable universe fuzzy controller can be used. The input of the two-dimensional fuzzy controller is the error e and error rate ec between the actual opening of the fluid control valve and the theoretical opening, and the output is u.

[0106] Table 1 shows the control rule definition of the fuzzy controller in the system provided by the embodiment of the present invention.

[0107] Table 1

[0108]

[0109] Referring to Table 1, the fuzzy rules between the error e, the error change rate ec and the output u are established as follows.

[0110] 1.If E=NB AND EC=NB THEN U=PB

[0111] 2.If E=NB AND EC=NS THEN U=PB

[0112] 3.If E=NB AND EC=ZO THEN U=PB

[0113] 4.If E=NB AND EC=PS THEN U=PS ......

[0115] 25.If E=PB AND EC=PB THEN U=NB

[0116] The essence of the variable domain fuzzy controller is to change the size of the domain through the expansion factor. As the domain expands and contracts, the fuzzy subset also changes, that is, the membership function expands and contracts. As the domain shrinks, the control rules near the zero point also increase relatively, thereby improving the control accuracy of the entire system.

[0117] In some embodiments, step 203 further includes:

[0118] Constructing an exponential scaling factor of the single variable two-dimensional variable universe fuzzy controller;

[0119] Fig.15 A schematic diagram showing the change of the scaling factor under different λ in the system provided by the present application is shown.

[0120] See also Fig.15 , based on the system provided by this application, an exponential scaling factor is selected:

[0121]

[0122] In a specific example, the input is first converted from a clear quantity to a fuzzy quantity for reasoning and decision-making, and a scaling factor is selected based on the actual situation of the control system. The input domain is adjusted by the scaling factor, and the variable domain fuzzy controller obtains the precise control quantity through fuzzy reasoning and defuzzification calculation and gives it to the controlled system.

[0123] Fig.16 This is a schematic diagram comparing the effects of PID control, fuzzy control and variable domain fuzzy control in the system provided in this application.

[0124] See also Fig.16 ,The control effect of the valve body under different opening degrees is simulated and tested by Matlab, and compared with PID control and fuzzy control. It can be seen that variable domain fuzzy control has no overshoot and higher control accuracy.

[0125] The method provided in the embodiment of the present invention can solve the problems of control of downhole fluid control valves, information transmission and power supply, realize remote control of downhole to downhole and display data in real time, thereby realizing precise intelligent control of downhole fluids, effectively extending the production cycle of shale reservoirs, and improving mining efficiency.

[0126] Embodiment 3

[0127] Fig.17 An experimental schematic diagram of a system provided by an embodiment of the present invention is shown.

[0128] See also Fig.17 The fluid control valve adopts an integrated mechanical, electrical and hydraulic design. The valve group and motor are controlled by controlling the electrical signal to control the inlet and outlet openings of the pump. The control of the motor and valve group is mature, simple and robust.

[0129] Furthermore, the feasibility and program stability of the system are verified based on the fluid control valve control system experiment. Specifically, the ground control system includes a main control computer and an FPGA development board, the optical fiber link includes an optical fiber communication test box or an optical cable simulation, and the downhole main control circuit board is the energy and signal transfer center of the downhole fluid control valve. The size and structure of the experimental board are the same as those of the downhole circuit board, and various indicator lights are set on it. By judging the display of the indicator light, the transmission execution of the control signal can be judged.

[0130] In a specific example, the experimental process is as follows.

[0131] First, power on the system and perform a power-on self-test. The main control computer controls the power supply route to power the experimental circuit board, check whether the power-on indicator light is on, and whether the main control computer receives the circuit board self-test signal. Set the optical fiber communication parameters and high-voltage line impedance, and observe whether the circuit board implements the input signal completely and orderly according to a set of sequential control signals input by the main control computer, and record the data. Replace different optical fiber communication parameters and impedance parameters, simulate the influence of different well depths and well temperatures, observe whether the circuit board operates normally, and record the data. Finally, turn off the power supply of the simulation system and analyze the experimental data.

[0132] In summary, the method provided by the embodiment of the present invention can utilize the optical fiber transmission module, the optical fiber receiving module and the optoelectronic composite cable to realize the long-distance transmission of data from the well to the well over 5,000 meters. The well control unit is based on FPGA, which can adapt well to the high temperature and high pressure environment of the well and better implement the control instructions transmitted and received from the well. The three-in-one design of the optical fiber transmitter, optical fiber receiver and control unit in the well is a circuit based on FPGA, which can not only adapt to the high temperature and high pressure environment, but also save space in the well.

[0133] Furthermore, the method provided by the embodiment of the present invention uses two states of a two-position four-way solenoid valve to reverse the direction of the hydraulic oil. The motor only needs to maintain a stable speed to continuously drive the hydraulic pump to pressurize. The potential energy of the hydraulic oil is converted into kinetic energy to push the piston to move, which can not only solve the problem of limited motor thrust, but also reduce the wear of the control valve, making the opening control process smooth, rapid and stable. On the other hand, the variable universe fuzzy control algorithm is used to realize the opening control, and the appropriate expansion factor is selected based on the fuzzy rule. The appropriate two-dimensional variable universe fuzzy controller can be determined based on the simulation experiment.

[0134] The embodiment of the present invention uses a remote high-voltage direct current power supply system to provide remote real-time power supply to downhole devices, thereby avoiding the disadvantages of periodic charging or battery replacement.

[0135] Embodiment 4:

[0136] The downhole fluid control device provided by the embodiment of the present invention may include:

[0137] A data acquisition module, used to obtain the actual opening and theoretical opening of the target fluid control valve;

[0138] An error calculation module, used for calculating an error and an error rate based on the actual opening and the theoretical opening;

[0139] The control valve adjustment module is used to input the error and error rate into a single variable two-dimensional variable universe fuzzy controller, and adjust the opening of the target fluid control valve based on the calculation result.

[0140] Embodiment 5

[0141] Fig.18 A schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application is shown, and the computer device includes:

[0142] The processor 301 includes one or more processing cores. The processor 301 executes various functional applications and data processing by running software programs and modules.

[0143] The receiver 302 and the transmitter 303 can be implemented as a communication component, and the communication component can be a communication chip. Optionally, the communication component can be implemented to include a signal transmission function. That is, the transmitter 303 can be used to transmit a control signal to the image acquisition device and the scanning device, and the receiver 302 can be used to receive the corresponding feedback instruction.

[0144] The memory 304 is connected to the processor 301 via a bus 305 .

[0145] The memory 304 may be used to store at least one instruction, and the processor 301 may be used to execute the at least one instruction to implement steps 201 to 203 in the above-mentioned downhole fluid control method embodiment.

[0146] Those skilled in the art will understand that Fig.18 It is only an example of a computer device and does not constitute a limitation of the computer device. The computer device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include a network access device, etc.

[0147] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0148] The memory 304 may be an internal storage unit of the computer device, such as a hard disk or memory of the computer device. The memory 304 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Further, the memory 304 may also include both an internal storage unit of the computer device and an external storage device. The memory 304 is used to store the computer program and other programs and data required by the terminal device. The memory 304 may also be used to temporarily store data that has been output or is to be output.

[0149] Embodiment 6

[0150] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set, which is loaded and executed by a processor to implement the above-mentioned downhole fluid control method.

[0151] Optionally, the computer readable storage medium may include: a read only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk, etc. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM).

[0152] Embodiment 7

[0153] The present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the downhole fluid control method described in any of the above embodiments.

[0154] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the implementation.

[0155] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned embodiments can be completed by hardware, or by instructing the relevant hardware to complete the steps through a program. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0156] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0157] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0158] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.

[0159] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A downhole fluid control system, characterized in that: The system comprises: a surface control unit, a transmission unit, a downhole control unit and a fluid control valve unit; The surface control unit is connected to the downhole control unit via the transmission unit, and the fluid control valve unit is connected to the downhole control unit; The ground control unit is used to receive a first control instruction from a host computer and downhole data from a downhole control unit; and generate a second control instruction based on the first control instruction and the downhole data; The transmission unit is used to transmit the downhole data from the downhole control unit to the surface control unit, and transmit the second control instruction from the surface control unit to the downhole control unit; The downhole control unit is used to obtain the downhole data and control the fluid control valve unit based on the second control instruction.

2. The downhole fluid control system according to claim 1, characterized in that: The transmission unit includes a ground conversion module, a ground optical transmission module, a ground optical receiving module, an optoelectronic composite cable, a downhole optical transmission module, a downhole optical receiving module, and a downhole conversion module; The surface conversion module and the downhole conversion module are used for converting optical signals into electrical signals and converting digital signals into analog signals.

3. The downhole fluid control system according to claim 1, characterized in that: The downhole fluid control system further includes a power supply unit; The power supply unit includes a remote high-voltage DC power supply module and a downhole transformer module; the remote high-voltage DC power supply module is connected to the ground control unit and the transmission unit respectively; The remote high-voltage direct current power supply module is used to supply power to the surface control unit, and to supply power to the downhole control unit and the fluid control valve unit via the downhole voltage transformation module.

4. The downhole fluid control system according to claim 1, characterized in that: The downhole control unit further includes at least one of a temperature sensor, a pressure sensor and a flow sensor for acquiring the downhole data.

5. The downhole fluid control system according to claim 1, characterized in that: The surface control unit includes a first field programmable gate array, and the downhole control unit includes a second field programmable gate array.

6. The downhole fluid control system according to claim 1, characterized in that: The fluid control valve unit includes a two-position four-way solenoid valve; The two-position four-way solenoid valve uses a motor to drive a hydraulic pump to adjust the direction and opening.

7. A downhole fluid control method, applied to the downhole fluid control system according to any one of claims 1 to 6, characterized in that: The method comprises: Obtaining the actual opening and theoretical opening of the target fluid control valve; Calculating an error and an error rate based on the actual opening and the theoretical opening; The error and error rate are input into a single variable two-dimensional variable universe fuzzy controller, and the opening of the target fluid control valve is adjusted based on the calculation result.

8. A downhole fluid control method according to claim 7, characterized in that: The method further comprises: Constructing an exponential scaling factor of the single variable two-dimensional variable universe fuzzy controller; The exponential scaling factor expression includes: Where x is the input variable and ɑ is the scaling factor of the input variable.

9. A downhole fluid control device, characterized in that: The device comprises: A data acquisition module, used to obtain the actual opening and theoretical opening of the target fluid control valve; An error calculation module, used for calculating an error and an error rate based on the actual opening and the theoretical opening; The control valve adjustment module is used to input the error and error rate into a single variable two-dimensional variable universe fuzzy controller, and adjust the opening of the target fluid control valve based on the calculation result.

10. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the processor can load and execute at least one instruction, at least one program, code set or instruction set to implement a downhole fluid control method.

Citation Information

Cited By

  • Real-time monitoring of an electronic assembly using an optical waveguide

    US12723510B1