Diagnostic method, diagnostic device and processor for oil pipe micro-leakage

By determining the suspected leakage area in the oil pipe and obtaining the acoustic signal parameters, filtering and spectrum analysis are performed, which solves the problem of difficulty in determining the tiny leakage point of the oil pipe, achieves accurate location and timely processing of the leakage point, and improves detection sensitivity and accuracy. .

CN114812963BActive Publication Date: 2024-09-27PETROCHINA CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110130730.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-29
Publication Date
2024-09-27
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

It is difficult to accurately determine the tiny leakage point of the oil pipe with the existing technology, especially when the leakage volume is small, making it difficult to detect and deal with the leakage point in time.

Method used

By determining the suspected leakage area of ​​the oil pipe, obtain the acoustic signal parameters of multiple detection points, perform filtering processing and spectrum analysis, and determine the location and level of the leakage point, including the use of filters and Fourier transform technology to improve the accurate location of the leakage point. .

Benefits of technology

It achieves accurate judgment and positioning of small leak points in oil pipes, improves the sensitivity and accuracy of leak detection, can promptly detect and deal with leak points in the case of small leaks, and reduces safety risks and economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114812963B
    Figure CN114812963B
Patent Text Reader

Abstract

The present application provides a method, device and processor for diagnosing micro-leakage of oil pipes, the method comprising: determining a suspected leakage area of ​​the oil pipe; obtaining first parameters of multiple first detection points in the suspected leakage area, the first parameters at least including multiple first acoustic wave signals of the first detection points; determining whether a leakage occurs in the suspected leakage area according to the first parameters; in the case of determining that a leakage occurs in the suspected leakage area, performing a predetermined process on the first parameters to determine the leakage point in the suspected leakage area, the predetermined process comprising a filtering process. The method can more accurately determine the location of the leakage point where a micro-leakage occurs in the oil pipe, solves the problem of the lack of an accurate method for determining micro-leakage of the oil pipe in the prior art, ensures that the leakage point can be found and diagnosed more accurately when a micro-leakage occurs in the oil pipe, and facilitates the subsequent timely processing of the leakage point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of oil and gas wells, and in particular to a method, a diagnostic device, a computer-readable storage medium and a processor for diagnosing micro-leakage of an oil pipe. Background Art

[0002] With the development of completion technology and the needs of production, the structure of production tubing is becoming more and more complex. A typical oil and gas well generally contains thousands or even tens of thousands of downhole components. Damage to any component may affect the normal production of the well, or even lead to shutdown. Therefore, for any well, wellbore integrity is very important. Under the harsh conditions underground, due to corrosion, aging and various stresses, oil, casing walls and joints, downhole components (such as packers, safety valves, etc.) may leak. Generally speaking, most leaks are trace leaks at the beginning, and the degree of leakage will increase over time. Since early detection of leakage points can reduce safety risks and remediation costs, and save economic losses in a timely manner, early positioning of leaks is very beneficial to the safe production of oil and gas wells.

[0003] At present, the main leak detection logging methods include downhole video, isotope tracer logging, well temperature + flow meter combined logging, well temperature + noise combined logging, etc. However, these leak detection technologies all have limitations. Downhole video requires that clear fluid must be replaced in the well to obtain a clear image. Its use has great limitations and cannot be used as a conventional on-site leak detection method. Isotope tracer is seriously affected by pollution, which makes the logging results have multiple solutions and only serves to further confirm the leakage. Well temperature + flow meter combined logging has low measurement sensitivity and has the defect that the leak point cannot be detected or cannot be fully measured. Well temperature + noise combined logging has a more obvious effect on testing the leak point when the gas well leaks a large amount. So far, the diagnosis of small leaks in oil pipes is still a major problem in the domestic and foreign petroleum engineering community. Therefore, there is an urgent need for a diagnostic method that can make accurate judgments on small leaks in oil pipes, especially to determine the different levels of leak holes based on the collected data.

[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention

[0005] The main purpose of the present application is to provide a method, a diagnostic device, a computer-readable storage medium and a processor for diagnosing micro-leakage of an oil pipe, so as to solve the problem of the lack of an accurate method for determining micro-leakage of an oil pipe in the prior art.

[0006] According to one aspect of an embodiment of the present application, a method for diagnosing minor leaks in an oil pipeline is provided, comprising: determining a suspected leakage area of ​​the oil pipeline; acquiring first parameters of multiple first detection points in the suspected leakage area, the first parameters comprising at least multiple first acoustic wave signals of the first detection points; determining whether a leakage occurs in the suspected leakage area based on the first parameters; and in the event that a leakage occurs in the suspected leakage area, performing predetermined processing on the first parameters to determine the leakage point in the suspected leakage area, the predetermined processing comprising filtering processing.

[0007] Optionally, when it is determined that leakage occurs in the suspected leakage area, predetermined processing is performed on the first parameter, including: when it is determined that leakage occurs in the suspected leakage area, filtering the first parameter; calculating the sum of squares of multiple amplitudes of the first parameter after filtering; and determining, based on the positioning error range, whether the first detection point corresponding to the first maximum value in the sum of squares is a leakage point.

[0008] Optionally, according to the positioning error range, determining whether the first detection point corresponding to the first maximum value in the sum of squares is a leakage point includes: obtaining the positioning error range, where the positioning error range is a preset error range; determining whether the first maximum value in the sum of squares is within the positioning error range, and when the first maximum value is within the positioning error range, determining that the first detection point corresponding to the first maximum value is the leakage point; when the first maximum value is not within the positioning error range, increasing the number of the first detection points until the first maximum value is within the positioning error range.

[0009] Optionally, determining whether leakage occurs in the suspected leakage area according to the first parameter includes: obtaining a frequency spectrum of the first detection point according to the first parameter; and determining whether leakage occurs in the suspected leakage area according to the frequency spectrum.

[0010] Optionally, based on the first parameter, a frequency spectrum diagram of the first detection point is obtained, including: obtaining the effective value in the first parameter; determining the second maximum value in the effective value; performing Fourier transform on the time domain of the first parameter corresponding to the second maximum value to obtain the frequency spectrum diagram of the first detection point.

[0011] Optionally, determining whether leakage occurs in the suspected leakage area according to the spectrum graph includes: determining that leakage occurs in the suspected leakage area when a first peak exists in the spectrum graph.

[0012] Optionally, when it is determined that leakage occurs in the suspected leakage area, the first parameter is filtered, including: determining the first frequency corresponding to the first peak in the spectrum diagram; obtaining the bandwidth range of the first parameter; and filtering the first parameter according to the bandwidth range and using the first frequency as the center frequency of the filter.

[0013] Optionally, determining a suspected leakage area of ​​the oil pipeline includes: determining a plurality of second detection points in the area to be tested of the oil pipeline according to a first sampling interval, wherein the first sampling interval is the interval between two adjacent second detection points; obtaining second parameters of the plurality of second detection points, wherein the second parameters at least include a plurality of second acoustic wave signals of the second detection points; obtaining a curve graph with depth as the ordinate and the second parameter as the abscissa; and determining the suspected leakage area of ​​the oil pipeline according to the curve graph.

[0014] Optionally, determining the suspected leakage area of ​​the oil pipeline based on the curve graph includes: determining that the oil pipeline has the suspected leakage area when there is a second peak in the curve graph; and determining the suspected leakage area of ​​the oil pipeline based on the second detection point corresponding to the second peak.

[0015] Optionally, the second sound wave signal includes a second normal sound wave signal and a second ultrasonic wave signal, and the second parameter also includes temperature data and / or pressure data. The suspected leakage area of ​​the oil pipeline is determined according to the curve graph, including: when the curve graph deviates from the normal gradient curve and there is the second peak, determining that the oil pipeline has the suspected leakage area, the normal gradient curve includes a normal temperature gradient curve and a normal pressure gradient curve; and determining the suspected leakage area of ​​the oil pipeline according to the second detection point corresponding to the second peak.

[0016] Optionally, when it is determined that a leakage occurs in the suspected leakage area, the first parameter is subjected to predetermined processing to determine the leakage point in the suspected leakage area, and the method further includes: obtaining a third parameter of the leakage point, the third parameter including at least a third normal sound wave and a third ultrasonic signal; determining the leakage level of the leakage point, when the third normal sound wave has a peak and the third ultrasonic signal has no peak, determining that the leakage level is level III; when the third normal sound wave has a peak and the third ultrasonic signal has a peak, determining that the leakage level is level II; when the third normal sound wave has no peak and the third ultrasonic signal has a peak, determining that the leakage level is level I.

[0017] Optionally, the first sound wave signal includes a first normal sound wave signal and a first ultrasonic wave signal, and the first parameter further includes temperature data and / or pressure data.

[0018] According to another aspect of an embodiment of the present application, a diagnostic device for minor leakage in an oil pipeline is also provided, comprising a first determination unit, a first acquisition unit, a second determination unit and a predetermined processing unit, wherein the first determination unit is used to determine a suspected leakage area of ​​the oil pipeline; the first acquisition unit is used to acquire first parameters of multiple first detection points in the suspected leakage area, the first parameters at least including multiple first acoustic wave signals of the first detection points; the second determination unit is used to determine whether a leakage occurs in the suspected leakage area based on the first parameters; the predetermined processing unit is used to perform predetermined processing on the first parameters to determine the leakage point in the suspected leakage area when it is determined that a leakage occurs in the suspected leakage area, and the predetermined processing includes filtering processing.

[0019] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein the storage medium includes a stored program, wherein the program executes any one of the methods described.

[0020] According to another aspect of the embodiments of the present application, a processor is provided, wherein the processor is used to run a program, wherein any one of the methods is executed when the program is run.

[0021] The present application provides a method for diagnosing minute leakage of an oil pipeline. The method for diagnosing minute leakage of an oil pipeline first determines a suspected leakage area of ​​the oil pipeline, then obtains the first parameters such as multiple first acoustic wave signals of multiple first detection points in the suspected leakage area, and then determines whether leakage occurs in the suspected leakage area based on the first parameters. Finally, when it is determined that leakage occurs in the suspected leakage area, the first parameters are subjected to predetermined processing including filtering processing to determine the leakage point in the suspected leakage area. Compared with the prior art which can only measure the position of the leakage point when the leakage amount is large, the method can more accurately determine the position of the leakage point where a minute leakage occurs in the oil pipeline by performing predetermined processing on the first parameters such as the obtained first acoustic wave signal, thereby solving the problem of the lack of an accurate judgment method for minute leakage of an oil pipeline in the prior art, and ensuring that the leakage point can be found and diagnosed more accurately when a minute leakage occurs in the oil pipeline, so as to facilitate the subsequent timely processing of the leakage point. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] Figure 1 A schematic diagram showing a flow chart of a method for diagnosing a minor oil pipe leak according to an embodiment of the present application is shown;

[0024] Figure 2 A schematic diagram showing a device for diagnosing minor oil pipe leakage according to an embodiment of the present application; and

[0025] Figure 3 A schematic flow chart of a method for diagnosing minor oil pipe leakage according to a specific embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.

[0030] As mentioned in the background technology, the prior art lacks an accurate method for determining minute leaks in oil pipes. To solve the above problem, in a typical embodiment of the present application, a method for diagnosing minute leaks in oil pipes, a diagnostic device, a computer-readable storage medium and a processor are provided.

[0031] According to an embodiment of the present application, a method for diagnosing minor leakage in an oil pipe is provided.

[0032] Figure 1 FIG. 1 is a flow chart of a method for diagnosing a minor oil pipe leak according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0033] Step S101, determining a suspected leakage area of ​​the oil pipeline;

[0034] Step S102, obtaining first parameters of a plurality of first detection points in the suspected leakage area, wherein the first parameters at least include a plurality of first acoustic wave signals of the first detection points;

[0035] Step S103, determining whether leakage occurs in the suspected leakage area according to the first parameter;

[0036] Step S104, when it is determined that the suspected leakage area has leaked, a predetermined process is performed on the first parameter to determine the leakage point in the suspected leakage area, wherein the predetermined process includes filtering process.

[0037] The above-mentioned method for diagnosing minor leakage of the oil pipeline first determines the suspected leakage area of ​​the oil pipeline, then obtains the first parameters such as the multiple first acoustic wave signals of the multiple first detection points in the suspected leakage area, and then determines whether the suspected leakage area has leakage based on the first parameters. Finally, when it is determined that the suspected leakage area has leakage, the first parameters are subjected to predetermined processing including filtering processing to determine the leakage point in the suspected leakage area. Compared with the prior art which can only measure the position of the leakage point when the leakage amount is large, the above-mentioned method can more accurately determine the position of the leakage point where the oil pipeline has minor leakage by performing predetermined processing on the first parameters such as the obtained first acoustic wave signals, thus solving the problem of the lack of accurate judgment method for minor leakage of the oil pipeline in the prior art, and ensuring that the leakage point can be found and diagnosed more accurately when a minor leakage occurs in the oil pipeline, so as to facilitate the subsequent timely treatment of the leakage point.

[0038] In actual application, the sound wave signal may include ultrasonic wave signal, infrasonic wave signal and normal sound wave signal.

[0039] According to a specific embodiment of the present application, when it is determined that the suspected leakage area has leaked, the first parameter is subjected to predetermined processing, including: when it is determined that the suspected leakage area has leaked, the first parameter is filtered; the square sum of multiple amplitudes of the filtered first parameter is calculated; and according to the positioning error range, whether the first detection point corresponding to the first maximum value in the square sum is a leakage point is determined. By filtering the first parameter and calculating the square sum of multiple amplitudes of the filtered first parameter, and according to the positioning error range, whether the first detection point corresponding to the first maximum value in the square sum is a leakage point is determined, which further ensures that the position of the leakage point determined by the above method is relatively accurate.

[0040] According to another specific embodiment of the present application, according to the positioning error range, determining whether the first detection point corresponding to the first maximum value in the above-mentioned sum of squares is a leakage point includes: obtaining the above-mentioned positioning error range, the above-mentioned positioning error range is a preset error range; determining whether the first maximum value in the above-mentioned sum of squares is within the positioning error range, and when the above-mentioned first maximum value is within the above-mentioned positioning error range, determining that the above-mentioned first detection point corresponding to the above-mentioned first maximum value is a leakage point, by presetting the positioning error range and determining whether the above-mentioned first maximum value is within the above-mentioned positioning error range, it is further ensured that it can be more accurately determined whether the above-mentioned first detection point corresponding to the above-mentioned first maximum value is a leakage point. When the above-mentioned first maximum value is not within the above-mentioned positioning error range, the number of the above-mentioned first detection points is increased until the above-mentioned first maximum value is within the above-mentioned positioning error range. Specifically, when the above-mentioned first maximum value is not within the above-mentioned positioning error range, the number of the above-mentioned first detection points is increased, the above-mentioned first parameter is repeatedly filtered, the square sum of multiple amplitudes of the above-mentioned first parameter after filtering is calculated, and according to the positioning error range, determining whether the above-mentioned first detection point corresponding to the first maximum value in the above-mentioned sum of squares is a leakage point until the above-mentioned first maximum value is within the above-mentioned positioning error range. This can further ensure the accurate positioning of tiny leak points in the oil pipe, and further facilitate the subsequent timely treatment of the leak points.

[0041] In the actual application process, according to the first parameter, determining whether the suspected leakage area has leaked includes: obtaining the frequency spectrum of the first detection point according to the first parameter; and determining whether the suspected leakage area has leaked according to the frequency spectrum. Determining whether the suspected leakage area has leaked by the frequency spectrum of the first detection point further ensures accurate judgment of whether the suspected leakage area of ​​the oil pipeline has leaked, thereby ensuring that small leaks of the oil pipeline can be discovered in time, avoiding the problem of being unable to detect small leaks of the oil pipeline in time in the prior art.

[0042] In another specific embodiment of the present application, according to the first parameter, the spectrum diagram of the first detection point is obtained, including: obtaining the effective value of the first parameter; determining the second maximum value of the effective value; performing Fourier transform on the time domain of the first parameter corresponding to the second maximum value, so as to obtain the spectrum diagram of the first detection point. The above method obtains the effective value of the first parameter and performs Fourier transform on the time domain of the first parameter corresponding to the maximum value of the effective value, i.e., the second maximum value, so as to obtain the spectrum diagram, which further ensures that whether the suspected leakage area is leaking is determined based on the spectrum diagram.

[0043] In actual application, the sound wave frequency band generated by single-phase flow leakage is 1000 Hz to 2000 Hz, and the sound wave frequency band generated by gas-liquid two-phase flow leakage is 200 Hz to 600 Hz, and the ultrasonic frequency band generated by the leakage presents a trend of gradually decreasing amplitudes of the frequency points on both sides with the amplitude of the center frequency point as the peak, that is, when there is a peak, it is determined that a leakage has occurred. In another specific embodiment of the present application, according to the above-mentioned spectrum graph, determining whether the above-mentioned suspected leakage area has a leakage includes: when there is a first peak in the above-mentioned spectrum graph, determining that the above-mentioned suspected leakage area has a leakage. The above method, when there is a peak in the above-mentioned spectrum graph, that is, the above-mentioned first peak, determines that the above-mentioned suspected leakage area has a leakage, further ensures a more accurate judgment of whether the above-mentioned suspected leakage area has a leakage, and facilitates subsequent diagnosis based on the judgment result.

[0044] According to another specific embodiment of the present application, when it is determined that the suspected leakage area has a leak, the first parameter is filtered, including: determining the first frequency corresponding to the first peak in the spectrum diagram; obtaining the bandwidth range of the first parameter; and filtering the first parameter according to the bandwidth range and taking the first frequency as the center frequency of the filter. By filtering the first parameter with the bandwidth range and the first frequency as the center frequency, it is further convenient to subsequently determine the location of the leak point according to the filtered first parameter.

[0045] Specifically, the filter may be a bandpass filter, and according to a suitable bandwidth range, the first frequency is used as the center frequency of the bandpass filter to filter the first parameter. Of course, the filter may also be other types of filters, and those skilled in the art may flexibly select according to actual conditions.

[0046] In another specific embodiment of the present application, determining the suspected leakage area of ​​the oil pipe includes: determining a plurality of second detection points in the test area of ​​the oil pipe according to a first sampling interval, wherein the first sampling interval is the interval between two adjacent second detection points; obtaining second parameters of the plurality of second detection points, wherein the second parameters at least include a plurality of second acoustic wave signals of the second detection points; obtaining a curve graph with depth as the ordinate and the second parameter as the abscissa; and determining the suspected leakage area of ​​the oil pipe according to the curve graph. The above method, by obtaining the plurality of second parameters of the plurality of second detection points, and then obtaining a cancellation graph with depth as the ordinate and the second parameter as the abscissa, and finally determining the suspected leakage area of ​​the oil pipe according to the curve graph, ensures that the determination of the suspected leakage area is relatively accurate, and further ensures that the location of the leakage point in the area is relatively accurate when it is subsequently determined according to the suspected leakage area.

[0047] In actual application, the suspected leakage area of ​​the oil pipe is determined according to the curve graph, including: determining that the oil pipe has the suspected leakage area when the curve graph has a second peak; determining the suspected leakage area of ​​the oil pipe according to the second detection point corresponding to the second peak. The method ensures a relatively accurate determination of whether the oil pipe has the suspected leakage area by determining that the oil pipe has the suspected leakage area when the curve graph has a peak, i.e., the second peak. In the case that the oil pipe has the suspected leakage area, the suspected leakage area of ​​the oil pipe is determined by the second detection point corresponding to the second peak, ensuring a relatively accurate determination of the suspected leakage area, and further ensuring that the location of the leakage point in the area can be determined relatively accurately based on the suspected leakage area.

[0048] It should be noted that the vicinity of the second detection point corresponding to the second peak is the suspected leakage area, and the suspected leakage area includes the second detection point. The range of a circle with the second detection point corresponding to the second peak as the center and a certain distance as the radius can be selected as the suspected leakage area. In order to more accurately determine whether a leakage occurs in the suspected leakage area, a larger value can be selected for the distance.

[0049] According to another specific embodiment of the present application, the above-mentioned second sound wave signal includes a second normal sound wave signal and a second ultrasonic signal, and the above-mentioned second parameter also includes temperature data and / or pressure data, that is, the above-mentioned second parameter includes three situations, the first one, the above-mentioned second parameter includes a second normal sound wave signal, a second ultrasonic signal and temperature data; the second one, the above-mentioned second parameter includes a second normal sound wave signal, a second ultrasonic signal and pressure data; the third one, the above-mentioned second parameter includes a second normal sound wave signal, a second ultrasonic signal, temperature data and pressure data; according to the above-mentioned curve graph, the above-mentioned suspected leakage area of ​​the above-mentioned oil pipeline is determined, including: when the above-mentioned curve graph deviates from the normal gradient curve and the above-mentioned second peak exists, it is determined that the above-mentioned oil pipeline has the above-mentioned suspected leakage area, and the above-mentioned normal gradient curve includes a normal temperature gradient curve and a normal pressure gradient curve; according to the above-mentioned second detection point corresponding to the above-mentioned second peak, the above-mentioned suspected leakage area of ​​the above-mentioned oil pipeline is determined. The above method obtains the second normal sound wave signal, the second ultrasonic signal, the temperature data and / or the pressure data of the above-mentioned multiple second detection points, and compares the above-mentioned curve graph with the normal gradient curve. When the above-mentioned curve graph corresponding to the above-mentioned temperature data or pressure data deviates from the normal gradient curve and has a peak, it is determined that the above-mentioned oil pipeline has the above-mentioned suspected leakage area. When the above-mentioned curve graph corresponding to the above-mentioned second normal sound wave signal and the second ultrasonic signal has a peak, it is determined that the above-mentioned oil pipeline has the above-mentioned suspected leakage area, which further ensures that it can be more accurately determined whether the above-mentioned suspected leakage area exists in the test area of ​​the above-mentioned oil pipeline, so as to facilitate subsequent diagnosis based on the determination result.

[0050] In actual application, the propagation distance of ultrasound in gas is about 0.9 meters to 3 meters. In order to more accurately determine whether there is the suspected leakage area in the test area of ​​the oil pipe according to the second parameter, the first sampling interval can take any value less than 1.8m and greater than 0.9m. Of course, the first sampling interval can also take other values ​​to ensure that the second detection point can cover the test area of ​​the oil pipe. In order to more accurately determine whether there is a leak in the suspected leakage area according to the first parameter, and to determine the leakage point when there is a leak in the suspected leakage area, the second sampling interval of two adjacent first detection points can take any value less than 1.8m and greater than 0.9m. Of course, the second sampling interval can also take other values ​​to ensure that the first detection point can cover the suspected leakage area.

[0051] In the actual application process, when it is determined that the suspected leakage area has leaked, the first parameter is processed in a predetermined manner, and after the leakage point in the suspected leakage area is determined, the method further includes: obtaining the third parameter of the leakage point, the third parameter at least including the third normal sound wave and the third ultrasonic signal; determining the leakage level of the leakage point, when the third normal sound wave has a peak and the third ultrasonic signal has no peak, determining the leakage level to be level III; when the third normal sound wave has a peak and the third ultrasonic signal has a peak, determining the leakage level to be level II; when the third normal sound wave has no peak and the third ultrasonic signal has a peak, determining the leakage level to be level I. The method achieves the determination of the leakage level of a tiny leakage point of the oil pipe by obtaining the third parameter of the leakage point and determining the leakage level of the leakage point according to the third parameter.

[0052] In a specific embodiment, the first sound wave signal includes a first normal sound wave signal and a first ultrasonic wave signal, and the first parameter also includes temperature data and / or pressure data. That is, the first parameter includes three situations. The first situation is that the first parameter includes a first normal sound wave signal, a first ultrasonic wave signal and temperature data; the second situation is that the first parameter includes a first normal sound wave signal, a first ultrasonic wave signal and pressure data; the third situation is that the first parameter includes a first normal sound wave signal, a first ultrasonic wave signal, temperature data and pressure data. The above method, by acquiring the first normal sound wave signal, the first ultrasonic wave signal, the temperature data and / or pressure data of the first detection points, further ensures the accurate determination of whether the suspected leakage area of ​​the oil pipeline has leaked and the location of the leak point, further ensures that the location of the leak point where the oil pipeline has a slight leak can be determined more accurately, and further solves the problem of the lack of an accurate judgment method for slight leaks in the oil pipeline in the prior art.

[0053] In actual application, the first sampling interval is set to d1, the second sampling interval is set to d2, the number of the first detection points is N, and the positioning error range is σ. Then the corresponding relationship between the positioning error range, the number of the first detection points and the second sampling interval can be N≥(0.5d2÷σ)+1, and d2≤2N. The corresponding relationship between the first sampling interval and the second sampling interval can be d2=0.5d1. Of course, the positioning error range, the number of the first detection points and the second sampling interval can also be other corresponding relationships, and the first sampling interval and the second sampling interval can also be other corresponding relationships.

[0054] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0055] The embodiment of the present application also provides a diagnostic device for oil pipe micro-leakage. It should be noted that the diagnostic device for oil pipe micro-leakage in the embodiment of the present application can be used to execute the diagnostic method for oil pipe micro-leakage provided in the embodiment of the present application. The diagnostic device for oil pipe micro-leakage provided in the embodiment of the present application is introduced below.

[0056] Figure 2 Schematic diagram of a device for diagnosing micro-leakage in an oil pipe according to an embodiment of the present application. Figure 2 As shown, the device includes: a first determination unit 10, a first acquisition unit 20, a second determination unit 30 and a predetermined processing unit 40, wherein the first determination unit 10 is used to determine the suspected leakage area of ​​the oil pipe; the first acquisition unit 20 is used to obtain first parameters of multiple first detection points in the suspected leakage area, and the first parameters at least include multiple first acoustic wave signals of the first detection points; the second determination unit 30 is used to determine whether leakage occurs in the suspected leakage area according to the first parameters; the predetermined processing unit 40 is used to perform predetermined processing on the first parameters to determine the leakage point in the suspected leakage area when it is determined that leakage occurs in the suspected leakage area, and the predetermined processing includes filtering processing.

[0057] The above-mentioned diagnostic device for minute leakage of oil pipes determines the suspected leakage area of ​​the oil pipe through the above-mentioned first determination unit, obtains the first parameters such as the multiple first sound wave signals of the multiple first detection points in the above-mentioned suspected leakage area through the above-mentioned first acquisition unit, and determines whether the above-mentioned suspected leakage area has leakage through the above-mentioned second determination unit according to the above-mentioned first parameters. When it is determined that the above-mentioned suspected leakage area has leakage, the above-mentioned first parameter is predetermined processed by the above-mentioned predetermined processing unit to determine the leakage point in the above-mentioned suspected leakage area. Compared with the prior art that can only measure the position of the leakage point when the leakage amount is large, the above-mentioned device can more accurately determine the position of the leakage point where the oil pipe has a minute leakage by predetermined processing the above-mentioned first parameters such as the acquired first sound wave signal, thereby solving the problem of the lack of an accurate judgment device for minute leakage of oil pipes in the prior art, and ensuring that the leakage point can be found and diagnosed more accurately when a minute leakage occurs in the oil pipe, so as to facilitate the subsequent timely processing of the leakage point.

[0058] In actual application, sound wave signals include ultrasonic signals, infrasonic signals and normal sound wave signals.

[0059] According to a specific embodiment of the present application, the predetermined processing unit includes a filtering module, a calculation module and a first determination module, wherein the filtering module is used to filter the first parameter when it is determined that a leak occurs in the suspected leakage area; the calculation module is used to calculate the square sum of multiple amplitudes of the filtered first parameter; the first determination module is used to determine whether the first detection point corresponding to the first maximum value in the square sum is a leak point based on the positioning error range. By filtering the first parameter and calculating the square sum of multiple amplitudes of the filtered first parameter, and determining whether the first detection point corresponding to the first maximum value in the square sum is a leak point based on the positioning error range, this further ensures that the position of the leak point determined by the device is relatively accurate.

[0060] According to another specific embodiment of the present application, the first determination module includes a first acquisition submodule and a first determination submodule, wherein the first acquisition submodule is used to acquire the positioning error range, and the positioning error range is a preset error range; the first determination submodule is used to determine whether the first maximum value in the square sum is within the positioning error range. When the first maximum value is within the positioning error range, the first detection point corresponding to the first maximum value is determined to be a leakage point. By presetting the positioning error range and determining whether the first maximum value is within the positioning error range, it is further ensured that the first detection point corresponding to the first maximum value can be more accurately determined to be a leakage point. When the first maximum value is not within the positioning error range, the number of the first detection points is increased until the first maximum value is within the positioning error range. Specifically, when the first maximum value is not within the positioning error range, the number of the first detection points is increased, the first parameter is repeatedly filtered, the square sum of multiple amplitudes of the filtered first parameter is calculated, and the first detection point corresponding to the first maximum value in the square sum is determined to be a leakage point according to the positioning error range, until the first maximum value is within the positioning error range. This can further ensure the accurate positioning of tiny leak points in the oil pipe, and further facilitate the subsequent timely treatment of the leak points.

[0061] In the actual application process, the second determination unit includes an acquisition module and a second determination module, wherein the acquisition module is used to obtain the frequency spectrum of the first detection point according to the first parameter; the second determination module is used to determine whether the suspected leakage area has leaked according to the frequency spectrum. By determining whether the suspected leakage area has leaked through the frequency spectrum of the first detection point, it is further ensured that the suspected leakage area of ​​the oil pipeline has leaked accurately, thereby ensuring that the small leakage of the oil pipeline can be discovered in time, avoiding the problem of the inability to detect the small leakage of the oil pipeline in time in the prior art.

[0062] In another specific embodiment of the present application, the obtaining module includes a second obtaining submodule, a second determining submodule and an obtaining submodule, wherein the second obtaining submodule is used to obtain the effective value in the first parameter; the second determining submodule is used to determine the second maximum value in the effective value; the obtaining submodule is used to perform Fourier transform on the time domain of the first parameter corresponding to the second maximum value to obtain the spectrum diagram of the first detection point. The above device obtains the effective value in the first parameter and performs Fourier transform on the time domain of the first parameter corresponding to the maximum value in the effective value, i.e., the second maximum value, to obtain the spectrum diagram, thereby further ensuring that the suspected leakage area is subsequently determined based on the spectrum diagram to determine whether leakage occurs.

[0063] In actual application, the sound wave frequency band generated by single-phase flow leakage is 1000 Hz to 2000 Hz, and the sound wave frequency band generated by gas-liquid two-phase flow leakage is 200 Hz to 600 Hz, and the ultrasonic frequency band generated by the leakage presents a trend of gradually decreasing amplitudes of the frequency points on both sides with the amplitude at the center frequency point as the peak, that is, when there is a peak, it is determined that a leakage has occurred. In another specific embodiment of the present application, the above-mentioned second determination module includes a third determination submodule, and the above-mentioned third determination submodule is used to determine that a leakage has occurred in the above-mentioned suspected leakage area when there is a first peak in the above-mentioned spectrum graph. The above-mentioned device determines that a leakage has occurred in the above-mentioned suspected leakage area when there is a peak in the above-mentioned spectrum graph, that is, the above-mentioned first peak, further ensuring a more accurate judgment of whether a leakage has occurred in the above-mentioned suspected leakage area, and facilitating subsequent diagnosis based on the judgment result.

[0064] According to another specific embodiment of the present application, the filtering module includes a fourth determination submodule, a third acquisition submodule and a filtering submodule, wherein the fourth determination submodule is used to determine the first frequency corresponding to the first peak in the spectrum diagram; the third acquisition submodule is used to obtain the bandwidth range of the first parameter; the filtering submodule is used to filter the first parameter according to the bandwidth range and with the first frequency as the center frequency of the filter. By filtering the first parameter with the bandwidth range and with the first frequency as the center frequency, it is further convenient to determine the location of the leakage point according to the filtered first parameter.

[0065] Specifically, the filter may be a bandpass filter, and according to a suitable bandwidth range, the first frequency is used as the center frequency of the bandpass filter to filter the first parameter. Of course, the filter may also be other types of filters, and those skilled in the art may flexibly select according to actual conditions.

[0066] In another specific embodiment of the present application, the first determination unit includes a third determination module, a first acquisition module, a second acquisition module and a fourth determination module, wherein the third determination module is used to determine a plurality of second detection points in the test area of ​​the oil pipe according to the first sampling interval, the first sampling interval being the interval between two adjacent second detection points; the first acquisition module is used to obtain second parameters of the plurality of second detection points, the second parameters at least including a plurality of second acoustic wave signals of the second detection points; the second acquisition module is used to obtain a curve graph with depth as the ordinate and the second parameter as the abscissa; the fourth determination module is used to determine the suspected leakage area of ​​the oil pipe according to the curve graph. The device obtains the plurality of second parameters of the plurality of second detection points, obtains a cancellation graph with depth as the ordinate and the second parameter as the abscissa, and finally determines the suspected leakage area of ​​the oil pipe according to the curve graph, thereby ensuring that the determination of the suspected leakage area is relatively accurate, and further ensuring that the location of the leakage point in the area is relatively accurate in the subsequent determination according to the suspected leakage area.

[0067] In the actual application process, the fourth determination module includes a fifth determination submodule and a sixth determination submodule, wherein the fifth determination submodule is used to determine that the oil pipe has the suspected leakage area when the curve graph has a second peak; the sixth determination submodule is used to determine the suspected leakage area of ​​the oil pipe according to the second detection point corresponding to the second peak. The device ensures a relatively accurate determination of whether the oil pipe has the suspected leakage area by determining that the oil pipe has the suspected leakage area when the curve graph has a peak, i.e., the second peak. When the oil pipe has the suspected leakage area, the suspected leakage area of ​​the oil pipe is determined by the second detection point corresponding to the second peak, ensuring a relatively accurate determination of the suspected leakage area, and further ensuring that the location of the leakage point in the area can be more accurately determined based on the suspected leakage area.

[0068] It should be noted that the vicinity of the second detection point corresponding to the second peak is the suspected leakage area, and the suspected leakage area includes the second detection point. The range of a circle with the second detection point corresponding to the second peak as the center and a certain distance as the radius can be selected as the suspected leakage area. In order to more accurately determine whether a leakage occurs in the suspected leakage area, a larger value can be selected for the distance.

[0069] According to another specific embodiment of the present application, the above-mentioned second sound wave signal includes a second normal sound wave signal and a second ultrasonic signal, and the above-mentioned second parameter also includes temperature data and / or pressure data, that is, the above-mentioned second parameter includes three situations, the first one, the above-mentioned second parameter includes a second normal sound wave signal, a second ultrasonic signal and temperature data; the second one, the above-mentioned second parameter includes a second normal sound wave signal, a second ultrasonic signal and pressure data; the third one, the above-mentioned second parameter includes a second normal sound wave signal, a second ultrasonic signal, temperature data and pressure data; the above-mentioned sixth determination submodule is also used to determine that the above-mentioned oil pipeline has the above-mentioned suspected leakage area when the above-mentioned curve graph deviates from the normal gradient curve and the above-mentioned second peak exists, and the above-mentioned normal gradient curve includes a normal temperature gradient curve and a normal pressure gradient curve; the above-mentioned sixth determination submodule is also used to determine the above-mentioned suspected leakage area of ​​the above-mentioned oil pipeline according to the above-mentioned second detection point corresponding to the above-mentioned second peak. The above-mentioned device obtains the second normal sound wave signal, the second ultrasonic signal, the temperature data and / or the pressure data of the above-mentioned multiple second detection points, and compares the above-mentioned curve graph with the normal gradient curve. When the above-mentioned curve graph corresponding to the above-mentioned temperature data or pressure data deviates from the normal gradient curve and has a peak, it is determined that the above-mentioned oil pipeline has the above-mentioned suspected leakage area. When the above-mentioned curve graph corresponding to the above-mentioned second normal sound wave signal and the second ultrasonic signal has a peak, it is determined that the above-mentioned oil pipeline has the above-mentioned suspected leakage area, which further ensures that it can be more accurately determined whether the above-mentioned suspected leakage area exists in the area to be tested of the above-mentioned oil pipeline, so as to facilitate subsequent diagnosis based on the determination result.

[0070] In actual application, the propagation distance of ultrasound in gas is about 0.9 meters to 3 meters. In order to more accurately determine whether there is the suspected leakage area in the test area of ​​the oil pipe according to the second parameter, the first sampling interval can take any value less than 1.8m and greater than 0.9m. Of course, the first sampling interval can also take other values ​​to ensure that the second detection point can cover the test area of ​​the oil pipe. In order to more accurately determine whether there is a leak in the suspected leakage area according to the first parameter, and to determine the leakage point when there is a leak in the suspected leakage area, the second sampling interval of two adjacent first detection points can take any value less than 1.8m and greater than 0.9m. Of course, the second sampling interval can also take other values ​​to ensure that the first detection point can cover the suspected leakage area.

[0071] In the actual application process, the above device also includes a second acquisition unit and a third determination unit, wherein the above second acquisition unit is used to perform predetermined processing on the above first parameter when it is determined that the above suspected leakage area has leakage, and after determining the leakage point in the above suspected leakage area, obtain the third parameter of the above leakage point, and the above third parameter at least includes the third normal sound wave and the third ultrasonic signal; the above third determination unit is used to determine the leakage level of the above leakage point, when the above third normal sound wave has a peak and the third ultrasonic signal has no peak, the above leakage level is determined to be level III; when the above third normal sound wave has a peak and the third ultrasonic signal has a peak, the above leakage level is determined to be level II; when the above third normal sound wave has no peak and the third ultrasonic signal has a peak, the above leakage level is determined to be level I. The above device realizes the determination of the leakage level of the tiny leakage point of the oil pipe by acquiring the above third parameter of the above leakage point and determining the leakage level of the above leakage point according to the above third parameter.

[0072] In a specific embodiment, the first sound wave signal includes a first normal sound wave signal and a first ultrasonic wave signal, and the first parameter also includes temperature data and / or pressure data. That is, the first parameter includes three situations. The first situation is that the first parameter includes a first normal sound wave signal, a first ultrasonic wave signal and temperature data; the second situation is that the first parameter includes a first normal sound wave signal, a first ultrasonic wave signal and pressure data; the third situation is that the first parameter includes a first normal sound wave signal, a first ultrasonic wave signal, temperature data and pressure data. The above device, by acquiring the first normal sound wave signal, the first ultrasonic wave signal, the temperature data and / or pressure data of the first detection points, further ensures the accurate determination of whether the suspected leakage area of ​​the oil pipeline has leaked and the location of the leakage point, further ensures that the location of the leakage point where the oil pipeline has a slight leak can be determined more accurately, and further solves the problem of the lack of an accurate judgment device for slight leakage of the oil pipeline in the prior art.

[0073] In actual application, the first sampling interval is set to d1, the second sampling interval is set to d2, the number of the first detection points is N, and the positioning error range is σ. Then the corresponding relationship between the positioning error range, the number of the first detection points and the second sampling interval can be N≥(0.5d2÷σ)+1, and d2≤2N. The corresponding relationship between the first sampling interval and the second sampling interval can be d2=0.5d1. Of course, the positioning error range, the number of the first detection points and the second sampling interval can also be other corresponding relationships, and the first sampling interval and the second sampling interval can also be other corresponding relationships.

[0074] The above-mentioned diagnostic device for oil pipe micro-leakage includes a processor and a memory. The above-mentioned first determination unit, first acquisition unit, second determination unit and predetermined processing unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0075] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of the lack of an accurate judgment method for micro-leakage of oil pipes in the prior art can be solved by adjusting kernel parameters.

[0076] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0077] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned method for diagnosing micro-leakage of the oil pipe is implemented.

[0078] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the method for diagnosing micro-leakage of the oil pipe is executed when the program is run.

[0079] An embodiment of the present invention provides a device, the device comprising a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0080] Step S101, determining a suspected leakage area of ​​the oil pipeline;

[0081] Step S102, obtaining first parameters of a plurality of first detection points in the suspected leakage area, wherein the first parameters at least include a plurality of first acoustic wave signals of the first detection points;

[0082] Step S103, determining whether leakage occurs in the suspected leakage area according to the first parameter;

[0083] Step S104, when it is determined that the suspected leakage area has leaked, a predetermined process is performed on the first parameter to determine the leakage point in the suspected leakage area, wherein the predetermined process includes filtering process.

[0084] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0085] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0086] Step S101, determining a suspected leakage area of ​​the oil pipeline;

[0087] Step S102, obtaining first parameters of a plurality of first detection points in the suspected leakage area, wherein the first parameters at least include a plurality of first acoustic wave signals of the first detection points;

[0088] Step S103, determining whether leakage occurs in the suspected leakage area according to the first parameter;

[0089] Step S104, when it is determined that the suspected leakage area has leaked, a predetermined process is performed on the first parameter to determine the leakage point in the suspected leakage area, wherein the predetermined process includes filtering process.

[0090] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0091] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0092] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0093] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0094] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0095] In order to enable those skilled in the art to more clearly and intuitively understand the technical solution of the present application, a description is given below in conjunction with specific embodiments.

[0096] Example

[0097] Figure 3 A flowchart generated for a method for diagnosing minor leaks in an oil pipe, wherein the oil pipe is an oil pipe, the second parameter of the second detection point is tested during a dive, the first parameter of the first detection point is tested during an ascent, and the third parameter of the leakage point is obtained based on the first parameter.

[0098] Among them, the abnormality is that in the curve graph of the above-mentioned second parameter, the temperature curve graph deviates from the normal temperature gradient curve and has the above-mentioned second peak, or the pressure curve graph deviates from the normal pressure gradient curve and has the above-mentioned second peak, or the second normal sound wave curve graph has the above-mentioned second peak, or the second ultrasonic wave curve graph has the above-mentioned second peak, otherwise, there is no abnormality. The above-mentioned method can detect the leakage of the oil pipe when a small leakage occurs in the oil pipe in the early stage by obtaining the four-parameter data of temperature, pressure, normal sound wave and ultrasonic wave of the above-mentioned oil pipe, and more accurately determine the location of the above-mentioned leakage point and the leakage level of the leakage point. At the same time, the above-mentioned method can complete the measurement of the above-mentioned parameters in one trip down the well, and is highly practical.

[0099] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0100] 1) The present application provides a method for diagnosing minute leaks in oil pipes. The method for diagnosing minute leaks in oil pipes first determines a suspected leak area in the oil pipe, then obtains the first parameters such as the multiple first acoustic wave signals of the multiple first detection points in the suspected leak area, and then determines whether a leak occurs in the suspected leak area based on the first parameters. Finally, when it is determined that a leak occurs in the suspected leak area, the first parameters are subjected to predetermined processing including filtering processing to determine the leak point in the suspected leak area. Compared with the prior art which can only measure the position of the leak point when the leakage amount is large, the method can more accurately determine the position of the leak point where a minute leak occurs in the oil pipe by performing predetermined processing on the first parameters such as the obtained first acoustic wave signals, thereby solving the problem of the lack of an accurate method for judging minute leaks in the oil pipe in the prior art, and ensuring that the leak point can be found and diagnosed more accurately when a minute leak occurs in the oil pipe, so as to facilitate the subsequent timely processing of the leak point.

[0101] 2) The present application also provides a diagnostic device for minute leaks in oil pipes. The diagnostic device for minute leaks in oil pipes determines a suspected leak area of ​​the oil pipe through the first determination unit, obtains first parameters such as a plurality of first acoustic signals of a plurality of first detection points in the suspected leak area through the first acquisition unit, determines whether a leak occurs in the suspected leak area through the second determination unit based on the first parameters, and when it is determined that a leak occurs in the suspected leak area, performs predetermined processing on the first parameters through the predetermined processing unit to determine the leak point in the suspected leak area. Compared with the prior art which can only measure the position of the leak point when the leakage amount is large, the device can more accurately determine the position of the leak point where a minute leak occurs in the oil pipe by performing predetermined processing on the first parameters such as the acquired first acoustic signals, thereby solving the problem of the lack of an accurate judgment device for minute leaks in the oil pipe in the prior art, and ensures that the leak point can be found and diagnosed more accurately when a minute leak occurs in the oil pipe, so as to facilitate the subsequent timely processing of the leak point.

[0102] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for diagnosing minor oil pipe leaks. It is characterized in that include: Identify suspected leak areas on the pipeline; Acquire first parameters of a plurality of first detection points in the suspected leakage area, wherein the first parameters at least include a plurality of first acoustic wave signals of the first detection points; Determining whether leakage occurs in the suspected leakage area according to the first parameter; In the case where it is determined that the suspected leakage area has leaked, a predetermined process is performed on the first parameter to determine the leakage point in the suspected leakage area, wherein the predetermined process includes filtering process, When it is determined that the suspected leakage area leaks, performing predetermined processing on the first parameter includes: When it is determined that leakage occurs in the suspected leakage area, filtering the first parameter; Calculating the square sum of multiple amplitudes of the first parameter after filtering; According to the positioning error range, determining whether the first detection point corresponding to the first maximum value in the square sum is a leakage point, Determining, according to the positioning error range, whether the first detection point corresponding to the first maximum value in the square sum is a leakage point includes: Acquire the positioning error range, where the positioning error range is a preset error range; Determine whether the first maximum value in the sum of squares is within the positioning error range, and if the first maximum value is within the positioning error range, determine that the first detection point corresponding to the first maximum value is the leakage point; if the first maximum value is not within the positioning error range, increase the number of the first detection points until the first maximum value is within the positioning error range, Determining whether leakage occurs in the suspected leakage area according to the first parameter includes: According to the first parameter, obtaining a frequency spectrum of the first detection point; Determine whether leakage occurs in the suspected leakage area according to the spectrum diagram, Obtaining a frequency spectrum diagram of the first detection point according to the first parameter includes: Obtaining a valid value in the first parameter; determining a second maximum value among the valid values; Performing Fourier transform on the time domain of the first parameter corresponding to the second maximum value to obtain a frequency spectrum of the first detection point.

2. The method according to claim 1, It is characterized in that Determining whether leakage occurs in the suspected leakage area according to the frequency spectrum diagram includes: When there is a first peak in the frequency spectrum, it is determined that leakage occurs in the suspected leakage area.

3. The method according to claim 2, It is characterized in that When it is determined that the suspected leakage area leaks, filtering the first parameter includes: Determine a first frequency corresponding to the first peak in the frequency spectrum; Acquire a bandwidth range of the first parameter; According to the bandwidth range, the first parameter is filtered using the first frequency as the center frequency of the filter.

4. The method according to claim 1, It is characterized in that Identify suspected leak areas on the pipeline, including: Determine a plurality of second detection points in the to-be-detected area of ​​the oil pipe according to a first sampling interval, wherein the first sampling interval is an interval between two adjacent second detection points; Acquire a plurality of second parameters of the second detection points, where the second parameters at least include a plurality of second sound wave signals of the second detection points; Obtaining a curve graph with depth as the ordinate and the second parameter as the abscissa; The suspected leakage area of ​​the oil pipe is determined according to the curve graph.

5. The method according to claim 4, It is characterized in that Determining the suspected leakage area of ​​the oil pipe according to the curve graph includes: When the curve graph has a second peak, determining that the oil pipe has the suspected leakage area; The suspected leakage area of ​​the oil pipe is determined according to the second detection point corresponding to the second peak value.

6. The method according to claim 5, It is characterized in that The second sound wave signal includes a second normal sound wave signal and a second ultrasonic wave signal, and the second parameter also includes temperature data and / or pressure data. Determining the suspected leakage area of ​​the oil pipe according to the curve graph includes: When the curve graph deviates from a normal gradient curve and the second peak exists, determining that the oil pipe has the suspected leakage area, the normal gradient curve includes a normal temperature gradient curve and a normal pressure gradient curve; The suspected leakage area of ​​the oil pipe is determined according to the second detection point corresponding to the second peak value.

7. The method according to claim 6, It is characterized in that In the case where it is determined that the suspected leakage area has leaked, after the first parameter is processed in a predetermined manner to determine the leakage point in the suspected leakage area, the method further includes: Acquire a third parameter of the leakage point, wherein the third parameter at least includes a third normal sound wave and a third ultrasonic wave signal; Determine the leakage level of the leakage point. When the third normal sound wave has a peak and the third ultrasonic signal has no peak, determine that the leakage level is Level III; when the third normal sound wave has a peak and the third ultrasonic signal has a peak, determine that the leakage level is Level II; when the third normal sound wave has no peak and the third ultrasonic signal has a peak, determine that the leakage level is Level I.

8. The method according to claim 1, It is characterized in that The first sound wave signal includes a first normal sound wave signal and a first ultrasonic wave signal, and the first parameter also includes temperature data and / or pressure data.

9. A diagnostic device for oil pipe minor leaks, It is characterized in that include: A first determination unit, used to determine a suspected leakage area of ​​the oil pipeline; A first acquisition unit, configured to acquire first parameters of a plurality of first detection points in the suspected leakage area, wherein the first parameters at least include a plurality of first acoustic wave signals of the first detection points; a second determining unit, configured to determine whether leakage occurs in the suspected leakage area according to the first parameter; a predetermined processing unit, configured to perform predetermined processing on the first parameter to determine a leakage point in the suspected leakage area when it is determined that the suspected leakage area has a leakage, wherein the predetermined processing includes filtering processing, The predetermined processing unit comprises: A filtering module, configured to filter the first parameter when it is determined that leakage occurs in the suspected leakage area; A calculation module, used for calculating the square sum of multiple amplitudes of the first parameter after filtering; A first determination module is used to determine whether the first detection point corresponding to the first maximum value in the square sum is a leakage point according to the positioning error range, The first determining module comprises: A first acquisition submodule is used to acquire the positioning error range, where the positioning error range is a preset error range; The first determination submodule is used to determine whether the first maximum value in the sum of squares is within the positioning error range. If the first maximum value is within the positioning error range, the first detection point corresponding to the first maximum value is determined to be the leakage point; if the first maximum value is not within the positioning error range, the number of the first detection points is increased until the first maximum value is within the positioning error range. The second determining unit includes: An obtaining module, used for obtaining a frequency spectrum diagram of the first detection point according to the first parameter; A second determination module is used to determine whether leakage occurs in the suspected leakage area according to the spectrum diagram, The obtaining module comprises: A second acquisition submodule, used to acquire a valid value in the first parameter; A second determining submodule, used to determine a second maximum value among the valid values; The obtaining submodule is used to perform Fourier transform on the time domain of the first parameter corresponding to the second maximum value to obtain a frequency spectrum of the first detection point.

10. A computer-readable storage medium, It is characterized in that The storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 8.

11. A processor, It is characterized in that The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 8 when running.