Casing pipe wall thickness damage quantitative evaluation method

By analyzing the common characteristics of the reflected wave of casing damage, extracting two wave modes and calculating the time difference, combining the ultrasonic propagation speed, the problem of wall thickness calculation distortion under serious casing damage is solved, and accurate evaluation is achieved in severe damage. , ensuring safe production of the wellbore.

CN118960636AActive Publication Date: 2024-11-15UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411013186.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-15
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

In the case of serious casing damage, ultrasonic pulse echo measurement methods are difficult to accurately calculate the wall thickness of the casing, resulting in distortion of the wall thickness calculation, and misjudged the serious perforation as minor damage or no damage, which poses a safety hazard.

Method used

By analyzing the common characteristics of reflected waves in the case of casing damage, two wave modes of the casing reflected wave and the damaged reflected wave were extracted, the time difference between the two was calculated, and the degree of damage in the casing wall thickness was quantitatively evaluated. The specific steps include installing ultrasonic measuring instruments, calculating the ultrasonic propagation speed, performing waveform preprocessing, determining the sound source function, performing cross-correlation processing, low-pass filtering, positioning the wave peak, and calculating the damage thickness.

Benefits of technology

This method can accurately evaluate the degree of wall thickness damage when the casing is severely damaged, solves the problem of wall thickness calculation distortion under severe injuries by conventional methods, and provides accurate evaluation results without being affected by the eccentricity of the instrument.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118960636A_ABST
    Figure CN118960636A_ABST
Patent Text Reader

Abstract

The invention discloses a quantitative evaluation method for wall thickness damage of a sleeve. The method comprises the following steps: measuring waveforms according to fixed circumferential resolution and axial resolution, and calculating an ultrasonic propagation speed of a medium in the sleeve; the measurement waveform is preprocessed, and a sound source function of the ultrasonic instrument is determined; calculating by using the measured waveform and the sound source function, shifting sound source function data, and correspondingly multiplying and summing with waveform data to obtain a cross-correlation result of the waveform and the sound source function; enveloping the cross-correlation result, performing low-pass filtering, positioning the maximum crest value and the second crest value of two reflected waves possibly appearing in the received waveform, and calculating the time difference corresponding to the two crest values; and calculating the damage thickness according to the arrival time difference of the two wave crests and the propagation speed of ultrasound in the casing medium. According to the scheme, the problem of wall thickness calculation distortion of a conventional wall thickness calculation method under the condition that the sleeve is seriously damaged is solved, and the evaluation result is still accurate under the condition that the sleeve is seriously damaged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of casing integrity evaluation in a wellbore, and in particular to a method for quantitatively evaluating casing wall thickness damage. Background Art

[0002] Wellbore integrity is a key factor in the safe production of oil and gas wells. As the main component of the wellbore, the casing's structural integrity and wall thickness uniformity directly affect the production efficiency and operational safety of oil and gas wells. As the service time increases, the casing may be affected by various factors, resulting in different types of damage, such as chemical corrosion or electrochemical corrosion of the medium in the pipe, scratches and depressions caused by friction and collision between production equipment and casing, and deformation and rupture caused by mechanical stress imposed by formation movement. Therefore, it is of great significance to quantitatively evaluate the wall thickness of damaged casing. Accurately evaluating the damage to the casing wall thickness can ensure the long-term stable operation of the wellbore, reduce production risks and environmental impacts, improve economic benefits, and ensure production safety.

[0003] As a non-destructive testing method, ultrasonic pulse echo measurement technology is widely used in the integrity detection of oil well casing. At present, the idea of ​​the conventional casing wall thickness calculation method proposed is to extract the resonance frequency of the resonance wave in the reflected wave, that is, to select the frequency value corresponding to the "depression point" of the full wave spectrum, calculate the casing thickness, and calculate the casing damage thickness by comparing the original casing thickness. When the casing is undamaged or slightly damaged, the resonance wave is not affected, the resonance frequency extraction is not prone to error, the calculated casing thickness value is accurate, and thus the casing damage thickness is accurate. However, this method also has problems: when the casing is severely damaged, the resonance wave has a large attenuation or even no resonance wave, and the resonance frequency extraction is inaccurate, resulting in distortion of the wall thickness calculation, which makes the casing damage thickness and the actual damage thickness have a large error.

[0004] In the existing technical solutions, when the casing is severely damaged, the conventional casing wall thickness calculation method will lead to a large wall thickness calculation error. The severely perforated casing will be misjudged as having slight wall thickness damage or no damage, causing serious operational production safety problems. Summary of the invention

[0005] Based on the above technical problems, the present invention proposes a method for quantitatively evaluating casing wall thickness damage. By analyzing the common characteristics of the reflected waves when the casing is damaged, two wave modes existing in the reflected waves are extracted: casing reflected waves and damage reflected waves; the damaged wall thickness is quantitatively evaluated based on the information contained in the two. The specific technical scheme is as follows.

[0006] A method for quantitatively evaluating casing wall thickness damage comprises the following steps:

[0007] Step S1: Install an ultrasonic measuring instrument to emit ultrasonic pulses. During the measurement process, the central axis of the ultrasonic measuring instrument rises along the casing direction, and a waveform Wave is measured according to a fixed circumferential resolution and axial resolution;

[0008] Step S2: Calculate the ultrasonic propagation velocity V of the medium in the casing;

[0009] Step S3: pre-processing the measured waveform Wave to determine the sound source function Source of the ultrasonic instrument;

[0010] Step S4: using the measured waveform Wave and the sound source function Source to perform calculations, shifting the sound source function Source data, multiplying and summing the corresponding waveform data, and obtaining a cross-correlation result CorreWave of the waveform Wave and the sound source function Source;

[0011] Step S5: Calculate the envelope of the cross-correlation result CorreWave and perform low-pass filtering to locate the maximum peak value Peak1 and the second maximum peak value Peak2 of the two reflected waves that may appear in the received waveform, and calculate the time difference DeltaTime corresponding to the two peaks;

[0012] Step S6: Calculate the damage thickness Thick according to the time difference between the two wave peaks DeltaTime and the ultrasonic propagation speed V in the casing medium. The calculation formula is:

[0013] Thick=DeltaTime×V.

[0014] Specifically, the ultrasonic measuring instrument includes an ultrasonic probe which emits ultrasonic pulses perpendicular to the inner wall of the casing.

[0015] Specifically, the step S2 includes the following sub-steps:

[0016] Step S21: The first wave arrival time ArriveTime of the pulse echo waveform in different azimuths and the first wave arrival time OppositeTime in the opposite direction are extracted by using the long and short time window method, and the average value AverageTime of the sum of the first wave arrival time ArriveTime and the first wave arrival time OppositeTime in the opposite direction measured continuously for one week at the same depth is obtained, which is expressed as:

[0017] AverageTime=ArriveTime+OppositeTime;

[0018] Step S22: Based on the casing diameter Dcasing and the rotation track diameter D of the ultrasonic measuring instrument probe, the ultrasonic propagation velocity V is obtained according to the average value AvereageTime calculated from the arrival time of the first wave of the pulse echo and the arrival time of the first wave in the opposite direction corresponding to the pulse echo. The calculation formula is:

[0019]

[0020] Specifically, the determination of the sound source function Source of the ultrasonic instrument in step S3 is as follows:

[0021] Find the time PeakTime corresponding to the maximum value of the single-channel waveform, perform Fourier transform FFT on the waveform, and extract the center frequency f of the waveform and the corresponding main period T;

[0022] The corresponding sequence is extracted within the time range [Peaktime-T, PeakTime+T] before and after the maximum value of the waveform and is defined as the sound source function Source of the ultrasonic instrument.

[0023] Specifically, the low-pass filtering in step S5 is as follows: using Hilbert transform to calculate the envelope EnvelopeWave of the cross-correlation result CorreWave, performing maximum absolute value normalization on it, and setting a corresponding Butterworth low-pass filter to perform low-pass filtering.

[0024] Specifically, the location of the peak value in step S5 specifically includes:

[0025] Locate the maximum peak value Peak1 of the waveform, and look for the second largest peak value Peak2 before and after the maximum value of the waveform;

[0026] If the position of the maximum peak value Peak1 appears before the second largest peak value Peak2, a threshold is determined for the value of the second largest peak value Peak2. The threshold is set to 0.15. If it is lower than the threshold, it is considered that there is no second largest peak value.

[0027] If the position of the maximum peak value Peak1 appears after the second largest peak value Peak2, no operation is performed and the process jumps to step S6.

[0028] Specifically, the step S5 further includes: if there is no secondary peak value, then calculating the time span TimeWidth for the waveform to drop to 20% of the maximum value of the waveform, specifically including:

[0029] If the time span TimeWidth is greater than the preset number of cycles, there are two peaks and the two peaks overlap. Remove the influence of the maximum value of the waveform, relocate the two maximum values ​​of the waveform Peak1 and Peak2, and calculate the time difference DeltaTime corresponding to the two peaks;

[0030] If TimeWidth is less than a certain number of cycles, the waveform is considered to have only one peak, and the output DeltaTime result is -1.

[0031] Beneficial effects of the present invention: The present invention proposes a quantitative evaluation method for casing wall thickness damage for the ultrasonic pulse echo measurement method in the cased well, which is used to evaluate the casing wall thickness at the damaged position. The key of the present invention is to extract the information of the two different interface reflection waves (casing reflection wave and damage reflection wave) existing in the ultrasonic pulse echo. First, the single-channel reflection wave is subjected to data preprocessing, the arrival time of the first wave in opposite directions is extracted, and the propagation speed of the ultrasonic wave in the medium is calculated; secondly, the sound source function is determined from the received waveform and cross-correlated with the received waveform; thirdly, the cross-correlation result is subjected to Hilbert transform to extract the envelope, the arrival time of the two different interface reflection waves at the damaged position is determined, and the interface reflection wave arrival time difference that meets the threshold and time span is output; finally, the missing wall thickness at the damaged position of the casing is calculated based on the ultrasonic sound speed and the arrival time difference. The waveforms at different angles at each depth are processed in turn to quantitatively evaluate the damage to the entire casing wall thickness. It has the following beneficial effects:

[0032] (1) This scheme locates the casing reflection wave and the damage reflection wave, extracts the arrival time difference between the two, calculates the ultrasonic propagation velocity in the casing medium, and quantitatively evaluates the degree of casing wall thickness damage. This method is completely unaffected by the eccentricity of the instrument and the evaluation results are accurate.

[0033] (2) This scheme provides accurate evaluation results when the damaged wall thickness is severe, solving the problem of distortion in wall thickness calculation under severe damage by conventional wall thickness calculation methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a flow chart of the damage quantitative evaluation method provided by the present invention;

[0035] Figure 2 It is a cross-sectional view of the physical model of casing damage processed in the embodiment of the present invention; 8 damages are set around the inner wall of the casing, with four damage diameters of 20 mm and 40 mm, and the damage wall thicknesses are 3.36 mm, 5.36 mm, 6.36 mm and 7.36 mm respectively;

[0036] Figure 3 1 is a schematic diagram of calculating the ultrasonic propagation velocity in the casing in an embodiment of the present invention;

[0037] Figure 4 is a schematic diagram of the calculation results of ultrasonic propagation velocity in the casing in the experimental data of an embodiment of the present invention;

[0038] Figure 5 Schematic diagram of selecting the sound source function of experimental data in an embodiment of the present invention;

[0039] Figure 6 Schematic diagram of extracting envelope by Hilbert transform of normal waveform of experimental data in an embodiment of the present invention;

[0040] Figure 7Schematic diagram of extracting envelope of abnormal waveform of experimental data by Hilbert transform in an embodiment of the present invention;

[0041] Figure 8 is a schematic diagram of the processing results of continuous adjacent depth waveforms of experimental data in an embodiment of the present invention;

[0042] Fig. 9 Schematic diagram of wall thickness damage evaluation results of experimental data in an embodiment of the present invention;

[0043] Fig.10 is a schematic diagram of selecting an actual data sound source function in an embodiment of the present invention;

[0044] Fig.11 is a schematic diagram of the calculation results of ultrasonic propagation velocity in the casing in actual data in an embodiment of the present invention;

[0045] Fig.12 Schematic diagram of extracting envelope by Hilbert transform of normal waveform of actual data in an embodiment of the present invention;

[0046] Fig.13 Schematic diagram of extracting envelope of abnormal waveform of actual data by Hilbert transform in an embodiment of the present invention;

[0047] Fig.14 is a schematic diagram of the processing result of continuous adjacent depth waveforms of actual data in an embodiment of the present invention;

[0048] Fig.15 1 is a schematic diagram of the wall thickness damage evaluation results of actual data in an embodiment of the present invention, the left figure is the evaluation result of the non-severely damaged well section, and the right figure is the evaluation result of the severely damaged well section. DETAILED DESCRIPTION

[0049] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.

[0050] In order to overcome the shortcomings of conventional casing damage wall thickness calculation methods, the present invention proposes a method for quantitative evaluation of casing damage wall thickness. The present invention analyzes the common characteristics of reflected waves in the case of casing damage, extracts two wave modes in the reflected waves: casing reflection waves and damage reflection waves, and quantitatively evaluates the damaged wall thickness based on the information contained in the two. The specific process is as follows: Figure 1 shown.

[0051] In the first embodiment:

[0052] This method specifically comprises the following steps:

[0053] Step S1: Install an ultrasonic measuring instrument to emit ultrasonic pulses. During the measurement process, the central axis of the ultrasonic measuring instrument rises along the casing direction, and a waveform Wave is measured according to a fixed circumferential resolution and axial resolution;

[0054] Step S2: Calculate the ultrasonic propagation velocity V of the medium in the casing;

[0055] Step S3: pre-processing the measured waveform Wave to determine the sound source function Source of the ultrasonic instrument;

[0056] Step S4: using the measured waveform Wave and the sound source function Source to perform calculations, shifting the sound source function Source data, multiplying and summing the corresponding waveform data, and obtaining a cross-correlation result CorreWave of the waveform Wave and the sound source function Source;

[0057] Step S5: Calculate the envelope of the cross-correlation result CorreWave and perform low-pass filtering to locate the maximum peak value Peak1 and the second maximum peak value Peak2 of the two reflected waves that may appear in the received waveform, and calculate the time difference DeltaTime corresponding to the two peaks;

[0058] Step S6: Calculate the damage thickness Thick according to the time difference between the two wave peaks DeltaTime and the ultrasonic propagation speed V in the casing medium. The calculation formula is:

[0059] Thick=DeltaTime×V.

[0060] In this embodiment, the ultrasonic measuring instrument comprises an ultrasonic probe which emits ultrasonic pulses perpendicular to the inner wall of the casing.

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

[0062] Step S21: The first wave arrival time ArriveTime of the pulse echo waveform in different azimuths and the first wave arrival time OppositeTime in the opposite direction are extracted by using the long and short time window method, and the average value AverageTime of the sum of the first wave arrival time ArriveTime and the first wave arrival time OppositeTime in the opposite direction measured continuously for one week at the same depth is obtained, which is expressed as:

[0063] AverageTime=ArriveTime+OppositeTime;

[0064] Step S22: Based on the casing diameter Dcasing and the rotation track diameter D of the ultrasonic measuring instrument probe, the ultrasonic propagation velocity V is obtained according to the average value AvereageTime calculated from the arrival time of the first wave of the pulse echo and the arrival time of the first wave in the opposite direction corresponding to the pulse echo. The calculation formula is:

[0065]

[0066] In this embodiment, the determination of the sound source function Source of the ultrasonic instrument in step S3 is specifically as follows:

[0067] Find the time PeakTime corresponding to the maximum value of the single-channel waveform, perform Fourier transform FFT on the waveform, and extract the center frequency f of the waveform and the corresponding main period T;

[0068] The corresponding sequence is extracted within the time range [PeakTime-T, PeakTime+T] before and after the maximum value of the waveform and is defined as the sound source function Source of the ultrasonic instrument.

[0069] In this embodiment, the low-pass filtering in step S5 is specifically as follows: using Hilbert transform to calculate the envelope EnvelopeWave of the cross-correlation result CorreWave, performing maximum absolute value normalization on it, and setting a corresponding Butterworth low-pass filter to perform low-pass filtering.

[0070] Step S5 of locating the peak value specifically includes:

[0071] Locate the maximum peak value Peak1 of the waveform, and look for the second largest peak value Peak2 before and after the maximum value of the waveform;

[0072] If the position of the maximum peak value Peak1 appears before the second largest peak value Peak2, a threshold is determined for the value of the second largest peak value Peak2. The threshold is set to 0.15. If it is lower than the threshold, it is considered that there is no second largest peak value.

[0073] If the position of the maximum peak value Peak1 appears after the second largest peak value Peak2, no operation is performed and the process jumps to step S6.

[0074] Step S5 also includes: if there is no secondary peak value, then calculating the time span TimeWidth for the waveform to drop to 20% of the maximum value of the waveform, specifically including:

[0075] If the time span TimeWidth is greater than the preset number of cycles, there are two peaks and the two peaks overlap. Remove the influence of the maximum value of the waveform, relocate the two maximum values ​​of the waveform Peak1 and Peak2, and calculate the time difference DeltaTime corresponding to the two peaks;

[0076] If TimeWidth is less than a certain number of cycles, the waveform is considered to have only one peak, and the output DeltaTime result is -1.

[0077] In the second embodiment:

[0078] This example is experimental measurement data. The experimental platform is built using the existing ultrasonic measurement instruments and equipment in the laboratory. The casing model is damaged. Figure 2 As shown in the figure, eight damages were processed in one week: four damages with diameters of 20 mm and 40 mm, and the damage wall thicknesses were 3.36 mm, 5.36 mm, 6.36 mm and 7.36 mm respectively. The six-axis positioning motion system was controlled by Ethernet remote program to realize the automatic mobile measurement of ultrasonic instruments, and the wall thickness damage evaluation was performed on the experimental data.

[0079] The specific implementation steps are as follows:

[0080] (1) The ultrasonic measuring instrument emits ultrasonic pulses perpendicular to the inner wall of the casing. During the measurement process, the central axis of the instrument rises along the direction of the casing, and the rotation angle is set to 1.5°. A circle of measurement is performed at a fixed depth, and 240 waveform data are measured in one circle. The waveform Wave is scanned and measured at different depths in turn.

[0081] (2) The long and short time window method is used to extract the first wave arrival time ArriveTime of the pulse echo waveform in different azimuths and the first wave arrival time OppositeTime in the opposite direction (angle difference of 180°). The average value AverageTime of the sum of ArriveTime and OppositeTime at the same depth (i.e., one week of continuous measurement) is calculated.

[0082] (3) Calculate the sound velocity of the medium in the casing. Given the casing diameter Dcasing and the diameter D of the rotating track of the ultrasonic measuring instrument probe, calculate the ultrasonic propagation velocity V based on the average value AvereageTime calculated from the arrival time of the first wave of the pulse echo and the arrival time of the first wave in the opposite direction. Figure 3 As shown, AverageTime = ArriveTime + OppositeTime, and the formula for calculating ultrasonic propagation velocity is:

[0083]

[0084] The ultrasonic propagation velocity varies with depth. Figure 4 As shown in the figure, due to the different wall thickness damage processed on the casing at some depths, the velocity calculation error at some depths is large. Therefore, when selecting the medium sound velocity in the experimental data, the good section of the casing well section is selected. The average sound velocity calculated from the experimental data is 1480.1 m / s.

[0085] (4) Preprocess the measured waveform Wave and determine the sound source function, such as Figure 5As shown. First, find the time PeakTime corresponding to the maximum value of the single-channel waveform, perform Fourier transform FFT on the waveform, and extract the center frequency f and the corresponding main period T of the waveform. Extract the corresponding sequence in the time range [PeakTime-T, PeakTime+T] before and after the maximum value of the waveform as the sound source function Source of the ultrasonic instrument.

[0086] (5) Calculate the cross-correlation between the waveform and the sound source function. Use Wave and Source to perform the calculation, shift the Source data, multiply and sum it with the waveform data, and get the cross-correlation result CorreWave.

[0087] (6) Calculate the envelope of CorreWave and perform low-pass filtering. Use Hilbert transform to calculate the envelope of CorreWave, such as Figure 6 , 7 As shown, the maximum absolute value is normalized, and the corresponding Butterworth low-pass filter is designed for low-pass filtering.

[0088] (7) Locate the peak of EnvelopeWave, that is, locate the two possible reflected waves in the received waveform. First, locate the maximum peak value Peak1 of the waveform, and search for the second largest peak value Peak2 before and after the maximum value of the waveform. If the position of Peak1 appears in front of Peak2, then perform a threshold judgment on the value of Peak2, and set the threshold to 0.15. If it is lower than the threshold, it is considered that there is no second largest value; if the position of Peak1 appears after Peak2, no operation is performed.

[0089] (8) Is there a second largest value Peak2? If there is no Peak2, continue with step (9); if there is Peak2, the located Peak1 and Peak2 are the peak values ​​of the two peaks of the waveform, such as Figure 8 As shown, the time difference DeltaTime corresponding to the two peaks is calculated, and then jump to step (10).

[0090] (9) Calculate the time span TimeWidth when the waveform drops to 20% of the maximum value of the waveform. If TimeWidth is greater than a certain number of cycles, there are two peaks and the two peaks overlap. Remove the influence of the maximum value of the waveform, find the two maximum values ​​of the waveform Peak1 and Peak2, and calculate the time difference DeltaTime corresponding to the two peaks; if TimeWidth is less than a certain number of cycles, it can be considered that the waveform has only one peak, and the output DeltaTime result is -1.

[0091] (10) Calculate the damage thickness Thick. According to the time difference between the two wave peaks DeltaTime and the ultrasonic propagation speed V in the casing medium, the damage thickness is Thick = DeltaTime × V. The experimental data evaluation results are as follows: Fig. 9 As shown in the figure, the degree of wall thickness damage can be quantitatively evaluated by the color depth of the damage. The wall thickness of two adjacent damages is the same, and the evaluation result is consistent with the processed damage size.

[0092] In the third embodiment:

[0093] This example is actual measurement data, which is measured using ultrasonic instruments in actual operating wells to quantitatively evaluate the damaged wall thickness.

[0094] The specific implementation steps are as follows:

[0095] (a) The ultrasonic measuring instrument emits ultrasonic pulses perpendicular to the inner wall of the casing. During the measurement process, the central axis of the instrument rises along the casing direction, the rotation angle is set to 6°, and a circle of measurement is performed at a fixed depth. 60 waveform data are measured in one circle, and the waveform Wave is scanned and measured at different depths in turn.

[0096] (b) The long and short time window method is used to extract the first wave arrival time ArriveTime of the pulse echo waveform in different azimuths and the first wave arrival time OppositeTime in the opposite direction (angle difference of 180°). The average value AverageTime of the sum of ArriveTime and OppositeTiem at the same depth (i.e., one week of continuous measurement) is calculated.

[0097] (c) Calculate the sound velocity of the medium in the casing. Given the casing diameter Dcasing and the diameter D of the rotating track of the ultrasonic measuring instrument probe, calculate the ultrasonic propagation velocity V based on the average value avereageTime calculated from the arrival time of the first wave of the pulse echo and the arrival time of the first wave in the opposite direction. Figure 3 As shown, AverageTime = ArriveTime + OppositeTime, and the formula for calculating ultrasonic propagation velocity is:

[0098]

[0099] The ultrasonic propagation velocity varies with depth. Fig.10 As shown in the figure, due to the existence of casing collar sections in actual wells, there are very few abnormal values ​​of deep sound velocity. Therefore, when selecting the medium sound velocity in actual data, the influence of the collar section on the sound velocity extraction is removed. The average sound velocity calculated from the experimental data is 1343.7 m / s.

[0100] (d) Preprocess the measured waveform Wave to determine the sound source function. Fig.11 As shown, first find the time PeakTime corresponding to the maximum value of the single-channel waveform, perform Fourier transform FFT on the waveform, and extract the center frequency f of the waveform and the corresponding main period T. Extract the corresponding sequence in the time range [PeakTime-T, PeakTime+T] before and after the maximum value of the waveform as the sound source function Source of the ultrasonic instrument.

[0101] (e) Calculate the cross-correlation between the waveform and the sound source function. Use Wave and Source to perform the calculation, shift the Source data, multiply and sum it with the waveform data, and get the cross-correlation result CorreWave.

[0102] (f) Calculate the envelope of CorreWave and perform low-pass filtering. Use Hilbert transform to calculate the envelope of CorreWave, such as Fig.12 , 13 As shown, the maximum absolute value is normalized, and the corresponding Butterworth low-pass filter is designed for low-pass filtering.

[0103] (g) Locate the peak of EnvelopeWave, that is, locate the two possible reflected waves in the received waveform. First, locate the maximum peak value Peak1 of the waveform, and look for the second largest peak value Peak2 before and after the maximum value of the waveform. If the position of Peak1 appears in front of Peak2, then perform a threshold judgment on the value of Peak2, and set the threshold to 0.15. If it is lower than the threshold, it is considered that there is no second largest value; if the position of Peak1 appears after Peak2, no operation is performed.

[0104] (h) Is there a second largest value Peak2? If there is no Peak2, continue with step (i); if there is Peak2, the located Peak1 and Peak2 are the peak values ​​of the two peaks of the waveform, such as Fig.14 As shown, the time difference DeltaTime corresponding to the two peaks is calculated, and then jump to step (j).

[0105] (i) Calculate the time span TimeWidth when the waveform drops to 20% of the maximum value of the waveform. If TimeWidth is greater than a certain number of cycles, there are two peaks and the two peaks overlap. Remove the influence of the maximum value of the waveform, find the two maximum values ​​of the waveform Peak1 and Peak2, and calculate the time difference DeltaTime corresponding to the two peaks; if TimeWidth is less than a certain number of cycles, it can be considered that the waveform has only one peak, and the output DeltaTime result is -1.

[0106] (j) Calculate the damage thickness Thick. According to the time difference between the two wave peaks DeltaTime and the ultrasonic propagation speed V in the casing medium, the damage thickness is Thick = DeltaTime × V. The experimental data evaluation results are as follows: Fig.15 The degree of wall thickness damage can be quantitatively evaluated by the color depth of the damage. The left figure shows the evaluation result of the non-severely damaged well section, and the right figure shows the evaluation result of the severely damaged well section. The results can be used as a reference for maintenance of actual wells.

[0107] The present invention has shown and described the basic principles and main features of the present invention and the advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. 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 present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A quantitative evaluation method for casing wall thickness damage, It is characterized in that The following steps are involved: Step S1: Install an ultrasonic measuring instrument to emit ultrasonic pulses. During the measurement process, the central axis of the ultrasonic measuring instrument rises along the casing direction, and a waveform Wave is measured according to a fixed circumferential resolution and axial resolution; Step S2: Calculate the ultrasonic propagation velocity V of the medium in the casing; Step S3: pre-processing the measured waveform Wave to determine the sound source function Source of the ultrasonic instrument; Step S4: using the measured waveform Wave and the sound source function Source to perform calculations, shifting the sound source function Source data, multiplying and summing the corresponding waveform data, and obtaining a cross-correlation result CorreWave of the waveform Wave and the sound source function Source; Step S5: Calculate the envelope of the cross-correlation result CorreWave and perform low-pass filtering to locate the maximum peak value Peak1 and the second maximum peak value Peak2 of the two reflected waves that may appear in the received waveform, and calculate the time difference DeltaTime corresponding to the two peaks; Step S6: Calculate the damage thickness Thick according to the time difference between the two wave peaks DeltaTime and the ultrasonic propagation speed V in the casing medium. The calculation formula is: Thick=DeltaTime×V.

2. A method for quantitatively evaluating casing wall thickness damage according to claim 1, It is characterized in that The ultrasonic measuring instrument comprises an ultrasonic probe which emits ultrasonic pulses perpendicularly to the inner wall of the casing.

3. A method for quantitatively evaluating casing wall thickness damage according to claim 1, It is characterized in that The step S2 specifically includes the following sub-steps: Step S21: The first wave arrival time ArriveTime of the pulse echo waveform in different azimuths and the first wave arrival time OppositeTime in the opposite direction are extracted by using the long and short time window method, and the average value AverageTime of the sum of the first wave arrival time ArriveTime and the first wave arrival time OppositeTime in the opposite direction measured continuously for one week at the same depth is obtained, which is expressed as: AverageTime=ArriveTime+OppositeTime; Step S22: Based on the casing diameter Dcasing and the rotation track diameter D of the ultrasonic measuring instrument probe, the ultrasonic propagation velocity V is obtained according to the average value AvereageTime calculated from the arrival time of the first wave of the pulse echo and the arrival time of the first wave in the opposite direction corresponding to the pulse echo. The calculation formula is:

4. A method for quantitatively evaluating casing wall thickness damage according to claim 1, It is characterized in that The determination of the sound source function Source of the ultrasonic instrument in step S3 is specifically as follows: Find the time PeakTime corresponding to the maximum value of the single-channel waveform, perform Fourier transform FFT on the waveform, and extract the center frequency f of the waveform and the corresponding main period T; The corresponding sequence is extracted within the time range [PeakTime-T, PeakTime+T] before and after the maximum value of the waveform and is defined as the sound source function Source of the ultrasonic instrument.

5. A method for quantitatively evaluating casing wall thickness damage according to claim 1, It is characterized in that The step S5 of low-pass filtering specifically includes: using Hilbert transform to calculate the envelope EnvelopeWave of the cross-correlation result CorreWave, normalizing it by the maximum absolute value, and setting a corresponding Butterworth low-pass filter to perform low-pass filtering.

6. A method for quantitatively evaluating casing wall thickness damage according to claim 5, It is characterized in that The location of the peak value in step S5 specifically includes: Locate the maximum peak value Peak1 of the waveform, and look for the second largest peak value Peak2 before and after the maximum value of the waveform; If the position of the maximum peak value Peak1 appears before the second largest peak value Peak2, a threshold is determined for the value of the second largest peak value Peak2. The threshold is set to 0.

15. If it is lower than the threshold, it is considered that there is no second largest peak value. If the position of the maximum peak value Peak1 appears after the second largest peak value Peak2, no operation is performed and the process jumps to step S6.

7. A method for quantitatively evaluating casing wall thickness damage according to claim 6, It is characterized in that The step S5 further includes: if there is no secondary large peak value, calculating the time span TimeWidth for the waveform to drop to 20% of the maximum value of the waveform, specifically including: If the time span TimeWidth is greater than the preset number of cycles, there are two peaks and the two peaks overlap. Remove the influence of the maximum value of the waveform, relocate the two maximum values ​​of the waveform Peak1 and Peak2, and calculate the time difference DeltaTime corresponding to the two peaks; If TimeWidth is less than a certain number of cycles, the waveform is considered to have only one peak, and the output DeltaTime result is -1.

Citation Information

Patent Citations

  • Ultrasonic nondestructive testing device and method

    CN102183582A

  • Ultrasonic detecting method of defects in thick-wall composite tubular structure

    CN105388212A

  • Long oil and gas pipeline total defect combined ultrasonic array nondestructive scanning method

    CN110618197A

  • Pipeline wall thickness detection method and device

    CN111121678A

  • Method for calculating casing thickness based on ultrasonic reflection resonance imaging logging

    CN117722995A