Acoustic well logging method, system, storage medium and device for detecting polarity reversal

By normalizing and summing the orthogonal dipole four-component wave train data from the acoustic logging instrument and determining its polarity, the problem of data anomalies caused by polarity reversal was solved, and accurate polarity correction and reasonableness of subsequent processing results were achieved.

CN116338796BActive Publication Date: 2026-05-12CHINA NAT PETROLEUM CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA NAT PETROLEUM CORP
Filing Date
2021-12-25
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

The polarity reversal of dipole four-component wave train data in existing acoustic logging instruments leads to formation anisotropy artifacts and abnormal azimuth imaging data, and there is a lack of effective detection and correction methods.

Method used

By acquiring orthogonal dipole four-component wave train data, calculating the wave train data range, normalizing and summing the absolute values, comparing the number of polarity reversal points, marking and correcting the polarity reversal component waveforms, and using the orthogonal dipole four-component acquisition module, wave train analysis module, component wave train normalization and summing module, and polarity judgment and correction module for detection and correction.

Benefits of technology

It enables accurate detection and correction of polarity reversal of four-component wave trains, ensuring the accuracy of formation anisotropy and well-circumferential scanning reflection wave imaging processing results, and avoiding data anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116338796B_ABST
    Figure CN116338796B_ABST
Patent Text Reader

Abstract

The application discloses a method, a system, a storage medium and equipment for detecting polarity reversal of acoustic logging, and particularly relates to a method for detecting polarity reversal of acoustic logging of a quadrupole wave train containing collected orthogonal dipole four-component wave trains, collecting orthogonal dipole four-component wave train data, processing the data, calculating a range of wave train data to be analyzed, calculating and detecting whether YY component wave trains are reversed, normalizing wave trains of other three components based on the YY component wave trains, summing the YY component wave trains and the other three components, comparing absolute values, and determining polarity reversal when the cumulative sum of absolute values is less than 2 / 3 of the number of absolute values of two components participating in summation, thereby realizing detection and correction of polarity reversal of the four-component wave trains, ensuring that subsequent processing results of inversion of formation anisotropy, wellbore scanning reflection wave imaging and the like using the dipole four-component wave trains are reasonable, and solving the problem of false images of great formation anisotropy or abnormal data of azimuthal imaging wave train synthesis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of acoustic logging technology and relates to acoustic logging methods, systems, storage media and equipment for detecting polarity reversal. Background Technology

[0002] In array acoustic logging instruments or other acoustic logging instruments with orthogonal dipole four-component logging capabilities, during the assembly of the dipole four-component transmitting or receiving transducers, the polarity may be reversed due to the consistency between the positive and negative electrode materials and the external structure of the transducer. This reversal causes the positive and negative peaks of two components to be interchanged. When the instrument is put into field use, the measured dipole four-component wave train data (WV)... xx WV xy WV yx WV yy When used for formation anisotropy inversion or well-circumferential scanning reflected wave imaging, artifacts of high formation anisotropy or anomalies in azimuth imaging wave train synthesis data may occur. Currently, there is a lack of methods for detecting and correcting polarity reversal in dipole four-component wave train data from acoustic logging. Summary of the Invention

[0003] The purpose of this invention is to solve the problems in the prior art and to provide a method, system, storage medium and device for detecting polarity reversal in acoustic logging.

[0004] To achieve the above objectives, the present invention employs the following technical solution:

[0005] A sonic logging method for detecting polarity reversal includes the following steps:

[0006] S1: Acquire and process orthogonal dipole four-component wave train data;

[0007] S2: Calculate the range of wave train data to be analyzed based on the processed data;

[0008] S3: Normalize the obtained dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth component wave train, and then sum them.

[0009] S4: Compare the absolute value of the summation at each point of the component wave train with the absolute value of the component wave train waveform, and record the number of points where the absolute value of the summation is simultaneously less than both the absolute value of the summation at each point and the absolute value of the component wave train waveform. Based on the number of points obtained, determine whether the polarity of the depth point has reversed.

[0010] S5: Repeat S2-S4, count and mark the number of points where the polarity of the component wave train is reversed throughout the well section, mark whether the current wave train is reversed based on the obtained number of points, and correct the component waveform with polarity reversal based on the judgment result.

[0011] Further improvements to this method are as follows:

[0012] It also includes the following steps:

[0013] S3: Normalize the obtained dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth YY component wave train and then sum them.

[0014] S4: Compare the absolute value of the summation at each point of the YY component wave train with the absolute value of the YY component wave train waveform, and record the number of points whose absolute value of the summation is simultaneously less than both the absolute value of the summation at each point and the absolute value of the YY component wave train waveform. Based on the number of points obtained, determine whether the polarity of the depth point has reversed.

[0015] S5: Repeat S2-S4, count and mark the number of points where the polarity of the YY component wave train is reversed throughout the entire well section, and mark whether the current wave train is reversed based on the obtained number of points;

[0016] S6: Repeat S2-S5 to detect the waveforms of the dipole XY and YX polarity components respectively, determine whether polarity has occurred, and correct the waveform of the polarity-reversed component based on the judgment result.

[0017] The data collected and processed by S1 includes:

[0018] The arrival time of the first wave at each depth is TT(i), the time sampling interval TS of the wave train, and the center frequency of the dipole source.

[0019] The range of wave train data to be analyzed calculated in S2 includes:

[0020] The starting position Wins(i) of the wave train is determined as follows:

[0021] Wins(i) = TT(i) / TS(1) (1)

[0022] The wave train length analyzed is WinL:

[0023]

[0024] Among them Fre central 3 represents the center frequency of the dipole generator transducer, and 3 represents the three wave train cycles to be analyzed.

[0025] S3 includes the following steps:

[0026] For the component wave trains being analyzed, point-by-point within the window [Wins(i),Wins(i)+WinL], the maximum absolute value of the first received wave train value for each depth YY component is Max(abs(WV). yy (t i Sum after normalization**yy (t i ),in:

[0027] WV(t i )′=WV(t i )*Max(abs(WV yy (t i )) / Max(abs(WV(t i (3)

[0028] Sum **yy (t i )=WV(t i )′+WV yy (t i (1) (4)

[0029] Among them, t i The value range is [Wins(i),Wins(i)+WinL].

[0030] S4 includes the following steps:

[0031] Compare each point and sum (Sum) **yy (t i Absolute value and waveform WV(t) i )′ and WV yy (t i The absolute value of Sum **yy (t i The absolute value of ) is simultaneously less than the waveform WV(t) i )′ and WV yy (t i The absolute value of ) is used to count (Count). When Count is greater than two-thirds of the wave train analysis points (WinL), the polarity of that depth point is marked as reversed.

[0032]

[0033] S5 includes the following steps:

[0034] The number of points marked with polarity reversal (PRCount) throughout the well section is counted. When the number of depth points with polarity reversal is greater than 2 / 3 of the total number of depth points (DepthCount), the dipole polarity has reversed.

[0035] S6 includes the following steps:

[0036] If the polarities of XX and YX are reversed simultaneously, it means that the polarity of the X-transmitter or Y-transmitter transducer is reversed; if the polarities of XX and XY are reversed simultaneously, it means that the polarity of the X-receiver or Y-receiver transducer is reversed.

[0037] The polarity reversal component waveform WV(t)i Perform polarity reversal correction:

[0038] WV(t i )′=-WV(t i (6).

[0039] A sonic logging system for detecting polarity reversal includes an orthogonal dipole four-component acquisition module, a wave train analysis module, a component wave train normalization summation module, and a polarity judgment and correction module.

[0040] The orthogonal dipole four-component acquisition module is used to acquire and process orthogonal dipole four-component wave train data.

[0041] The wave train analysis module is used to calculate the range of wave train data to be analyzed based on the processed data.

[0042] The component wave train normalization summation module is used to normalize and sum the analyzed dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth component wave train.

[0043] The polarity determination module is used to compare the absolute value of the sum of each point in the component wave train with the absolute value of the component wave train waveform, and to record the number of points whose absolute value of the sum is simultaneously less than both the absolute value of the sum of each point and the absolute value of the component wave train waveform. Based on the number of points obtained, it determines whether the polarity of the depth point is reversed. This is a whole-well judgment and correction module.

[0044] The whole-well polarity judgment and correction module is used to count and mark the number of points where the polarity of the component wave train is reversed throughout the whole well. Based on the obtained number of points, it marks whether the current wave train is reversed, and corrects the component waveforms with polarity reversal based on the judgment results.

[0045] A terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method as described in any one of claims 1-7.

[0046] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as claimed in any one of claims 1-7.

[0047] Compared with the prior art, the present invention has the following beneficial effects:

[0048] The sonic logging method, system, storage medium, and equipment for detecting polarity reversal provided by this invention, through point-by-point normalized summation of the component wave train, records the number of points whose absolute summation value is simultaneously less than the absolute summation value of each point and the absolute value of the component wave train waveform, and determines whether polarity reversal has occurred. This achieves the detection and correction of whether the polarity of the four-component wave train is reversed, ensuring that subsequent processing results such as inverting formation anisotropy using the dipole four-component wave train and well-circumferential scanning reflection wave imaging are reasonable and avoiding data anomalies. Attached Figure Description

[0049] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 This is a schematic diagram of the measurement method of the present invention;

[0051] Figure 2 This is the four-component wave train diagram of the present invention;

[0052] Figure 3 The image shows the detection results of polarity reversal of the orthogonal dipole XX, XY, and YX components of the present invention, where the polarity reversal depth is marked with a value of 1, otherwise marked with a value of 0;

[0053] Figure 4 This is a schematic diagram of the four-component waveforms before polarity reversal and the magnitude of inverted anisotropy in the present invention.

[0054] Figure 5 This is a schematic diagram comparing the polarity reversal waveforms of the XX and XY components of this invention with the original waveform;

[0055] Figure 6 This is a schematic diagram of the four-component waveform after polarity reversal correction and the magnitude of inverted anisotropy, as presented in this invention. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0057] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0058] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0059] In the description of the embodiments of the present invention, it should be noted that if terms such as "upper," "lower," "horizontal," or "inner" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of the invention is in use, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, terms such as "first" and "second" are only used to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0060] Furthermore, the use of the term "horizontal" does not imply that the component must be absolutely horizontal, but rather that it can be slightly tilted. For example, "horizontal" simply means that its direction is more horizontal than "vertical," and does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0061] In the description of the embodiments of the present invention, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention according to the specific circumstances.

[0062] The present invention will now be described in further detail with reference to the accompanying drawings:

[0063] This invention discloses an acoustic logging method for detecting polarity reversal. The method involves acquiring orthogonal dipole four-component wave train data, processing it, and calculating the range of wave train data to be analyzed. First, it calculates and detects whether the YY component wave train has reversed. Then, it normalizes the wave trains of the other three components using the YY component wave train as a reference, sums them with the YY component wave train, and compares the absolute values. Polarity reversal is determined when the number of times the cumulative summation absolute value is simultaneously less than the absolute values ​​of the two components involved in the summation exceeds 2 / 3 of the number of analysis points. Finally, a marking method is used to indicate that the component has reversed when the number of marked points exceeds 2 / 3 of the total depth points.

[0064] See Figure 1 This invention discloses an acoustic logging method for detecting polarity reversal, comprising the following steps:

[0065] Step 1: Perform acoustic logging, specifically acoustic logging with orthogonal dipole four-component wave train acquisition, such as array acoustic logging or three-dimensional acoustic logging. This embodiment of the invention acquires orthogonal dipole four-component wave train data (WV). xx WV xy WV yx WV yy Data acquired from the XMACII array acoustic logging instrument, see [link / reference]. Figure 2 WV xx Wave train represents the wave train emitted by X and received by X, WV xy WV represents the wave train that X transmits and Y receives. yx WV represents the wave train that Y transmits and X receives. yy This represents the wave train that Y transmits and Y receives;

[0066] Step two: Because the dipole waveform is at the tail end of the waveform and is more susceptible to dispersion, to reduce the impact of dispersion on polarity reversal analysis, the waveform of the first three cycles after the start of the first wave is selected for analysis. The arrival time TT(i) of the first wave at each depth and the time sampling interval TS of the wave train, obtained through real-time processing of well logging data, are 36 µs. Converted to SI units, TS = 36 * 10⁻⁶. -6 s and the center frequency Fre of the dipole source central =2.5, converted to SI units, Fre central =2.5*10 3 Hz calculates the range of wave train data to be analyzed, where the starting position Wins(i) of the wave train is determined as follows:

[0067] Wins(i) = TT(i) / TS(1) (1)

[0068] The wave train length analyzed is WinL:

[0069]

[0070] Among them Fre central 3 represents the center frequency of the dipole generator transducer, and 3 represents the three wave train cycles to be analyzed.

[0071] Step 3: For the analyzed XX component wave train, point by point in the window [Wins(i),Wins(i)+33], find the maximum absolute value of the first received wave train value of each depth YY component, Max(abs(WV). yy (t i Sum after normalization **yy (t i ), :

[0072] WV(t i )′=WV(t i )*Max(abs(WV yy (t i )) / Max(abs(WV(t i (3)

[0073] Sum **yy (t i )=WV(t i )′+WV yy (t i (1) (4)

[0074] Among them, t i The value range is [Wins(i),Wins(i)+33].

[0075] Step 4: Compare the sums at each point. ** (t i Absolute value and waveform WV(t) i )′ and WV yy (t i The absolute value of Sum **yy (t i The absolute value of ) is simultaneously less than the XX component wave train WV(t) i )′ and WV yy (t i When the absolute value of ) is reached, a count is performed. When the count is greater than two-thirds of the wave train analysis points WinL, the polarity of that depth point is marked as reversed.

[0076]

[0077] Step 5: Repeat steps 2 through 4 at each depth point to complete the treatment of the entire well section;

[0078] Step 6: Count the number of points (PRCount) where the polarity of the XX component is reversed throughout the well section. When the number of depth points where the polarity is reversed is greater than 2 / 3 of the total number of depth points (DepthCount), the dipole polarity has been reversed.

[0079] Step 7: Repeat steps 2 through 6 for the waveforms of the dipole XY and YX polarity components respectively, and determine whether polarity reversal has occurred. See [link to relevant documentation]. Figure 3 WV xx WV xy WV yx The results of the polarity reversal detection of the three components,

[0080] If the polarities of XX and YX are reversed simultaneously, it means that the polarity of the X-transmitter or Y-transmitter transducer is reversed; if the polarities of XX and XY are reversed simultaneously, it means that the polarity of the X-receiver or Y-receiver transducer is reversed.

[0081] Step 8, WV xx WV xy WV yx The percentages of depth points detected by the three polarity reversal components were 85.67%, 74.08%, and 0.97%, respectively. (WV) xx WV xy The number of polarity reversal points accounts for more than 2 / 3 of the total number of points, so it can be determined that the polarity of the XX and XY components is reversed, which is caused by the polarity of the X-emitting transducer plate being installed in reverse.

[0082] Step nine: To verify the polarity reversal effect, anisotropy is calculated using the four-component waveforms before polarity reversal. See [link to relevant documentation]. Figure 4 The anisotropy in the 55m depth section exceeded 10%, which is abnormal.

[0083] Step 10: Based on the identification results of Step 8, analyze the polarity-reversed component waveform WV. xx WV xy For polarity reversal correction, see [link / reference]. Figure 5 ,

[0084]

[0085] Step 11: Based on the polarity-reversed corrected waveform WV xx (t i )′,WV xy (t i )′,WV yx (t i WV yy (t i (For inversion of stratigraphic anisotropy, see [reference]). Figure 6 .

[0086] This invention discloses an acoustic logging system for detecting polarity reversal, comprising an orthogonal dipole four-component acquisition module, a wave train analysis module, a component wave train normalization summation module, and a polarity judgment and correction module;

[0087] The orthogonal dipole four-component acquisition module is used to acquire and process orthogonal dipole four-component wave train data.

[0088] The wave train analysis module is used to calculate the range of wave train data to be analyzed based on the processed data.

[0089] The component wave train normalization summation module is used to normalize and sum the analyzed dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth component wave train.

[0090] The polarity determination module is used to compare the absolute value of the sum of each point in the component wave train with the absolute value of the component wave train waveform, and to record the number of points whose absolute value of the sum is simultaneously less than both the absolute value of the sum of each point and the absolute value of the component wave train waveform. Based on the number of points obtained, it determines whether the polarity of the depth point is reversed. This is a whole-well judgment and correction module.

[0091] The whole-well polarity judgment and correction module is used to count and mark the number of points where the polarity of the component wave train is reversed throughout the whole well. Based on the obtained number of points, it marks whether the current wave train is reversed, and corrects the component waveforms with polarity reversal based on the judgment results.

[0092] A schematic diagram of a terminal device according to an embodiment of the present invention. The terminal device of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the various method embodiments described above. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the various device embodiments described above.

[0093] The computer program can be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention.

[0094] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0095] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0096] The memory can be used to store the computer program and / or module. The processor implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.

[0097] If the modules / units integrated into the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.

[0098] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A sonic logging method for detecting polarity reversal, characterized in that, Includes the following steps: S1: Acquire and process orthogonal dipole four-component wave train data; S2: Calculate the range of wave train data to be analyzed based on the processed data; S3: Normalize the obtained dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth component wave train, and then sum them. S4: Compare the absolute value of the summation at each point of the component wave train with the absolute value of the component wave train waveform, and record the number of points where the absolute value of the summation is less than the absolute values ​​of the two components involved in the summation. Based on the number of points obtained, determine whether the polarity of the depth point has reversed. S5: Repeat S2-S4, count and mark the number of points where the polarity of the component wave train is reversed throughout the well section, mark whether the current wave train is reversed based on the obtained number of points, and correct the component waveform with polarity reversal based on the judgment result.

2. The acoustic logging method for detecting polarity reversal according to claim 1, characterized in that, Includes the following steps: S3: Normalize the obtained dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth YY component wave train and then sum them. S4: Compare the absolute value of the summation at each point of the YY component wave train with the absolute value of the YY component wave train waveform, and record the number of points where the absolute value of the summation is less than the absolute values ​​of the two components involved in the summation. Based on the number of points obtained, determine whether the polarity of the depth point has reversed. S5: Repeat S2-S4, count and mark the number of points where the polarity of the YY component wave train is reversed throughout the entire well section, and mark whether the current wave train is reversed based on the obtained number of points; S6: Repeat S2-S5 to detect the waveforms of the dipole XY and YX polarity components respectively, determine whether polarity has occurred, and correct the waveform of the polarity-reversed component based on the judgment result.

3. The acoustic logging method for detecting polarity reversal according to claim 1, characterized in that, The data collected and processed by S1 includes: The first wave arrives at each depth. Time sampling interval of wave train The center frequency of the dipole source.

4. The acoustic logging method for detecting polarity reversal according to claim 1, characterized in that, The range of wave train data to be analyzed calculated in S2 includes: Wave train starting position The method for determining it is as follows: The analyzed wave train length is in 3 represents the center frequency of the dipole generator transducer, and 3 represents the three wave train cycles to be analyzed.

5. The acoustic logging method for detecting polarity reversal according to claim 4, characterized in that, S3 includes the following steps: The component wave trains for analysis in the window Point by point at each depth The maximum absolute value of the first received wave train of the component Summation after normalization ,in: in, The range of values ​​is .

6. The acoustic logging method for detecting polarity reversal according to claim 5, characterized in that, S4 includes the following steps: Compare each point and sum. Absolute value and waveform and The absolute value of the magnitude, when The absolute value is simultaneously less than the waveform and Counting is performed when the absolute value is reached. ,when More than two-thirds of the wave train analysis points Then mark the polarity of that depth point as reversed: S5 includes the following steps: Count the number of points where polarity reverses throughout the well section. When the number of depth points with polarity reversal is greater than the total number of depth points At 2 / 3 of the time, the dipole polarity reverses.

7. The acoustic logging method for detecting polarity reversal according to claim 2, characterized in that, S6 includes the following steps: If the polarities of XX and YX are reversed simultaneously, it means that the polarity of the X-transmitter or Y-transmitter transducer is reversed; if the polarities of XX and XY are reversed simultaneously, it means that the polarity of the X-receiver or Y-receiver transducer is reversed. Waveform of polarity reversal component Perform polarity reversal correction:

8. A sonic logging system for detecting polarity reversal, implementing the method of claim 1, characterized in that, It includes an orthogonal dipole four-component acquisition module, a wave train analysis module, a component wave train normalization summation module, and a polarity judgment and correction module; The orthogonal dipole four-component acquisition module is used to acquire and process orthogonal dipole four-component wave train data. The wave train analysis module is used to calculate the range of wave train data to be analyzed based on the processed data. The component wave train normalization summation module is used to normalize and sum the analyzed dipole component wave train data according to the maximum value of the absolute value of the first group of received wave train values ​​of the current depth component wave train. The polarity determination module is used to compare the absolute value of the sum of each point in the component wave train with the absolute value of the component wave train waveform, and record the number of points whose absolute value of the sum is less than the absolute values ​​of the two components involved in the summation. Based on the number of points obtained, it determines whether the polarity of the depth point is reversed. This is a whole-well judgment and correction module. The whole-well polarity judgment and correction module is used to count and mark the number of points where the polarity of the component wave train is reversed throughout the whole well. Based on the obtained number of points, it marks whether the current wave train is reversed, and corrects the component waveforms with polarity reversal based on the judgment results.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-7.