A high-precision detection method and system for gas pipeline corrosion resistance testing

Through simulated corrosion environment and infrared imaging technology, the problems of long corrosion resistance detection time and low accuracy of gas pipelines are solved, and fast and accurate corrosion resistance judgments are achieved.

CN118501034BActive Publication Date: 2024-11-08SHENZHEN ZHONGRAN TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410917585.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-08
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

The prior art is difficult to quickly determine the corrosion resistance of gas pipelines, resulting in too long detection time and difficult to accurately measure the thickness of the corrosion site, which affects the detection accuracy.

Method used

By obtaining sliced ​​samples of gas pipelines, simulate the actual and test the corrosion environment, calculate the corrosion switching ratio, and analyze the pipeline profile using infrared imaging technology to judge the thickness of the uncorroded area to determine the corrosion resistance time.

Benefits of technology

It shortens the corrosion test time, improves the detection accuracy, and can quickly and accurately judge the corrosion resistance of gas pipelines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501034B_ABST
    Figure CN118501034B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-precision detection method and system for corrosion resistance testing of gas pipelines, which relates to the technical field of pipeline detection, including: dividing at least one pipeline slice sample into a first test set and a second test set; obtaining a first corrosion time when the pipeline slice sample is completely corroded; obtaining a second corrosion time when the pipeline slice sample is completely corroded; obtaining a corrosion switching ratio; obtaining a characteristic thickness of the pipe wall in normal use of the gas pipeline; obtaining a corroded area and an uncorroded area; judging whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall; and calculating the actual corrosion resistance time of the gas pipeline according to the corrosion switching ratio and the corrosion tolerance time. By setting a sample acquisition module, a corrosion simulation module, a ratio conversion module, an infrared image processing module and a region classification module, the time of the corrosion test is greatly reduced, and the thickness of the gas pipeline that has not been corroded can be analyzed more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pipeline detection, and in particular to a high-precision detection method and system for corrosion resistance testing of gas pipelines. Background Art

[0002] A pipeline is a device connected by pipes, pipe connectors and valves for conveying gas, liquid or fluid with solid particles. Usually, the fluid is pressurized by blowers, compressors, pumps and boilers, and then flows from the high-pressure part of the pipeline to the low-pressure part. The fluid can also be conveyed by its own pressure or gravity. Pipelines are widely used, especially in gas transportation. In order to ensure the safety of gas transportation, the corrosion resistance of the pipeline needs to be tested.

[0003] However, the corrosion rate in the actual environment is slow, and the corrosion resistance test time of the pipeline is long. It is difficult to quickly determine the normal use time of the gas pipeline, which will cause the overall measurement time to be too long. When the number of pipes that need to be tested is large, it will take a lot of time. In addition, the corroded part of the pipeline is covered on the surface of the pipeline, and the thickness of the corrosion is difficult to determine, which affects the detection accuracy. Summary of the invention

[0004] In order to solve the above technical problems, a high-precision detection method and system for corrosion resistance testing of gas pipelines are provided. The technical solution solves the problem that the corrosion rate in the actual environment proposed in the above background technology is slow, the corrosion resistance test time of the pipeline is long, it is difficult to quickly determine the normal use time of the gas pipeline, and the overall measurement time is too long. When the number of pipe fittings to be tested is large, it will consume a lot of time. In addition, the corroded part of the pipeline is covered on the surface of the pipeline, and the thickness of the corrosion is difficult to determine, which affects the detection accuracy.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] A high-precision detection method for gas pipeline corrosion resistance testing, comprising:

[0007] Acquire the actual corrosion environment of the gas pipeline, and obtain the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline, wherein the corrosion parameters of the test corrosion environment are preset multiples of the corrosion parameters of the actual corrosion environment;

[0008] Acquire at least one pipeline slice sample, and divide the at least one pipeline slice sample into a first test set and a second test set, wherein the thickness of the pipeline slice sample is less than a preset value;

[0009] Simulating an actual corrosion environment of a gas pipeline, corroding at least one pipeline slice sample in a first test set, and obtaining a first corrosion time when the pipeline slice sample is completely corroded;

[0010] Simulating a test corrosion environment of a gas pipeline, corroding at least one pipeline slice sample in a second test set, and obtaining a second corrosion time when the pipeline slice sample is completely corroded;

[0011] Based on the first corrosion time of the actual corrosion environment and the second corrosion time of the test corrosion environment, a corrosion switching ratio is obtained;

[0012] Based on the historical data of pipeline use, the characteristic thickness of the pipe wall in normal use of the gas pipeline is obtained;

[0013] Using infrared imaging to image the cross section of the non-corroded gas pipeline to obtain a reference image, and obtaining pixel values ​​of pixel points of the cross section of the non-corroded gas pipeline in the reference image as reference pixel values;

[0014] Simulate the test corrosion environment of the gas pipeline and corrode the gas pipeline;

[0015] Taking the preset time as the interval, obtaining at least one sampling time point;

[0016] At the time corresponding to each sampling time point, the gas pipeline is cut to obtain a cross section of the gas pipeline, and the cross section of the gas pipeline is imaged using infrared imaging to obtain a cross section image;

[0017] In the cross-sectional image, the pipe wall area of ​​the cross-sectional gas pipeline is classified to obtain the corroded area and the non-corroded area;

[0018] Obtain the thickness of the uncorroded area and determine whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall. If so, no processing is performed. If not, the corrosion test is stopped and the time of the sampling time point corresponding to the cross-sectional image is used as the corrosion tolerance time of the gas pipeline.

[0019] According to the corrosion switching ratio and corrosion tolerance time, the actual corrosion resistance time of the gas pipeline is calculated.

[0020] Preferably, obtaining the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline comprises the following steps:

[0021] Obtain the concentrations of various salts, oxidants and non-electrolytes in actual corrosion environments;

[0022] The concentrations of various salts, oxidants and non-electrolytes are increased by preset multiples as parameter conditions for testing the corrosion environment.

[0023] Preferably, the first corrosion time for obtaining thorough corrosion of the pipeline slice sample comprises the following steps:

[0024] Obtain an uncorroded characteristic image of the pipeline slice sample, and obtain pixel values ​​of pixel points in the characteristic image as characteristic pixel values;

[0025] During corrosion, image recognition is performed on the surface of the pipe slice sample to obtain a first sample corrosion image;

[0026] Real-time counting of the proportion of pixel points whose pixel values ​​are characteristic pixel values ​​in the first sample corrosion image as a first proportion;

[0027] When the first proportion is less than the preset proportion, the current corrosion time is recorded, and at least one average of the current corrosion time is taken as the first corrosion time.

[0028] Preferably, the second corrosion time for obtaining the complete corrosion of the pipeline slice sample comprises the following steps:

[0029] During corrosion, image recognition is performed on the surface of the pipe slice sample to obtain a second sample corrosion image;

[0030] Real-time counting of the proportion of pixel points whose pixel values ​​are characteristic pixel values ​​in the second sample corrosion image as a second proportion;

[0031] When the second proportion is less than the preset proportion, the current corrosion time is recorded, and an average of at least one current corrosion time is taken as the second corrosion time.

[0032] Preferably, obtaining the corrosion switching ratio based on the first corrosion time of the actual corrosion environment and the second corrosion time of the test corrosion environment comprises the following steps:

[0033] The first corrosion time is divided by the second corrosion time to obtain the corrosion switching ratio.

[0034] Preferably, the step of classifying the pipe wall area of ​​the cross section of the gas pipeline to obtain the corroded area and the non-corroded area comprises the following steps:

[0035] The initial states of both the corroded and uncorroded regions are empty regions;

[0036] The pixel points in the pipe wall area of ​​the cross section of the gas pipeline whose pixel values ​​are not equal to the reference pixel values ​​are classified as corrosion areas;

[0037] The pixel points in the pipe wall area of ​​the cross section of the gas pipeline whose pixel values ​​are equal to the reference pixel values ​​are classified as non-corroded areas.

[0038] Preferably, obtaining the thickness of the uncorroded area comprises the following steps:

[0039] Perform edge recognition on the uncorroded area to obtain the outer ring edge and the inner ring edge of the uncorroded area;

[0040] Two-dimensional coordinate modeling of the uncorroded area;

[0041] Take at least one outer ring sampling point on the edge of the outer ring, fit the coordinates of at least one outer ring sampling point, and obtain the outer ring edge fitting function;

[0042] Take at least one inner ring sampling point at the edge of the inner ring, fit the coordinates of at least one inner ring sampling point, and obtain the inner ring edge fitting function;

[0043] Using the center formula, calculate the center of the uncorroded area;

[0044] At least one ray is drawn at the center of the corrosion area, and the angles between adjacent rays are all preset angles;

[0045] At least one ray intersects with the edge of the outer ring to obtain at least one outer ring feature point;

[0046] At least one ray intersects with the edge of the inner ring to obtain at least one inner ring feature point;

[0047] Pair the outer ring feature points with the inner ring feature points on the same ray to obtain a feature point group;

[0048] Calculate the distance between the outer ring feature point and the inner ring feature point in the feature point group as the feature distance;

[0049] Superimpose at least one characteristic distance and average it to obtain the thickness of the uncorroded area;

[0050] The central formula is as follows: ,

[0051] Among them, the integral area is the area enclosed by the outer ring edge fitting function and the inner ring edge fitting function, X is the horizontal coordinate of the center of the uncorroded area, Y is the vertical coordinate of the center of the uncorroded area, x is the horizontal coordinate of the point in the uncorroded area, and y is the vertical coordinate of the point in the uncorroded area.

[0052] A high-precision detection system for gas pipeline corrosion resistance testing, used to implement the above-mentioned high-precision detection method for gas pipeline corrosion resistance testing, comprising:

[0053] A parameter generation module, wherein the parameter generation module obtains the actual corrosion environment of the gas pipeline and obtains the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline;

[0054] A sample acquisition module, wherein the sample acquisition module acquires at least one pipeline slice sample and divides the at least one pipeline slice sample into a first test set and a second test set;

[0055] A corrosion simulation module, wherein the corrosion simulation module simulates an actual corrosion environment of a gas pipeline, corrodes at least one pipeline slice sample in a first test set, obtains a first corrosion time when the pipeline slice sample is completely corroded, simulates a test corrosion environment of the gas pipeline, corrodes at least one pipeline slice sample in a second test set, and obtains a second corrosion time when the pipeline slice sample is completely corroded;

[0056] A ratio conversion module, wherein the ratio conversion module obtains a corrosion switching ratio;

[0057] A historical data processing module, wherein the historical data processing module obtains a characteristic thickness of a pipe wall in normal use of a gas pipeline based on historical data of pipeline use;

[0058] An infrared image processing module, wherein the infrared image processing module uses infrared imaging to image the cross section of the uncorroded gas pipeline to obtain a reference image, obtains pixel values ​​of pixel points of the cross section of the uncorroded gas pipeline in the reference image as reference pixel values, cuts the gas pipeline at a time corresponding to each sampling time point to obtain the cross section of the gas pipeline, and uses infrared imaging to image the cross section of the gas pipeline to obtain a cross-sectional image;

[0059] A region classification module, wherein the region classification module classifies the pipe wall regions of the cross section of the gas pipeline to obtain corroded regions and non-corroded regions;

[0060] A judgment and recognition module, wherein the judgment and recognition module obtains the thickness of the uncorroded area and judges whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall;

[0061] A calculation module is used to calculate the actual corrosion resistance time of the gas pipeline.

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

[0063] 1. By setting up the sample acquisition module, corrosion simulation module and ratio conversion module, the slices of the pipeline can be used. The thickness of the slices is extremely small. Therefore, the ratio of the corrosion rate of the actual corrosion environment and the test corrosion environment can be obtained at a faster speed. Then, the test corrosion environment can be used to test the gas pipeline. The corrosion parameters of the test corrosion environment are large and the corrosion rate is fast. Therefore, the time of the corrosion test can be greatly reduced, and the corrosion resistance time of the gas pipeline in the actual corrosion environment can be converted;

[0064] 2. By setting up infrared image processing module, regional classification module and judgment and recognition module, the cross-section of the gas pipeline is imaged by infrared. Since the physical properties of the corroded and uncorroded parts of the gas pipeline are different, their infrared imaging is different. Based on the infrared imaging, the thickness of the gas pipeline that has not been corroded can be analyzed more accurately, and the corrosion resistance time of the pipeline can be accurately judged based on the thickness that has not been corroded. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a schematic flow chart of a high-precision detection method for gas pipeline corrosion resistance testing of the present invention;

[0066] Figure 2 A schematic diagram of a process flow of obtaining a test corrosion environment of a gas pipeline according to the actual corrosion environment of the gas pipeline according to the present invention;

[0067] Figure 3 It is a schematic diagram of the first corrosion time flow for obtaining complete corrosion of the pipeline slice sample according to the present invention;

[0068] Figure 4 It is a schematic diagram of the second corrosion time flow for obtaining complete corrosion of the pipeline slice sample according to the present invention;

[0069] Figure 5 The present invention is to classify the pipe wall area of ​​the cross section of the gas pipeline to obtain a flow diagram of the corroded area and the non-corroded area;

[0070] Figure 6 It is a schematic diagram of the process of obtaining the thickness of the uncorroded area according to the present invention. DETAILED DESCRIPTION

[0071] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0072] Reference Figure 1 As shown, a high-precision detection method for gas pipeline corrosion resistance testing includes:

[0073] Acquire the actual corrosion environment of the gas pipeline, and obtain the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline, wherein the corrosion parameters of the test corrosion environment are preset multiples of the corrosion parameters of the actual corrosion environment;

[0074] Acquire at least one pipeline slice sample, and divide the at least one pipeline slice sample into a first test set and a second test set, wherein the thickness of the pipeline slice sample is less than a preset value;

[0075] Simulating an actual corrosion environment of a gas pipeline, corroding at least one pipeline slice sample in a first test set, and obtaining a first corrosion time when the pipeline slice sample is completely corroded;

[0076] Simulating a test corrosion environment of a gas pipeline, corroding at least one pipeline slice sample in a second test set, and obtaining a second corrosion time when the pipeline slice sample is completely corroded;

[0077] Based on the first corrosion time of the actual corrosion environment and the second corrosion time of the test corrosion environment, a corrosion switching ratio is obtained;

[0078] Based on the historical data of pipeline use, the characteristic thickness of the pipe wall in normal use of the gas pipeline is obtained;

[0079] Using infrared imaging to image the cross section of the non-corroded gas pipeline to obtain a reference image, and obtaining pixel values ​​of pixel points of the cross section of the non-corroded gas pipeline in the reference image as reference pixel values;

[0080] Simulate the test corrosion environment of the gas pipeline and corrode the gas pipeline;

[0081] Taking the preset time as the interval, obtaining at least one sampling time point;

[0082] At the time corresponding to each sampling time point, the gas pipeline is cut to obtain a cross section of the gas pipeline, and the cross section of the gas pipeline is imaged using infrared imaging to obtain a cross section image;

[0083] The reason is that corrosion continues over time, and the gas pipeline is very long. Therefore, the gas pipeline is cut at preset intervals to obtain a cross section of the gas pipeline. The corrosion situation corresponding to the current time can be obtained based on the cross section.

[0084] In the cross-sectional image, the pipe wall area of ​​the cross-sectional gas pipeline is classified to obtain the corroded area and the non-corroded area;

[0085] Obtain the thickness of the uncorroded area and determine whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall. If so, no processing is performed. If not, the corrosion test is stopped and the time of the sampling time point corresponding to the cross-sectional image is used as the corrosion tolerance time of the gas pipeline.

[0086] According to the corrosion switching ratio and corrosion tolerance time, the actual corrosion resistance time of the gas pipeline is calculated.

[0087] Reference Figure 2 As shown, according to the actual corrosion environment of the gas pipeline, obtaining the test corrosion environment of the gas pipeline includes the following steps:

[0088] Obtain the concentrations of various salts, oxidants and non-electrolytes in actual corrosion environments;

[0089] The concentrations of various salts, oxidants and non-electrolytes are increased by preset multiples as parameter conditions for testing the corrosion environment;

[0090] By enhancing the parameters of the actual corrosion environment to obtain a test corrosion environment, the test is then conducted under the conditions of the test corrosion environment. The entire corrosion process will be greatly accelerated, thereby enabling the critical time of pipeline tolerance to be determined more quickly.

[0091] Reference Figure 3 As shown, obtaining the first corrosion time of the pipeline slice sample completely corroded includes the following steps:

[0092] Obtain an uncorroded characteristic image of the pipeline slice sample, and obtain pixel values ​​of pixel points in the characteristic image as characteristic pixel values;

[0093] During corrosion, image recognition is performed on the surface of the pipe slice sample to obtain a first sample corrosion image;

[0094] Real-time counting of the proportion of pixel points whose pixel values ​​are characteristic pixel values ​​in the first sample corrosion image as a first proportion;

[0095] When the first proportion is less than the preset proportion, the current corrosion time is recorded, and an average of at least one current corrosion time is taken as the first corrosion time;

[0096] The thickness of the pipe slice sample is very small, therefore, when the surface of the pipe slice sample is completely corroded, it can be considered that the pipe slice sample is completely corroded.

[0097] Reference Figure 4 As shown, obtaining the second corrosion time of the pipeline slice sample completely corroded includes the following steps:

[0098] During corrosion, image recognition is performed on the surface of the pipe slice sample to obtain a second sample corrosion image;

[0099] Real-time counting of the proportion of pixel points whose pixel values ​​are characteristic pixel values ​​in the second sample corrosion image as a second proportion;

[0100] When the second proportion is less than the preset proportion, the current corrosion time is recorded, and an average of at least one current corrosion time is taken as the second corrosion time.

[0101] Obtaining the corrosion switching ratio based on the first corrosion time of the actual corrosion environment and the second corrosion time of the test corrosion environment includes the following steps:

[0102] The first corrosion time is divided by the second corrosion time to obtain a corrosion switching ratio;

[0103] The role of the corrosion switching ratio is to estimate the proportional relationship between the corrosion rate in the actual corrosion environment and the corrosion rate in the test corrosion environment. During the test, since the test corrosion environment is used, it is necessary to transform the corrosion resistance time to obtain the corrosion resistance time in the actual corrosion environment, and then judge the corrosion resistance of the gas pipeline based on the corrosion resistance time in the actual corrosion environment.

[0104] Reference Figure 5 As shown, classifying the pipe wall area of ​​the cross section of the gas pipeline to obtain the corroded area and the non-corroded area includes the following steps:

[0105] The initial states of both the corroded and uncorroded regions are empty regions;

[0106] The pixel points in the pipe wall area of ​​the cross section of the gas pipeline whose pixel values ​​are not equal to the reference pixel values ​​are classified as corrosion areas;

[0107] The pixel points in the pipe wall area of ​​the cross section of the gas pipeline whose pixel values ​​are equal to the reference pixel values ​​are classified as non-corroded areas;

[0108] The corrosion of gas pipeline will occur on its outer surface. The inner side transports gas without other impurities. Therefore, there is almost no corrosion and it is not considered. The corroded area is located outside the non-corroded area. Both the corroded area and the non-corroded area are annular areas.

[0109] Reference Figure 6 As shown, obtaining the thickness of the uncorroded area includes the following steps:

[0110] Perform edge recognition on the uncorroded area to obtain the outer ring edge and the inner ring edge of the uncorroded area;

[0111] Two-dimensional coordinate modeling of the uncorroded area;

[0112] Take at least one outer ring sampling point on the edge of the outer ring, fit the coordinates of at least one outer ring sampling point, and obtain the outer ring edge fitting function;

[0113] Take at least one inner ring sampling point at the edge of the inner ring, fit the coordinates of at least one inner ring sampling point, and obtain the inner ring edge fitting function;

[0114] Using the center formula, calculate the center of the uncorroded area;

[0115] At least one ray is drawn at the center of the corrosion area, and the angles between adjacent rays are all preset angles;

[0116] At least one ray intersects with the edge of the outer ring to obtain at least one outer ring feature point;

[0117] At least one ray intersects with the edge of the inner ring to obtain at least one inner ring feature point;

[0118] Pair the outer ring feature points with the inner ring feature points on the same ray to obtain a feature point group;

[0119] Calculate the distance between the outer ring feature point and the inner ring feature point in the feature point group as the feature distance;

[0120] Superimpose at least one characteristic distance and average it to obtain the thickness of the uncorroded area;

[0121] The central formula is as follows: ,

[0122] Among them, the integral area is the area enclosed by the outer ring edge fitting function and the inner ring edge fitting function, X is the abscissa of the center of the uncorroded area, Y is the ordinate of the center of the uncorroded area, x is the abscissa of a point in the uncorroded area, and y is the ordinate of a point in the uncorroded area;

[0123] The performance of the corroded part of the gas pipeline is greatly reduced and it is very easy to be damaged. Therefore, the thickness of the gas pipeline cannot be included. Only the thickness of the non-corroded area can be used as the actual thickness of the gas pipeline. When the thickness of the non-corroded area does not exceed the characteristic thickness of the pipe wall, it means that the corrosion degree of the gas pipeline has reached the critical value. If the corrosion continues, the thickness of the pipe wall will decrease. Based on the historical data of pipeline use, the gas pipeline cannot continue to be used normally and leakage may occur. Therefore, the corresponding time at this time is used as the corrosion tolerance time. Since the corrosion tolerance time is tested in a corrosion environment, it is necessary to amplify the time to obtain the actual corrosion resistance time under the conditions of the actual corrosion environment. Then, the corrosion resistance of the gas pipeline can be judged according to the actual corrosion resistance time.

[0124] A high-precision detection system for gas pipeline corrosion resistance testing, used to implement the above-mentioned high-precision detection method for gas pipeline corrosion resistance testing, comprising:

[0125] A parameter generation module, wherein the parameter generation module obtains the actual corrosion environment of the gas pipeline and obtains the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline;

[0126] A sample acquisition module, wherein the sample acquisition module acquires at least one pipeline slice sample and divides the at least one pipeline slice sample into a first test set and a second test set;

[0127] A corrosion simulation module, wherein the corrosion simulation module simulates an actual corrosion environment of a gas pipeline, corrodes at least one pipeline slice sample in a first test set, obtains a first corrosion time when the pipeline slice sample is completely corroded, simulates a test corrosion environment of the gas pipeline, corrodes at least one pipeline slice sample in a second test set, and obtains a second corrosion time when the pipeline slice sample is completely corroded;

[0128] A ratio conversion module, wherein the ratio conversion module obtains a corrosion switching ratio;

[0129] A historical data processing module, wherein the historical data processing module obtains a characteristic thickness of a pipe wall in normal use of a gas pipeline based on historical data of pipeline use;

[0130] An infrared image processing module, wherein the infrared image processing module uses infrared imaging to image the cross section of the uncorroded gas pipeline to obtain a reference image, obtains pixel values ​​of pixel points of the cross section of the uncorroded gas pipeline in the reference image as reference pixel values, cuts the gas pipeline at a time corresponding to each sampling time point to obtain the cross section of the gas pipeline, and uses infrared imaging to image the cross section of the gas pipeline to obtain a cross-sectional image;

[0131] A region classification module, wherein the region classification module classifies the pipe wall regions of the cross section of the gas pipeline to obtain corroded regions and non-corroded regions;

[0132] A judgment and recognition module, wherein the judgment and recognition module obtains the thickness of the uncorroded area and judges whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall;

[0133] A calculation module is used to calculate the actual corrosion resistance time of the gas pipeline.

[0134] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored, and when the computer-readable program is called, the above-mentioned high-precision detection method for gas pipeline corrosion resistance testing is executed.

[0135] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).

[0136] In summary, the advantages of the present invention are: by setting a sample acquisition module, a corrosion simulation module and a ratio conversion module, a slice of the pipeline can be used, and the slice thickness is extremely small. Therefore, the ratio of the corrosion rate of the actual corrosion environment and the test corrosion environment can be obtained at a faster speed, and then the test corrosion environment can be used to test the gas pipeline. The corrosion parameters of the test corrosion environment are large and the corrosion rate is fast. Therefore, the time of the corrosion test can be greatly reduced, and the corrosion resistance time of the gas pipeline in the actual corrosion environment can be converted; by setting an infrared image processing module, a regional classification module and a judgment and recognition module, the cross-section of the gas pipeline is infrared imaged. Since the physical properties of the corroded and uncorroded parts of the gas pipeline are different, their infrared imaging is different, and then the thickness of the gas pipeline that has not been corroded can be analyzed more accurately based on the infrared imaging, and then the corrosion resistance time of the pipeline can be accurately judged based on the thickness that has not been corroded.

[0137] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A high-precision detection method for gas pipeline corrosion resistance testing, characterized in that: include: Acquire the actual corrosion environment of the gas pipeline, and obtain the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline, wherein the corrosion parameters of the test corrosion environment are preset multiples of the corrosion parameters of the actual corrosion environment; Acquire at least one pipeline slice sample, and divide the at least one pipeline slice sample into a first test set and a second test set, wherein the thickness of the pipeline slice sample is less than a preset value; Simulating an actual corrosion environment of a gas pipeline, corroding at least one pipeline slice sample in a first test set, and obtaining a first corrosion time when the pipeline slice sample is completely corroded; Simulating a test corrosion environment of a gas pipeline, corroding at least one pipeline slice sample in a second test set, and obtaining a second corrosion time when the pipeline slice sample is completely corroded; Based on the first corrosion time of the actual corrosion environment and the second corrosion time of the test corrosion environment, a corrosion switching ratio is obtained; Based on the historical data of pipeline use, the characteristic thickness of the pipe wall in normal use of the gas pipeline is obtained; Using infrared imaging to image the cross section of the non-corroded gas pipeline to obtain a reference image, and obtaining pixel values ​​of pixel points of the cross section of the non-corroded gas pipeline in the reference image as reference pixel values; Simulate the test corrosion environment of the gas pipeline and corrode the gas pipeline; Taking the preset time as the interval, obtaining at least one sampling time point; At the time corresponding to each sampling time point, the gas pipeline is cut to obtain a cross section of the gas pipeline, and the cross section of the gas pipeline is imaged using infrared imaging to obtain a cross section image; In the cross-sectional image, the pipe wall area of ​​the cross-sectional gas pipeline is classified to obtain the corroded area and the non-corroded area; Obtain the thickness of the uncorroded area and determine whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall. If so, no processing is performed. If not, the corrosion test is stopped and the sampling time point corresponding to the cross-sectional image is used as the corrosion tolerance time of the gas pipeline. According to the corrosion switching ratio and corrosion tolerance time, the actual corrosion resistance time of the gas pipeline is calculated; The method of obtaining the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline comprises the following steps: Obtain the concentrations of various salts, oxidants and non-electrolytes in actual corrosion environments; The concentrations of various salts, oxidants and non-electrolytes are increased by preset multiples as parameter conditions for testing the corrosion environment.

2. A high-precision detection method for gas pipeline corrosion resistance testing according to claim 1, characterized in that: The first corrosion time for obtaining thorough corrosion of the pipeline slice sample comprises the following steps: Obtain an uncorroded characteristic image of the pipeline slice sample, and obtain pixel values ​​of pixel points in the characteristic image as characteristic pixel values; During corrosion, image recognition is performed on the surface of the pipe slice sample to obtain a first sample corrosion image; Real-time counting of the proportion of pixel points whose pixel values ​​are characteristic pixel values ​​in the first sample corrosion image as a first proportion; When the first proportion is less than the preset proportion, the current corrosion time is recorded, and at least one average of the current corrosion time is taken as the first corrosion time.

3. A high-precision detection method for gas pipeline corrosion resistance testing according to claim 2, characterized in that: The second corrosion time for obtaining thorough corrosion of the pipeline slice sample comprises the following steps: During corrosion, image recognition is performed on the surface of the pipe slice sample to obtain a second sample corrosion image; Real-time counting of the proportion of pixel points whose pixel values ​​are characteristic pixel values ​​in the second sample corrosion image as a second proportion; When the second proportion is less than the preset proportion, the current corrosion time is recorded, and an average of at least one current corrosion time is taken as the second corrosion time.

4. A high-precision detection method for gas pipeline corrosion resistance testing according to claim 3, characterized in that: The step of obtaining the corrosion switching ratio based on the first corrosion time in the actual corrosion environment and the second corrosion time in the test corrosion environment comprises the following steps: The first corrosion time is divided by the second corrosion time to obtain the corrosion switching ratio.

5. A high-precision detection method for gas pipeline corrosion resistance testing according to claim 4, characterized in that: The step of classifying the pipe wall area of ​​the cross section of the gas pipeline to obtain the corroded area and the non-corroded area comprises the following steps: The initial states of both the corroded and uncorroded regions are empty regions; The pixel points in the pipe wall area of ​​the cross section of the gas pipeline whose pixel values ​​are not equal to the reference pixel values ​​are classified as corrosion areas; The pixel points in the pipe wall area of ​​the cross section of the gas pipeline whose pixel values ​​are equal to the reference pixel values ​​are classified as non-corroded areas.

6. A high-precision detection method for gas pipeline corrosion resistance testing according to claim 5, characterized in that: The method of obtaining the thickness of the uncorroded area comprises the following steps: Perform edge recognition on the uncorroded area to obtain the outer ring edge and the inner ring edge of the uncorroded area; Two-dimensional coordinate modeling of the uncorroded area; Take at least one outer ring sampling point on the edge of the outer ring, fit the coordinates of at least one outer ring sampling point, and obtain the outer ring edge fitting function; Take at least one inner ring sampling point at the edge of the inner ring, fit the coordinates of at least one inner ring sampling point, and obtain the inner ring edge fitting function; Using the center formula, calculate the center of the uncorroded area; At least one ray is drawn at the center of the corrosion area, and the angles between adjacent rays are all preset angles; At least one ray intersects with the edge of the outer ring to obtain at least one outer ring feature point; At least one ray intersects with the edge of the inner ring to obtain at least one inner ring feature point; Pair the outer ring feature points with the inner ring feature points on the same ray to obtain a feature point group; Calculate the distance between the outer ring feature point and the inner ring feature point in the feature point group as the feature distance; Superimpose at least one characteristic distance and average it to obtain the thickness of the uncorroded area; The central formula is as follows: , Among them, the integral area is the area enclosed by the outer ring edge fitting function and the inner ring edge fitting function, X is the horizontal coordinate of the center of the uncorroded area, Y is the vertical coordinate of the center of the uncorroded area, x is the horizontal coordinate of the point in the uncorroded area, and y is the vertical coordinate of the point in the uncorroded area.

7. A high-precision detection system for gas pipeline corrosion resistance testing, used to implement the high-precision detection method for gas pipeline corrosion resistance testing as described in any one of claims 1 to 6, characterized in that: include: A parameter generation module, wherein the parameter generation module obtains the actual corrosion environment of the gas pipeline and obtains the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline; A sample acquisition module, wherein the sample acquisition module acquires at least one pipeline slice sample and divides the at least one pipeline slice sample into a first test set and a second test set; A corrosion simulation module, wherein the corrosion simulation module simulates an actual corrosion environment of a gas pipeline, corrodes at least one pipeline slice sample in a first test set, obtains a first corrosion time when the pipeline slice sample is completely corroded, simulates a test corrosion environment of the gas pipeline, corrodes at least one pipeline slice sample in a second test set, and obtains a second corrosion time when the pipeline slice sample is completely corroded; A ratio conversion module, wherein the ratio conversion module obtains a corrosion switching ratio; A historical data processing module, wherein the historical data processing module obtains a characteristic thickness of a pipe wall in normal use of a gas pipeline based on historical data of pipeline use; An infrared image processing module, wherein the infrared image processing module uses infrared imaging to image the cross section of the uncorroded gas pipeline to obtain a reference image, obtains pixel values ​​of pixel points of the cross section of the uncorroded gas pipeline in the reference image as reference pixel values, cuts the gas pipeline at a time corresponding to each sampling time point to obtain the cross section of the gas pipeline, and uses infrared imaging to image the cross section of the gas pipeline to obtain a cross-sectional image; A region classification module, wherein the region classification module classifies the pipe wall regions of the cross section of the gas pipeline to obtain corroded regions and non-corroded regions; A judgment and recognition module, wherein the judgment and recognition module obtains the thickness of the uncorroded area and judges whether the thickness of the uncorroded area is greater than the characteristic thickness of the pipe wall; A calculation module, wherein the calculation module calculates and obtains the actual corrosion resistance time of the gas pipeline; The method of obtaining the test corrosion environment of the gas pipeline according to the actual corrosion environment of the gas pipeline comprises the following steps: Obtain the concentrations of various salts, oxidants and non-electrolytes in actual corrosion environments; The concentrations of various salts, oxidants and non-electrolytes are increased by preset multiples as parameter conditions for testing the corrosion environment.

Citation Information

Patent Citations

  • Device applied to jet corrosion test and test method

    CN114354471A

  • Prediction method for corrosion rate of natural gas pipeline

    CN116797577A

  • Pipe fitting performance parameter testing method and system of gas hose

    CN117848864A

  • Corrosion alarm system for pipe life management and method thereof

    KR102376996B1

  • Paint Accelerated Corrosion Test Method

    TWI621842B