A line parameter tester and a testing method thereof

By synthesizing dual-band excitation signals through spectrum analysis and pseudo-random orthogonal code sequence modulation, and combining dual-frequency synchronous noise reduction and sparse Bayesian algorithm, the problem of signal separation difficulty in line parameter testing is solved, and high-accuracy and reliable parameter solving is achieved in complex environments.

CN123136282APending Publication Date: 2026-11-20WUHAN WUGAO HUANENG ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611367646.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing line parameter testing, the overlap of power frequency test signals with background signal frequencies makes signal separation difficult, affecting test accuracy. This is especially true in complex electromagnetic environments and under weak signal conditions, where it is difficult to obtain accurate line parameters.

Method used

A dual-band excitation signal was synthesized by spectrum analysis and pseudo-random orthogonal code sequence modulation. The line parameter observation equations were constructed by dual-frequency synchronous noise reduction, sparse Bayesian algorithm and earth return model. The equations were iteratively solved and the consistency was verified. Outliers were removed to obtain the dynamic equivalent parameters of the line.

Benefits of technology

It improves the accuracy and reliability of line parameter testing in complex electromagnetic environments and long-term dynamic operation, reduces the impact of noise interference on parameter estimation, and ensures the stability and continuity of parameter results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136282A_ABST
    Figure CN123136282A_ABST
Patent Text Reader

Abstract

The application discloses a line parameter tester and a testing method thereof, and relates to the field of power testing. The method comprises the following steps: performing frequency spectrum analysis sampling to obtain line frequency spectrum information; modulating and synthesizing a double-frequency band excitation signal; injecting the double-frequency band excitation signal into a target power transmission line, collecting line double-end electrical signals, and completing double-frequency synchronous noise reduction of the line double-end electrical signals to obtain a target double-frequency response signal and calculate double-end signal phasors; constructing a line parameter observation equation set, iteratively solving the line parameter observation equation set, and obtaining line double-frequency electrical parameters; completing double-frequency consistency verification of the line double-frequency electrical parameters, completing wild value elimination of the line double-frequency electrical parameters, and obtaining line dynamic equivalent parameters. The application can effectively improve the accuracy of line parameter test results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power testing, and more particularly to a line parameter tester and its testing method. Background Technology

[0002] As a crucial infrastructure for power transmission, the accurate acquisition of the operating status and electrical parameters of transmission lines is of great significance for line design, operation and maintenance, fault analysis, and the safe and stable operation of the power grid. Therefore, it is necessary to use line parameter testing equipment to accurately measure actual lines in order to obtain line parameters that conform to their actual operating conditions.

[0003] Current line parameter testing typically employs power frequency injection, which involves applying a predetermined power frequency test signal to the transmission line under test and acquiring the voltage and current responses at both ends of the line. Line parameters are then calculated based on the acquired electrical response information. However, actual power frequency background signals exist in real-world lines and are affected by load changes, power flow fluctuations, and harmonic interference, causing fluctuations in the background electrical signal. When the power frequency test signal and the background signal frequency overlap, the testing equipment struggles to accurately separate the test signal from the background signal, leading to deviations in amplitude and phase information, thus affecting the accuracy of the line parameter test. Summary of the Invention

[0004] This application provides a line parameter tester and its testing method to improve the accuracy of line parameter test results.

[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions: Firstly, a method for testing line parameters is provided, the method comprising: Spectrum analysis sampling is performed on the target transmission line to obtain the line spectrum information of the target transmission line; The frequency points of the dual-frequency signal are determined based on the line spectrum information, and the dual-frequency signal frequency points are combined with the pre-generated pseudo-random orthogonal code sequence to synthesize the dual-band excitation signal. A dual-band excitation signal is injected into the target transmission line, and the electrical signals at both ends of the target transmission line are simultaneously acquired by a line parameter tester pre-set on the target transmission line. Dual-frequency synchronous noise reduction of electrical signals at both ends of the line is completed based on pseudo-random orthogonal code sequences to obtain the target dual-frequency response signal, and the dual-end signal phasors of the target transmission line are calculated based on the target dual-frequency response signal. The line parameter observation equations of the target transmission line are constructed based on the dual-end signal phasors, and the line parameter observation equations are iteratively solved using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line. Based on the pre-constructed ground return model, the dual-frequency electrical parameters of the line are verified for consistency. Based on the dual-frequency consistency verification results, outliers of the dual-frequency electrical parameters of the line are eliminated to obtain the dynamic equivalent parameters of the target transmission line.

[0006] Optionally, the dual-frequency synchronous noise reduction of the electrical signals at both ends of the line is performed based on pseudo-random orthogonal code sequences to obtain the target dual-frequency response signal. The calculation of the dual-end signal phasors of the target transmission line based on the target dual-frequency response signal includes the following steps: Based on the injection time of the pre-acquired dual-band excitation signal, the electrical signals at both ends of the line are divided into the response signal at both ends of the line and the background signal at both ends of the line. The sliding cross-correlation analysis of the two-terminal response signal of the line was performed based on the pseudo-random orthogonal code sequence, and the dual-frequency response component was separated from the two-terminal response signal of the line based on the sliding cross-correlation analysis results. The adaptive notch filter is used to perform adaptive notch filtering of the dual-frequency response components to obtain the dual-frequency response signal. The dual-frequency response signal is sinusoidally fitted using the least squares method to obtain the dual-frequency response sine wave, and the dual-frequency response residual sequence is calculated by combining the dual-frequency response sine wave and the dual-frequency response signal. A noise linear prediction model is constructed based on the dual-frequency response residual sequence, and the noise linear prediction model is used to predict and cancel the interference of the dual-frequency response signal to obtain the target dual-frequency response signal. The full-phase phasor analysis of the target dual-frequency response signal is completed using the linear frequency modulated Z-transform algorithm, and the dual-frequency complex phasor of the target dual-frequency response signal is obtained. The dual-frequency complex phasor includes the first-end dual-frequency phasor and the second-end dual-frequency phasor. The signal envelope information of the target dual-frequency response signal is extracted, and the dual-frequency complex phasors are compensated by combining the signal envelope information and the background signal at both ends of the line to obtain the dual-end signal phasors.

[0007] Optionally, the full-phase phasor analysis of the target dual-frequency response signal is performed using the linear frequency modulated Z-transform algorithm. The process of obtaining the dual-frequency complex phasors of the target dual-frequency response signal includes the following steps: The target dual-frequency response signal is segmented using a preset time window to obtain multiple dual-frequency response signal segments. These multiple dual-frequency response signal segments are then cyclically shifted and superimposed to obtain a full-phase dual-frequency signal sequence. A full-phase window function is applied to the full-phase dual-frequency signal sequence, and a fast Fourier transform is performed on the full-phase dual-frequency signal to obtain the dual-frequency spectrum information; Determine the initial phase and initial frequency of the dual-frequency signal based on the dual-frequency spectrum information; A local frequency search interval is constructed with the initial frequency as the center; The linear frequency modulated Z-transform algorithm is used to perform non-uniform frequency sampling on the full-phase dual-frequency signal sequence within the local frequency search interval to obtain the spectral response sequence. The position of the sequence peak of the spectral response sequence is determined by the three-point parabolic interpolation algorithm, and the dual-frequency complex phasor of the target dual-frequency response signal is calculated based on the position of the sequence peak.

[0008] Optionally, the signal envelope information of the target dual-frequency response signal is extracted, and phasor compensation is performed on the dual-frequency complex phasors in combination with the signal envelope information and the background signal at both ends of the line to obtain the dual-end signal phasors, including the following steps: By performing Hilbert transform on the target dual-frequency response signal, the double-ended envelope sequence of the target dual-frequency response signal is extracted, wherein the double-ended envelope sequence includes a first-ended envelope sequence and a second-ended envelope sequence. Cross-correlation analysis between the two-ended envelope sequences was performed by translating the second-ended envelope sequence point by point, and the sampling time offset between the two-ended envelope sequences was calculated based on the cross-correlation analysis results. Based on the sampling time offset, the phasor correction of the second-end dual-frequency phasor is completed to obtain the second-end reference phasor; The injected differential voltage and injected differential current of the target transmission line are calculated based on the background signals at both ends of the line, and the equivalent admittance on the bus side is calculated in combination with the injected differential voltage and injected differential current. Based on the equivalent admittance on the bus side, the current shunting compensation of the first-end dual-frequency current phasor in the first-end dual-frequency phasor is completed to obtain the first-end reference phasor. By integrating the second-end reference phasor and the first-end reference phasor, the two-end signal phasors of the target transmission line are obtained.

[0009] Optionally, the following steps are taken to construct a set of line parameter observation equations for the target transmission line based on the dual-ended signal phasors, and then iteratively solve the set of line parameter observation equations using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line: The fixed parameters of the target transmission line are retrieved from the preset power system database. These fixed parameters include line geometric parameters, line material parameters, and line physical constants. A set of line parameter observation equations was constructed by combining fixed line parameters and two-terminal signal phasors. The two-ended signal phasors are used as line observation data, and the line parameter observation equations are materialized and then used as line observation functions. The constraints of the transmission line are determined based on the fixed parameters of the target transmission line, and then mapped to the feasible region of the line parameters based on the fixed parameters. The initial stage parameters of the line observation function are estimated based on the two-terminal signal phasors to obtain the estimated values ​​of the line parameters; The sparse Bayesian algorithm is used to iteratively optimize the line parameter estimates and obtain the dual-frequency electrical parameters of the line.

[0010] Optionally, constructing a set of line parameter observation equations by combining fixed line parameters and two-terminal signal phasors includes the following steps: The phasor distribution transmission relationship of the target transmission line is determined based on the phasors of the two-ended signals and using the multi-conductor transmission line theory. Initialize the line equivalent parameter set based on the fixed line parameters; By combining the equivalent parameter set of the line and the fixed parameters of the line, skin effect correction terms and ground return flow correction terms are constructed. A series impedance matrix is ​​constructed by superimposing skin effect correction terms, ground return current correction terms, and lumped DC resistance parameters of the line equivalent parameters. Based on the line geometric parameters and using the mirror method, the potential coefficient matrix is ​​constructed, and the unit capacitance matrix is ​​constructed by inverting the potential coefficient matrix. A parallel admittance matrix is ​​constructed by combining the unit capacitance matrix and the physical constants of the line; The propagation constant matrix and characteristic impedance matrix are calculated by combining the series impedance matrix and the parallel admittance matrix; The parallel admittance matrix, characteristic impedance matrix, and two-terminal signal phasors are substituted into the hyperbolic function matrix to construct the line parameter observation equation set.

[0011] Optionally, the sparse Bayesian algorithm is used to iteratively optimize the line parameter estimates to obtain the dual-frequency electrical parameters of the line, including the following steps: The estimated line parameters are transformed into the phase domain parameter space and used as the initial line parameters. Using the initial line parameters as a baseline, sparse parameter variables are constructed, and an automatic correlation determination machine is used to construct a hierarchical probability prior model for the sparse parameter variables. The posterior probability of observations for dual-frequency observation data is calculated by combining the hierarchical probability prior model and the line observation function. The posterior probability of the observation is mapped to the feasible region of the line parameters to complete the constraint verification. Based on the constraint verification results, the initial line parameters are updated using the expectation maximization iterative strategy until the updated initial line parameters reach the preset parameter convergence condition, and the dual-frequency electrical parameters of the line are output.

[0012] Optionally, the dual-frequency consistency verification of the line's dual-frequency electrical parameters is performed based on a pre-built ground return current model, and outliers in the line's dual-frequency electrical parameters are eliminated based on the dual-frequency consistency verification results to obtain the dynamic equivalent parameters of the target transmission line, including the following steps: Based on the dual-frequency electrical parameters of the line, high-frequency parameter vectors and low-frequency parameter vectors are constructed. High-frequency theoretical parameters are calculated by combining a pre-constructed earth return flow model, line geometric parameters, and low-frequency parameter vectors. The difference between the high-frequency parameter vectors is calculated based on the high-frequency theoretical parameters to obtain the parameter difference index. A sinusoidal response model is constructed by substituting the dual-frequency electrical parameters of the line into the line parameter observation equation set, and the model predicts the response signal by outputting the sinusoidal response model. The predicted response signal domain of the model is subtracted from the target dual-frequency response signal point by point to obtain the predicted residual sequence; The predicted residual sequence is segmented by a sliding window to construct the time-series trajectory matrix corresponding to the predicted residual sequence; Singular value decomposition is performed on the time-series trajectory matrix, and the singular spectral entropy value of the predicted residual sequence is calculated based on the singular value decomposition results; Nonlinear fusion of parameter difference index and singular spectrum entropy value yields outlier evaluation index; The outlier evaluation index is used to eliminate outliers in the dual-frequency electrical parameters of the line, thereby obtaining the dynamic equivalent parameters of the target transmission line.

[0013] Secondly, this application provides a line parameter tester, comprising: The memory is configured to store instructions; and The processor is configured to retrieve the instructions from the memory and, when executing the instructions, to implement the line parameter testing method described in the first aspect.

[0014] Thirdly, this application provides a machine-readable storage medium storing instructions that cause a machine to perform a line parameter testing method as described in the first aspect.

[0015] By acquiring line spectrum information before any signal is injected, the above technical solution provides a basis for frequency selection for subsequent low-amplitude heterogeneous frequency signal injection, reducing signal overload, spectral leakage, and parameter identification errors caused by unreasonable frequency selection. The dual-frequency signal frequency points are determined based on the line spectrum information, and a dual-band excitation signal is synthesized by combining pseudo-random orthogonal code sequence modulation. This introduces a dual-frequency excitation mechanism with frequency differences and coding characteristics on top of traditional single-frequency testing. On the one hand, the dual-frequency signal can excite different frequency-sensitive response characteristics of the line at different frequencies, allowing subsequent inversion of the line's internal physical parameters using the differences in resistance and reactance with frequency. On the other hand, the pseudo-random orthogonal code sequence gives the excitation signal good correlation characteristics, which can enhance the target signal and suppress uncorrelated noise at the receiving end through correlation demodulation, providing a stable data foundation for subsequent high-precision parameter identification. Dual-frequency synchronous noise reduction of the electrical signals at both ends of the line ensures that the signal entering the phasor calculation is sufficiently clean, reducing the uncertainty caused by noise in parameter estimation. The time-domain sampled signal is converted into a complex form containing amplitude and phase information through dual-ended signal phasor calculation, allowing subsequent parameter solutions to directly utilize physical relationships such as line impedance, reactance, and susceptance. The construction and iterative solution of the line parameter observation equations convert the dual-frequency response signal into physically meaningful dual-frequency electrical parameters of the line. Subsequent dual-frequency consistency verification and outlier removal steps further eliminate data that does not conform to the physical laws of the line due to sudden interference, measurement anomalies, or transient disturbances, thereby improving the accuracy and long-term stability of the final line parameter output. Finally, the frequency-sensitive response differences of the line's dynamic equivalent parameters are analyzed, and a continuous mapping of the line's dynamic equivalent parameters is completed based on the analysis results. This addresses the problem that traditional line parameter testing can only obtain parameters at limited test frequencies and cannot describe the continuously changing characteristics of the line. In summary, this application can effectively improve the accuracy and reliability of line parameter testing in complex electromagnetic environments, weak signal conditions, and long-term dynamic operating states.

[0016] Other features and advantages of the embodiments of this application will be described in detail in the following detailed description section. Attached Figure Description

[0017] Figure 1 A flowchart illustrating a line parameter testing method provided in an embodiment of this application; Figure 2 A flowchart illustrating a two-terminal signal phasor calculation method provided in an embodiment of this application; Figure 3 This is a schematic flowchart of an iterative solution method for dual-frequency electrical parameters of a line provided in an embodiment of this application. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for illustration and explanation of the embodiments of this application and are not intended to limit the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0019] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0020] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0021] Figure 1 The illustration shows a schematic flowchart of a line parameter testing method according to an embodiment of this application. Figure 1 As shown in the figure, this application provides a method for testing line parameters, which may include the following steps: S101. Perform spectrum analysis sampling on the target transmission line to obtain the line spectrum information of the target transmission line.

[0022] In this embodiment, before any injection signal is applied, the line parameter tester performs silent sampling of the target transmission line for a period of time using voltage and current transformers. The sampling duration is typically 2 to 5 seconds, and the sampling rate is no less than 20,000 Hz. The collected discrete sampling sequence is segmented and windowed using a Hanning window function. Each segment has 2048 points, and the overlap rate between adjacent segments is 50%. A fast Fourier transform is performed on each segment of data to calculate the power spectral density at each frequency point. The power spectral densities of multiple segments are then averaged to obtain the line spectrum information of the target transmission line. The line spectrum information, with frequency as the horizontal axis and power spectral density as the vertical axis, fully reflects the distribution of the current power frequency fundamental wave, harmonics, interharmonics, and background electromagnetic interference of the line. This line spectrum information provides a basis for the selection of subsequent dual-frequency signal frequencies.

[0023] S102. Determine the frequency points of the dual-frequency signal based on the line spectrum information, and combine the frequency points of the dual-frequency signal with the pre-generated pseudo-random orthogonal code sequence to synthesize the dual-band excitation signal.

[0024] In this embodiment, the specific steps include: The frequency distribution characteristics of the target transmission line are analyzed based on the line spectrum information, and the frequency avoidance zone is divided according to the frequency distribution characteristics. Multiple candidate dual-frequency signal points are adaptively selected based on the frequency avoidance interval; Calculate the frequency spectral energy density of all candidate dual-frequency signal points based on the line spectrum information; Calculate the frequency interval of all candidate dual-frequency signal points, and select the dual-frequency signal points from all candidate dual-frequency signal points by combining the frequency interval and the frequency point spectral energy density; The frequency points of the dual-frequency signal are mapped to the pre-generated pseudo-random orthogonal code sequence in a dual-path mapping process to obtain the initial orthogonal modulation code sequence. The initial modulation signal corresponding to the frequency point of the dual-frequency signal is constructed based on the initial orthogonal modulation code sequence, and the peak energy distribution characteristics of the initial modulation signal are calculated. Phase optimization of the initial orthogonal modulation code sequence is performed based on the peak energy distribution characteristics to obtain a dual-path orthogonal modulation code sequence; A dual-frequency carrier signal is generated based on the frequency points of the dual-frequency signal, and the dual-frequency carrier signal is modulated using a dual-channel orthogonal modulation code sequence to obtain a dual-channel frequency band modulated signal. Based on the channel frequency response characteristics of the pre-acquired line parameter tester, the amplitude and phase consistency of the dual-band modulation signal is corrected to obtain the dual-band excitation signal.

[0025] Specifically, spectral energy analysis is performed on the line spectrum information to extract the spectral amplitude, spectral energy, and frequency variation trend of the target transmission line at different frequency positions within the test frequency band, thereby obtaining the frequency distribution characteristics of the target transmission line. Based on these frequency distribution characteristics, the fundamental frequency, harmonic frequency, and high-energy narrowband interference frequency positions are identified. A frequency avoidance interval is constructed centered on the identified interference frequency positions to ensure that subsequent dual-frequency signal points avoid high-interference frequency bands. Signal frequencies within the frequency avoidance interval are excluded, and the remaining signal frequencies are analyzed. Multiple candidate dual-frequency signal frequencies meeting preset screening requirements are selected sequentially according to a preset frequency search interval (which can be set to 1 Hz). The preset screening requirements include: low-frequency candidate points located in the 80–120 Hz range, and high-frequency candidate points located in the 500–2000 Hz range; the spectral energy density of each candidate point does not exceed 1.5 times the average value of its low-interference region. The low-interference region refers to the area outside the frequency avoidance interval. The qualified low-frequency and high-frequency candidate points are paired to form a set of candidate dual-frequency signal frequencies.

[0026] The spectral energy within the frequency window corresponding to each candidate dual-frequency signal frequency point is obtained based on the line spectrum information. This spectral energy is then normalized to obtain the frequency point spectral energy density for each candidate dual-frequency signal frequency point. The frequency point spectral energy density characterizes the noise occupancy of the target transmission line at the corresponding frequency location. For each pair of candidate dual-frequency signal frequency points, the absolute value of the difference between the high-frequency candidate point frequency value and the low-frequency candidate point frequency value is calculated as the frequency interval for that candidate dual-frequency signal frequency point. A comprehensive evaluation index for dual-frequency frequency points is constructed, which is jointly determined by the comprehensive value of the frequency point spectral energy density and the frequency interval. The smaller the comprehensive value of the frequency point spectral energy density and the larger the frequency interval, the better the comprehensive evaluation index. All candidate dual-frequency signal frequency points are sorted according to the comprehensive evaluation index, and the pair with the best sorting result is selected as the final dual-frequency signal frequency points, denoted as the low-frequency injection frequency and the high-frequency injection frequency, respectively.

[0027] The low-frequency injection frequency is mapped to the low-frequency modulation channel, and the high-frequency injection frequency is mapped to the high-frequency modulation channel. From the pseudo-random orthogonal code sequences pre-generated by the line parameter tester, a pair of sequences with near-zero cross-correlation values ​​and sharp single-peak autocorrelation functions are selected and assigned to the low-frequency and high-frequency modulation channels, respectively. The pre-generated pseudo-random orthogonal code sequences use the maximum length sequence, with a sequence length of 1023 chips, and a 10th-order primitive polynomial is used as the generator polynomial. The low-frequency modulation channel is assigned the low-frequency pseudo-random orthogonal code sequence, and the high-frequency modulation channel is assigned the high-frequency pseudo-random orthogonal code sequence. After mapping, an initial orthogonal modulation code sequence containing both orthogonal code sequences is obtained.

[0028] The low-frequency injected frequency carrier is modulated using a low-frequency pseudo-random orthogonal code sequence from the initial orthogonal modulation code sequence, and the high-frequency injected frequency carrier is modulated using a high-frequency pseudo-random orthogonal code sequence. The modulated low-frequency and high-frequency signal components are then added in the digital domain to obtain the initial modulated signal. Over the entire time period of the initial modulated signal, the square of the instantaneous amplitude is calculated for each sampling point to find the maximum instantaneous power among all sampling points. Simultaneously, the average instantaneous power over the entire time period is calculated. Dividing the maximum instantaneous power by the average instantaneous power yields the peak energy distribution characteristic of the initial modulated signal. A larger peak energy distribution characteristic value indicates a more prominent instantaneous peak in the signal, which is more likely to cause nonlinear distortion in the subsequent power amplification module.

[0029] Using a preset phase search step size, all combinations of the initial phases of the low-frequency pseudo-random orthogonal code sequence and the high-frequency pseudo-random orthogonal code sequence are traversed within a range of 0 to 360 degrees. The phase search step size can be 5 degrees. For each phase combination, the initial modulation signal is regenerated according to the aforementioned method, and its peak energy distribution characteristics are calculated. After the traversal is completed, the phase combination with the smallest peak energy distribution characteristic value is selected as the optimal phase configuration. This optimal phase is then assigned to both the low-frequency pseudo-random orthogonal code sequence and the high-frequency pseudo-random orthogonal code sequence, replacing the original initial phases, to obtain the dual-path orthogonal modulation code sequence.

[0030] In the digital signal processing unit of the line parameter tester, a direct digital frequency synthesizer is used to generate standard sine waves with frequencies equal to the low-frequency injection frequency and the high-frequency injection frequency, respectively, using the system sampling clock as a reference. These serve as the low-frequency carrier signal and the high-frequency carrier signal. A binary phase-keying modulation method is employed, using the low-frequency pseudo-random orthogonal code sequence in the dual-channel orthogonal modulation code sequence to modulate the phase of the low-frequency carrier signal. When the chip value is positive one, the carrier phase remains unchanged; when the chip value is negative one, the carrier phase flips by 180 degrees. Similarly, the high-frequency pseudo-random orthogonal code sequence is used to modulate the phase of the high-frequency carrier signal. After modulation, the low-frequency modulated signal and the high-frequency modulated signal are obtained, collectively referred to as the dual-band modulated signal.

[0031] The channel frequency response characteristics of the line parameter tester are pre-acquired through frequency sweep measurements during factory calibration or on-site calibration. The frequency sweep measurement starts at the output of the digital signal generation module and ends at the output of the coupling device, covering the entire signal link. It measures the amplitude attenuation and phase delay of the signal at different frequencies, forming amplitude-frequency characteristic data and phase-frequency characteristic data. When correcting the amplitude-phase consistency of the dual-band modulated signal, amplitude pre-compensation is performed on the low-frequency and high-frequency modulated signals respectively, based on the amplitude attenuation corresponding to the low-frequency and high-frequency injection frequencies in the amplitude-frequency characteristic data. The gain value of the pre-compensation is the reciprocal of the attenuation. Simultaneously, phase pre-compensation is performed on the low-frequency and high-frequency modulated signals respectively, based on the phase delay corresponding to the low-frequency and high-frequency injection frequencies in the phase-frequency characteristic data. The direction of the pre-compensation is opposite to the direction of the delay and the magnitude is equal. After completing the amplitude and phase pre-compensation, the two signals are superimposed to obtain the dual-band excitation signal. After the corrected dual-band excitation signal passes through the injection link of the line parameter tester, it can accurately recover the preset frequency relationship, amplitude relationship and phase relationship at the output of the coupling device.

[0032] The above steps improve the separability between the injected signal and the line response signal, reducing the impact of background noise, power frequency harmonics, and random disturbances on the measurement results. Simultaneously, the dual-frequency excitation method can utilize the variation characteristics of line impedance and admittance parameters at different frequencies, providing richer observational information for subsequent dual-frequency electrical parameter calculations and improving the accuracy of line parameter identification.

[0033] S103. Inject the dual-band excitation signal into the target transmission line, and simultaneously collect the electrical signals at both ends of the target transmission line through a line parameter tester pre-set on the target transmission line.

[0034] In this embodiment, the dual-band excitation signal is injected into the target transmission line in the form of current through the power amplification module and coupling device of the line parameter tester. The total effective value of the injected current is controlled in the milliampere range to ensure that the injected signal does not affect the normal operation of the line. Simultaneously with the signal injection, the line parameter tester synchronously acquires voltage and current signals at both the first and second ends. After signal conditioning and analog-to-digital conversion, the electrical signals at both ends of the line are obtained. This synchronous acquisition method avoids the problem of single-end measurement failing to distinguish between line propagation loss and end effects. By combining the response information at both ends of the line, the distributed parameter characteristics of the line can be accurately reflected, reducing systematic errors in the measurement process and improving the identifiability of parameters such as resistance, inductance, and capacitance during line parameter calculation.

[0035] S104. Based on the pseudo-random orthogonal code sequence, perform dual-frequency synchronous noise reduction of the electrical signals at both ends of the line to obtain the target dual-frequency response signal, and calculate the dual-end signal phasor of the target transmission line based on the target dual-frequency response signal.

[0036] In this embodiment, the same local pseudo-random orthogonal code sequence as the injection end is used to perform dual-frequency synchronous noise reduction processing on the electrical signals at both ends of the line, including matched despreading, adaptive notch filtering, residual noise modeling, and interference prediction cancellation, to obtain the target dual-frequency response signal. Based on this, the dual-end signal phasors of the target transmission line are calculated using super-resolution phasor extraction methods such as full-phase preprocessing, fast Fourier transform, linear frequency-modulated Z-transform, and three-point parabolic interpolation. This step effectively suppresses random noise, harmonic interference, and noise from the acquisition equipment in the line operating environment, improving the purity of the dual-frequency response signal. Simultaneously, phasor calculation converts the time-domain sampled signal into frequency-domain feature quantities containing amplitude and phase information, enabling subsequent line parameter observation equations to be solved based on high-precision electrical characteristics, reducing parameter estimation bias caused by noise.

[0037] S105. Construct the line parameter observation equation set of the target transmission line based on the dual-end signal phasors, and use the sparse Bayesian algorithm to iteratively solve the line parameter observation equation set to obtain the dual-frequency electrical parameters of the line.

[0038] In this embodiment, using the dual-ended signal phasors and fixed line parameters retrieved from the power system database, a distributed parameter hyperbolic function matrix equation incorporating Carson frequency sensitivity and skin effect is established, forming the line parameter observation equation set. A two-stage solution strategy is adopted: first, the initial line parameters are rapidly estimated using the symmetric component method; then, a sparse Bayesian algorithm is used for fine iterative optimization under physical feasible region constraints, ultimately outputting the dual-frequency electrical parameters of the line. By combining dual-ended measurement data and physical constraints for parameter inversion, the obtained dual-frequency electrical parameters of the line better reflect the actual line condition. Simultaneously, the sparse Bayesian algorithm can suppress the influence of abnormal measurement data on parameter solving, improving the robustness and accuracy of the line parameter test results.

[0039] S106. Based on the pre-constructed earth return model, complete the dual-frequency consistency verification of the dual-frequency electrical parameters of the line, and based on the dual-frequency consistency verification results, complete the outlier removal of the dual-frequency electrical parameters of the line to obtain the dynamic equivalent parameters of the target transmission line.

[0040] In this embodiment, a pre-built Carson ground return model is used to verify the physical consistency of low-frequency and high-frequency line parameters and calculate parameter difference indices. Simultaneously, the dual-frequency electrical parameters of the line are substituted into the line parameter observation equations to construct a sinusoidal response model. The predicted residual sequence between the model's predicted response signal and the target dual-frequency response signal is calculated, and the singular spectrum entropy value is also calculated. A nonlinear kernel function is used to fuse the parameter difference indices and singular spectrum entropy values ​​into an outlier evaluation index. When the outlier evaluation index exceeds a preset outlier threshold, it is determined to be an outlier and is removed. The removed segments are interpolated using predicted values ​​from historical valid segments, ultimately obtaining cleaned and physically consistent dynamic equivalent parameters of the line. This step further reduces parameter deviations caused by environmental changes, local interference, abnormal acquisition, or model errors, making the final output dynamic equivalent parameters of the line more reliable. Dual-frequency consistency verification avoids the problem of single-frequency measurements being easily affected by local errors, improving the stability and reliability of line parameter test results under different operating conditions.

[0041] In one embodiment, reference is made to Figure 2 The method for performing dual-frequency synchronous noise reduction of the electrical signals at both ends of a transmission line based on pseudo-random orthogonal code sequences to obtain the target dual-frequency response signal, and calculating the dual-end signal phasors of the target transmission line based on the target dual-frequency response signal, includes the following steps: S201. Based on the injection time of the pre-acquired dual-band excitation signal, the electrical signals at both ends of the line are divided into the response signal at both ends of the line and the background signal at both ends of the line. S202. Perform sliding cross-correlation analysis on the two-end response signal of the line based on the pseudo-random orthogonal code sequence, and separate the dual-frequency response component from the two-end response signal of the line based on the sliding cross-correlation analysis results. S203. Use a pre-set adaptive notch filter to perform adaptive notch filtering of the dual-frequency response components to obtain the dual-frequency response signal. S204. The dual-frequency response signal is sinusoidally fitted using the least squares method to obtain the dual-frequency response sine wave, and the dual-frequency response residual sequence is calculated by combining the dual-frequency response sine wave and the dual-frequency response signal. S205. Construct a noise linear prediction model based on the dual-frequency response residual sequence, and use the noise linear prediction model to perform interference prediction and cancellation on the dual-frequency response signal to obtain the target dual-frequency response signal. S206. Use the linear frequency modulation Z-transform algorithm to perform full-phase phasor analysis of the target dual-frequency response signal, and obtain the dual-frequency complex phasor of the target dual-frequency response signal, wherein the dual-frequency complex phasor includes the first-end dual-frequency phasor and the second-end dual-frequency phasor. S207. Extract the signal envelope information of the target dual-frequency response signal, and combine the signal envelope information and the background signal at both ends of the line to perform phasor compensation on the dual-frequency complex phasor to obtain the dual-end signal phasor.

[0042] In this embodiment, at the instant the dual-band excitation signal begins injection, a precise injection start time generated by a high-precision clock of the injection controller is recorded. Based on this injection start time, the electrical signals at both ends of the line are divided into two segments on the time axis: the segment before the injection start time is called the line-end background signal, corresponding to the power grid's own power frequency, harmonics, and various background noises, but excluding the injected signal component; the segment after the injection start time is called the line-end response signal, including the response under the combined effect of the power grid background and the dual-band excitation signal. To avoid interference from the line's distributed capacitance and the transient process of the transformers after injection, a preset stable waiting time is superimposed on the injection start time, with 0.1 seconds taken as a reference value. That is, from 0.1 seconds after the injection start time to the end of the current acquisition buffer, this is used as a valid line-end response signal for subsequent processing. The line-end background signal is taken from the most recent steady-state data of the same duration before the injection start time. The aforementioned "both ends" refer to the first and second ends of the target transmission line, with the first end being the injection end and the second end being the line end.

[0043] The pseudo-random orthogonal code sequence comprises a low-frequency pseudo-random code sequence and a high-frequency pseudo-random code sequence, both composed of positive and negative ones, orthogonal to each other, and exhibiting sharp autocorrelation and extremely low cross-correlation. For the discrete sampling sequence of the first end of the line's two-terminal response signal, a sliding cross-correlation operation is performed using both the low-frequency and high-frequency pseudo-random code sequences as matching templates. The operation involves moving the code sequence one sampling point from the starting position of the sampling sequence, calculating the cross-correlation value by multiplying and summing corresponding points within the window, and traversing the entire sequence. The peak position of the resulting cross-correlation sequence corresponds to the arrival time of the injected signal, and the peak amplitude reflects the signal energy. Since the pseudo-random code sequence is uncorrelated with grid random noise, this process is equivalent to matched filtering, which can concentrate the broadband spread spectrum signal energy into a narrowband correlation peak while suppressing uncorrelated noise. The discrete sampling sequence of the second end is processed in the same way. Based on the position of the cross-correlation peak, signal segments centered on the peak and covering one code period are extracted from the two-end response signals of the line. After bandpass filtering and smoothing, dual-frequency response components are obtained, including the first-end low-frequency response component, the first-end high-frequency response component, the second-end low-frequency response component, and the second-end high-frequency response component.

[0044] To remove residual power frequency leakage and narrowband interference caused by grid frequency fluctuations in the dual-frequency response components, an adaptive notch filter based on a frequency-locked loop is employed. The notch filter extracts the instantaneous power frequency from the background signal at both ends of the line in real time, tracking frequency fluctuations. Its transfer function is a second-order infinite impulse response filter, generating an extremely narrow notch at the current power frequency angular frequency, with negligible influence on injected frequency components deviating from the power frequency. A bandwidth factor of 0.98 is used, and the filter coefficients are updated in real time with the power frequency angular frequency, accurately attenuating residual power frequency interference before outputting the dual-frequency response signal.

[0045] After adaptive notch filtering, the output dual-frequency response signal further reduces the impact of power frequency leakage compared to the dual-frequency response components, allowing the subsequent sinusoidal fitting process to primarily target the effective response components corresponding to the target dual-frequency signal frequencies. Next, a sinusoidal fitting step separates the deterministic excitation response components from the random interference components in the dual-frequency response signal. Since the frequency of the dual-band excitation signal is determined by the signal injection frequency, the effective response in the dual-frequency response signal should theoretically satisfy a sinusoidal variation law at the corresponding frequency.

[0046] For each frequency point of the dual-frequency response signal, a sinusoidal model of the same frequency is established, consisting of a linear combination of in-phase cosine components and quadrature sine components. The least squares method is used to fit the amplitude coefficients of the cosine and sine components, yielding the dual-frequency response sine wave. The fitted model can be expressed as: ,in, This represents the sinusoidal wave of the fitted dual-frequency response. This represents the amplitude coefficient of the cosine component. This represents the amplitude coefficient of the sine component. Indicates the current frequency of the dual-frequency signal. Indicates the sampling time.

[0047] According to the least squares criterion, the fitting errors of all sampling points are summed by squares, and the amplitude corresponding to the minimum error is obtained, so that the obtained dual-frequency response sine wave can best represent the effective excitation response in the dual-frequency response signal. Then, the dual-frequency response signal after adaptive notch filtering is subtracted point by point from the dual-frequency response sine wave to obtain the dual-frequency response residual sequence.

[0048] The dual-frequency response residual sequence mainly contains incompletely removed narrowband interference, random noise, and some sudden abnormal interference. Extracting the dual-frequency response residual sequence provides a noise characteristic basis for subsequent linear noise prediction models. The interference prediction and cancellation step on the dual-frequency response signal utilizes the temporal correlation of noise components in the dual-frequency response residual sequence to further suppress predictable noise, thereby improving the signal-to-noise ratio of the dual-frequency response signal. Specifically, a linear noise prediction model is constructed based on the dual-frequency response residual sequence, representing the current residual noise as a linear combination of multiple historical residual samples. By predicting the possible interference components present at the current moment and canceling them from the dual-frequency response signal, the suppression of quasi-stationary narrowband noise and correlated interference is achieved. The linear noise prediction model can be expressed as: ; in, Indicates the first The noise value predicted at each sampling time point Indicates the order of the prediction model. Indicates the first Prediction weight coefficients, Indicates the first The dual-frequency response residual sequence values ​​corresponding to each historical sampling time. Based on the predicted noise values, interference prediction and cancellation are performed on the dual-frequency response signal, that is, the dual-frequency response signal is compared with... Point-by-point subtraction yields the target dual-frequency response signal. The prediction order in the linear noise prediction model is determined based on the correlation length of the dual-frequency response residual sequence. When the line operating environment is stable and the residual mainly exhibits low-order correlated noise, the prediction order can be set from 4 to 16. The k-th order prediction weight coefficient is determined based on the correlation between the noise components at different historical moments and the current noise component in the dual-frequency response residual sequence, thereby gradually reducing the error between the predicted noise component and the actual residual noise.

[0049] The target dual-frequency response signal undergoes full-phase preprocessing, and cyclic shifting and superposition are used to reduce the effects of spectral leakage and phase shift. A Fast Fourier Transform (FFT) is performed to determine the initial frequency positions of the dual-frequency signal points, and a local frequency search interval is constructed centered on these initial positions. A linear frequency modulated Z-transform (LFM) algorithm is used to perform high-density frequency sampling within the local frequency search interval, and combined with a spectral peak localization method to determine the precise frequency positions. Amplitude and phase information are extracted to obtain the dual-frequency complex phasors at the corresponding frequency points of the first and second ends.

[0050] Envelope extraction is performed on the target dual-frequency response signal to obtain the first-end envelope sequence and the second-end envelope sequence. Timing matching analysis is performed on the dual-end envelope sequences to determine the time offset during dual-end sampling. Based on this, phase rotation compensation is applied to the second-end dual-frequency complex phasor to unify the phasors at both ends to the same time reference. Simultaneously, the changes in voltage and current before and after injection are analyzed based on the background signal analysis at both ends of the line to identify the equivalent admittance on the bus side. This admittance is then used to perform current shunting compensation on the first-end current phasor, reducing the impact of the bus parallel branch on the measured current of the line. The second-end dual-frequency phasor after time synchronization correction is integrated with the first-end dual-frequency phasor after current shunting compensation to obtain the dual-end signal phasors of the target transmission line.

[0051] In one embodiment, the full-phase phasor analysis of the target dual-frequency response signal is performed using a linear frequency modulated Z-transform algorithm to obtain the dual-frequency complex phasors of the target dual-frequency response signal, including the following steps: The target dual-frequency response signal is segmented using a preset time window to obtain multiple dual-frequency response signal segments. These multiple dual-frequency response signal segments are then cyclically shifted and superimposed to obtain a full-phase dual-frequency signal sequence. A full-phase window function is applied to the full-phase dual-frequency signal sequence, and a fast Fourier transform is performed on the full-phase dual-frequency signal to obtain the dual-frequency spectrum information; Determine the initial phase and initial frequency of the dual-frequency signal based on the dual-frequency spectrum information; A local frequency search interval is constructed with the initial frequency as the center; The linear frequency modulated Z-transform algorithm is used to perform non-uniform frequency sampling on the full-phase dual-frequency signal sequence within the local frequency search interval to obtain the spectral response sequence. The position of the sequence peak of the spectral response sequence is determined by the three-point parabolic interpolation algorithm, and the dual-frequency complex phasor of the target dual-frequency response signal is calculated based on the position of the sequence peak.

[0052] In this embodiment, the target dual-frequency response signal is divided into time windows to ensure signal stability and frequency resolution in subsequent spectrum analysis. For example, the time window can be set to 2048 sampling points, a power of 2, to facilitate the radix-2 operation of the subsequent Fast Fourier Transform. Through the above division steps, multiple dual-frequency response signal segments are obtained. These segments are then cyclically shifted in time order to ensure that the center sampling positions of each segment remain consistent. Finally, the aligned signal segments are superimposed and averaged to form a full-phase dual-frequency signal sequence. This processing enhances the consistent dual-frequency response components within different time windows of the target dual-frequency response signal, while errors caused by window boundaries, random noise, and uncorrelated interference are mutually canceled out, thereby improving the accuracy of dual-frequency signal frequency point localization in subsequent spectrum analysis.

[0053] After obtaining the full-phase dual-frequency signal sequence, a full-phase window function is introduced to further reduce the interference of spectral leakage on frequency and phase calculations. The full-phase window is generated by convolving the basic window function with its time-reversed sequence, and can simultaneously act on the data regions on both sides of the signal, solving the phase distortion problem caused by traditional single-sided windowing. The basic window function is selected based on three indicators: sidelobe suppression capability, main lobe width, and computational complexity. In line parameter testing scenarios, the Hanning window is conventionally used; if strong suppression of power frequency leakage and harmonic interference is required, the Hadamard-Blackman window, which has better sidelobe attenuation performance, is used. The selected full-phase window is used to weight the full-phase sequence to generate an optimized dual-frequency analysis sequence.

[0054] After processing with the full-phase window function, a Fast Fourier Transform (FFT) is performed on the processed full-phase dual-frequency signal to obtain the dual-frequency spectral information. The FFT is used to convert the time-domain dual-frequency response signal to the frequency domain, enabling the identification of the spectral peaks corresponding to the low-frequency and high-frequency injection frequencies. After obtaining the dual-frequency spectral information through the FFT, the energy distribution near the low-frequency and high-frequency injection frequencies can be visually determined in the frequency domain, providing an initial position for subsequent high-precision frequency searches.

[0055] Based on the dual-frequency spectrum information, a peak search is performed on the spectral amplitude to determine the spectral peak positions corresponding to the low-frequency injection frequency and the high-frequency injection frequency. The frequencies corresponding to these peak positions are then used as the initial frequencies of the dual-frequency signal. The formula for calculating the initial frequency is as follows: ,in, The initial frequency of the frequency point. Sampling rate, The time window length, This indicates the index corresponding to the maximum amplitude spectral peak in the dual-frequency spectrum information. The initial phase of the frequency point is determined by directly reading the index from the dual-frequency spectrum information. The corresponding complex phase angle, due to the phase invariance of the full-phase Fourier transform, is the initial phase of the signal at the center sample point, requiring no additional frequency deviation correction. This initial frequency and initial phase provide a reliable search and positioning reference for subsequent local refinement.

[0056] Using the initial frequency as the center point, a preset refined half-bandwidth is extended in both the low-frequency and high-frequency directions to form the starting and ending frequencies. The value of the refined half-bandwidth is usually 1 Hz, i.e., the total bandwidth is 2 Hz. By constructing a local frequency search interval, the subsequent linear frequency modulated Z-transform algorithm does not need to calculate the entire spectrum range, but only performs high-precision analysis on the dual-frequency target region, reducing the amount of computation and improving the frequency estimation accuracy.

[0057] After constructing the local frequency search interval, the full-phase dual-frequency signal sequence is non-uniformly sampled using a linear frequency-modulated Z-transform algorithm to achieve local refinement of the dual-frequency spectral information. Specifically, the local frequency search interval is divided into multiple frequency sampling points, and the complex spectral response corresponding to each frequency sampling point is calculated using the linear frequency-modulated Z-transform algorithm to obtain the spectral response sequence. The linear frequency-modulated Z-transform process can be represented as: ; in, This represents the complex response value corresponding to the m-th frequency sampling point in the spectral response sequence; This represents a full-phase dual-frequency signal sequence; L represents the data length participating in the linear frequency modulation Z-transform; A represents the starting frequency control parameter of the local frequency search interval; W represents the frequency sampling interval control parameter; and m represents the frequency sampling point number.

[0058] In actual processing, the number of frequency sampling points is determined according to the target accuracy. For example, when the width of the local frequency search interval is set to 2Hz, setting the number of frequency sampling points to 2048 or 4096 can achieve an equivalent frequency resolution of approximately 0.001Hz, thereby meeting the precise frequency positioning requirements of weak dual-frequency signals in line parameter testing.

[0059] After obtaining the spectral response sequence, a peak search is performed on the amplitudes in the sequence to determine the position of the spectral peak corresponding to the dual-frequency signal. Since the actual frequency usually does not fall precisely on the frequency sampling point, the spectral peak will be distributed among multiple adjacent frequency sampling points. Therefore, a three-point parabolic interpolation algorithm is used to correct the position of the spectral peak. Specifically, the amplitude of each complex spectral point in the spectral response sequence is calculated to obtain the corresponding spectral amplitude sequence. This sequence is then traversed, and the spectral sampling point with the largest amplitude is selected as the initial spectral peak. Using the initial spectral peak as the center point, its immediate preceding and following points in the sequence are also extracted, for a total of three points. Each of these three points has a position index and a corresponding amplitude. The amplitude information of these three points is substituted into the parabolic interpolation formula to calculate a position correction. The magnitude of the position correction is determined by the relative amplitude relationship between the initial spectral peak and its left and right adjacent points. The position correction is added to the integer index of the position corresponding to the initial spectral peak to obtain the position of the spectral peak. The calculation formula is as follows: ; in, This represents the integer index of the position corresponding to the initial spectral peak in the spectral response sequence. , , These represent the amplitudes of the points adjacent to the left of the initial spectral peak, the initial spectral peak itself, and the points adjacent to the right of the initial spectral peak, respectively. This represents the position of the spectral peaks in the sequence.

[0060] Complex spectral values ​​corresponding to the spectral peak positions are extracted from the spectral response sequence. Since the all-phase dual-frequency signal sequence after all-phase processing possesses phase stability, these complex spectral values ​​can directly characterize the amplitude and phase information of the target dual-frequency response signal at the target dual-frequency points. The above processing is performed on the spectral peak positions corresponding to the low-frequency and high-frequency injection frequencies, respectively, to obtain low-frequency and high-frequency complex phasors. These two are then combined to form the dual-frequency complex phasors of the target dual-frequency response signal. The dual-frequency complex phasors include amplitude and phase information corresponding to the low-frequency injection frequency and the high-frequency injection frequency, which are used for subsequent construction of the line parameter observation equation set and solving of the line's dual-frequency electrical parameters.

[0061] In one embodiment, the signal envelope information of the target dual-frequency response signal is extracted, and the dual-frequency complex phasors are compensated by combining the signal envelope information and the background signal at both ends of the line to obtain the dual-end signal phasors, including the following steps: By performing Hilbert transform on the target dual-frequency response signal, the double-ended envelope sequence of the target dual-frequency response signal is extracted, wherein the double-ended envelope sequence includes a first-ended envelope sequence and a second-ended envelope sequence. Cross-correlation analysis between the two-ended envelope sequences was performed by translating the second-ended envelope sequence point by point, and the sampling time offset between the two-ended envelope sequences was calculated based on the cross-correlation analysis results. Based on the sampling time offset, the phasor correction of the second-end dual-frequency phasor is completed to obtain the second-end reference phasor; The injected differential voltage and injected differential current of the target transmission line are calculated based on the background signals at both ends of the line, and the equivalent admittance on the bus side is calculated in combination with the injected differential voltage and injected differential current. Based on the equivalent admittance on the bus side, the current shunting compensation of the first-end dual-frequency current phasor in the first-end dual-frequency phasor is completed to obtain the first-end reference phasor. By integrating the second-end reference phasor and the first-end reference phasor, the two-end signal phasors of the target transmission line are obtained.

[0062] In this embodiment, the dual-frequency response signal after synchronous noise reduction retains the amplitude fluctuation characteristics caused by pseudo-random orthogonal code modulation, and can be used as a dual-end time synchronization reference. Hilbert transforms are performed on the target dual-frequency response signals acquired from the first and second ends respectively, converting the target dual-frequency response signals into complex analytic signals. The corresponding signal envelope is then extracted using the modulus of the complex analytic signal. Specifically, the analytic signal is constructed by taking the target dual-frequency response signal as the real part and the orthogonal components after the Hilbert transform as the imaginary part: Where z(t) represents the complex analytic signal corresponding to the target dual-frequency response signal; s(t) represents the target dual-frequency response signal; H{} represents the Hilbert transform; and j represents the imaginary unit. Further extraction of the amplitude of the complex analytic signal yields the corresponding envelope sequences, namely the first-end envelope sequence and the second-end envelope sequence.

[0063] In actual processing, the above processing is performed on the dual-frequency response signals of the first and second targets respectively, resulting in the first and second envelope sequences. To suppress transient disturbances, a moving average window of the code period length is used to smooth and filter the two envelope sequences, suppressing random noise while preserving the chip variation characteristics. The code period length is typically 3 ms.

[0064] Since the line parameter testers at both ends use local clocks for sampling, there is an unknown time offset at the start time of sampling at both ends, resulting in a time delay in the dual-frequency response signal acquired at the second end relative to the first end. Therefore, it is necessary to estimate the sampling time offset by utilizing the time correspondence between the two-end envelope sequences. Specifically, the first-end envelope sequence is kept unchanged, and the second-end envelope sequence is shifted point by point. At each shift position, the matching degree between the two envelope sequences is calculated. When the second-end envelope sequence is shifted to a position aligned with the time of the first-end envelope sequence, the two have the highest correlation. The shift amount corresponding to this position is the sampling time offset between the two-end envelope sequences. The cross-correlation process is expressed as: ; in, This indicates that the paired-end envelope sequence is shifted by a factor of 1. Cross-correlation results at different times; This represents the amplitude of the nth sampling point in the first envelope sequence; This represents the amplitude of the nth sampling point after the second-end envelope sequence has been shifted. Indicates the number of sampling points participating in the cross-correlation analysis; This represents the sampling point offset of the second-end envelope sequence relative to the first-end envelope sequence. By traversing all translations within a preset search range, the sampling point offset corresponding to the maximum cross-correlation result is determined. Further, combined with the sampling period of the line parameter tester, the sampling point offset is converted into an actual sampling time offset. To improve the accuracy of the time offset estimation, adjacent sampling points near the maximum correlation peak can be selected for peak fitting, and integer sampling point offsets are corrected through sampling.

[0065] Since the second-terminal dual-frequency phasor is extracted under the second-terminal local time reference, it contains an additional phase offset caused by the sampling time offset. Therefore, it is necessary to use the sampling time offset to synchronously correct the second-terminal dual-frequency phasor. For any dual-frequency signal frequency, the time offset will cause the phasor to produce a frequency-related phase rotation, the phase offset being proportional to the signal frequency and the time offset. Therefore, based on the sampling time offset, the second-terminal dual-frequency phasor is subjected to reverse rotation compensation, so that the second-terminal phasor is remapped to the first-terminal time reference. Specifically, phase compensation is performed on the second-terminal dual-frequency voltage phasor and the second-terminal dual-frequency current phasor respectively: ; ; in, This represents the corrected dual-frequency voltage phasor at the second terminal. This represents the corrected dual-frequency current phasor at the second terminal; This represents the second-terminal dual-frequency voltage phasor before correction; This represents the second-terminal dual-frequency current phasor before correction; This indicates the low-frequency or high-frequency injection frequency corresponding to the dual-frequency signal point. This represents the sampling time offset. After the above correction, the spurious phase shift caused by the local clock difference of the line parameter tester in the second-end dual-frequency phasor is eliminated, resulting in the second-end reference phasor under a unified time reference.

[0066] When the dual-frequency excitation signal is injected into the target transmission line from the first end, the current detected by the line parameter tester at the first end includes not only the effective injected current flowing into the target transmission line, but also the shunt current formed by other equipment on the bus side. Therefore, it is necessary to use the background signals at both ends of the line to identify the equivalent admittance on the bus side and complete the phasor compensation of the dual-frequency current at the first end. First, based on the background signals at both ends of the line before and after the injection of the dual-frequency excitation signal, the change in the bus voltage at the first end and the change in the total current at the first end are extracted to obtain the injection differential voltage and injection differential current, respectively. The injection differential voltage represents the phasor change of the bus voltage at the first end before and after the injection of the dual-frequency excitation signal. The injection differential current represents the phasor change of the measured current at the first end before and after the injection of the dual-frequency excitation signal. Dividing the injection differential current by the injection differential voltage yields the equivalent admittance on the bus side. To avoid the influence of random noise on a single calculation, multiple injection time windows can be selected consecutively to calculate the equivalent admittance on the bus side, and the average value can be used as the final identification result. For example, at least 10 calculation windows can be set for averaging.

[0067] After obtaining the equivalent admittance on the bus side, calculate the shunt current on the bus side based on the current shunt relationship on the bus side, and subtract this shunt component from the dual-frequency current phasor at the first terminal: ; in, This represents the phasor of the first-terminal line current after compensation. This represents the dual-frequency current phasor at the first terminal; This represents the first-terminal line voltage phasor. After compensation, the bus-side shunt effect in the first-terminal dual-frequency current phasor is effectively reduced, resulting in the first-terminal reference phasor.

[0068] After completing the synchronization correction of the second-end dual-frequency phasor and the shunt compensation of the first-end dual-frequency current phasor, the second-end reference phasor is combined with the first-end reference phasor to form the dual-end signal phasor corresponding to the target transmission line. The final dual-end signal phasor has both a unified time base and shunt suppression characteristics, providing high-precision input data for solving the subsequent line parameter equations.

[0069] In one embodiment, reference is made to Figure 3 The following steps are taken to construct the line parameter observation equations of the target transmission line based on the dual-ended signal phasors, and then iteratively solve the line parameter observation equations using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line: S301. Retrieve the fixed parameters of the target transmission line from the preset power system database. The fixed parameters include line geometric parameters, line material parameters, and line physical constants. S302. A set of line parameter observation equations is constructed by combining fixed line parameters and two-terminal signal phasors. S303. Use the dual-ended signal phasors as line observation data, and after materializing the line parameter observation equation set, use it as the line observation function. S304. Determine the transmission line constraints based on the fixed parameters of the target transmission line, and map the fixed parameters to the feasible region of the line parameters. S305. Based on the dual-ended signal phasors, perform initial stage parameter estimation of the line observation function to obtain the estimated line parameters. S306. Use the sparse Bayesian algorithm to perform iterative optimization of the line parameter estimates and obtain the dual-frequency electrical parameters of the line.

[0070] In this embodiment, the fixed parameters of the target transmission line are retrieved from a pre-defined power system database. These fixed parameters include line geometric parameters, line material parameters, and line physical constants. Line geometric parameters include conductor radius, suspension height of each phase conductor, and phase-to-phase distance. Line material parameters include historical reference values ​​of conductor resistivity, conductor cross-sectional area, and earth resistivity. Line physical constants include vacuum permeability and vacuum dielectric constant. These parameters provide the necessary inputs for subsequent modeling, constraint definition, and initial parameter estimation.

[0071] Using the established frequency-sensitive series impedance matrix and parallel admittance matrix, and substituting them into the hyperbolic function transfer equation, a set of complex nonlinear observation equations is obtained, with the two-terminal signal phasors as known observations and the physical parameters to be estimated as unknowns. The two-terminal signal phasors are then used as line observation data to materialize the equations, i.e., by substituting actual measurement values. This maps the abstract equations into a concrete line observation function. The actual measurement values ​​include the measured values ​​of the two-terminal signal phasors, the injection frequency (e.g., 85 Hz for low-frequency injection, 1500 Hz for high-frequency injection), and the physical length of the target transmission line. The line observation function contains a vector of parameters to be estimated and a vector of observation data. The vector of parameters to be estimated includes physical parameters such as DC resistance, external inductance, mutual inductance, self-capacitance, mutual capacitance, earth resistivity, and dielectric loss tangent. The observation data vector is formed by concatenating the real and imaginary parts of the two-terminal signal phasors.

[0072] Based on electromagnetic field theory and the physical nature of transmission lines, a set of strict physical constraints can be derived from the fixed parameters of the line, forming the transmission line constraint conditions. These include: the impedance matrix and admittance matrix must satisfy symmetry; their real parts must be positive definite matrices at all injection frequencies to ensure the passivity of the line; all resistances, inductances, capacitances, and ground resistivity must be positive; self-inductance must be greater than mutual inductance, and self-capacitance must be greater than mutual capacitance; the impedance matrix should also satisfy diagonal dominance. These constraints collectively define a closed parameter space region, namely the feasible region of the line parameters. In subsequent solutions, any iteration result that leaves this region will be forcibly projected back into it to ensure the solution has a clear physical meaning. By mapping the fixed parameters of the line to the feasible region of the line parameters, the parameter variation range can be determined according to the actual line type and operating environment. For example, for overhead transmission lines, the initial range of ground resistivity is usually set according to the soil type of the area where the line is located, generally set to 10Ω. m to 1000Ω For the dielectric loss tangent, m can be set within an initial range based on the type of insulation material, typically between 0.0001 and 0.01. This range is not the final parameter, but rather a limit to subsequent inversion processes to avoid producing abnormal results that violate physical laws.

[0073] To provide a good starting point for subsequent detailed solutions, rapid initial stage parameter estimation is first performed. The two-terminal signal phasors include a first-terminal dual-frequency voltage phasor, a first-terminal dual-frequency current phasor, a second-terminal dual-frequency voltage phasor, and a second-terminal dual-frequency current phasor. Each phasor contains complex measurements at both the low-frequency and high-frequency injection frequencies. First, a symmetrical component transformation is performed on these phasors to extract the positive-sequence voltage phasor, positive-sequence current phasor, zero-sequence voltage phasor, and zero-sequence current phasor at the low-frequency and high-frequency injection frequencies, respectively. For the positive-sequence network, the positive-sequence propagation constant and positive-sequence characteristic impedance are obtained by inverse solving using the two-terminal positive-sequence voltage and positive-sequence current. Then, the initial values ​​of the positive-sequence series impedance and positive-sequence parallel admittance per unit length are calculated from the positive-sequence propagation constant and positive-sequence characteristic impedance. For the zero-sequence network, the initial values ​​of the zero-sequence series impedance and zero-sequence parallel admittance per unit length are obtained by solving using the zero-sequence voltage and zero-sequence current in the same way. Subsequently, using the conversion relationship from sequence components to phase components, the aforementioned positive-sequence and zero-sequence parameters are converted into self-impedance parameters, mutual impedance parameters, self-admittance parameters, and mutual admittance parameters in the phase domain, thus forming estimated line parameters. These estimated line parameters are directly used as initial line parameters, while the initial values ​​of the real and imaginary parts of the residual shunt admittance are both set to zero. These initial line parameters are already within or very close to the feasible region of line parameters, providing a physically reasonable expansion center for subsequent sparse Bayesian refinement.

[0074] A sparse Bayesian algorithm is used to iteratively optimize the estimated line parameters. First, using the estimated line parameters as an initial baseline, parameter deviations are constructed as sparse parameter variables, and a hierarchical probabilistic prior model is established using an automatic correlation determination mechanism to achieve adaptive constraints on different parameter deviations. Then, the posterior probability of observations corresponding to the dual-frequency observation data is calculated based on the line observation function, and the optimization results are mapped to the feasible region of the line parameters for constraint verification. Based on the constraint verification results, the line parameters are continuously updated using an expectation-maximization iterative strategy until the parameter changes meet the preset convergence condition, and the optimized dual-frequency electrical parameters of the line are output.

[0075] In one embodiment, constructing a set of line parameter observation equations by combining fixed line parameters and two-terminal signal phasors includes the following steps: The phasor distribution transmission relationship of the target transmission line is determined based on the phasors of the two-ended signals and using the multi-conductor transmission line theory. Initialize the line equivalent parameter set based on the fixed line parameters; By combining the equivalent parameter set of the line and the fixed parameters of the line, skin effect correction terms and ground return flow correction terms are constructed. A series impedance matrix is ​​constructed by superimposing skin effect correction terms, ground return current correction terms, and lumped DC resistance parameters of the line equivalent parameters. Based on the line geometric parameters and using the mirror method, the potential coefficient matrix is ​​constructed, and the unit capacitance matrix is ​​constructed by inverting the potential coefficient matrix. A parallel admittance matrix is ​​constructed by combining the unit capacitance matrix and the physical constants of the line; The propagation constant matrix and characteristic impedance matrix are calculated by combining the series impedance matrix and the parallel admittance matrix; The parallel admittance matrix, characteristic impedance matrix, and two-terminal signal phasors are substituted into the hyperbolic function matrix to construct the line parameter observation equation set.

[0076] In this embodiment, for a target transmission line with three-phase conductors, the propagation characteristics of electromagnetic waves along the line can be described by frequency-domain telegraph equations. The steady-state solution of these equations shows that there is a definite matrix mapping relationship between the first-terminal dual-frequency voltage phasor, the first-terminal dual-frequency current phasor, the second-terminal dual-frequency voltage phasor, and the second-terminal dual-frequency current phasor of the target transmission line. This mapping relationship is jointly determined by the propagation constant matrix and the characteristic impedance matrix, and is expressed in the form of hyperbolic function matrices. Specifically, the first-terminal dual-frequency voltage phasor is equal to the hyperbolic cosine matrix multiplied by the second-terminal dual-frequency voltage phasor, plus the characteristic impedance matrix multiplied by the hyperbolic sine matrix and then multiplied by the second-terminal dual-frequency current phasor. The second-terminal dual-frequency current phasor is equal to the inverse matrix of the characteristic impedance matrix multiplied by the hyperbolic sine matrix and then multiplied by the second-terminal dual-frequency voltage phasor, plus the hyperbolic cosine matrix multiplied by the second-terminal dual-frequency current phasor. This hyperbolic function matrix relationship is the phasor distribution transmission relationship of the target transmission line, which forms the mathematical framework for subsequently constructing the observation equation set.

[0077] The fixed parameters of the target transmission line are obtained through a pre-set power system database. These fixed parameters include line geometric parameters, line material parameters, and line physical constants. Based on these fixed parameters, the basic electromagnetic characteristics of the target transmission line are initially estimated, and an equivalent parameter set is constructed. This equivalent parameter set includes parameters describing the line's frequency response characteristics, such as DC resistance, external inductance, mutual inductance, self-capacitance, mutual capacitance, ground resistivity, and dielectric loss tangent. Specifically, the DC resistance parameter is initially calculated based on line material parameters such as conductor resistivity, conductor cross-sectional area, and line length; the external inductance and mutual inductance parameters are initially estimated based on line geometric parameters such as conductor spatial arrangement, height, phase-to-phase distance, and ground return path; the self-capacitance and mutual capacitance parameters are initially constructed based on geometric relationships such as conductor radius, conductor-to-conductor distance, and conductor height above ground; the ground resistivity is initialized based on historical measured soil resistivity data in the line physical constants; and the initial value of the dielectric loss tangent is taken from the pre-set typical loss tangent values ​​of insulation materials in the line physical constants. Because the actual operation of the transmission line is affected by temperature changes, conductor aging, soil resistivity changes, changes in the erection environment, and frequency-related electromagnetic effects, the equivalent parameter set of the line obtained based on the fixed parameters of the line serves only as initial reference values ​​and physical constraint boundaries in the subsequent solution of the line parameter observation equations, rather than as final determined values. Subsequently, through the dual-frequency response signal's two-terminal signal phasor constraints, the uncertain parameters in the equivalent parameter set of the line are iteratively corrected, gradually converging to line parameters that can characterize the actual operating state of the target transmission line, i.e., the dynamic equivalent parameters of the line.

[0078] Based on the DC resistance parameters, two key corrections need to be introduced to address the frequency effects of the injected AC signal. The skin effect correction term describes the physical phenomenon where high-frequency current tends towards the conductor surface, leading to an increase in AC resistance and a decrease in internal inductance. For cylindrical conductors, the increase in AC resistance and change in internal inductance caused by the skin effect can be calculated using Bessel functions or their engineering approximations with frequency, conductor diameter, and conductor conductivity as independent variables. Under the high-frequency engineering approximation, the expressions for the increase in resistance and change in internal inductance due to the skin effect are: ; ; in, These are DC resistance parameters. , The current injection frequency, The permeability of free space, The conductivity of a conductor. Let be the diameter of the conductor. This correction term primarily affects the diagonal elements of the impedance matrix, and its contribution to the off-diagonal mutual impedance is negligible. The increase in resistance is caused by the skin effect. It is the decrease in internal inductance caused by the skin effect.

[0079] The earth return current correction term, based on Carson's theory, describes the additional resistance and inductance components caused by the finite conductivity of the earth when an overhead transmission line uses the earth as its return loop. Its calculation requires fixed line parameters such as frequency, earth resistivity, conductor suspension height, and conductor spacing. The expression for the Carson self-impedance correction term in the earth return current correction term is: ; The expression for the Carson mutual impedance correction term in the earth return current correction term is: ; in, , The conductor number index, with values ​​1, 2, and 3, corresponds to the three-phase conductors. The imaginary unit, The free permeability is derived from the physical constant of the circuit and is typically 4π × 10⁻⁶. -7 Henry per meter, Its depth is the mirror image depth. The resistivity of the earth. The current injection frequency, Indicates the first in the target transmission line The equivalent radius of a conductor is equal to the actual radius of the conductor multiplied by a reduction factor less than 1. For composite conductors such as steel-cored aluminum stranded wire, the equivalent radius needs to be calculated based on the resistivity and cross-sectional area of ​​each layer of material. Indicates the first root wire and the first The spatial distance between conductors is a line geometric parameter, which is calculated based on the suspension position coordinates of each phase conductor in the tower structure drawings, or can be directly read from the line spatial geometric model in the power system database. , , , This is a dimensionless correction term for the series approximation of Carson's infinite integral. It is a function of conductor geometric parameters, such as suspension height, conductor spacing, frequency, and earth resistivity. In engineering implementation, it is usually calculated directly using the truncated series expansion given in classic Carson literature, or obtained by calling the standard functions built into power system electromagnetic transient analysis programs, without the need for additional measurements. The earth return current correction term affects both diagonal and off-diagonal elements of the impedance matrix and exhibits nonlinear coupling characteristics between frequency and earth resistivity.

[0080] The series impedance matrix is ​​constructed by superimposing the DC resistance parameter, the skin effect correction term, and the ground return current correction term. Specifically, the conductor internal impedance matrix is ​​first constructed by combining the DC resistance parameter and the skin effect correction term. The conductor internal impedance matrix is ​​as follows: ; in, ,in, These are DC resistance parameters. The increase in resistance is caused by the skin effect. This is the decrease in internal inductance caused by the skin effect. The imaginary unit, This represents the current injection frequency.

[0081] Next, the earth loop impedance matrix is ​​constructed based on the earth return correction term: ; In this matrix, numbers 1, 2, and 3 represent the conductor number indices. Diagonal elements are calculated using the Carson self-impedance correction term, while off-diagonal elements are calculated using the Carson mutual impedance correction term. The final series impedance matrix per unit length is obtained by adding the conductor internal impedance matrix to the ground loop impedance matrix element by element.

[0082] Using line geometric parameters retrieved from the power system database, including conductor radius, conductor suspension height to ground, and horizontal spacing between conductors, a Maxwell potential coefficient matrix is ​​constructed using the method of images. The diagonal elements of the potential coefficient matrix are determined by the conductor radius and the distance from the conductor to its mirror image, while the off-diagonal elements are determined by the spacing between two conductors and the distance between one conductor and the mirror image of the other. The potential coefficient matrix is ​​a real symmetric matrix and does not change with frequency. Performing matrix inversion on this matrix yields the unit-length capacitance matrix, or simply the unit capacitance matrix. Based on the unit capacitance matrix, the effect of insulation dielectric loss is accounted for to construct the complete parallel admittance matrix. The expression for the parallel admittance matrix is: ,in, For a unit capacitance matrix, Let be the conductance matrix, and its expression is: ,in, The tangent of the dielectric loss angle is a dimensionless parameter describing the leakage loss of insulating materials. The imaginary unit, This represents the current injection frequency. The parallel admittance matrix also has a complex symmetric structure of three rows and three columns.

[0083] The propagation constant matrix and characteristic impedance matrix are calculated by combining the series impedance matrix and the shunt admittance matrix. The propagation constant matrix is ​​defined as the square root of the product of the series impedance matrix and the shunt admittance matrix, and its mathematical expression is as follows: ,in, For series impedance matrix, The mathematical expressions for the parallel admittance matrix and the characteristic impedance matrix are: The propagation constant matrix and characteristic impedance matrix are both complex matrices that vary with the injection frequency. They describe the attenuation and phase propagation characteristics of electromagnetic waves along the line.

[0084] Multiply the propagation constant matrix obtained above by the known line length, and then substitute it into the hyperbolic function matrix to construct the complete set of line parameter observation equations: ; ; in, Characteristic impedance matrix, For the propagation constant matrix, , The first end is at the injection frequency The voltage and current phasors at a given point are determined using two-terminal signal phasors. , The second end is at the injection frequency The voltage and current phasors at the specified locations are used. This set of line parameter observation equations uses the physical parameters to be determined, such as DC resistance, external inductance, mutual inductance, self-capacitance, mutual capacitance, earth resistivity, and dielectric loss tangent, as unknowns, and the two-terminal signal phasors as known observations, providing an accurate nonlinear observation model for subsequent sparse Bayesian iterative solutions.

[0085] In one embodiment, the iterative optimization of the line parameter estimates using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line includes the following steps: The estimated line parameters are transformed into the phase domain parameter space and used as the initial line parameters. Using the initial line parameters as a baseline, sparse parameter variables are constructed, and an automatic correlation determination machine is used to construct a hierarchical probability prior model for the sparse parameter variables. The posterior probability of observations for dual-frequency observation data is calculated by combining the hierarchical probability prior model and the line observation function. The posterior probability of the observation is mapped to the feasible region of the line parameters to complete the constraint verification. Based on the constraint verification results, the initial line parameters are updated using the expectation maximization iterative strategy until the updated initial line parameters reach the preset parameter convergence condition, and the dual-frequency electrical parameters of the line are output.

[0086] In this embodiment, after completing the initial stage parameter estimation, the obtained line parameter estimates are expressed in the form of positive-sequence parameters and zero-sequence parameters, including positive-sequence unit-length series impedance, positive-sequence unit-length parallel admittance, zero-sequence unit-length series impedance, and zero-sequence unit-length parallel admittance. To enable these parameters to be directly used in subsequent sparse Bayesian refinement, they need to be transformed from the sequence component space to the phase domain parameter space. The transformation process utilizes the standard sequence-to-phase component transformation relationship in power systems to convert the positive-sequence impedance and zero-sequence impedance into phase domain self-impedance parameters and mutual impedance parameters, and the positive-sequence admittance and zero-sequence admittance into phase domain self-admittance parameters and mutual admittance parameters. After the transformation, these phase domain parameters, together with the real and imaginary parts of the residual shunt admittance, constitute the initial line parameters. The initial values ​​of the real and imaginary parts of the residual shunt admittance are both set to zero in this stage. These initial line parameters will serve as the expansion center for sparse Bayesian refinement.

[0087] Sparse parameter variables refer to the deviation vector between the actual parameters to be estimated and the initial line parameters. Let the initial line parameters be denoted as... The actual parameter to be estimated is denoted as Then the sparse parameter variable is defined as Assuming only a few parameters require significant correction, i.e., the bias vector is sparse, the hierarchical probabilistic prior model is a two-layer Bayesian probabilistic model used to automatically learn the effective strength of each component in a sparse parameter variable. The first layer: for each component in the sparse parameter variable... Assuming it follows a Gaussian distribution with a mean of zero, the variance of this Gaussian distribution is determined by the corresponding hyperparameter, i.e. , This represents the offset of the i-th line parameter relative to the initial line parameters; This represents the hyperparameter assigned to the i-th parameter offset by the automatic correlation determination machine; This indicates that the mean is 0 and the variance is 0. The first layer is a Gaussian probability distribution. The second layer assigns a gamma distribution as a prior distribution to each hyperparameter. This hierarchical structure is called an automatic correlation deterministic machine, which constitutes a hierarchical probabilistic prior model. It can automatically adjust the effective strength of each bias component according to the data during the inference process: when the estimation bias of a certain line parameter is small, the corresponding hyperparameter is automatically increased so that the parameter offset approaches 0; when a certain line parameter does change, the corresponding hyperparameter is decreased so that the parameter can participate in subsequent updates.

[0088] By fusing the aforementioned hierarchical probability prior model with the line observation function, the conditional probability distribution of the sparse parameter variables under given dual-frequency observation data is derived, i.e., the posterior probability of observation. The line observation function describes the mapping relationship between the sparse parameter variables and the dual-frequency observation data. After a first-order Taylor expansion at the initial line parameters, the observation data and the sparse parameter variables approximately satisfy a linear Gaussian relationship. The observation noise is assumed to be Gaussian white noise with zero mean and unknown variance, which constitutes the likelihood function part. The hierarchical probability prior model assumes that each component of the sparse parameter variables independently follows a Gaussian distribution with zero mean, and the variance of each component is controlled by the corresponding hyperparameter, which constitutes the prior distribution part. Since both the likelihood function and the prior distribution are Gaussian in form, according to Bayes' theorem, the posterior distribution of the sparse parameter variables is also a Gaussian distribution. The formula for calculating the posterior covariance matrix is: ; in, The current estimated noise variance, This is the Jacobian matrix calculated for the line observation function at the initial line parameters. This represents a diagonal matrix consisting of all hyperparameters.

[0089] ; in, The data is in real number form for the dual-frequency observation data. This represents the output value of the line observation function at the initial line parameters. The difference between the two values ​​represents the residual of the current model's fit to the observed data. The current estimated noise variance, This is the Jacobian matrix calculated for the line observation function at the initial line parameters. Let be the posterior covariance matrix. The posterior mean vector gives the most likely correction direction and magnitude for each component of the sparse parameter variable in the current iteration step, while the posterior covariance matrix quantifies the degree of uncertainty in the correction. Together, they constitute the posterior probability of the observation.

[0090] After obtaining the observed posterior probabilities, the posterior mean vector of the sparse parameter variables is extracted from the posterior distribution and added to the current initial line parameters to obtain a set of candidate parameters. Constraint verification is then performed, checking whether the candidate parameters completely fall within the feasible region of the line parameters. The feasible region of the line parameters is jointly defined by physical conditions such as passivity constraints, symmetry constraints, parameter positive definiteness constraints, and diagonal dominance constraints. If the candidate parameters are within the feasible region, the verification passes, and the posterior mean does not need adjustment. If the candidate parameters exceed the feasible region, the point on the boundary of the feasible region closest to the candidate parameters is found using Mahalanobis distance as the projection point. This projection point is used to correct the posterior mean vector, and the posterior covariance matrix is ​​adjusted accordingly to ensure the accuracy of subsequent uncertainty propagation. This projection operation ensures that the hard constraints of the feasible region of the line parameters on the parameters are strictly satisfied.

[0091] After constraint verification, the process proceeds to the maximization step in the expectation-maximization iterative strategy. In this step, the noise variance and all hyperparameters are updated using the current posterior mean vector and posterior covariance matrix. The update formula for the noise variance is as follows: ; in, The total dimension of the dual-frequency observation data is represented by the following terms: the first term is the sum of squared residuals of the data fitting under the current parameters, and the second term is the compensation term for the linearization error of the model. The values ​​of both are determined by the posterior mean vector and posterior covariance matrix of the current iteration step. The data is in real number form for the dual-frequency observation data. This represents the output value of the line observation function at the initial line parameters. The difference between the two values ​​represents the residual of the current model's fit to the observed data. This is the updated noise variance. This is the Jacobian matrix calculated for the line observation function at the initial line parameters. Let be the posterior covariance matrix.

[0092] Each hyperparameter The update formula is: ; in, and The shape and scale parameters of the gamma distribution can both be set to 10. -6 , Let i be the i-th component of the posterior mean vector. Let be the i-th diagonal element of the posterior covariance matrix. This formula shows that the greater the actual deviation of a component from zero, the smaller the corresponding hyperparameter after the update, and the more relaxed the prior constraints become; conversely, the hyperparameter increases, and the constraints tighten.

[0093] After updating the noise variance and hyperparameters, the updated hyperparameters are substituted into the next expectation step to recalculate the observed posterior probabilities and perform constraint checks and parameter updates again. This constitutes an iterative loop alternating between expectation and maximization steps. The iteration terminates when the change in the posterior mean vector of the sparse parameter variables falls below the preset parameter convergence condition. The preset parameter convergence condition is determined based on the statistical stability of parameter estimation and the actual accuracy requirements of engineering practice. Typically, the L2 threshold of the relative change of each component of the parameter vector is set to 10. -6 Once this threshold is reached, the initial line parameters at this point are added to the final posterior mean vector to output the final parameter estimate, which is the dual-frequency electrical parameter of the line.

[0094] In one embodiment, the dual-frequency consistency verification of the line's dual-frequency electrical parameters is completed based on a pre-built ground return current model, and outliers in the line's dual-frequency electrical parameters are eliminated based on the dual-frequency consistency verification results to obtain the dynamic equivalent parameters of the target transmission line, including the following steps: Based on the dual-frequency electrical parameters of the line, high-frequency parameter vectors and low-frequency parameter vectors are constructed. High-frequency theoretical parameters are calculated by combining a pre-constructed earth return flow model, line geometric parameters, and low-frequency parameter vectors. The difference between the high-frequency parameter vectors is calculated based on the high-frequency theoretical parameters to obtain the parameter difference index. A sinusoidal response model is constructed by substituting the dual-frequency electrical parameters of the line into the line parameter observation equation set, and the model predicts the response signal by outputting the sinusoidal response model. The predicted response signal domain of the model is subtracted from the target dual-frequency response signal point by point to obtain the predicted residual sequence; The predicted residual sequence is segmented by a sliding window to construct the time-series trajectory matrix corresponding to the predicted residual sequence; Singular value decomposition is performed on the time-series trajectory matrix, and the singular spectral entropy value of the predicted residual sequence is calculated based on the singular value decomposition results; Nonlinear fusion of parameter difference index and singular spectrum entropy value yields outlier evaluation index; The outlier evaluation index is used to eliminate outliers in the dual-frequency electrical parameters of the line, thereby obtaining the dynamic equivalent parameters of the target transmission line.

[0095] In this embodiment, key physical quantities at the low-frequency injection frequency and the corresponding set of physical quantities at the high-frequency injection frequency are extracted from the dual-frequency electrical parameters of the line, each forming a parameter vector. The low-frequency parameter vector includes parameters significantly affected by the Carson frequency-sensitive effect, such as positive-sequence resistance, positive-sequence inductance, zero-sequence resistance, zero-sequence inductance, and capacitance to ground. The high-frequency parameter vector includes parameters of the same type and in the same order. The two sets of parameter vectors correspond strictly to each other, facilitating subsequent item-by-item comparison. Using a pre-constructed earth return current model, i.e., the earth return current correction term, and line geometric parameters retrieved from the power system database, including conductor radius, phase suspension height, and phase-to-phase distance, the reference physical quantities that are essentially independent of frequency in the low-frequency parameter vector are extracted. These reference physical quantities include DC resistance parameters, external geometric inductance parameters, and capacitance parameters. Based on the known earth resistivity estimate, the resistance and inductance components that should exist at the high-frequency injection frequency are recalculated using the earth return current model. The calculation results are combined with the frequency-insensitive capacitance parameters to form a theoretically predicted high-frequency parameter vector, i.e., high-frequency theoretical parameters. The mapping process is based entirely on the physical laws of electromagnetic fields and does not rely on any empirical fitting.

[0096] Each component in the high-frequency parameter vector is compared one by one with the corresponding component in the high-frequency theoretical parameters. To balance the influence of different parameter dimensions and confidence levels, weights are applied to the differences between each component. The weights are taken from the reciprocals of the diagonal elements of the posterior covariance matrix, so that parameters with lower uncertainty occupy a larger proportion in the difference index. The sum of squares of the weighted differences between each component is calculated, and then the square root is taken to obtain the parameter difference index. This index quantitatively reflects the degree of deviation between the measured dual-frequency parameters and the Carson frequency-sensitivity law. The smaller the parameter difference index, the more the dual-frequency parameter changes conform to physical laws; the larger the parameter difference index, the more likely there is nonlinear abrupt interference.

[0097] By substituting the dual-frequency electrical parameters of the line into the line parameter observation equations, the theoretical voltage and current phasors at the low-frequency and high-frequency injection frequencies are calculated. Using these theoretical phasors, an ideal sinusoidal waveform corresponding to the injected signal is reconstructed in the time domain, which is the sinusoidal response model. This sinusoidal response model represents the theoretical response of the line to the injected signal under the estimated parameters. The reconstructed time-domain waveform is output to obtain the model's predicted response signal.

[0098] The predicted response signal output by the sinusoidal response model is aligned with and subtracted from the target dual-frequency response signal on a time-series basis to obtain the predicted residual sequence. The predicted residual sequence contains measurement noise, subtle components not fully described by the model, and potential transient interference. Under normal operating conditions, the residuals are close to white noise, with small amplitudes and stable statistical characteristics; when outliers exist, the residuals may exhibit abnormal impulses or localized energy concentrations.

[0099] A sliding time window of a preset length is applied to the predicted residual sequence, typically 256 sampling points. The window slides forward one sampling point at a time, and a time trajectory matrix is ​​constructed for the residual segments within the window. The construction method is as follows: the residual sequences within the window are arranged sequentially, and a row is extracted after each lag of one point, forming a matrix with the number of rows equal to the embedding dimension and the number of columns equal to the window length minus the embedding dimension plus one. The embedding dimension is set to half the window length, i.e., 128, to balance frequency resolution and statistical stability.

[0100] Singular value decomposition is performed on the time-series trajectory matrix corresponding to each window, resulting in a set of singular values ​​arranged in descending order. Each singular value is divided by the sum of all singular values ​​to obtain the normalized energy percentage of each singular value. Information entropy is calculated using these percentages: each percentage is multiplied by the logarithm to base 2, summed, and the result is the singular spectral entropy value of the predicted residual sequence for the current window. Under normal operating conditions, the residual is close to white noise, the energy distribution of each singular value is relatively uniform, and the singular spectral entropy value is high and stable; a known normal time period of data can be collected in advance, and its average singular spectral entropy value can be calculated as a benchmark. When transient pulses or nonlinear abrupt changes occur, the residual energy concentrates in a few singular values, and the singular spectral entropy value will decrease significantly.

[0101] The decrease in parameter difference index and singular spectral entropy value is fused into a comprehensive outlier assessment index using a nonlinear kernel function. First, the parameter difference index and singular spectral entropy value are normalized. Then, the normalized parameter difference index and singular spectral entropy value are squared and summed, and the negative result is used as the exponent of the natural exponential function. Subtracting this exponent value from 1 yields an outlier assessment index between 0 and 1. When the physical deviation is zero and the spectral entropy is normal, this index is close to 0; when either factor shows an abnormal increase, the index rapidly approaches 1.

[0102] Set an outlier threshold, such as 0.8. If the index is greater than or equal to 0.8, the current data segment is considered to be severely contaminated by outliers, and all dual-frequency electrical parameters of the corresponding line are removed. For the removed data segment, using the line dual-frequency electrical parameter sequences from multiple consecutive valid time periods, state prediction methods such as particle filtering or Kalman filtering are used to provide reasonable interpolation values ​​for the parameters in that time period to maintain the temporal continuity of the output. If the index is less than 0.8, the data segment is retained. After the above processing, the cleaned and interpolated parameter sequence is obtained, which is the dynamic equivalent parameter of the target transmission line. At the same time, the outlier marker bits and evaluation index logs for each time period are output for data quality traceability in subsequent steps when building the dynamic parameter model.

[0103] This application also provides a line parameter tester, including: The memory is configured to store instructions; and The processor is configured to retrieve the instructions from the memory and, when executing the instructions, to implement the line parameter testing method according to any one of the preceding statements.

[0104] This application also provides a machine-readable storage medium storing instructions for causing a machine to perform a line parameter testing method according to any one of the preceding claims.

[0105] The processor can be a central processing unit (CPU). Of course, depending on the actual use, it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc., and this application does not limit it.

[0106] The memory can be an internal storage unit of a computer device, such as a hard disk or RAM, or an external storage device, such as a plug-in hard disk, smart memory card (SMC), secure digital card (SD), or flash memory card (FC) provided on the computer device. Furthermore, the memory can be a combination of internal storage units and external storage devices of a computer device. The memory is used to store computer programs and other programs and data required by the computer device. The memory can also be used to temporarily store data that has been output or will be output. This application does not limit this.

[0107] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0108] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0110] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0111] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0112] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0113] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0114] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0115] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for testing line parameters, characterized in that, The method includes the following steps: Spectrum analysis sampling is performed on the target transmission line to obtain the line spectrum information of the target transmission line; The frequency points of the dual-frequency signal are determined based on the line spectrum information, and the dual-frequency signal frequency points are combined with the pre-generated pseudo-random orthogonal code sequence to synthesize the dual-band excitation signal. A dual-band excitation signal is injected into the target transmission line, and the electrical signals at both ends of the target transmission line are simultaneously acquired by a line parameter tester pre-set on the target transmission line. Dual-frequency synchronous noise reduction of electrical signals at both ends of the line is completed based on pseudo-random orthogonal code sequences to obtain the target dual-frequency response signal, and the dual-end signal phasors of the target transmission line are calculated based on the target dual-frequency response signal. The line parameter observation equations of the target transmission line are constructed based on the dual-end signal phasors, and the line parameter observation equations are iteratively solved using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line. Based on the pre-constructed ground return model, the dual-frequency electrical parameters of the line are verified for consistency. Based on the dual-frequency consistency verification results, outliers of the dual-frequency electrical parameters of the line are eliminated to obtain the dynamic equivalent parameters of the target transmission line.

2. The method according to claim 1, characterized in that, The process of performing dual-frequency synchronous noise reduction on the electrical signals at both ends of the line based on pseudo-random orthogonal code sequences to obtain the target dual-frequency response signal, and calculating the dual-end signal phasors of the target transmission line based on the target dual-frequency response signal, includes the following steps: Based on the injection time of the pre-acquired dual-band excitation signal, the electrical signals at both ends of the line are divided into the response signal at both ends of the line and the background signal at both ends of the line. The sliding cross-correlation analysis of the two-terminal response signal of the line was performed based on the pseudo-random orthogonal code sequence, and the dual-frequency response component was separated from the two-terminal response signal of the line based on the sliding cross-correlation analysis results. The adaptive notch filter is used to perform adaptive notch filtering of the dual-frequency response components to obtain the dual-frequency response signal. The dual-frequency response signal is sinusoidally fitted using the least squares method to obtain the dual-frequency response sine wave, and the dual-frequency response residual sequence is calculated by combining the dual-frequency response sine wave and the dual-frequency response signal. A noise linear prediction model is constructed based on the dual-frequency response residual sequence, and the noise linear prediction model is used to predict and cancel the interference of the dual-frequency response signal to obtain the target dual-frequency response signal. The full-phase phasor analysis of the target dual-frequency response signal is completed using the linear frequency modulated Z-transform algorithm, and the dual-frequency complex phasor of the target dual-frequency response signal is obtained. The dual-frequency complex phasor includes the first-end dual-frequency phasor and the second-end dual-frequency phasor. The signal envelope information of the target dual-frequency response signal is extracted, and the dual-frequency complex phasors are compensated by combining the signal envelope information and the background signal at both ends of the line to obtain the dual-end signal phasors.

3. The method according to claim 2, characterized in that, The process of performing full-phase phasor analysis of the target dual-frequency response signal using the linear frequency-modulated Z-transform algorithm to obtain the dual-frequency complex phasors of the target dual-frequency response signal includes the following steps: The target dual-frequency response signal is segmented using a preset time window to obtain multiple dual-frequency response signal segments. These multiple dual-frequency response signal segments are then cyclically shifted and superimposed to obtain a full-phase dual-frequency signal sequence. A full-phase window function is applied to the full-phase dual-frequency signal sequence, and a fast Fourier transform is performed on the full-phase dual-frequency signal to obtain the dual-frequency spectrum information; Determine the initial phase and initial frequency of the dual-frequency signal based on the dual-frequency spectrum information; A local frequency search interval is constructed with the initial frequency as the center; The linear frequency modulated Z-transform algorithm is used to perform non-uniform frequency sampling on the full-phase dual-frequency signal sequence within the local frequency search interval to obtain the spectral response sequence. The position of the sequence peak of the spectral response sequence is determined by the three-point parabolic interpolation algorithm, and the dual-frequency complex phasor of the target dual-frequency response signal is calculated based on the position of the sequence peak.

4. The method according to claim 3, characterized in that, The steps of extracting the signal envelope information of the target dual-frequency response signal and performing phasor compensation on the dual-frequency complex phasors by combining the signal envelope information and the background signal at both ends of the line to obtain the dual-end signal phasors include the following: By performing Hilbert transform on the target dual-frequency response signal, the double-ended envelope sequence of the target dual-frequency response signal is extracted, wherein the double-ended envelope sequence includes a first-ended envelope sequence and a second-ended envelope sequence. Cross-correlation analysis between the two-ended envelope sequences was performed by translating the second-ended envelope sequence point by point, and the sampling time offset between the two-ended envelope sequences was calculated based on the cross-correlation analysis results. Based on the sampling time offset, the phasor correction of the second-end dual-frequency phasor is completed to obtain the second-end reference phasor; The injected differential voltage and injected differential current of the target transmission line are calculated based on the background signals at both ends of the line, and the equivalent admittance on the bus side is calculated in combination with the injected differential voltage and injected differential current. Based on the equivalent admittance on the bus side, the current shunting compensation of the first-end dual-frequency current phasor in the first-end dual-frequency phasor is completed to obtain the first-end reference phasor. By integrating the second-end reference phasor and the first-end reference phasor, the two-end signal phasors of the target transmission line are obtained.

5. The method according to claim 1, characterized in that, The process of constructing a set of line parameter observation equations for the target transmission line based on the dual-ended signal phasors, and then iteratively solving the set of line parameter observation equations using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line includes the following steps: The fixed parameters of the target transmission line are retrieved from the preset power system database. These fixed parameters include line geometric parameters, line material parameters, and line physical constants. A set of line parameter observation equations was constructed by combining fixed line parameters and two-terminal signal phasors. The two-ended signal phasors are used as line observation data, and the line parameter observation equations are materialized and then used as line observation functions. The constraints of the transmission line are determined based on the fixed parameters of the target transmission line, and then mapped to the feasible region of the line parameters based on the fixed parameters. The initial stage parameters of the line observation function are estimated based on the two-terminal signal phasors to obtain the estimated values ​​of the line parameters; The sparse Bayesian algorithm is used to iteratively optimize the line parameter estimates and obtain the dual-frequency electrical parameters of the line.

6. The method according to claim 5, characterized in that, The process of constructing the line parameter observation equation set by combining fixed line parameters and two-terminal signal phasors includes the following steps: The phasor distribution transmission relationship of the target transmission line is determined based on the phasors of the two-ended signals and using the multi-conductor transmission line theory. Initialize the line equivalent parameter set based on the fixed line parameters; By combining the equivalent parameter set of the line and the fixed parameters of the line, skin effect correction terms and ground return flow correction terms are constructed. A series impedance matrix is ​​constructed by superimposing skin effect correction terms, ground return current correction terms, and lumped DC resistance parameters of the line equivalent parameters. Based on the line geometric parameters and using the mirror method, the potential coefficient matrix is ​​constructed, and the unit capacitance matrix is ​​constructed by inverting the potential coefficient matrix. A parallel admittance matrix is ​​constructed by combining the unit capacitance matrix and the physical constants of the line; The propagation constant matrix and characteristic impedance matrix are calculated by combining the series impedance matrix and the parallel admittance matrix; The parallel admittance matrix, characteristic impedance matrix, and two-terminal signal phasors are substituted into the hyperbolic function matrix to construct the line parameter observation equation set.

7. The method according to claim 5, characterized in that, The iterative optimization of the line parameter estimates using the sparse Bayesian algorithm to obtain the dual-frequency electrical parameters of the line includes the following steps: The estimated line parameters are transformed into the phase domain parameter space and used as the initial line parameters. Using the initial line parameters as a baseline, sparse parameter variables are constructed, and an automatic correlation determination machine is used to construct a hierarchical probability prior model for the sparse parameter variables. The posterior probability of observations for dual-frequency observation data is calculated by combining the hierarchical probability prior model and the line observation function. The posterior probability of the observation is mapped to the feasible region of the line parameters to complete the constraint verification. Based on the constraint verification results, the initial line parameters are updated using the expectation maximization iterative strategy until the updated initial line parameters reach the preset parameter convergence condition, and the dual-frequency electrical parameters of the line are output.

8. The method according to claim 5, characterized in that, The process of verifying the dual-frequency consistency of the line's dual-frequency electrical parameters based on a pre-built ground return current model, and eliminating outliers in the line's dual-frequency electrical parameters based on the verification results, to obtain the dynamic equivalent parameters of the target transmission line includes the following steps: Based on the dual-frequency electrical parameters of the line, high-frequency parameter vectors and low-frequency parameter vectors are constructed. High-frequency theoretical parameters are calculated by combining a pre-constructed earth return flow model, line geometric parameters, and low-frequency parameter vectors. The difference between the high-frequency parameter vectors is calculated based on the high-frequency theoretical parameters to obtain the parameter difference index. A sinusoidal response model is constructed by substituting the dual-frequency electrical parameters of the line into the line parameter observation equation set, and the model predicts the response signal by outputting the sinusoidal response model. The predicted response signal domain of the model is subtracted from the target dual-frequency response signal point by point to obtain the predicted residual sequence; The predicted residual sequence is segmented by a sliding window to construct the time-series trajectory matrix corresponding to the predicted residual sequence; Singular value decomposition is performed on the time-series trajectory matrix, and the singular spectral entropy value of the predicted residual sequence is calculated based on the singular value decomposition results; Nonlinear fusion of parameter difference index and singular spectrum entropy value yields outlier evaluation index; The outlier evaluation index is used to eliminate outliers in the dual-frequency electrical parameters of the line, thereby obtaining the dynamic equivalent parameters of the target transmission line.

9. A line parameter tester, characterized in that, include: The memory is configured to store instructions; as well as A processor is configured to retrieve the instructions from the memory and, when executing the instructions, to implement the line parameter testing method according to any one of claims 1 to 8.

10. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores instructions for causing the machine to perform the line parameter testing method according to any one of claims 1 to 8.