Gas pipeline anti-corrosion method and system, electronic equipment and storage medium

By calculating the potential gradient value of the gas pipeline to determine the corrosion level and delivering active metal corrosion protection units, the problems of low efficiency and missed detection of gas pipeline corrosion detection are solved, and dynamic protection of local corrosion areas is achieved.

CN120778622AActive Publication Date: 2025-10-14GOLDCARD HIGH TECH +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202511200061.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-26
Publication Date
2025-10-14
Estimated Expiration
2045-08-26

AI Technical Summary

Technical Problem

Existing gas pipeline corrosion detection is inefficient and prone to missed detection, and existing anti-corrosion measures cannot dynamically protect local corrosion areas.

Method used

By obtaining the potential data on the gas pipeline, calculating the potential gradient value, determining the corrosion level based on the difference between the gradient value and the threshold value, and dynamically transporting active metal anti-corrosion units to the corrosion location, a primary battery is formed for dynamic protection.

Benefits of technology

The corrosion detection efficiency is improved, missed detection is avoided, and dynamic protection of local corrosion areas is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120778622A_ABST
    Figure CN120778622A_ABST
Patent Text Reader

Abstract

The invention discloses a gas pipeline anti-corrosion method and system, electronic equipment and a storage medium, the gas pipeline anti-corrosion method comprises the steps that potential data of detection positions on a gas pipeline are acquired, and the multiple detection positions are distributed in the extending direction of the gas pipeline; based on the respective potential data of the two detection positions and the spacing distance between the two detection positions, potential gradient values of the two detection positions are determined; comparing the potential gradient value of the detection position with a preset gradient threshold value to obtain a difference value between the potential gradient value of the detection position and the gradient threshold value; according to the difference value, the corrosion level of the detection position is determined, the corresponding number of anti-corrosion units are conveyed to the detection position based on the corrosion level, and the anti-corrosion units are active metal, through the method, the efficiency of gas pipeline corrosion detection is improved, missing detection is avoided, and dynamic protection for the local corrosion area is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of gas pipeline corrosion prevention, and in particular to a gas pipeline corrosion prevention method, system, electronic equipment and storage medium. Background Art

[0002] With the growing demand for natural gas, the demand for gas pipelines, as a vital infrastructure for transporting the medium, is also growing in both quantity and quality. Gas pipelines are buried in the soil for long periods of time, and the water and chemicals in the soil can corrode them. Corrosion often occurs locally in gas pipelines. Regular manual inspections of the corrosion locations in gas pipelines are not only inefficient but can also lead to missed inspections. Cathodic protection, used for pipeline corrosion protection, uses an external power source or sacrificial anodes to prevent the protected gas pipeline from losing electrons, thereby keeping it below the corrosion potential and slowing or stopping the corrosion process. However, since sacrificial anodes are fixed to the gas pipeline, they cannot dynamically protect against localized corrosion. Summary of the Invention

[0003] In order to address the deficiencies of the prior art, the purpose of this application is to provide a gas pipeline anti-corrosion method, system and electronic equipment, which can improve the detection efficiency of corrosion locations, avoid missed detection, and realize dynamic protection of local corrosion locations.

[0004] To achieve the above objectives, this application adopts the following technical solutions: The present application provides a method for preventing corrosion of a gas pipeline, which comprises: Acquire potential data of detection positions on the gas pipeline, where multiple detection positions are distributed along the extension direction of the gas pipeline; determining a potential gradient value of one of the detection positions based on the potential data of each of the two detection positions and the interval distance between the two detection positions; Comparing the potential gradient value at the detection position with a preset gradient threshold value to obtain a difference between the potential gradient value at the detection position and the gradient threshold value; The corrosion level of the detection position is determined according to the difference, and a corresponding number of anti-corrosion units are delivered to the detection position based on the corrosion level. The anti-corrosion units are active metals.

[0005] In some embodiments, determining the potential gradient value of one of the detection positions based on the potential data of the two detection positions and the distance between the two detection positions includes: obtaining a potential difference between potential data of one detection position and potential data of another detection position; The potential gradient value is determined according to the ratio of the potential difference to the spacing distance, and the potential gradient value satisfies the following relationship: Δϕ = ΔV / L; wherein Δ ϕ represents a potential gradient value; ΔV represents a potential difference; and L represents a distance of separation.

[0006] In some embodiments, the gas pipeline corrosion prevention method further comprises: determining two detection positions with a potential gradient value greater than the gradient threshold value, and marking them as target positions, and there is at least one detection position between the two target positions, and marking it as a to-be-detected position, and the potential gradient value of the to-be-detected position is substantially the same as that of the target position; based on the respective corrosion levels of the two target positions, delivering a corresponding number of corrosion prevention units to the two target positions; rechecking the potential data of the to-be-detected position to obtain the potential gradient value of the to-be-detected position and determine the corrosion level of the to-be-detected position; delivering a corresponding number of corrosion prevention units based on the corrosion level of the to-be-detected position.

[0007] In some embodiments, determining the corrosion level of the detection position according to the difference value and delivering a corresponding number of corrosion prevention units to the detection position based on the corrosion level comprises: selecting a corresponding number of corrosion prevention units based on a set difference value range; if the difference value is within a first difference value range, delivering a first number of corrosion prevention units to the detection position; if the difference value is within a second difference value range, delivering a second number of corrosion prevention units to the detection position; the first difference value range is smaller than the second difference value range, and the first number is smaller than the second number.

[0008] In some embodiments, the detection position where corrosion occurs is marked as a target position, and the gas pipeline corrosion prevention method further comprises: when the corrosion prevention unit is delivered to the target position, obtaining an initial gradient value and a current gradient value of the target position; the initial gradient value is the potential gradient value of the target position when no corrosion prevention unit is configured, and the current gradient value is the potential gradient value of the target position at the current time; based on the initial gradient value and the current gradient value, determining a potential gradient change rate of the target position; determining a recovery time required for the potential gradient of the target position to decrease to the gradient threshold value, the recovery time, the potential gradient value at the current time, and the potential recovery rate satisfy the following relationship: T = (G1-G2) / (ΔG / Δt); wherein T represents the recovery time, G1 represents the current gradient value, G2 represents the gradient threshold value, ΔG represents the potential gradient change amount, and Δt represents the time interval from when the corrosion prevention unit is delivered to the target position to the current time; If the recovery time is less than the preset time threshold, the anti-corrosion of the target location is completed.

[0009] In some embodiments, the gas pipeline anti-corrosion method also includes increasing the number of anti-corrosion units transported to the target location if the recovery time is not less than a time threshold; or redetermining the corrosion level of the target location based on the difference between the initial gradient value of the target location and the gradient threshold.

[0010] On the second aspect, the present application also provides a gas pipeline anti-corrosion system, which is connected to the gas pipeline. The gas pipeline anti-corrosion system includes a detection unit, a data processing unit and a delivery unit. The detection unit is used to obtain the potential data of the detection position on the gas pipeline. The multiple detection positions are distributed along the extension direction of the gas pipeline. The data processing unit is used to determine the potential gradient value of the two detection positions based on the respective potential data of the two detection positions and the interval distance between the two detection positions; compare the potential gradient value with a preset gradient threshold, and obtain the difference between the potential gradient value and the gradient threshold; determine the corrosion level of the detection position according to the difference; the delivery unit is used to receive a control signal representing the corrosion level, and deliver a corresponding number of anti-corrosion units to the detection position according to the control signal, and the anti-corrosion unit is an active metal.

[0011] In some embodiments, the conveying unit includes a guide rail arranged on the outer surface of the gas pipeline, the extension direction of the guide rail is consistent with the extension direction of the gas pipeline, the guide rail is connected to a displacement platform that can slide relative to the guide rail, and the displacement platform is used to fix the anti-corrosion unit. When the displacement platform moves to the detection position, the displacement platform can release the anti-corrosion unit and connect the anti-corrosion unit to the detection position.

[0012] In a third aspect, the present application also provides an electronic device comprising a memory and a processor, wherein the memory stores program instructions; when the processor executes the program instructions stored in the memory, the steps of the above-mentioned gas pipeline anti-corrosion method are implemented.

[0013] In a fourth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned gas pipeline corrosion prevention method are implemented.

[0014] The above-mentioned gas pipeline anti-corrosion method detects the potential data of each detection position of the gas pipeline in real time, calculates the potential gradient value based on each potential data, so as to determine whether the detection position of the gas pipeline is corroded, and delivers different numbers of anti-corrosion units to the corroded detection position according to different corrosion levels, thereby improving the efficiency of gas pipeline corrosion detection, avoiding missed detection, and realizing dynamic protection of local corrosion areas. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1A first execution step of the gas pipeline corrosion prevention method in the embodiments of the present application; Figure 2 A second execution step of the gas pipeline corrosion prevention method in the embodiments of the present application; Figure 3 A schematic diagram of the gas pipeline corrosion prevention system in the embodiments of the present application; Figure 4 A schematic diagram of the electronic device in the embodiments of the present application. DETAILED DESCRIPTION

[0016] In order to make the personnel in the art better understand the scheme of the present application, the technical scheme in the specific embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application.

[0017] It should be noted that the "first", "second" and similar words used in the specification and claims of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. Similarly, "one" or "a" and similar words do not represent a quantity limit, but represent the existence of at least one. "Multiple" or "several" represents at least two. "Include" or "contain" and similar words mean that the elements or objects appearing before "include" or "contain" cover the elements or objects listed after "include" or "contain" and their equivalents, and do not exclude other elements or objects. "Connected" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect.

[0018] As shown in Figure 1 The present application provides a gas pipeline corrosion prevention method, which comprises the following steps: S101: Obtain the potential data of the detection positions on the gas pipeline, and the multiple detection positions are distributed along the extension direction of the gas pipeline.

[0019] Specifically, the potential data of the detection positions includes the potential of the detection positions, i.e. the potential energy of the detection positions relative to the same reference point. The reference point can be a copper sulfate reference electrode, which can provide a stable potential reference value.

[0020] In some embodiments, the detection positions are arranged in sequence along the extension direction of the gas pipeline at a preset first distance.

[0021] In other embodiments, the detection positions located in the corrosion-prone areas of the gas pipeline (for example, elbows, welds, flange interfaces and other weak points of pipeline connections and construction) are arranged in sequence along the extension direction of the gas pipeline according to a preset second distance, and the second distance is smaller than the first distance, so that the interval distance between the detection positions located in the corrosion-prone areas of the gas pipeline is shortened, thereby improving the accuracy of detection of corrosion-prone areas.

[0022] S102: Determine the potential gradient value of the detection position based on the potential data of each of the two detection positions and the interval distance between the two detection positions.

[0023] In some embodiments, a potential difference between potential data at one detection position and potential data at another detection position is obtained, and a potential gradient value is determined based on a ratio of the potential difference to the separation distance. The potential gradient value satisfies the following relationship: Δ ϕ =ΔV / L; Where, Δ ϕ represents the potential gradient value; ΔV represents the potential difference; and L represents the spacing distance, wherein the potential difference ΔV is the difference in potential between the two detection positions.

[0024] For example, if the potential at detection position A is -0.9 V, the potential at detection position B is -0.85 V, and the distance between detection position A and detection position B is 5 m, then the potential gradient value Δ ϕ =(-0.85-(-0.9)) / 5=0.01V / m=10mV / m.

[0025] It should be noted that the two detection positions can be adjacent or separated by at least one detection position. If two detection positions are selected with at least one detection position separated, the interval distance between the two selected detection positions cannot exceed the preset interval distance to avoid the potential gradient value being too small due to the interval distance being too long.

[0026] S103: Compare the potential gradient value at the detection position with a preset gradient threshold value to obtain a difference between the potential gradient value at the detection position and the gradient threshold value.

[0027] For example, if the potential gradient value is 20 mV / m and the preset gradient threshold is 10 mV / m, the difference between the potential gradient value and the gradient threshold is 10 mV / m.

[0028] It should be noted that the preset gradient threshold can be changed according to needs. For example, in areas with low soil resistivity, the preset gradient threshold is correspondingly lower, and in areas with high soil resistivity, the preset gradient threshold is correspondingly higher.

[0029] S104: Determine the corrosion level of the detection position according to the difference, and deliver a corresponding number of anti-corrosion units s to the detection position based on the corrosion level, where the anti-corrosion units are active metals.

[0030] The anti-corrosion unit acts as a sacrificial anode and the gas pipeline acts as a cathode. The sacrificial anode and the cathode form a primary battery. The sacrificial anode, as the negative electrode of the primary battery, preferentially undergoes an oxidation reaction to lose electrons and is gradually consumed by corrosion. The cathode, as the positive electrode of the primary battery, undergoes a reduction reaction on the surface, inhibiting its own corrosion and thus being protected.

[0031] It should be noted that different metals or metal alloys are selected for the anti-corrosion unit depending on different soil environmental conditions. The anti-corrosion unit can be any metal among magnesium, aluminum, and zinc, or an alloy with any of these elements as the main element. The soil environmental conditions include, but are not limited to, soil resistivity, soil pH, and soil moisture.

[0032] For example, different anti-corrosion units are selected according to the resistivity of the soil. If the resistivity of the soil is greater than 50Ω·m, the soil is high-resistivity soil, and a magnesium alloy (such as Mg-Mn alloy) is selected as the sacrificial anode.

[0033] If the soil resistivity is between 20 Ω·m and 50 Ω·m, aluminum alloy (such as Al-Zn-In alloy) is used as the sacrificial anode.

[0034] If the soil resistivity is lower than 20 Ω·m, a zinc alloy (such as Zn-Al alloy) is used as the sacrificial anode.

[0035] In some embodiments, the corrosion levels are classified into mild corrosion, moderate corrosion, and severe corrosion.

[0036] For example, if the preset gradient threshold is 10 mV / m, the corrosion degree when the potential gradient value is less than or equal to 10 mV / m is classified as mild corrosion, and the anti-corrosion unit is not transported under mild corrosion.

[0037] The corrosion degree when the potential gradient value is greater than 10 mV / m and less than or equal to 20 mV / m is classified as moderate corrosion. Under moderate corrosion, the number of anti-corrosion units transported to the detection position is 1-2.

[0038] The corrosion degree when the potential gradient value is greater than 20mV / m is classified as severe corrosion. Under severe corrosion, the number of anti-corrosion units transported to the detection position is 3-5.

[0039] In other embodiments, preventive deployment is mainly adopted for lightly corroded gas pipelines, that is, preventive protection is also provided to non-corroded gas pipelines by transporting an anti-corrosion unit.

[0040] In some embodiments, when determining the corrosion level of the detection location based on the difference and delivering a corresponding number of anti-corrosion units to the detection location based on the corrosion level, it is necessary to first select a corresponding number of anti-corrosion units based on a set difference range. If the difference is within a first difference range, a first number of anti-corrosion units are delivered to the detection location; if the difference is within a second difference range, a second number of anti-corrosion units are delivered to the detection location, wherein the first difference range is smaller than the second difference range, and the first number is smaller than the second number.

[0041] It should be noted that the first difference range being smaller than the second difference range means that any value in the first difference range is not greater than any value in the second difference range.

[0042] Exemplarily, the first difference range is 0 mV / m to 10 mV / m, the second difference range is greater than 10 mV / m, the first number is 1-2, and the second number is 3-5.

[0043] If the difference between the potential gradient value and the gradient threshold is 5 mV / m and the difference is within the first difference range, one anti-corrosion unit is delivered to the detection position.

[0044] If the difference between the potential gradient value and the gradient threshold value is 15 mV / m and the difference is within the second difference range, four anti-corrosion units are delivered to the detection position.

[0045] Through the above method, the potential data of each detection position of the gas pipeline can be detected in real time, and the potential gradient value can be calculated based on each potential data to determine whether the detection position of the gas pipeline is corroded. Different numbers of anti-corrosion units can be delivered to the corroded detection position according to different corrosion levels, thereby improving the efficiency of gas pipeline corrosion detection, avoiding missed detection, and realizing dynamic protection of local corrosion areas.

[0046] In some embodiments, local corrosion occurs in the gas pipeline, and the corrosion area covers multiple detection positions. Two detection positions with potential gradient values ​​greater than the gradient threshold are determined, and the two detection positions are marked as target positions respectively. There is also at least one detection position between the two target positions, and the detection position between the two target positions is marked as the position to be detected. The potential gradient value of the position to be detected is basically the same as the potential gradient value of the target position. It is impossible to obtain an accurate result by judging the corrosion level of the position to be detected only by the potential difference. Therefore, based on the corrosion level of each of the two target positions, a corresponding number of anti-corrosion units are delivered to the two target positions. After a preset time, the potential data of the position to be detected is rechecked to obtain the potential gradient value of the position to be detected, and the corrosion level of the position to be detected is determined. Based on the corrosion level of the position to be detected, a corresponding number of anti-corrosion units are delivered to achieve accurate detection and corrosion protection of the locally corroded gas pipeline. The above-mentioned preset time is based on the time required for the anti-corrosion unit to complete the corrosion protection of the two target positions.

[0047] like Figure 2 As shown, in some possible implementations, the detected location where corrosion occurs is marked as a target location, and the gas pipeline anti-corrosion method further includes the following steps: S201: After the anti-corrosion unit is transported to the target position, an initial gradient value and a current gradient value of the target position are obtained.

[0048] It should be noted that the initial gradient value is the potential gradient value when the target position is not equipped with an anti-corrosion unit, and the current gradient value is the potential gradient value of the target position at the current moment.

[0049] S202: Determine the potential gradient change at the target position based on the initial gradient value and the current gradient value.

[0050] The potential gradient change ΔG is the difference between the initial gradient value and the current gradient value.

[0051] S203: Determine the recovery time required for the potential gradient at the target position to drop to the gradient threshold.

[0052] In some embodiments, the recovery time, the potential gradient value at the current moment, and the potential recovery rate satisfy the following relationship: T = (G1-G2) / (ΔG / Δt); Where T represents the recovery time, G1 represents the current gradient value, G2 represents the gradient threshold, ΔG represents the potential gradient change, and Δt represents the time interval from the time the anti-corrosion unit was delivered to the target location to the current moment. (ΔG / Δt) represents the rate of change of the potential gradient value, that is, the rate of change from the initial gradient value to the gradient threshold per unit time.

[0053] For example, if the current gradient value G1 = 15 mV / m, the gradient safety threshold G2 = 10 mV / m, the time interval Δt = 5 h, and the potential gradient change ΔG = 2 mV / m, then T = (15-10) / (2 / 5) = 12.5 h S204: If the recovery time is less than the preset time threshold, the anti-corrosion of the target location is completed.

[0054] In some embodiments, if the recovery time is not less than a preset time threshold, indicating that the target location cannot be anti-corrosion within the preset time threshold, the number of anti-corrosion units transported to the target location is increased to enhance the anti-corrosion effect on the target location until the recovery time is less than the preset time threshold.

[0055] In other embodiments, if the recovery time is not less than a preset time threshold, the corrosion level of the target location is re-determined based on the difference between the initial gradient value of the target location and the gradient threshold, and based on the corrosion level, a corresponding number of anti-corrosion units are again delivered to the target location to achieve secondary corrosion protection of the target location until the recovery time is less than the preset time threshold.

[0056] Through the above settings, it is determined whether the target position has been anti-corrosion-proofed, and the anti-corrosion effect of the target position that has not been anti-corroded is enhanced or secondary anti-corrosion is performed to ensure that the target position has been anti-corroded.

[0057] like Figure 3 As shown, the present application also provides a gas pipeline anti-corrosion system 100, which is connected to a gas pipeline 200. The gas pipeline anti-corrosion system 100 includes a detection unit 11, a data processing unit 12, and a delivery unit 13. The detection unit 11 is used to obtain potential data of detection positions on the gas pipeline 200. Multiple detection positions are distributed along the extension direction of the gas pipeline 200. The data processing unit 12 is used to determine the potential gradient value of the two detection positions based on the respective potential data of the two detection positions and the interval distance between the two detection positions, compare the potential gradient value with a preset gradient threshold, and obtain the difference between the potential gradient value and the gradient threshold; the data processing unit 12 can determine the corrosion level of the detection position based on the difference. The delivery unit 13 is used to receive a control signal representing the corrosion level and deliver a corresponding number of anti-corrosion units to the detection position according to the control signal. The anti-corrosion units are active metals.

[0058] It should be noted that the anti-corrosion unit can be any metal among magnesium, aluminum, and zinc, or an alloy with any element as the main element. The anti-corrosion unit is used as a consumable of the gas pipeline anti-corrosion system 100. After being transported to the detection position, the anti-corrosion unit serves as a sacrificial anode, and the gas pipeline 200 serves as a cathode. The sacrificial anode and the cathode form a primary battery. The sacrificial anode, as the negative electrode of the primary battery, preferentially undergoes an oxidation reaction to lose electrons and is gradually consumed by corrosion. The cathode, as the positive electrode of the primary battery, undergoes a reduction reaction on the surface, inhibiting its own corrosion and thus being protected.

[0059] In some embodiments, the detection unit 11 may be a plurality of potential sensors distributed at different locations outside the gas pipeline 200 . The detection unit 11 may collect potential signals at the detection locations in real time and transmit the collected data to the data processing unit 12 .

[0060] In some embodiments, the gas pipeline anti-corrosion system 100 also includes a communication unit 14, which is connected to the data processing unit 12 to transmit the potential data collected by the detection unit 11 to the data processing unit 12; the communication unit 14 is also connected to the delivery unit 13, and the communication unit 14 can receive the control signal representing the corrosion level generated by the data processing unit 12 and send the control signal to the delivery unit 13.

[0061] Exemplarily, the communication connection between the communication unit 14 and the delivery unit 13 includes wired communication and wireless communication, wherein wireless communication includes but is not limited to Bluetooth communication, Wi-Fi communication, 4G communication and other connection methods with longer transmission distances.

[0062] like Figure 3 As shown, specifically, the conveying unit 13 includes a guide rail 131 arranged on the outer surface of the gas pipeline 200. The extension direction of the guide rail 131 is consistent with the extension direction of the gas pipeline 200. The guide rail 131 is connected to a displacement platform 132 that can slide relative to the guide rail 131. The displacement platform 132 is used to fix the anti-corrosion unit. When the displacement platform 132 moves to the detection position, the displacement platform 132 can release the anti-corrosion unit and connect the anti-corrosion unit to the detection position.

[0063] When the displacement stage 132 releases the anti-corrosion unit, a feedback signal is generated and transmitted to the data processing unit 12. The data processing unit 12 records the feedback time when the feedback signal is generated and the initial gradient value of the detection position at the feedback time, so as to determine whether the detection position has completed anti-corrosion in the subsequent work process.

[0064] It should be noted that since the guide rail 131 and the displacement platform 132 are both arranged on the outer surface of the gas pipeline 200, there is no need to interrupt the operation of the gas pipeline 200 during the installation of the guide rail 131 and the displacement platform 132 or the anti-corrosion treatment of the detection position, which can reduce the installation cost and installation period of the gas pipeline anti-corrosion system 100, and at the same time avoid the danger caused by electrochemical reactions generated during the operation of the anti-corrosion unit.

[0065] Through the above-mentioned setting, the efficiency of corrosion detection of the gas pipeline 200 is improved, the installation cost and installation period of the gas pipeline anti-corrosion system 100 are reduced, and the danger caused by electrochemical reactions generated during the operation of the anti-corrosion unit is avoided.

[0066] like Figure 4 As shown, the present application also provides an electronic device 300, which includes a memory 31 and a processor 32. The memory 31 stores program instructions. When the processor 32 executes the program instructions stored in the memory 31, the gas pipeline anti-corrosion method disclosed in the above example of the present application is executed.

[0067] Specifically, the processor may include a central processing unit, or an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits for implementing the embodiments of the present invention.

[0068] In some embodiments, memory 31 may include mass storage for data or instructions.

[0069] Exemplarily, the memory 31 includes a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a universal serial bus (USB) drive, or a combination of any of the above memories.

[0070] In some embodiments, the memory 31 is internal or external to the electronic device.

[0071] In some possible implementations, the electronic device 300 further includes a communication interface 33 and a bus 34. The processor 32, the memory 31, and the communication interface 33 are connected via the bus 34 and communicate with each other.

[0072] The communication interface 33 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0073] Bus 34 includes hardware and / or software that couples components of the device to one another. By way of example, and not limitation, bus 34 can include an accelerated graphics port or other graphics bus, a HyperTransport® bus, industry standard architecture bus, a frontside bus, a low pin count bus, a storage area network fabric, or a serial bus, such as a USB, a Firewire, etc. In some embodiments, bus 34 can be a proprietary bus, e.g., one that is not available to the public.

[0074] The application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by the processor 32 to realize the steps of the above-mentioned gas pipeline corrosion prevention method.

[0075] The computer readable storage medium includes, but is not limited to, electronic, magnetic, optical, infrared or other physical storage devices or equipment, and can contain or store information such as executable instructions, data, etc. More specific examples of computer readable storage medium include one or more wires, RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard drives, etc.), SSD (Solid State Disk), any type of storage disk (such as optical disk, etc.), or similar storage, or any suitable combination of the above.

[0076] It should be understood that for those skilled in the art, improvements or changes can be made according to the above description, and all these improvements and changes shall fall within the protection scope of the appended claims of the application.

Claims

1. A method for anti-corrosion of a gas pipeline, characterized in that: Acquiring potential data of detection positions on the gas pipeline, wherein a plurality of the detection positions are distributed along an extension direction of the gas pipeline; determining a potential gradient value of one of the detection positions based on the respective potential data of the two detection positions and the interval distance between the two detection positions; Comparing the potential gradient value at the detection position with a preset gradient threshold value to obtain a difference between the potential gradient value at the detection position and the gradient threshold value; The corrosion level of the detection position is determined according to the difference, and a corresponding number of corrosion protection units are delivered to the detection position based on the corrosion level, where the corrosion protection units are active metals.

2. The gas pipeline anti-corrosion method according to claim 1, characterized in that: Determining the potential gradient value of one of the detection positions based on the respective potential data of the two detection positions and the interval distance between the two detection positions includes: acquiring a potential difference between potential data of one detection position and potential data of another detection position; The potential gradient value is determined according to the ratio of the potential difference to the spacing distance, and the potential gradient value satisfies the following relationship: D ϕ =ΔV / L; Where, Δ ϕ represents the potential gradient value; ΔV represents the potential difference; and L represents the spacing distance.

3. The gas pipeline anti-corrosion method according to claim 1, characterized in that: The gas pipeline anti-corrosion method further includes: Determine two detection positions where the potential gradient value is greater than a gradient threshold, and mark them as target positions; there is at least one detection position between the two target positions, and mark it as a position to be detected; the potential gradient value of the position to be detected is substantially the same as the potential gradient value of the target position; Based on the respective corrosion levels of the two target locations, delivering corresponding numbers of the anti-corrosion units to the two target locations; Rechecking the potential data of the position to be detected to obtain the potential gradient value of the position to be detected, and determining the corrosion level of the position to be detected; A corresponding number of the anti-corrosion units are delivered based on the corrosion level of the location to be inspected.

4. The gas pipeline anti-corrosion method according to claim 1, characterized in that: Determining the corrosion level of the detection position according to the difference, and delivering a corresponding number of anti-corrosion units to the detection position based on the corrosion level, includes: Selecting a corresponding number of the anti-corrosion units based on a set difference range; If the difference is within a first difference range, delivering a first quantity of the anti-corrosion units to the detection position; If the difference is within a second difference range, a second quantity of the anti-corrosion units is delivered to the detection position; the first difference range is smaller than the second difference range, and the first quantity is smaller than the second quantity.

5. The gas pipeline anti-corrosion method according to claim 1, characterized in that: Marking the detected location where corrosion occurs as a target location, the method further includes: When the anti-corrosion unit is transported to the target position, an initial gradient value and a current gradient value of the target position are obtained; the initial gradient value is the potential gradient value of the target position when the anti-corrosion unit is not configured, and the current gradient value is the potential gradient value of the target position at the current moment; determining a rate of change of the potential gradient at the target position based on the initial gradient value and the current gradient value; Determine the recovery time required for the potential gradient at the target position to drop to the gradient threshold, where the recovery time, the potential gradient value at the current moment, and the potential recovery rate satisfy the following relationship: T = (G1-G2) / (ΔG / Δt); Wherein, T represents the recovery time, G1 represents the current gradient value, G2 represents the gradient threshold, ΔG represents the potential gradient change, and Δt represents the time interval from when the anti-corrosion unit is transported to the target position to the current moment; If the recovery time is less than a preset time threshold, the anti-corrosion of the target location is completed.

6. The gas pipeline anti-corrosion method according to claim 5, characterized in that: The method further comprises: If the recovery time is not less than the time threshold, the number of the anti-corrosion units transported to the target location is increased; or the corrosion level of the target location is re-determined based on the difference between the initial gradient value of the target location and the gradient threshold.

7. A gas pipeline anti-corrosion system, connected to the gas pipeline, characterized in that: include: A detection unit, configured to obtain potential data of detection positions on the gas pipeline, wherein a plurality of the detection positions are distributed along an extension direction of the gas pipeline; a data processing unit, configured to determine potential gradient values ​​of the two detection positions based on the respective potential data of the two detection positions and the interval between the two detection positions; Comparing the potential gradient value with a preset gradient threshold, and obtaining a difference between the potential gradient value and the gradient threshold; determining the corrosion level of the detection position according to the difference; The conveying unit is used to receive a control signal representing the corrosion level and convey a corresponding number of anti-corrosion units to the detection position according to the control signal, wherein the anti-corrosion units are active metals.

8. The gas pipeline anti-corrosion system according to claim 7, characterized in that: The conveying unit includes a guide rail arranged on the outer surface of the gas pipeline, the extension direction of the guide rail is consistent with the extension direction of the gas pipeline, the guide rail is connected to a displacement platform that can slide relative to the guide rail, and the displacement platform is used to fix the anti-corrosion unit. When the displacement platform moves to the detection position, the displacement platform can release the anti-corrosion unit so that the anti-corrosion unit is connected to the detection position.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores program instructions; when the processor executes the program instructions stored in the memory, the method steps described in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the gas pipeline corrosion protection method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Comprehensive judgment method for buried gas metal pipeline corrosion caused by stray current nearby subway lines

    CN107271359A

  • Pipe jacking pipeline corrosion risk detection device and method

    CN115219412A

  • Pipeline cathode protection on-line monitoring system

    CN119592959A

  • Optimization method for improving cathode protection detection of complex buried pipe network

    CN119720699A

  • Cathodic protection equipment for high pressure underground gas storage well

    CN201198492Y