CN103095292B - State judgment method of three-phase power grid software phase-locked loop - Google Patents

State judgment method of three-phase power grid software phase-locked loop Download PDF

Info

Publication number
CN103095292B
CN103095292B CN201210580731.9A CN201210580731A CN103095292B CN 103095292 B CN103095292 B CN 103095292B CN 201210580731 A CN201210580731 A CN 201210580731A CN 103095292 B CN103095292 B CN 103095292B
Authority
CN
China
Prior art keywords
phase
module
locked loop
signal
power grid
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
CN201210580731.9A
Other languages
Chinese (zh)
Other versions
CN103095292A (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.)
Automation Research and Design Institute of Metallurgical Industry
Original Assignee
Automation Research and Design Institute of Metallurgical Industry
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 Automation Research and Design Institute of Metallurgical Industry filed Critical Automation Research and Design Institute of Metallurgical Industry
Priority to CN201210580731.9A priority Critical patent/CN103095292B/en
Publication of CN103095292A publication Critical patent/CN103095292A/en
Application granted granted Critical
Publication of CN103095292B publication Critical patent/CN103095292B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A state judgment method of a three-phase power grid software phase-locked loop belongs to the technical field of the three-phase power grid software phase-locked loop. A master control system for controlling a grid-connected converter is connected with a major loop of the converter through a Hall device, the master control system comprises a timer module, a sampling module, a phase-locked loop module and an effective value calculation module, a three-phase power grid real-time voltage value collected by the sampling module is read, and a power grid voltage effective value is calculated. A phase-locked loop angular velocity deviation fluctuating value and the three-phase power grid voltage effective value serve as input signals of phase-locked loop state judgment, input signals are processed according to self characteristics of the software phase-locked loop, then the input signals are judged through locked judgment logics, locked processes, unlocked judgment logics and unlocked processes, and three operation states including locking, unlocking or overtime of the phase-locked loop are obtained. The state judgment method has the advantages that an operating state judgment problem of the three-phase power grid software phase-locked loop is solved, and the state judgment method is applied to grid-connected power electronic equipment using the software phase-locked loop for locking power grid phase angles.

Description

A kind of condition judgement method of three phase network software phase-lock loop
Technical field
The invention belongs to the software phase-lock loop technical field of three phase network, especially provide a kind of condition judgement method of three phase network software phase-lock loop.
Background technology
Along with the progress of novel power transistor, generation of electricity by new energy, flexible power transmission and distribution, the technology such as Active Front End etc. are in the ascendant.The common ground applying the equipment of these technology is: first equipment need the phase angle obtaining the electrical network that it accesses in real time, then carried out the tasks such as generating, distribution, compensation, electricity consumption according to obtained phase angle.At present, the method being often used to obtain three phase network phase angle is software phase-lock loop, ac grid voltage under three-phase static coordinate system is direct voltage under two-phase rotating coordinate system by the method migration of spatial alternation by the method, is then come its phase angle real-time tracking by a pi regulator.Software phase-lock loop has the features such as speed is fast, accuracy is high, cost is low, and therefore, its application is more and more extensive.Carry out in phase-locked equipment at application software phase-locked loop method, phase-locked loop is all its basis run and core, and the performance of phase-locked loop is very large to the performance impact of whole equipment.
Through years of researches, software phlase locking loop technique all makes great progress in rapidity, stability, anti-humorous wave interference etc., but, in actual moving process, due to the uncertainty of running environment, can not ensure that phase-locked loop can run with the performance index of design always, therefore, other modules of system need to carry out online real-time judgement to the running status of phase-locked loop, and the state then residing for phase-locked loop makes corresponding adjustment, avoid the action occurring mistake.At present, for the decision method that the actual motion state of three phase network software phase-lock loop is imperfect.
Summary of the invention
The object of the present invention is to provide a kind of condition judgement method of three phase network software phase-lock loop, solve the running status decision problem of three phase network software phase-lock loop, be applied to and use software phase-lock loop to carry out in the grid-connected power electronic equipment of electrical network phase angle lock.
Control the connection of master control system by hall device and current transformer major loop of grid-connected converter, gather the three-phase power grid voltage instantaneous signal of major loop, master control system, by this voltage signal, calculates the angular speed of electrical network and the voltage of electrical network in real time, master control system comprises with lower module
1) timer module, controls the execution cycle of other modules, is divided into quick timer module and timer module at a slow speed, is respectively the module needing to perform fast and the module performed at a slow speed provides break in service;
2) sampling module, gathers the real-time voltage value of three phase network under the control of timer module;
3) phase-locked loop module, under the control of timer module, the three phase network real-time voltage value reading sampling module collection calculates the angle values of current angular velocity deviate and subsequent time;
4) effective value computing module, reads the three phase network real-time voltage value that sampling module gathers, and calculates line voltage effective value;
Phase-locked loop module locks the phase angle of electrical network by the instantaneous voltage of three phase network, exports electrical network current angular velocity value or the current angle values of electrical network.When three phase network is lost, phase-locked loop module cannot provide correct electrical network phase angle signal.Simultaneously, the performance of phase-locked loop module self depends on the inclined extent of its angular speed locked and true electrical network angular speed, when phase lock loop locks, the fluctuation of the deviation between the angular speed of phase lock loop locks and true electrical network angular speed must be within the specific limits.
The undulating value of the angular speed deviation that the present invention uses phase-locked loop module to export and three-phase power grid voltage effective value are as the initial conditions of phase-locked loop condition judgement, judged by locking decision logic and flow process and non-locking decision logic and flow process, draw the locking (Lock) of phase-locked loop, non-locking (UnLock) or time-out (OT) three kinds of running statuses.
The method comprises the following steps,
1, timer module timing arrives fast, produces timing interrupts, calls the Interruption service routine of quick timer;
2, in quick timer module interrupt service routine, sampling module uses A/D chip to gather the real-time voltage data of three phase network, stored in buffering area;
3, in quick timer module interrupt service routine, phase-locked loop module reads the data that sampling module gathers, and uses these data to calculate the deviate of the angular speed of current time phase lock loop locks and the angular speed of electrical network;
4, in quick timer module interrupt service routine, the angular speed deviate of phase-locked loop module by calculating, carries out integration according to the timing of quick timer module, calculates the angle values of subsequent time;
5, above step 1) ~ 4) time cycle of setting according to quick timer module runs, often runs once, export an angular speed deviate and an angle values;
6, timer module timing arrives at a slow speed, produces timing interrupts, calls the Interruption service routine of timer at a slow speed;
7, in the interrupt service routine of timer interruption at a slow speed, effective value computing module reads sampling module and is stored into three-phase power grid voltage data in buffering area, calculates three-phase power grid voltage effective value;
8, in the interrupt service routine of timer interruption at a slow speed, first phase-locked loop condition judgement module judges the current residing state of software phase-lock loop, if software phase-lock loop is in unlocked state, performs step 9), otherwise, perform step 10)
9, in the interrupt service routine of timer interruption at a slow speed, perform phase lock loop locks condition judgement flow process, the i.e. effective value of the angular speed deviate of phase-locked loop condition judgement module reading software phase-locked loop module output and the line voltage of effective value computing module calculating, if in the time threshold values of setting, the undulating value of angular speed deviation continues the threshold values being less than setting, and line voltage continues the line voltage being greater than setting, then judge phase lock loop locks, provide Lock signal, if do not provide Lock signal at the time threshold values internal lock phase ring status determination module of setting, then think that phase-locked loop is overtime, provide OT signal,
10, in the interrupt service routine of timer interruption at a slow speed, perform phase-locked loop unlocked state determination flow, namely phase-locked loop condition judgement module reads the effective value of the angular speed deviate of phase-locked loop module output and the line voltage of effective value computing module calculating, if to continue comparatively greatly or line voltage continues too low in the fluctuation of time threshold values interior angle velocity deviation of setting, then provide phase-locked loop non-locking signal, i.e. UnLock signal;
11, step 6) ~ 10) run according to the time cycle of timer setting at a slow speed, continue to export phase-locked loop status signal.
To above step 9), 10) be described as follows,
The present invention uses the difference of double phase-locked loop angular speed deviation to represent the fluctuation of phase-locked loop angular speed deviation, and uses the impact that firstorder filter filtering industrial frequency noise fluctuates on phase-locked loop angular speed deviation.
In order to avoid the impact that noise signal is brought result of determination, the present invention adopts lasting consistent result of determination in a period of time to export as final judgement.
The invention has the beneficial effects as follows can judge software phase-lock loop exactly locking, non-locking and time-out three kinds of states.
Accompanying drawing explanation
Fig. 1 is enforcement block diagram of the present invention.
Fig. 2 is locking decision logic figure.
Fig. 3 is non-locking decision logic figure.
Fig. 4 is locking decision procedure flow chart.
Fig. 5 is non-locking criteria flow chart.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is an embodiment of the present invention, in this example, the present invention is embodied as phase-locked loop condition judgement module 1006, the service that other modules in this module use system provide or signal, completing the task of phase-locked loop condition judgement, is the state of other modules instruction phase-locked loop module 1003 in system.
In FIG, time block 1001 controls the execution cycle of sampling module 1002 and phase-locked loop module 1003, time block 1004 controls the execution cycle of effective value computing module 1005 and phase-locked loop determination module 1006, and phase-locked loop determination module 1006 comprises again locking determination module 1007 and non-locking determination module 1008.In actual implementation process, the timing cycle of timer module 1004 is greater than the timing cycle of timer module 1001, effective value computing module uses acquiescence electrical network angular speed calculation line voltage effective value when phase-locked loop non-locking, use the angular speed calculation line voltage effective value of phase lock loop locks after phase lock loop locks.Sampling module 1002 cycle under the control of time block 1001 performs, gather the instantaneous voltage signal uabc of three phase network, phase-locked loop module 1003 calculates electrical network angular velocity signal W and electrical network angular speed deviation signal DW according to the three phase network instantaneous voltage signal uabc of input, effective value computing module is according to the electrical network angular velocity signal W of input and three-phase power grid voltage instantaneous value uabc, calculate three-phase power grid voltage effective value UABC, the DW signal of phase-locked loop determination module 1006 according to input and the current state of UABC signal determining phase-locked loop, phase-locked loop state according to judging provides locking signal Locked, timeout signal OT or non-locking signal UnLocked.
Fig. 2, Fig. 3 are for illustration of phase-locked loop condition judgement logic of the present invention.
In Fig. 2, the current angular velocity deviation signal that phase-locked loop module 1003 exports and last angular speed deviation signal are done after difference by low-pass filtering module 2001 filtering, then change threshold signal DWThd1 signal with the phase-locked loop deviation of setting to compare at comparison module 2002 place, line voltage effective value signal UA, UB, the line voltage threshold signal UThd1 of UC and setting is at comparison module 2003, comparison module 2004, comparison module 2005 place compares, the output signal of four comparison modules 2001 ~ 2004 is carrying out logic and operation with logic module 2006 place, this result of calculation controls the counting of counting module 2008, under outputing signal effective situation with logic module 2006, the fixed time interval that counting module 2008 sets with time block 1004 counts, when outputing signal invalid with logic module 2006, counter module 2008 resets, the count value of counter module 2008 and the time threshold values Tthd1 of setting compare at comparison module 2010 place, if this count value is greater than Tthd1, then export Locked signal.Locked signal controls counting module 2009 and counts after reverse module 2007 is reverse, when reverse module 2007 exports effective, the fixed time interval that counter module 2009 sets with time block 1004 counts, when reverse module exports invalid, counting module 2009 resets, count value and the setting-up time threshold values Tthd2 of counter module 2009 compare at comparison module 2011 place, if this count value is greater than Tthd2 value, comparison module 2011 exports OT signal.
In Fig. 3, the current angular velocity deviation signal that phase-locked loop module 1003 exports and last angular speed deviation signal are done after difference by low-pass filtering module 3001 filtering, then change threshold signal DWThd2 with the phase-locked loop deviation of setting to compare at comparator 3002 place, line voltage effective value signal UA, UB, UC signal respectively with setting threshold voltage signal UThd2 at comparison module 3003, 3004, 3005 places compare, comparison module output signal or logic module 3006 place carry out logic OR computing, or logical output values control counting module 3007 counts, when or logic module 3006 exports effective time, the fixed time interval that counting module 3007 sets with time block 1004 counts, when or logic is invalid time, counting module 3007 count value resets, count value and the setting-up time threshold values Tthd3 of counting module 3007 compare at comparison module 3008 place, if count value is greater than Tthd3 threshold values, comparator exports Unlocked signal.
Here provide the set point of threshold values described in a picture group 1 ~ 3, in actual implementation process, these set points should change according to performance difference.Time block 1001 fixed time interval 250 microsecond, time block 2004 fixed time interval 10 milliseconds, angular speed deviation variation threshold values DWthd1 is 5% of actual electric network angular speed, voltage effective value threshold values UThd1 is 15% of actual electric network effective value, timing threshold values Tthd1 is count values corresponding to 3 seconds, and timing threshold values Tthd2 is 1 minute corresponding count value.Angular speed variation variance thresholds DWthd2 is 5% of actual electric network angular speed, and line voltage threshold signal UThd2 is 15% of actual electric network voltage effective value, and time threshold values Tthd3 is set as the count value that 5 seconds are corresponding.
Fig. 4, Fig. 5 are for illustration of execution flow process of the present invention.
In Fig. 4, locking determination flow starts from 4001, judge that whether OT signal is effective at 4002 places, if OT is effective, then lock determination flow and end at 4015, if OT invalidating signal, then continue to judge that whether phase-locked loop locking signal Unlock is effective, if Unlock invalidating signal, then lock determination flow and end at 4015, if Unlocked signal is effective, locking determination flow 4004 places compare DW currency with on the difference of a moment value whether be less than DWThd1, compare UA at 4005 places and whether be greater than Uthd1, compare UB at 4006 places and whether be greater than UThd1, compare UC at 4007 places and whether be greater than UThd1, if the comparison of 4004 ~ 4007 exports to be, then COUNT1 adds one at 4008 places, if 4004 ~ 4007 have any place compare export be no, then COUNT1 resets at 4009 places, whether the value comparing COUNT1 at 4013 places is greater than Tthd1, if it is yes for exporting, then Locked signal is set at 4014 places effective, time-out judges that count value COUNT2 adds one at 4010 places, the value of COUNT2 and Tthd2 compare at 4011 places, if the value of COUNT2 is greater than Tthd2, it is effective for then arranging OT signal at 4012 places, last determination flow ends at 4015.
In Fig. 5, non-locking determination flow starts from 5001 places, and judge that at 5002 places whether Locked signal is effective, if Locked invalidating signal, then non-locking determination flow ends at 5011.If Locked signal is effective, then non-locking determination flow 5003,5004,5005,5006 places judge respectively DW currency with on the difference of a moment value whether be greater than DWThd2, UA and whether be less than UThd2, UB and whether be less than UThd2, UC and whether be less than UThd2, if it is yes that any place of 5003 ~ 5006 places compares output, then COUNT3 adds one at 5008 places, be no if 5003 ~ 5006 places compare output, then COUNT3 zero setting.At 5009 places, whether the value comparing COUNT3 is greater than Tthd3, if it is no for comparing output, then EP (end of program) is in 5011, if it is yes for comparing output, then it is effective for going out to arrange Unlocked signal 5010, and then EP (end of program) is in 5011.
Locked signal in Fig. 4 ~ 5, Unlocked signal, that OT signal is all initialized as when program initialization is invalid.

Claims (1)

1. the condition judgement method of a three phase network software phase-lock loop, control the connection of master control system by hall device and current transformer major loop of grid-connected converter, gather the three-phase power grid voltage instantaneous signal of current transformer major loop, master control system is by voltage transient signal, the real-time angular speed of calculating electrical network and the voltage of electrical network, master control system comprises timer module, sampling module, phase-locked loop module, effective value computing module, read the three phase network real-time voltage value that sampling module gathers, calculate line voltage effective value; The undulating value of angular speed deviation using phase-locked loop module to export and three-phase power grid voltage effective value are as the initial conditions of phase-locked loop condition judgement, judged by locking decision logic and flow process and non-locking decision logic and flow process, draw the locking Lock signal of phase-locked loop, non-locking UnLock signal or overtime OT signal three kinds of running statuses; It is characterized in that, comprise the following steps,
(1) timer module timing arrives fast, produces timing interrupts, calls the Interruption service routine of quick timer;
(2) in quick timer module interrupt service routine, sampling module uses A/D chip to gather the real-time voltage data of three phase network, stored in buffering area;
(3) in quick timer module interrupt service routine, phase-locked loop module reads the data that sampling module gathers, and uses these data to calculate the deviate of the angular speed of current time phase lock loop locks and the angular speed of electrical network;
(4) in quick timer module interrupt service routine, the angular speed deviate of phase-locked loop module by calculating, carries out integration according to the timing of quick timer module, calculates the angle values of subsequent time;
(5) time cycle that above step (1) ~ (4) set according to quick timer module is run, and often runs once, exports an angular speed deviate and an angle values;
(6) timer module timing arrives at a slow speed, produces timing interrupts, calls the Interruption service routine of timer at a slow speed;
(7) in the interrupt service routine of timer interruption at a slow speed, effective value computing module reads sampling module and is stored into three-phase power grid voltage data in buffering area, calculates three-phase power grid voltage effective value;
(8) in the interrupt service routine of timer interruption at a slow speed, first phase-locked loop condition judgement module judges the current residing state of software phase-lock loop, if software phase-lock loop is in unlocked state, performs step (9), otherwise, perform step (10)
(9) in the interrupt service routine of timer interruption at a slow speed, perform phase lock loop locks condition judgement flow process, the i.e. effective value of the angular speed deviate of phase-locked loop condition judgement module reading software phase-locked loop module output and the line voltage of effective value computing module calculating, when in the time threshold values in setting, the undulating value of angular speed deviation continues the threshold values being less than setting, and line voltage continues the line voltage being greater than setting, then judge phase lock loop locks, provide Lock signal, when the time threshold values internal lock phase ring status determination module in setting does not provide Lock signal, then think that phase-locked loop is overtime, provide OT signal,
(10) in the interrupt service routine of timer interruption at a slow speed, perform phase-locked loop unlocked state determination flow, namely phase-locked loop condition judgement module reads the effective value of the angular speed deviate of phase-locked loop module output and the line voltage of effective value computing module calculating, when the fluctuation of time threshold values interior angle velocity deviation in setting continues comparatively greatly or line voltage continues too low, then provide phase-locked loop non-locking signal, i.e. UnLock signal;
(11) step (6) ~ (10) were run according to the time cycle of timer setting at a slow speed, continued to export phase-locked loop status signal.
CN201210580731.9A 2012-12-27 2012-12-27 State judgment method of three-phase power grid software phase-locked loop Expired - Fee Related CN103095292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210580731.9A CN103095292B (en) 2012-12-27 2012-12-27 State judgment method of three-phase power grid software phase-locked loop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210580731.9A CN103095292B (en) 2012-12-27 2012-12-27 State judgment method of three-phase power grid software phase-locked loop

Publications (2)

Publication Number Publication Date
CN103095292A CN103095292A (en) 2013-05-08
CN103095292B true CN103095292B (en) 2015-02-04

Family

ID=48207499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210580731.9A Expired - Fee Related CN103095292B (en) 2012-12-27 2012-12-27 State judgment method of three-phase power grid software phase-locked loop

Country Status (1)

Country Link
CN (1) CN103095292B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104467823B (en) * 2014-11-13 2017-10-27 天津电气科学研究院有限公司 A kind of improved method to software phase-lock loop
CN105429629A (en) * 2015-12-09 2016-03-23 许继电气股份有限公司 Phase locking method based on FPGA and phase-locked loop adopting same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038531A (en) * 2004-07-23 2006-02-09 Toshiba Elevator Co Ltd Reverse phase detection device for three phase ac power source
CN102136716A (en) * 2010-09-08 2011-07-27 上海岩芯电子科技有限公司 Grid frequency detection method based on phase locked loop technology
CN102324865A (en) * 2011-09-23 2012-01-18 武汉新能源接入装备与技术研究院有限公司 Method for controlling three-phase current transformer in photovoltaic grid-connected power generating system
CN102709927A (en) * 2012-05-30 2012-10-03 中国电力科学研究院 Digital phase locking method suitable for balanced three-phase power grid

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038531A (en) * 2004-07-23 2006-02-09 Toshiba Elevator Co Ltd Reverse phase detection device for three phase ac power source
CN102136716A (en) * 2010-09-08 2011-07-27 上海岩芯电子科技有限公司 Grid frequency detection method based on phase locked loop technology
CN102324865A (en) * 2011-09-23 2012-01-18 武汉新能源接入装备与技术研究院有限公司 Method for controlling three-phase current transformer in photovoltaic grid-connected power generating system
CN102709927A (en) * 2012-05-30 2012-10-03 中国电力科学研究院 Digital phase locking method suitable for balanced three-phase power grid

Also Published As

Publication number Publication date
CN103095292A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN104865474B (en) A kind of method for monitoring low-frequency oscillation source in real time based on PMU data
CN106226591A (en) Power distribution network synchronized phasor and quality of power supply Integrated Monitoring System and method
WO2014075581A1 (en) Current-mode matching method for non-invasive power load monitoring and decomposition
CN102902879A (en) Synchronous phasor calculation method based on discrete Fourier transform (DFT) recursion of field programmable gate array (FPGA) hardware
CN101964655A (en) Balance error elimination type high-precision digital phase locking method
CN103095292B (en) State judgment method of three-phase power grid software phase-locked loop
CN103116059A (en) Voltage fast detection algorithm suitable for grid power system low voltage ride through function
CN112510717B (en) Zero voltage ride through control method for high-power energy storage bidirectional converter
CN104158214B (en) Micro-grid connection control method based on technology of frequency tracking
CN101713799B (en) Method for distinguishing three-phase alternating current phase sequences
Sun et al. A phase locked loop-based approach to real-time modal analysis on synchrophasor measurements
CN102508029B (en) Phase angle tracking method for power grid
CN105305498A (en) Low voltage ride through control method for high-power photovoltaic grid-connected inverter
CN104393605A (en) Reactive continuous compensation control method for thyristor switched filter
CN103439569B (en) A kind of wide region range self-adapting voltage quality monitoring method
Münz et al. Region of attraction of power systems
CN110729762B (en) Island disturbance method, system and terminal equipment
CN103138676B (en) Motor compound control system and control method thereof
CN109167382A (en) A kind of double-fed fan motor unit fault traversing control method and system
CN103018580B (en) Method and device for detecting vector transformation of three-phase power phase sequence
Su et al. Power system first-swing transient stability detection based on trajectory performance of phase-plane
CN110649656B (en) Grid-connected system of photovoltaic power station
CN107831383B (en) The load parameter device for identifying and its method at a kind of electric system plant stand end
CN102243277A (en) Method for detecting positive sequence quantity and negative sequence quantity of rotor voltage of double-feed wind power generator under double synchronous reference frames (SRF)
Lackner et al. Performance evaluation of STATCOM equipment using ambient and disturbance data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
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: 20150204

Termination date: 20191227

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