PDC drill bit wear detection method and system based on multi-view 3D reconstruction

Through deep learning multi-view three-dimensional reconstruction technology, deep learning multi-view stereo matching and neural networks are used to solve the problem that two-dimensional images are difficult to accurately describe in PDC drill bit wear detection, and achieve efficient and accurate detection and positioning of drill bit wear.

CN117808794BActive Publication Date: 2024-09-24SOUTHWEST PETROLEUM UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410086404.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-22
Publication Date
2024-09-24
Estimated Expiration
2044-01-22

AI Technical Summary

Technical Problem

The existing PDC drill bit wear detection method relies on two-dimensional images, which is difficult to accurately describe the drill bit wear condition, and has problems such as large errors and low efficiency. Moreover, the traditional multi-view three-dimensional reconstruction structure lacks texture details, making it difficult to ensure the accuracy of wear detection.

Method used

A multi-view three-dimensional reconstruction method based on deep learning is used to obtain the PDC drill bit image, use the deep learning multi-view stereo matching method to obtain depth data, fuse the multi-scale features of the image to generate a feature point cloud, and use the neural network to cut the point cloud model. Regional positioning and registration, calculation of wear degree, output of wear location information and grade.

Benefits of technology

It improves the accuracy and efficiency of PDC drill bit wear detection, enhances three-dimensional reconstruction detail processing, and achieves precise positioning and efficient detection of drill bit wear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117808794B
    Figure CN117808794B
Patent Text Reader

Abstract

The present invention discloses a PDC drill bit wear detection method and system based on multi-view 3D reconstruction, the method comprising the following steps: S1: obtaining a worn PDC drill bit image; S2: using a deep learning multi-view stereo matching method to obtain the depth data of the PDC drill bit, and fusing the multi-scale features of the image to generate a preliminary PDC drill bit feature point cloud; S3: simulating the feature mapping of the PDC drill bit feature point cloud to the two-dimensional image pixel to obtain the final PDC drill bit point cloud model; S4: using a neural network to locate the area of ​​the cutting teeth of the PDC drill bit point cloud model; S5: aligning the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud and calculating the wear degree, and finally outputting the cutting tooth wear position information and wear grade. The present invention effectively solves the current technical problem of inaccurate PDC drill bit wear detection, and the proposed multi-view 3D reconstruction method can improve the reconstruction effect of the 3D reconstruction model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer vision technology, and in particular to a PDC drill bit wear detection method and system based on multi-view three-dimensional reconstruction. Background Art

[0002] In the process of oil drilling, PDC drill bits are widely used in the field of oil exploration due to their high penetration and other characteristics. They are the main tool for breaking through rock formations. The performance of PDC drill bits affects the efficiency and cost of drilling. Drill bit wear detection is a visual indicator for drill bit performance evaluation, which provides a data basis for subsequent drill bit design and optimization. At present, drill bit wear classification is mainly judged by the International Association of Drilling Contractors (IADC) standard. IADC damage level detection is a visual judgment to describe the condition of the drill bit. The internal and external teeth are divided into 1-8 wear levels. It is difficult to accurately describe the drill bit wear condition using two-dimensional images for drill bit wear assessment. There are problems such as large errors and low efficiency. The multi-view 3D reconstruction method restores the 3D spatial structure of the PDC drill bit to enhance the accuracy of PDC drill bit wear detection. Due to the lack of texture details in the traditional multi-view 3D reconstruction structure, the obtained 3D model of the PDC drill bit is difficult to ensure the accuracy of PDC drill bit wear detection. Summary of the invention

[0003] The purpose of the present invention is to provide a PDC drill bit wear detection method and system based on multi-view 3D reconstruction to solve the technical problem of how to improve the accuracy of drill bit wear detection.

[0004] The present invention is implemented by adopting the following technical solution: a PDC drill bit wear detection method based on multi-view 3D reconstruction, comprising the following steps:

[0005] S1: Acquire an image of a worn PDC drill bit;

[0006] S2: Use deep learning multi-view stereo matching method to obtain the depth data of PDC drill bit, and fuse the multi-scale features of the image to generate the preliminary PDC drill bit feature point cloud;

[0007] S3: obtaining the final PDC drill bit point cloud model by simulating feature mapping of the PDC drill bit feature point cloud to the two-dimensional image pixels;

[0008] S4: Using neural network to locate the area of ​​cutting teeth on the point cloud model of PDC drill bit;

[0009] S5: Align the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud and calculate the wear degree, and finally output the cutting tooth wear position information and wear grade.

[0010] Furthermore, step S1 is specifically: obtaining an image of the worn PDC drill bit by taking a photo or a video, wherein:

[0011] The method of taking photos is: take photos around the worn PDC drill bit, and the angle of each photo does not exceed 30°;

[0012] The method of shooting the video is: shooting the video around the worn PDC drill bit, and shooting at the same level, and the video length is not less than 15 seconds.

[0013] Furthermore, step S2 includes the following sub-steps:

[0014] S21: training a deep learning multi-view stereo matching network, where the deep learning multi-view stereo matching network is used to obtain depth information of a PDC drill bit;

[0015] S22: using the trained deep learning multi-view stereo matching network, inputting the PDC drill bit image, and outputting the PDC drill bit depth information, the PDC drill bit depth probability volume, and the PDC drill bit feature information;

[0016] S23: interpolating, filling and encoding the PDC drill bit depth information, the PDC drill bit depth probability volume and the PDC drill bit feature information respectively to obtain the PDC drill bit three-dimensional point cloud, surface confidence and neural feature vector;

[0017] S24: Fusing the PDC drill bit three-dimensional point cloud, surface confidence, and neural feature vector to obtain a PDC drill bit feature point cloud.

[0018] Furthermore, step S21 includes the following sub-steps:

[0019] S211: generating a PDC drill bit data set, wherein the PDC drill bit data set includes PDC drill bit image data and posture data and real depth data of a shooting device corresponding to each PDC drill bit image;

[0020] S212: performing homography transformation processing on the PDC drill bit image data and posture data to obtain a source feature body and a target feature body;

[0021] S213: performing similarity comparison between the source feature body and the target feature body through variance to obtain a cost body, and performing regularization and normalization processing on the cost body to output a predicted depth map;

[0022] S214: Input the real depth data, use L1 loss to train the network, calculate the difference between the predicted depth map and the real depth data, and obtain the PDC drill bit depth information.

[0023] Further, step S23 includes the following sub-steps:

[0024] S231: inputting PDC drill bit depth information, performing interpolation, converting it into the same size as the input image, and using Gaussian sampling to sample the interpolated PDC drill bit depth map to generate a preliminary PDC drill bit three-dimensional point cloud;

[0025] S232: inputting a PDC drill bit depth probability volume and a preliminary PDC drill bit three-dimensional point cloud, filling the probability volume, and performing 3D average pooling to obtain a confidence value configured for each point;

[0026] S233: vector encoding the PDC drill bit feature information and aligning it with the preliminary PDC drill bit three-dimensional point cloud to obtain a feature vector corresponding to the PDC drill bit three-dimensional point cloud.

[0027] Furthermore, step S3 includes the following sub-steps:

[0028] S31: Taking the feature point cloud of the PDC drill bit as input, emitting light from the viewing direction d of the camera, representing the sampling ray as N continuous intervals, sampling N sampling points along the sampling ray, finding k neighboring feature point clouds of the sampling point with the sampling point x as the center and the distance R as the radius, inputting the 3D coordinates of the sampling point, the direction d of the light, and the k neighboring feature point clouds, and obtaining the color r and density σ of the sampling point;

[0029] S32: input the color r and density σ of the sampling point, use the voxel rendering formula to accumulate the radiation of N intervals of the ray, and output the predicted pixel value of the PDC drill bit image;

[0030] S33: randomly select m rays as a group, use the similarity between the predicted pixel set and the real pixel set of this group of rays as the training loss, add L2 loss to calculate the color difference between the predicted PDC drill bit image pixel value and the real PDC drill bit image pixel value, and output the final PDC drill bit wear point cloud data.

[0031] Furthermore, step S4 is specifically as follows: using the obtained PDC drill bit wear point cloud data to annotate the PDC drill bit cutting teeth, obtaining the annotated PDC drill bit wear point cloud data, and using the point cloud segmentation network to locate and segment the area of ​​the PDC drill bit, and output the cutting tooth positioning information.

[0032] Furthermore, step S5 includes the following sub-steps:

[0033] S51: using a structured light scanner to perform an all-round scan on the unworn PDC drill bit to obtain point cloud data of the unworn PDC drill bit cutting teeth;

[0034] S52: registering the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud, and segmenting according to the cutting tooth registration result to obtain the cutter tooth worn point cloud data and the cutter tooth unworn point cloud data;

[0035] S53: Calculate the volume of the non-overlapping area of ​​the cutter tooth wear point cloud data and the cutter tooth unworn point cloud data to obtain the defect volume;

[0036] S54: comparing the defect volume of the cutter tooth worn point cloud with the initial volume of the cutter tooth unworn point cloud to obtain a cutter tooth defect ratio;

[0037] S55: Counting the defects of all cutting teeth in the PDC drill bit, and outputting the wear area and wear grade of the PDC drill bit.

[0038] The PDC drill bit wear detection system based on multi-view 3D reconstruction is used to implement the PDC drill bit wear detection method based on multi-view 3D reconstruction, including a shooting device, a matching module, a simulation module, a positioning module and a registration module, wherein:

[0039] Photographic equipment to obtain images of worn PDC drill bits;

[0040] The matching module uses a deep learning multi-view stereo matching method to obtain the depth data of the PDC drill bit and fuses the multi-scale features of the image to generate a preliminary PDC drill bit feature point cloud;

[0041] The simulation module obtains the final PDC drill bit point cloud model by simulating the feature mapping of the PDC drill bit feature point cloud to the two-dimensional image pixels;

[0042] The positioning module uses a neural network to locate the area of ​​the cutting teeth on the PDC drill bit point cloud model;

[0043] The registration module is used to register the point cloud of the worn PDC drill bit cutting teeth and the point cloud of the unworn PDC drill bit cutting teeth and calculate the wear degree, and finally output the wear position information and wear grade of the cutting teeth.

[0044] The beneficial effects of the present invention are:

[0045] The present invention utilizes neural rendering to enhance the detail processing of multi-view 3D reconstruction, thereby improving the effect of 3D reconstruction of PDC drill bits and the accuracy of PDC drill bit wear detection.

[0046] The present invention can reconstruct the three-dimensional data of the PDC drill bit by only inputting the image taken by the PDC drill bit, and performs wear detection and precise positioning on the reconstructed result, effectively solving the problems of high cost and inaccurate wear detection of the existing methods. The accurate and efficient wear estimation of the PDC drill bit is of great significance to the subsequent design and optimization of the PDC drill bit. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0050] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0051] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0052] See also Figure 1 , a PDC drill bit wear detection method based on multi-view 3D reconstruction includes the following steps:

[0053] S1: A color image of a worn PDC drill bit is captured by a camera;

[0054] S2: Use deep learning multi-view stereo matching method to obtain the depth data of PDC drill bit, and fuse the multi-scale features of the image to generate the preliminary PDC drill bit feature point cloud;

[0055] S3: obtaining a final PDC drill bit point cloud model by simulating feature mapping of the PDC drill bit feature point cloud to two-dimensional image pixels;

[0056] S4: Using neural network to locate the area of ​​cutting teeth on the PDC drill bit point cloud;

[0057] S5: Align the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud and calculate the wear degree, and finally output the cutting tooth wear position information and wear grade.

[0058] In this embodiment, step S1 specifically includes: moving the camera around the PDC worn drill bit to collect images, with the angle of each image not exceeding 30°; or shooting a video around the PDC drill bit, requiring the shooting to be at the same level, and the video duration to be no less than 15 seconds.

[0059] In this embodiment, step S2 includes the following sub-steps:

[0060] S21: Train a deep learning multi-view stereo matching network that can obtain the depth information of the PDC drill bit, including:

[0061] S211: Generate a PDC drill bit data set, including a PDC drill bit color image and camera attitude data and true depth data corresponding to each PDC drill bit color image, wherein the attitude data is stored in the form of a camera extrinsic parameter matrix and a camera intrinsic parameter matrix.

[0062] S212: The PDC drill bit color image is passed through a feature extraction network, which is composed of 8 2D convolutions and finally outputs a 32-channel feature map, which is one-fourth the size of the original image.

[0063] S213: Estimate the depth map of each view using a view-by-view estimation method, take the image to be estimated as the target image, take two adjacent views as source images, extract the feature map obtained from the target image as the target feature map, and extract the feature map obtained from the source image as the source feature map.

[0064] S214: A mapping relationship between different shooting angles and the same spatial point is established through the homography transformation matrix of the target feature map and the source feature map. The calculation formula is:

[0065] ;

[0066] in is the pixel point on the target feature map, is a pixel on the source feature map, It is the homography matrix when the distance between the target camera and the plane to be measured in space is d.

[0067] S215: The target camera coordinate system is used as the base coordinate system. The distance between the target camera and the plane to be measured in space is the depth. When the depth is d, there is a unique homography matrix, so that the source camera coordinate system is transformed to the target camera coordinate system through the homography matrix. The calculation formula of the homography matrix is:

[0068] ;

[0069] in is the intrinsic parameter of the source camera, is the internal parameter of the target camera, is the rotation matrix between the source camera and the target camera, t is the translation matrix between the source camera and the target camera, d is the depth of the plane to be measured in space, and n is the unit normal vector of the plane to be measured.

[0070] S216: According to the internal and external parameters of the source camera, the rotation and translation matrix of the source camera coordinate system to the target camera coordinate system is obtained. When the distance of the plane to be measured in space is d, the source image features are transformed to the same camera perspective of the target image features through homography. The calculation formula of the homography matrix is:

[0071] ;

[0072] in are the internal parameters of the target camera and the source camera, is the rotation matrix of the target camera and the source camera to the world coordinate system, is the translation matrix of the target camera and the source camera to the world coordinate system, d is the depth of the plane to be measured in space, n is the unit normal vector of the plane to be measured, Identity matrix.

[0073] S217: D assumed depths are proposed for the distance between the target camera and the plane to be measured in space, D homography matrices of the source features are calculated, and features of the D assumed depths after the homography transformation of the source features are obtained, that is, the source feature body, and the target features are copied at the D assumed depths to obtain the target feature body.

[0074] S218: The two source feature volumes and one target feature volume obtained above are used as inputs, and the similarity is compared by variance. The variance result is used to characterize the similarity of the features, and the cost volume is obtained. The closer the assumed depth is to the true depth, the higher the feature similarity is, and the smaller the calculated variance is. The calculation formula is:

[0075] ;

[0076] Where N represents the number of features, represents the i-th feature body, Represents the mean of the feature volume.

[0077] S219: Regularize the cost body using a 3D convolutional network, compress the original 32-channel cost body into 1 channel, and obtain the probability that each hypothesized depth is the true depth.

[0078] S2110: Calculate the expectation of the assumed depth probability along the depth, and perform probability normalization to obtain the predicted depth value corresponding to each point on the feature map, and output the predicted depth map.

[0079] S2111: Input the real PDC drill bit image depth map, use L1 loss to train the network, and calculate the difference between the predicted PDC drill bit image depth map and the real PDC drill bit image depth map. The calculation formula is:

[0080] ;

[0081] in represents the depth of pixel P in the real PDC drill bit image depth map, represents the predicted depth of pixel P in the PDC drill bit image depth map.

[0082] S22: Using the trained deep learning multi-view stereo matching network, input any PDC drill bit image to be analyzed, and output PDC drill bit depth information, PDC drill bit depth probability volume, and PDC drill bit feature information.

[0083] S23: Input the PDC drill bit depth information, perform interpolation, convert it into the same size as the input image, use Gaussian sampling to sample the interpolated PDC drill bit depth map, generate a preliminary PDC drill bit three-dimensional point cloud, and generate a spatial point cloud. It is expressed as:

[0084] ;

[0085] Where i represents a point, Respectively represent the values ​​of the X coordinate, Y coordinate, and Z coordinate of the point in the world coordinate system.

[0086] S24: Input the PDC drill bit depth probability volume and the preliminary PDC drill bit 3D point cloud, fill the probability volume, and perform 3D average pooling on it to obtain the confidence configured for each point ( The confidence value is between [0-1], which reflects the credibility of the depth estimation. We also express it as the probability that the point is located on the actual scene surface.

[0087] S25: Encode the PDC bit feature information into a vector and align it with the preliminary PDC bit 3D point cloud to obtain a feature vector corresponding to the PDC bit point cloud. .

[0088] S26: PDC drill bit 3D point cloud, neural feature vector and surface confidence ( Between [0-1]) to form the PDC drill bit feature point cloud:

[0089] ;

[0090] in represents the position of point i in three-dimensional space, represents the eigenvector corresponding to the point, Represents the surface confidence of point p.

[0091] In this embodiment, step S3 includes the following sub-steps:

[0092] S31: The obtained PDC drill bit feature point cloud is used as input and expressed as:

[0093] ;

[0094] in Represents several point clouds generated, represents the position of point i in three-dimensional space, represents the eigenvector corresponding to the point, Represents the surface confidence of point p.

[0095] S32: Emit light from the camera's viewing direction d, represent the sampling ray as N continuous intervals, sample N sampling points along the sampling ray, find the k neighboring feature point clouds of the sampling point with the sampling point x as the center and the distance R as the radius, input the 3D coordinates of the sampling point, the direction d of the light, and the k neighboring feature point clouds, and obtain the color r and density of the sampling point , the expression is:

[0096] ;

[0097] Where x is the location of the sampling point, d is the direction of the light, is the position, feature vector and surface confidence of the nearest neighbor point k.

[0098] Specifically, step S32 is:

[0099] S321: The feature vector of the nearest neighbor point and the distance between the nearest neighbor point and the sampling point are passed to the multi-layer perceptron F, and the feature vector of the sampling point is obtained according to the distance relationship between the nearest neighbor point and the sampling point. , the expression is as follows:

[0100] ;

[0101] in is the feature vector of sampling point x, F is a multi-layer perceptron, The nearest neighbor The characteristic vector of , x is the sampling point, is the nearest neighbor point, Represents the distance from the sampling point to the nearest neighbor.

[0102] S322: Use the distance from the nearest neighbor point to the sampling point as the weight , for the k-th eigenvector of the sampling point Perform weighted summation to obtain the feature vector of the final sampling point x :

[0103] ;

[0104] Where x is the sampling point, is the distance from the nearest neighbor to the sampling point x , Point Cloud The feature vector for the sample point x.

[0105] S323: The feature vector of the sampling point x And the light direction d is input into the new multi-layer perceptron R, and the color value r of the sampling point x is output:

[0106] ;

[0107] in is the feature vector of sampling point x, Is the light direction.

[0108] S324: Surface confidence of the k nearest neighboring points around the input sampling point x , taking the distance between the sampling point and the nearest neighbor as the weight , perform weighted summation to obtain the density of the sampling points , the calculation formula is as follows:

[0109] ;

[0110] in is the surface confidence of the nearest neighbor point, is the distance from the nearest neighbor to the sampling point.

[0111] S33: Input the color r and density of the sampling point , using the voxel rendering formula, the radiation of N intervals of the ray is accumulated, that is, the integration starts from the starting point of the ray, and the predicted pixel value of the PDC drill bit image is output. The calculation formula is as follows:

[0112] ;

[0113] ;

[0114] Where C is the predicted pixel value, It represents the cumulative transmittance along the ray from the starting point of the ray to point i. represents the density of point i, Indicates the length of the interval from i to i-1.

[0115] S34: randomly select m rays as a group, use the similarity between the predicted pixel set and the real pixel set of this group of rays as the loss regularization for training, add it to the L2 loss of the predicted PDC drill bit image pixel value and the real PDC drill bit image pixel value, use the mixed supervision method to train the radiation field of the neural point cloud, and output the final PDC drill bit wear point cloud data, the expression is as follows:

[0116] ;

[0117] ;

[0118] ;

[0119] in Indicates color loss, represents the similarity regularization loss, N represents the number of rays, represents the predicted color value, Represents the actual color value, m is the number of times the selection is repeated, and It is the set of predicted pixels and the set of true values ​​corresponding to the selected group of rays.

[0120] In this embodiment, step S4 includes the following sub-steps:

[0121] S41: using the obtained PDC drill bit wear point cloud data to label the PDC drill bit cutting teeth, and obtaining the labeled PDC drill bit wear point cloud data.

[0122] S42: Input the PDC drill bit wear point cloud data, use the point cloud segmentation network to locate and segment the key area of ​​the PDC drill bit, and output the cutting tooth positioning information.

[0123] In this embodiment, step S5 includes the following sub-steps:

[0124] S51: Use a structured light scanner to perform an all-round scan on the unworn PDC drill bit to obtain point cloud data of the unworn PDC drill bit.

[0125] S52: Align the point cloud of the worn PDC drill bit with the point cloud of the unworn PDC drill bit.

[0126] S53: Segment the worn PDC drill bit point cloud and the unworn PDC drill bit point cloud according to the cutter positioning result to obtain cutter worn point cloud data and cutter unworn point cloud data.

[0127] S54: Calculate the volume of the non-overlapping area of ​​the cutter tooth wear point cloud data and the cutter tooth unworn point cloud data to obtain the defect volume.

[0128] S55: Compare the defect volume of the cutter tooth worn point cloud with the initial volume of the cutter tooth unworn point cloud to obtain a cutter tooth defect ratio.

[0129] S56: Counting the defects of all cutting teeth in the PDC drill bit, and outputting the wear area and wear grade of the PDC drill bit.

[0130] The present invention also provides a PDC drill bit wear detection system based on multi-view 3D reconstruction, which is used to implement the above-mentioned PDC drill bit wear detection method based on multi-view 3D reconstruction, including a shooting device, a matching module, a simulation module, a positioning module and a registration module, wherein the shooting device is used to obtain a worn PDC drill bit image; the matching module adopts a deep learning multi-view stereo matching method to obtain the depth data of the PDC drill bit, and fuses the multi-scale features of the image to generate a preliminary PDC drill bit feature point cloud; the simulation module simulates the feature mapping of the PDC drill bit feature point cloud to the two-dimensional image pixels to obtain the final PDC drill bit point cloud model; the positioning module adopts a neural network to perform regional positioning of the cutting teeth on the PDC drill bit point cloud model; the registration module is used to align the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud and calculate the wear degree, and finally output the cutting tooth wear position information and wear level.

[0131] The present invention uses the point cloud extracted by the deep learning multi-view stereo matching method as the prior of neural rendering, thereby improving the efficiency of PDC drill bit 3D reconstruction and the accuracy of PDC drill bit wear detection. The proposed method only needs to input the image taken by the drill bit to reconstruct the 3D data of the PDC drill bit, and perform wear detection and precise positioning on the reconstructed result, effectively solving the problems of high cost and inaccurate wear detection of the existing methods.

[0132] For the aforementioned embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily required by the present application.

[0133] The above embodiments describe the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the changes and modifications made by those skilled in the art shall be within the scope of protection of the appended claims of the present invention without departing from the spirit and scope of the present invention.

Claims

1. A PDC drill bit wear detection method based on multi-view 3D reconstruction, characterized in that: The steps include: S1: Acquire an image of a worn PDC drill bit; S2: Use deep learning multi-view stereo matching method to obtain the depth data of PDC drill bit, and fuse the multi-scale features of the image to generate the preliminary PDC drill bit feature point cloud; S3: obtaining a final PDC drill bit point cloud model by simulating feature mapping of the PDC drill bit feature point cloud to two-dimensional image pixels; step S3 includes the following sub-steps: S31: The obtained PDC drill bit feature point cloud is used as input and expressed as: ; in Represents several point clouds generated, represents the position of point i in three-dimensional space, represents the eigenvector corresponding to the point, represents the surface confidence of point p; S32: Emit light from the camera's viewing direction d, represent the sampling ray as N continuous intervals, sample N sampling points along the sampling ray, find the k neighboring feature point clouds of the sampling point with the sampling point x as the center and the distance R as the radius, input the 3D coordinates of the sampling point, the direction d of the light, and the k neighboring feature point clouds, and obtain the color r and density of the sampling point , the expression is: ; Where x is the location of the sampling point, d is the direction of the light, is the position, feature vector and surface confidence of the nearest neighbor point k; Specifically, step S32 is: S321: The feature vector of the nearest neighbor point and the distance between the nearest neighbor point and the sampling point are passed to the multi-layer perceptron F, and the feature vector of the sampling point is obtained according to the distance relationship between the nearest neighbor point and the sampling point. , the expression is as follows: ; in is the feature vector of sampling point x, F is a multi-layer perceptron, The nearest neighbor The characteristic vector of , x is the sampling point, is the nearest neighbor point, Represents the distance from the sampling point to the nearest neighbor; S322: Use the distance from the nearest neighbor point to the sampling point as the weight , for the k-characteristic vectors of the sampling points Perform weighted summation to obtain the feature vector of the final sampling point x : ; Where x is the sampling point, is the distance from the nearest neighbor to the sampling point x , Point Cloud For the feature vector of sampling point x; S323: The feature vector of the sampling point x And the light direction d is input into the new multi-layer perceptron R, and the color value r of the sampling point x is output: ; in is the feature vector of sampling point x, is the light direction; S324: Surface confidence of the k nearest neighboring points around the input sampling point x , taking the distance between the sampling point and the nearest neighbor as the weight , perform weighted summation to obtain the density of the sampling points , the calculation formula is as follows: ; in is the surface confidence of the nearest neighbor point, is the distance from the nearest neighbor to the sampling point; S33: Input the color r and density of the sampling point , using the voxel rendering formula, the radiation of N intervals of the ray is accumulated, that is, the integration starts from the starting point of the ray, and the predicted pixel value of the PDC drill bit image is output. The calculation formula is as follows: ; ; Where C is the predicted pixel value, It represents the cumulative transmittance along the ray from the starting point of the ray to point i. represents the density of point i, Indicates the length of the interval from i to i-1; S34: randomly select m rays as a group, use the similarity between the predicted pixel set and the real pixel set of this group of rays as the loss regularization for training, add it to the L2 loss of the predicted PDC drill bit image pixel value and the real PDC drill bit image pixel value, use the mixed supervision method to train the radiation field of the neural point cloud, and output the final PDC drill bit wear point cloud data, the expression is as follows: ; ; ; in Indicates color loss, represents the similarity regularization loss, N represents the number of rays, represents the predicted color value, Represents the true color value, m is the number of times the selection is repeated, and It is the predicted pixel set and true value set corresponding to the selected group of light rays; S4: Using neural network to locate the area of ​​cutting teeth on the point cloud model of PDC drill bit; S5: Align the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud and calculate the wear degree, and finally output the cutting tooth wear position information and wear grade.

2. A PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in claim 1, characterized in that: Step S1 specifically includes: obtaining an image of a worn PDC drill bit by taking a photo or a video, wherein: The method of taking photos is: take photos around the worn PDC drill bit, and the angle of each photo does not exceed 30°; The method of shooting the video is: shooting the video around the worn PDC drill bit, and shooting at the same level, and the video length is not less than 15 seconds.

3. A PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in claim 1, characterized in that: Step S2 includes the following sub-steps: S21: training a deep learning multi-view stereo matching network, where the deep learning multi-view stereo matching network is used to obtain depth information of a PDC drill bit; S22: using the trained deep learning multi-view stereo matching network, inputting the PDC drill bit image, and outputting the PDC drill bit depth information, the PDC drill bit depth probability volume, and the PDC drill bit feature information; S23: interpolating, filling and encoding the PDC drill bit depth information, the PDC drill bit depth probability volume and the PDC drill bit feature information respectively to obtain the PDC drill bit three-dimensional point cloud, surface confidence and neural feature vector; S24: Fusing the PDC drill bit three-dimensional point cloud, surface confidence, and neural feature vector to obtain a PDC drill bit feature point cloud.

4. A PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in claim 3, characterized in that: Step S21 includes the following sub-steps: S211: generating a PDC drill bit data set, wherein the PDC drill bit data set includes PDC drill bit image data and posture data and real depth data of a shooting device corresponding to each PDC drill bit image; S212: performing homography transformation processing on the PDC drill bit image data and posture data to obtain a source feature body and a target feature body; S213: performing similarity comparison between the source feature body and the target feature body through variance to obtain a cost body, and performing regularization and normalization processing on the cost body to output a predicted depth map; S214: Input the real depth data, use L1 loss to train the network, calculate the difference between the predicted depth map and the real depth data, and obtain the PDC drill bit depth information.

5. A PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in claim 4, characterized in that: Step S23 includes the following sub-steps: S231: inputting PDC drill bit depth information, performing interpolation, converting it into the same size as the input image, and using Gaussian sampling to sample the interpolated PDC drill bit depth map to generate a preliminary PDC drill bit three-dimensional point cloud; S232: inputting a PDC drill bit depth probability volume and a preliminary PDC drill bit three-dimensional point cloud, filling the probability volume, and performing 3D average pooling to obtain a confidence value configured for each point; S233: vector encoding the PDC drill bit feature information and aligning it with the preliminary PDC drill bit three-dimensional point cloud to obtain a feature vector corresponding to the PDC drill bit three-dimensional point cloud.

6. A PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in claim 1, characterized in that: Step S4 is specifically as follows: using the obtained PDC drill bit wear point cloud data to mark the PDC drill bit cutting teeth, obtaining the marked PDC drill bit wear point cloud data, and using the point cloud segmentation network to locate and segment the area of ​​the PDC drill bit, and output the cutting tooth positioning information.

7. A PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in claim 6, characterized in that: Step S5 includes the following sub-steps: S51: using a structured light scanner to perform an all-round scan on the unworn PDC drill bit to obtain point cloud data of the unworn PDC drill bit cutting teeth; S52: registering the worn PDC drill bit cutting tooth point cloud and the unworn PDC drill bit cutting tooth point cloud, and segmenting according to the cutting tooth registration result to obtain the cutter tooth worn point cloud data and the cutter tooth unworn point cloud data; S53: Calculate the volume of the non-overlapping area of ​​the cutter tooth wear point cloud data and the cutter tooth unworn point cloud data to obtain the defect volume; S54: comparing the defect volume of the cutter tooth worn point cloud with the initial volume of the cutter tooth unworn point cloud to obtain a cutter tooth defect ratio; S55: Counting the defects of all cutting teeth in the PDC drill bit, and outputting the wear area and wear grade of the PDC drill bit.

8. A PDC drill bit wear detection system based on multi-view 3D reconstruction, used to implement a PDC drill bit wear detection method based on multi-view 3D reconstruction as claimed in any one of claims 1 to 7, characterized in that: It includes a shooting device, a matching module, a simulation module, a positioning module and a registration module, wherein: Photographic equipment to obtain images of worn PDC drill bits; The matching module uses a deep learning multi-view stereo matching method to obtain the depth data of the PDC drill bit and fuses the multi-scale features of the image to generate a preliminary PDC drill bit feature point cloud; The simulation module obtains the final PDC drill bit point cloud model by simulating the feature mapping of the PDC drill bit feature point cloud to the two-dimensional image pixels; The positioning module uses a neural network to locate the area of ​​the cutting teeth on the PDC drill bit point cloud model; The registration module is used to register the point cloud of the worn PDC drill bit cutting teeth and the point cloud of the unworn PDC drill bit cutting teeth and calculate the wear degree, and finally output the wear position information and wear grade of the cutting teeth.