CN117541583B - Drill rod corrosion monitoring method and system for explosion-proof monitoring system - Google Patents
Drill rod corrosion monitoring method and system for explosion-proof monitoring system Download PDFInfo
- Publication number
- CN117541583B CN117541583B CN202410027546.XA CN202410027546A CN117541583B CN 117541583 B CN117541583 B CN 117541583B CN 202410027546 A CN202410027546 A CN 202410027546A CN 117541583 B CN117541583 B CN 117541583B
- Authority
- CN
- China
- Prior art keywords
- corrosion
- drill rod
- area
- pixel
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005260 corrosion Methods 0.000 title claims abstract description 174
- 230000007797 corrosion Effects 0.000 title claims abstract description 173
- 238000012544 monitoring process Methods 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000002159 abnormal effect Effects 0.000 claims abstract description 43
- 239000000463 material Substances 0.000 claims abstract description 38
- 230000011218 segmentation Effects 0.000 claims abstract description 20
- 238000001514 detection method Methods 0.000 claims abstract description 11
- 230000000739 chaotic effect Effects 0.000 claims abstract description 6
- 238000000605 extraction Methods 0.000 claims abstract description 5
- 238000007781 pre-processing Methods 0.000 claims abstract description 4
- 230000007547 defect Effects 0.000 claims description 11
- 238000004880 explosion Methods 0.000 claims description 6
- 238000012549 training Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000005553 drilling Methods 0.000 abstract description 11
- 230000001186 cumulative effect Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 238000009826 distribution Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OYPRJOBELJOOCE-UHFFFAOYSA-N Calcium Chemical compound [Ca] OYPRJOBELJOOCE-UHFFFAOYSA-N 0.000 description 1
- BVKZGUZCCUSVTD-UHFFFAOYSA-L Carbonate Chemical compound [O-]C([O-])=O BVKZGUZCCUSVTD-UHFFFAOYSA-L 0.000 description 1
- VEXZGXHMUGYJMC-UHFFFAOYSA-M Chloride anion Chemical compound [Cl-] VEXZGXHMUGYJMC-UHFFFAOYSA-M 0.000 description 1
- RWSOTUBLDIXVET-UHFFFAOYSA-N Dihydrogen sulfide Chemical compound S RWSOTUBLDIXVET-UHFFFAOYSA-N 0.000 description 1
- FYYHWMGAXLPEAU-UHFFFAOYSA-N Magnesium Chemical compound [Mg] FYYHWMGAXLPEAU-UHFFFAOYSA-N 0.000 description 1
- PMZURENOXWZQFD-UHFFFAOYSA-L Sodium Sulfate Chemical compound [Na+].[Na+].[O-]S([O-])(=O)=O PMZURENOXWZQFD-UHFFFAOYSA-L 0.000 description 1
- 239000002253 acid Substances 0.000 description 1
- 150000007513 acids Chemical class 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 229910052791 calcium Inorganic materials 0.000 description 1
- 239000011575 calcium Substances 0.000 description 1
- UBAZGMLMVVQSCD-UHFFFAOYSA-N carbon dioxide;molecular oxygen Chemical compound O=O.O=C=O UBAZGMLMVVQSCD-UHFFFAOYSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005530 etching Methods 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 229910000037 hydrogen sulfide Inorganic materials 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 229910052749 magnesium Inorganic materials 0.000 description 1
- 239000011777 magnesium Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 150000003839 salts Chemical class 0.000 description 1
- 229910052938 sodium sulfate Inorganic materials 0.000 description 1
- 235000011152 sodium sulphate Nutrition 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/762—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/08—Probabilistic or stochastic CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- Testing Resistance To Weather, Investigating Materials By Mechanical Methods (AREA)
Abstract
The invention relates to the field of drilling monitoring, in particular to a drill rod corrosion monitoring method and system for an explosion-proof monitoring system, wherein the method comprises the following steps: acquiring a video stream of a drill rod, performing frame extraction and preprocessing to obtain a gray image of the drill rod, acquiring a real-time gray image, putting the real-time gray image into a target detection model, and performing threshold segmentation to obtain a drill rod region image to obtain a corrosion region; calculating the chaotic degree of the corrosion area to obtain a corrosion index; clustering the corrosion areas, and determining optimal clustering and corrosion degree by using profile coefficients according to clustering results; and constructing a finite element analysis model based on the abnormal range, updating the material property, uploading the monitoring system, and adjusting the working state of the drill rod. According to the method, the degree of confusion of the pixel values of the corrosion area is calculated, the higher the degree of confusion is, the greater the corrosion degree is, the denser the corrosion area is distributed, the greater the corrosion index is, the abnormal range is used for monitoring, and the early warning is carried out in advance to reduce the broken rod accident.
Description
Technical Field
The present invention relates generally to the field of well monitoring. More particularly, the invention relates to a drill rod corrosion monitoring method and system for an explosion-proof monitoring system.
Background
Drill pipe is drill pipe used in drilling engineering for oil, gas or geological exploration. These drill pipes are long pipes made of metal that are joined together to form a long, solid pipe for mining or investigating the formation at a destination underground; drill pipe is a critical component in drilling engineering, and its design and choice depends on the specific exploration or production requirements, as well as the geological conditions.
The drilling platform needs to monitor the safety of drilling operation, equipment running condition and working environment in real time, the drilling platform is usually in an environment easy to explode due to the severe drilling environment, the explosion-proof television is usually waterproof, anti-corrosion and durable, can stably run for a long time in severe industrial environment and has strong capability of resisting severe environment and electromagnetic interference, and the explosion-proof television has remote operation and monitoring functions, so that monitoring can be remotely performed, and operators can monitor and control at safe positions.
The drilling rod is the consumable in the drilling process, once the drilling rod breaks in the pit, can cause production delay, increases manufacturing cost, and the prior art often is through artifical periodic extraction inspection, unable sample experiment only relies on staff's experience to judge, and subjectivity is stronger, leads to broken pole accident emergence.
Disclosure of Invention
In order to solve one or more of the above technical problems, the present invention proposes to monitor the quality of the drill rod, and remind the relevant staff when the quality of the drill rod does not meet the production requirement of the working environment.
In a first aspect, a drill pipe corrosion monitoring method for an explosion protection monitoring system, comprising: acquiring a video stream of a drill rod, performing frame extraction on the video stream and preprocessing the video stream to obtain a gray image of the drill rod; collecting a plurality of historical gray images, marking a drill rod region in the historical gray images, putting the plurality of gray images carrying the marked region into a preset target detection model for training to obtain a target detection model of the drill rod region, and putting the acquired real-time gray images into the target detection model to obtain a drill rod region image; threshold segmentation is carried out according to the drill rod region image, so that a defect segmentation image is obtained, wherein a foreground target of the defect segmentation image is a corrosion region; calculating the number and the duty ratio of the pixel points of the corrosion area and the chaotic degree of the pixel values of the corrosion area to obtain the corrosion index of the corrosion area; performing mean value clustering according to the corrosion area, calculating the mean value of all pixel point position coordinates in the corrosion area to obtain a center point of the corrosion area, and calculating the clustering distance between the center points of any two corrosion areas according to the corrosion index and the center point; obtaining a clustering result according to the clustering distance, updating the number of clustering clusters according to the clustering result by using a contour coefficient, determining an optimal clustering result, determining an abnormal range according to the optimal clustering result, wherein one clustering cluster corresponds to one abnormal range, and determining the corrosion degree of the abnormal range according to the abnormal range; based on the abnormal range containing area and position information, a finite element analysis model is constructed, drill rod materials of each corrosion grade are collected, the properties of the drill rod materials of different corrosion grades are obtained, the material properties of the finite element model are updated according to the drill rod materials of different corrosion grades, the updated finite element model is synchronously uploaded to a television monitoring system, and the working state of the drill rod is adjusted according to the abnormal range.
In one embodiment, performing threshold segmentation according to the drill rod region image to obtain a defect segmentation image, including:
and performing threshold segmentation by using an Ojin method to obtain a pixel value of a corrosion area and a pixel value of a drill rod area, marking the pixel point of the corrosion area as 1, marking the pixel point of the drill rod area as 0, obtaining a 0/1 image, and multiplying the drill rod area image by the 0/1 image to obtain a defect segmentation image.
By adopting the technical scheme, the number of pixels of each gray level in the gray level image is counted to obtain a histogram, the histogram is normalized, namely, the number of pixels is divided by the total number of pixels to obtain the probability of each gray level, the cumulative distribution of the probabilities, namely, the cumulative probability, is calculated, the total average gray level, namely, the sum of the probabilities multiplied by each gray level, is calculated, each possible threshold value is traversed, the probability of two classes, the average gray level and the intra-class variance are calculated for each threshold value, the definition of the inter-class variance is used, the inter-class variance is calculated through the probability and the average gray level, and the threshold value with the maximum inter-class variance is selected as the optimal threshold value for binarization of the image.
In one embodiment, the corrosion index satisfies the following polynomial:
wherein,indicating corrosion index>Representing the number of pixel points in the corrosion area, < +.>Indicating the%>Pixel value of each pixel, +.>Representing pixel value +.>The proportion in the corrosion zone, +.>Representing mean calculation->Mean value of pixel values representing pixels of the drill pipe region, +.>A degree of confusion of pixel values representing the corroded area, < ->Is an etching areaPixel value set of +.>Representing a normalization function->A maximum value indicating a degree of confusion of the pixel values;
and traversing all the corrosion areas to obtain the corrosion indexes of all the corrosion areas.
By adopting the technical scheme, the degree of confusion of the pixel values of the corrosion area is calculated, the higher the degree of confusion is, the more serious the corrosion area is corroded, and meanwhile, the greater the area is, the more serious the corrosion area is corroded according to the size of the corrosion area.
In one embodiment, the average value of the coordinates of all pixel points in the corrosion area is calculated to obtain a center point of the corrosion area, and the center point satisfies the following polynomial:
wherein,represents the abscissa of the center point, +.>Represents the ordinate of the center point, +.>Indicating the%>The abscissa of the pixel point, +.>Indicating the%>Ordinate of pixel point, +.>The number of pixel points in the corrosion area is represented,the representation value is an integer.
In one embodiment, a cluster distance between any two corrosion areas is calculated according to the corrosion index and the center point of the corrosion areas, wherein the cluster distance satisfies the following relation:
wherein,representing the cluster distance->Indicating corrosion index>Represents the center point of a central corrosion zone, < >>Represents the center point of an other corrosion zone, < >>Respectively by->And calculating a polynomial.
By adopting the technical scheme, the corrosion range is judged through the clustering distance of the corrosion area, the more densely the corrosion area is distributed, the greater the corrosion index is, the poorer the toughness of the drill rod in the area is caused, and the drill rod is more easily broken when the drill rod is subjected to external force.
In one embodiment, collecting drill pipe materials of each corrosion grade to obtain properties of drill pipe materials of different corrosion grades, updating material properties of a finite element model according to the drill pipe materials of different corrosion grades, including:
according to the area and position information of the abnormal range, inputting a gray level image of the abnormal range into a finite element analysis model, wherein each basic element corresponds to stress and strain information received by a drill rod and the material property of the drill rod;
and updating the drill rod material properties of basic elements in the finite element analysis model according to the elastic modulus and the yield strength of the drill rods with different corrosion grades, wherein the drill rod material properties comprise: corrosion grade, degree of corrosion, yield strength, tensile strength, elongation, hardness data.
In one embodiment, the updated finite element model is synchronously uploaded to a television monitoring system, and the working state of the drill rod is adjusted based on the abnormal range, which comprises the following steps:
and when the stress and strain information data in response to the abnormal range exceeds the standard stress and strain range of the drill rod material, reminding related workers to stop the drill rod in real time.
In a second aspect, a drill pipe corrosion monitoring system for an explosion protection monitoring system, comprising: a processor and a memory storing computer program instructions which, when executed by the processor, implement any of the drill pipe corrosion monitoring methods for an explosion protection monitoring system.
The application has the following effects:
1. according to the method, the abnormal range is judged by calculating the chaotic degree of the pixel value of the corrosion area, the higher the chaotic degree is, the more serious the corroded area is corroded, the more densely distributed the corrosion area is, the greater the corrosion index is, the worse the toughness of the drill rod in the area is caused, the abnormal range is monitored, and the early warning is carried out in advance to reduce the broken rod accident.
2. According to the method, the finite element model is constructed, the abnormal range in the gray level image is input into the finite element analysis model, the data of the basic elements in the finite element model are updated continuously, the corresponding strain and stress data are output, and the television monitoring system is utilized to prompt related personnel to overhaul and replace in time.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. In the drawings, embodiments of the invention are illustrated by way of example and not by way of limitation, and like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 is a flow chart of a method for steps S1-S7 in a drill pipe corrosion monitoring method for an explosion-proof monitoring system according to an embodiment of the present application.
FIG. 2 is a flow chart of a method for steps S50-S51 in a drill pipe corrosion monitoring method for an explosion-proof monitoring system according to an embodiment of the present application.
FIG. 3 is a flow chart of a method of steps S70-S72 in a drill pipe corrosion monitoring method for an explosion-proof monitoring system according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a drill rod corrosion monitoring method for an explosion-proof monitoring system includes steps S1-S7, specifically as follows:
s1: and obtaining a video stream of the drill rod, performing frame extraction on the video stream and preprocessing the video stream to obtain a gray level image of the drill rod.
By placing three cameras with an included angle of 120 degrees at the same horizontal height on a drilling platform, shooting video stream of the drill rod when the drill rod is pulled out of the ground every time, obtaining RGB images of the drill rod frame by frame, converting the RGB images of the drill rod into gray images, each camera corresponds to a part of gray image, splicing the gray images extracted by the three cameras, and eliminating the same part in the images to obtain gray images for subsequent processing.
S2: collecting a plurality of historical gray images, marking a drill rod region in the historical gray images, putting the plurality of gray images carrying the marked region into a preset target detection model for training to obtain a target detection model of the drill rod region, and obtaining a real-time gray image to be put into the target detection model to obtain the drill rod region image.
Illustratively, marking the drill pipe region on the historical gray level image, and putting a YOLOv5 (You Only Look Once version 5) model into training to obtain a target detection model of the drill pipe region. And inputting the real-time gray level image, obtaining a target frame of the target drill rod region, reserving the target frame region, and recording the target frame region as the drill rod image.
S3: and carrying out threshold segmentation according to the drill rod region image to obtain a defect segmentation image, wherein the foreground target of the defect segmentation image is a corrosion region.
And (3) performing threshold segmentation by using an Ojin method to obtain a pixel value of the corrosion area and a pixel value of the drill rod area, marking the pixel point of the corrosion area as 1, marking the pixel point of the drill rod area as 0, obtaining a 0/1 image, and multiplying the drill rod area image by the 0/1 image to obtain a defect segmentation image.
In this embodiment, the method includes dividing the spliced gray level images by using an oxford thresholding method, counting the number of pixels of each gray level in the gray level images to obtain a histogram, normalizing the histogram, that is, dividing the number of pixels by the total number of pixels to obtain the probability of each gray level, calculating the cumulative distribution of the probabilities, that is, the cumulative probability, calculating the total average gray level, that is, multiplying each gray level by the sum of the probabilities thereof, traversing each possible threshold, calculating the probability of two classes, the average gray value and the intra-class variance for each threshold, calculating the inter-class variance by using the definition of the inter-class variance through the probability and the average gray value, selecting the threshold with the maximum inter-class variance as the optimal threshold for binarization of the images, and obtaining the images containing corrosion points and the images not containing corrosion points in the gray level images.
S4: and calculating the number and the duty ratio of the pixel points of the corrosion area and the chaotic degree of the pixel values of the corrosion area to obtain the corrosion index of the corrosion area.
The corrosion index satisfies the following polynomial:
wherein,indicating corrosion index>Representing the number of pixel points in the corrosion area, < +.>Indicating the%>Pixel value of each pixel, +.>Representing pixel value +.>The proportion in the corrosion zone, +.>Representing mean calculation->Mean value of pixel values representing pixels of the drill pipe region, +.>A degree of confusion of pixel values representing the corroded area, < ->For a set of pixel values of the eroded region, +.>Representing a normalization function->A maximum value indicating a degree of confusion of the pixel values;
illustratively, the higher the degree of confusion, the greater the degree of corrosion, the greater the size of the corrosion zone affecting the toughness and strength of the drill pipe in that zone, indicating that the greater the degree of corrosion in that corrosion zone;
because the drill rod is corroded by oxygen, carbon dioxide, hydrogen sulfide, dissolved salts (chloride, carbonate, sodium sulfate, calcium, magnesium), various acids and the like in the stratum underground, corrosion areas with different sizes exist on the drill rod, the denser the distribution of the corrosion areas is, the larger the corrosion index is, the poorer the toughness of the drill rod in the areas is, the easier the drill rod is broken when the drill rod is subjected to external force, an abnormal range needs to be constructed, the service life of the drill rod is influenced by the abnormal range, and the abnormal range comprises a plurality of corrosion areas.
And traversing all the corrosion areas to obtain the corrosion indexes of all the corrosion areas.
S5: the method comprises the steps of carrying out mean value clustering according to the corrosion area, calculating the mean value of coordinates of all pixel points in the corrosion area to obtain a center point of the corrosion area, and calculating the clustering distance between the center points of any two corrosion areas according to the corrosion index and the center point, wherein the method comprises the following steps S50-S51:
s50: calculating the center point of the corrosion area satisfies the following polynomial:
wherein,represents the abscissa of the center point, +.>Represents the ordinate of the center point, +.>Indicating the%>The abscissa of the pixel point, +.>Indicating the%>Ordinate of pixel point, +.>The number of pixel points in the corrosion area is represented,the representation value is an integer.
S51: calculating the clustering distance between the central points of any two corrosion areas to meet the following relation:
wherein,representing the cluster distance->Indicating corrosion index>Represents the center point of a central corrosion zone, < >>Represents the center point of an other corrosion zone, < >>Respectively by->And calculating a polynomial.
Illustratively, the abnormal range is determined by calculating the distance of each corrosion region such that the corrosion index is weighted, and determining the cluster center point.
S6: obtaining a clustering result according to the clustering distance, updating the number of the clustering clusters according to the clustering result by using a contour coefficient, determining an optimal clustering result, determining an abnormal range according to the optimal clustering result, wherein one clustering cluster corresponds to one abnormal range, and determining the corrosion degree of the abnormal range according to the abnormal range.
And calculating the average value of the corrosion indexes of all the corrosion areas in the abnormal range to obtain the corrosion degree.
Exemplary, K-means (mean clustering) clustering is used, an initial K value is set to be 2, K value is updated by adding 1, contour coefficients are used for verification, the contour coefficients are calculated based on similarity among data points and compactness of clusters, and the range of the contour coefficients is as followsAnd when the contour coefficient approaches to 1, completing clustering, and outputting clustering results, wherein each clustering result corresponds to an abnormal range.
S7: based on the abnormal range containing area and position information, constructing a finite element analysis model, collecting drill rod materials of each corrosion grade to obtain the properties of the drill rod materials of different corrosion grades, updating the material properties of the finite element model according to the drill rod materials of different corrosion grades, synchronously uploading the updated finite element model to a television monitoring system, and adjusting the working state of the drill rod based on the abnormal range, referring to fig. 3, the method comprises the following steps of S70-S72:
s70: according to the area and position information of the abnormal range, inputting a gray level image of the abnormal range into a finite element analysis model, wherein each basic element corresponds to stress and strain information received by a drill rod and the material property of the drill rod;
exemplary, drill pipe material property experiments are performed, the drill pipe materials of each corrosion grade are collected based on the corrosion degree, the drill pipe materials of each corrosion grade are divided into 10 corrosion grades, the material properties of the drill pipe materials corresponding to different corrosion grades are experimentally measured, for example, the corrosion grades are in a first grade, and the range of the corrosion degrees isThe parameters of yield strength, tensile strength, elongation and hardness are 405 MPa, 613 MPa, 19% and 196HB, respectively, the corrosion level is two-stage, and the range of corrosion level is ≡>Parameters of 382 MPa for yield strength, 588 MPa for tensile strength, 18% for elongation and 190HB for hardness, and so on, ten grades corresponding to a degree of corrosion of +.>And adjusting the data according to the actual situation.
S71: and updating the drill rod material properties of the basic elements in the finite element analysis model according to the elastic modulus and the yield strength of the drill rods with different corrosion grades, wherein the drill rod material properties comprise: corrosion grade, degree of corrosion, yield strength, tensile strength, elongation, hardness data.
Exemplary, the update manner is: based on the abnormal ranges contained in the complete gray level image, each abnormal range corresponds to one corrosion grade, the yield strength, tensile strength, elongation and hardness data in all basic elements contained in the abnormal range are updated into the yield strength, tensile strength, elongation and hardness data corresponding to the corrosion grade, and the strain and stress data corresponding to the range are output.
S72: and when the stress and strain information data in response to the abnormal range exceeds the standard stress and strain range of the drill rod material, reminding related workers to stop the drill rod in real time.
The system comprises a processor and a memory storing computer program instructions which, when executed by the processor, implement a drill pipe corrosion monitoring method for an explosion protection monitoring system according to the first aspect of the invention.
The system further comprises other components known to those skilled in the art, such as communication buses and communication interfaces, the arrangement and function of which are known in the art and therefore will not be described in detail herein.
In the context of this patent, the foregoing memory may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, the computer readable storage medium may be any suitable magnetic or magneto-optical storage medium, such as, for example, resistance change Memory RRAM (Resistive Random Access Memory), dynamic Random Access Memory DRAM (Dynamic Random Access Memory), static Random Access Memory SRAM (Static Random-Access Memory), enhanced dynamic Random Access Memory EDRAM (Enhanced Dynamic Random Access Memory), high-Bandwidth Memory HBM (High-Bandwidth Memory), hybrid storage cube HMC (Hybrid Memory Cube), etc., or any other medium that may be used to store the desired information and that may be accessed by an application, a module, or both. Any such computer storage media may be part of, or accessible by, or connectable to, the device.
In the description of the present specification, the meaning of "a plurality", "a number" or "a plurality" is at least two, for example, two, three or more, etc., unless explicitly defined otherwise.
While various embodiments of the present invention have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Many modifications, changes, and substitutions will now occur to those skilled in the art without departing from the spirit and scope of the invention. It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention.
Claims (6)
1. A drill pipe corrosion monitoring method for an explosion-proof monitoring system, comprising:
acquiring a video stream of a drill rod, performing frame extraction on the video stream and preprocessing the video stream to obtain a gray image of the drill rod;
collecting a plurality of historical gray images, marking a drill rod region in the historical gray images, putting the plurality of gray images carrying the marked region into a preset target detection model for training to obtain a target detection model of the drill rod region, and putting the acquired real-time gray images into the target detection model to obtain a drill rod region image;
threshold segmentation is carried out according to the drill rod region image, so that a defect segmentation image is obtained, wherein a foreground target of the defect segmentation image is a corrosion region;
calculating the number and the duty ratio of the pixel points of the corrosion area and the chaotic degree of the pixel values of the corrosion area to obtain the corrosion index of the corrosion area;
performing mean value clustering according to the corrosion area, calculating the mean value of all pixel point position coordinates in the corrosion area to obtain a center point of the corrosion area, and calculating the clustering distance between the center points of any two corrosion areas according to the corrosion index and the center point;
obtaining a clustering result according to the clustering distance, updating the number of clustering clusters according to the clustering result by using a contour coefficient, determining an optimal clustering result, determining an abnormal range according to the optimal clustering result, wherein one clustering cluster corresponds to one abnormal range, and determining the corrosion degree of the abnormal range according to the abnormal range;
constructing a finite element analysis model based on the abnormal range containing area and position information, collecting drill rod materials of each corrosion grade, obtaining the properties of the drill rod materials of different corrosion grades, updating the material properties of the finite element model according to the drill rod materials of different corrosion grades, synchronously uploading the updated finite element model to a television monitoring system, and adjusting the working state of the drill rod according to the abnormal range;
threshold segmentation is carried out according to the drill rod region image to obtain a defect segmentation image, wherein the method comprises the following steps: threshold segmentation is carried out by using an Ojin method to obtain a pixel value of a corrosion area and a pixel value of a drill rod area, the pixel point of the corrosion area is marked as 1, the pixel point of the drill rod area is marked as 0, a 0/1 image is obtained, and a defect segmentation image is obtained by multiplying the drill rod area image with the 0/1 image;
the corrosion index satisfies the following polynomial:
wherein,indicating corrosion index>Representing the number of pixel points in the corrosion area, < +.>Indicating the%>Pixel value of each pixel, +.>Representing pixel value +.>The proportion in the corrosion zone, +.>Representing mean calculation->Mean value of pixel values representing pixels of the drill pipe region, +.>A degree of confusion of pixel values representing the corroded area, < ->For a set of pixel values of the eroded region, +.>Representing a normalization function->A maximum value indicating a degree of confusion of the pixel values;
and traversing all the corrosion areas to obtain the corrosion indexes of all the corrosion areas.
2. The drill rod corrosion monitoring method for an explosion-proof monitoring system according to claim 1, wherein a mean value of coordinates of all pixel points in the corrosion area is calculated to obtain a center point of the corrosion area, and the center point satisfies the following polynomial:
wherein,cross seat representing center pointMark (I) of->Represents the ordinate of the center point, +.>Indicating the%>The abscissa of the pixel point, +.>Indicating the%>Ordinate of pixel point, +.>Representing the number of pixel points in the corrosion area, < +.>The representation value is an integer.
3. The drill rod corrosion monitoring method for an explosion-proof monitoring system according to claim 2, wherein a clustering distance between center points of any two corrosion areas is calculated according to the corrosion index and the center points, and the clustering distance satisfies the following relation:
wherein,representing the cluster distance->Indicating corrosion index>Representing the center point of a center corrosion zone,represents the center point of an other corrosion zone, < >>Respectively by->And calculating a polynomial.
4. The drill pipe corrosion monitoring method for an explosion-proof monitoring system according to claim 1, wherein collecting drill pipe materials of each corrosion grade to obtain properties of drill pipe materials of different corrosion grades, updating material properties of a finite element model according to the drill pipe materials of different corrosion grades, comprises:
according to the area and position information of the abnormal range, inputting a gray level image of the abnormal range into a finite element analysis model, wherein each basic element corresponds to stress and strain information received by a drill rod and the material property of the drill rod;
and updating the drill rod material properties of basic elements in the finite element analysis model according to the elastic modulus and the yield strength of the drill rods with different corrosion grades, wherein the drill rod material properties comprise: corrosion grade, degree of corrosion, yield strength, tensile strength, elongation, hardness data.
5. The drill pipe corrosion monitoring method for an explosion-proof monitoring system according to claim 1, wherein the step of synchronously uploading the updated finite element model to a television monitoring system and adjusting the operating state of the drill pipe based on the abnormal range comprises:
and when the stress and strain information data in response to the abnormal range exceeds the standard stress and strain range of the drill rod material, reminding related workers to stop the drill rod in real time.
6. A drill pipe corrosion monitoring system for an explosion protection monitoring system, comprising: a processor and a memory storing computer program instructions which, when executed by the processor, implement the drill rod corrosion monitoring method for an explosion protection monitoring system according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410027546.XA CN117541583B (en) | 2024-01-09 | 2024-01-09 | Drill rod corrosion monitoring method and system for explosion-proof monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410027546.XA CN117541583B (en) | 2024-01-09 | 2024-01-09 | Drill rod corrosion monitoring method and system for explosion-proof monitoring system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117541583A CN117541583A (en) | 2024-02-09 |
CN117541583B true CN117541583B (en) | 2024-04-09 |
Family
ID=89786511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410027546.XA Active CN117541583B (en) | 2024-01-09 | 2024-01-09 | Drill rod corrosion monitoring method and system for explosion-proof monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117541583B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6131443A (en) * | 1999-08-04 | 2000-10-17 | Duncan; William P. | Corrosion monitor |
CN113689428A (en) * | 2021-10-25 | 2021-11-23 | 江苏南通元辰钢结构制造有限公司 | Mechanical part stress corrosion detection method and system based on image processing |
CN116939532A (en) * | 2023-09-18 | 2023-10-24 | 黑龙江伯安科技有限公司 | 5G-based communication tower remote monitoring system |
CN116958144A (en) * | 2023-09-20 | 2023-10-27 | 东莞市南谷第电子有限公司 | Rapid positioning method and system for surface defect area of new energy connecting line |
CN117237646A (en) * | 2023-11-15 | 2023-12-15 | 深圳市润海电子有限公司 | PET high-temperature flame-retardant adhesive tape flaw extraction method and system based on image segmentation |
-
2024
- 2024-01-09 CN CN202410027546.XA patent/CN117541583B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6131443A (en) * | 1999-08-04 | 2000-10-17 | Duncan; William P. | Corrosion monitor |
CN113689428A (en) * | 2021-10-25 | 2021-11-23 | 江苏南通元辰钢结构制造有限公司 | Mechanical part stress corrosion detection method and system based on image processing |
CN116939532A (en) * | 2023-09-18 | 2023-10-24 | 黑龙江伯安科技有限公司 | 5G-based communication tower remote monitoring system |
CN116958144A (en) * | 2023-09-20 | 2023-10-27 | 东莞市南谷第电子有限公司 | Rapid positioning method and system for surface defect area of new energy connecting line |
CN117237646A (en) * | 2023-11-15 | 2023-12-15 | 深圳市润海电子有限公司 | PET high-temperature flame-retardant adhesive tape flaw extraction method and system based on image segmentation |
Also Published As
Publication number | Publication date |
---|---|
CN117541583A (en) | 2024-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lei et al. | Mutual information based anomaly detection of monitoring data with attention mechanism and residual learning | |
DE112008003302B4 (en) | Methods and systems for estimating wellbore events | |
CN112348237B (en) | Abnormal trend detection method for dynamic drilling data | |
CN112949900B (en) | Reservoir dam safety information intelligent perception fusion early warning method and terminal equipment | |
CN115035256B (en) | Mine waste reservoir accident potential and risk evolution method and system | |
CN111881970A (en) | Intelligent outer broken image identification method based on deep learning | |
WO2016034945A2 (en) | Stuck pipe prediction | |
CN115082849B (en) | Intelligent template support safety monitoring method based on deep learning | |
CN111626169A (en) | Image-based railway dangerous falling rock size judgment method | |
CN116245412A (en) | On-spot safety monitoring management system of building engineering | |
CN115995056A (en) | Automatic bridge disease identification method based on deep learning | |
CN112329644A (en) | Reservoir water level monitoring method and system, medium and electronic terminal | |
CN117541583B (en) | Drill rod corrosion monitoring method and system for explosion-proof monitoring system | |
CN116524691A (en) | Hidden danger warning method and device for power transmission line, storage medium and computer equipment | |
CN108549713B (en) | Building monitoring method and system based on artificial intelligence and expert interaction | |
CN112507438B (en) | Slope rock mass deformation control method, computer program product and readable storage medium | |
CN117372629A (en) | Reservoir visual data supervision control system and method based on digital twinning | |
CN116579601B (en) | Mine safety production risk monitoring and early warning system and method | |
CN115063337A (en) | Intelligent maintenance decision-making method and device for buried pipeline | |
CN115455791B (en) | Method for improving landslide displacement prediction accuracy based on numerical simulation technology | |
CN115965625A (en) | Instrument detection device based on visual identification and detection method thereof | |
Myrans et al. | Using Automatic Anomaly Detection to Identify Faults in Sewers:(027) | |
CN115880629A (en) | Loading and unloading vehicle crane pipe state identification method and system | |
CN115345414A (en) | Method and system for evaluating information security of oil and gas pipeline industrial control network | |
CN115392089A (en) | Intelligent early warning method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |