Stray current interference source positioning method and positioning device
By optimizing the time difference parameters using the time difference positioning method and machine learning technology, and combining them with the linear equidistant array method, the problem of inaccurate positioning of underground stray current interference sources in existing technologies has been solved, achieving accurate positioning of underground stray current interference sources and reducing positioning errors.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2026-03-03
AI Technical Summary
Existing technologies cannot effectively locate the sources of interference from underground stray currents, making it impossible to prevent and address the corrosion and safety risks caused by underground stray currents at their source.
By combining time difference positioning with machine learning technology, the stray current interference source localization model is constructed and trained by acquiring the time difference measurement value of the stray current signal arriving at each measurement point. Deep learning is used to optimize the time difference parameters, correct the time delay measurement error, and combine it with the linear equidistant array method for accurate positioning.
It improves the positioning accuracy of underground stray current interference sources, reduces positioning errors caused by time synchronization and other issues, and enables precise positioning of interference sources of different types and intensities.
Smart Images

Figure CN117633436B_ABST
Abstract
Description
Technical Field
[0001] This disclosure pertains to the field of stray current research, specifically relating to a method and device for locating stray current interference sources. Background Technology
[0002] my country has a vast territory, with energy resources mainly distributed in the western region, while the population and industry are concentrated in the eastern region. Therefore, a development strategy for long-distance, large-capacity energy transmission has emerged, leading to a peak construction period for long-distance oil pipelines and high-voltage direct current (HVDC) projects. With the construction of the West-to-East Power Transmission and West-to-East Gas Transmission projects, the proximity of DC grounding electrodes to buried oil and gas pipelines is unavoidable. During operation, HVDC transmission systems release a large amount of current through the grounding electrode, forming a constant DC current field near the electrode and causing an increase in ground potential. If a metal pipeline exists near the grounding electrode, the current will flow in and out at points where the pipeline's anti-corrosion layer is damaged, due to the much lower resistivity of metal compared to soil. This not only exposes the metal pipeline to corrosion and hydrogen embrittlement risks but also endangers pipeline equipment and personnel. With the rapid development of my country's ultra-high-voltage direct current (UHVDC) transmission projects, the rated grounding current of grounding electrodes can reach over 6kA. The impact of grounding electrode current on buried oil and gas pipelines is becoming increasingly prominent and has attracted significant attention from the petrochemical industry.
[0003] Currently, research on stray currents in underground infrastructure is limited to qualitative analysis and measurements under steady-state conditions. For example, pipeline operators can often detect stray current corrosion through pipe-to-ground potential, but this doesn't effectively pinpoint the source of the interference. Therefore, it is essential to study the sources of stray currents, construct relevant simulation models, and locate these sources. This is crucial to reduce the occurrence of such phenomena and to prevent and address stray current sources at their source, rather than passively investigating the connections and analyzing the causes after damage has occurred. The above analysis demonstrates the necessity of researching and identifying stray current sources and their location techniques. This research provides technical support for addressing the hazards caused by stray currents and has significant practical implications. Summary of the Invention
[0004] In view of the shortcomings of the prior art, the purpose of this disclosure is to provide a method for locating stray current interference sources, which can effectively locate stray current sources and underground stray current sources.
[0005] To achieve the above objectives, this disclosure provides the following technical solutions:
[0006] A method for locating stray current interference sources includes the following steps:
[0007] S100: Acquire the time difference T between the arrival of the stray current signal released by the stray current interference source to be located at each measuring point.m g;
[0008] S200: Construct a model for locating stray current interference sources;
[0009] S300: Train the stray current interference source localization model to obtain a trained stray current interference source localization model;
[0010] S400: Transfer the time difference measurement value T m The trained stray current interference source localization model is input into g to locate the stray current interference source to be located.
[0011] Preferably, in step S300, training the stray current interference source localization model includes the following steps:
[0012] S301: Calculate the theoretical time difference T1 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point;
[0013] S302: Obtain the time difference T2 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point;
[0014] S303: Calculate the time delay difference Δ between the measured time difference value T2 and the theoretical time difference value T1. T , that is, Δ T =T2-T1;
[0015] S304: Combine the time difference measurement value T2 with the corresponding time delay difference value Δ T Divided into training set and test set;
[0016] S305: Train the model using the training set. When the maximum number of repetitions is reached, the model training is successful.
[0017] S306: Test the trained model using the test set. During the test, if the error between the coordinates of the multiple stray current interference sources predicted by the model and the actual coordinates is less than the threshold, the model passes the test; otherwise, increase the number of training set samples or adjust the training parameters to retrain the model.
[0018] Preferably, step S400 includes:
[0019] S401: Transfer the time difference measurement value T m g is input to the trained stray current interference source localization model to obtain the corresponding time delay difference ΔT. m g;
[0020] S402: Based on delay difference ΔT m g corresponds to the time difference measurement value T mg is corrected to obtain the theoretical time difference T of the stray current signal released by the stray current interference source to be located arriving at each measuring point. smg ;
[0021] S403: Based on the theoretical value of time difference T smg The coordinates of the stray current interference source to be located are calculated based on the time difference positioning method, so as to realize the location of the stray current interference source to be located.
[0022] This disclosure also proposes a stray current interference source locator, comprising:
[0023] The acquisition module is used to acquire the time difference (T) of the stray current signal emitted by the stray current interference source to be located arriving at each measuring point. m g;
[0024] The model building module is used to build a stray current interference source localization model;
[0025] The model training module is used to train the stray current interference source localization model to obtain a trained stray current interference source localization model.
[0026] The positioning module is used to input the time difference measurement value Tg into the trained stray current interference source positioning model in order to locate the stray current interference source to be located.
[0027] Preferably, this disclosure also provides an electronic device, comprising:
[0028] Memory, processor, and computer programs stored in memory and executable on the processor, wherein,
[0029] When the processor executes the program, it implements the method described in any of the preceding methods.
[0030] Preferably, this disclosure also provides a computer storage medium storing computer-executable instructions for performing any of the methods described above.
[0031] Compared with the prior art, the beneficial effects of this disclosure are as follows: This disclosure can study and research the problem of stray current interference in underground electromagnetic environment, master the mathematical principles and models of underground stray current source location, the basic location iterative algorithm, analyze the correlation between current injection point and surface location point based on CDEGS software simulation, introduce optimization model to reduce error, and use the linear equidistant array method to effectively locate underground current source. Attached Figure Description
[0032] Figure 1 This is a flowchart of a stray current interference source localization method provided in this disclosure;
[0033] Figure 2 This is a geometric schematic diagram of the time difference method;
[0034] Figure 3 This is a map showing the location of impact points and observation points for stray currents on the ground.
[0035] Figure 4 This is a schematic diagram of the potential distribution between the pipe and the ground. Detailed Implementation
[0036] The following will refer to the appendix. Figures 1 to 4 Specific embodiments of this disclosure are described in detail. While specific embodiments of this disclosure are shown in the accompanying drawings, it should be understood that this disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of this disclosure to those skilled in the art.
[0037] It should be noted that certain terms are used in the specification and claims to refer to specific components. Those skilled in the art will understand that different terms may be used to refer to the same component. This specification and claims do not distinguish components based on differences in terminology, but rather on differences in function. The terms "comprising" or "including" used throughout the specification and claims are open-ended and should be interpreted as "comprising but not limited to." The following descriptions are preferred embodiments for carrying out this disclosure; however, these descriptions are for the purpose of understanding the general principles of the specification and are not intended to limit the scope of this disclosure. The scope of protection of this disclosure is determined by the appended claims.
[0038] To facilitate understanding of the embodiments of this disclosure, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. The accompanying drawings do not constitute a limitation on the embodiments of this disclosure.
[0039] In one embodiment, such as Figure 1 As shown, this disclosure provides a method for locating stray current interference sources, including the following steps:
[0040] S100: Measure the time difference Tg of the stray current signal released by the stray current interference source to be located arriving at each measuring point;
[0041] S200: Construct a model for locating stray current interference sources;
[0042] In this step, among various positioning methods, the time difference of arrival (TDOA) method, which has a relatively mature research and development, was selected and improved to achieve accurate and effective positioning of interference sources of various types and intensities. TDOA utilizes the geometric concept of a hyperbola, using the measurement point as the focus and the corresponding distance difference calculated from the time difference as the major axis to draw multiple different hyperbolas. The intersection of these hyperbolas indicates the location of the interference source. Figure 2 As shown.
[0043] The time difference can be obtained by subtracting the time measurements from each pair using a detection device. While this traditional method can reduce some time errors, it still requires the detection device to meet the requirement of accurate time synchronization. Therefore, machine learning technology can be introduced to optimize this key parameter, the time difference.
[0044] Due to time synchronization issues with detection sensors, especially in urban environments with complex electromagnetic conditions and long distances, calculating the coordinates of interference sources using time measurements directly impacts the accuracy of interference source localization. Therefore, this study considers introducing time difference optimization technology into the field of interference source localization, which is expected to significantly improve the effective localization accuracy for different types and intensities of interference sources.
[0045] Inaccurate clock synchronization, distribution of detection devices, and the influence of noisy environments can all lead to errors in time delay measurements. Time difference is a fundamental data requirement for positioning; a 1μs error can result in a positioning error of up to 300 meters. Therefore, reducing the impact of time delay measurement errors is crucial for improving positioning accuracy. Deep learning can fully learn the complex and diverse features of existing data, thereby correcting time delay measurement errors. Based on this advantage, modifications and adaptations tailored to the characteristics of stray current positioning can improve positioning accuracy.
[0046] S300: Train the stray current interference source localization model to obtain a trained stray current interference source localization model;
[0047] S400: Transfer the time difference measurement value T m The trained stray current interference source localization model is input into g to locate the stray current interference source to be located.
[0048] The above embodiments constitute the complete technical solution of this disclosure. This embodiment corrects the time difference measurements from the stray current interference source to each measuring point obtained by the detection sensor to obtain the theoretical time difference values from the stray current interference source to each measuring point. This reduces the positioning error caused by time synchronization issues of the detection sensor, thereby improving the positioning accuracy of the stray current interference source.
[0049] In another embodiment, step S300, training the stray current interference source localization model, includes the following steps:
[0050] S301: Calculate the theoretical time difference T1 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point;
[0051] S302: Obtain the time difference T2 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point;
[0052] S303: Calculate the time delay difference Δ between the measured time difference value T2 and the theoretical time difference value T1. T , that is, Δ T =T2-T1;
[0053] S304: Combine the time difference measurement value T2 with the corresponding time delay difference value Δ T Divided into training set and test set;
[0054] S305: Train the model using the training set. When the maximum number of repetitions is reached, the model training is successful.
[0055] S306: Test the trained model using the test set. During the test, if the positioning error between the coordinates of the multiple stray current interference sources predicted by the model and the actual coordinates is less than the threshold, the model passes the test; otherwise, increase the number of training set samples or adjust the training parameters to retrain the model.
[0056] In this embodiment, during model training, the threshold needs to be set based on the radius R around the interference source and the intensity of the interference source. Specifically, when the radius R around the interference source is less than or equal to 100m and the intensity of the interference source is greater than or equal to 100Ap, the positioning error threshold is set to 5m; when the radius R around the interference source is less than or equal to 1000m and the intensity of the interference source is greater than or equal to 1KAp, the positioning error threshold is set to 50m, as shown in Table 1.
[0057] Table 1
[0058] Radius R around the interference source Interference source strength Positioning error R≤100m ≥100Ap 5m R≤1000m ≥1kAp 50m
[0059] In another embodiment, step S400 includes:
[0060] S401: Transfer the time difference measurement value T m g is input to the trained stray current interference source localization model to obtain the corresponding time delay difference ΔT. m g;
[0061] In this step, because the model learns the correspondence between the time difference measurement and the time delay difference of stray currents generated by multiple stray current interference sources with known input coordinates arriving at each measurement point during the training process, when the stray current signal released by the stray current interference source to be located arrives at each measurement point, the time difference measurement T... m At time g, the model will output the time difference measurement T based on the learned correspondence between the time difference measurement and the time delay difference. m The time delay difference ΔT corresponding to g m g.
[0062] It should be noted that if the model fails to output the time difference measurement value T between the stray current signal released by the stray current interference source to be located and the arrival at each measuring point, m The time delay difference ΔT corresponding to g m g indicates that the model training is insufficient and the number of training samples needs to be increased, that is, to obtain more samples of time difference measurements and time delay difference values of stray current interference sources with known coordinates arriving at each measurement point.
[0063] S402: Based on delay difference ΔT m g corresponds to the time difference measurement value T m g is corrected to obtain the theoretical time difference T of the stray current signal released by the stray current interference source to be located arriving at each measuring point. smg ;
[0064] In this step, the theoretical time difference value T smg Represented as:
[0065] T s mg = T m g+ΔT m g.
[0066] S403: Based on the theoretical value of time difference T smg The coordinates of the stray current interference source to be located are calculated based on the time difference positioning method, so as to realize the location of the stray current interference source to be located.
[0067] In this step, based on optimizing the time difference, a key positioning parameter, the following were determined: Figure 3 The figure shows the observation model for geometric positioning. When studying the positioning principle of underground stray currents, the method used is the linear array method. Specifically, taking five probes as an example, the five probes are arranged at observation points 1, 2, 3, 4 and 5 respectively, and the horizontal distance between each probe is 500m, forming a linear array, which can locate the impact source on the ground. Define xy as the metaplane, and take the intersection of the coordinate axes as the origin of the coordinate system. Then, we can assume that the coordinates of the interference source S are (x, y, z).
[0068] Let v be the propagation speed of the ground potential signal generated by the underground stray current. If we take the time when the interference source S arrives at observation point 1 as the reference, i.e., let this time be t1, then we can define the time delay between the arrival time of the interference source S at observation points 2 to 5 and the arrival time at the reference point as Δt2~Δt5. Based on the mathematical and geometric logical relationship between distance and velocity, the following formula combination is listed:
[0069]
[0070]
[0071]
[0072]
[0073]
[0074] Solving equations (2-1) to (2-5) simultaneously, we obtain the formula for calculating t1:
[0075]
[0076] The distance from the current injection point to observation point 1 at the center of the linear array is R1 = vt1. Substituting t1 into equations (2-1) to (2-5), we get:
[0077]
[0078]
[0079]
[0080] Equations (2-7) to (2-9) constitute the stray current interference source localization model constructed in this disclosure. Furthermore, the above calculation process can be implemented using the following code:
[0081] syms xyz;
[0082] a = 100;
[0083] v = 2.98 * 10^8 / sqrt(15);
[0084] det_t5 = 0.8e-06;
[0085] det_t4 = 1.33e-06;
[0086] t1 = 3.18e-06;
[0087] eq1_2=x-((v*det_t5^2-a^2+2*v^2*t1*det_t5) / (2*a));
[0088] eq2_2=y-((v*det_t4^2-a^2+2*v^2*t 1*det_t4) / (2*a));
[0089] eq3=z+sqrt(v^2*t1^2-x^2-y^2);
[0090] A=solve(eq1_2,eq2_2,eq3,x,y,z);
[0091] disp(double([Ax,Ay,Az]));
[0092] According to equations (2-7) to (2-9), under permissible experimental conditions, correcting the time difference measurements at the measuring points to obtain the theoretical time difference value can reduce the time delay measurement error and make the location of the measuring points more accurate. The advantages of the linear array used in the study of underground stray current location are: simple setup of observation points in the experimental array, relatively stable system during the experiment, and convenient experimental calculations.
[0093] The following section uses a typical interference source simulation as an example to illustrate the localization method described herein.
[0094] In this specific embodiment, the set surge current parameters are shown in Table 2.
[0095] Table 2 Parameters of Simulated Underground Stray Sources
[0096] Duration 150μs Maximum amplitude 1kA, 10kA, 100kA Ascent Time 8μs Wave tail time 20μs
[0097] The established observation point model is as follows Figure 3 As shown, the distances to the surface interference sources were simulated at different interference intensities (amplitudes) of 1m, 10m, and 100m. The horizontal spacing between each observation point was 500m, forming a linear array along the pipeline.
[0098] Since the speed at which electromagnetic waves propagate through the earth is related to the dielectric constant of the soil, research shows that the relative dielectric constant of soil is between 4 and 30. The relative dielectric constant used in this simulation is 15. The soil characteristics are shown in Table 3.
[0099] Table 3 Soil Properties
[0100] Layering Resistivity (Ω·m) Relative permeability μ.u. Relative permittivity μ.u. Air 1E+18 1.0 1.0 Earth 18 1.0 15
[0101] Among them, the simulation results for 10kA intensity are obtained from five observation points (i.e. Figure 4 The time-domain waveforms of the potential at measuring points 1 to 5 shown are as follows: Figure 4 As shown.
[0102] according to Figure 4 The waveform diagram shown is used to export data, which is then imported into the model to optimize and correct the time difference. Finally, by using equations (2-6) to (2-9) in the linear equidistant array method, the accurate location of stray current sources on the ground surface can be achieved.
[0103] In another embodiment, this disclosure also provides a stray current interference source locating device, comprising:
[0104] The acquisition module is used to acquire the time difference (T) of the stray current signal emitted by the stray current interference source to be located arriving at each measuring point. m g;
[0105] The model building module is used to build a stray current interference source localization model;
[0106] The model training module is used to train the stray current interference source localization model to obtain a trained stray current interference source localization model.
[0107] The positioning module is used to transfer the time difference measurement value T m The trained stray current interference source localization model is input into g to locate the stray current interference source to be located.
[0108] In another embodiment, this disclosure also provides an electronic device, including:
[0109] Memory, processor, and computer programs stored in memory and executable on the processor, wherein,
[0110] When the processor executes the program, it implements the method described in any of the preceding methods.
[0111] In another embodiment, this disclosure also provides a computer storage medium storing computer-executable instructions for performing any of the methods described above.
[0112] Although embodiments of the present invention have been described above in conjunction with the accompanying drawings, the present invention is not limited to the specific embodiments and application fields described above. The specific embodiments described above are merely illustrative and instructive, and not restrictive. Those skilled in the art can make many other forms based on the guidance of this specification and without departing from the scope of protection of the claims of the present invention, and all of these are within the scope of protection of the present invention.
Claims
1. A method for locating stray current interference sources, comprising the following steps: S100: Acquire the time difference measurement value of the stray current signal released by the stray current interference source to be located arriving at each measuring point. ; S200: Construct a model for locating stray current interference sources; S300: Train the stray current interference source localization model to obtain a trained stray current interference source localization model; S400: Transfer the time difference measurement value Input the trained stray current interference source localization model to locate the stray current interference source to be located; in, In step S300, training the stray current interference source localization model includes the following steps: S301: Calculate the theoretical time difference T1 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point; S302: Obtain the time difference T2 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point; S303: Calculate the time delay difference between the measured time difference value T2 and the theoretical time difference value T1. , =T2-T1; S304: Combine the time difference measurement value T2 with the corresponding time delay difference value. Divided into training set and test set; S305: Train the model using the training set. When the maximum number of repetitions is reached, the model training is successful. S306: Test the trained model using the test set. During the test, if the error between the coordinates of the multiple stray current interference sources predicted by the model and the actual coordinates is less than the threshold, the model passes the test. Otherwise, increase the number of training set samples or adjust the training parameters to retrain the model; Step S400 includes: S401: Transfer the time difference measurement value Input the trained stray current interference source localization model to obtain the corresponding time delay difference. ; S402: Based on delay difference Time difference measurement Correction is performed to obtain the theoretical time difference T between the arrival of the stray current signal released by the stray current interference source to each measuring point. smg ; S403: Based on the theoretical value of time difference T smg The coordinates of the stray current interference source to be located are calculated based on the time difference positioning method, so as to realize the location of the stray current interference source to be located.
2. A stray current interference source locating device, comprising: The acquisition module is used to acquire the time difference measurement values of the stray current signal emitted by the stray current interference source to be located arriving at each measurement point. ; The model building module is used to build a stray current interference source localization model; The model training module is used to train the stray current interference source localization model to obtain a trained stray current interference source localization model. The positioning module is used to transfer the time difference measurement value. Input the trained stray current interference source localization model to locate the stray current interference source to be located; The model training module specifically includes the following modules: This module is used to calculate the theoretical time difference T1 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point. A module for obtaining the time difference T2 of stray currents generated by multiple stray current interference sources at known coordinates arriving at each measuring point; Used to calculate the time delay difference between the measured time difference value T2 and the theoretical time difference value T1. , =Module T2-T1; Used to convert the time difference measurement value T2 and the corresponding time delay difference value The module is divided into training and testing sets; This module is used to train the model using the training set, and the model passes the training when the maximum number of iterations is reached. This module is used to test the trained model using a test set. During the test, if the error between the coordinates of the multiple stray current interference sources predicted by the model and the actual coordinates is less than a threshold, the model passes the test; otherwise, the number of training set samples is increased or the training parameters are adjusted to retrain the model. The positioning module specifically includes the following modules: Used to measure the time difference value Input the trained stray current interference source localization model to obtain the corresponding time delay difference. The module; Used for time delay difference Time difference measurement Correction is performed to obtain the theoretical time difference T between the arrival of the stray current signal released by the stray current interference source to each measuring point. smg The module; Used based on the theoretical value T of time difference smg The module calculates the coordinates of the stray current interference source to be located based on the time difference positioning method, so as to realize the positioning of the stray current interference source to be located.
3. An electronic device, comprising: Memory, processor, and computer programs stored in memory and executable on the processor, wherein, When the processor executes the program, it implements the method of claim 1.
4. A computer storage medium storing computer-executable instructions for performing the method of claim 1.
Citation Information
Patent Citations
Satellite signal positioning and error correction method and system, positioning terminal and program
CN114114353A
Positioning method of underground stray current source
CN115436734A