Drilling fluid recognition system based on image recognition
Through the image recognition drilling fluid identification system, the multi-parameter information of the drilling fluid is obtained using the multi-spectral light source structure, which solves the problem that traditional detection methods cannot be monitored and adjusted in real time, and achieves high accuracy and rapid response drilling fluid monitoring and optimization.
Patent Information
- Application Number
- CN202510337357.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-03-21
AI Technical Summary
Traditional drilling fluid detection methods require a long time to perform chemical analysis and cannot be monitored in real time. The existing image recognition system can only detect a single parameter and cannot adjust the drilling fluid status in time.
A drilling fluid identification system based on image recognition is adopted to obtain image information under different light sources through an annular multi-spectral light source structure, color characteristics, bubble motion trajectory and particle settlement speed of the drilling fluid, and conduct multi-parameter detection and real-time adjustment.
It improves the accuracy and speed of drilling fluid monitoring, can promptly detect contamination or deterioration of drilling fluid, optimizes the drilling fluid status, and avoids problems such as well surges, blowouts and drilling jams.
Smart Images

Figure CN119851145A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of drilling fluid, and in particular to a drilling fluid identification system based on image recognition. Background Art
[0002] The role of drilling fluid in oil drilling is usually used for lubrication, cooling and carrying cuttings. Traditional detection methods may rely on physical or chemical analysis, such as measuring density, viscosity, sand content, etc. These methods may require offline laboratory analysis, which is time-consuming and cannot be monitored in real time.
[0003] Traditional methods require a long time for chemical analysis to obtain the real-time status of drilling fluid, and cannot make timely adjustments. At the same time, the existing drilling fluid image recognition system can usually only monitor a single parameter and cannot grasp the drilling fluid status in time and make timely adjustments.
[0004] In addition, when testing drilling fluid, the camera cannot be cleaned in time, and the captured image data is inaccurate, which in turn affects the accuracy of the monitored experimental data. Summary of the invention
[0005] The purpose of the present invention is to provide a drilling fluid identification system based on image recognition, which obtains multiple drilling fluid detection parameters by acquiring image information under different light sources, and adjusts and optimizes the drilling fluid to improve the monitoring accuracy.
[0006] This purpose is achieved by adopting the following technical solutions: A drilling fluid identification system based on image recognition, comprising an annular multi-spectral light source structure, a first camera, a second camera, a first processing module, a second processing module and a third processing module; The annular multi-spectral light source structure includes a plurality of visible light sources, a plurality of near-infrared light sources and a plurality of ultraviolet light sources; the first camera is used to obtain the first continuous frame image information of the drilling fluid under the visible light source, and obtain the second continuous frame image information of the drilling fluid under the near-infrared light source; the second camera is used to obtain the static image information of the drilling fluid under the ultraviolet light source; When in use, firstly, the second camera is used to obtain static image information of the drilling fluid under an ultraviolet light source, and the first processing module obtains the color characteristics of the drilling fluid according to the static image information, and processes the drilling fluid for the first time according to the color characteristics of the drilling fluid; After the drilling fluid is processed for the first time, the first camera obtains first continuous frame image information of the drilling fluid under a visible light source, the second processing module obtains the bubble movement trajectory of the drilling fluid according to the first continuous frame image information of the drilling fluid, and processes the drilling fluid for the second time according to the bubble movement trajectory of the drilling fluid; After the drilling fluid is processed for the second time, the first camera obtains second continuous frame image information of the drilling fluid under a near-infrared light source, the third processing module obtains the particle settling velocity based on the second continuous frame image information of the drilling fluid, and processes the drilling fluid for the third time based on the particle settling velocity.
[0007] When in use, the above operations are repeated continuously to monitor the drilling fluid in real time. Among them, the color change of the drilling fluid may reflect the contamination or deterioration of the drilling fluid. When the drilling fluid encounters formation fluid or pollutants, the color may change. For example, oil pollution will make the color darker, and hydrogen sulfide may cause it to turn black. At this time, the color characteristics can be used as a monitoring indicator to detect and deal with problems in time.
[0008] The presence of bubbles will reduce the density of drilling fluid, causing an imbalance in wellbore pressure, which may cause a kick or blowout. The return velocity of the drilling fluid must be greater than the settling velocity of the cuttings to effectively remove the cuttings from the wellbore. If the settling velocity is too high, the cuttings will settle at the bottom of the well, causing the drill to get stuck or the wellbore to get blocked.
[0009] Therefore, the inventors monitor the drilling fluid from multiple aspects by capturing the color characteristics, bubble dynamics and particle settling velocity to improve the monitoring accuracy.
[0010] Secondly, the color characteristics of drilling fluid, bubble dynamics, and particle settling speed are also mutually reinforcing. The color of drilling fluid usually reflects its composition and density. When the color of drilling fluid is dark or brown-black speckled oil spots appear (such as crude oil mixing), it may be accompanied by abnormal bubble movement trajectory (such as continuous and concentrated, not easy to break). In such cases, the bubble problem is usually treated by degassing devices or defoaming agents (such as silicones). Turbid or grayish-white color may be caused by excessive content of solid particles (such as bentonite, cuttings). At this time, the particle settling speed is accelerated, and solid control equipment (such as vibrating screens, centrifuges) need to be optimized to reduce the solid content; and uneven color will lead to increased filtration loss, indirectly affecting the stability of liquid column pressure, exacerbating bubble expansion and particle settling.
[0011] When bubbles slip and rise in the drilling fluid, the local density will be reduced, resulting in fluctuations in the pressure of the liquid column, which may cause well kicks or well losses. At this time, the density needs to be stabilized by using a surface degassing device or adjusting the amount of defoaming agent (such as controlling the concentration to 0.05%~0.2%).
[0012] When bubbles gather to form slug flow, it will hinder the sedimentation of particles. It is necessary to improve the flow pattern by increasing the plastic viscosity of the drilling fluid (such as adding a thickener) and adjust the shear force to balance the rock carrying and sedimentation efficiency.
[0013] There is also a synergistic effect between bubbles and particles. Tiny bubbles (such as nanoscale) can be adsorbed on the surface of particles to form a "gas-solid complex", reducing the effective density of particles and slowing down the sedimentation rate.
[0014] Therefore, the present invention first monitors the color characteristics of the drilling fluid, adjusts the drilling fluid according to the color characteristics, then monitors the bubbles, and finally monitors whether the adjustment is accurate through the particle settling rate. At the same time, during use, the system keeps cyclically identifying the color characteristics of the drilling fluid and processing the drilling fluid for the first time, identifying the bubble dynamics of the drilling fluid and processing the drilling fluid for the second time, identifying the particle settling rate of the drilling fluid and processing the drilling fluid for the third time. This cycle is repeated, and the state of the drilling fluid can be obtained from different parameter angles and adjusted in time. Not only is the processing speed fast, but the adjustment accuracy is also high.
[0015] In the specific processing process, the first processing module includes a first pre-processing module and a color processing module; The first preprocessing module uses Gaussian filtering or median filtering to remove image noise from image information, enhances color contrast through histogram, and converts the original RGB image into HSV or Lab color space; The color processing module is used to divide the color interval in HSV or Lab space, count the pixel distribution in each interval, generate a color histogram, obtain the main components and distribution characteristics of the drilling fluid color through the color histogram, and process the drilling fluid for the first time according to the main components and distribution characteristics of the drilling fluid color.
[0016] Among them, the HSV or RGB color space is used to quantify the color distribution of drilling fluids, identify the main color tone (such as dark brown, gray-green, etc.), and reflect the solid content, pollutant type (such as rust, clay) or chemical additive concentration. For example: if the main color is reddish, it may contain rust pollution; if the main color is turbid and dark, there may be too many solid particles.
[0017] If the solid content is too high (dark color, concentrated distribution), use solid control equipment such as centrifuges and vibrating screens to reduce the solid content, and add diluents (such as clean water or low-solid drilling fluid) to adjust the density of the drilling fluid.
[0018] If the color deviates from the benchmark, when it is red, add rust remover (such as citric acid) to treat iron ion pollution; when it is black / gray, check the mixing of drill cuttings and enhance the efficiency of solid control equipment.
[0019] In the color distribution characteristics, hue reflects the type of drilling fluid base fluid (such as oil base is dark, water base is lighter); saturation: high saturation may indicate that the concentration of chemical additives is too high or pollutants are accumulated; brightness (Value): low brightness may indicate that the solid phase particles are small in size and highly dispersed.
[0020] The second processing module includes a second pre-processing module, a first marking module and a bubble processing module. The second preprocessing module uses Gaussian filtering to eliminate image noise of the first continuous frame image information, enhances bubble contrast through histogram equalization, and distinguishes bubbles based on grayscale differences; The first marking module is used to mark the centroid coordinates of each bubble respectively, and match the same target of each bubble in adjacent frames based on the Hungarian algorithm; The bubble processing module obtains the acceleration of the bubble according to the displacement of the center of mass of the bubble of the same target in adjacent frames, and calculates the average diameter and aggregation state of the bubble according to the image analysis algorithm, and processes the drilling fluid for the second time according to the acceleration, average diameter and aggregation state.
[0021] The third processing module includes a third pre-processing module, a second marking module and a particle processing module. The third preprocessing module uses Gaussian filtering to eliminate image noise of the second continuous frame image information, enhances particle contrast through histogram equalization, and distinguishes particles according to grayscale differences; The second marking module is used to mark the centroid coordinates of each particle respectively, and match the same target of each particle in adjacent frames based on the Hungarian algorithm; The particle processing module calculates the centroid displacement of particles of the same target in adjacent frames, obtains the particle settling velocity, and processes the drilling fluid for the third time according to the particle settling velocity.
[0022] The regulation of particle settling velocity requires comprehensive consideration of drilling fluid density, viscosity, shear force and solid phase characteristics. Therefore, in this system, the particle settling velocity is used as the last detection parameter. Its main purpose is to assist in detecting the effects of the first and second treatments of the drilling fluid. After the first and second treatments, basically the particle settling velocity with heavy image information in the second continuous frame is accurate. If the particle settling velocity with heavy image information in the second continuous frame is not within the preset range, the drilling fluid is treated for the third time.
[0023] After the drilling fluid is processed for the third time, the static image information of the drilling fluid is obtained again under the ultraviolet light source through the second camera, and the above operation is repeated to perform real-time dynamic adjustment and timely feedback the real-time situation of the drilling fluid.
[0024] When the above operation is repeated for the second time, if the particle settling velocity of the second continuous frame image information is not within the preset range, an alarm is triggered and manual inspection and processing are performed.
[0025] On the other hand, during recognition, the system requires the first camera and the second camera to operate under different light sources, and during long-term monitoring, the lenses of the first camera and the second camera need to be cleaned regularly, and the light source needs to be switched and adjusted. Therefore, the inventors proposed a ring-shaped multi-spectral light source structure for the system.
[0026] The annular multi-spectral light source structure includes a concentrically arranged first connecting ring and a circular plate, the upper end face of the first connecting ring is concentrically connected to the first camera, and the lens of the first camera is located in the inner ring of the first connecting ring; the circular plate is located between the first connecting ring and the first camera, and the circular plate includes a plurality of third connecting members that can form a circle, and a first cleaning layer is arranged on the surface of the third connecting member that contacts the lens of the first camera, and the second camera is arranged on the surface of the third connecting member opposite to the first cleaning layer; an action member is arranged between the third connecting member and the first connecting ring, and the action member drives the third connecting member to rotate to close or open the inner ring of the first connecting ring; a second cleaning layer for cleaning the second camera is arranged on the upper end face of the first connecting ring.
[0027] When the third connecting member closes the inner ring of the first connecting ring, the first cleaning layer of the third connecting member contacts the lens of the first camera, and a plurality of third connecting members form a circle; the first cleaning layer on the upper end surface of the third connecting member is used to clean the lens of the first camera. At the same time, when the third connecting member rotates to close the inner ring of the first connecting ring, the second cleaning layer on the upper end surface of the first connecting ring cleans the second camera.
[0028] When the third connecting member opens the inner ring of the first connecting ring, the third connecting member exposes the lens of the first camera, so that the lens of the first camera can obtain the first continuous frame image information or the second continuous frame image information. At the same time, the second camera is located outside the first connecting ring and is also exposed, so as to obtain static image information of the drilling fluid.
[0029] Therefore, in the process of the third connecting member closing the inner ring of the first connecting ring, the first camera and the second camera can be cleaned at the same time. At the same time, after the third connecting member opens the inner ring of the first connecting ring, both the first camera and the second camera can take pictures.
[0030] In addition, the inventor of the action member preferably adopts a structure in which the action member includes a second connecting ring sleeved outside the first connecting ring, the second connecting ring can rotate circumferentially on the first connecting ring, an action rod is hingedly connected between the second connecting ring and the third connecting member, and one end of the third connecting member is hingedly connected to the first connecting ring; the second connecting ring rotates to drive the third connecting member to close or open the inner ring of the first connecting ring through the action rod. A second cleaning layer for cleaning the second camera is also provided on the upper end surface of the second connecting ring to improve the cleaning efficiency.
[0031] When in use, the second connecting ring is rotated, and the second connecting ring drives one end of the action rod to move. The other end of the action rod acts on the third connecting member, so that the third connecting member rotates around the connection between it and the first connecting ring, thereby realizing that the third connecting member opens or closes the inner ring of the first connecting ring.
[0032] On the other hand, the ultraviolet light source is arranged on the lower end surface of the first connecting ring, the visible light source is arranged on the lower end surface of the second connecting ring, and the near infrared light source is arranged on the lower end of the third connecting member.
[0033] Ultraviolet light needs to be irradiated from the side to stimulate the fluorescence of the drilling fluid, while avoiding direct exposure to the camera to prevent overexposure. Therefore, the ultraviolet band light source is arranged on the lower end face of the first connecting ring, and the ultraviolet band light source is irradiated from the side of the drilling fluid at an inclination angle of 30°-45°. When acquiring the image, it is far away from the second camera, which can facilitate the adjustment of the angle of the ultraviolet band light source.
[0034] At the same time, the near-infrared light source is arranged on the lower end of the third connecting member. The near-infrared light source is far away from the first camera when acquiring images. Therefore, the particle size distribution can be inverted through the side light source and multi-angle scattering data.
[0035] The visible light source is annularly distributed on the lower end surface of the second connecting ring to provide uniform illumination, thereby ensuring that the dynamics of the bubbles are clearly recorded and reducing shadow interference.
[0036] Therefore, the annular multi-spectral light source structure of the system can not only perform shooting but also clean the first camera and the second camera in the process of providing different light sources to the first camera and the second camera.
[0037] Compared with the prior art, the present invention has the following advantages and beneficial effects: The present invention discloses a drilling fluid identification system based on image recognition. The system uses a multi-band light source to penetrate particles of different particle sizes, captures the color characteristics (ultraviolet excitation fluorescence), suspended particle distribution (near infrared scattering) and bubble dynamics (visible light imaging) of the drilling fluid, and performs identification and processing on the drilling fluid through multiple parameters to improve the monitoring accuracy. Moreover, when performing identification, the system first identifies the color characteristics of the drilling fluid. After the first processing, the bubbles in the drilling fluid are identified and the second processing is performed on the basis of the first processing. In practical applications, the expected state can be achieved after basically two processings. Therefore, the system identifies again through another parameter of suspended particles. If the expectation is met, the above data is cleared and the identification is repeated. If the expectation is not met, the third processing is performed. After the processing, the identification is repeated and the data is not cleared. After two cycles are repeated, if the third processing still does not meet the expectation, an alarm is issued and manual processing is performed, which can further improve the identification accuracy and process the drilling fluid in multiple directions and quickly.
[0038] In addition, the annular multi-spectral light source structure of the system matches a variety of light sources. When in use, it can not only quickly adjust the light source, but also quickly and conveniently clean the lenses of the first camera and the second camera, thereby improving the accuracy of recognition and thus improving the accuracy of monitoring, which is more conducive to long-term use. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings: Figure 1 This is the schematic diagram of the system structure; Figure 2 is a schematic diagram of the positional relationship between the first camera and the first connecting ring; Figure 3 A schematic diagram of a structure in which the third connecting member forms a circle when the inner ring of the first connecting ring is closed by the third connecting member; Figure 4 A schematic structural diagram of the upper end of the first connecting ring when the inner ring of the first connecting ring is opened by the third connecting member; Figure 5 A schematic structural diagram of the lower end of the first connecting ring when the inner ring of the first connecting ring is opened by the third connecting member.
[0040] Marks and corresponding parts names in the attached drawings: 1-first camera, 2-second camera, 3-first connecting ring, 4-second connecting ring, 5-third connecting piece, 6-acting rod, 7-near infrared light source, 8-ultraviolet light source, 9-visible light source, 10-connecting rod. DETAILED DESCRIPTION
[0041] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0042] In the description of the present invention, it should be understood that the terms "front", "rear", "left", "right", "up", "down", "vertical", "horizontal", "high", "low", "inside", "outside", etc., indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the scope of protection of the present invention.
[0043] Example 1
[0044] like Figure 1 As shown, the system includes an annular multi-spectral light source structure, a first camera 1, a second camera 2, a first processing module, a second processing module and a third processing module; Among them, the annular multi-spectral light source structure includes a plurality of visible light sources 9, a plurality of near-infrared light sources 7 and a plurality of ultraviolet band light sources 8; the first camera 1 is used to obtain the first continuous frame image information of the drilling fluid under the visible light source 9, and to obtain the second continuous frame image information of the drilling fluid under the near-infrared light source 7; the second camera 2 is used to obtain the static image information of the drilling fluid under the ultraviolet band light source 8; the first processing module is used to obtain the color characteristics of the drilling fluid according to the static image information, and to process the drilling fluid for the first time according to the color characteristics of the drilling fluid; the second processing module is used to obtain the bubble movement trajectory of the drilling fluid according to the first continuous frame image information of the drilling fluid, and to process the drilling fluid for the second time according to the bubble movement trajectory of the drilling fluid; the third processing module is used to obtain the particle settling velocity according to the second continuous frame image information of the drilling fluid, and to process the drilling fluid for the third time according to the particle settling velocity.
[0045] The second camera 2 acquires static image information, the first camera 1 acquires first continuous frame image information, and the first camera 1 acquires second continuous frame image information, which is a cycle period, and within a cycle period, the time for the second camera 2 to acquire static image information, the first camera 1 to acquire first continuous frame image information, and the first camera 1 to acquire second continuous frame image information increases successively, that is, in a cycle period, the second camera 2 first acquires static image information, the first processing module acquires color characteristics of the drilling fluid according to the static image information, and after processing the drilling fluid for the first time according to the color characteristics of the drilling fluid, the first camera 1 acquires first continuous frame image information, the second processing module acquires bubble motion trajectory of the drilling fluid according to the first continuous frame image information of the drilling fluid, and processes the drilling fluid for the second time according to the bubble motion trajectory of the drilling fluid, and finally, the first camera 1 acquires second continuous frame image information, the third processing module acquires particle settling velocity according to the second continuous frame image information of the drilling fluid, and processes the drilling fluid for the third time according to the particle settling velocity.
[0046] When in use, the following steps are included: Step 1, the ultraviolet band light source 8 of the annular multi-spectral light source structure is turned on, the second camera 2 obtains static image information of the drilling fluid under the ultraviolet band light source 8, and the first processing module processes the drilling fluid for the first time according to the color characteristics of the drilling fluid; Step 2, after the first processing, the ultraviolet band light source 8 of the annular multi-spectral light source structure is turned off, the visible light source 9 is turned on, the first camera 1 obtains the first continuous frame image information of the drilling fluid under the visible light source 9, and processes the drilling fluid for the second time according to the bubble movement trajectory of the drilling fluid; Step 3, after the second processing is completed, the visible light source 9 of the annular multi-spectral light source structure is turned off, the near-infrared light source 7 is turned on, and the first camera obtains the second continuous frame image information of the drilling fluid under the near-infrared light source 7; Steps 1-3 are a cycle. In a cycle, the third processing module obtains the particle settling velocity according to the second continuous frame image information of the drilling fluid. If the particle settling velocity is within the preset range, then in the cycle, the color features, bubble motion trajectory and particle settling velocity information obtained by the first processing module, the second processing module and the third processing module are cleared, and the next cycle is entered. That is, if the particle settling velocity is within the preset range, the data of steps 1, 2 and 3 are cleared, and the next cycle is entered, and steps 1-3 are repeated for cyclic real-time monitoring. In this process, steps 1 and 2 have already processed the drilling fluid and no further processing is required. Therefore, the data of steps 1, 2 and 3 of the cycle are cleared, and the next cycle is entered.
[0047] In some embodiments, if within a cycle, the third processing module obtains the particle settling velocity based on the second continuous frame image information of the drilling fluid, if the particle settling velocity is within an unpredictable range, it means that steps 1 and 2 have not processed the drilling fluid well, and therefore, the data of the cycle is retained.
[0048] In the next cycle, the first processing module processes the drilling fluid for the first time according to the color characteristics, bubble movement trajectory and particle settling velocity obtained in the previous cycle and the color characteristics obtained in the current cycle; that is, in the first cycle, in step 3, if the particle settling velocity is within the preset range, the second cycle is entered, and steps 1-3 are repeated for the second time. When step 1 is repeated for the second time, the first processing module processes the drilling fluid for the first time according to the color characteristics, bubble movement trajectory and particle settling velocity obtained in the first cycle and the color characteristics obtained in the second cycle; when steps 2 and 3 are repeated for the second time, the steps are the same as those of the first cycle. When the particle settling velocity in step 3 is repeated for the second time and is still not within the preset range, an alarm is triggered and manual identification and monitoring are performed.
[0049] When the particle settling velocity during the second repetition of step 3 is within the preset range, the data of steps 1-3 in the first cycle and the second cycle are cleared.
[0050] Repeat steps 1-3 again to perform cyclic real-time monitoring.
[0051] Example 2
[0052] On the basis of the above embodiment, in step 1, the first processing module includes a first preprocessing module and a color processing module; step 1 also includes the following steps: Step 11, the first preprocessing module uses Gaussian filtering or median filtering to remove image noise of image information, enhances color contrast through a histogram, and converts the original RGB image into an HSV or Lab color space; Step 12, the color processing module is used to divide the color interval in HSV or Lab space, count the pixel distribution of each interval, generate a color histogram, and obtain the main components and distribution characteristics of the drilling fluid color through the color histogram; Step 13, the drilling fluid is treated for the first time according to the main components and distribution characteristics of the drilling fluid color. If the color is dark and the distribution is concentrated, the solid content is too high, and solid control equipment such as centrifuges and vibrating screens are used to reduce the solid content, and diluents such as clean water or low-solid drilling fluid are added to adjust the density of the drilling fluid; if the color deviates from the benchmark, when it is red, rust removers such as citric acid are added to treat iron ion pollution; when it is black / gray, check the mixing of drill cuttings and enhance the efficiency of solid control equipment.
[0053] In some embodiments, in step 2, the second processing module includes a second pre-processing module, a first marking module and a bubble processing module; step 2 also includes the following steps: Step 21, the second preprocessing module uses Gaussian filtering to eliminate image noise of the first continuous frame image information, enhances bubble contrast through histogram equalization, and distinguishes bubbles according to grayscale differences; Step 22, the first marking module is used to mark the centroid coordinates of each bubble respectively, and match the same target of each bubble in adjacent frames based on the Hungarian algorithm; Step 23, the bubble processing module obtains the acceleration of the bubble according to the displacement of the center of mass of the bubble of the same target in adjacent frames, and calculates the average diameter and aggregation state of the bubble according to the image analysis algorithm, and processes the drilling fluid for the second time according to the acceleration, average diameter and aggregation state. When the bubble acceleration is too high (such as due to excessive pump displacement causing increased turbulence), the shear thinning property of the drilling fluid needs to be improved. High molecular polymers (such as polyacrylamide) can be added to enhance the high viscosity characteristics of the annular fluid to reduce flow resistance, while maintaining a low viscosity state at the drill bit nozzle.
[0054] When the bubble acceleration is abnormal, it may reflect that the flow rate does not match the wellbore size. The turbulence can be reduced by reducing the pump displacement or adjusting the nozzle diameter, and large bubbles can be treated preferentially through a liquid-gas separator (such as a vacuum degasser).
[0055] Small diameter bubbles (<1 / 16 inch): Use silicone defoamers to reduce liquid film stability and combine with vacuum degassers to enhance the floating efficiency of small bubbles.
[0056] Large diameter bubbles (1 / 9 to 1 inch): Rapidly separated by a liquid-gas separator, and the concentration of the foaming agent is controlled (such as reducing the amount of surfactant added) to avoid excessive generation of large bubbles.
[0057] In the aggregation state, if it is high-density foam, increase the defoamer concentration or switch to a high-activity type (such as mineral oil defoamer containing hydrophobic particles); if it is low-density intermittent foam: use a slow-release defoamer (such as polyether) and reduce the frequency of addition by extending the anti-foaming time.
[0058] In some embodiments, in step 3, the third processing module includes a third pre-processing module, a second marking module and a particle processing module, and step 3 further includes the following steps: Step 31, the third preprocessing module uses Gaussian filtering to eliminate image noise of the second continuous frame image information, enhances particle contrast through histogram equalization, and distinguishes particles according to grayscale differences; Step 32, the second marking module is used to mark the centroid coordinates of each particle respectively, and match the same target of each particle in adjacent frames based on the Hungarian algorithm; Step 33, the particle processing module calculates the centroid displacement of the particles of the same target in adjacent frames to obtain the particle settling velocity, and processes the drilling fluid for the third time according to the particle settling velocity. Specifically, the particle settling velocity can be slowed down by adding water-soluble polymers (such as polyacrylamide PAM) or increasing the solid phase dispersion. For example, for every 0.1% increase in the concentration of the PAM solution, the settling velocity decreases by an average of 0.05 mm. Use equipment such as vibrating screens and cyclone desanders to remove harmful solid phases, or add clean water for dilution to reduce the driving force for particle settling.
[0059] Example 3
[0060] On the basis of the above embodiment, the annular multi-spectral light source structure includes a first connecting ring 3 and a circular plate which are arranged concentrically. The upper end surface of the first connecting ring 3 is concentrically connected to the first camera 1 through a connecting rod 10. Figure 2 As shown, the lens of the first camera 1 is located on the inner circle of the first connecting ring 3; The circular plate is located between the first connecting ring 3 and the first camera 1. The circular plate includes a plurality of third connecting members 5 that can form a circle. The surface of the third connecting member 5 that contacts the lens of the first camera 1 is provided with a first cleaning layer. The second camera 2 is provided on the surface of the third connecting member 5 opposite to the first cleaning layer. The action member includes a second connecting ring 4 sleeved outside the first connecting ring 3. The second connecting ring 4 can rotate circumferentially on the first connecting ring 3. An action rod 6 is hingedly connected between the second connecting ring 4 and the third connecting member 5. One end of the third connecting member 5 is hingedly connected to the first connecting ring 3. The second connecting ring 4 rotates to drive the third connecting member 5 to close or open the inner ring of the first connecting ring 3 through the action rod 6. The upper end surfaces of the first connecting ring 3 and the second connecting ring 4 are provided with a second cleaning layer for cleaning the second camera 2.
[0061] When the third connecting member 5 closes the inner ring of the first connecting ring 3, as shown in FIG. Figure 3As shown, a plurality of third connecting members 5 form a circle, and the first cleaning layer of the third connecting member 5 is in contact with the lens of the first camera 1, the second camera on the lower end surface of the third connecting member 5 is in contact with the second cleaning layer on the upper end surface of the first connecting ring 3 and the second connecting ring 4, and the first cleaning layer and the second cleaning layer respectively complete the cleaning of the first camera and the second camera.
[0062] When the third connecting member 5 opens the inner ring of the first connecting ring 3, as shown in FIG. Figure 4 As shown, the second connecting ring 4 rotates circumferentially, and the second connecting ring 4 drives one end of the action rod 6 to move during the process, and the other end of the action rod 6 drives the third connecting member 5 to rotate. When the third connecting member 5 opens the inner ring of the first connecting ring 3, as shown in FIG. Figure 5 As shown, the third connecting member 5 and the ultraviolet band light source 8 are arranged on the lower end surface of the first connecting ring 3. The visible light source 9 is arranged on the lower end surface of the second connecting ring 4. The near infrared light source 7 is arranged on the lower end of the third connecting member 5. When the third connecting member 5 opens the inner ring of the first connecting ring 3, the second camera 2 on the lower end surface of the third connecting member 5 is exposed, and the lens of the first camera 1 is exposed at the inner ring of the first connecting ring 3.
[0063] When in use, different light sources are provided by a near-infrared light source 7, an ultraviolet light source 8 and a visible light source 9, and the lenses of the first camera 1 and the second camera 2 are cleaned quickly and conveniently by rotating the second connecting ring 4, thereby improving the use efficiency.
[0064] The terms "first", "second", "third", etc. used herein are only used to distinguish the corresponding components for the sake of clarity of description, and are not intended to limit any order or emphasize importance, etc. In addition, the term "connected" used herein, unless otherwise specified, may refer to direct connection or indirect connection via other components.
[0065] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A drilling fluid identification system based on image recognition, characterized in that: It comprises an annular multi-spectral light source structure, a first camera (1), a second camera (2), a first processing module, a second processing module and a third processing module; The annular multi-spectral light source structure comprises a plurality of visible light sources (9), a plurality of near-infrared light sources (7) and a plurality of ultraviolet light sources (8); The first camera (1) is used to obtain first continuous frame image information of the drilling fluid under a visible light source (9), and to obtain second continuous frame image information of the drilling fluid under a near-infrared light source (7); The second camera (2) is used to obtain static image information of the drilling fluid under the ultraviolet light source (8); The first processing module is used to obtain the color characteristics of the drilling fluid according to the static image information, and process the drilling fluid for the first time according to the color characteristics of the drilling fluid; The second processing module is used to obtain the bubble movement trajectory of the drilling fluid according to the first continuous frame image information of the drilling fluid after processing the drilling fluid for the first time, and process the drilling fluid for the second time according to the bubble movement trajectory of the drilling fluid; The third processing module is used to obtain the particle settling velocity according to the second continuous frame image information of the drilling fluid after processing the drilling fluid for the second time, and process the drilling fluid for the third time according to the particle settling velocity.
2. A drilling fluid identification system based on image recognition according to claim 1, characterized in that: The second camera (2) acquires static image information, the first camera (1) acquires first continuous frame image information, and the first camera (1) acquires second continuous frame image information, which constitutes a cycle period. In a cycle period, the time for the second camera (2) to acquire static image information, the time for the first camera (1) to acquire first continuous frame image information, and the time for the first camera (1) to acquire second continuous frame image information increases in sequence.
3. A drilling fluid identification system based on image recognition according to claim 2, characterized in that: Within a cycle, the third processing module obtains the particle settling velocity based on the second continuous frame image information of the drilling fluid. If the particle settling velocity is within a preset range, then within the cycle, the color features, bubble movement trajectories and particle settling velocity information obtained by the first processing module, the second processing module and the third processing module are cleared and enter the next cycle.
4. The drilling fluid identification system based on image recognition according to claim 2, characterized in that: In one cycle, the third processing module obtains the particle settling velocity according to the second continuous frame image information of the drilling fluid. If the particle settling velocity is within the preset range, the next cycle is entered. In the next cycle, the first processing module processes the drilling fluid for the first time according to the color features, bubble motion trajectory and particle settling velocity obtained in the previous cycle and the color features obtained in the current cycle; In the next cycle, the third processing module obtains the particle settling velocity according to the second continuous frame image information of the drilling fluid, and triggers an alarm if the particle settling velocity is within an unpredictable range.
5. The drilling fluid identification system based on image recognition according to claim 1, characterized in that: The annular multi-spectral light source structure comprises a first connecting ring (3) and a circular plate which are arranged concentrically, wherein the upper end surface of the first connecting ring (3) is concentrically connected to the first camera (1), and the lens of the first camera (1) is located in the inner ring of the first connecting ring (3); the circular plate is located between the first connecting ring (3) and the first camera (1), and the circular plate comprises a plurality of third connecting members (5) which can form a circle, a first cleaning layer being arranged on the surface where the third connecting member (5) and the lens of the first camera (1) contact each other, and the second camera (2) is arranged on the surface of the third connecting member (5) opposite to the first cleaning layer; An operating member is provided between the third connecting member (5) and the first connecting ring (3), and the operating member drives the third connecting member (5) to rotate to close or open the inner ring of the first connecting ring (3); When the third connecting member (5) closes the inner ring of the first connecting ring (3), the first cleaning layer of the third connecting member (5) and the lens of the first camera (1) are in contact with each other, and a plurality of the third connecting members (5) form a circle; When the third connecting member (5) opens the inner ring of the first connecting ring (3), the lens of the first camera (1) is used to obtain first continuous frame image information or second continuous frame image information.
6. The drilling fluid identification system based on image recognition according to claim 5, characterized in that: The acting member comprises a second connecting ring (4) sleeved outside the first connecting ring (3); the second connecting ring (4) is circumferentially rotatable on the first connecting ring (3); an acting rod (6) is hingedly connected between the second connecting ring (4) and a third connecting member (5); one end of the third connecting member (5) is hingedly connected to the first connecting ring (3); the second connecting ring (4) rotates to drive the third connecting member (5) to close or open the inner ring of the first connecting ring (3) through the acting rod (6).
7. The drilling fluid identification system based on image recognition according to claim 6, characterized in that: A second cleaning layer for cleaning the second camera (2) is provided on the upper end surfaces of the first connecting ring (3) and the second connecting ring (4).
8. The drilling fluid identification system based on image recognition according to claim 6, characterized in that: The ultraviolet band light source (8) is arranged on the lower end surface of the first connecting ring (3).
9. The drilling fluid identification system based on image recognition according to claim 6, characterized in that: The visible light source (9) is arranged on the lower end surface of the second connecting ring (4).
10. The drilling fluid identification system based on image recognition according to claim 6, characterized in that: The near-infrared light source (7) is arranged on the lower end of the third connecting member (5).
Citation Information
Patent Citations
Stratum lithology identification while drilling method based on image detection
CN116935061A
Drilling fluid detection image recognition and analysis method
CN116935297A
Correction for Cuttings Lag
US20230144743A1
Cited By
Bubble detection, tracking and parameter quantification method and device based on improved YOLOv8
CN121884078A