Line phase checking method, device, equipment, storage medium and program product

By injecting a carrier signal into the low-voltage line and performing filtering, the actual phase is extracted, which solves the problem of low phase matching efficiency in the existing technology for low-voltage lines and achieves efficient and accurate phase matching of the line.

CN121114591APending Publication Date: 2025-12-12GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511392265.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

Existing phase verification methods for low-voltage lines require testing each line individually, which consumes a lot of time and manpower and is not very efficient.

Method used

The initial carrier signal is modulated using signal modulation parameters and injected into the target line. Signal data is collected from the phase test point and filtered to extract the actual phase. The phase comparison result is determined based on the phase difference between the actual phase and the reference phase.

Benefits of technology

It eliminates the need for phase comparison of each line individually, reducing the time spent on phase comparison, improving the efficiency of phase comparison, and ensuring the accuracy and reliability of the phase comparison results through filtering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121114591A_ABST
    Figure CN121114591A_ABST
Patent Text Reader

Abstract

The invention relates to a line phase checking method, device and equipment, a storage medium and a program product. The method comprises the following steps: modulating an initial carrier signal by adopting a signal modulation parameter to obtain a target carrier signal; injecting the target carrier signal into the target line; acquiring signal data in the target line from the phase to-be-measured point of the target line, and filtering the signal data to obtain a filtered signal corresponding to the target carrier signal; extracting the actual phase of the filtering signal; and determining a nuclear phase result of the target line according to the phase difference between the actual phase and the reference phase. According to the method, phase checking is carried out on the target line by using the characteristic that the carrier signal can stably transmit the phase characteristic in the line, the stability and accuracy of the phase checking result can be improved, and the phase checking efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power distribution networks, in particular to a line phase checking method, device, equipment, storage medium and program product. BACKGROUND

[0002] Line phase checking is an important technical operation in power system operation and maintenance, mainly used to confirm whether the phase relationship between each phase line in a low-voltage distribution line is correct, to ensure the safe and stable operation of power equipment. Before power construction, maintenance, reconstruction or new line operation, phase checking work is often needed to prevent equipment damage, short circuit, tripping and even personal safety accidents caused by phase errors.

[0003] Currently, low-voltage line phase checking is usually measured by phase checker, voltmeter or oscilloscope, etc. The operator compares and verifies the phase sequence (such as A, B, C phase) of the line under the premise of safety.

[0004] However, the above phase checking method needs to test the line one by one, which consumes a lot of time and manpower, and the phase checking efficiency is not high. SUMMARY

[0005] Therefore, it is necessary to provide a line phase checking method, device, equipment, storage medium and program product capable of improving the phase checking efficiency in view of the above technical problems.

[0006] In a first aspect, the present application provides a line phase checking method, comprising:

[0007] modulating an initial carrier signal by a signal modulation parameter to obtain a target carrier signal; wherein the signal modulation parameter is determined based on the line characteristics of a target line to be phase checked;

[0008] injecting the target carrier signal into the target line;

[0009] collecting signal data in the target line from a phase measurement point of the target line, and performing filtering processing on the signal data to obtain a filtered signal corresponding to the target carrier signal;

[0010] extracting the actual phase of the filtered signal;

[0011] determining the phase checking result of the target line according to the phase difference between the actual phase and the reference phase.

[0012] In one of the embodiments, the filtering the signal data to obtain the filtered signal corresponding to the target carrier signal comprises: collecting current line impedance data of the target line; in a case where a variation amplitude of the current line impedance data relative to previously collected line impedance data is greater than an amplitude threshold, adjusting a preset filter coefficient according to the current line impedance data to obtain a target filter coefficient; and filtering the signal data using the target filter coefficient to obtain the filtered signal corresponding to the target carrier signal.

[0013] In one of the embodiments, the method further comprises: collecting line characteristics of the target line; wherein the line characteristics comprise current line impedance data, noise intensity, and temperature; and determining the signal modulation parameter and the preset filter coefficient according to the current line impedance data, the noise intensity, and the temperature.

[0014] In one of the embodiments, the reference phase is a phase of phase A; and the determining the phase result of the target line according to the phase difference between the actual phase and the reference phase comprises: in a case where the phase difference between the actual phase and the reference phase belongs to a first difference interval, determining that the phase of the target line is phase A; in a case where the phase difference between the actual phase and the reference phase belongs to a second difference interval, determining that the phase of the target line is phase B; and in a case where the phase difference between the actual phase and the reference phase belongs to a third difference interval, determining that the phase of the target line is phase C; wherein an end value of the first difference interval is less than an end value of the second difference interval, and the end value of the second difference interval is less than an end value of the third difference interval.

[0015] In one of the embodiments, the method further comprises: determining a sampling time period for the target line according to the phase result of the target line; collecting load data of the target line in the sampling time period; wherein the load data at least comprises voltage data and current data; and performing load adjustment on the target line according to the load data.

[0016] In one of the embodiments, the determining the sampling time period for the target line according to the phase result of the target line comprises: determining a time of a phase zero-crossing point of the target line according to the phase result of the target line; determining a sampling start time and a sampling end time of the sampling time period according to the time and a preset time length; and determining the sampling time period for the target line according to the sampling start time and the sampling end time.

[0017] In a second aspect, the application further provides a line phase determination device, comprising:

[0018] A modulation module is used to modulate an initial carrier signal using signal modulation parameters to obtain a target carrier signal; wherein, the signal modulation parameters are determined based on the line characteristics of the target line to be phase-checked;

[0019] The transmitting module is used to inject the target carrier signal into the target line;

[0020] The filtering module is used to collect signal data from the phase test point of the target line and filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0021] The extraction module is used to extract the actual phase of the filtered signal;

[0022] The determination module is used to determine the phase difference between the actual phase and the reference phase of the target line.

[0023] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the various method embodiments provided in the first aspect above.

[0024] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the various method embodiments provided in the first aspect above.

[0025] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the various method embodiments provided in the first aspect above.

[0026] The aforementioned phase comparison method, apparatus, equipment, storage medium, and program product modulate an initial carrier signal using signal modulation parameters to obtain a target carrier signal; inject the target carrier signal into the target line; collect signal data from the phase test point of the target line, and filter the signal data to obtain a filtered signal corresponding to the target carrier signal; extract the actual phase of the filtered signal; and determine the phase comparison result of the target line based on the phase difference between the actual phase and the reference phase. In this method, phase comparison is performed by extracting the phase of the carrier signal in the target line, eliminating the need for instruments to perform phase comparison on each line individually, reducing the time spent on phase comparison, improving phase comparison efficiency, and ensuring that the carrier signal can stably transmit phase characteristics in the line. Furthermore, filtering the signal data further guarantees the accuracy of the actual phase of the filtered signal, thereby improving the accuracy and reliability of the phase comparison result. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a diagram illustrating the application environment of the line phase comparison method in one embodiment;

[0029] Figure 2 This is a flowchart illustrating a circuit phase comparison method in one embodiment;

[0030] Figure 3 This is a flowchart illustrating the filtering process in one embodiment;

[0031] Figure 4 This is a flowchart illustrating the process of determining signal modulation parameters and preset filter coefficients in one embodiment;

[0032] Figure 5 This is a flowchart illustrating the load adjustment steps in one embodiment;

[0033] Figure 6 This is a flowchart illustrating the steps for determining the sampling period in one embodiment;

[0034] Figure 7 This is a flowchart illustrating the phase comparison method for lines in another embodiment;

[0035] Figure 8 This is a structural block diagram of the circuit phase matching device in one embodiment;

[0036] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0038] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0039] Phase verification is an important technical operation in the operation and maintenance of power systems. It is mainly used to confirm the correct phase relationship between the phase lines in low-voltage distribution lines to ensure the safe and stable operation of power equipment. Phase verification is often required before power construction, maintenance, renovation, or commissioning of new lines to prevent equipment damage, short circuits, tripping, or even personal injury accidents caused by incorrect phases.

[0040] Currently, phase comparison of low-voltage lines is typically performed using instruments such as phase comparators, voltmeters, or oscilloscopes. Operators, while ensuring safety, compare and verify the phase sequence (e.g., A, B, C phases) of the line. However, these phase comparison methods require testing each line individually, consuming a significant amount of time and manpower, resulting in low efficiency.

[0041] In view of this, embodiments of this application propose a method, apparatus, device, storage medium, and program product for phase comparison of a line. The method involves modulating an initial carrier signal using signal modulation parameters to obtain a target carrier signal; injecting the target carrier signal into a target line; acquiring signal data from the phase test point of the target line and filtering the signal data to obtain a filtered signal corresponding to the target carrier signal; extracting the actual phase of the filtered signal; and determining the phase comparison result of the target line based on the phase difference between the actual phase and the reference phase. In this method, phase comparison is performed by extracting the phase of the carrier signal in the target line, eliminating the need for instruments to perform phase comparison on each line individually, reducing the time spent on phase comparison, improving efficiency, and ensuring that the carrier signal can stably transmit phase characteristics in the line. Furthermore, filtering the signal data further guarantees the accuracy of the actual phase of the filtered signal, thereby improving the accuracy and reliability of the phase comparison result.

[0042] The line phase comparison method provided in this application embodiment can be applied to, for example, Figure 1The illustrated line phase comparison system includes a transmitting module, a receiving module, and a phase comparison module. The transmitting module modulates an initial carrier signal using signal modulation parameters to obtain a target carrier signal, which is then injected into the target line. The receiving module collects signal data from the phase test points of the target line, filters the signal data to obtain a filtered signal corresponding to the target carrier signal, and extracts the actual phase of the filtered signal, sending it to the phase comparison module. The phase comparison module determines the phase comparison result of the target line based on the phase difference between the actual phase and the reference phase.

[0043] In one exemplary embodiment, such as Figure 2 As shown, a line phase comparison method is provided for application. Figure 1 Taking the line phase matching system as an example, it includes:

[0044] S201, the initial carrier signal is modulated using signal modulation parameters to obtain the target carrier signal.

[0045] The signal modulation parameters are determined based on the line characteristics of the target line to be compared. These parameters may include carrier frequency, amplitude, bandwidth, and modulation depth. It is understood that to ensure efficient and reliable transmission of the target carrier signal within the target line—meaning the target carrier signal will not become unrecognizable due to line characteristics or be overwhelmed by noise, and can adapt to fluctuations in line parameters caused by environmental changes—the line characteristics of the target line may include line impedance data, noise intensity, and temperature. The line impedance data may include the resistance, inductance, and capacitance components of the target line. In this embodiment, the target line primarily refers to a low-voltage line, which can be a 220-volt (V) single-phase line or any phase of a 380V three-phase line.

[0046] Optionally, a carrier signal transmitter (i.e., a carrier signal transmitter) can be fixedly installed at the outgoing terminal of the branch switch in the power room. Figure 1The transmitter module modulates the initial carrier signal using signal modulation parameters to obtain the target carrier signal. The bottom of the transmitter is mechanically connected to the switch cabinet using metal clips to ensure shock resistance meets the international protection rating standard of Ingress Protection Rating 4 (Solid Protection) 4 (Liquid Protection), IP44. The transmitting antenna extends 1.5 meters outside the cabinet via a 3-meter shielded cable. The transmitter automatically selects the carrier frequency in the signal modulation parameters based on the rated voltage of the target line in the power room. For example, an 80kHz carrier frequency is used for a 220V single-phase line, while a 120kHz carrier frequency is used for a 380V three-phase line to reduce interphase interference. The initial carrier signal can be a sine wave, and the amplitude in the signal modulation parameters can be 2.5V, meaning the target carrier signal is a 5V peak-to-peak sine wave. The modulation depth can be set to 60% to balance signal strength and transmission distance.

[0047] S202, inject the target carrier signal into the target line.

[0048] Optionally, the transmitting device injects the target carrier signal into the target line using amplitude shift keying (APS) modulation. After the initial carrier signal is modulated by the internal circuitry of the transmitting device, the resulting target carrier signal is directly injected into the target line through the output terminal.

[0049] S203: Collect signal data from the phase test point of the target line, and filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0050] The phase test point can be any location on the target line outside the power room that meets the safe operating conditions, and can be selected according to the specific needs.

[0051] Optionally, a receiving device can be installed at an insulated crossarm position 0.8 meters from the utility pole, using a clamp-type fixing structure suitable for poles with diameters of 50 to 150 mm. The receiving device is used to acquire signal data from the target line at the phase measurement point.

[0052] In the above embodiments, the receiving device adopts a clamp-type fixing structure that can be adapted to utility poles of different diameters, eliminating the dependence on specific wiring terminals. Maintenance personnel can complete the measurement at any location outside the power room that has safe operating conditions, without having to deliberately search for the signal access point required for phase verification in traditional methods, which greatly reduces the limitations of on-site site selection.

[0053] Optionally, after connecting the transmitter and receiver to a 220V AC power supply and connecting the signal cables, the line phase verification system automatically starts a three-level self-test process. First, it checks whether the output power of the transmitter's carrier generator is stable within the range of 5W ± 0.5W. Second, it verifies whether the signal sensitivity of the receiver reaches -110 dBm. Finally, the transmitter and receiver confirm that the bit error rate of the communication link is less than 0.1% by sending 10 sets of verification data packets in both directions. After all indicators meet the standards, it enters standby mode to wait for instructions.

[0054] After the target carrier signal is injected into the target line, the signal data in the target line includes the target carrier signal, power frequency signal, and other noise signals. Therefore, in order to extract the target carrier signal from the signal data of the target line, the signal data needs to be filtered to obtain the filtered signal corresponding to the target carrier signal. Optionally, the receiving device includes a preamplifier and a processing unit consisting of a 6th-order finite impulse response filter (FIR filter) and an adaptive noise canceller. The preamplifier amplifies the signal data to a 2V effective value and then sends it to the processing unit for filtering to obtain the filtered signal corresponding to the target carrier signal.

[0055] S204 extracts the actual phase of the filtered signal.

[0056] The method for extracting the actual phase of the filtered signal can be selected according to actual needs. For example, a known signal 1 with frequency f0 is selected, and two reference signals (in-phase and quadrature reference signals) with a 90° phase difference are generated based on signal 1. The filtered signal is multiplied by the in-phase and quadrature reference signals respectively, and the multiplied signals are filtered to remove high-frequency components, obtaining in-phase and quadrature components. Then, the arctangent of the in-phase and quadrature components is calculated to obtain the actual phase of the filtered signal. Another example is selecting a known signal 1 with frequency f0, determining the ideal zero-crossing time T0 of signal 1 based on f0, sampling the filtered signal, detecting the actual zero-crossing time T1, calculating the phase difference between signal 1 and the filtered signal based on the time difference between T0 and T1, and determining the actual phase of the filtered signal based on the phase difference and the phase of signal 1. Optionally, the receiving device can convert the time-domain filtered signal into frequency-domain features using a Fast Fourier Transform and extract the actual phase of the filtered signal from the frequency-domain features.

[0057] Optionally, the receiving device can also extract the amplitude and frequency offset of the filtered signal, process the actual phase, amplitude and frequency offset and other characteristic data through a digital signal processor, and transmit the processed characteristic data to the phase comparison module at a baud rate of 9600 bits per second to ensure that the data delay is controlled within 50 milliseconds.

[0058] S205, determine the phase difference of the target line based on the phase difference between the actual phase and the reference phase.

[0059] In this system, the target carrier signal and the electrical signal of the target line are transmitted along the same path. Changes in parameters such as line impedance and load have a synchronous effect on their phases, ensuring a stable phase difference. Furthermore, the transmitting device is directly connected to the output terminal of the branch switch corresponding to the target line. The phase correlation between the injected target carrier signal and the electrical signal of the target line is fixed, preventing confusion with other phases. Simultaneously, the target carrier signal is designed for high frequency (80kHz or 120kHz), separating it from the power frequency signal. It can be accurately extracted through filtering and is unaffected by electrical signal interference. Therefore, the actual phase of the filtered signal corresponding to the target carrier signal accurately represents the phase of the electrical signal of the target line.

[0060] It is understandable that the phases of a three-phase line are fixed at 120° intervals. This means that the phase difference between any one phase and the other two phases is constant. Based on this, the phase difference between the actual phase and the reference phase can be used to determine the phase identification result of the target line. The reference phase can be any one of phases A, B, or C of the three-phase line. For example, if the reference phase is phase C, and the phase difference between the actual phase and the reference phase is around 240°, then the target line is phase A. If the phase difference between the actual phase and the reference phase is around 120°, then the target line is phase B. If the phase difference between the actual phase and the reference phase is around 0°, then the target line is phase C.

[0061] Optionally, the phase comparison module in the line phase comparison system determines the phase comparison result of the target line based on the phase difference between the actual phase and the reference phase.

[0062] In the above embodiments, an initial carrier signal is modulated using signal modulation parameters to obtain a target carrier signal; the target carrier signal is injected into the target line; signal data in the target line is collected from the phase test point of the target line, and the signal data is filtered to obtain a filtered signal corresponding to the target carrier signal; the actual phase of the filtered signal is extracted; and the phase difference between the actual phase and the reference phase is used to determine the phase comparison result of the target line. In this method, phase comparison is performed by extracting the phase of the carrier signal in the target line, eliminating the need for instruments to perform phase comparison on each line individually, reducing the time spent on phase comparison, improving phase comparison efficiency, and ensuring that the carrier signal can stably transmit phase characteristics in the line. Filtering the signal data further guarantees the accuracy of the actual phase of the filtered signal, thereby improving the accuracy and reliability of the phase comparison result.

[0063] In one exemplary embodiment, such as Figure 3 As shown, the filtering steps in S203 are further defined, including:

[0064] S301: Collect the current line impedance data of the target line.

[0065] Optionally, the impedance monitoring module built into the transmitting device collects line impedance data at fixed time intervals, for example, every 100 milliseconds. The current line impedance data is the line impedance data most recently collected by the impedance detection module, which may include resistance, inductance, capacitance components, etc., which will not be listed here.

[0066] S302: If the change in the current line impedance data relative to the previously collected line impedance data is greater than the amplitude threshold, adjust the preset filter coefficient according to the current line impedance data to obtain the target filter coefficient.

[0067] The amplitude threshold can be set based on experience, multiple trials, and actual needs, and no specific limit is set here.

[0068] Optionally, the amplitude threshold is 10%. When the impedance monitoring module detects the current line impedance data and the increase or decrease is greater than 10% compared to the previously collected line impedance data, it immediately activates the dynamic adjustment mechanism. The current line impedance data is transmitted to the filtering control module of the receiving device through the internal Controller Area Network (CAN) bus to provide real-time line characteristic parameters for filtering. The filtering control module adjusts the preset filtering coefficient according to the current line impedance data to obtain the target filtering coefficient.

[0069] Optionally, the preset filter coefficients include the initial value of the Kalman filter covariance matrix and the observation noise variance matrix. When the line impedance increases, the initial value of the Kalman filter covariance matrix can be decreased and the observation noise variance matrix can be increased to increase the attenuation ratio in the high-frequency band. When the impedance decreases, the initial value of the Kalman filter covariance matrix can be increased and the observation noise variance matrix can be decreased to enhance the filtering depth in the low-frequency band.

[0070] S303 uses the target filter coefficients to filter the signal data and obtain the filtered signal corresponding to the target carrier signal.

[0071] Since the frequency of the target carrier signal is much higher than the frequency of the electrical signal in the target line, the target filter coefficient is used to filter the signal data, remove the electrical signal and noise signal in the target line, and obtain the filtered signal corresponding to the target carrier signal.

[0072] In the above embodiments, by monitoring the line impedance of the target line in real time, the filter coefficients can be adjusted promptly based on the line impedance, improving the accuracy of the filter coefficients. This allows for more accurate extraction of the target carrier signal from the signal data, and further enhances the accuracy of phase comparison results by performing phase comparison based on the phase of the filtered signal. Furthermore, this enables effective phase comparison even in complex electromagnetic environments or under complex line conditions, reducing limitations on the electrical conditions and physical space of the work site.

[0073] In one exemplary embodiment, such as Figure 4 As shown, the signal modulation parameters and preset filter coefficients are determined in the following way:

[0074] S401, collect the line characteristics of the target line.

[0075] The line characteristics include current line impedance data, noise intensity, and temperature data.

[0076] S402 determines the signal modulation parameters and preset filter coefficients based on the current line impedance data, noise intensity, and temperature.

[0077] Understandably, current line impedance data affects the attenuation of the target carrier signal transmitted through the target line. For example, by determining the lowest impedance "frequency window" (e.g., 100-140 kHz) based on the current line impedance data and setting the target carrier signal frequency within this window, signal attenuation loss can be minimized. The main purpose of filtering signal data using filter coefficients is to extract the carrier signal and suppress noise signals. Therefore, when the line impedance increases, the attenuation ratio in the high-frequency band can be increased; when the line impedance decreases, the filtering depth in the low-frequency band can be enhanced. Noise intensity determines the anti-interference capability of the target carrier signal imparted by the signal modulation parameters. For example, if spectral analysis of noise intensity reveals that the noise frequency is concentrated in a certain frequency range, the carrier frequency needs to be adjusted to avoid the noise frequency range. Noise intensity also directly affects the suppression depth and bandwidth determined by the filter coefficients. For example, high noise intensity allows for a narrower bandwidth to reduce noise introduction, while low noise intensity allows for a wider bandwidth. Temperature indirectly affects the current line impedance data and noise intensity. Therefore, combining the current line impedance data, noise intensity, and temperature allows for a more accurate determination of signal modulation parameters and preset filter coefficients.

[0078] Optionally, firstly, the line phase comparison method described in this application is used to perform phase comparison on different lines within a preset time period, and a training sample set is constructed based on the data from the phase comparison process. Each training sample in the training sample set includes the line's operating condition data, signal modulation parameters, and filter coefficients during a single line phase comparison process. The operating condition data includes line impedance, noise intensity, and temperature; the signal modulation parameters include frequency, amplitude, and modulation depth; and the filter coefficients include the initial value of the Kalman filter covariance matrix and the observation noise variance matrix.

[0079] Secondly, a multivariate regression model is constructed with the objective of "maximizing the accuracy of phase comparison results and minimizing load measurement error," and the model parameters are trained using the backpropagation algorithm. The multivariate regression model consists of module 1 and module 2. Module 1 predicts signal adjustment parameters based on line impedance, noise intensity, and temperature. Module 2 predicts filtering coefficients based on the received line impedance, noise intensity, temperature, and the frequency predicted by module 1, thereby improving the signal-to-noise ratio of the filtered signal to above a preset threshold. Simultaneously, after phase comparison using the predicted signal modulation parameters and filtering coefficients, the actual accuracy of the phase comparison results and the load measurement error are fed back to the multivariate regression model. The multivariate regression model updates the model weight parameters through stochastic gradient descent, achieving closed-loop optimization of the injected parameters and filtering strategy.

[0080] The formula for adaptively updating the filter coefficients in module 2 can be:

[0081]

[0082] in, Let N represent the optimal observation noise variance matrix at the k-th phase check, and α represent the current noise weighting coefficient, which can be dynamically adjusted according to the line impedance value. The larger the line impedance value, the closer α is to 0.7. k This represents the real-time noise intensity (power spectral density) during the k-th nucleus phase. Let represent the optimal observation noise variance matrix for the (k-1)th nucleation, and β represent the phase error correction coefficient, which can be set empirically. θ represents the phase of the line determined by the k-th phase nucleation, in degrees; k This represents the actual phase of the line during the k-th phase nucleation.

[0083] The multivariate regression model obtained through the above training can be used in S402 to determine the signal modulation parameters and preset filter coefficients based on the current line impedance data, noise intensity, and temperature. In other words, in this embodiment, before each line phase check, the trained multivariate regression model obtains the signal modulation parameters and preset filter coefficients based on the line impedance data, noise intensity, and temperature. The signal is modulated using the signal modulation parameters. After the target carrier signal is injected into the target line, if the change in the current line impedance data relative to the previously acquired line impedance data is detected to be greater than an amplitude threshold, the preset filter coefficients are adjusted based on the current line impedance data to obtain the target filter coefficients. The signal data is then filtered based on the target filter coefficients to obtain the filtered signal.

[0084] In the above embodiments, the current line impedance data, noise intensity, and temperature determine the signal modulation parameters and preset filtering coefficients. This ensures that the filtered signal data more accurately represents the phase of the target line, improves the accuracy of phase comparison results, reduces the impact of line interference on signal identification, and ensures that the phase line judgment results remain stable and reliable even under complex operating conditions. It reduces reliance on the professional skills of operators, transforming the entire measurement process from traditional multi-step manual operation into a simplified "start-wait-confirm" workflow, significantly improving the convenience and efficiency of on-site operations.

[0085] In an exemplary embodiment, the reference phase is the phase of phase A, and the phase verification results of the target line include:

[0086] 1) If the phase difference between the actual phase and the reference phase is within the first difference interval, the phase of the target line is determined to be phase A.

[0087] 2) If the phase difference between the actual phase and the reference phase is within the second difference range, the phase of the target line is determined to be phase B.

[0088] 3) When the phase difference between the actual phase and the reference phase belongs to the third difference interval, the phase of the target line is determined to be phase C; wherein, the endpoint value of the first difference interval is less than the endpoint value of the second difference interval, and the endpoint value of the second difference interval is less than the endpoint value of the third difference interval.

[0089] Specifically, when the reference phase is phase A, if the target line's phase is phase A, then the phase difference between the actual phase and the reference phase should be around 0°, and the first difference range can be (-5°, 5°); if the target line's phase is phase B, then the phase difference between the actual phase and the reference phase should be around 120°, and the second difference range can be (115°, 125°); if the target line's phase is phase C, then the phase difference between the actual phase and the reference phase should be around 240°, and the third difference range can be (235°, 245°).

[0090] In one exemplary embodiment, such as Figure 5 As shown, after obtaining the phase comparison results for the target line, load adjustments can be made based on the phase comparison results, including:

[0091] S501, based on the phase comparison results of the target line, determine the sampling period for the target line.

[0092] The sampling period of the target line can include the peak time, the valley time, or the phase zero-crossing time. For example, the sampling period can be 40 microseconds before and after the peak time.

[0093] S502 collects load data of the target line during the sampling period.

[0094] The load data includes at least voltage and current data. It may also include active power, reactive power, and power factor determined based on the voltage and current data, without any specific limitations.

[0095] S503 adjusts the load on the target line based on load data.

[0096] For example, if it is determined that the load of the target line is higher than the load of the other two phase lines, the load of the target line can be transferred to any other phase line to adjust the three-phase load imbalance.

[0097] In the above embodiments, after determining the phase comparison results, the line load is further adjusted according to the phase comparison results, which can avoid problems such as overload or low voltage caused by three-phase load imbalance and improve the stability of the distribution network.

[0098] In one exemplary embodiment, such as Figure 6 As shown, the steps for determining the sampling period in S501 are further refined, including:

[0099] S601, based on the phase comparison results of the target line, determine the time when the phase of the target line crosses zero.

[0100] S602, determine the sampling start time and sampling end time of the sampling period according to the time and preset duration.

[0101] S603 determines the sampling period for the target line based on the sampling start time and sampling end time.

[0102] After determining the phase of the target line, the voltage or current of the target line can be collected using a voltage transformer or a current transformer. The time when the voltage crosses zero can be used as the time when the phase crosses zero; either method is acceptable, but not strictly limited. The preset duration can be set according to requirements. For example, if the preset duration is 100 microseconds, the sampling start time can be 50 microseconds before the phase crosses zero, and the sampling end time can be 50 microseconds after the phase crosses zero. The 50 microseconds before and after the phase crosses zero constitute the sampling period.

[0103] In the above embodiments, determining the sampling period based on the phase zero-crossing time of the target line can improve the accuracy of load measurement, and thus effectively improve the load condition of the target line and enhance the stability of line operation based on the load data.

[0104] Optionally, the line phase comparison system also includes a load measurement module. This module incorporates a high-precision current transformer and voltage sensor. After receiving the phase comparison results from the phase comparison module, a synchronous sampling mechanism is triggered. The sampling period is within 50 microseconds before and after the phase zero-crossing point to eliminate measurement errors caused by phase deviation. The current sampling range is set to 0-500 amps, the voltage sampling range is 0-400 V, the analog-to-digital conversion accuracy reaches 16 bits, and 256 data points are collected in each sampling period.

[0105] Optionally, the line phase comparison system also includes a main control unit in the substation. This main control unit receives load data transmitted from the load measurement module and phase comparison results transmitted from the phase comparison module via power line carrier communication. For the load data transmitted from the load measurement module, the main control unit uses a timestamp alignment algorithm to synchronize different types of load data to the same time axis, with time synchronization accuracy controlled within 1 millisecond. During data fusion, the 3σ rule is used to remove outliers. When a data point deviates from the mean by more than three times the standard deviation, it is automatically marked as an anomaly and replaced with the average of the five points before and after it. The processed data is uploaded to a cloud server, with the upload interval dynamically adjusted according to the data change rate to ensure that the operation and maintenance center can obtain critical data in a timely manner. For example, when the load fluctuation is less than 5%, an upload interval of 30 seconds is used; when the fluctuation exceeds 10%, a real-time upload mode is switched.

[0106] In practical applications, to verify the accuracy of the phase comparison results for the target line, optionally, a physical identifier exists on the target line to indicate the phase line to which the target line belongs. After obtaining the phase comparison results for the target line, the results are broadcast to the handheld terminal of the maintenance personnel via voice synthesis, while the phase line identifier and phase difference value are displayed on the terminal screen. The maintenance personnel provide feedback on the physical identifier of the target line through the intercom module. The main control unit converts the received voice command into text data and performs string matching with the phase comparison results. If the matching degree reaches 100%, the verification is deemed successful, and a final phase comparison report is generated; if there is a discrepancy, a retry mechanism is immediately initiated, instructing the transmitting device to re-inject the carrier signal and repeat steps S203-S205 to obtain a new phase comparison result. The maximum number of retries is set to 3; exceeding this number triggers an audible and visual alarm.

[0107] Optionally, the line phase verification system also includes a display module to integrate verified phase verification results and load data. It displays phase line assignments and real-time load values ​​in a graphical interface, and determines whether a three-phase imbalance exists based on load thresholds. If an imbalance exists, it generates load adjustment suggestions to guide maintenance personnel in the next steps. The display module uses a touchscreen, and the main interface is divided into three areas: the left side displays the topology of switches in the substation and external lines in vector form, with different phase lines distinguished by red, yellow, and green colors; the upper right side displays the three-phase current and voltage curves in real time, with a sampling period of 2 seconds per frame; and the lower right side displays the calculated results of the three-phase load imbalance. When the three-phase load imbalance exceeds the imbalance threshold, the load adjustment suggestion generation algorithm is automatically activated. Based on historical data and the current three-phase load distribution, an adjustment plan is determined, and the load line numbers and adjustment capacities to be transferred are displayed in a text list format. Each suggestion includes a comparison of the imbalance before and after adjustment, guiding maintenance personnel to perform precise operations. The load threshold and imbalance threshold can be set based on experience, multiple tests, and actual needs, and are not specifically limited here.

[0108] Based on the above embodiments, in an exemplary embodiment, such as Figure 7 As shown, the line phase comparison method in this application embodiment may include the following steps:

[0109] S701: Collect the line characteristics of the target line.

[0110] S702: Determine the signal modulation parameters and preset filter coefficients based on the current line impedance data, noise intensity, and temperature.

[0111] S703: Modulates the initial carrier signal using signal modulation parameters to obtain the target carrier signal.

[0112] S704: Inject the target carrier signal into the target line.

[0113] S705: Collects signal data from the phase test point of the target line.

[0114] S706: Collect the current line impedance data of the target line; if the change in the current line impedance data relative to the previously collected line impedance data is greater than the amplitude threshold, adjust the preset filter coefficient according to the current line impedance data to obtain the target filter coefficient.

[0115] S707: The target filter coefficients are used to filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0116] S708: Extract the actual phase of the filtered signal; determine the phase comparison result of the target line based on the phase difference between the actual phase and the reference phase.

[0117] S709: Based on the phase comparison results of the target line, determine the sampling period for the target line; during the sampling period, collect the load data of the target line; adjust the load of the target line according to the load data.

[0118] The specific implementation methods of S701-S709 are the same as those in the above method embodiments, and will not be repeated here.

[0119] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0120] Based on the same inventive concept, this application also provides a line phase comparison device for implementing the line phase comparison method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of the one or more line phase comparison device embodiments provided below can be found in the limitations of the line phase comparison method described above, and will not be repeated here.

[0121] In one exemplary embodiment, such as Figure 8 As shown, a line phase comparison device is provided, including: a modulation module 801, a transmission module 802, a filtering module 803, an extraction module 804, and a determination module 805, wherein:

[0122] The modulation module 801 is used to modulate the initial carrier signal using signal modulation parameters to obtain the target carrier signal; wherein, the signal modulation parameters are determined based on the line characteristics of the target line to be phased.

[0123] Transmitting module 802 is used to inject the target carrier signal into the target line;

[0124] The filtering module 803 is used to collect signal data from the phase test point of the target line and filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0125] Extraction module 804 is used to extract the actual phase of the filtered signal;

[0126] The determination module 805 is used to determine the phase comparison result of the target line based on the phase difference between the actual phase and the reference phase.

[0127] In one embodiment, the filtering module 803 is specifically used to: collect the current line impedance data of the target line; when it is detected that the change in the current line impedance data relative to the previously collected line impedance data is greater than the amplitude threshold, adjust the preset filtering coefficient according to the current line impedance data to obtain the target filtering coefficient; and use the target filtering coefficient to filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0128] In one embodiment, the filtering module 803 is further configured to: acquire line characteristics of the target line; wherein the line characteristics include current line impedance data, noise intensity and temperature; and determine signal modulation parameters and preset filtering coefficients based on the current line impedance data, noise intensity and temperature.

[0129] In one embodiment, the reference phase is the phase of phase A; the determining module 805 is specifically used to: determine the phase of the target line as phase A when the phase difference between the actual phase and the reference phase belongs to a first difference interval; determine the phase of the target line as phase B when the phase difference between the actual phase and the reference phase belongs to a second difference interval; and determine the phase of the target line as phase C when the phase difference between the actual phase and the reference phase belongs to a third difference interval; wherein, the endpoint value of the first difference interval is less than the endpoint value of the second difference interval, and the endpoint value of the second difference interval is less than the endpoint value of the third difference interval.

[0130] In one embodiment, the line phase comparison device further includes an adjustment module 806, comprising: a time period determination unit, configured to determine a sampling time period for the target line based on the phase comparison results of the target line; an acquisition unit, configured to acquire load data of the target line during the sampling time period; wherein the load data includes at least voltage data and current data; and an adjustment unit, configured to adjust the load of the target line based on the load data.

[0131] In one embodiment, the time period determination unit is used to: determine the time of the phase zero crossing of the target line based on the phase comparison results of the target line; determine the sampling start time and sampling end time of the sampling period based on the time and a preset duration; and determine the sampling period for the target line based on the sampling start time and sampling end time.

[0132] Each module in the aforementioned circuit phase comparison device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0133] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores line characteristic data, etc. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a line phase matching method.

[0134] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0135] In one exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to: modulate an initial carrier signal using signal modulation parameters to obtain a target carrier signal; wherein the signal modulation parameters are determined based on the line characteristics of the target line to be phase-checked; inject the target carrier signal into the target line; collect signal data from the phase test point of the target line, and filter the signal data to obtain a filtered signal corresponding to the target carrier signal; extract the actual phase of the filtered signal; and determine the phase-checking result of the target line based on the phase difference between the actual phase and the reference phase.

[0136] In one embodiment, when the computer program is executed by the processor, it specifically implements the following steps: acquiring the current line impedance data of the target line; when it is detected that the change in the current line impedance data relative to the previously acquired line impedance data is greater than the amplitude threshold, adjusting the preset filtering coefficient according to the current line impedance data to obtain the target filtering coefficient; and using the target filtering coefficient to filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0137] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring line characteristics of the target line; wherein the line characteristics include current line impedance data, noise intensity, and temperature; and determining signal modulation parameters and preset filtering coefficients based on the current line impedance data, noise intensity, and temperature.

[0138] In one embodiment, the reference phase is the phase of phase A; when the computer program is executed by the processor, it specifically implements the following steps: when the phase difference between the actual phase and the reference phase belongs to a first difference interval, the phase of the target line is determined to be phase A; when the phase difference between the actual phase and the reference phase belongs to a second difference interval, the phase of the target line is determined to be phase B; when the phase difference between the actual phase and the reference phase belongs to a third difference interval, the phase of the target line is determined to be phase C; wherein, the endpoint value of the first difference interval is less than the endpoint value of the second difference interval, and the endpoint value of the second difference interval is less than the endpoint value of the third difference interval.

[0139] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a sampling period for the target line based on the phase comparison results of the target line; collecting load data of the target line during the sampling period; wherein the load data includes at least voltage data and current data; and adjusting the load of the target line based on the load data.

[0140] In one embodiment, when the computer program is executed by the processor, it specifically implements the following steps: determining the time when the phase of the target line crosses zero based on the phase comparison results of the target line; determining the sampling start time and sampling end time of the sampling period based on the time and a preset duration; and determining the sampling period for the target line based on the sampling start time and sampling end time.

[0141] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon. When executed by a processor, the computer program performs the following: modulating an initial carrier signal with signal modulation parameters to obtain a target carrier signal; wherein the signal modulation parameters are determined based on the line characteristics of the target line to be phase-checked; injecting the target carrier signal into the target line; acquiring signal data from the phase test point of the target line and filtering the signal data to obtain a filtered signal corresponding to the target carrier signal; extracting the actual phase of the filtered signal; and determining the phase-checking result of the target line based on the phase difference between the actual phase and the reference phase.

[0142] In one embodiment, when the computer program is executed by the processor, it specifically implements the following steps: acquiring the current line impedance data of the target line; when it is detected that the change in the current line impedance data relative to the previously acquired line impedance data is greater than the amplitude threshold, adjusting the preset filtering coefficient according to the current line impedance data to obtain the target filtering coefficient; and using the target filtering coefficient to filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0143] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring line characteristics of the target line; wherein the line characteristics include current line impedance data, noise intensity, and temperature; and determining signal modulation parameters and preset filtering coefficients based on the current line impedance data, noise intensity, and temperature.

[0144] In one embodiment, the reference phase is the phase of phase A; when the computer program is executed by the processor, it specifically implements the following steps: when the phase difference between the actual phase and the reference phase belongs to a first difference interval, the phase of the target line is determined to be phase A; when the phase difference between the actual phase and the reference phase belongs to a second difference interval, the phase of the target line is determined to be phase B; when the phase difference between the actual phase and the reference phase belongs to a third difference interval, the phase of the target line is determined to be phase C; wherein, the endpoint value of the first difference interval is less than the endpoint value of the second difference interval, and the endpoint value of the second difference interval is less than the endpoint value of the third difference interval.

[0145] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a sampling period for the target line based on the phase comparison results of the target line; collecting load data of the target line during the sampling period; wherein the load data includes at least voltage data and current data; and adjusting the load of the target line based on the load data.

[0146] In one embodiment, when the computer program is executed by the processor, it specifically implements the following steps: determining the time when the phase of the target line crosses zero based on the phase comparison results of the target line; determining the sampling start time and sampling end time of the sampling period based on the time and a preset duration; and determining the sampling period for the target line based on the sampling start time and sampling end time.

[0147] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following: modulating an initial carrier signal with signal modulation parameters to obtain a target carrier signal; wherein the signal modulation parameters are determined based on the line characteristics of the target line to be phase-checked; injecting the target carrier signal into the target line; acquiring signal data from the phase test point of the target line and filtering the signal data to obtain a filtered signal corresponding to the target carrier signal; extracting the actual phase of the filtered signal; and determining the phase-checking result of the target line based on the phase difference between the actual phase and the reference phase.

[0148] In one embodiment, when the computer program is executed by the processor, it specifically implements the following steps: acquiring the current line impedance data of the target line; when it is detected that the change in the current line impedance data relative to the previously acquired line impedance data is greater than the amplitude threshold, adjusting the preset filtering coefficient according to the current line impedance data to obtain the target filtering coefficient; and using the target filtering coefficient to filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

[0149] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring line characteristics of the target line; wherein the line characteristics include current line impedance data, noise intensity, and temperature; and determining signal modulation parameters and preset filtering coefficients based on the current line impedance data, noise intensity, and temperature.

[0150] In one embodiment, the reference phase is the phase of phase A; when the computer program is executed by the processor, it specifically implements the following steps: when the phase difference between the actual phase and the reference phase belongs to a first difference interval, the phase of the target line is determined to be phase A; when the phase difference between the actual phase and the reference phase belongs to a second difference interval, the phase of the target line is determined to be phase B; when the phase difference between the actual phase and the reference phase belongs to a third difference interval, the phase of the target line is determined to be phase C; wherein, the endpoint value of the first difference interval is less than the endpoint value of the second difference interval, and the endpoint value of the second difference interval is less than the endpoint value of the third difference interval.

[0151] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a sampling period for the target line based on the phase comparison results of the target line; collecting load data of the target line during the sampling period; wherein the load data includes at least voltage data and current data; and adjusting the load of the target line based on the load data.

[0152] In one embodiment, when the computer program is executed by the processor, it specifically implements the following steps: determining the time when the phase of the target line crosses zero based on the phase comparison results of the target line; determining the sampling start time and sampling end time of the sampling period based on the time and a preset duration; and determining the sampling period for the target line based on the sampling start time and sampling end time.

[0153] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0154] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0155] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for phase comparison of circuits, characterized in that, The method includes: An initial carrier signal is modulated using signal modulation parameters to obtain a target carrier signal; wherein, the signal modulation parameters are determined based on the line characteristics of the target line to be phased. Inject the target carrier signal into the target line; Signal data from the target line is collected from the phase test point of the target line, and the signal data is filtered to obtain the filtered signal corresponding to the target carrier signal. Extract the actual phase of the filtered signal; The phase difference between the actual phase and the reference phase is used to determine the phase sequence result of the target line.

2. The method according to claim 1, characterized in that, The step of filtering the signal data to obtain the filtered signal corresponding to the target carrier signal includes: Collect the current line impedance data of the target line; If the change in the current line impedance data relative to the previously collected line impedance data is greater than the amplitude threshold, the preset filtering coefficient is adjusted according to the current line impedance data to obtain the target filtering coefficient. The target filter coefficients are used to filter the signal data to obtain the filtered signal corresponding to the target carrier signal.

3. The method according to claim 2, characterized in that, The method further includes: Collect the line characteristics of the target line; wherein, the line characteristics include current line impedance data, noise intensity, and temperature; The signal modulation parameters and the preset filter coefficients are determined based on the current line impedance data, the noise intensity, and the temperature.

4. The method according to any one of claims 1 to 3, characterized in that, The reference phase is the phase of phase A; The step of determining the phase difference between the actual phase and the reference phase to determine the phase identification result of the target line includes: If the phase difference between the actual phase and the reference phase falls within the first difference range, the phase of the target line is determined to be phase A. If the phase difference between the actual phase and the reference phase falls within the second difference range, the phase of the target line is determined to be phase B. When the phase difference between the actual phase and the reference phase falls within the third difference interval, the phase of the target line is determined to be phase C; wherein, the endpoint value of the first difference interval is less than the endpoint value of the second difference interval, and the endpoint value of the second difference interval is less than the endpoint value of the third difference interval.

5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Based on the phase comparison results of the target line, determine the sampling period for the target line; During the sampling period, load data of the target line is collected; wherein the load data includes at least voltage data and current data; Based on the load data, the load of the target line is adjusted.

6. The method according to claim 5, characterized in that, The step of determining the sampling period for the target line based on the phase comparison results of the target line includes: Based on the phase comparison results of the target line, determine the time when the phase of the target line crosses zero. Based on the stated time and preset duration, determine the sampling start time and sampling end time of the sampling period; Based on the sampling start time and the sampling end time, the sampling period for the target line is determined.

7. A circuit phase comparison device, characterized in that, The device includes: A modulation module is used to modulate an initial carrier signal using signal modulation parameters to obtain a target carrier signal; wherein, the signal modulation parameters are determined based on the line characteristics of the target line to be phase-checked; The transmitting module is used to inject the target carrier signal into the target line; The filtering module is used to collect signal data from the phase test point of the target line and filter the signal data to obtain the filtered signal corresponding to the target carrier signal. The extraction module is used to extract the actual phase of the filtered signal; The determination module is used to determine the phase difference between the actual phase and the reference phase of the target line.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.