CN101826730B - Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop - Google Patents

Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop Download PDF

Info

Publication number
CN101826730B
CN101826730B CN200910127321.7A CN200910127321A CN101826730B CN 101826730 B CN101826730 B CN 101826730B CN 200910127321 A CN200910127321 A CN 200910127321A CN 101826730 B CN101826730 B CN 101826730B
Authority
CN
China
Prior art keywords
omega
theta
rightarrow
bang
sin
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.)
Expired - Fee Related
Application number
CN200910127321.7A
Other languages
Chinese (zh)
Other versions
CN101826730A (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.)
INVOLAR Corporation Ltd.
Original Assignee
INVOLAR Corp Ltd
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 INVOLAR Corp Ltd filed Critical INVOLAR Corp Ltd
Priority to CN200910127321.7A priority Critical patent/CN101826730B/en
Publication of CN101826730A publication Critical patent/CN101826730A/en
Application granted granted Critical
Publication of CN101826730B publication Critical patent/CN101826730B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Eletrric Generators (AREA)
  • Inverter Devices (AREA)

Abstract

The invention discloses a Bang-Bang phase locked control algorithm used for grid connection of solar energy, wind energy and other renewable energy sources. The phase lock can be efficiently realized at a high speed by the following steps: constructing a rotating coordinate system and implementing a cross product; converting the complicated algorithm of the conventional digital phase discriminators and digital filters into low-frequency pulse direct current under the rotating coordinate system; and realizing low-pass filtering by implementing Bang_Bang regulation.

Description

A kind of efficient BANG-BANG software phase-lock loop based on rotating coordinate system
Technical field
The present invention relates to electrotechnics and nonlinear Control technology.The present invention is suitable for new energy grid-connected power, particularly solar energy, wind power grid generating.
Background technology
Existing electrical network Phase Lock Technique, has the phase-locked chip of zero passage detection and dedicated hardware.Software phlase locking is taking fast fourier transform (FFT) as representative.Hardware circuit, except increase circuit complexity, designs and applies also underaction.Fft algorithm complexity and dynamic response are poor, are suitable for the application such as view data processing, grid-connected phase-locked on except taking a large amount of DSP resources, be also difficult to meet system dynamic requirements.Consider grid-connected synchronous particularity, be that mains frequency excursion is generally 50Hz ± 1%, and require the phase-locked higher real-time that has, the present invention proposes a kind of efficient, software phlase locking algorithm at a high speed, only needs four multiplication and is judged and carried out four-quadrant location by logic, just can follow the tracks of fast line voltage and realize frequency and phase place locking, and because algorithm is equivalent to direct current low-pass filtering under rotational coordinates, therefore there is good interference free performance.
Summary of the invention
The present invention is the software phlase locking algorithm that a kind of Bang_Bang regulates.Construct a space vector according to line voltage
Figure GDA0000469301420000011
and to make its angular frequency be ω 0, starting phase angle is θ 0, then construct a rotating coordinate system being formed by (ω, θ), and select pair of orthogonal base
U → q = [ cos ( ωt + θ ) , sin ( ωt + θ ) U → d = [ - sin ( ωt + θ ) , cos ( ωt + θ ) ]
Do cross product
V → 0 × U → q = a K → , V → 0 × U → d = b K →
Figure GDA0000469301420000014
direction determined by right-hand rule, and a, the symbol combination of b has determined
Figure GDA0000469301420000015
with position relationship, for
Figure GDA0000469301420000017
for the quadrant position under the coordinate system of transverse axis.If
Figure GDA0000469301420000018
fall within II, III quadrant, will
Figure GDA0000469301420000019
rotate 180 °; If
Figure GDA00004693014200000110
fall within I quadrant and implement the angle increment of one-δ, if
Figure GDA0000469301420000021
fall within IV quadrant, implement the angle increment of one+δ.Thereby can make
Figure GDA0000469301420000022
stably follow the tracks of fast,
Figure GDA0000469301420000023
be that ω follows the tracks of ω 0, θ follows the tracks of θ 0thereby, realize phase-locked.
Core content of the present invention is, by structure rotating coordinate system and enforcement cross product, by the complicated algorithm of conventional digital phase discriminator and digital filter, be converted into the DC quantity of low frequency pulsating under rotating coordinate system, realize low-pass filtering by implementing Bang_Bang adjusting, can realize phase-locked efficient high-speed.
Specific implementation method
If closed loop frequency is f s, line voltage frequency is f g, rotating coordinate system angle increment
Figure GDA0000469301420000024
make it and synchronized, by
obtain
Due to, f gtherefore=50 ± 5 can establish
Figure GDA0000469301420000027
Structure vector
Figure GDA0000469301420000028
Figure GDA0000469301420000029
If
Figure GDA00004693014200000210
and
Figure GDA00004693014200000211
Figure GDA00004693014200000212
If line voltage is u 1=V msin (ω 0t+ θ 0), can obtain u by differential circuit 2=V mcos (ω 0t+ θ 0), or cosine component can be by memory u 11/4th cycles of value displacement realize, i.e. u 2=V msin (ω 0t+ θ 0+ 90 °)=V mcos (ω 0t+ θ 0), wherein V mit is voltage magnitude.Further, establish v 1 = sin ( ω 0 t + θ 0 ) = u 1 V m , v 2 = cos ( ω 0 t + θ 0 ) = u 2 V m , Wherein V m = LPF ( u 1 2 + u 2 2 ) By
Figure GDA00004693014200000215
obtain through low-pass filtering.At this structure
Figure GDA00004693014200000216
do respectively cross product
Figure GDA00004693014200000222
and and order V → 0 × U → q = a K → , V → 0 × U → d = b K → From cross product formula a = | | V → 0 | | · | | U → q | | · sin α = sin α , b = | | V → 0 | | · | | U → d | | · sin β = sin β
Will
Figure GDA00004693014200000221
be decided to be transverse axis
By β=ω t+ θ-ω 0t-θ 0=2 π t (f-f 0)+(θ-θ 0),
And f and f 0differ very little (<5%) therefore α and β show as the DC quantity of low frequency pulsating, thereby can implement low-pass filtering to it, obtain a 0=LPF (sin α), b 0=LPF (sin β)
From a=sin α, in the time of sin α >0 be positioned at Left half-plane, otherwise RHP; From b=sin β, in the time of sin β >0
Figure GDA0000469301420000032
be positioned at poincare half plane, otherwise be positioned at lower half-plane.
Obtain state table below:
a 0 + + - -
b 0 + - - +
U 1Position
If
Figure GDA0000469301420000033
be positioned at II, III quadrant, illustrates two vectorial wide aparts, therefore can be by
Figure GDA0000469301420000034
directly Rotate 180 °; If
Figure GDA0000469301420000035
be positioned at I quadrant, explanation
Figure GDA0000469301420000036
in advance should reduce
Figure GDA0000469301420000038
if
Figure GDA0000469301420000039
be positioned at IV quadrant, should strengthen
Figure GDA00004693014200000310
if
Figure GDA00004693014200000311
occur being continuously positioned at II, the situation of III quadrant, illustrates that off-grid or electrical network are abnormal.
For
Figure GDA00004693014200000312
regulated quantity δ, if the step-lengths such as employing should meet
Figure GDA00004693014200000313
preferably select
Figure GDA00004693014200000314
if adopt the step-length such as not, should make maximum step-length
Figure GDA00004693014200000315
to ensure that α converges to 0.
If
Figure GDA00004693014200000316
fall into for the second time II, III quadrant, should make regulated quantity δ double; Still invalid after doubling, prove that power network signal disappears or departs from allowed band.By
Figure GDA00004693014200000317
obtain
Figure GDA00004693014200000318
?
Figure GDA00004693014200000319
By iterative formula
Figure GDA00004693014200000320
obtain
Figure GDA00004693014200000321
right
Figure GDA00004693014200000322
do low-pass filtering, obtain
Figure GDA00004693014200000323
so far, realized the locking of diagonal frequencies and starting phase angle.
This algorithm is ensureing, under the prerequisite of equal phase-locked precision, to only have 1/3rd left and right of conventional PI algorithm operation time, for DSP has saved a large amount of calculation resources.On the DSP of the 32MIPS of Freescale, its time of implementation is less than 5 microseconds.

Claims (3)

1. the efficient BANG-BANG software phase-lock loop based on rotating coordinate system, is characterized in that, this software phase-lock loop is a kind of grid-connected phase-locked control algolithm for renewable energy source domain; In algorithm, construct a two-dimensional linear space being generated by (ω, θ), and chosen
Figure FDA0000484781530000011
Figure FDA0000484781530000012
wherein
Figure FDA0000484781530000013
with
Figure FDA0000484781530000014
can form one group of orthonormal basis; If line voltage angular frequency is ω 0, initial phase angle is θ 0, and voltage magnitude is V m, can construct so a vector V &RightArrow; 0 = [ cos ( &omega; 0 t + &theta; 0 ) , sin ( &omega; 0 t + &theta; 0 ) ] ; Do respectively cross product
V &RightArrow; 0 &times; U &RightArrow; q = ( cos ( &omega; 0 t + &theta; 0 ) i &RightArrow; + sin ( &omega; 0 t + &theta; 0 ) j &RightArrow; ) &times; ( cos ( &omega;t + &theta; ) i &RightArrow; + sin ( &omega;t + &theta; ) j &RightArrow; ) = ( cos ( &omega; 0 t + &theta; 0 ) sin ( &omega;t + &theta; ) - sin ( &omega; 0 t + &theta; 0 ) cos ( &omega;t + &theta; ) ) k &RightArrow; = sin ( ( &omega; - &omega; 0 ) t + ( &theta; - &theta; 0 ) ) k &RightArrow;
Cross product
V &RightArrow; 0 &times; V &RightArrow; d = ( cos ( &omega; 0 t + &theta; 0 ) i &RightArrow; + sin ( &omega; 0 t + &theta; 0 ) j &RightArrow; ) &times; ( - sin ( &omega;t + &theta; ) i &RightArrow; + cos ( &omega;t + &theta; ) j &RightArrow; ) = ( cos ( &omega; 0 t + &theta; 0 ) cos ( &omega;t + &theta; ) + sin ( &omega; 0 t + &theta; 0 ) sin ( &omega;t + &theta; ) ) k &RightArrow; = cos ( ( &omega; - &omega; 0 ) t + ( &theta; - &theta; 0 ) ) k &RightArrow;
And order
Figure FDA0000484781530000018
be a=sin ((ω-ω 0) t+ (θ-θ 0)),
b=cos((ω-ω 0)t+(θ-θ 0))
, according to a, the symbol of b can be determined
Figure FDA0000484781530000019
with
Figure FDA00004847815300000110
relative position relation; With
Figure FDA00004847815300000111
as transverse axis, as a coordinate system of longitudinal axis structure, if
Figure FDA00004847815300000113
be positioned at I, IV quadrant, regulates ω in BANG-BANG mode, implements a negative or positive angle increment and slows down or strengthen
Figure FDA00004847815300000114
angular velocity of rotation; If
Figure FDA00004847815300000115
be positioned at II, III quadrant, will
Figure FDA00004847815300000116
rotate 180 °,
Figure FDA00004847815300000117
follow the tracks of
Figure FDA00004847815300000118
realize soft phase-lockedly, realize a kind of grid-connected phase-locked control algolithm.
2. a kind of efficient BANG-BANG software phase-lock loop based on rotating coordinate system according to claim 1, wherein vector it is characterized in that:
Figure FDA00004847815300000120
vector can be constructed by following mode, and sinusoidal component is directly measured as u by line voltage 1=V msin (ω 0t+ θ 0), cosine component can obtain u by differential circuit 2=V mcos (ω 0t+ θ 0), or cosine component can be by memory u 11/4th cycles of value displacement realize, i.e. u 2=V msin (ω 0t+ θ 0+ 90 °)=V mcos (ω 0t+ θ 0), wherein V mit is voltage magnitude; Further, establish v 1 = sin ( &omega; 0 t + &theta; 0 ) = u 1 V m , v 2 = cos ( &omega; 0 t + &theta; 0 ) = u 2 V m , Wherein V m = LPE ( u 1 2 + u 2 2 ) , Thereby structure vector V &RightArrow; 0 = [ v 2 , v 1 ] = [ cos ( &omega; 0 t + &theta; 0 ) , sin ( &omega; 0 t + &theta; 0 ) ] .
3. a kind of efficient BANG-BANG software phase-lock loop based on rotating coordinate system according to claim 1, wherein regulates realization by BANG-BANG
Figure FDA0000484781530000024
follow the tracks of
Figure FDA0000484781530000025
it is characterized in that: by a, b with
Figure FDA0000484781530000026
as transverse axis, as the quadrant location positioning a under a coordinate system of longitudinal axis structure, the symbol combination of b, thus determine with
Figure FDA0000484781530000029
position relationship; Regulate by BANG-BANG, even
Figure FDA00004847815300000210
in advance
Figure FDA00004847815300000211
be positioned at I quadrant, implement a negative angle increment and slow down
Figure FDA00004847815300000212
angular velocity of rotation, if in advance
Figure FDA00004847815300000214
be positioned at IV quadrant, implement a positive angle increment and strengthen
Figure FDA00004847815300000215
angular velocity of rotation, if
Figure FDA00004847815300000216
be positioned at II, III quadrant, will
Figure FDA00004847815300000217
rotate 180 °, can make
Figure FDA00004847815300000218
stably follow the tracks of fast,
Figure FDA00004847815300000219
thereby realize soft phase-locked.
CN200910127321.7A 2009-03-06 2009-03-06 Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop Expired - Fee Related CN101826730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910127321.7A CN101826730B (en) 2009-03-06 2009-03-06 Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910127321.7A CN101826730B (en) 2009-03-06 2009-03-06 Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop

Publications (2)

Publication Number Publication Date
CN101826730A CN101826730A (en) 2010-09-08
CN101826730B true CN101826730B (en) 2014-06-18

Family

ID=42690500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910127321.7A Expired - Fee Related CN101826730B (en) 2009-03-06 2009-03-06 Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop

Country Status (1)

Country Link
CN (1) CN101826730B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207360A (en) * 2006-12-19 2008-06-25 新疆金风科技股份有限公司 Megawatt level direct drive type speed-changing oar-changing constant frequency wind generator set

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207360A (en) * 2006-12-19 2008-06-25 新疆金风科技股份有限公司 Megawatt level direct drive type speed-changing oar-changing constant frequency wind generator set

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP平4-42780A 1992.02.13

Also Published As

Publication number Publication date
CN101826730A (en) 2010-09-08

Similar Documents

Publication Publication Date Title
CN105529950B (en) A kind of single-phase grid-connected inverter control method based on Second Order Generalized Integrator
CN101982918B (en) Direct driving wind power generation system based on double SVPWM current mode convertor and control method thereof
CN103490772B (en) A kind of slip based on reactive-load compensation weights single-phase soft-lock phase method
CN105896600B (en) A kind of permanent magnet synchronous direct-drive wind power generator grid-connected system control method
CN101944840A (en) Control method for eliminating DC harmonic voltage for grid-side converter of double-fed wind power generator
CN107623522B (en) Method for controlling bi-second order generalized integral phase-locked loop based on d-q transformation
CN103117699B (en) Control method based on dual-vector resonance adjusting double-fed asynchronous wind driven generator
CN101771361A (en) Method for controlling direct power of grid-connected inverter without non-AC voltage sensor
CN104065320A (en) Speed sensorless control method for doubly-fed wind turbine generator system
CN103267897A (en) Three-phase-locked loop based on reversed Park conversion
CN103399202A (en) Phase locking method for control system of variable-speed pump storage group
CN102820884A (en) Control method of single-phase phase locked loop based on second-order integrator
CN103986458A (en) Micro-grid single-phase grid-connection phase-locked loop control method based on repetition control
CN102868163B (en) A kind of self adaptation grid-connected converter three-phase soft phase-locked loop
CN110086196A (en) Single-phase cascaded H-bridges control method of grid-connected inverter under a kind of weak grid
Wen et al. Vector control strategy for small-scale grid-connected PMSG wind turbine converter
CN103762618B (en) A kind of have the electricity generation system and control method that cause steady ability
WO2022022202A1 (en) Inductance current differential feedback-based virtual synchronous machine strong power grid stability control method
CN110198046A (en) A kind of modular multilevel matrix form converter bridge arm Current Decoupling method
CN111431210B (en) Phase-locked loop control method and system of three-phase grid-connected converter
CN101826730B (en) Rotating coordinate system-based high-efficiency BANG-BANG software phase locked loop
CN103593573A (en) Fundamental wave positive sequence voltage extracting and phase locking method
CN105588981A (en) Power grid phase-lock method based on low-pass wave trapper
CN103235184B (en) Grid voltage vector angle detection algorithm of double-fed wind power generation current transformer
CN109524963A (en) A kind of DSOGI phaselocked loop based on differential harmonic elimination

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201203 ROOM 408, BUILDING 84, LANE 887, ZUCHONGZHI ROAD, PUDONG NEW DISTRICT, SHANGHAI TO: 201203 ROOM 501, BUILDING 84, LANE 887, ZUCHONGZHI ROAD, ZHANGJIANG HIGH TECHNOLOGY PARK, PUDONG NEW DISTRICT, SHANGHAI

TA01 Transfer of patent application right

Effective date of registration: 20110317

Address after: Zuchongzhi road in Pudong New Area Zhangjiang hi tech park Shanghai 201203 Lane 887 Building No. 84 Room 501

Applicant after: INVOLAR Corporation Ltd.

Address before: 201203 Shanghai city Pudong New Area Zuchongzhi Road Lane 887 Building No. 84 Room 408

Applicant before: Yingweili New Energy Technology (Shanghai) Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140618

Termination date: 20180306

CF01 Termination of patent right due to non-payment of annual fee