CN111190074B - Power grid synchronous detection method based on single-phase-locked loop - Google Patents

Power grid synchronous detection method based on single-phase-locked loop Download PDF

Info

Publication number
CN111190074B
CN111190074B CN202010063468.0A CN202010063468A CN111190074B CN 111190074 B CN111190074 B CN 111190074B CN 202010063468 A CN202010063468 A CN 202010063468A CN 111190074 B CN111190074 B CN 111190074B
Authority
CN
China
Prior art keywords
value
voltage
phase angle
detection value
voltage phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010063468.0A
Other languages
Chinese (zh)
Other versions
CN111190074A (en
Inventor
郑寿森
何来沛
黄玉和
祁新梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN202010063468.0A priority Critical patent/CN111190074B/en
Publication of CN111190074A publication Critical patent/CN111190074A/en
Application granted granted Critical
Publication of CN111190074B publication Critical patent/CN111190074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks
    • G01R31/088Aspects of digital computing

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Inverter Devices (AREA)

Abstract

The invention discloses a power grid synchronous detection method based on a single-phase-locked loop, and relates to the technical field of grid-connected control. The phase-locked loop is used for solving the problem that the phase angle locking delay is easily caused by sudden change of a phase angle or amplitude of a power grid in the conventional phase-locked loop. The method comprises the following steps: when the absolute value of the voltage amplitude detection value is determined to be larger than the voltage amplitude threshold value, determining a voltage phase angle error value according to the voltage error value, the voltage amplitude detection value and a cosine value of the voltage phase angle detection value; determining a voltage frequency adjustment value according to the relation between the absolute value of the voltage phase angle error value and the voltage phase angle error threshold value; and determining a voltage frequency detection value and a voltage phase angle detection value according to the voltage frequency adjustment value, and adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value.

Description

Power grid synchronous detection method based on single-phase-locked loop
Technical Field
The invention relates to the technical field of grid-connected control, in particular to a power grid synchronous detection method based on a single-phase-locked loop.
Background
The phase-locked loop is an online real-time detection algorithm capable of acquiring phase angle and frequency information of a power grid, and is widely applied to grid-connected power devices such as a wind-solar grid-connected inverter and an active power filter. The precision, response speed and stability of the phase-locked loop under non-ideal grid conditions directly affect the performance of the grid-connected device. At present, the development of renewable energy and energy storage micro-grid brings more and more application scenes to the power electronic grid-connected control technology, and meanwhile, the increasingly severe problem of electric energy quality also brings greater examination to the control link.
The single-phase-locked loop technology commonly used for grid-connected control mainly comprises a synchronous rotating coordinate system phase-locked loop and an enhanced phase-locked loop. The synchronous rotating coordinate system phase-locked loop constructs a virtual orthogonal phase through a second-order generalized integrator and then performs park transformation to extract phase angle information. The enhanced phase-locked loop is a nonlinear phase-locked loop and can directly detect the phase angle, the frequency and the amplitude of a power grid. One common structure of the two existing types of phase-locked loops is: the phase angle error value is used to estimate the change in the grid frequency, and the resulting frequency detection value is then used to estimate the phase angle. The disadvantage of this structure is that when the grid has sudden change in phase angle or amplitude and constant frequency, the frequency detection value will fluctuate greatly, resulting in delay of phase angle locking.
In summary, in the phase-locked loop in the prior art, when the phase angle or amplitude of the power grid changes suddenly and the frequency is not changed, the frequency detection value fluctuates greatly, which easily causes phase angle locking delay.
Disclosure of Invention
The embodiment of the invention provides a power grid synchronous detection method based on a single-phase-locked loop, which is used for solving the problem that the frequency detection value can generate larger fluctuation and phase angle locking delay is easy to cause under the condition that the frequency of a power grid is unchanged due to sudden change of a phase angle or an amplitude value in the conventional phase-locked loop.
The embodiment of the invention provides a power grid synchronous detection method based on a single-phase-locked loop, which comprises the following steps:
when the absolute value of the voltage amplitude detection value of the current period is determined to be larger than the voltage amplitude threshold value, determining a voltage phase angle error value of the current period according to the voltage error value and cosine values of the voltage amplitude detection value and the voltage phase angle detection value;
according to the relation between the absolute value of the voltage phase angle error value and a voltage phase angle error threshold value, determining the voltage frequency adjustment value of the previous period as the voltage frequency adjustment value of the current period or determining the phase angle error value as the voltage frequency adjustment value of the current period after the operation of a second gain module and a second integrator, wherein the integral starting point of the second integrator is zero;
and determining a voltage frequency detection value and a voltage phase angle detection value of the current period according to the voltage frequency adjustment value, and adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of the current period.
Preferably, the adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of the current period specifically includes:
if the voltage amplitude detection value is less than zero, determining the reverse angle of the voltage phase angle detection value as the voltage phase angle correction value of the current period; or
And if the voltage amplitude detection value is larger than zero, determining the voltage phase angle detection value as the voltage phase angle correction value of the current period.
Preferably, before determining the voltage frequency detection value and the voltage phase angle detection value of the current cycle, the method further includes:
and multiplying the voltage phase angle error value by a third gain module to obtain a voltage phase angle adjusting value of the current period.
Preferably, the determining the voltage frequency detection value and the voltage phase angle detection value of the current cycle according to the voltage frequency adjustment value specifically includes:
determining a voltage frequency detection value of the current period according to the voltage frequency adjustment value and the power grid standard frequency value;
adding the voltage phase angle adjusting value and the frequency detection value, and obtaining a voltage phase angle detection value of the current period through operation of a third integrator; the starting point of the integration of the third integrator is pi/2.
Preferably, before determining the voltage phase angle error value of the current cycle, the method further includes:
determining the voltage error value of the current period according to the voltage input signal of the current period and the voltage fundamental wave detection value obtained in the last period;
determining a voltage amplitude error value of the current period according to the voltage error value and a voltage phase angle detection value obtained in the previous period;
the voltage amplitude error value is calculated through a first gain module and a first integrator to obtain the voltage amplitude detection value of the current period; the starting point of the integration of the first integrator is zero.
Preferably, when it is determined that the absolute value of the voltage amplitude detection value of the current cycle is greater than the voltage amplitude threshold, the method further includes:
and when the absolute value of the voltage amplitude detection value is smaller than the voltage amplitude threshold value, determining that the phase angle error value is zero.
Preferably, the relationship between the absolute value of the voltage phase angle error value and the voltage phase angle error threshold specifically includes:
when the absolute value of the voltage phase angle error value is determined to be larger than the voltage phase angle error threshold value, determining that the voltage frequency adjustment value of the current period is equal to the voltage frequency adjustment value of the previous period;
and when the absolute value of the voltage phase angle error value is smaller than the voltage phase angle error threshold value, determining the phase angle error value as the voltage frequency adjustment value of the current period after the operation of a second gain module and a second integrator.
Preferably, after obtaining the voltage phase angle correction value of the current cycle, the method further includes:
and multiplying the sine value of the voltage amplitude detection value and the voltage phase angle detection value to obtain the voltage fundamental wave detection value of the current period.
Preferably, the voltage phase angle error threshold is 0.15 rad.
The embodiment of the invention provides a power grid synchronous detection method based on a single-phase-locked loop, which comprises the following steps: when the absolute value of the voltage amplitude detection value of the current period is determined to be larger than the voltage amplitude threshold value, determining a voltage phase angle error value of the current period according to the voltage error value and cosine values of the voltage amplitude detection value and the voltage phase angle detection value; according to the relation between the absolute value of the voltage phase angle error value and a voltage phase angle error threshold value, determining the voltage frequency adjustment value of the previous period as the voltage frequency adjustment value of the current period or determining the phase angle error value as the voltage frequency adjustment value of the current period after the operation of a second gain module and a second integrator, wherein the integral starting point of the second integrator is zero; and determining a voltage frequency detection value and a voltage phase angle detection value of the current period according to the voltage frequency adjustment value, and adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of the current period. The method introduces a phase frequency decoupling module into an enhanced phase-locked loop structure, the phase frequency decoupling module is used for distinguishing a transient state stage and a steady state stage of a system phase lock by setting a voltage phase angle error threshold value, the phase-locked loop works with different system parameters in two different stages, when the phase angle error is greater than the voltage phase angle error threshold value, the phase frequency decoupling module judges that the system is in the transient state stage of the phase lock, namely the system is in a starting stage or under the condition that a power grid to be tested is subjected to strong interference to cause transient phase lock loss, the coupling of phase angle and frequency is removed at the moment, the system maintains an original locked voltage frequency detection value to execute rapid phase lock, the voltage phase angle detection value can rapidly converge to the vicinity of the steady state, and the phase angle error is gradually reduced; when the phase angle error is smaller than the set threshold value, the phase frequency decoupling module judges that the system enters a steady state stage, at the moment, the coupling relation between the phase angle and the frequency is restored again, the phase angle steady state error is eliminated by correcting the voltage frequency detection value, and accurate phase locking and frequency locking are completed. The method solves the problem that the existing phase-locked loop causes the frequency detection value to generate larger fluctuation and easily causes phase angle locking delay under the condition that the frequency is not changed because the phase angle or amplitude of the power grid is suddenly changed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a power grid synchronization detection method based on a single-phase-locked loop according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a principle of a power grid synchronization detection method based on a single-phase-locked loop according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a response performance simulation test result of the fast phase-locked loop according to the embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an experimental result of a fast phase-locked loop according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a principle that the fast phase-locked loop provided in the first embodiment of the present invention is applied to a single-phase grid-connected inverter device.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 schematically illustrates a flow chart of a power grid synchronization detection method based on a single-phase-locked loop according to an embodiment of the present invention, and fig. 2 schematically illustrates a principle of the power grid synchronization detection method based on the single-phase-locked loop according to an embodiment of the present invention; the fast single-phase-locked loop for grid-connected control is described in detail below with reference to fig. 1 and fig. 2, and the phase-locked loop can enhance the stability and anti-interference capability of frequency detection and improve the response speed of phase locking within a preset frequency locking range.
As shown in fig. 1, the method mainly comprises the following steps:
step 101, when determining that the absolute value of the voltage amplitude detection value of the current period is greater than the voltage amplitude threshold, determining a voltage phase angle error value of the current period according to the voltage error value and cosine values of the voltage amplitude detection value and the voltage phase angle detection value;
step 102, according to a relation between an absolute value of the voltage phase angle error value and a voltage phase angle error threshold, determining a voltage frequency adjustment value of a previous period as a voltage frequency adjustment value of a current period, or determining the phase angle error value as a voltage frequency adjustment value of the current period after the phase angle error value is operated by a second gain module and a second integrator, wherein an integral starting point of the second integrator is zero;
and 103, determining a voltage frequency detection value and a voltage phase angle detection value of the current period according to the voltage frequency adjustment value, and adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of the current period.
Before step 101, a schematic diagram of the power grid synchronization detection method based on the single-phase-locked loop provided in fig. 2 needs to be introduced, as shown in fig. 2, the phase-locked loop includes two loops, namely an amplitude-locked loop and a phase-locked loop, which are coupled to each other.
As shown in fig. 2, before step 101, a voltage sampling module collects a grid voltage signal at a fixed sampling frequency to obtain a voltage input signal v; and thirdly, according to the voltage fundamental wave detection value v 'determined in the last period of the current period, enabling v-v' to obtain a voltage error value e of the current period.
And theta ' is a voltage phase angle detection value obtained by the phase-locked loop in the previous period, and a voltage amplitude error value delta A of the current period is determined according to the multiplication of a voltage error value e of the current period and a sine value sin theta ' of the voltage phase angle detection value theta '.
The voltage amplitude error value of the current period passes through a first gain module k1And obtaining the voltage amplitude detection value a of the current period after the operation of the first integrator, it should be noted that, in the embodiment of the present invention, the first gain module k1The method has the characteristic of self-adaptation, has no relation with the magnitude of a voltage input signal, has good portability, and is beneficial to digital implementation. Furthermore, the integration starting point of the first integrator is zero, i.e. the initial value of the voltage amplitude detection value a is zero.
After the voltage amplitude detection value a of the current cycle is determined, it can be said that the amplitude-locked loop completes all operations of the current cycle.
Further, the phase-locked loop in fig. 2 needs to be calculated, and it should be noted that, in the embodiment of the present invention, before the phase-locked loop is calculated, a threshold determination needs to be performed on the voltage amplitude detection value a acquired in the amplitude-locked loop, where the purpose of the voltage amplitude threshold determination is to avoid a singular operation error or a memory overflow problem in the next division operation.
In the embodiment of the invention, a voltage amplitude threshold A is presetT10% of the peak value of the voltage input signal v. For example, if the voltage input signal V ranges from-100V to +100V, the voltage amplitude threshold ATMay be set to 1V. It should be noted that, in the embodiment of the present invention, the range of the voltage amplitude threshold may also be selected according to actual needs.
As shown in fig. 2, in step 101, when the absolute value of the voltage amplitude detection value of the current cycle is determined to be greater than the voltage amplitude threshold value, that is, the voltage amplitude detection value a is determined to be greater than the voltage amplitude threshold value aTOr the voltage amplitude detection value A is smaller than the negative voltage amplitude threshold value ATIn the meantime, the voltage phase angle error value Δ θ of the current period may be obtained by dividing the voltage amplitude detection value a by the voltage error value e and then multiplying by the cosine value cos θ 'of the voltage phase angle detection value θ'.
It should be noted that, when it is determined that the absolute value of the voltage amplitude detection value of the current cycle is smaller than the voltage amplitude threshold, that is, it is determined that the voltage amplitude detection value a is smaller than the voltage amplitude threshold aTOr the voltage amplitude detection value A is larger than the negative voltage amplitude threshold value ATThen, the voltage phase angle error value Δ θ of the current period may be made equal to zero.
In the embodiment of the invention, the voltage phase angle error value delta theta is an input value of a proportional-integral controller of the phase-locked loop, and the proportional-integral controller is divided into two parts, namely a proportional link and an integral link.
In one case, the operation of the proportional element is as follows:
the voltage phase angle error value delta theta and the third gain module k3And multiplying to obtain the voltage phase angle adjusting value delta theta' of the current period.
In another case, the operation of the integration element is as follows:
it should be noted that, in the embodiment of the present invention, the integrating link includes a phase-frequency decoupling module, and the phase-frequency decoupling module is a key for improving the frequency detection stability and the phase-locked response speed of the fast phase-locked loop in the embodiment of the present invention. The contents of the phase-frequency decoupling module are as follows:
the program presets a voltage phase angle error threshold, and in the embodiment of the invention, the determination of the voltage corresponding error threshold is determined according to the following theory:
for the phase-locked loop structure provided by the embodiment of the invention, when the system parameter satisfies k1=k3And k is2When the first gain module is equal to 0, that is, the first gain module is equal to the third gain module, and the second gain module is zero, the transfer function of the voltage fundamental wave detection value v' to the voltage input signal v in the s domain can be expressed as follows:
Figure BDA0002374799020000071
when the system decouples the phase angle and the frequency, the system parameters can satisfy the above conditions, and the phase-locked system can be characterized by the linear transfer function of the formula (1). Therefore, according to the phase-frequency characteristic of equation (1), the relationship between the steady-state phase angle error of the system and the grid frequency deviation can be expressed as follows:
Figure BDA0002374799020000081
wherein, ω is0The frequency is a standard frequency value of the power grid, and omega is the frequency of the power grid to be measured. According to the formula (2), the maximum fluctuation range of the steady state phase angle error of the system can be calculated according to the maximum frequency deviation range of the power grid to be measured, so that the voltage phase angle error threshold value delta theta is determinedT. The smaller the threshold value is set, the narrower the frequency locking range of the system is, the faster the response speed of the phase locking system is, and the better the frequency detection stability is, so that the frequency detection stability can be flexibly adjusted according to actual needs.
The frequency deviation limit value is +/-0.2 Hz under the normal operation condition of the power system; when the system capacity is small, the deviation limit can be relaxed to ± 0.5 Hz. The embodiment of the invention presets a voltage phase angle error threshold delta thetaT0.15rad, the frequency locking range of the threshold value corresponding to the formula (2) is +/-5 Hz, namely the output of the frequency range of 45Hz to 55HzThe signal can be input to complete the quick phase locking, and the power grid signal detection requirement is met.
After the voltage phase angle error threshold is determined, the voltage frequency adjustment value of the current cycle can be determined according to the magnitude relationship between the voltage phase angle error threshold and the voltage phase angle error value.
Specifically, when it is determined that the absolute value of the voltage phase angle error value is greater than the voltage phase angle error threshold, i.e., the voltage phase angle error value Δ θ is less than the voltage phase angle error threshold Δ θTAnd the voltage phase angle error value delta theta is greater than the negative voltage phase angle error threshold value delta thetaTThen, the voltage frequency adjustment value of the previous cycle is determined as the voltage frequency adjustment value Δ ω' of the current cycle.
When it is determined that the absolute value of the voltage phase angle error value is less than the voltage phase angle error threshold, i.e., the voltage phase angle error value Δ θ is greater than the voltage phase angle error threshold Δ θTAnd the voltage phase angle error value delta theta is less than the negative voltage phase angle error threshold value delta thetaTWhile the phase angle error value delta theta is passed through the second gain module k2And the voltage frequency adjustment value delta omega' of the current period is determined after the operation of the second integrator.
It should be noted that, in the embodiment of the present invention, the second gain module k2The method has the characteristic of self-adaptation, has no relation with the magnitude of a voltage input signal, has good portability, and is beneficial to digital implementation. Furthermore, the integration start point of the second integrator is zero, i.e., the initial value of the frequency adjustment value Δ ω' is zero.
The phase-frequency decoupling module provided by the embodiment of the invention distinguishes the transient state stage and the steady state stage of the phase locking of the system by setting the voltage phase angle error threshold value, so that the phase-locked loop works with different system parameters in two different stages, on one hand, the system can maintain the originally locked voltage frequency detection value to execute rapid phase locking, the voltage phase angle detection value can rapidly converge to the vicinity of the steady state, and the phase angle error is gradually reduced; on the other hand, the phase angle steady-state error can be eliminated, and accurate phase locking and frequency locking are completed.
After the voltage frequency adjustment value Δ ω' of the current cycle is determined, the voltage frequency detection value ω may be further determined' and the voltage phase angle detection value theta ', specifically, according to the determined voltage frequency adjustment value delta omega ' and the power grid standard frequency value omega0Adding to obtain a voltage frequency detection value omega' of the current period; and adding the phase angle adjustment value delta theta ' and the voltage frequency detection value omega ', and obtaining the voltage phase angle detection value theta ' of the current period after the operation of a third integrator.
It should be noted that, in the embodiment of the present invention, the third gain module k3The method has the characteristic of self-adaptation, has no relation with the magnitude of a voltage input signal, has good portability, and is beneficial to digital implementation. Furthermore, the integration starting point of the third integrator is pi/2, namely the initial value of the voltage phase angle detection value theta' is pi/2.
Further, according to the determined voltage amplitude detection value and voltage phase angle detection value, the voltage phase angle detection value is adjusted, specifically including:
if the voltage amplitude detection value A is smaller than zero, determining the phase reversal angle of the voltage phase angle detection value theta 'as the voltage phase angle correction value theta' of the current period, namely theta '-theta' + pi or theta '-theta' -pi; if the voltage amplitude detection value A is larger than zero, the voltage phase angle detection value theta ' of the current period is equal to the voltage phase angle correction value theta ', namely theta is equal to theta '.
It should be noted that after the voltage phase angle correction value θ ″ is determined, it may be determined that the phase-locked loop completes all operations in the current cycle, and further, the voltage amplitude detection value a in the current cycle is multiplied by the sine value sin θ 'of the voltage phase angle detection value θ' in the current cycle, so as to obtain the voltage fundamental wave detection value v 'in the current cycle, that is, it is determined that the voltage fundamental wave detection value v' in the current cycle may be applied to the next cycle.
Fig. 3 is a schematic diagram of a test result of response simulation of a fast phase-locked loop according to an embodiment of the present invention, as shown in fig. 3, a model first gain module k1A third gain module k3444, second gain block k2Take 49298 the standard voltage frequency value ω0Take 50 Hz. The parameters of the traditional enhanced phase-locked loop model as a comparison group are consistent with the fast phase-locked loop of the invention. To verify the embodiments of the present inventionEffectively, pi/2 phase angle mutation is introduced into a sinusoidal voltage input signal at the simulation time of 0.1s, and the voltage waveform tracking, phase angle difference and frequency detection value test results of the rapid phase-locked loop with the phase-frequency decoupling module are compared with those of the traditional enhanced phase-locked loop without the phase-frequency decoupling module. The test result shows that the phase-locked response speed of the rapid phase-locked loop provided by the embodiment of the invention is higher, the overshoot of the frequency detection value is far smaller than that of the traditional enhanced phase-locked loop, and the anti-jamming capability is stronger.
Fig. 4 is a schematic diagram of an experimental result of the fast phase-locked loop according to the embodiment of the present invention, in which a sinusoidal curve is an input signal for simulating a voltage of a power grid, and a triangular wave signal is a phase angle output value. The phase locking program is operated on an experimental platform based on a floating point type DSP chip (TMS320F28335), and the sampling frequency is 20 kHz. The zero moment is the starting moment of the phase locking program, the 40ms moment is the simulation power grid phase angle sudden change point, and the phase angle sudden change value is pi/2. An experimental result shows that the rapid phase-locked loop provided by the embodiment of the invention can complete locking 10ms after being started; after the phase angle jump has occurred, it can relock over a period of about 15 ms.
In order to more clearly introduce the power grid synchronous detection method based on the single-phase-locked loop provided by the embodiment of the present invention, the following describes in detail the application of the power grid synchronous detection method based on the single-phase-locked loop, by taking fig. 5 as an example:
as shown in fig. 5, the example apparatus samples grid voltage and grid-connected current in real time using voltage and current sensors, and performs analog-to-digital conversion on the current and voltage sampling signals simultaneously using an AD module; then, a digital signal processor applies the rapid phase-locked loop provided by the embodiment of the invention to realize synchronous tracking detection of the voltage of the power grid, and calculates real-time reference current according to the grid-connected output power required by the device; and finally, calculating duty ratios required by pulse width modulation of four power switching tubes of the inverter bridge by the current controller according to the current error signals, and driving the inverter bridge to output grid-connected current with the same frequency and phase as the voltage of the power grid.
In summary, an embodiment of the present invention provides a power grid synchronization detection method based on a single-phase-locked loop, including: when the absolute value of the voltage amplitude detection value of the current period is determined to be larger than the voltage amplitude threshold value, determining a voltage phase angle error value of the current period according to the voltage error value and cosine values of the voltage amplitude detection value and the voltage phase angle detection value; according to the relation between the absolute value of the voltage phase angle error value and the voltage phase angle error threshold, determining the voltage frequency adjustment value of the previous period as the voltage frequency adjustment value of the current period or determining the phase angle error value as the voltage frequency adjustment value of the current period after the operation of a second gain module and a second integrator, wherein the integral starting point of the second integrator is zero; and determining a voltage frequency detection value and a voltage phase angle detection value of the current period according to the voltage frequency adjustment value, and adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of the current period. The method introduces a phase frequency decoupling module into an enhanced phase-locked loop structure, the phase frequency decoupling module is used for distinguishing a transient state stage and a steady state stage of a system phase lock by setting a voltage phase angle error threshold value, the phase-locked loop works with different system parameters in two different stages, when the phase angle error is greater than the voltage phase angle error threshold value, the phase frequency decoupling module judges that the system is in the transient state stage of the phase lock, namely the system is in a starting stage or under the condition that a power grid to be tested is subjected to strong interference to cause transient phase lock loss, the coupling of phase angle and frequency is removed at the moment, the system maintains an original locked voltage frequency detection value to execute rapid phase lock, the voltage phase angle detection value can rapidly converge to the vicinity of the steady state, and the phase angle error is gradually reduced; when the phase angle error is smaller than the set threshold value, the phase frequency decoupling module judges that the system enters a steady state stage, at the moment, the coupling relation between the phase angle and the frequency is restored again, the phase angle steady state error is eliminated by correcting the voltage frequency detection value, and accurate phase locking and frequency locking are completed. The method solves the problem that the existing phase-locked loop causes the frequency detection value to generate larger fluctuation and easily causes phase angle locking delay under the condition that the frequency is not changed because the phase angle or amplitude of the power grid is suddenly changed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A power grid synchronous detection method based on a single-phase-locked loop is characterized by comprising the following steps:
when the absolute value of the voltage amplitude detection value of the current period is determined to be larger than the voltage amplitude threshold value, determining a voltage phase angle error value of the current period according to the voltage error value and cosine values of the voltage amplitude detection value and the voltage phase angle detection value;
according to the relation between the absolute value of the voltage phase angle error value and a voltage phase angle error threshold value, determining the voltage frequency adjustment value of the previous period as the voltage frequency adjustment value of the current period or determining the phase angle error value as the voltage frequency adjustment value of the current period after the operation of a second gain module and a second integrator, wherein the integral starting point of the second integrator is zero;
determining a voltage frequency detection value and a voltage phase angle detection value of the current period according to the voltage frequency adjustment value, and adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of the current period;
the relationship between the absolute value of the voltage phase angle error value and the voltage phase angle error threshold specifically includes:
when the absolute value of the voltage phase angle error value is determined to be larger than the voltage phase angle error threshold value, determining that the voltage frequency adjustment value of the current period is equal to the voltage frequency adjustment value of the previous period;
and when the absolute value of the voltage phase angle error value is smaller than the voltage phase angle error threshold value, determining the phase angle error value as the voltage frequency adjustment value of the current period after the operation of a second gain module and a second integrator.
2. The grid synchronization detection method according to claim 1, wherein the adjusting the voltage phase angle detection value according to the voltage amplitude detection value to obtain a voltage phase angle correction value of a current cycle specifically comprises:
if the voltage amplitude detection value is less than zero, determining the reverse angle of the voltage phase angle detection value as the voltage phase angle correction value of the current period; or
And if the voltage amplitude detection value is larger than zero, determining the voltage phase angle detection value as the voltage phase angle correction value of the current period.
3. The grid synchronization detection method according to claim 1, wherein before determining the voltage frequency detection value and the voltage phase angle detection value of the current cycle, the method further comprises:
and multiplying the voltage phase angle error value by a third gain module to obtain a voltage phase angle adjusting value of the current period.
4. A power grid synchronization detection method according to claim 3, wherein the determining the voltage frequency detection value and the voltage phase angle detection value of the current cycle according to the voltage frequency adjustment value specifically comprises:
determining a voltage frequency detection value of the current period according to the voltage frequency adjustment value and the power grid standard frequency value;
adding the voltage phase angle adjusting value and the frequency detection value, and obtaining a voltage phase angle detection value of the current period through operation of a third integrator; the starting point of the integration of the third integrator is pi/2.
5. The grid synchronization detection method of claim 1, wherein prior to determining the voltage phase angle error value for the current cycle, further comprising:
determining the voltage error value of the current period according to the voltage input signal of the current period and the voltage fundamental wave detection value obtained in the last period;
determining a voltage amplitude error value of the current period according to the voltage error value and a voltage phase angle detection value obtained in the previous period;
the voltage amplitude error value is calculated through a first gain module and a first integrator to obtain the voltage amplitude detection value of the current period; the starting point of the integration of the first integrator is zero.
6. The grid synchronization detection method according to claim 1, wherein when it is determined that the absolute value of the voltage amplitude detection value of the current cycle is greater than the voltage amplitude threshold, the method further comprises:
and when the absolute value of the voltage amplitude detection value is smaller than the voltage amplitude threshold value, determining that the phase angle error value is zero.
7. The grid synchronization detection method according to claim 1, further comprising, after obtaining the voltage phase angle correction value for the current cycle:
and multiplying the sine value of the voltage amplitude detection value and the voltage phase angle detection value to obtain the voltage fundamental wave detection value of the current period.
8. The grid synchronization detection method according to claim 1, wherein the voltage phase angle error threshold is 0.15 rad.
CN202010063468.0A 2020-01-19 2020-01-19 Power grid synchronous detection method based on single-phase-locked loop Active CN111190074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010063468.0A CN111190074B (en) 2020-01-19 2020-01-19 Power grid synchronous detection method based on single-phase-locked loop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010063468.0A CN111190074B (en) 2020-01-19 2020-01-19 Power grid synchronous detection method based on single-phase-locked loop

Publications (2)

Publication Number Publication Date
CN111190074A CN111190074A (en) 2020-05-22
CN111190074B true CN111190074B (en) 2022-04-22

Family

ID=70708328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010063468.0A Active CN111190074B (en) 2020-01-19 2020-01-19 Power grid synchronous detection method based on single-phase-locked loop

Country Status (1)

Country Link
CN (1) CN111190074B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152609B (en) * 2020-08-21 2024-05-28 中车株洲电力机车研究所有限公司 Phase-locked loop, method for controlling synchronization of grid voltage information and power electronic device
CN117805466B (en) * 2023-12-27 2024-05-17 珠海多创科技有限公司 Weak current signal detection method, weak current signal detection device, topology identification device and station area identification system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG30423A1 (en) * 1994-07-28 1996-06-01 Thomson Consumer Electronics Fast acting control system
JP2000252820A (en) * 1999-02-25 2000-09-14 Nec Corp Phase-locked loop circuit
US6424230B1 (en) * 2000-09-29 2002-07-23 Intel Corporation Loop stabilization technique in a phase locked loop (PLL) with amplitude compensation
JP2006339940A (en) * 2005-06-01 2006-12-14 Oki Electric Ind Co Ltd Pll control circuit, and control method therefor
CN102621382A (en) * 2012-03-22 2012-08-01 清华大学 Method for detecting frequency, phase and amplitude of electric signal in electric power system
JP2013167500A (en) * 2012-02-15 2013-08-29 Daihen Corp Phase detection device
CN105591647A (en) * 2015-12-23 2016-05-18 中国人民解放军重庆通信学院 Phase change restraining method and device in network voltage synchronization algorithm SRF-PLL
CN109067393A (en) * 2018-08-28 2018-12-21 南方电网科学研究院有限责任公司 A kind of phase-lock technique of electric system, device and equipment
CN109412191A (en) * 2018-12-05 2019-03-01 华南理工大学 A kind of phase-lock technique, device and equipment for HVDC transmission system
CN109560811A (en) * 2018-10-10 2019-04-02 湘潭大学 A kind of enhanced phaselocked loop of three-phase

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG30423A1 (en) * 1994-07-28 1996-06-01 Thomson Consumer Electronics Fast acting control system
JP2000252820A (en) * 1999-02-25 2000-09-14 Nec Corp Phase-locked loop circuit
US6424230B1 (en) * 2000-09-29 2002-07-23 Intel Corporation Loop stabilization technique in a phase locked loop (PLL) with amplitude compensation
JP2006339940A (en) * 2005-06-01 2006-12-14 Oki Electric Ind Co Ltd Pll control circuit, and control method therefor
JP2013167500A (en) * 2012-02-15 2013-08-29 Daihen Corp Phase detection device
CN102621382A (en) * 2012-03-22 2012-08-01 清华大学 Method for detecting frequency, phase and amplitude of electric signal in electric power system
CN105591647A (en) * 2015-12-23 2016-05-18 中国人民解放军重庆通信学院 Phase change restraining method and device in network voltage synchronization algorithm SRF-PLL
CN109067393A (en) * 2018-08-28 2018-12-21 南方电网科学研究院有限责任公司 A kind of phase-lock technique of electric system, device and equipment
CN109560811A (en) * 2018-10-10 2019-04-02 湘潭大学 A kind of enhanced phaselocked loop of three-phase
CN109412191A (en) * 2018-12-05 2019-03-01 华南理工大学 A kind of phase-lock technique, device and equipment for HVDC transmission system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Linear and Pseudolinear Enhanced Phased-Locked Loop (EPLL) Structures;Masoud Karimi-Ghartemani等;《IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS》;20140331;第61卷(第3期);第1464-1474页 *
基于频率和初相角解耦检测的新型锁相环;姜齐荣等;《电力系统自动化》;20130925;第37卷(第18期);第113-119页 *
实现相位和频率检测解榻的快速锁相环;李子林等;《电力系统自动化》;20190310;第43卷(第5期);第143-151页 *

Also Published As

Publication number Publication date
CN111190074A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN107706929B (en) Minimum variance filtering-based adaptive phase-locked loop method and system
Xiong et al. A novel PLL for grid synchronization of power electronic converters in unbalanced and variable-frequency environment
CN109067393B (en) Phase locking method, device and equipment of power system
WO2017177585A1 (en) Synchronously rotating reference frame phase-locked loop, and test method and device therefor
US11038512B2 (en) Phase-locking apparatus and phase-locking method
CN111190074B (en) Power grid synchronous detection method based on single-phase-locked loop
CN101964655B (en) Balance error elimination type high-precision digital phase locking method
CN109638881B (en) Virtual synchronization method and system for energy storage inverter with power grid strength self-adaptive optimization
WO2018122391A1 (en) Precise real-time advanced grid monitoring
Ahmed et al. Quasi type-1 PLL with tunable phase detector for unbalanced and distorted three-phase grid
CN103546149B (en) A kind of phase-lock technique of three-phase electrical power system
Li et al. Sensorless control for PMSM drives using the cubature Kalman filter based speed and flux observer
CN114935692A (en) Converter impedance measuring method and device
CN116054233A (en) Switching control method of grid-structured inverter with phase supporting capability under fault
Bai et al. Fully digital grid synchronization under harmonics and unbalanced conditions
CN111800055B (en) Method and device for determining average torque of doubly salient motor
CN109633441B (en) Asynchronous motor short circuit test method
KR101545139B1 (en) Method of phase tracking of power system using LPN filter
CN110620398B (en) Power grid impedance measuring method and grid-connected system
CN117233503B (en) Method and related device for testing inertia and damping of network-structured converter
CN113625066B (en) Distribution transformer phase unbalance detection method, system, device and storage medium
CN117293901B (en) Grid-connected inverter control structure identification method, system, equipment and medium
CN111106618A (en) Harmonic analysis method and device for new energy power generation equipment to access power system
CN114910713A (en) Three-phase power supply voltage phase sequence and frequency detection method based on numerical calculation
Kim et al. DC offset compensation algorithm in the grid voltage of single-phase grid-connected inverter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant