Oil-based drilling fluid aqueous phase occurrence form characterization and treating agent regulation and control method and device

By performing three-dimensional reconstruction and classification of oil-based drilling fluid, the problem of difficult to characterize the water phase distribution form in oil-based drilling fluid is solved, and dynamic monitoring of water phase changes and the stability of the emulsion system are achieved.

CN120032151APending Publication Date: 2025-05-23CHINA NAT PETROLEUM CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311556810.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The prior art is difficult to effectively characterize the three-dimensional geometric form of the aqueous phase in the oil-based drilling fluid in the pores of high-density and high-solid-phase particle accumulation, and it is impossible to understand the changes in the aqueous phase in a timely and dynamic manner, which affects the stability of the emulsion system.

Method used

By obtaining the scanning image data of oil-based drilling fluid, identifying the image areas of different components, performing three-dimensional reconstruction of oil-based drilling fluid phase, extracting three-dimensional image data of water-phase droplets, and classifying the water-phase droplets according to predefined geometric characteristic parameters to characterize their assigned form.

Benefits of technology

The detailed analysis and classification of the three-dimensional geometric forms of water phase droplets in oil-based drilling fluid is achieved, which can promptly understand the changes in the water phase, help regulate the dosage of emulsifiers and other treatment agents, and improve the stability of the drilling fluid system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120032151A_ABST
    Figure CN120032151A_ABST
Patent Text Reader

Abstract

The invention discloses an oil-based drilling fluid aqueous phase occurrence form characterization and treating agent regulation method and device. The method comprises the following steps: identifying different drilling fluid components in an image based on scanning image data of drilling fluid, extracting water-phase liquid drops based on the drilling fluid components, reconstructing a water-phase liquid drop three-dimensional image based on an extraction result, and classifying the water-phase liquid drops to obtain a water-phase liquid drop three-dimensional image; according to the method, the geometrical morphology of the water-phase liquid drops in the oil-based drilling fluid is analyzed from the microscopic level, based on the analysis result of the microscopic level, the geometrical morphology of the liquid drops is classified from the macroscopic level, the classification result of the water-phase liquid drops is obtained, and characterization is carried out according to the classification result. Therefore, the change condition of an oil-water interface can be known according to the represented classification condition of the water-phase liquid drops, and the adding time and the adding amount of various treating agents in the oil-based drilling fluid can be regulated and controlled according to the water-phase characteristics of the oil-based drilling fluid, so that the stability of an oil-based drilling fluid system is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil and gas drilling, and in particular to a method and device for characterizing the occurrence form of water phase in oil-based drilling fluid and regulating treatment agents. Background Art

[0002] As conventional oil and gas resources gradually enter the high water content stage, it becomes increasingly difficult to increase the recovery rate of oil reservoirs. Unconventional oil and gas has become a new force to ensure the supply of oil and gas. At present, unconventional oil and gas exploration and development is moving towards the deeper, hotter and higher pressure deep in the earth. Drilling fluid is the blood of oil drilling, playing a key role in ensuring downhole pressure, breaking rocks, carrying cuttings, stabilizing the well wall, etc. Among them, oil-based drilling fluid has the advantages of high thermal stability, wide density adjustment range, strong well wall water sensitivity control, etc., and its comprehensive performance far exceeds that of conventional water-based drilling fluid system, making it more suitable for deep well and ultra-deep well drilling construction.

[0003] Usually, oil-based drilling fluid is an oil-in-water emulsion system composed of base oil, water, primary emulsifier and auxiliary emulsifier. The oil phase content and water phase content are generally between 95:5 and 70:30. The primary emulsifier and auxiliary emulsifier play the role of emulsifying and stabilizing the emulsion. In view of the construction needs of deep wells and ultra-deep wells, it is necessary to add fine particles such as barite, iron ore powder, micro-manganese ore, and ferro-titanium powder to the oil-based drilling fluid to enhance and adjust the fluid density in order to balance the formation pressure and stabilize the well wall to ensure construction safety. For example, when drilling for oil in the Ordovician and Cambrian formations, the designed well depth is often more than 8,000m, which belongs to deep well and ultra-deep well construction. During the construction, high-pressure formations appear. In order to effectively balance the formation pressure, a density greater than 2.40g / cm is required when drilling in the target layer. 3 In order to effectively adjust the rheological parameters of oil-based drilling fluid, solid materials such as organic bentonite, sepiolite, and hectorite need to be added to the system.

[0004] As tiny weighting particles and other solid materials fill and accumulate in the bulk phase, the volume of the water phase in the oil-based drilling fluid is compressed, causing the geometric morphology of the dispersed phase water droplets to change dramatically. From a microscopic perspective, the change in the geometric morphology of the water droplets is accompanied by a change in the surface area of ​​the oil-water interface, which affects the arrangement and migration speed of the emulsifier molecules at the oil-water interface, manifested as changes in the interfacial tension and dilation modulus of the oil-water emulsion system, which in turn affects the macroscopic stability of the emulsion system. At the same time, the rotation of the drill bit and drill pipe during the drilling process produces high-speed stirring and disturbance of the drilling fluid, exacerbating the complexity of the water droplet morphology in high-density, high-solid oil-based drilling fluid. In addition, when drilling into a high-pressure water layer, formation water intrudes into the wellbore drilling fluid, which also causes changes in the morphology of the water phase, leading to increased instability of the oil-based drilling fluid system.

[0005] Effectively controlling the addition time and amount of emulsifiers, organic soils, weighting agents and other treatment agents, and better maintaining the stability of oil-based drilling fluid emulsions are key tasks in the oil drilling construction process. Therefore, how to characterize and quantify the three-dimensional geometric form of the water phase in the oil-based drilling fluid, and timely and dynamically understand the changes in the water phase in the oil-based drilling fluid, so as to regulate the amount of various treatment agents such as emulsifiers in the oil-based drilling fluid according to the characteristics of the water phase in the oil-based drilling fluid, establish the relationship between the microscopic state and the macroscopic performance, add the appropriate treatment agent at the right time, minimize the amount of treatment agent added, and reduce the cost of oil-based drilling fluid, so as to better control the deep well and ultra-deep well drilling process.

[0006] In the prior art, optical microscopes, scanning electron microscopes and other related technical equipment are generally used to observe the changes in the water phase in the oil-based drilling fluid from a microscopic level. Summary of the invention

[0007] Existing methods use optical microscopes, scanning electron microscopes, etc. to observe the microstructure of oil-based drilling fluids to observe the changes in their water phase. However, they can only observe the distribution of water phase droplets in a two-dimensional plane. They cannot effectively characterize the storage form of water phase in the pores of high-density and high-solid phase particles in oil-based drilling fluids, cannot display the changes in water phase from a macroscopic perspective, and cannot understand the water phase characteristics in a timely and dynamic manner. Therefore, how to effectively characterize the geometric form of water phase storage in oil-based drilling fluids is a technical problem that needs to be solved urgently.

[0008] In view of the above problems, the present invention is proposed to provide a method and device for characterizing the occurrence form of water phase in oil-based drilling fluid and regulating the treatment agent, which overcomes the above problems or at least partially solves the above problems.

[0009] The embodiment of the present invention provides a method for characterizing the occurrence form of water phase in oil-based drilling fluid, comprising:

[0010] Acquire scanning image data of oil-based drilling fluid in a specified state;

[0011] According to the image parameters of the scanned image, image regions corresponding to different oil-based drilling fluid components in the scanned image are identified;

[0012] Based on the image areas corresponding to different oil-based drilling fluid components, the oil-based drilling fluid phase is reconstructed in three dimensions to obtain the oil-based drilling fluid three-dimensional image data; the three-dimensional image data of the water phase droplets are extracted from the oil-based drilling fluid three-dimensional image data to construct the water phase droplet three-dimensional image;

[0013] According to the predefined geometric characteristic parameters of water phase occurrence, the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets is classified, and based on the classification results of the three-dimensional geometric morphology of water phase droplets, a characterization image of the water phase occurrence form of oil-based drilling fluid is obtained.

[0014] A preferred embodiment, obtaining scanning image data of oil-based drilling fluid in a specified state, includes:

[0015] Formulate oil-based drilling fluids;

[0016] The oil-based drilling fluid is loaded into a scanning container, and the temperature and pressure parameters of the scanning container are controlled to change so that the oil-based drilling fluid is in a specified state; the specified state is at least one of a static state and a flowing state;

[0017] The oil-based drilling fluid in a specified state is scanned by using the tomography technology to obtain scanning image data of the oil-based drilling fluid in the specified state.

[0018] A preferred embodiment, according to the image parameters of the scanned image, identifies the image areas corresponding to different oil-based drilling fluid components in the scanned image, including:

[0019] According to the gray value of the pixel point in the scanned image and the correspondence between the gray value range and the oil-based drilling fluid component established in advance, the oil-based drilling fluid component corresponding to each pixel point in the scanned image is identified;

[0020] According to the oil-based drilling fluid components corresponding to the identified pixel points, image regions corresponding to different oil-based drilling fluid components in the image are obtained.

[0021] A preferred embodiment performs a three-dimensional reconstruction of the oil-based drilling fluid phase based on image regions corresponding to different oil-based drilling fluid components to obtain three-dimensional image data of the oil-based drilling fluid; extracts three-dimensional image data of water phase droplets from the three-dimensional image data of the oil-based drilling fluid to construct a three-dimensional image of the water phase droplets, including:

[0022] Based on the image areas corresponding to different oil-based drilling fluid components, the three-dimensional reconstruction of the oil-based drilling fluid phase is performed using three-dimensional space technology to obtain the three-dimensional image and three-dimensional space data of the oil-based drilling fluid;

[0023] According to the pixel value of each pixel point in the three-dimensional spatial data, the pixel points where the oil-based drilling fluid component is water phase are extracted from the three-dimensional image of the oil-based drilling fluid, and a three-dimensional image of the water phase droplet is constructed based on the extracted pixel points and the corresponding three-dimensional spatial data.

[0024] In a preferred embodiment, the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets is classified according to predefined water phase occurrence geometric characteristic parameters, and a characterization image of the water phase occurrence form of the oil-based drilling fluid is obtained based on the three-dimensional geometric morphology classification result of the water phase droplets, including:

[0025] Based on the predetermined correspondence between the geometric characteristic parameters of the water phase occurrence and the range of values ​​and the three-dimensional geometric morphology type, the three-dimensional geometric morphology type of the water phase droplets in the three-dimensional image of the water phase droplets is determined according to the geometric characteristic parameters of the water phase droplets in the three-dimensional image of the water phase droplets;

[0026] Based on the determined three-dimensional geometric morphology type of the water phase droplets, a characterization image of the occurrence form of the water phase in the oil-based drilling fluid is obtained.

[0027] In a preferred embodiment, the geometric characteristic parameters of water phase storage include: at least one of the water phase droplet interconnected pore space coefficient, liquid pore diameter ratio, shape factor and form factor;

[0028] The coefficient of interconnected pore space of water phase droplets is characterized by the number of interconnected pores filled by water phase droplets in the oil-based drilling fluid in the selected space;

[0029] The liquid-pore diameter ratio is determined based on the equivalent diameter of the water phase droplets bound by the solid phase particles in the oil-based drilling fluid and the equivalent diameter of the pores of the solid phase particles.

[0030] The shape factor is determined based on the external dimensions of the water phase droplets in the oil-based drilling fluid;

[0031] The shape factor is determined based on the volume of the water phase droplet in the oil-based drilling fluid and the surface area of ​​the water phase droplet in the oil-based drilling fluid;

[0032] The three-dimensional geometric morphology types include at least one of clustered droplets, branched droplets, long columnar droplets, attached film droplets and spherical droplets.

[0033] Among them, the liquid pore size ratio R water is the equivalent diameter of the water droplet bound by the solid particles in the oil-based drilling fluid, R pore is the equivalent diameter of the pores of solid particles;

[0034] Form Factor L and W are determined for the longest axis length and the shortest axis length of the same water phase droplet in the oil-based drilling fluid, respectively;

[0035] Form Factor V is the volume of the water phase droplets in the oil-based drilling fluid and S is the surface area of ​​the water phase droplets in the oil-based drilling fluid.

[0036] In a preferred embodiment, the corresponding relationship between the geometric characteristic parameters and value ranges of water phase occurrence and the three-dimensional geometric morphology type is as follows:

[0037] Clustered droplets: droplet interconnected pore space coefficient (C n )>5, shape factor (G 1 )≤0.0007, liquid pore size ratio (R wp )=1;

[0038] Branched droplets: 2≤ droplet interconnected pore space coefficient (C n )≤5, 0.0007≤Shape factor (G 1)≤0.01, liquid pore size ratio (R wp )=1;

[0039] Long columnar droplet: droplet interconnected pore space coefficient (C n )=1,2≤shape factor (G)≤8,liquid pore size ratio (R wp )=1;

[0040] Attached film droplet: droplet thickness is less than 1 / 3 of the pore diameter, shape factor (G)>8, 0.01≤shape factor (G 1 )≤0.03, liquid pore size ratio (R wp )<1 / 3;

[0041] Spherical droplet: droplet interconnected pore space coefficient (C n )=1,1≤shape factor (G)≤2,1 / 3≤liquid pore size ratio (R wp )<1.

[0042] The embodiment of the present invention provides a method for controlling the amount of an oil-based drilling fluid treatment agent, comprising:

[0043] A method for characterizing the occurrence form of water phase in oil-based drilling fluid is used as described above to obtain a characterization image of the occurrence form of water phase in oil-based drilling fluid;

[0044] Based on the characterization data of the occurrence form of the water phase of the oil-based drilling fluid, the addition amount and addition time of the oil-based drilling fluid treatment agent are determined, so as to realize the addition operation of the oil-based drilling fluid treatment agent based on the addition amount and addition time.

[0045] The embodiment of the present invention provides a device for characterizing the occurrence form of water phase in oil-based drilling fluid, comprising:

[0046] Image data acquisition module: acquires scanned image data of oil-based drilling fluid under a specified state;

[0047] Image recognition module: identifies the image areas corresponding to different oil-based drilling fluid components in the scanned image according to the image parameters of the scanned image;

[0048] Constructing a 3D image module: Based on the image areas corresponding to different oil-based drilling fluid components, the oil-based drilling fluid phase is reconstructed in 3D to obtain the 3D image data of the oil-based drilling fluid; the 3D image data of the water phase droplets are extracted from the 3D image data of the oil-based drilling fluid to construct a 3D image of the water phase droplets;

[0049] Characterization module: Classify the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets according to pre-defined geometric characteristic parameters of water phase occurrence, and obtain a characterization image of the water phase occurrence form of oil-based drilling fluid based on the classification results of the three-dimensional geometric morphology of water phase droplets.

[0050] The embodiment of the present invention provides a device for controlling the amount of an oil-based drilling fluid treatment agent, comprising:

[0051] An oil-based drilling fluid water phase occurrence form characterization device, used to obtain an oil-based drilling fluid water phase occurrence form characterization image;

[0052] Control module: used to determine the addition amount and addition time of the oil-based drilling fluid treatment agent based on the characterization data of the occurrence form of the water phase of the oil-based drilling fluid, so as to implement the addition operation of the oil-based drilling fluid treatment agent based on the addition amount and addition time.

[0053] An embodiment of the present invention provides a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are executed by a processor, any one of the above-mentioned methods for characterizing the occurrence form of the water phase of an oil-based drilling fluid and / or any one of the above-mentioned methods for controlling the dosage of an oil-based drilling fluid treatment agent can be implemented.

[0054] The present invention provides an image data processing device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the above-mentioned methods for characterizing the occurrence form of the water phase of an oil-based drilling fluid and / or any one of the above-mentioned methods for controlling the dosage of an oil-based drilling fluid treatment agent is implemented.

[0055] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:

[0056] The method is based on the scanning image data of the drilling fluid, identifies different drilling fluid components in the image, extracts water phase droplets based on the drilling fluid components, reconstructs the three-dimensional image of the water phase droplets based on the extraction results and classifies the water phase droplets, analyzes the geometric morphology of the water phase droplets in the oil-based drilling fluid from a microscopic level, and classifies the droplet geometry from a macroscopic level based on the analysis results at the microscopic level, obtains the classification results of the water phase droplets and characterizes them according to the classification results, so as to understand the changes in the oil-water interface based on the characterized classification of the water phase droplets. The changes in the surface include the changes in the morphology, area, and aggregation state of the oil-water interface; and according to the water phase characteristics of the oil-based drilling fluid, the types, addition time, and addition methods of various treatment agents in the oil-based drilling fluid are regulated. According to the changes in the water phase characteristics of the drilling fluid, the amount of treatment agent added to the oil-based drilling fluid is determined and the treatment agent is injected into the drilling fluid. The water phase characteristics of the drilling fluid gradually reach the preset characteristics to terminate the injection of the treatment agent, regulate and optimize the types of treatment agents in the oil-based drilling fluid, and regulate the amount of drilling fluid treatment agents to ensure the stability of the oil-based drilling fluid system. This method establishes the relationship between the microscopic state and the macroscopic performance, and provides guiding data for improving the stability of the drilling fluid system.

[0057] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0058] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0060] Figure 1 This is a flow chart of a method for characterizing the occurrence form of water phase in oil-based drilling fluid in Example 1 of the present invention;

[0061] Figure 2 This is a specific implementation flow chart of a method for characterizing the occurrence form of water phase in an oil-based drilling fluid in Embodiment 2 of the present invention;

[0062] Figure 3 Schematic diagram of the correspondence between the three-dimensional geometric morphology of the water phase droplet and the parameters in the second embodiment of the present invention;

[0063] Figure 4a Schematic diagram of the three-dimensional spatial distribution of attached film-like droplets of water phase droplets in the second embodiment of the present invention;

[0064] Figure 4b Schematic diagram of the three-dimensional spatial distribution of spherical droplets of water phase droplets in Example 2 of the present invention;

[0065] Figure 4c Schematic diagram of the three-dimensional spatial distribution of long columnar droplets of water phase droplets in the second embodiment of the present invention;

[0066] Figure 4d Schematic diagram of the three-dimensional spatial distribution of branched droplets of water phase droplets in the second embodiment of the present invention;

[0067] Figure 4e Schematic diagram of the three-dimensional spatial distribution of clustered droplets of water phase droplets in the second embodiment of the present invention;

[0068] Figure 5 This is a flow chart illustrating an example of a method for controlling the amount of an oil-based drilling fluid treatment agent in Embodiment 3 of the present invention;

[0069] Figure 6 This is a schematic structural diagram of a device for characterizing the occurrence form of water phase in an oil-based drilling fluid according to an embodiment of the present invention;

[0070] Figure 7The present invention is a schematic diagram of the structure of an oil-based drilling fluid treatment agent dosage control device in an embodiment of the present invention. DETAILED DESCRIPTION

[0071] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0072] In order to solve the problems existing in the prior art, the embodiment of the present invention provides a method and device for characterizing the occurrence form of the water phase of an oil-based drilling fluid and regulating the treatment agent. In the embodiment of the present invention, the oil-based drilling fluid phase refers to the form of the oil-based drilling fluid; the three-dimensional spatial data of the oil-based drilling fluid refers to the three-dimensional image data composed of multiple two-dimensional tomographic image data.

[0073] Embodiment 1

[0074] Embodiment 1 of the present invention provides a method for characterizing the occurrence form of water phase in oil-based drilling fluid, the process of which is as follows: Figure 1 As shown, the following steps are included:

[0075] Step S101: acquiring scanning image data of oil-based drilling fluid in a specified state.

[0076] Different methods can be used to obtain multiple scanned images of the oil-based drilling fluid in different states to obtain scanned image data. The preferred process is to prepare the oil-based drilling fluid; put the oil-based drilling fluid into a scanning container, control and change the temperature and pressure parameters of the scanning container to make the oil-based drilling fluid in a specified state; the specified state is at least one of a static state and a flowing state; use tomography technology to scan the oil-based drilling fluid in the specified state to obtain scanned image data of the oil-based drilling fluid in the specified state.

[0077] Step S102: Identify image regions corresponding to different oil-based drilling fluid components in the scanned image according to image parameters of the scanned image.

[0078] The acquired scanned image may be a two-dimensional tomographic scanned image, and the image parameters may include the grayscale value, brightness value, etc. of each pixel in the image. Preferably, the drilling fluid components corresponding to different regions in the image may be identified according to the grayscale value. In a preferred process, the oil-based drilling fluid components corresponding to each pixel in the scanned image are identified according to the grayscale value of the pixel in the scanned image and the correspondence between the grayscale value range and the oil-based drilling fluid components established in advance; and the image regions corresponding to different oil-based drilling fluid components in the image are obtained according to the identified oil-based drilling fluid components corresponding to each pixel.

[0079] Step S103: Based on the image areas corresponding to different oil-based drilling fluid components, perform three-dimensional reconstruction of the oil-based drilling fluid phase to obtain three-dimensional image data of the oil-based drilling fluid; extract three-dimensional image data of water phase droplets from the three-dimensional image data of the oil-based drilling fluid to construct a three-dimensional image of the water phase droplets.

[0080] After identifying the image area corresponding to the drilling fluid component in each scanned image, the bulk phase of the oil-based drilling fluid can be reconstructed based on the recognition results of multiple scanned images to construct a three-dimensional reconstructed image. The bulk phase of the oil-based drilling fluid includes different states of different components in the oil-based drilling fluid, such as the state of the oil phase, the state of the water phase, etc. After constructing the three-dimensional image, the relevant part of the water phase can be separated from the three-dimensional image to construct a three-dimensional image of water phase droplets, for example, the pixel values ​​of the pixels corresponding to the water phase component are retained, and the pixel values ​​corresponding to other components are set to preset values, so that they are displayed in a transparent state, etc., thereby obtaining a three-dimensional image of water phase droplets. The preferred process is to use three-dimensional space technology to perform three-dimensional reconstruction of the oil-based drilling fluid phase based on the image areas corresponding to different oil-based drilling fluid components to obtain a three-dimensional image and three-dimensional space data of the oil-based drilling fluid; according to the pixel value of each pixel point in the three-dimensional space data, the pixel points where the oil-based drilling fluid component is the water phase are extracted from the three-dimensional image of the oil-based drilling fluid, and the three-dimensional image of the water phase droplets is constructed based on the extracted pixel points and the corresponding three-dimensional space data.

[0081] Step S104: classify the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets according to predefined water phase occurrence geometric characteristic parameters, and obtain an image representing the occurrence form of water phase in oil-based drilling fluid based on the classification result of the three-dimensional geometric morphology of water phase droplets.

[0082] In oil-based drilling fluid, water phase droplets can exist in different geometric forms. In the embodiment of the present invention, classification is performed based on the existence form of water phase droplets, so as to better characterize the water phase occurrence form. The classification of the geometric forms of water phase droplets can be based on predetermined geometric characteristic parameters. The geometric characteristic parameters that need to be considered for different geometric forms and the range of geometric characteristic parameters that need to be satisfied can be predetermined, so as to accurately classify the geometric forms of water phase droplets. The preferred process is based on the correspondence between the predetermined water phase occurrence geometric characteristic parameters and value ranges and the three-dimensional geometric form types, and according to the geometric characteristic parameters of the water phase droplets in the three-dimensional image of the water phase droplets, the three-dimensional geometric form types of the water phase droplets in the three-dimensional image of the water phase droplets are determined; based on the determined three-dimensional geometric form types of the water phase droplets, an image characterizing the water phase occurrence form of the oil-based drilling fluid is obtained.

[0083] The above-mentioned predetermined geometric characteristic parameters of water phase occurrence include: at least one of the water phase droplet interconnected pore space coefficient, liquid pore diameter ratio, shape factor and form factor.

[0084] The coefficient of interconnected pore space of water phase droplets is characterized by the number of interconnected pores filled by water phase droplets in the oil-based drilling fluid in the selected space;

[0085] The liquid pore size ratio is determined based on the equivalent diameter of the water droplets bound by the solid particles in the oil-based drilling fluid and the equivalent diameter of the pores of the solid particles. The liquid pore size ratio is R water is the equivalent diameter of the water droplet bound by the solid particles in the oil-based drilling fluid, R pore is the equivalent diameter of the pores of solid particles;

[0086] The shape factor is determined based on the external dimensions of the water phase droplets in the oil-based drilling fluid. L and W are determined for the longest axis length and the shortest axis length of the same water phase droplet in the oil-based drilling fluid, respectively;

[0087] The shape factor is determined based on the volume of the water phase droplet in the oil-based drilling fluid and the surface area of ​​the water phase droplet in the oil-based drilling fluid. The shape factor is V is the volume of the water phase droplets in the oil-based drilling fluid and S is the surface area of ​​the water phase droplets in the oil-based drilling fluid.

[0088] The three-dimensional geometric morphology types of the water phase droplets in the three-dimensional image of the water phase droplets include at least one of cluster droplets, branch droplets, long column droplets, attached film droplets and spherical droplets.

[0089] The above correspondence between the predetermined water phase occurrence geometric characteristic parameters and value ranges and the three-dimensional geometric morphology types can be set and adjusted as needed. For example, a preferred correspondence is as follows:

[0090] Clustered droplets: droplet interconnected pore space coefficient C n >5, shape factor G1≤0.0007, liquid pore size ratio R wp =1.

[0091] Branched droplets: 2≤ droplet interconnected pore space coefficient C n ≤5, 0.0007≤ shape factor G1≤0.01, liquid pore size ratio R wp =1.

[0092] Long columnar droplet: droplet interconnected pore space coefficient C n =1, 2≤ shape factor G≤8, liquid pore size ratio R wp =1.

[0093] Attached film droplet: droplet thickness is less than 1 / 3 of the pore diameter, shape factor G>8, 0.01≤shape factor G1≤0.03, liquid pore diameter ratio R wp<1 / 3.

[0094] Spherical droplet: droplet interconnected pore space coefficient C n =1, 1≤ shape factor G≤2, 1 / 3≤ liquid pore size ratio (R wp )<1.

[0095] The above method of this embodiment performs tomography on high-density and high-solid oil-based drilling fluid in a flowing or static state; reconstructs the three-dimensional spatial structure of the oil-based drilling fluid, and observes the three-dimensional geometric form of the water phase droplets in the drilling liquid phase space in a flowing or static state; introduces parameters that quantitatively describe the three-dimensional geometric morphology of the water phase droplets; combines the observed three-dimensional geometric form of the water phase droplets in a flowing or static state, and qualitatively classifies the morphology of the water phase in the oil-based drilling fluid according to the parameters that quantitatively describe the geometric morphology of the water phase droplets; based on the classification of the morphology of the water phase in the oil-based drilling fluid, a method for characterizing the three-dimensional geometric form of the water phase in the oil-based drilling fluid is quantitatively established according to the morphology of the water phase droplets formed in the flowing or static state of the drilling fluid.

[0096] Embodiment 2

[0097] Embodiment 2 of the present invention provides a specific implementation process of a method for characterizing the occurrence form of water phase in oil-based drilling fluid, and the process is as follows: Figure 2 As shown, the following steps are included:

[0098] Step S201: preparing oil-based drilling fluid.

[0099] Prepare a high-density, high-solid oil-based drilling fluid; for example, use 3# white oil as the base oil of the oil-based drilling fluid, take 15.0g of the primary emulsifier and 12.5g of the auxiliary emulsifier and dissolve them in 278mL of 3# white oil, place the prepared solution under high-speed stirring at 11000rpm, gradually add 6.5g of organic soil, 70.0mL of 20% calcium chloride aqueous solution and 540.0g of barite powder, and prepare a density of 1.8g / cm 3 The oil-based drilling fluid can also be used to prepare high-density and high-solid phase oil-based drilling fluids with other different components as needed.

[0100] Step S202: Fill the oil-based drilling fluid into the scanning container.

[0101] The oil-based drilling fluid is loaded into a scanning container; the high-density and high-solid phase oil-based drilling fluid is loaded into a tomographic scanning container with adjustable pressure, temperature and stirring speed; for example, 20 mL of the above-prepared oil-based drilling fluid is taken and injected into the tomographic scanning container with adjustable pressure, temperature and stirring speed using a syringe pump.

[0102] Step S203: Control and change the temperature and pressure parameters of the scanning container to keep the oil-based drilling fluid in a specified state.

[0103] The pressure and temperature parameters of the container are set to the corresponding formation pressure and temperature, and the specified state of the oil-based drilling fluid is at least one of a static state and a flowing state. Turning on or off the container stirring switch changes the specified state of the oil-based drilling fluid to a flowing or static state, and the drilling fluid flow state can be matched with the downhole state by setting the stirring speed. For example, the tomography container includes a tomography operating system, and the tomography container temperature is adjusted to 200°C and the pressure is 40MPa. If you want to obtain scanning data of the oil-based drilling fluid in a static state, turn off the container stirring switch, and the stirring speed is reduced to 0rpm. After standing for a period of time, the oil-based drilling fluid is in a specified static state; turn on the container stirring switch, and after the stirring speed is increased to a specified speed, the oil-based drilling fluid is in a specified flowing state.

[0104] Step S204: Scan the oil-based drilling fluid in the specified state using tomography technology to obtain scanned image data of the oil-based drilling fluid in the specified state.

[0105] The high-density and high-solid oil-based drilling fluid in the flowing or static state is scanned by tomography technology (CT). The high-density and high-solid oil-based drilling fluid in the flowing or static state is scanned by a tomography scanner. Specifically, when the pressure, temperature and rotation speed of the container are stable, the tomography scanner performs a three-dimensional scan of the oil-based drilling fluid in the container cavity; the tomography data of the oil-based drilling fluid in the specified state is obtained, and the tomography operating system exports the tomography data.

[0106] The above steps S201-S204 achieve the acquisition of scanning image data of the oil-based drilling fluid in a specified state.

[0107] Step S205: identifying the oil-based drilling fluid component corresponding to each pixel in the scanned image according to the grayscale value of the pixel in the scanned image and the pre-established correspondence between the grayscale value range and the oil-based drilling fluid component.

[0108] Image processing is performed according to the grayscale value in the tomographic image. For example, image processing technology is used to distinguish the images of oil phase, water phase, weighting agent and other oil-based drilling fluid treatment agent materials in the tomographic image.

[0109] Step S206: according to the oil-based drilling fluid components corresponding to the identified pixel points, image regions corresponding to different oil-based drilling fluid components in the image are obtained.

[0110] The tomographic scan values ​​of different components in the oil-based drilling fluid in the tomographic scan image are approximately between -1000HU and 1000HU. Specifically, different components correspond to different grayscale value ranges, for example: the tomographic scan value range of air is -980HU to -1000HU, the tomographic scan value range of water is -10HU to 10HU, the tomographic scan value range of oil is -20HU to -90HU, the tomographic scan value range of bentonite is HU20-70HU, and the tomographic scan value range of solid particles is 600HU to 1000HU. Based on the tomographic scan value ranges corresponding to different components, the oil-based drilling fluid components corresponding to different pixel areas in the scanned image can be identified. The tomographic scan value can be reflected by the image grayscale value.

[0111] Steps S205-S206 are used to identify image regions corresponding to different oil-based drilling fluid components in the scanned image according to image parameters of the scanned image.

[0112] Step S207: Based on the image regions corresponding to different oil-based drilling fluid components, three-dimensional reconstruction of the oil-based drilling fluid phase is performed using three-dimensional space technology to obtain a three-dimensional image and three-dimensional space data of the oil-based drilling fluid.

[0113] Based on the grayscale processing results of the tomographic image, the three-dimensional data and three-dimensional image corresponding to the oil-based drilling fluid components are obtained. According to the three-dimensional data and three-dimensional image corresponding to the oil-based drilling fluid components, the three-dimensional space of the oil-based drilling liquid phase is reconstructed, for example, the three-dimensional space of the oil-based drilling liquid phase is reconstructed using the threshold segmentation method (Otsu), and the three-dimensional space data and three-dimensional image of the oil-based drilling liquid phase are obtained. The three-dimensional data may include relevant data of pixel values ​​in the image, such as the coordinates and grayscale values ​​of each pixel value, etc.

[0114] Step S208: extracting the pixel points of the oil-based drilling fluid component as water phase from the oil-based drilling fluid three-dimensional image according to the pixel value of each pixel point in the three-dimensional spatial data, and constructing a three-dimensional image of the water phase droplets based on the extracted pixel points and the corresponding three-dimensional spatial data.

[0115] Based on the three-dimensional spatial data and three-dimensional image results of the oil-based drilling liquid phase, the three-dimensional data and three-dimensional image of the water phase droplets in the oil-based drilling liquid phase space are separated from the three-dimensional data and three-dimensional image of other components in the oil-based drilling liquid phase space to obtain a three-dimensional image of the water phase droplets in the oil-based drilling liquid phase space. Specifically, it is possible to identify whether each pixel point in the three-dimensional image belongs to the water phase based on the three-dimensional spatial data, and specifically identify it based on the gray value of each pixel point, extract the identified pixel points belonging to the water phase, and reconstruct the three-dimensional image based on these pixel points and the corresponding three-dimensional spatial data, such as coordinates and gray values, to obtain a three-dimensional image of the water phase droplets.

[0116] Steps S207-S208 implement three-dimensional reconstruction of the oil-based drilling fluid phase based on the image areas corresponding to different oil-based drilling fluid components to obtain three-dimensional image data of the oil-based drilling fluid; extract three-dimensional image data of water phase droplets from the three-dimensional image data of the oil-based drilling fluid to construct a three-dimensional image of the water phase droplets.

[0117] Step S209: Based on the predetermined correspondence between the geometric characteristic parameters and value ranges of the water phase occurrence and the three-dimensional geometric morphology types, the three-dimensional geometric morphology types of the water phase droplets in the three-dimensional image of the water phase droplets are determined according to the geometric characteristic parameters of the water phase droplets in the three-dimensional image of the water phase droplets.

[0118] Parameters for quantitatively describing the three-dimensional geometric morphology of water phase droplets are introduced; combined with the tomography data of the oil-based drilling fluid and the three-dimensional image data of the three-dimensional reconstruction of the oil-based drilling fluid liquid phase, the geometric characteristic parameters of the water phase occurrence can be selected and defined as needed. In this embodiment, four parameters are defined, namely, the interconnected pore space coefficient of the water phase droplets in the oil-based drilling fluid, the liquid pore diameter ratio, the shape factor, and the form factor; wherein the interconnected pore space coefficient of the water phase droplets is characterized by the number of interconnected pores filled by the water phase droplets in the oil-based drilling fluid in the selected space, the liquid pore diameter ratio is determined according to the equivalent diameter of the water phase droplets bound by the solid phase particles in the oil-based drilling fluid and the equivalent diameter of the accumulated pores of the solid phase particles, the shape factor is determined according to the external dimensions of the water phase droplets in the oil-based drilling fluid, and the shape factor is determined according to the volume of the water phase droplets in the oil-based drilling fluid and the surface area of ​​the water phase droplets in the oil-based drilling fluid; the three-dimensional geometric morphology type of the water phase droplets in the drilling fluid is qualitatively described according to the four parameters of the water phase droplets in the oil-based drilling fluid.

[0119] The specific characterization methods of the four parameters of water phase droplet interconnected pore space coefficient, liquid pore size ratio, shape factor and shape factor are as follows: the interconnected pore space coefficient is the number of interconnected pores filled by water phase droplets in the oil-based drilling fluid in the selected space (C n );The liquid pore diameter ratio is the ratio of the droplet diameter to the pore diameter, which is the ratio of the equivalent diameter of the water phase droplets bound by the solid phase particles in the oil-based drilling fluid to the equivalent diameter of the pores of the solid phase particles. The expression is: In the formula, R wp is the liquid-pore ratio, R water is the equivalent diameter of the bound water phase droplet, R pore is the equivalent diameter of the pores of the drilling fluid solid particles; the shape factor is the ratio of the longest axis length of a water phase droplet in the oil-based drilling fluid to the shortest axis length, and the expression is: Where G is the shape factor, L is the longest axis length of a water phase droplet, and W is the shortest axis length of a water phase droplet. Under the accumulation of fine particles of high-density and high-solid oil-based drilling fluid, the diversification of the remaining pore space leads to different shapes of water phase droplets, resulting in changes in the shape factor. The smaller the shape factor, the smaller the surface area of ​​the water phase droplet under the same volume, and the more regular its shape. The shape factor G 1 , the expression is: In the formula, G 1 is the shape factor, V is the volume of the water phase droplets in the oil-based drilling fluid, S is the surface area of ​​the water phase droplets in the oil-based drilling fluid, and the shape factors are different for water phase droplets of different shapes. The smaller the shape factor, the larger the surface area of ​​the water phase droplets in the oil-based drilling fluid under the same volume, and the greater the degree of surface concavity change.

[0120] The correspondence between the three-dimensional geometric shape of the water phase droplet and the parameters is shown in Figure 3 As shown in the figure, the clustered droplets are water phase droplets with obvious continuous sheet-like structure in the 3D reconstruction image of the oil-based drilling liquid phase. The droplet interconnection pore space coefficient (C n )>5, shape factor (G 1 )≤0.0007, liquid pore size ratio (R wp )=1; branched droplets are water phase droplets with obvious branched structures in the three-dimensional reconstruction image of the oil-based drilling liquid phase, 2≤droplet interconnected pore space coefficient (C n )≤5, 0.0007≤Shape factor (G 1 )≤0.01, liquid pore size ratio R wp =1; the long columnar droplets are water phase droplets with obvious long columnar structures in the 3D reconstruction image of the oil-based drilling liquid phase, which are mainly distributed in the narrow pores. The droplet interconnection pore space coefficient (C n )=1,2≤shape factor (G)≤8,liquid pore size ratio (R wp )=1; the attached film droplet is the water phase droplet with obvious film structure attached to the pore surface in the 3D reconstruction image of the oil-based drilling liquid phase, the droplet thickness is less than 1 / 3 of the pore diameter, the shape factor (G)>8, 0.01≤shape factor (G 1 )≤0.03, liquid pore size ratio (R wp )<1 / 3; spherical droplets are water phase droplets that appear in regular spherical, quasi-spherical or drop-shaped shapes in the three-dimensional reconstruction image of the oil-based drilling liquid phase. The droplet interconnection pore space coefficient (C n )=1,1≤shape factor (G)≤2,1 / 3≤liquid pore size ratio (R wp )<1.

[0121] Step S210: Based on the determined three-dimensional geometric morphology type of the water phase droplets, a characterization image of the occurrence form of the water phase of the oil-based drilling fluid is obtained.

[0122] Combined with the observed three-dimensional geometric form of the water phase droplets in the flowing or stationary state of the oil-based drilling fluid, the morphology of the water phase in the oil-based drilling fluid is qualitatively classified according to the parameters that quantitatively describe the geometric morphology of the water phase droplets; see Figure 4a-4e , which can be divided into five categories: three-dimensional spatial distribution of attached film droplets, three-dimensional spatial distribution of spherical droplets, three-dimensional spatial distribution of long columnar droplets, three-dimensional spatial distribution of branched droplets, and three-dimensional spatial distribution of clustered droplets.

[0123] Steps S209-S210 implement classification of the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets according to predefined water phase occurrence geometric characteristic parameters, and obtain a characterization image of the water phase occurrence form of the oil-based drilling fluid based on the three-dimensional geometric morphology classification results of the water phase droplets.

[0124] This embodiment provides an analysis of tomographic scanning data of high-density and high-solid oil-based drilling fluid in flowing and static states, and reconstructs the three-dimensional space of the high-solid oil-based drilling fluid phase based on the analysis. Based on the three-dimensional space reconstruction, the geometric characteristics of the water phase droplets are obtained based on the classification rules of the water phase droplets. On the basis of the above, a three-dimensional geometric form characterization method for the water phase occurrence of the oil-based drilling fluid can well reflect the geometric characteristics of the water phase droplets in the oil-based drilling fluid.

[0125] In this embodiment, based on the tomography experiment, a three-dimensional spatial structure real-time reconstruction method is used to achieve the qualitative and quantitative characterization of the geometric form of the water phase droplets in the oil-based drilling fluid in the pores of high-density and high-solid phase particle accumulation. The limitations of related technical methods such as optical microscopes and scanning electron microscopes have been broken through. The tomography three-dimensional reconstruction image results obtained are used to further analyze the form of the water phase in the oil-based drilling fluid. The water phase droplets are qualitatively divided into five categories: cluster droplets, branch droplets, long column droplets, attached film droplets and spherical droplets. The image processing system and statistical principles are used to establish a three-dimensional geometric form characterization method for the water phase in the oil-based drilling fluid. It is highly targeted. According to the changes in the water phase characteristics of the drilling fluid, the type, time and amount of the treatment agent added to the oil-based drilling fluid are determined, and the treatment agent is injected into the drilling fluid. The water phase characteristics of the drilling fluid gradually reach the preset characteristics, and the injection of the treatment agent is terminated. The type of treatment agent in the oil-based drilling fluid is regulated and optimized, and guidance is provided for regulating the amount of drilling fluid treatment agent and improving the stability of the oil-based drilling fluid under special conditions.

[0126] Embodiment 3

[0127] Embodiment 3 of the present invention provides a method for controlling the amount of an oil-based drilling fluid treatment agent, the process of which is as follows: Figure 5 As shown, the following steps are included:

[0128] Step S301: Obtain an image representing the occurrence form of water phase in oil-based drilling fluid.

[0129] The oil-based drilling fluid water phase occurrence form characterization method described in the first or second embodiment above may be used to obtain an oil-based drilling fluid water phase occurrence form characterization image.

[0130] Step S302: Based on the characterization data of the occurrence form of the water phase of the oil-based drilling fluid, determine the addition amount and addition time of the oil-based drilling fluid treatment agent, so as to implement the addition operation of the oil-based drilling fluid treatment agent based on the addition amount and addition time.

[0131] It can analyze and determine the characterization data of the water phase occurrence form of oil-based drilling fluid in real time, and can also select some time points to analyze and characterize the water phase occurrence form, and display the distribution of water phase droplets to users, so that users can timely and dynamically understand the changes of the water phase in the oil-based drilling fluid, and adjust the type, method, time and amount of the treatment agent added to the drilling fluid in time according to the changes, and clarify the termination conditions of the addition. In this way, the addition of drilling fluid treatment agents can be better controlled, and the timely and appropriate addition of drilling fluid treatment agents can be achieved to avoid excessive addition and waste, while also reducing the cost of oil-based drilling fluids, providing data support for better control of deep well and ultra-deep well drilling processes.

[0132] Based on the same inventive concept, the present invention also provides a device for characterizing the occurrence form of water phase in oil-based drilling fluid. The structure of the device is as follows: Figure 6 As shown, including:

[0133] The image data acquisition module 111 is used to acquire the scanned image data of the oil-based drilling fluid in a specified state;

[0134] Image recognition module 112: identifies image regions corresponding to different oil-based drilling fluid components in the scanned image according to image parameters of the scanned image.

[0135] Constructing a three-dimensional image module 113: Based on the image areas corresponding to different oil-based drilling fluid components, three-dimensional reconstruction of the oil-based drilling fluid phase is performed to obtain three-dimensional image data of the oil-based drilling fluid; three-dimensional image data of water phase droplets are extracted from the three-dimensional image data of the oil-based drilling fluid to construct a three-dimensional image of the water phase droplets.

[0136] Characterization module 114: classifies the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets according to predefined water phase occurrence geometric characteristic parameters, and obtains a characterization image of the water phase occurrence form of the oil-based drilling fluid based on the classification result of the three-dimensional geometric morphology of the water phase droplets.

[0137] Based on the same inventive concept, the embodiment of the present invention also provides an oil-based drilling fluid treatment agent dosage control device, the structure of which is as follows: Figure 7 As shown, including:

[0138] The oil-based drilling fluid water phase occurrence form characterization device 211 is used to obtain an oil-based drilling fluid water phase occurrence form characterization image.

[0139] Control module 212: used to determine the addition amount and addition time of the oil-based drilling fluid treatment agent based on the characterization data of the occurrence form of the water phase of the oil-based drilling fluid, so as to implement the addition operation of the oil-based drilling fluid treatment agent based on the addition amount and addition time.

[0140] Based on the same inventive concept, an embodiment of the present invention also provides a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are executed by a processor, a method for characterizing the occurrence form of the water phase of an oil-based drilling fluid as described above and / or a method for controlling the dosage of an oil-based drilling fluid treatment agent as described above are implemented.

[0141] Based on the same inventive concept, an embodiment of the present invention also provides an image data processing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements a method for characterizing the occurrence form of the water phase of an oil-based drilling fluid as described above and / or a method for controlling the dosage of an oil-based drilling fluid treatment agent as described above.

[0142] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0143] It should be noted that the method of the embodiment of this specification can analyze and process completion fluid in addition to analyzing drilling fluid, and the specific implementation method can be implemented according to the implementation method of the above embodiment.

[0144] Unless otherwise specifically stated, terms such as processing, computing, calculating, determining, displaying, etc. may refer to the actions and / or processes of one or more processing or computing systems, or similar devices, which operate and convert data represented as physical (e.g., electronic) quantities within registers or memories of a processing system into other data similarly represented as physical quantities within memories, registers, or other such information storage, transmission, or display devices of the processing system. Information and signals may be represented using any of a variety of different techniques and methods. For example, data, instructions, commands, information, signals, bits, symbols, and chips mentioned throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, light fields or particles, or any combination thereof.

[0145] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.

[0146] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.

[0147] Those skilled in the art will also appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments herein can all be implemented as electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the interchangeability between hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above around their functions. Whether such functions are implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. A skilled person can implement the described functions in an alternative manner for each specific application, but such implementation decisions should not be interpreted as departing from the scope of protection of the present disclosure.

[0148] The steps of the method or algorithm described in conjunction with the embodiments herein may be directly embodied as hardware, a software module executed by a processor, or a combination thereof. The software module may be located in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in an ASIC. The ASIC may be located in a user terminal. Of course, the processor and the storage medium may also be present in a user terminal as discrete components.

[0149] For software implementation, the techniques described in this application can be implemented with modules (e.g., procedures, functions, etc.) that perform the functions described in this application. These software codes can be stored in a memory unit and executed by a processor. The memory unit can be implemented within the processor or outside the processor. In the latter case, it is coupled to the processor in a communication manner via various means, which are well known in the art.

[0150] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".

Claims

1. A method for characterizing the occurrence form of water phase in oil-based drilling fluids. It is characterized in that include: Acquire scanning image data of oil-based drilling fluid in a specified state; According to the image parameters of the scanned image, image regions corresponding to different oil-based drilling fluid components in the scanned image are identified; Based on the image areas corresponding to different oil-based drilling fluid components, the oil-based drilling fluid phase is reconstructed in three dimensions to obtain the oil-based drilling fluid three-dimensional image data; the three-dimensional image data of the water phase droplets are extracted from the oil-based drilling fluid three-dimensional image data to construct the water phase droplet three-dimensional image; According to the predefined geometric characteristic parameters of water phase occurrence, the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets is classified, and based on the classification results of the three-dimensional geometric morphology of water phase droplets, a characterization image of the water phase occurrence form of oil-based drilling fluid is obtained.

2. The method according to claim 1, It is characterized in that The step of obtaining scanning image data of the oil-based drilling fluid in a specified state includes: Formulate oil-based drilling fluids; The oil-based drilling fluid is loaded into a scanning container, and the temperature and pressure parameters of the scanning container are controlled to change so that the oil-based drilling fluid is in a specified state; the specified state is at least one of a static state and a flowing state; The oil-based drilling fluid in a specified state is scanned by using the tomography technology to obtain scanning image data of the oil-based drilling fluid in the specified state.

3. The method according to claim 1, It is characterized in that The step of identifying image regions corresponding to different oil-based drilling fluid components in the scanned image according to image parameters of the scanned image includes: According to the gray value of the pixel point in the scanned image and the correspondence between the gray value range and the oil-based drilling fluid component established in advance, the oil-based drilling fluid component corresponding to each pixel point in the scanned image is identified; According to the oil-based drilling fluid components corresponding to the identified pixel points, image regions corresponding to different oil-based drilling fluid components in the image are obtained.

4. The method according to claim 1, It is characterized in that The three-dimensional reconstruction of the oil-based drilling fluid phase is performed based on the image areas corresponding to the different oil-based drilling fluid components to obtain the three-dimensional image data of the oil-based drilling fluid; Extracting the three-dimensional image data of water phase droplets from the three-dimensional image data of the oil-based drilling fluid and constructing the three-dimensional image of the water phase droplets includes: Based on the image areas corresponding to different oil-based drilling fluid components, the three-dimensional reconstruction of the oil-based drilling fluid phase is performed using three-dimensional space technology to obtain the three-dimensional image and three-dimensional space data of the oil-based drilling fluid; According to the pixel value of each pixel point in the three-dimensional spatial data, the pixel points where the oil-based drilling fluid component is water phase are extracted from the three-dimensional image of the oil-based drilling fluid, and a three-dimensional image of the water phase droplet is constructed based on the extracted pixel points and the corresponding three-dimensional spatial data.

5. The method according to claim 1, It is characterized in that The method classifies the three-dimensional geometric morphology of the water phase droplets in the three-dimensional image of the water phase droplets according to the predefined geometric characteristic parameters of the water phase occurrence, and obtains a representation image of the water phase occurrence form of the oil-based drilling fluid based on the three-dimensional geometric morphology classification result of the water phase droplets, including: Based on the predetermined correspondence between the geometric characteristic parameters of the water phase occurrence and the range of values ​​and the three-dimensional geometric morphology type, the three-dimensional geometric morphology type of the water phase droplets in the three-dimensional image of the water phase droplets is determined according to the geometric characteristic parameters of the water phase droplets in the three-dimensional image of the water phase droplets; Based on the determined three-dimensional geometric morphology type of the water phase droplets, a characterization image of the occurrence form of the water phase in the oil-based drilling fluid is obtained.

6. The method according to claim 5, It is characterized in that The geometric characteristic parameters of water phase storage include: at least one of the water phase droplet interconnected pore space coefficient, liquid pore diameter ratio, shape factor and form factor; The coefficient of interconnected pore space of water phase droplets is characterized by the number of interconnected pores filled by water phase droplets in the oil-based drilling fluid in the selected space; The liquid-pore diameter ratio is determined based on the equivalent diameter of the water phase droplets bound by the solid phase particles in the oil-based drilling fluid and the equivalent diameter of the pores of the solid phase particles. The shape factor is determined based on the external dimensions of the water phase droplets in the oil-based drilling fluid; The shape factor is determined based on the volume of the water phase droplet in the oil-based drilling fluid and the surface area of ​​the water phase droplet in the oil-based drilling fluid; The three-dimensional geometric morphology types include at least one of clustered droplets, branched droplets, long columnar droplets, attached film droplets and spherical droplets.

7. The method according to claim 6, It is characterized in that Liquid pore size ratio Among them, R water is the equivalent diameter of the water droplet bound by the solid particles in the oil-based drilling fluid, R pore is the equivalent diameter of the pores of solid particles; Form Factor Wherein, L and W are respectively determined for the longest axis length and the shortest axis length of the same water phase droplet in the oil-based drilling fluid; Form Factor Wherein, V is the volume of the water phase droplets in the oil-based drilling fluid and S is the surface area of ​​the water phase droplets in the oil-based drilling fluid.

8. The method according to claim 6, It is characterized in that The corresponding relationship between the geometric characteristic parameters and value ranges of the water phase occurrence and the three-dimensional geometric morphology type is as follows: Clustered droplets: droplet interconnected pore space coefficient C n >5, shape factor G 1 ≤0.0007, liquid pore size ratio R wp =1; Branched droplets: 2≤ droplet interconnected pore space coefficient C n ≤5, 0.0007≤ shape factor G 1 ≤0.01, liquid pore size ratio R wp =1; Long columnar droplet: droplet interconnected pore space coefficient C n =1, 2≤ shape factor G≤8, liquid pore size ratio R wp =1; Attached film droplet: droplet thickness is less than 1 / 3 of the pore diameter, shape factor G>8, 0.01≤shape factor G 1 ≤0.03, liquid pore size ratio R wp <1 / 3; Spherical droplet: droplet interconnected pore space coefficient C n =1, 1≤ shape factor G≤2, 1 / 3≤ liquid pore diameter ratio R wp <1.

9. A method for controlling the dosage of an oil-based drilling fluid treatment agent, It is characterized in that include: A method for characterizing the occurrence form of water phase in oil-based drilling fluid according to claims 1 to 7 is used to obtain a characterization image of the occurrence form of water phase in oil-based drilling fluid; Based on the characterization data of the occurrence form of the water phase of the oil-based drilling fluid, the addition amount and addition time of the oil-based drilling fluid treatment agent are determined, so as to realize the addition operation of the oil-based drilling fluid treatment agent based on the addition amount and addition time.

10. A device for characterizing the occurrence form of water phase in oil-based drilling fluid, It is characterized in that include: Image data acquisition module: acquires scanned image data of oil-based drilling fluid under a specified state; Image recognition module: identifies the image areas corresponding to different oil-based drilling fluid components in the scanned image according to the image parameters of the scanned image; Constructing a 3D image module: Based on the image areas corresponding to different oil-based drilling fluid components, the oil-based drilling fluid phase is reconstructed in 3D to obtain the 3D image data of the oil-based drilling fluid; the 3D image data of the water phase droplets are extracted from the 3D image data of the oil-based drilling fluid to construct a 3D image of the water phase droplets; Characterization module: Classify the three-dimensional geometric morphology of water phase droplets in the three-dimensional image of water phase droplets according to pre-defined geometric characteristic parameters of water phase occurrence, and obtain a characterization image of the water phase occurrence form of oil-based drilling fluid based on the classification results of the three-dimensional geometric morphology of water phase droplets.

11. A device for controlling the dosage of an oil-based drilling fluid treatment agent, It is characterized in that include: The device for characterizing the occurrence form of water phase in oil-based drilling fluid according to claim 10, used for obtaining a characterization image of the occurrence form of water phase in oil-based drilling fluid; Control module: used to determine the addition amount and addition time of the oil-based drilling fluid treatment agent based on the characterization data of the occurrence form of the water phase of the oil-based drilling fluid, so as to implement the addition operation of the oil-based drilling fluid treatment agent based on the addition amount and addition time.

12. A computer storage medium, It is characterized in that The computer storage medium stores computer executable instructions, which, when executed by the processor, implement a method for characterizing the occurrence form of water phase in an oil-based drilling fluid as described in any one of claims 1 to 8 and / or a method for controlling the dosage of an oil-based drilling fluid treatment agent as described in claim 9.

13. An image data processing device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for characterizing the occurrence form of the aqueous phase of an oil-based drilling fluid as described in any one of claims 1 to 8 and / or a method for controlling the dosage of an oil-based drilling fluid treatment agent as described in claim 9 is implemented.