Earthquake acquisition excitation well depth automatic detection and evaluation method

The automatic detection of seismic exploration well depth through artificial intelligence technology solves the problems of low well depth detection efficiency and high error rate in seismic exploration, achieves efficient and accurate automatic detection of well depth, and reduces safety risks and labor costs.

CN118657709APending Publication Date: 2024-09-17CHINA PETROCHEMICAL CORP +3
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410599684.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The efficiency of well depth detection in seismic exploration is low, the error rate is high, and there are serious safety and quality risks. In particular, manual inspection of well depth quality during field construction is labor-intensive and involves uncontrollable risks.

Method used

Artificial intelligence technology is used to automatically detect well depth through video data processing and deep learning models, including video frame segmentation, data preprocessing, network training and model optimization, to achieve automatic identification and calculation of the number of explosives, number of charging rods and well depth, combined with Construction site data are used for automatic classification and evaluation of well depth quality.

Benefits of technology

It improves the efficiency and accuracy of well depth detection, reduces the need for manual inspection, reduces safety hazards, saves labor costs, and improves the quality of seismic data collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657709A
    Figure CN118657709A
Patent Text Reader

Abstract

The invention discloses a seismic acquisition excitation well depth automatic detection and evaluation method. The method comprises the following steps: constructing an explosive and explosive feeding rod data set in a seismic acquisition well digging and explosive feeding scene; performing sample labeling on the data set to generate a label file; performing network training and parameter tuning on the data set and the label to obtain a yolov5 network model suitable for the seismic acquisition drug delivery video scene; automatically identifying and calculating the actual well depth by using the trained network model; and matching the actual well depth obtained by automatic identification with a drilling class report, automatically analyzing the well depth quality and outputting an evaluation result. The method can replace a conventional evaluation method needing manual participation, and achieves the automatic detection and evaluation of the field construction site seismic acquisition excitation well depth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an automatic detection and evaluation method for seismic acquisition excitation well depth, belonging to the technical field of seismic exploration. Background Art

[0002] Seismic exploration is one of the main technical means for oil and gas exploration and development. It is a geophysical exploration method that artificially stimulates and receives seismic waves, analyzes the propagation law of seismic waves underground, and then infers underground rock formations and structural information, providing an important basis for the discovery and evaluation of oil and gas reservoirs. In the process of seismic data acquisition and construction, the first key link is that the field construction team drills the well and drops explosives according to the pre-set optimal excitation depth and explosive amount. If the well depth is not within the optimal excitation depth (the field allowable error is ±0.5 meters), the explosive excitation effect is not good, resulting in poor quality of collected data and affecting the imaging effect of later data. In addition, if the excitation well depth is less than 8 meters, it is a dangerous well, and explosive excitation may cause casualties, which must be resolutely avoided. Therefore, field construction is very strict on the quality control of the excitation well depth.

[0003] At present, in field construction, in order to ensure the quality of single-shot collection and the safety of well drilling and explosives placement, the seismic team uses law enforcement recorders to record the drilling and explosives placement videos of each well, monitor the drilling process, the amount of explosives placed and the depth of explosives placed, and manually check and calculate the video of the explosives placement of each well one by one in the background to verify whether the drilling depth and the amount of explosives placed in the video are consistent with the designed well depth and amount of explosives reported by the drilling team, and whether there are shallow wells. Unqualified wells are selected and handed over to the field construction team for rectification.

[0004] Taking a well with a depth of LZ m to be drilled in the field, with N1 kg of explosives, the length of the explosives being L1 m / kg, and the length of the charging rod being L2 m / root as an example, the standard operation procedures for charging explosives during well drilling in the field and for indoor video inspection are described as follows. The standard operation procedures for charging explosives during well drilling in the field are as follows: ① Well drilling personnel in the field use a hand drill to drill a well with a depth of LZ m; ② After the charging personnel display N1 kg of explosives at the wellhead for 3 - 5 seconds, they lower the explosives into the well; ③ The charging personnel connect the charging rods one by one and insert them into the well from the wellhead, gently pressing the explosives until they are pressed to the bottom of the well, and staying at the wellhead for 3 - 5 seconds (to facilitate the video recording personnel to clearly record the length of the last charging rod exposed above the ground); ④ The charging personnel pull out the charging rods from the well, and for each charging rod pulled out, the charging rod is disassembled until the last charging rod is pulled out of the well. The standard procedures for indoor inspection of the charging video are as follows: ① Watch the video and count the amount of explosives displayed by the charging personnel at the wellhead, denoted as N1 kg; ② Watch the video and count the total number of charging rods disassembled by the charging personnel, denoted as N2 roots; ③ Estimate the height of the charging rod exposed above the ground after the last charging rod is lowered into the well, denoted as L3 m; ④ Calculate the actual well depth value L, L = N1×L1 + N2×L2 - L3; ⑤ Compare with the designed well depth value LZ reported in the drilling shift report to evaluate whether the quality of charging explosives for this well is qualified. When LZ - 0.5 m ≤ L ≤ LZ + 0.5 m, this well is a qualified well; when 8 m ≤ L < LZ - 0.5 m or L > LZ + 0.5 m, this well is a controversial well. Subsequently, it is jointly evaluated by the technical team leader and the safety team leader. If it is indeed due to limitations in field construction conditions that the well cannot be drilled to the required depth, and the well depth can meet the quality requirements for seismic data acquisition and comply with safety production regulations at the same time, then manual review will classify this well as a qualified well, otherwise it will be classified as an unqualified well; when L < 8 m, this well is a dangerous well, and it is required that the line clearing personnel immediately clear the line (that is, dig out or crush the explosives in the well), and the well drilling personnel re-drill the well.

[0005] Under normal circumstances, for a three-dimensional high-density seismic acquisition project, 2000 wells are drilled every day, and a 5-minute video is recorded for each well. If manual inspection and calculation of the well depth are carried out, the verification time for each well is at least 6 minutes. If the verification task for the day is to be completed within 12 hours, at least 17 people need to be equipped in the field. A large number of staff check information every day, check and analyze on-site video information, with high labor intensity, easy fatigue of personnel, and there are human uncontrollable safety risks and quality risks. Therefore, to change this situation, the present invention has studied an efficient and intelligent automatic detection and evaluation method for the excitation well depth in seismic acquisition that can be used in actual production. Summary of the Invention

[0006] The purpose of the present invention is to provide an efficient and intelligent automatic detection and evaluation method for the excitation well depth of seismic acquisition. The method can solve the problems of low efficiency, high error rate, serious safety risks and quality risks in the manual inspection of the drilling and drug placement video room during the actual seismic acquisition process. At the same time, combined with the methods in the field of artificial intelligence, the method realizes the automated detection of the drug placement rod and the amount of explosives, the calculation of the excitation well depth and the classification and evaluation of the well depth quality.

[0007] To achieve the above object, the technical solution adopted by the present invention is: a method for automatic detection and evaluation of the depth of the seismic acquisition excitation well, which comprises the following steps:

[0008] S01. Based on the well drilling and drug placement video recorded at the construction site, split the video into images at a rate of one frame per second, pre-process the split images, and construct a dataset of explosives and drug placement rods;

[0009] S02, labeling samples of the explosive and charge rod data set generated in step S01 to generate a label file;

[0010] S03, network training is performed on the explosive and charge rod data set formed in step S01 and the label file generated in step S02, and after fine-tuning, training, and parameter optimization, a seismic acquisition excitation well depth automatic detection network model with high robustness and accuracy is obtained;

[0011] S04, using the well depth automatic detection network model obtained in step S03, taking the actual field production well drilling and drug placement video as the video stream input, extracting the video frame in real time, automatically locating and identifying the explosives appearing in the video frame, obtaining the number of explosives in each frame, counting the number of times the number of explosives appears in the video, calculating the median of the number, filtering out the number of explosives below the median, and selecting the maximum value from the number of explosives with a number greater than the median as the number of explosives;

[0012] S05, using the well depth automatic detection network model obtained in step S03 to automatically identify and calculate the number of drug rods;

[0013] S06: Detect and calculate the height of the last drug-laying rod above the ground;

[0014] S07: The actual well depth can be calculated by using the amount of explosives obtained in step S04, the number of rods obtained in step S05, and the height of the rods exposed above the ground after the completion of the placement of explosives obtained in step S06, the preset length of explosives / kg and the length of the rods / root, and the height of the person placing the explosives:

[0015] Actual well depth = length of explosive / kg × number of explosives + length of charging rod / piece × number of charging rods - height of charging rod exposed above the ground;

[0016] S08, automatically matching the actual well depth calculated in step S07 with the drilling shift report, and automatically classifying and outputting the well depth quality.

[0017] Furthermore, the specific steps of preprocessing the image and reconstructing the data set in step S01 are as follows:

[0018] a) Obtaining the grayscale information and edge information of the image, and converting the split original image into a grayscale image;

[0019] b) Using the BM3D noise reduction method, the image is divided into several image blocks, and each image block is denoised before being merged into a large image, reducing interference from the external environment or the camera, and retaining more detail information in the original image;

[0020] c) Perform data enhancement operations on the split original image to reduce the imbalance of data samples. The enhancement operations include: flipping the original image; randomly cropping the original image so that the target appears in different positions of the image with different proportions; adjusting the image brightness, contrast, saturation and hue, and randomly changing the image color;

[0021] d) The images preprocessed in steps a), b) and c) above are merged with the original images to create a data set for explosive and charge rod detection, which is used for subsequent well depth intelligent detection network model training.

[0022] Furthermore, in the network training of step S03, the k-means clustering method is used to optimize the anchor frame initially set in the yolov5 target detection algorithm. The specific process is as follows:

[0023] a) Read the width and height of each image in the training set, as well as the width and height of all annotation boxes;

[0024] b) Scale the maximum width and height of each image proportionally to the specified size img_size;

[0025] c) Randomly select N real bounding boxes as initial cluster centers;

[0026] d) Calculate the Euclidean distance and assign each bounding box to the nearest cluster center; the formula for the Euclidean distance is: d = sqrt((x1-x2) 2 +(y1-y2) 2 );

[0027] e) Update the location of the cluster center and calculate the new center of each cluster;

[0028] f) Repeat steps d) and e) until the position of the cluster center point no longer changes. The final cluster center point represents the anchor box suitable for this data set, replacing the anchor box value initially set in the yolov5 target detection algorithm.

[0029] Furthermore, after the model training is completed, the results of loss and mAP_0.5 values ​​are used to check whether the model is underfitting or overfitting; if it is underfitting, the types of features, the degree of polynomials, and the regularization term parameters are increased accordingly; if it is overfitting, the training data samples need to be increased or the complexity of the model needs to be reduced.

[0030] Furthermore, the specific implementation steps of step S05 are as follows:

[0031] a) Automatically locate and identify the drug-feeding rods appearing in the video frames, record the height of the drug-feeding rod detection frame detected in each frame, and after the detection of each complete well drilling and drug-feeding video is completed, count the discrete values ​​of the drug-feeding rod height to construct a discrete data graph of the drug-feeding rod detection frame height changing over time;

[0032] b) performing curve fitting on the discrete data of the height value of the drug placement rod detection frame obtained in step a), and performing noise reduction processing, that is, removing the error data points with large fluctuations in the data, and obtaining a relatively smooth change curve of the height of the drug placement rod detection frame;

[0033] c) According to the smooth height variation curve of the drug placement rod detection frame obtained in step b), find the extreme value point of the curve and determine the number of drug placement rods removed.

[0034] Furthermore, the curve fitting in step b) adopts a sliding average filtering method, which is specifically implemented as follows: N consecutive sampling values ​​are regarded as a queue, that is, the length of the queue is fixed at N, each time a new data is sampled, it is put into the end of the queue, and the data at the head of the original queue is discarded; the N data in the queue are arithmetic averaged to obtain a new filtering result.

[0035] Furthermore, in the step c), according to the operation process of the construction personnel on the drug placing rod, the height of the drug placing rod changes from high-low-high sequence to judge the number of drug placing rods removed, that is, the height value of the drug placing rod detection frame is a process of repeated rise and fall, and each steep drop in height represents the removal of a drug placing rod; the specific implementation is subdivided into two steps:

[0036] (1) The number of steep drops is determined based on the extreme point of the calculated curve. The first-order derivatives of the data before and after the extreme point have different signs, indicating that a change from top to bottom or from bottom to top occurs at the extreme point. The second-order difference of the discrete data is calculated to obtain the extreme point of the height sequence of the drug rod detection frame. The first-order derivative calculation formula is:

[0037]

[0038] The calculation formula for the second-order difference is:

[0039] Δ(Δy(x))=Δ(y(x+1)-y(x))=Δ(y(x+1))-Δy(x);

[0040] (2) Traverse the extreme points in order. If the difference between the peak and the trough, i.e., the wave height A, is greater than the threshold value T, it indicates a process of disassembly of the drug rod. In order to reduce the influence of adverse factors on the set threshold value T, the following implementation method is adopted:

[0041] Define the peak-to-trough difference sequence as A = {a1, a2, ..., a I}, the average value of the peak-to-trough difference sequence Eliminate The remaining peak-to-valley difference sequence is B = {b1, b2, …, b J}, the average value of the remaining peak-to-trough difference sequence Set the weight to 0.63, then the threshold When b j >T, j = 1…J, then record the b j is the steep drop wave height data, and the steep drop wave height data set is denoted as H = {h1,h2,...,h M}, then M is the number of medicine rods.

[0042] Furthermore, the specific steps of step S06 are as follows:

[0043] a) Based on the fitted and denoised curve obtained in step S05, the data set C is traversed in chronological order, denoted as C = {c1, c2, ..., c I}, where I represents the number of discrete points after denoising, and c i Several points with a value less than R are set as a group. When the value is greater than the threshold R, it is automatically divided into the next group. Finally, N groups can be obtained, which is equivalent to dividing the curve into N intervals. At this time, the height difference of the scattered points in each interval is small.

[0044] b) counting the height and number of drug placement rod detection frames in each interval, and calculating the average height of the drug placement rod detection frames in the interval;

[0045] c) Sort the N groups of data from large to small according to the length of the data group and the average value of the drug-feeding rod detection frame height, and take the group in which the drug-feeding rod detection frame has the longest duration at the same height and the drug-feeding rod height value is low. This time period is the demarcation point between the last drug-feeding rod going down the well and the rod lifting and disassembly process. Then the drug-feeding rod detection frame of this group is the detection frame of the last drug-feeding rod exposed on the ground;

[0046] d) Use the height of the construction worker as a reference to calculate the height of the last medicine-lowering rod exposed above the ground. The specific calculation method is: (height of the medicine-lowering rod detection frame / height of the worker detection frame) × actual height of the worker.

[0047] Furthermore, to eliminate errors and improve the calculation accuracy, corresponding processing is performed on the error factors, specifically:

[0048] (1) Traverse the data on the curve, and the data segment with both characteristics of "long duration" and "low medicine-lowering rod height value" is determined as the data of the height of the last section of the medicine-lowering rod.

[0049] (2) Statistically calculate the height of the worker detection frame at all times, use mean filtering to remove the error points, then calculate the average value of the detection frame data with higher heights, and use the calculated average value as the detection frame of the human height, thereby improving the estimation accuracy of the height of the medicine-lowering rod protruding above the ground.

[0050] Further, in the step S08, the well depth quality is divided into three categories: qualified wells, unqualified wells, and dangerous wells. Assume that the actual well depth identified is L, and the designed well depth in the drilling team report is LZ, then:

[0051] a) When LZ - 0.5m ≤ L ≤ LZ + 0.5m, then the well is a qualified well;

[0052] b) When 8m ≤ L < LZ - 0.5m or L > LZ + 0.5m, then the well is a controversial well. Subsequently, it is jointly evaluated by the technical team leader and the safety team leader. If it is indeed due to field construction conditions restrictions that the well cannot be drilled to the required depth, and the well depth can meet the requirements for seismic data acquisition quality and comply with safety production regulations, then the well is classified as a qualified well; otherwise, it is listed as an unqualified well.

[0053] c) When L < 8m, then the well is a dangerous well, and it is required that the line clearing personnel immediately perform line clearing, that is, dig out or crush the explosives in the well, and the well drilling personnel re-fill the well.

[0054] d) Output the classification result to an excel table, which is used for subsequent inspections by the safety and quality supervision department, work rectification of field construction personnel, and evaluation of the data quality of the work area.

[0055] Compared with the prior art, the beneficial effects of the present invention are as follows: The present invention adopts advanced artificial intelligence technology, combines the specific production scenarios of seismic exploration, and comprehensively considers the three aspects of safety, quality, and efficiency in field construction, realizing the full-automatic detection and evaluation of the quality of well drilling and medicine lowering in high-efficiency seismic data acquisition, improving the evaluation efficiency and accuracy of the quality of well drilling and medicine lowering in the field, ensuring the quality of project construction, eliminating potential safety hazards, and saving labor costs.

[0056] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of the automatic detection and evaluation method of the seismic acquisition excitation well depth of the present invention;

[0058] Figure 2 This is a test diagram of the model detection effect after repeated fine-tuning, training, and test parameter optimization in the present invention;

[0059] Figure 3 This is a scatter data diagram of the height of the unprocessed drug placement rod detection frame in the present invention;

[0060] Figure 4 This is a curve fitting effect diagram of the scattered data of the height of the medicine rod detection frame in the present invention;

[0061] Figure 5 It is a curve graph of the scattered data of the height of the medicine rod detection frame in the present invention after curve fitting and denoising;

[0062] Figure 6 This is a diagram for determining the position of the dividing point in the process of lowering the last drug-laying rod into the well and removing the rod from the well in the present invention;

[0063] Figure 7 It is a schematic diagram of a statistical table of automatic evaluation results of the excitation well depth quality in the present invention. DETAILED DESCRIPTION

[0064] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0065] Embodiment 1:

[0066] like Figure 1 As shown, a method for automatic detection and evaluation of the depth of a seismic acquisition excitation well comprises:

[0067] Step S01: Based on a large number of videos of drilling and drug placement recorded at the construction site (usually in MP4, AVI, MOV and other formats), the videos are split into images at a rate of one frame per second, the split images are preprocessed, and a dataset of explosives and drug placement rods is constructed.

[0068] Due to the influence of many factors such as the imager, imaging environment, and restrictions on field construction conditions, there is a high probability that sample imbalance will occur, affecting the accuracy of the subsequent automatic well depth detection. Therefore, it is necessary to preprocess the split images and then construct the data set. The specific method is as follows:

[0069] a) Obtaining the grayscale information and edge information of the image, and converting the split original image into a grayscale image;

[0070] b) Using the BM3D denoising method (BM3D denoising method: divide the image into several image blocks, denoise each image block and then merge them into a large image) to reduce interference from the external environment or the camera, and retain more detail information in the original image;

[0071] c) Perform data enhancement operations on the split original image to reduce the imbalance of data samples, including: flipping the original image; randomly cropping the original image so that the target appears in different positions of the image with different proportions; adjusting the brightness, contrast, saturation and hue, and randomly changing the image color;

[0072] d) The images after data preprocessing in the above three steps a, b, and c are merged with the original images to create a data set for explosive and charge rod detection, which is used for subsequent well depth automatic detection network model training.

[0073] Step S02: labeling samples of the explosive and charge rod dataset generated in step S101 to create a label file.

[0074] Step S03: network training is performed on the explosive and charge rod data set formed in step S102 and the label file generated in step 103. After repeated fine-tuning, training, and parameter optimization, a seismic acquisition excitation well depth automatic detection network model with high robustness and accuracy is obtained.

[0075] During the network training process, in order to adapt to the images of explosives and explosive rods of different scales and sizes collected in the field drilling and drug-laying construction scene of seismic acquisition, the k-means clustering method is used to optimize the anchor frame initially set in the yolov5 target detection algorithm. The specific method is as follows:

[0076] a) Read the width and height of each image in the training set, as well as the width and height of all annotation boxes;

[0077] b) Scale the maximum width and height of each image proportionally to the specified size img_size (640×640);

[0078] c) Randomly select 9 ground-truth bounding boxes as initial cluster centers;

[0079] d) Assign each bounding box to the nearest cluster center based on the Euclidean distance calculation;

[0080] The formula for Euclidean distance is: d = sqrt((x1-x2) 2 +(y1-y2) 2 )

[0081] e) Update the location of the cluster center and calculate the new center of each cluster;

[0082] f) Repeat steps d and e until the position of the cluster center point no longer changes. The final cluster center point represents the anchor box suitable for this data set, replacing the anchor box value initially set in the yolov5 target detection algorithm.

[0083] Modify the required configuration file yolov5s.yaml according to the characteristics of the field construction scene of seismic acquisition and the server graphics card model (GeForce 3080TI), set the anchor size in the file to the anchor box value obtained in the above steps, set the epochs training round to 300; set batch-size to 8. If the value is set too large, memory overflow may occur. This parameter determines the training speed;

[0084] After the model training is completed, check whether the model is underfitting or overfitting according to the results of loss and mAP_0.5 value; if it is underfitting, increase the feature types, increase the degree of polynomials, and reduce the regularization term parameters accordingly; if it is overfitting, increase the training data samples or reduce the complexity of the model;

[0085] To address the above issues, you can also adjust the ratio of positive and negative samples in the target data set, oversample target categories with fewer samples, undersample target categories with more samples, and retrain the model after synthesizing new sample data.

[0086] After repeated fine-tuning-training-testing parameter tuning processes, the robustness and accuracy of the model are greatly improved; the model is output as a network model for automatic detection of seismic acquisition excitation well depth.

[0087] The concepts of the above-mentioned important parameters are as follows:

[0088] Anchor: An anchor box is a predefined box or bounding box used to define the location and size of a target. It is usually a set of rectangular boxes at different scales and aspect ratios in an image, used to model targets of different sizes and shapes. Usually, an anchor box is defined as a center point coordinate and a height and width relative to the center point. In order to adapt to targets of different sizes at different scales, multiple groups of anchor boxes are usually defined, each with different scales and lengths and widths.

[0089] Epochs: It is an important hyperparameter in the neural network training process, defined as a single training iteration of all batches in forward and backward propagation, that is, one epoch is to input all the data into the network to complete a forward computer back propagation. During the training process, the data will be "rounded" many times, that is, the data set should be fully traversed many times (one epoch). If the number of epochs is too small, the network S may be underfitted, and if the number of epochs is too large, it may be overfitted, so choosing the appropriate number of epochs requires finding a balance between sufficient training and avoiding overfitting.

[0090] Batch-size: The size of the data set input each time the network is trained. When training a network, we usually divide the data into small batches for training. Each small batch contains multiple data samples. The size of this small batch is the batch-size. If the value is set too small, the training speed will be slow; if the value is set too large, memory overflow may occur. Choosing an appropriate batch-size can speed up the training speed and improve the training effect.

[0091] mAP_0.5: mAP stands for mean average precision, which is an indicator used to evaluate the performance of target detection models. mAP_0.5 represents the average precision when the threshold is 0.5 in the target detection model. It is an important indicator used to evaluate whether the model is underfitting or overfitting.

[0092] Loss: loss function value, an important indicator used to evaluate whether the model is underfitting or overfitting.

[0093] Step S04, using the network model obtained in step S03, taking the actual field production video of drilling and dropping drugs as the video stream input, extracting the video frames in real time, automatically locating and identifying the explosives appearing in the video frames, obtaining the number of explosives in each frame, counting the number of times the number of explosives appears in the video, calculating the median of the number, filtering out the number of explosives below the median, and selecting the maximum value as the number of explosives from the numbers of explosives whose numbers are greater than the median.

[0094] Step S05: using the network model obtained in step S03, automatically identifying and calculating the number of drug-dropping rods, the specific implementation steps are as follows:

[0095] a) Automatically locate and identify the drug-feeding rods appearing in the video frames, record the height of the drug-feeding rod detection frame detected in each frame, and after the detection of each complete well drilling and drug-feeding video is completed, count the discrete values ​​of the drug-feeding rod height to construct a discrete data graph of the drug-feeding rod detection frame height changing over time;

[0096] b) curve fitting is performed on the discrete point data of the height value of the drug placement rod detection frame obtained in step a, and noise reduction processing is performed, that is, error data points with large fluctuations in the data are removed to obtain a relatively smooth drug placement rod detection frame height change curve.

[0097] The above-mentioned sliding average filtering method is used for discrete data curve fitting. The specific implementation of this method is: N consecutive sampling values ​​are regarded as a queue, that is, the length of the queue is fixed to N, and each time a new data is sampled, it is put into the end of the queue, and the original data at the head of the queue is discarded. Perform arithmetic average calculation on the N data in the queue to obtain a new filtering result. The advantage is that it has a good suppression effect on periodic interference and high smoothness.

[0098] The above noise reduction process is performed on the fitted curve, and the median average filtering method is used to eliminate abnormal data points. The specific calculation method is:

[0099] ① Continuously sample N data and remove a maximum value and a minimum value (N>5);

[0100] ②Calculate the arithmetic mean of N-2 data.

[0101] c) According to the smoothed height variation curve of the drug delivery rod detection frame obtained in step b, find the extreme value point of the curve and determine the number of drug delivery rods removed.

[0102] According to the changes in the operation process of the drug-laying rod by the construction personnel, the height of the drug-laying rod changes from high-low-high in sequence to judge the number of drug-laying rods removed, that is, the height value of the drug-laying rod detection frame is a process of repeated rise and fall, and each steep drop represents the removal of a drug-laying rod. Therefore, the number of steep drops is the number of drug-laying rods removed.

[0103] The specific implementation can be divided into two steps:

[0104] ① According to the extreme point of the calculated curve, the number of steep drops is determined. The first-order derivatives of the data before and after the extreme point have different signs, indicating that a change from top to bottom or from bottom to top occurs at the extreme point. The second-order difference of the discrete data is calculated to obtain the extreme point of the height sequence of the drug rod detection frame; the first-order derivative calculation formula is:

[0105]

[0106] The calculation formula for the second-order difference is:

[0107] Δ(Δy(x))=Δ(y(x+1)-y(x))=Δ(y(x+1))-Δy(x)

[0108] ② In order of sequence, traverse the extreme points. If the difference between the peak and the trough, that is, the wave height A, is greater than the threshold T, it indicates a process of disassembly of the drug rod.

[0109] The setting of the threshold T is greatly affected by two factors: first, due to the different habits of different operators in the field, the threshold T will change greatly; second, due to the influence of sudden events in field construction, the height of the drug-dropping rod will also change, that is, there will be short-term data fluctuations in the fitting curve, which will affect the setting of the threshold T.

[0110] In order to reduce the impact of adverse factors on the set threshold T, the following implementation method is adopted:

[0111] Define the peak-to-trough difference sequence as A = {a1, a2, ..., a I}, average value of peak-to-trough difference sequence Eliminate The remaining peak-to-valley difference sequence is B = {b1, b2, …, b J}, the average value of the remaining peak-to-trough difference sequence The weight is set to 0.63 (this value is an empirical value obtained after analyzing a large number of seismic acquisition drug placement videos, and is set to 0.63). When b j >T(j=1…J), then record the b j is the steep drop wave height data, and the steep drop wave height data set is denoted as H = {h1,h2,…,h M}, then M is the number of medicine rods.

[0112] Step S06: According to the fitted and denoised curve obtained in step S05, the dividing point between the last drug-laying rod going down into the well and the removal of the drug-laying rod is found, and the height of the last drug-laying rod above the ground is calculated. The specific steps are as follows:

[0113] a) Based on the fitted and denoised curve obtained in step S05, the data set C is traversed in chronological order, denoted as C = {c1, c2, ..., c I}, where I represents the number of discrete points after denoising, and c i Several points with a value less than R (R is the threshold) are set as a group. When the value is greater than the threshold R, it is automatically divided into the next group. Finally, N groups can be obtained, which is equivalent to dividing the curve into N intervals. At this time, the height difference of the scattered points in each interval is small.

[0114] b) counting the height and number of drug placement rod detection frames in each interval, and calculating the average height of the drug placement rod detection frames in the interval;

[0115] c) Sort the N groups of data from large to small according to the length of the data group and the average value of the medicine rod detection frame height, and take the group in which the medicine rod detection frame remains at the same height for a longer period of time and has a lower medicine rod height value. This time period is the dividing point between the last medicine rod lowering into the well and the process of lifting and removing the rod. Then this group of medicine rod detection frames is the detection frame of the last medicine rod exposed on the ground.

[0116] The judgment basis is: according to the standard requirements of field drug application construction, after the drug application is completed, the shot of the last drug application rod exposed to the ground should stay for 3-5 seconds, and the video is split into images at 20 frames / s, then there are 60-100 drug application rod detection frame height values ​​that are the same. Usually, this is the longest duration group under the condition that the height difference of the drug application rod detection frame in adjacent frames is almost equal; according to field construction habits, the height of the last drug application rod exposed to the ground will be less than the height of a complete drug application rod, so the height value of the drug application rod at this time will be relatively low.

[0117] d) Using the construction worker’s height as a reference, calculate the height of the last drug-laying rod above the ground.

[0118] The calculation method is: (height of the drug placing rod detection frame / height of the worker detection frame) × actual height of the worker.

[0119] Due to the uncertainty of the construction site and the interference of error factors, calculation errors occur in the process of analyzing the well depth. In order to eliminate the errors and improve the calculation accuracy, the error factors are processed accordingly, specifically:

[0120] ① The method of determining the dividing point between the lowering and disassembly of the medicine rod in step b, that is, finding the detection frame where the last medicine rod is exposed on the ground, has been optimized, that is: the data on the traversal curve is analyzed, and the data segment with the two characteristics of "long duration" and "low medicine rod height value" is determined as the data of the height of the last section of the medicine rod, which corrects the overall judgment and improves the calculation accuracy.

[0121] ② The algorithm for identifying the height of the worker detection frame in step c was optimized, that is, considering that the height of the personnel changes at any time during the construction and disassembly of the medicine-dropping rod, the height of the worker detection frame at all times was counted, and the error points were removed using mean filtering. Then, the average value of the detection frame data with higher heights was calculated, and the calculated average value was used as the detection frame of human height, thereby improving the estimation accuracy of the height of the medicine-dropping rod protruding from the ground.

[0122] Step S07: The actual well depth can be calculated by combining the amount of explosives obtained in step S04, the number of charging rods obtained in step S05, and the height of the charging rods exposed above the ground after charging obtained in step S06, with the preset length of explosives / kg and the length of charging rods / root, as well as the height of the person who charges the rods:

[0123] Actual well depth = length of explosive charge / kg × quantity of explosive charge + length of downhole rod / root × number of downhole rods - height of downhole rod exposed above the ground;

[0124] Step S08: Automatically match the actual well depth calculated in step S07 with the drilling report, and automatically classify and output the well depth quality.

[0125] Well depth quality is divided into three categories: qualified wells, unqualified wells, and dangerous wells. Assume that the actual well depth obtained by video intelligent recognition is L, and the designed well depth in the drilling report is LZ. According to the field construction safety management regulations: in the eastern exploration area of our country, the well depth shall not be less than 8m. Wells less than 8m must be cleared of the line; wells with a depth of 8m - 11m are unqualified wells;

[0126] The specific implementation method is as follows:

[0127] a) When LZ - 0.5m ≤ L ≤ LZ + 0.5m, then the well is a qualified well;

[0128] b) When 8m ≤ L < LZ - 0.5m or L > LZ + 0.5m, then the well is a controversial well. Subsequently, it is jointly evaluated by the technical team leader and the safety team leader. If it is indeed due to limitations in field construction conditions and it is impossible to drill the well to the required depth, and the well depth can meet the requirements for seismic data acquisition quality and comply with safety production regulations, then the well is classified as a qualified well; otherwise, it is listed as an unqualified well;

[0129] c) When L < 8m, then the well is a dangerous well, and it is required that the line clearing personnel immediately clear the line (that is, dig out or crush the explosive charge in the well), and the well drilling personnel shall re - fill the well.

[0130] d) Output the classification results to an excel table, which is used for subsequent inspections by the safety and quality supervision department, work rectification of field construction personnel, and evaluation of the data quality of the work area, etc.

[0131] The automatic detection and evaluation method for the excitation well depth in seismic acquisition of the present invention adopts advanced artificial intelligence technology, combines with the specific production scenarios of seismic exploration, and comprehensively considers the three aspects of safety, quality, and efficiency in field construction, so as to improve production efficiency, ensure the quality of engineering construction, eliminate potential safety hazards, and save labor costs.

[0132] Figure 2This is a test diagram of the model detection effect after repeated fine-tuning, training, and testing parameter tuning. In the process of model training, more target types need to be identified and more features need to be extracted from the sample data. From the perspective of deep networks, the learning speeds of different network layers vary greatly, which is manifested in that the learning situation near the output layer of the network is very good, and the learning situation near the input layer is very slow. Sometimes, even after a long training, the weights of the first few layers are similar to the values ​​randomly initialized at the beginning, that is, the gradient disappears and the gradient explodes. In order to solve this problem, the present invention adopts the method of changing the activation function, finding the global optimum, or using gradient clipping and weight regularization.

[0133] At the same time, in order to solve the uneven distribution of samples of different target types and reduce the impact of sample differentiation and uneven distribution of target categories in the target image dataset, the ratio of positive and negative samples in the target dataset is adjusted, oversampling is performed on target categories with fewer samples, undersampling is performed on target categories with more samples, and new samples are synthesized for retraining. After repeated debugging, the final detection effect is as follows: Figure 2 .

[0134] Figure 3 This is the unprocessed height scatter plot of the drug placement rod detection frame in the present invention. The optimized well depth detection network model is used to automatically detect the actual production of well drilling and drug placement videos to obtain the height information of the drug placement rod detection frame. These height discrete values ​​are counted to form a discrete data graph of the drug placement rod detection frame height that changes with time.

[0135] Figure 4 This is a curve fitting effect diagram of the scattered data of the height of the medicine rod detection frame in the present invention. Through the discrete data of the medicine rod detection frame that changes with time, the discrete data points are connected into a curve that changes with time, and the curve is mathematically calculated to obtain the information that needs to be processed in the next dimension. Before performing mathematical calculations, the curve is fitted by the sliding average filter method. After the curve fitting, the discrete data points can be connected into a complete curve, and the change process of the height data points can be intuitively seen. The curve can be analyzed using mathematical methods later.

[0136] The specific implementation of the sliding average filtering method is: consider N consecutive sampling values ​​as a queue, that is, the length of the queue is fixed to N, and each time a new data is sampled, it is put into the end of the queue, and the original data at the head of the queue is discarded. Perform arithmetic average calculation on the N data in the queue to obtain a new filtering result. The advantage is that it has a good suppression effect on periodic interference and high smoothness.

[0137] Figure 5This is the effect diagram of the height fitting curve of the lower medicine rod detection frame after smoothing. After curve fitting, there are still a lot of noise data in the curve, and the data needs to be smoothed to remove the noise signal and retain more useful information. After comparative analysis, the median average filtering method is used to eliminate abnormal data points. The specific calculation method is:

[0138] a) Continuously sample N data and remove the maximum value and the minimum value (N>5);

[0139] b) Calculate the arithmetic mean of N-2 data.

[0140] The fitted curve can connect the discrete detection frame height data points, and after smoothing, the error data points with large fluctuations in the original data can be removed to obtain a relatively smooth detection frame height change curve, such as Figure 5 shown.

[0141] The image after curve fitting and smoothing can better normalize the scattered points with large fluctuations, which is more conducive to analyzing the height value and more intuitively observing the change process of the detection frame height.

[0142] based on Figure 5 , the number of drug-laying rods can be analyzed.

[0143] The specific implementation can be divided into two steps:

[0144] ① According to the extreme point of the calculated curve, the number of steep drops is determined. The first-order derivatives of the data before and after the extreme point have different signs, indicating that a change from top to bottom or from bottom to top occurs at the extreme point. The second-order difference of the discrete data is calculated to obtain the extreme point of the height sequence of the medicine rod detection frame;

[0145] The calculation formula of the first-order derivative is:

[0146]

[0147] The calculation formula for the second-order difference is:

[0148] Δ(Δy(x))=Δ(y(x+1)-y(x))=Δ(y(x+1))-Δy(x)

[0149] ② In order of sequence, traverse the extreme points. If the difference between the peak and the trough, that is, the wave height A, is greater than the threshold T, it indicates a process of disassembly of the drug rod.

[0150] The setting of the threshold T is greatly affected by two factors: first, due to the different habits of different operators in the field, the threshold T will change greatly; second, due to the influence of sudden events in field construction, the height of the drug-dropping rod will also change, that is, there will be short-term data fluctuations in the fitting curve, which will affect the setting of the threshold T.

[0151] In order to reduce the impact of adverse factors on the set threshold T, the following implementation method is adopted:

[0152] Define the peak-to-trough difference sequence as A = {a1, a2, ..., a I}, average value of peak-to-trough difference sequence Eliminate The remaining peak-to-valley difference sequence is B = {b1, b2, …, b J}, the average value of the remaining peak-to-trough difference sequence The weight is set to 0.63 (this value is an empirical value obtained after analyzing a large number of seismic acquisition and drug delivery videos, and is set to 0.63.), then the threshold When b j >T(j=1…J), then record the b j is the steep drop wave height data, and the steep drop wave height data set is denoted as H = {h1,h2,…,h M}, then M is the number of medicine rods.

[0153] Figure 6 This is a diagram for determining the position of the dividing point in the process of lowering the last drug-laying rod into the well and removing the rod from the well in the present invention.

[0154] Since the process of lowering the rod into the well and dismantling it is a continuous action in the construction video sent back, the key point is to find the dividing point between lowering into the well and dismantling, so as to further calculate the height of the last rod above the ground.

[0155] The specific implementation is:

[0156] a) Based on Figure 6 The fitted and denoised curve is traversed through the data set C in chronological order, and c i Several points with a value less than R (R is the threshold) are set as a group. When the value is greater than the threshold R, it is automatically divided into the next group. Finally, N groups can be obtained, which is equivalent to dividing the curve into N intervals. At this time, the height difference of the scattered points in each interval is small.

[0157] b) counting the height and number of drug placement rod detection frames in each interval, and calculating the average height of the drug placement rod detection frames in the interval;

[0158] c) Sort the N groups of data from large to small according to the length of the data group and the average value of the height of the drug-dropping rod detection frame. Take the group in which the drug-dropping rod detection frame remains at the same height for a longer period of time and the drug-dropping rod height value is lower. This time period is the dividing point between the last drug-dropping rod lowering into the well and the rod lifting and disassembly process.

[0159] The judgment basis is: according to the standard requirements of field drug application construction, after the drug application is completed, the shot of the last drug application rod exposed to the ground should stay for 3-5 seconds, and the video is split into images at 20 frames / s, then there are 60-100 drug application rod detection frame height values ​​that are the same. Usually, this is the longest duration group under the condition that the height difference of the drug application rod detection frame in adjacent frames is almost equal; according to field construction habits, the height of the last drug application rod exposed to the ground will be less than the height of a complete drug application rod, so the height value of the drug application rod at this time will be relatively low.

[0160] Figure 7 It is a schematic diagram of a statistical table of automatic evaluation results of the excitation well depth quality in the present invention.

[0161] The actual well depth detected by the intelligent well depth detection model is automatically matched with the drilling team report of the field construction design, the well depth quality is automatically evaluated, and the evaluation results are classified and output.

[0162] Well depth quality is divided into three categories: qualified wells, unqualified wells and dangerous wells. Assume that the actual well depth obtained by video intelligent recognition is L, and the well depth designed in the drilling team report is LZ. According to the field construction safety management regulations: the well depth in the eastern exploration area of ​​my country shall not be less than 8m, and wells less than 8m must be cleared; wells with a depth error of more than 0.5m and a depth of more than 8m are manually reviewed and determined as qualified wells or unqualified wells; well depth errors within 0.5m will be automatically evaluated as qualified wells.

[0163] Figure 7 These are the results of some well drilling quality evaluations on December 7, 2023 in the Shinan Shengbei work area of ​​the Shengli Eastern Exploration Area. Among them, the depth errors of the wells with pile numbers 56041444 and 59861542 were 0.88m and 0.62m respectively, which did not meet the well drilling quality management regulations of a well depth error of 0.5m. These two wells were automatically evaluated as unqualified wells; the depth errors of the wells with pile numbers 56101446 and 55981446 were 1.94m and 0.83m respectively, which exceeded the well drilling quality management regulations of a well depth error of 0.5m. However, these two wells are both located on the Yellow River beach and siltation occurs at the bottom of the wells. However, the depths of these two wells exceed 8m, which meets the safety management regulations. They are qualified after manual review in the later stage, and the system output results show that they are qualified wells; the depth error of the well with pile number 60001526 is 4.3m. Although it is also located on the Yellow River beach and siltation occurs, it is evaluated as a dangerous well because its well depth is less than 8m.

[0164] Embodiment 2:

[0165] In addition to all the steps in the above-mentioned embodiment 1, this embodiment also includes the following steps:

[0166] Regularly update the sample data set to obtain an updated sample data set;

[0167] Correcting the well depth detection model according to the updated sample data set to obtain a corrected well depth detection model;

[0168] According to the revised well depth detection model, the seismic acquisition well drilling and drug delivery video is automatically evaluated. By continuously correcting the well depth detection model, the accuracy of the well depth detection model is improved, thereby improving the accuracy of the newly acquired well drilling quality evaluation.

[0169] It can be seen from Examples 1 and 2 that the present invention has the following main advantages over the prior art:

[0170] (1) In the process of establishing the dataset, a large number of previous videos of field well drilling and drug placement were used to establish the original image dataset, making full use of the existing data information and giving play to the advantages of big data.

[0171] (2) The original image data set is subjected to sample enhancement processing, and the sample-enhanced data set and the original data set are combined into a sample library to train the well depth detection model, so that the well depth detection model has higher accuracy.

[0172] (3) Based on the yolov5 detection model and combined with the characteristics of the seismic acquisition well drilling and drug placement construction site, after repeated fine-tuning, training, and parameter optimization, a seismic acquisition excitation well depth automatic detection network model with high robustness and accuracy was obtained;

[0173] (4) In actual production, a large number of mathematical methods are used in the calculation process to determine the number of explosives, the number of removed charge rods, and the height of the last charge rod exposed above the ground. In addition, methods such as selecting the height of construction workers as a reference are used to improve the accuracy of well depth calculation, thereby improving the accuracy of newly collected well depth detection and evaluation.

[0174] (5) In actual production, the detection results of the newly collected drilling and drug delivery videos are used as new data sets to continuously revise the well depth detection model, so that the accuracy of the well depth detection model is continuously improved, thereby improving the accuracy of the newly collected well depth detection evaluation.

[0175] (6) The automatic detection and evaluation method of the seismic acquisition excitation well depth of the present invention uses the technical advantages of big data, machine learning and various mathematical statistical methods to control the quality of the well depth of seismic acquisition data, changing the traditional manual evaluation method of well drilling quality, realizing the automatic detection and fully automatic evaluation of the seismic acquisition excitation well depth, and improving the efficiency and accuracy of the seismic acquisition well depth quality evaluation.

[0176] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the above embodiments do not limit the protection scope of the present invention in any form, and all technical solutions obtained by equivalent replacement and the like fall within the protection scope of the present invention.

[0177] The parts not involved in the present invention are the same as the prior art or can be implemented by using the prior art.

Claims

1. A method for automatic detection and evaluation of the depth of the seismic acquisition excitation well, It is characterized in that The steps include: S01. Based on the well drilling and drug placement video recorded at the construction site, split the video into images at a rate of one frame per second, pre-process the split images, and construct a dataset of explosives and drug placement rods; S02, labeling samples of the explosive and charge rod data set generated in step S01 to generate a label file; S03, network training is performed on the explosive and charge rod data set formed in step S01 and the label file generated in step S02, and after fine-tuning, training, and parameter optimization, a seismic acquisition excitation well depth automatic detection network model with high robustness and accuracy is obtained; S04, using the well depth automatic detection network model obtained in step S03, taking the actual field production well drilling and drug placement video as the video stream input, extracting the video frame in real time, automatically locating and identifying the explosives appearing in the video frame, obtaining the number of explosives in each frame, counting the number of times the number of explosives appears in the video, calculating the median of the number, filtering out the number of explosives below the median, and selecting the maximum value from the number of explosives with a number greater than the median as the number of explosives; S05, using the well depth automatic detection network model obtained in step S03 to automatically identify and calculate the number of drug rods; S06: Detect and calculate the height of the last drug-laying rod above the ground; S07: The actual well depth can be calculated by using the amount of explosives obtained in step S04, the number of rods obtained in step S05, and the height of the rods exposed above the ground after the completion of the placement of explosives obtained in step S06, the preset length of explosives / kg and the length of the rods / root, and the height of the person placing the explosives: Actual well depth = length of explosive / kg × number of explosives + length of charging rod / piece × number of charging rods - height of charging rod exposed above the ground; S08, automatically matching the actual well depth calculated in step S07 with the drilling shift report, and automatically classifying and outputting the well depth quality.

2. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 1, It is characterized in that The specific steps of image preprocessing and reconstructing the data set in step S01 are as follows: a) Obtaining the grayscale information and edge information of the image, and converting the split original image into a grayscale image; b) Using the BM3D noise reduction method, the image is divided into several image blocks, and each image block is denoised before being merged into a large image, reducing interference from the external environment or the camera, and retaining more detail information in the original image; c) Perform data enhancement operations on the split original image to reduce the imbalance of data samples. The enhancement operations include: flipping the original image; randomly cropping the original image so that the target appears in different positions of the image with different proportions; adjusting the image brightness, contrast, saturation and hue, and randomly changing the image color; d) The images after data preprocessing in the above three steps a), b) and c) are merged with the original images to create an explosive and charge rod detection dataset for subsequent well depth intelligent detection network model training.

3. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 1, It is characterized in that In the network training of step S03, the k-means clustering method is used to optimize the anchor frame initially set in the yolov5 target detection algorithm. The specific process is as follows: a) Read the width and height of each image in the training set, as well as the width and height of all annotation boxes; b) Scale the maximum width and height of each image proportionally to the specified size img_size; c) Randomly select N real bounding boxes as initial cluster centers; d) Calculate the Euclidean distance and assign each bounding box to the nearest cluster center; the formula for the Euclidean distance is: d = sqrt((x 1 -x 2 ) 2 +(y 1 -y 2 ) 2 ); e) Update the location of the cluster center and calculate the new center of each cluster; f) Repeat steps d) and e) until the position of the cluster center point no longer changes. The final cluster center point represents the anchor box suitable for this data set, replacing the anchor box value initially set in the yolov5 target detection algorithm.

4. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 3, It is characterized in that After the model training is completed, check whether the model is underfitting or overfitting based on the results of loss and mAP_0.5 values; if it is underfitting, increase the number of features, increase the degree of polynomials, and reduce the regularization term parameters accordingly; if it is overfitting, increase the training data samples or reduce the complexity of the model.

5. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 1, It is characterized in that The specific implementation steps of step S05 are as follows: a) Automatically locate and identify the drug-feeding rods appearing in the video frames, record the height of the drug-feeding rod detection frame detected in each frame, and after the detection of each complete well drilling and drug-feeding video is completed, count the discrete values ​​of the drug-feeding rod height to construct a discrete data graph of the drug-feeding rod detection frame height changing over time; b) performing curve fitting on the discrete data of the height value of the drug placement rod detection frame obtained in step a), and performing noise reduction processing, that is, removing the error data points with large fluctuations in the data, and obtaining a relatively smooth change curve of the height of the drug placement rod detection frame; c) According to the smooth height variation curve of the drug delivery rod detection frame obtained in step b), find the extreme value point of the curve and determine the number of drug delivery rods removed.

6. A method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 5, It is characterized in that In the step b), the curve fitting adopts the sliding average filtering method, which is specifically implemented as follows: N consecutive sampling values ​​are regarded as a queue, that is, the length of the queue is fixed to N, each time a new data is sampled, it is put into the end of the queue, and the data at the head of the original queue is discarded; the N data in the queue are subjected to arithmetic averaging to obtain a new filtering result.

7. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 5, It is characterized in that In the step c), according to the operation process of the construction personnel on the drug placing rod, the height of the drug placing rod changes from high-low-high sequence to judge the number of drug placing rods removed, that is, the height value of the drug placing rod detection frame is a process of repeated rise and fall, and each steep drop in height represents the removal of a drug placing rod; the specific implementation is subdivided into two steps: (1) The number of steep drops is determined based on the extreme point of the calculated curve. The first-order derivatives of the data before and after the extreme point have different signs, indicating that a change from top to bottom or from bottom to top occurs at the extreme point. The second-order difference of the discrete data is calculated to obtain the extreme point of the height sequence of the drug rod detection frame. The first-order derivative calculation formula is: The calculation formula for the second-order difference is: Δ(Δy(x))=Δ(y(x+1)-y(x))=Δ(y(x+1))-Δy(x); (2) Traverse the extreme points in order. If the difference between the peak and the trough, i.e., the wave height A, is greater than the threshold value T, it indicates a process of disassembly of the drug rod. In order to reduce the influence of adverse factors on the set threshold value T, the following implementation method is adopted: Define the peak-to-trough difference sequence as A = {a 1 ,a 2 ,…,a I }, the average value of the peak-to-trough difference sequence Eliminate The peak-to-valley difference of the remaining peak-to-valley difference sequence is B = {b 1 ,b 2 ,...,b J }, the average value of the remaining peak-to-trough difference sequence Set the weight to 0.63, then the threshold When b j >T, j = 1…J, then record the b j is the steep drop wave height data, and the steep drop wave height data set is denoted as H = {h 1 ,h 2 ,...,h M }, then M is the number of medicine rods.

8. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 1, It is characterized in that The specific steps of step S06 are as follows: a) Based on the fitted and denoised curve obtained in step S05, traverse the data set C in chronological order, denoted as C = {c 1 ,c 2 ,...,c I }, where I represents the number of discrete points after denoising, and c i Several points with a value less than R are set as a group. When the value is greater than the threshold R, it is automatically divided into the next group. Finally, N groups can be obtained, which is equivalent to dividing the curve into N intervals. At this time, the height difference of the scattered points in each interval is small. b) counting the height and number of drug placement rod detection frames in each interval, and calculating the average height of the drug placement rod detection frames in the interval; c) Sort the N groups of data from large to small according to the length of the data group and the average value of the drug-feeding rod detection frame height, and take the group in which the drug-feeding rod detection frame has the longest duration at the same height and the drug-feeding rod height value is low. This time period is the demarcation point between the last drug-feeding rod going down the well and the rod lifting and disassembly process. Then the drug-feeding rod detection frame of this group is the detection frame of the last drug-feeding rod exposed on the ground; d) Use the height of the construction workers as a reference to calculate the height of the last drug-dropping rod above the ground; the specific calculation method is: (height of the drug-dropping rod detection frame / height of the worker detection frame) × actual height of the worker.

9. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 8, It is characterized in that In order to eliminate errors and improve calculation accuracy, the error factors are processed accordingly, specifically: (1) Traverse the data on the curve, and determine the data segment with both "long duration" and "low medicine rod height" as the data of the last section of the medicine rod height; (2) The height of the worker's detection frame at all times is counted, and the error points are removed using mean filtering. Then, the average value of the detection frame data with higher heights is calculated, and the calculated average value is used as the detection frame of the person's height, thereby improving the estimation accuracy of the height of the drug-dropping rod protruding from the ground.

10. The method for automatic detection and evaluation of seismic acquisition excitation well depth according to claim 1, It is characterized in that In step S08, the well depth quality is divided into three categories: qualified wells, unqualified wells and dangerous wells; assuming that the actual well depth identified is L, and the designed well depth in the drilling team report is LZ, then: a) When LZ-0.5m≤L≤LZ+0.5m, the well is a qualified well; b) When 8m ≤ L < LZ - 0.5m or L > LZ + 0.5m, then this well is a controversial well. Subsequently, it is jointly evaluated by the technical team leader and the safety team leader. If it is indeed due to limitations in field construction conditions that the well cannot be drilled to the required depth, and the well depth can meet the requirements for seismic data acquisition quality and comply with safety production regulations, then this well is classified as a qualified well; otherwise, it is listed as an unqualified well. c) When L < 8m, then this well is a dangerous well. It is required that the line clearing personnel immediately conduct line clearing, that is, dig out or crush the explosives in the well, and the well drilling personnel shall re-drill the well. d) Output the classification results to an excel table, which is used for subsequent inspections by the safety and quality supervision department, work rectification of field construction personnel, and evaluation of the data quality of the work area.

Citation Information

Patent Citations

  • Artificial intelligence automatic detection method for embedding quality of seismic acquisition receiving device

    CN114255388A

  • Method and device for identifying depth of medicine feeding well based on image data

    CN116416184A

  • Method and apparatus for obstacle detection under complex weather

    US20240005626A1