Phase-locked loop control method, and related apparatus

By employing multiple trap filtering, equivalent virtual capacitance, and second-order generalized integral processing, the positive-sequence dq-axis components of the grid voltage are obtained, solving the stability problem of the phase-locked loop under grid imbalance, harmonics, and DC bias, and achieving high precision and fast response of the phase-locked loop.

WO2026237390A1PCT designated stage Publication Date: 2026-11-19XIDIAN POWER RECTIFIER XIAN +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/146218
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-15
Filing Date
2025-12-26
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing phase-locked loop (PLL) control methods cannot operate stably under conditions of grid voltage imbalance, grid voltage harmonics, and grid voltage DC bias, resulting in reduced PLL control accuracy and system instability.

Method used

Multiple trap filtering, equivalent virtual capacitance processing, second-order generalized integral processing, and positive and negative sequence separation processing are adopted, combined with PI regulation, to obtain the positive sequence component of the grid voltage along the dq axis and perform phase-locked loop control.

Benefits of technology

It effectively filters out harmonics and DC components, improves the anti-interference capability and dynamic response speed of the phase-locked loop, ensures the accurate output of the phase-locked loop in complex power grid environments, and enhances the robustness and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025146218_19112026_PF_FP_ABST
    Figure CN2025146218_19112026_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of power supply or power distribution, and in particular to a phase-locked loop control method, and a related apparatus. The method comprises: acquiring an α-axis voltage component and a β-axis voltage component of a grid voltage; sequentially performing multi-notch filtering processing, equivalent virtual capacitance processing, second-order generalized integration processing, and positive-sequence and negative-sequence separation processing on the α-axis voltage component and the β-axis voltage component of the grid voltage, respectively, so as to respectively obtain a positive-sequence α component of the grid voltage and a positive-sequence β component of the grid voltage; and performing coordinate transformation on the positive-sequence α component of the grid voltage and the positive-sequence β component of the grid voltage, performing PI regulation, and outputting a phase angle, so as to complete phase-locked loop control. By means of the synergistic effect of multi-notch filtering processing, equivalent virtual capacitance processing, second-order generalized integration processing, and positive-sequence and negative-sequence separation processing, the present invention ensures that an accurate phase-locked voltage can be obtained when a grid voltage is unbalanced, contains harmonics or has a direct-current offset, thereby realizing the stable operation of a phase-locked loop, and solving the problem of existing phase-locked loop control failing to realize the stable operation of a phase-locked loop when a grid voltage is unbalanced, contains harmonics or has a direct-current offset.
Need to check novelty before this filing date? Find Prior Art

Description

A phase-locked loop control method and related device Technical Field

[0001] This invention relates to the field of power supply or distribution technology, specifically to a phase-locked loop control method and related devices. Background Technology

[0002] A phase-locked loop (PLL) is a feedback control circuit widely used in electronic circuits and systems to achieve precise control and tracking of the frequency and phase of signals. In grid-connected inverters, to ensure that the inverter's output current is phase-synchronized with the grid voltage, the PLL monitors the grid voltage phase in real time and adjusts the inverter's output current phase to match it. It is a crucial step in the phase orientation of the grid-connected inverter's output voltage and plays a key role in the stable operation of the inverter.

[0003] When a grid voltage fault occurs, it generally causes grid voltage imbalance and generates negative sequence voltage components. Since phase-locked loops (PLLs) rely on the symmetry of three-phase voltage or current for phase locking, when grid voltage imbalance occurs, the symmetry of the three-phase voltage or current is disrupted, making it difficult for the PLL to accurately lock the phase, thereby reducing the control accuracy of the system. At the same time, grid voltage harmonics also appear in the grid, mainly the 3rd, 5th, and 7th harmonics. Harmonics can interfere with the performance of the PLL, leading to misjudgments or failures. In addition, grid faults are often accompanied by the generation of DC voltage bias, which can also greatly affect the normal operation of the PLL, and thus affect the stable operation of the grid-connected inverter.

[0004] Currently, mainstream phase-locked loop (PLL) control methods mainly focus on addressing grid voltage imbalance and eliminating single harmonics. Eliminating the impact of grid voltage imbalance on the PLL primarily involves extracting the positive-sequence component of the grid voltage to eliminate the influence of the negative-sequence component. This is generally achieved using low-pass filters or second-order generalized integrators, and with good results. Harmonic elimination is achieved by using low-pass filters to remove higher-order harmonics. However, low-pass filters have a significant delay effect, which may cause excessive PLL output errors, and they cannot address the impact of DC bias on PLL stability. Therefore, existing PLL control methods cannot achieve stable operation under the three conditions of grid voltage imbalance, grid voltage harmonics, and DC bias. Summary of the Invention

[0005] To address the problem that existing phase-locked loop (PLL) control cannot operate stably under conditions of grid voltage imbalance, grid voltage harmonics, and grid voltage DC bias, this invention provides a PLL control method and related apparatus.

[0006] To achieve the above objectives, the present invention employs the following technical solution:

[0007] This invention provides a phase-locked loop control method, comprising:

[0008] Obtain grid voltage Shaft and Axis voltage components;

[0009] For the grid voltage respectively Shaft and The axis voltage components are sequentially subjected to multiple trap filtering, equivalent virtual capacitance processing, second-order generalized integral processing, and positive / negative sequence separation processing to obtain the positive sequence of the grid voltage. Components and positive sequence of grid voltage Quantity;

[0010] Positive sequence of grid voltage Components and positive sequence of grid voltage The components are subjected to coordinate transformation to obtain the positive sequence components of the dq-axis voltage;

[0011] The positive sequence component of the dq axis voltage is PI-regulated to output the phase angle, thus completing the phase-locked loop control.

[0012] This invention provides a phase-locked loop control system, comprising:

[0013] Voltage component acquisition module: used to acquire grid voltage Shaft and Axis voltage components;

[0014] Voltage component processing module: used to process the mains voltage separately. Shaft and The axis voltage components are sequentially subjected to multiple trap filtering, equivalent virtual capacitance processing, second-order generalized integral processing, and positive / negative sequence separation processing to obtain the positive sequence of the grid voltage. Components and positive sequence of grid voltage Quantity;

[0015] Coordinate transformation module: used to convert grid voltage in positive sequence. Components and positive sequence of grid voltage The components are subjected to coordinate transformation to obtain the positive sequence components of the dq-axis voltage;

[0016] Phase angle output module: used to PI regulate the positive sequence component of the dq axis voltage, output the phase angle, and complete the phase-locked loop control.

[0017] A terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the phase-locked loop control method described above.

[0018] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the phase-locked loop control method described above.

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

[0020] This invention provides a phase-locked loop control method, which uses grid voltage... Shaft and The dq-axis voltage component is used as input and undergoes multiple trap filtering, equivalent virtual capacitance processing, second-order generalized integral processing, positive and negative sequence separation processing, and coordinate transformation in sequence to obtain the positive sequence component of the dq-axis voltage. The positive sequence component of the dq-axis voltage is then subjected to proportional-integral (PI) regulation to output the phase angle and complete the phase-locked loop control. Among these methods, multiple trap filtering effectively removes harmonics from the grid voltage, especially harmonics at specific frequencies (such as low-order harmonics), resulting in a harmonic-free grid voltage component. Utilizing the bandpass characteristic of multiple trap filtering, it targets specific harmonic frequencies without introducing excessive phase delay. Compared to existing low-pass filtering methods for harmonic elimination, it results in a smaller overall phase delay, significantly reducing the error in the phase-locked loop (PLL) output. Equivalent virtual capacitor processing leverages the DC-blocking and AC-passing properties of capacitors to effectively eliminate the DC component in the grid voltage component. This ensures that the output grid voltage component is free of both harmonics and DC components, effectively reducing the impact of DC bias on the PLL and further improving the accuracy of the PLL output. Second-order generalized integral processing can quickly extract the grid voltage... The positive-sequence component exhibits good dynamic response characteristics, enabling it to quickly track frequency and phase changes in the grid voltage and improve the system's dynamic response speed. Positive and negative sequence separation effectively separates the positive and negative sequence components in the grid voltage, ensuring the phase-locked loop (PLL) tracks only the positive sequence component, avoiding interference from the negative sequence component and further improving the system's dynamic performance. PI regulation of the positive-sequence component of the dq-axis voltage allows for precise control of the PLL's output phase angle, ensuring output accuracy. This method effectively improves the PLL's anti-interference capability, dynamic response speed, and phase-locking accuracy. It can adapt to complex grid environments, exhibiting strong robustness and practicality, and can achieve accurate PLL output under conditions of grid voltage imbalance, grid voltage harmonics, and grid voltage DC bias.

[0021] The present invention also provides a phase-locked loop control system, including a voltage component acquisition module, a voltage component processing module, a coordinate transformation module, and a phase angle output module; wherein, the voltage component acquisition module is responsible for acquiring the grid voltage. Shaft and The phase-locked loop (PLL) inputs a two-phase voltage component. A voltage component processing module effectively filters out harmonics, negative-sequence components, and DC components from the grid voltage component to prevent interference with the PLL. A coordinate transformation module converts two-phase stationary coordinates into two-phase rotating coordinates. A phase angle output module precisely controls the output phase angle of the PLL. This system boasts strong anti-interference capabilities, fast dynamic response, high computational and processing power, low development and maintenance costs, high reliability, and low robustness, making it adaptable to various grid environments and control requirements.

[0022] The present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the phase-locked loop control method described above. The processor can quickly execute processes such as the above-described multiple notch filtering, equivalent virtual capacitance processing, second-order generalized integral processing, and positive and negative sequence separation processing to ensure the real-time performance and accuracy of the phase-locked loop control. The computer program in the memory can be modified and optimized according to actual needs to adapt to different power grid environments and control requirements.

[0023] A computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the phase-locked loop (PLL) control method described above. The computer-readable storage medium (such as a solid-state drive (SSD) or flash memory) has high-speed read capabilities, enabling rapid loading of the computer program into the processor for execution, ensuring the real-time performance of the PLL control. It features flexibility and portability, high reliability and stability, support for large-scale data storage, ease of integration and expansion, reduced development and maintenance costs, high security, energy efficiency and environmental friendliness, support for various application scenarios, and promotion of standardization and normalization. These characteristics provide strong support for the implementation and promotion of PLL control technology and have broad application prospects. Attached Figure Description

[0024] Figure 1 is a schematic flowchart of a phase-locked loop control method according to the present invention.

[0025] Figure 2 is a schematic diagram of the phase-locked loop control principle in a specific embodiment of the present invention.

[0026] Figure 3 is a comparison of the separation effect of the mixed signal after multiple trap filtering in a specific embodiment of the present invention; where a is the mixed signal before multiple trap filtering; and b is the signal after multiple trap filtering.

[0027] Figure 4 is a block diagram of the second-order generalized integral control in a specific embodiment of the present invention.

[0028] Figure 5 shows the second-order generalized integral Bode plot in a specific embodiment of the present invention; a is the amplitude-frequency response plot; b is the phase-frequency response plot.

[0029] Figure 6 is a comparison diagram of the phase trajectory of the phase-locked loop control method of the present invention; wherein, a is a comparison diagram of the phase trajectory of the phase-locked loop control method of the present invention when the grid voltage is unbalanced; b is a comparison diagram of the phase trajectory of the phase-locked loop control method of the present invention when the grid voltage contains harmonics; c is a comparison diagram of the phase trajectory of the phase-locked loop control method of the present invention when the grid voltage contains DC bias.

[0030] Figure 7 shows a comparative simulation diagram of the phase-locked loop control method of the present invention under grid voltage imbalance, where a is the simulation waveform diagram under grid voltage imbalance; b is the phase-locked loop performance simulation diagram after only equivalent virtual capacitance processing, second-order generalized integral processing and positive and negative sequence separation processing; c is the phase-locked loop performance simulation diagram after only second-order generalized integral processing and positive and negative sequence separation processing; d is the phase-locked loop performance simulation diagram after processing by the phase-locked loop control method of the present invention.

[0031] Figure 8 shows a simulation comparison of the performance of the phase-locked loop control method of the present invention with that of a comparative model when the grid voltage contains harmonics; where a is the simulation waveform when the grid voltage contains harmonics; b is the simulation performance of the phase-locked loop after only equivalent virtual capacitance processing, second-order generalized integral processing and positive and negative sequence separation processing; c is the simulation performance of the phase-locked loop after only second-order generalized integral processing and positive and negative sequence separation processing; d is the simulation performance of the phase-locked loop after processing by the phase-locked loop control method of the present invention.

[0032] Figure 9 shows a simulation comparison of the performance of the phase-locked loop control method of the present invention with that of a comparative model when the grid voltage contains DC bias; where a is the simulation waveform when the grid voltage contains DC bias; b is the simulation performance of the phase-locked loop after only equivalent virtual capacitance processing, second-order generalized integral processing and positive and negative sequence separation processing; c is the simulation performance of the phase-locked loop after only second-order generalized integral processing and positive and negative sequence separation processing; d is the simulation performance of the phase-locked loop after processing by the phase-locked loop control method of the present invention.

[0033] Figure 10 shows a structural diagram of a phase-locked loop control system according to the present invention. Embodiments of the present invention

[0034] The present invention will be further described in detail below with reference to specific embodiments. These descriptions are for explanation purposes only and are not intended to limit the scope of the invention.

[0035] Referring to Figure 1, the present invention provides a phase-locked loop control method, comprising:

[0036] S1: Obtain grid voltage Shaft and The axis voltage components are as follows:

[0037] Obtain grid voltage Shaft and The axis voltage component, in terms of grid voltage Shaft and The shaft voltage component is used as the input to the phase-locked loop.

[0038] S2: Check the grid voltage respectively Shaft and The axis voltage components are sequentially subjected to multiple trap filtering, equivalent virtual capacitance processing, second-order generalized integral processing, and positive / negative sequence separation processing to obtain the positive sequence of the grid voltage. Components and positive sequence of grid voltage The components, specifically:

[0039] In grid voltage Shaft and A multi-stage notch filter group consisting of several virtual notch filters is set after the axis voltage component to filter the grid voltage. Shaft and The axis voltage components are subjected to multiple trap filtering to remove harmonics present in the grid voltage, resulting in a harmonic-free grid voltage. Shaft and Axis voltage components;

[0040] The transfer function of the multiple-notch filtering process is:

[0041]

[0042] The harmonic-free grid voltage Shaft and The axis voltage component is:

[0043]

[0044] in, represent The transfer function of the multiple trap filter on the axis; represent The transfer function of the multiple trap filter on the axis; Representing different frequency harmonics; Represents the total number of harmonics of different frequencies; Represents the differential operator; Represents the damping ratio; Indicates grid voltage Axis voltage components; Indicates grid voltage Axis voltage components; Represents the grid voltage without harmonics. Axis voltage components; Represents the grid voltage without harmonics. Axis voltage components; The index variable representing the summation is the first index variable. Different frequency harmonics;

[0045] The grid voltage without harmonics Shaft and The axis voltage components are connected in series with equivalent virtual capacitors, for components without harmonics. Shaft and The axis voltage components are processed using equivalent virtual capacitance. Utilizing the DC blocking and AC passing characteristics of the equivalent virtual capacitance, the grid voltage is eliminated. Shaft and The DC component of the axis voltage component is used to obtain the grid voltage without harmonics and the DC component, respectively. Shaft and Axis voltage components;

[0046] The transfer function for the equivalent virtual capacitance processing is:

[0047]

[0048] The grid voltage that does not contain harmonics or DC components Shaft and The axis voltage component is:

[0049]

[0050] in, for The equivalent virtual capacitance transfer function of the axis; for The equivalent virtual capacitance transfer function of the axis; Represents the equivalent virtual capacitance; This represents the grid voltage excluding harmonics and DC components. Axis voltage components; This represents the grid voltage excluding harmonics and DC components. Axis voltage components;

[0051] The grid voltage that does not contain harmonics and DC components Shaft and A second-order generalized integrator is set after the axis voltage component to apply the grid voltage that does not contain harmonics or DC components. Shaft and The axis voltage components are subjected to second-order generalized integrals and positive / negative sequence separation to obtain the positive sequence of the grid voltage. Components and positive sequence of grid voltage Quantity.

[0052] The transfer function for the second-order improper integral is:

[0053]

[0054] After processing with the second-order improper integral, we obtain:

[0055]

[0056] Positive sequence of grid voltage Quantity and positive sequence of grid voltage Quantity They are respectively:

[0057]

[0058] The method for separating positive and negative orders is as follows:

[0059]

[0060] in, Represents the direct channel transfer function; Represents the transfer function of the orthogonal communication channel; Represents the scaling factor of a second-order generalized integrator; Indicates the input quantity; Indicates the output quantity; express The orthogonal output; This represents the actual value of the angular frequency; Represents the differential operator; This represents the positive sequence voltage in a stationary two-phase coordinate system. This represents the negative sequence voltage in a stationary two-phase coordinate system. This represents the original voltage in the stationary coordinate system; Indicates the positive sequence of grid voltage Quantity; Indicates the positive sequence of grid voltage Quantity; Indicates negative sequence of grid voltage Quantity; Indicates negative sequence of grid voltage Quantity; This represents the hysteresis phase shifter; and They represent The power grid after the second-order generalized integrator Voltage in a two-phase stationary coordinate system and They are 90° apart and are a pair of orthogonal components; and They represent The power grid after the second-order generalized integrator Voltage in a two-phase stationary coordinate system and They are 90° apart and are a pair of orthogonal components;

[0061] S3: Convert the grid voltage to positive sequence Components and positive sequence of grid voltage The components are subjected to coordinate transformation to obtain the positive sequence components of the dq-axis voltage;

[0062] Positive sequence of grid voltage Components and positive sequence of grid voltage The two-phase stationary coordinates are converted to two-phase rotating coordinates to obtain the positive-sequence voltage components along the dq axis; where the positive-sequence grid voltage is... Components converted to d-axis positive sequence voltage components , to convert the grid voltage to positive sequence Components converted to q-axis positive sequence voltage components ;

[0063] The positive-sequence component of the q-axis voltage is:

[0064]

[0065] in, Indicates the positive sequence of grid voltage Quantity; Indicates the positive sequence of grid voltage Quantity; This indicates the phase angle of the phase-locked loop output.

[0066] S4: The positive sequence component of the dq axis voltage is PI-regulated to output the phase angle, thus completing the phase-locked loop control. Specifically:

[0067] The positive sequence voltage component of the q-axis The phase is controlled on the q-axis by a virtual PI regulator, and the output phase angle is used to complete the phase-locked loop control;

[0068]

[0069] in, The second derivative of the phase angle at the output of the phase-locked loop; This represents the integral coefficient of the phase-locked loop PI control. This represents the proportional gain of the phase-locked loop (PLL) PI control. Represents the positive-sequence component of the q-axis voltage; This indicates the phase angle of the phase-locked loop output;

[0070] Substituting equations (2), (4), (6), (7), and (9) into equation (10), the phase angle is obtained. This control method can ensure that the correct phase-locked loop voltage is accurately obtained under conditions of grid voltage imbalance, grid voltage harmonics, and grid voltage DC bias, thus achieving stable operation of the phase-locked loop.

[0071] To further illustrate the beneficial effects of the phase-locked loop control method of the present invention, the following example is taken where the grid voltage contains harmonic angular frequencies of the 3rd, 5th, and 7th orders, and there is grid voltage imbalance and DC bias. The phase-locked loop control method provided by the present invention is used for control and stability analysis is performed.

[0072] Referring to Figure 2, the grid voltage is obtained. Shaft and The axis voltage component, in terms of grid voltage Shaft and The shaft voltage component is used as the input to the phase-locked loop (PLL) under the grid voltage. Shaft and If a multiple notch filter group consisting of three virtual notch filters is set after the axis voltage component, then its transfer function is:

[0073]

[0074] in, Indicates the third harmonic; Indicates the 5th harmonic; Indicates the 7th harmonic;

[0075] Referring to Figure 3, taking a mixed signal of low frequency 10Hz and power frequency 50Hz as an example, after multiple notch filtering, the power frequency 50Hz and low frequency 10Hz can be effectively separated, proving the effectiveness of the multiple notch filter proposed in this invention.

[0076] By measuring the grid voltage Shaft and The axis voltage component is subjected to virtual notch filtering to obtain a grid voltage free of the 3rd, 5th, and 7th harmonics. Shaft and The axis voltage component is:

[0077]

[0078] Then, equivalent virtual capacitance processing is performed, and the transfer function is given by formula (3). The grid voltages without harmonics and DC components are obtained respectively. Shaft and Axis voltage components;

[0079] For grid voltages that do not contain harmonics and DC components Shaft and The axis voltage component is processed by second-order generalized integration, that is, the grid voltage without harmonics and DC components. Shaft and A second-order generalized integrator is set after the axial voltage component, as shown in Figure 4. A pair of orthogonal voltage components are obtained through the direct path and orthogonal path of the second-order generalized integrator, and their transfer functions are shown in Equation (5); when Equation (5) , hour, and The Bode plot is shown in Figure 5. It can be seen that the second-order generalized integrator can generate two integrators with the same amplitude but different phases. The orthogonal signals in this part are mainly used to generate orthogonal outputs, providing reliable inputs for subsequent positive and negative sequence separation. The orthogonal outputs generated by the second-order generalized integrator are used as inputs for positive and negative sequence separation. See formula (8) for details. The hysteresis phase shifter in formula (8) Lagging The phase-shifting operator represents the generation of orthogonal signals.

[0080] Finally, the positive and negative sequences are separated to obtain the positive sequence of the grid voltage. Components and positive sequence of grid voltage The components are transformed from two-phase stationary coordinates to two-phase rotating coordinates to obtain the dq-axis positive sequence voltage components, and the q-axis positive sequence voltage components are also transformed. The phase is controlled on the q-axis by a virtual PI regulator, and the phase angle is output to complete the phase-locked loop control. See formula (10) for details. Substitute (12), (4), (6), (7) and (9) into formula (10) to output the correct phase angle.

[0081] Referring to Figure 6, the phase trajectory comparison diagram shows that when the grid voltage is unbalanced, only the phase angle of the output phase-locked loop (PLL) processed by the second-order generalized integral and the positive / negative sequence separation process diverges, causing the PLL to become unstable. Even after adding an equivalent virtual capacitor, the PLL still cannot operate stably and continues to diverge. This is due to the harmonics generated during grid faults. However, the PLL control method of this invention can quickly restore the PLL output to stability. When the grid voltage contains 3rd, 5th, and 7th harmonics, only the phase angle of the output phase-locked loop processed by the second-order generalized integral and the positive / negative sequence separation process diverges, causing the PLL to become unstable. Even after adding an equivalent virtual capacitor, the PLL still cannot operate stably. The PLL can operate stably, and the PLL control method of this invention controls the PLL output to quickly recover stability. When there is a DC bias in the grid voltage, the PLL without an equivalent virtual capacitor diverges directly, while the PLL control method of this invention controls the PLL output phase angle to quickly recover stability. This further demonstrates that the control method of this invention can effectively improve the stability of the PLL under three operating conditions: grid voltage imbalance, grid voltage containing harmonics, and grid voltage DC bias. It should be noted that "the method of this invention" in the figure refers to the PLL control method provided by this invention, and "without equivalent virtual capacitor" in the figure refers to only applying the grid voltage... Shaft and The axis voltage components are sequentially processed by multiple trap filtering, second-order generalized integration, and positive / negative sequence separation. The phrase "excluding filtering and equivalent virtual capacitance" in the diagram refers to processing only the grid voltage. Shaft and The axis voltage components are sequentially processed by second-order generalized integration and positive / negative sequence separation.

[0082] Simulations were conducted to compare the phase-locked loop (PLL) control under three operating conditions: grid voltage imbalance, grid voltage containing harmonics, and grid voltage DC bias. The simulation results are shown in Figures 7 to 9. It can be seen that when the grid voltage is unbalanced, contains grid voltage harmonics, or contains grid voltage DC bias, neither the equivalent virtual capacitor processing, second-order generalized integral processing, and positive / negative sequence separation processing alone, nor the second-order generalized integral processing and positive / negative sequence separation processing alone, can guarantee the stable output of the PLL. The PLL processed by the PLL control method of this invention can achieve stable operation of the PLL, further demonstrating that the PLL control method provided by this invention can ensure that the correct voltage of the phase-locked loop can be accurately obtained under grid voltage imbalance, grid voltage harmonics, and grid voltage DC bias, thus achieving stable operation of the PLL and playing a positive role in the stable operation of the grid-connected inverter.

[0083] Referring to Figure 10, the present invention also provides a phase-locked loop control system, comprising:

[0084] Voltage component acquisition module: used to acquire grid voltage Shaft and Axis voltage components;

[0085] Voltage component processing module: used to process the mains voltage separately. Shaft and The axis voltage components are sequentially subjected to multiple trap filtering, equivalent virtual capacitance processing, second-order generalized integral processing, and positive / negative sequence separation processing to obtain the positive sequence of the grid voltage. Components and positive sequence of grid voltage Quantity;

[0086] Coordinate transformation module: used to convert grid voltage in positive sequence. Components and positive sequence of grid voltage The components are subjected to coordinate transformation to obtain the positive sequence components of the dq-axis voltage;

[0087] Phase angle output module: used to PI regulate the positive sequence component of the dq axis voltage, output the phase angle, and complete the phase-locked loop control.

[0088] The system has strong anti-interference ability, fast dynamic response, high computing and processing capabilities, low development and maintenance costs, high reliability, low robustness, and can adapt to different power grid environments and control requirements.

[0089] This invention provides a terminal device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the various method embodiments described above. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the various device embodiments described above.

[0090] The computer program can be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention.

[0091] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0092] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0093] The memory can be used to store the computer program and / or module. The processor implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.

[0094] If the modules / units integrated into the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.

[0095] The above description is merely a preferred embodiment of the present invention and is not intended to limit the technical solution of the present invention in any way. Those skilled in the art should understand that, without departing from the spirit and principles of the present invention, the technical solution can be modified and replaced in several simple ways, and these modifications and replacements are all within the scope of protection covered by the claims.

Claims

1. A phase-locked loop control method, characterized by, include: Acquiring grid voltage Shaft and Axis voltage components; The grid voltage Shaft and The shaft voltage component is sequentially subjected to multiple notch filtering, equivalent virtual capacitor processing, second-order generalized integration processing, and positive and negative sequence separation processing, respectively obtaining positive and negative sequence components of the grid voltage component and grid voltage positive sequence Quantity; The positive sequence of the grid voltage is calculated as follows: component and grid voltage positive sequence The components are subjected to coordinate transformation to obtain the positive sequence components of the dq-axis voltage; The positive sequence component of the dq axis voltage is PI-regulated to output the phase angle, thus completing the phase-locked loop control.

2. The phase-locked loop control method of claim 1, wherein, The transfer function of the multiple notch filtering process is: wherein representative Multiple notch filter transfer function of the shaft; representative Multiple notch filter transfer function of the shaft; representing different frequency harmonics; representing the total number of harmonics for different frequencies; an index variable representing the summation; representing a differential operator; This represents the damping ratio.

3. The phase-locked loop control method of claim 1, wherein, The transfer function for the equivalent virtual capacitance processing is: wherein For Equivalent virtual capacitance transfer function of the shaft; For Equivalent virtual capacitance transfer function of the shaft; representing an equivalent virtual capacitance; Represents the differential operator.

4. The phase-locked loop control method of claim 1, wherein, The transfer function for the second-order improper integral is: wherein, represents a direct path transfer function; representing the positive passband transfer function; a proportional coefficient representing a second order generalized integrator; represents an input quantity; representing an output quantity; denotes the orthogonal output quantity of the represents the angular frequency actual value; Represents the differential operator.

5. The phase-locked loop control method of claim 1, wherein, The method for separating positive and negative orders is as follows: wherein denotes the positive sequence voltage in the stationary two-phase coordinate system; denotes the negative sequence voltage in the stationary two-phase coordinate system; representing the original voltage in the stationary coordinate system; represents the grid voltage positive sequence component; represents the grid voltage positive sequence component; representing a negative sequence of the grid voltage component; representing a negative sequence of the grid voltage component; This represents the hysteresis phase shift operator.

6. The phase-locked loop control method of claim 1, wherein, The method of adjusting the positive sequence component of the dq axis voltage using a PI converter to output the phase angle and complete the phase-locked loop control is as follows: wherein a second derivative of a phase angle of a phase-locked loop output; represents a phase-locked loop PI regulation integral coefficient; represents a proportional coefficient of a phase-locked loop PI regulation; denotes the q-axis voltage positive-sequence component; This indicates the phase angle of the phase-locked loop output.

7. The phase-locked loop control method of claim 6, wherein, The positive-sequence component of the q-axis voltage is: wherein, represents the grid voltage positive sequence component; represents the grid voltage positive sequence component; This indicates the phase angle of the phase-locked loop output.

8. A phase-locked loop control system, characterized by, include: voltage component acquisition module: for acquiring grid voltage Shaft and Axis voltage components; voltage component processing module: for processing the grid voltage Shaft and The shaft voltage component is sequentially subjected to multiple notch filtering, equivalent virtual capacitance processing, second-order generalized integration processing, and positive and negative sequence separation processing, respectively obtaining positive and negative sequence components of the grid voltage component and grid voltage positive sequence Quantity; Coordinate conversion module: for converting grid voltage positive sequence component and grid voltage positive sequence The components are subjected to coordinate transformation to obtain the positive sequence components of the dq-axis voltage; Phase angle output module: used to PI regulate the positive sequence component of the dq axis voltage, output the phase angle, and complete the phase-locked loop control.

9. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the phase-locked loop control method as described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. When the computer program is executed by the processor, it implements the steps of the phase-locked loop control method as described in any one of claims 1-7.