A method, device and storage medium for detecting stray current interference in oil and gas pipelines
By adopting Besel function filtering and effective value processing in the stray current interference detection device of the oil and gas pipeline, combined with the self-test module, the problems of inaccurate and inefficient detection results in the prior art are solved, and high accuracy and high efficiency detection effects are achieved.
Patent Information
- Application Number
- CN202111634432.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2041-12-29
AI Technical Summary
The existing stray current interference monitoring devices in oil and gas pipelines lack filtering functions, self-test functions, soil resistivity testing functions and AC data processing functions, resulting in inaccurate detection results and inefficient efficiency.
A method and device for detecting stray current interference in oil and gas pipelines is designed, and low-pass filtering, band-pass filtering and effective value processing is used to process low-pass filtering, and a self-test module is added to the detection device to ensure the stability of the reference electrode and the reliability of the test data.
Improve the accuracy and efficiency of the test results, reduce labor and time costs, can effectively handle interfering data in exchange and provide reliable test results.
Smart Images

Figure CN114355049B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipeline current interference detection, and more particularly to a method and device for detecting stray current interference in oil and gas pipelines and a storable medium. Background Art
[0002] Most of my country's oil and gas pipelines are made of steel, and corrosion is the key protection target for pipelines. Corrosion is divided into natural corrosion and electrochemical corrosion. Natural corrosion refers to the physical and chemical decomposition of steel pipelines when they are exposed to the environment. Electrochemical corrosion is caused by the fact that human industrial production activities form a large amount of current distribution in the earth (this current is referred to as stray current). This stray current flows to the steel pipeline, causing electrochemical decomposition, which will greatly accelerate the decomposition of the steel material. Both domestic and international regulations have stipulated a variety of indicators and limits for stray current interference on pipelines, which judge the level of stray current distribution on pipelines and the degree of possible impact, and then take different protective measures to deal with it.
[0003] However, similar stray current interference monitoring devices in the prior art can monitor common stray current interference indicators, such as pipeline-to-ground potential, pipeline power-on potential, pipeline power-off potential, through current, AC potential, etc. However, there are the following problems: 1. No filtering function: There are often some industrial and civilian production and living facilities near the monitoring point, which can easily generate obvious electromagnetic interference in space or the earth, and then couple into the test data, affecting the judgment of the real stray current interference on the pipeline. 2. It does not have a self-checking function at any time. As a result, the reference electrode fails due to human or objective environment during field use, which will also have a significant impact on the test data. 3. The test function of soil resistivity cannot be integrated. It is often necessary to carry a separate test equipment on site, and multiple personnel are required to cooperate, which reduces work efficiency. 4. It does not have the function of processing AC data. It is impossible to process the effective value of AC data, resulting in the test data only giving instantaneous data due to the low sampling rate, and the effective value of the AC waveform cannot be given well. Affects the analysis and judgment of the test.
[0004] Therefore, how to provide a method, device and storable medium for detecting stray current interference in oil and gas pipelines is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0005] In view of this, the present invention provides a method, device and storable medium for detecting stray current interference in an oil and gas pipeline to solve the problems existing in the prior art.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] On the one hand, the present invention provides a method for detecting stray current interference in an oil and gas pipeline, which is implemented based on an oil and gas pipeline stray current interference test device, wherein the oil and gas pipeline stray current interference test device includes a reference electrode, and includes the following steps:
[0008] S100: Acquiring test data of stray current of the oil and gas pipeline through an oil and gas pipeline stray current interference test device;
[0009] S200: Processing and analyzing the test data to obtain a test result;
[0010] S300: Output and display the detection result.
[0011] Preferably, the S100 oil and gas pipeline stray current test data includes: soil resistivity, pipeline natural potential, pipeline power-on potential, pipeline power-off potential and pipeline AC interference voltage.
[0012] Preferably, the step S200 of processing the oil and gas pipeline stray current test data includes:
[0013] S210: using a Bessel function to perform low-pass filtering interference isolation on the stray current test data of the oil and gas pipeline, wherein the low-pass frequency is set to 1 Hz and the order is set to 20th order;
[0014] S220: Band-pass filtering is performed on the stray current test data of the oil and gas pipeline, and effective value processing is performed, wherein the root mean square calculation time in the effective value processing is set to 0.5 seconds.
[0015] Preferably, before S100, the process further includes performing a self-test on the oil and gas pipeline stray current interference test device, and the specific process includes:
[0016] S101: testing the performance of the reference electrode before constructing the test circuit;
[0017] Obtaining a polarization potential difference between an internal reference electrode and a stability reference electrode, and judging whether a reference electrode device needs to be replaced according to the polarization potential difference;
[0018] S102: Detecting the buried state of the reference electrode when constructing a test circuit:
[0019] Obtaining the resistance value between the internal reference electrode and the polarization test piece through the reference electrode, and judging whether the reference electrode device needs to be replaced according to the resistance value;
[0020] S103: After the test circuit is constructed, the working state of the reference electrode under the test environment is detected;
[0021] Obtain the polarization potential difference between the current reference electrode and the stability reference electrode, and subtract it from the previous polarization potential difference to obtain the absolute value between the current polarization potential difference and the previous polarization potential difference, and judge whether the reference electrode device needs to be replaced based on the absolute value.
[0022] On the other hand, the present invention also provides a method and device for detecting stray current interference in oil and gas pipelines, comprising:
[0023] A self-check module, used for performing self-check on the oil and gas pipeline stray current interference test device;
[0024] A detection module, connected to the self-check module, for obtaining test data of stray current in the oil and gas pipeline through an oil and gas pipeline stray current interference test device;
[0025] A processing module, connected to the detection module, for processing and analyzing the test data to obtain a detection result;
[0026] The output module is connected to the processing module and is used to output and display the detection results.
[0027] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the above-mentioned oil and gas pipeline stray current interference detection method.
[0028] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a method, device and storage medium for detecting stray current interference in oil and gas pipelines, which can accurately detect stray current interference in oil and gas pipelines, maximize the test efficiency and reduce the manpower and time costs required for the test. Specifically:
[0029] 1) By low-pass filtering the gas pipeline stray current test data, the data processing capability and the specificity of pipeline testing are improved, and the detection accuracy is further improved;
[0030] 2) By performing bandpass filtering on the AC interference data in the gas pipeline stray current test data, the effective value judgment of the AC interference data is given, which solves the problem that only instantaneous values are given in previous tests, and the sampling rate is low, resulting in errors in the test results affected by the AC waveform and the inability to correspond to the AC interference limit value;
[0031] 3) Self-checking the key device (reference electrode) that the test relies on can monitor the test status and stable state of the reference electrode, thereby truly ensuring the reliability of the test data and eliminating the blind spots of previous tests. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0033] Figure 1 A schematic diagram of the flow chart of the oil and gas pipeline stray current interference detection method provided by the present invention;
[0034] Figure 2 A schematic structural diagram of an oil and gas pipeline stray current interference detection device is provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] See attached Figure 1 As shown, an embodiment of the present invention discloses a method for detecting stray current interference of an oil and gas pipeline, which is implemented based on a stray current interference test device for an oil and gas pipeline. The stray current interference test device for an oil and gas pipeline includes a reference electrode, and includes the following steps:
[0037] S100: Acquiring test data of stray current of the oil and gas pipeline through an oil and gas pipeline stray current interference test device;
[0038] S200: Process and analyze the test data to obtain the test results;
[0039] S300: Output and display the detection result.
[0040] In a specific embodiment, the test data of the stray current of the S100 oil and gas pipeline includes: soil resistivity, pipeline natural potential, pipeline power-on potential, pipeline power-off potential and pipeline AC interference voltage.
[0041] In a specific embodiment, S200 processes the oil and gas pipeline stray current test data including:
[0042] S210: Use Bessel function to perform low-pass filtering interference isolation on the stray current test data of the oil and gas pipeline, where the low-pass frequency is set to 1 Hz and the order is set to 20th order;
[0043] S220: Band-pass filtering is performed on the stray current test data of the oil and gas pipeline, and effective value processing is performed, wherein the root mean square calculation time in the effective value processing is set to 0.5 seconds.
[0044] Specifically, according to the statistics of measured data, when analyzing the instantaneous sampling data, the data often contains more non-DC components, which is caused by the interference of a large number of surrounding civil and industrial electrical equipment; according to the statistical results of the data, generally such interference components are often distributed in the range of 2Hz and above, while the frequency components of DC stray current are mainly in the range of DC 0Hz and extremely low frequency below 0.1Hz, so it is necessary to perform low-pass filtering on the test results. According to the test experience, the 1Hz low-pass filter is selected to best meet the frequency distribution on site;
[0045] More specifically, the Bessel function is selected as the low-pass filter function because among many commonly used filter functions, the Bessel filter is a linear filter with the largest flat group delay (linear phase response). The Bessel filter is commonly used in audio bridge systems. The analog Bessel filter is depicted as a constant group delay across almost the entire passband, thereby maintaining the filtered signal waveform in the passband and having the characteristic of providing equal delay to all frequencies below its cutoff frequency.
[0046] More specifically, the 20th order is selected as the filter order of the Bessel function because, although the Bessel filter provides a flat amplitude and linear phase (i.e., consistent group delay) response within its passband, its selectivity is worse than that of a Butterworth filter or a Chebyshev filter of the same order (or number of poles). Therefore, in order to achieve a specific stopband attenuation level, a higher-order Bessel filter needs to be designed. Combined with experimental data, repeated comparisons have led to the selection of the 20th order as the filter order.
[0047] Specifically, it is to obtain AC 50 Hz and main harmonic components to avoid the influence of low frequency and DC offset components on the test results.
[0048] More specifically, the effective value processing of the AC data is performed:
[0049] According to GB / T 50698-2011 "Technical Standard for AC Interference Protection of Buried Steel Pipelines" and TB / T2832-1997 "Allowable Values and Protection Measures for the Impact of AC Electrified Railways on Oil (Gas) Pipelines (Including Oil Depots)", the AC interference voltage limits refer to the effective value of the AC test, that is, the root mean square value RMS value.
[0050] The waveform of the AC voltage amplitude changing with time has the characteristics of ups and downs, as shown in the figure below. The values obtained at different sampling points in an AC cycle will be quite different, and the existing test devices often only analyze the collected AC instantaneous data. On the one hand, this will cause the collected data to be affected by the ups and downs of the waveform, and on the other hand, it is inconsistent with the provisions in the standard.
[0051] Specifically, the effective value, i.e., the root mean square value calculation time is set to 0.5 seconds. This is based on the test definition of the effective value of AC voltage in the domestic AC power quality. The calculation time for the root mean square value of AC voltage RMS in my country is 0.5 seconds, while the European standard is 0.2 seconds. Therefore, 0.5 seconds is used as the effective value processing time in combination with the Chinese standard.
[0052] Specifically, the analysis of the test data of stray current in oil and gas pipelines includes:
[0053] (1) Soil resistivity
[0054] The measurement method adopts the quadrupole test, and the equal spacing method or unequal spacing method of the quadrupole method is selected for measurement according to the on-site conditions.
[0055] The depth of the current field in the soil of the tested site, that is, the depth of the tested soil, is closely related to the distance between the test electrodes. During the test, round steel with a diameter of not less than 1.5 cm or angle steel of 25*25*4 mm is used as the test electrode, and the length is not less than 40 cm. In the quadrupole equidistant method, the distance between the two electrodes should not be less than 20 times the buried depth of the electrodes.
[0056] Adjust the test spacing in the test method, test the soil resistivity in different depth ranges, and determine the soil environment within a certain underground range.
[0057] The ground resistance tester obtains the test resistance by testing the test current between the outer current electrodes and the potential difference between the two inner potential electrodes, and then converts the apparent soil resistivity of the tested site into the following formula.
[0058] Quadrupole isometric method: ρ = 2πaR;
[0059] Quadrupole non-equidistant method:
[0060] Where:
[0061] ρ——average soil resistivity from the surface to the soil layer at depth a at the measuring point, Ω·m;
[0062] a——the distance between the current electrode and the potential electrode, m;
[0063] b is the distance between potential electrodes, m; R is the indication of ground resistance meter, Ω.
[0064] (2) DC stray current interference
[0065] DC stray current interference involves two aspects of testing, namely, DC stray current interference power-on potential, power-off potential, and sacrificial anode output current.
[0066] The test method is based on GB / T 21246-2020 "Measurement method of cathodic protection parameters of buried steel pipelines"
[0067] The test reading interval is uniformly set to 1 time per second. During the field test, appropriate measures are selected in combination with the field conditions to eliminate the influence of soil IR drop on the pipe-to-ground potential test results as much as possible. A data recorder is used to test the potential of the test points around the pipeline, and a solid reference electrode is selected as the reference electrode. The sampling interval is set to 1 / second, and the recording time is a multiple of 24h.
[0068] 1. Natural potential
[0069] Follow the steps below to perform measurements: a) Before measurement, make sure that the pipeline is not subject to cathodic protection, is not affected by electrical interference, and does not have dissimilar metal connections. For pipelines that have been subject to cathodic protection, the measurement should be performed 24 hours after the power is completely cut off; b) When measuring, place the reference electrode on the moist soil on the surface above the pipeline, and ensure that the bottom of the reference electrode is in contact with the soil; c) Connect the voltmeter to the pipeline and the reference electrode; d) Adjust the voltmeter to an appropriate range and read the data. The pipe-to-ground potential, temperature, and polarity should be recorded, and the name of the potential value should be noted.
[0070] 2. Power-on potential
[0071] The measured potential should be the sum of the potential after pipeline polarization and all other voltage drops in the measurement circuit. It is applicable to the measurement of pipeline to electrolyte (soil) potential when cathodic protection current is applied.
[0072] Follow the steps below to perform the measurement: a) Before measuring, confirm that the cathodic protection is operating normally and the pipeline is fully polarized; b) When measuring, place the reference electrode on the moist soil on the surface above the pipeline, and ensure that the bottom of the reference electrode is in good contact with the soil; c) Connect the voltmeter to the pipeline and the reference electrode; d) Adjust the voltmeter to an appropriate range, read the data, and record the pipe-to-ground potential value, temperature and polarity, and indicate the name of the potential value;
[0073] 3. Power-off potential
[0074] The power-off potential is the pipeline-to-ground potential after the IR drop caused by the protection current is eliminated. It is not applicable to pipelines with multiple sets of sacrificial anodes, sacrificial anodes directly connected to pipelines, external forced current devices that cannot be interrupted, etc., where the protection current cannot be interrupted synchronously or is interfered by DC stray current.
[0075] 1) Conventional test method for power-off potential
[0076] The test can be carried out in the conventional manner while the protection current of the external forced current device can be synchronously interrupted during the test.
[0077] The measurement shall be carried out in the following steps: a) Before the measurement, it shall be confirmed that the cathodic protection is operating normally and the pipeline has been fully polarized; b) When there are the influences of impulse voltage, the response of the cathodic protection power supply equipment and the synchronization of the current interrupter, a pulse oscilloscope or a high-speed recorder shall be used for measurement to verify the magnitude and duration of the influence; c) When measuring, the cathodic protection power supply that has an impact on the measurement interval shall be equipped with a current synchronization interrupter, and a reasonable on / off cycle synchronization error shall be set to be less than 0.1s; d) The principle for setting a reasonable on / off cycle and power-off time is: the power-off time shall be long enough to collect data after eliminating the influence of the impulse voltage and read a smooth power-off potential, while excessive depolarization shall be avoided; when a decoupling device of a capacitor element for interference protection is installed on the pipeline, a longer power-off time shall be considered. During the test, the output current of the equipment should be kept stable. If the power-off potential of each on / off cycle at the same test point continues to decay, the on / off cycle should be adjusted; e) Place the reference electrode on the moist soil on the ground surface of the pipeline, and ensure that the bottom of the reference electrode is in good contact with the soil; f) Connect the voltmeter to the pipeline and the reference electrode; g) Record the power-on potential and power-off potential, as well as the polarity relative to the reference electrode. The measured power-off potential is the pipe-to-ground potential after the IR drop caused by the protection current is eliminated at the reference electrode placement.
[0078] 2) Polarization probe test method for power-off potential
[0079] It is suitable for pipelines that are interfered by stray current or cannot synchronously interrupt the protection current. The polarization probe method is used to measure the pipeline protection potential at the buried location.
[0080] The measurement should be carried out according to the following steps: a) The buried environment of the polarization probe should be the same as that of the pipeline. When the long-term polarization probe is buried, the exposed surface of the polarization test piece should not face the pipeline, and the polarization test piece should be in good contact with the surrounding soil; b) Before measurement, the reference electrode in the polarization probe should be calibrated, and the natural potential measurement of the polarization test piece should be carried out before the polarization test piece is connected to the pipeline; c) Before measuring the protection potential, it should be confirmed that the cathodic protection is operating normally, the polarization test piece of the polarization probe is connected to the pipeline, and the pipeline and the polarization test piece are fully polarized. It is generally recommended to maintain it for 24 hours; d) During the measurement, connect the positive terminal of the DC digital voltmeter to the polarization test piece of the probe, and the negative terminal to the reference electrode of the probe; e) Measure and record the power-on potential of the polarization test piece; f) Disconnect the polarization test piece from the pipeline, and immediately measure and record the power-off potential of the polarization test piece. The measured power-off potential represents the protection status of the pipeline when the area of the damaged point of the pipeline anti-corrosion layer near the buried point is close to the exposed area of the polarization test piece; g) The size of the exposed area of the polarization test piece in the probe should be close to the maximum defect of the anti-corrosion layer that may occur in the investigation area, and the exposed area should be 1cm 2 ~100cm 2 .
[0081] (3) AC interference potential
[0082] Monitor the pipeline potential for a long time and analyze the AC interference voltage in the DC interference voltage of the pipeline. The existing test piles of the pipeline can be used for testing, and the test points should be denser in the interference complex section. The interval between the test points should not exceed 1km, and they should be selected in the same area as the soil resistivity measurement points.
[0083] The test time should be continuous for 24 hours or multiples of 24 hours. When an obvious AC interference source is identified, the corresponding relationship with the change of the interference source load should be established. The sampling interval of the test equipment is 1 / second.
[0084] Each sampled value of the AC interference voltage is processed as an effective value, and the average value of the test value is finally taken as the test result. The test method is the same as the test method of the DC interference voltage.
[0085] In a specific embodiment, before S100, the process further includes performing a self-test on the oil and gas pipeline stray current interference test device, and the specific process includes:
[0086] (1) Detection before pipeline stray current interference test
[0087] 1. Detection indicators and judgment limits
[0088] a) Acquisition method: Obtained through the technical data of long-term reference electrodes with molybdenum compound fillers and the statistical results of stability tests in the laboratory.
[0089] b) Judgment index: The polarization potential difference U between the reference electrode pair and the stability reference electrode under the environmental conditions in the conductive solution.
[0090] c) Index limits: as shown in Table 1:
[0091] Table 1 Polarization point difference corresponding to the reference electrode buried state
[0092] Polarization potential difference U Reference electrode buried state U<0.5mV The reference electrode has good polarization potential stability 0.5mV≤U<1mV Can be used, it is recommended to check under certain conditions 1mV≤U<3mV It is recommended to adjust or replace the reference electrode U≥3mV Reference electrode polarization potential stability failure
[0093] 2. The judgment steps and judgment indicators are as follows:
[0094] a) Place the reference electrode in an aqueous solution, a salt water solution, or moist soil in an open environment, select the self-test option through the kinetic energy selection key on the reference electrode, and the internal device of the electrode tests the polarization potential difference between the internal reference electrode and the stability reference electrode, and then transmits the test result to the voltage comparison unit;
[0095] b) When the potential difference U is less than 0.5mV, the green LED light will be displayed, indicating that the polarization stability of the reference electrode itself is in good condition;
[0096] c) When the potential difference U is 0.5mV or above and less than 1mV, the yellow LED will flash to remind the user to pay attention to the polarization stability performance status of the reference electrode. The user can continue to use it, but attention should be paid;
[0097] d) When the potential difference U is 1mV or above and less than 3mV, the yellow LED will light up continuously to remind the user to check the reference electrode status and replace it if necessary;
[0098] e) When the potential difference U reaches 3mV or above, the red LED will light up and the buzzer will sound continuously to remind the user to replace the reference electrode as soon as possible;
[0099] (2) Detection of reference electrode buried state when constructing a test circuit
[0100] 1. Detection indicators and judgment limits
[0101] a) Acquisition method: obtained through statistics of a large amount of field measured data.
[0102] b) Judgment index: The resistance R of the reference electrode to the ground when buried in the soil.
[0103] c) Index limits: as shown in Table 2:
[0104] Table 2 Ground resistance corresponding to the reference electrode buried state
[0105] Reference electrode to ground resistance R Reference electrode buried state R≤1kΩ good 1kΩ<R≤10kΩ Available, but recommended to adjust if necessary 10kΩ <R≤1MΩ Need to adjust the buried state R>1MΩ Failure of buried state
[0106] 2. The judgment steps are as follows:
[0107] a) Bury the reference electrode in the soil, with the burial depth close to the top of the reference electrode. Before burying, pour a certain amount of water under the reference electrode to maintain a certain mud state, so that the mica sheet under the reference electrode can be in good contact with the soil. Then compact the soil around the reference electrode.
[0108] b) Select the self-test option through the kinetic energy selection key on the reference electrode, and the internal device of the electrode tests the resistance between the internal reference electrode and the polarization test piece (the resistance includes the contact resistance between each and the soil, and the soil path resistance between the two); and transmits the test result to the calculation circuit unit inside the electrode;
[0109] c) When the resistance R is less than 1kΩ, the green LED light will be displayed to remind the user to pay attention to the performance status of the reference electrode. It can continue to be used, but attention should be paid;
[0110] d) When the resistance R exceeds 1kΩ but does not exceed 10kΩ, the yellow LED will flash to remind the user to pay attention to the performance status of the reference electrode. The user can continue to use it, but should remain careful;
[0111] e) When the resistance R exceeds 10kΩ but does not exceed 1MΩ, the yellow LED will light up continuously to remind the user to check the reference electrode status and replace it if necessary;
[0112] f) When the resistance R exceeds 1MΩ, the red LED will light up and the buzzer will sound continuously to remind the user to replace the reference electrode as soon as possible;
[0113] (3) After the test circuit is built, the reference electrode status detection under long-term test environment
[0114] 1. Detection indicators and judgment limits
[0115] a) Acquisition method: obtained through statistics of a large amount of field measured data.
[0116] b) Judgment indicators:
[0117] The polarization potential difference U between the reference electrode and the stability reference electrode is obtained every 5 minutes. n and the previous polarization potential difference U n-1 Subtract them to get the absolute value of the difference between them |ΔU|;
[0118] Every day between 01:00 and 03:00 in the morning, the resistance R between the reference electrode and the polarization test piece is tested once without the polarization test piece participating in the test. 1 , and the resistance R between the reference electrode and the stability reference electrode2 ;
[0119] c) Index limits: as shown in Table 3 and Table 4:
[0120] Table 3 Absolute error of two adjacent polarization potential difference test results corresponding to the reference electrode burial
[0121]
[0122] Table 4 Interelectrode resistance corresponding to reference electrode burial
[0123] <![CDATA[Interelectrode resistance R 1 or R 2 > Reference electrode buried state <![CDATA[R 1 And R 2 ≤1kΩ]]> good <![CDATA[1kΩ<R 1 or R 2 ≤10kΩ]]> Available, but recommended to adjust if necessary <![CDATA[10kΩ<R 1 or R 2 ≤1MΩ]]> Need to adjust the buried state <![CDATA[R 1 or R 2 >1MΩ]]> Failure of buried state
[0124] 2. The judgment steps are as follows:
[0125] a) Under long-term test conditions, the polarization potential difference U between the reference electrode and the stability reference electrode is obtained every 5 minutes. n and the previous polarization potential difference U n-1 Subtract them to get the absolute value of the difference between them |ΔU|;
[0126] b) When |ΔU|>3mV for three consecutive times, it indicates that the reference electrode is subject to excessive external interference, and the test position should be adjusted in time or data filtering should be added;
[0127] c) During the period from 01:00 to 03:00 every morning, when the polarization test piece is not involved in the test, the resistance R between the reference electrode and the polarization test piece is tested once. 1 , and the resistance R between the reference electrode and the stability reference electrode 2 ;
[0128] The built-in program inside the electrode is set to make the internal device of the electrode test the resistance R between the reference electrode and the stability reference electrode respectively. 1 , and the resistance R between the reference electrode and the polarization test piece 2 (The resistance includes the contact resistance between each electrode and the soil, and the soil path resistance between the two); and transmit the test results to the calculation circuit unit inside the electrode;
[0129] d) When the resistor R 1 , R 2 At the same time, when it is less than 1kΩ, the green LED light will be displayed to remind the user to pay attention to the performance status of the reference electrode. It can continue to be used, but attention should be paid;
[0130] e) When the resistor R 1 or R 2 When it exceeds 1kΩ and is less than 10kΩ, the yellow LED will flash to remind the user to pay attention to the performance status of the reference electrode. The user can continue to use it, but should remain careful;
[0131] f) When the resistor R 1 or R 2 When the resistance is more than 10kΩ and less than 1MΩ, the yellow LED will light up continuously to remind the user to check the status of the reference electrode and replace it if necessary.
[0132] g) When the resistor R 1 or R 2 When it exceeds 1MΩ, the red LED will light up and the buzzer will sound continuously to remind the user to replace the reference electrode as soon as possible.
[0133] On the other hand, see Appendix Figure 2 As shown, the embodiment of the present invention also discloses a method and device for detecting stray current interference in oil and gas pipelines, comprising:
[0134] Self-test module, used to perform self-test on stray current interference test devices of oil and gas pipelines;
[0135] A detection module, connected to the self-test module, for obtaining test data of stray current in the oil and gas pipeline through an oil and gas pipeline stray current interference test device;
[0136] The processing module is connected to the detection module and is used to process and analyze the test data to obtain the test results;
[0137] The output module is connected to the processing module and is used to output and display the detection results.
[0138] On the other hand, an embodiment of the present invention further discloses a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the above-mentioned oil and gas pipeline stray current interference detection method is implemented.
[0139] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a method, device and storage medium for detecting stray current interference in oil and gas pipelines, which can accurately detect stray current interference in oil and gas pipelines, maximize the test efficiency and reduce the manpower and time costs required for the test. Specifically:
[0140] 1) By low-pass filtering the gas pipeline stray current test data, the data processing capability and the specificity of pipeline testing are improved, and the detection accuracy is further improved;
[0141] 2) By performing bandpass filtering on the AC interference data in the gas pipeline stray current test data, the effective value judgment of the AC interference data is given, which solves the problem that only instantaneous values are given in previous tests, and the sampling rate is low, resulting in errors in the test results affected by the AC waveform and the inability to correspond to the AC interference limit value;
[0142] 3) Self-checking the key device (reference electrode) that the test relies on can monitor the test status and stable state of the reference electrode, thereby truly ensuring the reliability of the test data and eliminating the blind spots of previous tests.
[0143] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0144] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for detecting stray current interference in an oil and gas pipeline, which is implemented based on a stray current interference test device for an oil and gas pipeline. The stray current interference test device for an oil and gas pipeline comprises a reference electrode, characterized in that: The following steps are involved: S100: Acquiring test data of stray current of the oil and gas pipeline through an oil and gas pipeline stray current interference test device; S200: Processing and analyzing the test data to obtain a test result; S300: output and display the detection result; Wherein, before S100, the process also includes self-checking the oil and gas pipeline stray current interference test device, and the specific process includes: S101: testing the performance of the reference electrode before constructing the test circuit; Obtaining a polarization potential difference between an internal reference electrode and a stability reference electrode, and judging whether a reference electrode device needs to be replaced according to the polarization potential difference; S102: Detecting the buried state of the reference electrode when constructing a test circuit: Obtaining the resistance value between the internal reference electrode and the polarization test piece through the reference electrode, and judging whether the reference electrode device needs to be replaced according to the resistance value; S103: After the test circuit is constructed, the working state of the reference electrode under the test environment is detected; Obtain the polarization potential difference between the current reference electrode and the stability reference electrode, and subtract it from the previous polarization potential difference to obtain the absolute value between the current polarization potential difference and the previous polarization potential difference, and judge whether the reference electrode device needs to be replaced based on the absolute value.
2. The method for detecting stray current interference in oil and gas pipelines according to claim 1, characterized in that: The test data of the stray current of the S100 oil and gas pipeline includes: soil resistivity, pipeline natural potential, pipeline power-on potential, pipeline power-off potential and pipeline AC interference voltage.
3. The method for detecting stray current interference in oil and gas pipelines according to claim 1, characterized in that: The S200 processes the oil and gas pipeline stray current test data including: S210: using a Bessel function to perform low-pass filtering interference isolation on the stray current test data of the oil and gas pipeline, wherein the low-pass frequency is set to 1 Hz and the order is set to 20th order; S220: Band-pass filtering is performed on the stray current test data of the oil and gas pipeline, and effective value processing is performed, wherein the root mean square calculation time in the effective value processing is set to 0.5 seconds.
4. A stray current interference detection device for oil and gas pipelines, characterized in that: include: A self-check module, used for performing self-check on the oil and gas pipeline stray current interference test device; A detection module, connected to the self-check module, for obtaining test data of stray current in the oil and gas pipeline through an oil and gas pipeline stray current interference test device; A processing module, connected to the detection module, for processing and analyzing the test data to obtain a detection result; An output module, connected to the processing module, for outputting and displaying the detection results; The oil and gas pipeline stray current interference test device is self-checked, and the specific process includes: S101: Testing the performance of the reference electrode before constructing the test circuit; Obtaining a polarization potential difference between an internal reference electrode and a stability reference electrode, and judging whether a reference electrode device needs to be replaced according to the polarization potential difference; S102: Detecting the buried state of the reference electrode when constructing a test circuit: Obtaining the resistance value between the internal reference electrode and the polarization test piece through the reference electrode, and judging whether the reference electrode device needs to be replaced according to the resistance value; S103: After the test circuit is constructed, the working state of the reference electrode under the test environment is detected; Obtain the polarization potential difference between the current reference electrode and the stability reference electrode, and subtract it from the previous polarization potential difference to obtain the absolute value between the current polarization potential difference and the previous polarization potential difference, and judge whether the reference electrode device needs to be replaced based on the absolute value.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, an oil and gas pipeline stray current interference detection method as claimed in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
In-service steel pipeline stray current monitoring and cathode protection power source control device and method
CN109917720A
Device for detecting working states of reference electrodes and working method thereof
CN110836922A
Oil and gas pipeline stray current interference detection device
CN217181034U