CN110137987A - In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system - Google Patents

In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system Download PDF

Info

Publication number
CN110137987A
CN110137987A CN201910371057.5A CN201910371057A CN110137987A CN 110137987 A CN110137987 A CN 110137987A CN 201910371057 A CN201910371057 A CN 201910371057A CN 110137987 A CN110137987 A CN 110137987A
Authority
CN
China
Prior art keywords
virtual synchronous
synchronous machine
machine
grid
energy
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.)
Pending
Application number
CN201910371057.5A
Other languages
Chinese (zh)
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.)
China Electronic Greatwall Energy (shenzhen) Co Ltd
Original Assignee
China Electronic Greatwall Energy (shenzhen) Co 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 China Electronic Greatwall Energy (shenzhen) Co Ltd filed Critical China Electronic Greatwall Energy (shenzhen) Co Ltd
Priority to CN201910371057.5A priority Critical patent/CN110137987A/en
Publication of CN110137987A publication Critical patent/CN110137987A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/28Arrangements for balancing of the load in a network by storage of energy
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/46Controlling of the sharing of output between the generators, converters, or transformers

Abstract

In a kind of micro-grid system virtual synchronous machine and machine control method, by set according to the status information for obtaining each energy-storage units each virtual synchronous machine operating mode so that each its energy-storage units of virtual synchronous machine real-time matching operating status, when network voltage does not meet preset Grid-connection standards by selecting one of them according to preset rules as main virtual synchronous machine, remaining is from virtual synchronous machine, control is switched on from virtual synchronous machine off-network after controlling main virtual synchronous machine elder generation's off-network booting, so that each virtual synchronous function normally accesses power grid and load, it is all relatively simple to solve operating mode present in traditional technical solution, it can not real-time matching and in the case where there is multiple virtual synchronous machines with its energy-storage units operating status, it is difficult to adjusting the electrifying timing sequence of each virtual synchronous machine so that its normal access electricity The problem of net and load.

Description

In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system
Technical field
The invention belongs in virtual synchronous machine control technology field more particularly to a kind of micro-grid system virtual synchronous machine and Machine control method and micro-grid system.
Background technique
With the fast development of new energy, the accounting of new energy is being stepped up in power grid, and new energy has interval The features such as property and fluctuation, and traditional grid type control strategy for inverter fast response time, without rotary inertia can not participate in electricity Net is adjusted, and is unfavorable for the safe and stable operation of power distribution network and microgrid, and virtual synchronous machine technology is the rotor according to synchronous generator The equation of motion and excitation voltage equation, which pass through modeling, makes our electronic power convertor have the correlation properties of synchronous generator To achieve the purpose that support power grid, but operating mode is all relatively more single in practical applications for virtual synchronous machine traditional at present One, it can not real-time matching and in the case where there is multiple virtual synchronous machines with its energy-storage units operating status, it is difficult to each adjusting The electrifying timing sequence of a virtual synchronous machine is so that its normal access power grid and load.
Therefore, it is all relatively simple that there are operating modes in traditional technical solution, can not with its energy-storage units operating status Real-time matching and in the case where there is multiple virtual synchronous machines, it is difficult to adjust the electrifying timing sequence of each virtual synchronous machine so that its The problem of normal access power grid and load.
Summary of the invention
In view of this, the embodiment of the invention provides in a kind of micro-grid system virtual synchronous machine and machine control method and Micro-grid system, it is intended to which it is all relatively simple to solve operating mode present in traditional technical solution, runs shape with its energy-storage units State can not real-time matching and in the case where there is multiple virtual synchronous machines, it is difficult in the electrifying timing sequence for adjusting each virtual synchronous machine So that the problem of its normal access power grid and load.
The first aspect of the embodiment of the present invention provides virtual synchronous machine in a kind of micro-grid system and machine control method, institute Stating virtual synchronous machine combining system includes: multiple energy-storage units, and is connected one to one with multiple energy-storage units more A virtual synchronous machine, and the Intelligent power distribution device being connect respectively with multiple virtual synchronous machines and power grid, the controlling party Method includes:
The network voltage is obtained, judges whether the network voltage meets preset Grid-connection standards;
If the network voltage meets preset Grid-connection standards, the status information of each energy-storage units and each is obtained The status information of the virtual synchronous machine;
Each virtual synchronous machine operating mode is set according to the status information of each energy-storage units and grid-connected is opened Machine;
If the network voltage does not meet preset Grid-connection standards, selected in multiple virtual synchronous machines according to preset rules Determining one of them is main virtual synchronous machine, remaining is from virtual synchronous machine;
Control is switched on from virtual synchronous machine off-network after controlling main virtual synchronous machine elder generation's off-network booting.
The second aspect of the embodiment of the present invention provides a kind of micro-grid system, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program Realize as in above-mentioned micro-grid system virtual synchronous machine and the step of machine control method.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, is realized when the computer program is executed by processor such as virtual synchronous in above-mentioned micro-grid system Machine and the step of machine control method
In above-mentioned micro-grid system virtual synchronous machine and machine control method, by according to obtaining each energy-storage units Status information set the operating mode of each virtual synchronous machine so that each its energy storage list of virtual synchronous machine real-time matching The operating status of member, when network voltage does not meet preset Grid-connection standards by being selected based on one of them according to preset rules Virtual synchronous machine, remaining is to control after controlling main virtual synchronous machine elder generation's off-network booting from virtual synchronous from virtual synchronous machine The booting of machine off-network, so that each virtual synchronous function normally accesses power grid and load, solves and exists in traditional technical solution Operating mode it is all relatively simple, can not real-time matching and in the feelings for having multiple virtual synchronous machines with its energy-storage units operating status Under condition, it is difficult to adjust the electrifying timing sequence of each virtual synchronous machine so that the problem of its normal access power grid is with load.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of structural schematic diagram for virtual synchronous machine combining system that first embodiment of the invention provides;
The tool of the output control method of virtual synchronous machine in a kind of micro-grid system that Fig. 2 provides for second embodiment of the invention Body flow chart;
Fig. 3 is the specific flow chart of step S100 shown in Fig. 2;
Fig. 4 is the specific flow chart of step S300 shown in Fig. 2;
Fig. 5 is the specific flow chart of step S400 shown in Fig. 2;
Fig. 6 is the specific flow chart of step S400 shown in Fig. 2;
Fig. 7 is the schematic diagram for the micro-grid system that one embodiment of the invention provides;
Fig. 8 be in a kind of micro-grid system for providing of third embodiment of the invention virtual synchronous machine and machine control method tool Body flow chart;
Fig. 9 is the specific flow chart of step S300 shown in Fig. 8;
Figure 10 is the specific flow chart of step S400 shown in Fig. 8;
Figure 11 is the specific flow chart of step S500 shown in Fig. 8;
Figure 12 be in a kind of micro-grid system for providing of third embodiment of the invention virtual synchronous machine and machine control method Specific flow chart;
The schematic diagram for the micro-grid system that Figure 13 one embodiment of the invention provides;
Virtual synchronous machine and off-network control method in a kind of micro-grid system that Figure 14 provides for the fourth embodiment of the present invention Specific flow chart;
Figure 15 is the specific flow chart of step S100 shown in Figure 14;
Figure 16 is the specific flow chart of the later step of step S310 shown in Figure 14;
Figure 17 is the specific flow chart of step S400 shown in Figure 14;
Figure 18 is the schematic diagram for the micro-grid system that one embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Referring to Fig. 1, the structural schematic diagram for the micro-grid system that first embodiment of the invention provides, for ease of description, only Part related to the present embodiment is shown, details are as follows:
The micro-grid system that the first embodiment of the present invention provides includes multiple energy-storage units, and with multiple energy-storage units The multiple virtual synchronous machines to connect one to one, and the Intelligent power distribution device being connect respectively with multiple virtual synchronous machines and power grid 300, and the Centralized Controller 400 being connect with each energy-storage units and each virtual synchronous machine and Intelligent power distribution device 300.
In the present embodiment, multiple energy-storage units include first energy-storage units 110, second energy-storage units 120, third energy storage Unit 130 and the 4th energy-storage units 140.In other embodiments, multiple energy-storage units can be the storage of any other quantity It can unit.
In the present embodiment, multiple virtual synchronous machines include the first virtual synchronous machine 210, the second virtual synchronous machine 220, the Three virtual synchronous machines 230 and the 4th virtual synchronous machine 240, in other embodiments, the quantity of multiple virtual synchronous machines can be with For any number.Optionally, micro-grid system is also connected with multiple loads, in the present embodiment, illustrates the first load 510 and the Two loads 520, may include one or 3 and above load in other embodiments.
It should be understood that Centralized Controller 400 and each energy-storage units, each virtual synchronous machine and Intelligent power distribution device communicate Connection, Centralized Controller 400 acquire the shape of each energy-storage units, each virtual synchronous machine and Intelligent power distribution device 300 in real time State information and data etc. and each energy-storage units of centralized control, each virtual synchronous machine and Intelligent power distribution device, optionally, collection Middle controller 400 can pass through RS485, ECAN with each energy-storage units, each virtual synchronous machine and Intelligent power distribution device 300 Or Ethernet etc. is communicated.
It should be noted that Intelligent power distribution device 300 includes multiple switch, opening for micro-grid system is connect with utility grid end The switch for closing C3, each load connection micro-grid system, such as the switch CI and switch C2 and each virtual synchronous in the present embodiment The switch at machine and utility grid end and load connection, such as switch K1, switch K2, switch K3 and the switch K4 in the present embodiment Deng.
Referring to Fig. 2, the second embodiment of the present invention provides a kind of output control of virtual synchronous machine in micro-grid system Method, comprising:
Step S100: output end voltage parameter and output end current parameter are obtained, and carries out active and idle calculating;
Wherein it is possible to obtain the three-phase voltage and three-phase current of output end by modes such as samplings, then converted by DQ (Park transformation, Park Transformation), conversion etc. obtain other kinds of voltage and current parameter, such as on d-q axis Voltage and current, virtual value of voltage and current etc..
Step S200: according to output end current parameter, and virtual resistance R is adjustedaAnd virtual reactance LsMake each virtual synchronous machine Reach power-sharing;
Wherein, virtual resistance RaAnd virtual reactance LsFor customized parameter, virtual resistance RaAnd virtual reactance LsCan by with The artificial input in family can also be automatically adjusted by micro-grid system.
Step S300: the output reference voltage E of virtual synchronous machine is obtainedVSGAnd output refers to generator rotor angle θVSG
Step S400: according to output end voltage parameter, output end current parameter, output reference voltage EVSGAnd output reference Generator rotor angle θVSGIt establishes Voltage loop and electric current loop and the inner parameter by adjusting Voltage loop and electric current loop makes the voltage of virtual synchronous machine Output valve is target output value.
Wherein it is possible to first according to output reference voltage EVSGAnd output refers to generator rotor angle θVSGWith virtual synchronous machine output end voltage Parameter establishes Voltage loop, and the output current value and virtual synchronous machine output end current parameter further according to Voltage loop establish electric current loop.
It should be noted that can be by the Inside Parameter Value of preset fixation, so that virtual synchronous machine only need to be according to reality Output end voltage parameter, output end current parameter, output reference voltage EVSGAnd output refers to generator rotor angle θVSGIt is defeated to obtain target It is worth out;Can also by internal preset rule, voluntarily adjusted according to desirable value in real time the inner parameter of Voltage loop and electric current loop with Make value needed for the output valve micro-grid system of virtual synchronous machine, can also be completed according to the parameter that user inputs to voltage The output of ring and electric current loop controls.
The output control method of virtual synchronous machine in micro-grid system in the present embodiment, passes through the virtual synchronous according to acquisition The output end current parameter of machine simultaneously adjusts virtual resistance RaAnd virtual reactance LsEach virtual synchronous machine is set to reach power-sharing, and root According to the output end voltage parameter, output end current parameter, output reference voltage E of acquisitionVSGAnd output refers to generator rotor angle θVSGEstablish electricity Pressure ring and electric current loop and the inner parameter by adjusting Voltage loop and electric current loop make the voltage output value target of virtual synchronous machine Output valve, the output for solving virtual synchronous machine present in traditional technical solution mismatch power grid end data, output shakiness The problem of determining and being difficult to the problem of adjusting.
Referring to Fig. 3, in a more detailed embodiment, step S100 includes:
Step S110: the three-phase voltage V of output end is obtainedab、Vbc、VcaWith the three-phase current I of output enda、Ib、Ic, and mention Take corresponding fundamental positive sequence V 'ab、V′bc、V′ca、I′a、I′b、I′c
It should be noted that the formula of step S110 can be with are as follows:
Wherein N is discretization acquisition points, θk=2 π k/N, k are frequency two-stage system index, and z is transformation complex variable.Ying Li Solution, discretization acquisition points N can be arranged according to actual acquisition frequency needs, and actual acquisition frequency needs to be setting Fixed frequency, or variable frequency acquisition.
Step S120: according to fundamental positive sequence V 'ab、V′bc、V′ca、I′a、I′b、I′cCarry out active and idle calculating.
It should be noted that step S120 can be following formula:
Pm=V 'ca×I′c+V′ab×I′b
Qm=V 'bc×I′a+V′ca×I′b+V′ab×I′c
In more detailed embodiment, step S200, by adjusting virtual resistance RaAnd virtual reactance LsMake each virtual same Before the step of step machine reaches power-sharing further include:
By current first harmonics I 'a、I′b、I′cPositive-sequence component shifts to 90 ° of values and obtains dephased current fundamental wave I "a、I″b、I″c:
According to current first harmonics I 'a、I′b、I′c, dephased current fundamental wave I "a、I″b、I″c, virtual resistance RaAnd virtual reactance Ls Calculate the virtual impedance Z of virtual synchronous machineva、Zvb、Zvc, calculation formula can be with are as follows:
It should be noted that the micro-grid system moment, which is in, judges whether virtual synchronous machine is in the state of power-sharing, when Detect the power unevenness timesharing of virtual synchronous machine, micro-grid system can voluntarily continue to adjust virtual resistance Ra and virtual reactance Ls Until virtual synchronous machine is in power-sharing state.Alternatively, when user feels to need to readjust virtual impedance Zva, Zvb, Zvc When, user can input regulating command, micro-grid system can according to the regulating command that user inputs to virtual impedance Zva, Zvb, Zvc into Row is adjusted.
The state in real time in adjusting virtual resistance Ra and virtual reactance Ls in the present embodiment, so that virtual same Step machine is in the state of power-sharing in real time.
In more detailed embodiment, step S300 specifically includes the following steps:
Referring to Fig. 4, inputting secondary pressure regulation reference value U in stator excitation voltage equation, rotor mechanical equationAGC, it is secondary Chirp reference value ωAGCAnd secondary phase modulation reference value θAGC,The output voltage of virtual synchronous machine is sought with reference to EVSGAnd generator rotor angle reference θVSG
It should be noted that if virtual synchronous machine is being incorporated into the power networks, secondary pressure regulation reference value UAGC, frequency modulation frequency modulation reference value ωAGCAnd secondary phase modulation reference value θAGCWith the parameter phase between virtual synchronous machine and the grid-connected end of its power grid being connect It closes, secondary pressure regulation reference value U can be sought by specific target component demandAGC, frequency modulation frequency modulation reference value ωAGCAnd it is secondary Phase modulation reference value θAGCIf virtual synchronous machine is not incorporated into the power networks, virtual synchronous machine can be inputted according to preset parameter value secondary Pressure regulation reference value UAGC, frequency modulation frequency modulation reference value ωAGCAnd secondary phase modulation reference value θAGC;In the micro-grid system of the present embodiment In the output control method of virtual synchronous machine, secondary pressure regulation reference value UAGC, frequency modulation frequency modulation reference value ωAGCAnd secondary phase modulation ginseng Examine value θAGCAcquisition can be communicated by exterior terminal or outside directly inputs acquisition, such as: the first embodiment of the present invention In, virtual synchronous machine can obtain secondary pressure regulation reference value U by communicating the Centralized Controller of connectionAGC, frequency modulation frequency modulation ginseng Examine value ωAGCAnd secondary phase modulation reference value θAGC, secondary pressure regulation reference value UAGC, frequency modulation frequency modulation reference value ωAGCAnd it is secondary Phase modulation reference value θAGCParameter between virtual synchronous machine and the grid-connected end of its power grid connected is related.Such as: if virtual Synchronous machine is not incorporated into the power networks, and can voluntarily be joined according to set data value to the relevant secondary pressure regulation of virtual synchronous machine input Examine value UAGC, frequency modulation frequency modulation reference value ωAGCAnd secondary phase modulation reference value θAGC
It should be understood that virtual synchronous machine can be according to the secondary pressure regulation reference value U of acquisitionAGC, frequency modulation frequency modulation reference value ωAGCWith And secondary phase modulation reference value θAGCSecondary pressure regulation operation, frequency modulation frequency modulation operation and the operation of secondary phase modulation are carried out, to have secondary Voltage regulation and frequency modulation ability.
Wherein, the output voltage of virtual synchronous machine is sought with reference to EVSGAnd generator rotor angle refers to θVSGFormula are as follows:
EVSG=E0+ZV+KQ(Qn-Qm)+UAGC
θVSG=wt+ θAGC
Control method in the present embodiment passes through the secondary pressure regulation reference value U according to acquisitionAGC, frequency modulation frequency modulation reference value ωAGCAnd secondary phase modulation reference value θAGCSecondary pressure regulation operation, frequency modulation frequency modulation operation and secondary tune are carried out to virtual synchronous machine It mutually operates, so that virtual synchronous equipment is for secondary voltage regulation and frequency modulation ability, so that realizing includes the micro- of virtual synchronous machine Net system has secondary voltage regulation and frequency modulation control strategy function, realizes non differential regulation, keeps the power reliability of system and is adjusted Property.
Fig. 5 and Fig. 6 are please referred to, in more detailed embodiment, according to output end voltage parameter, output end in step S400 Current parameters, output reference voltage EVSGAnd output refers to generator rotor angle θVSGEstablish Voltage loop and electric current loop the following steps are included:
Step S410: E is referred to output voltageVSGθ is referred to generator rotor angleAGCDQ is carried out to convert to obtain the d-q two-phase of Voltage loop Reference voltage V*d、V*q
It should be noted that step S410 is specifically as follows: referring to E to the output voltageVSGIt is referred to the generator rotor angle θAGCIt is decoupled in d-q coordinate system, to obtain d-q two-phase reference voltage V*d、V*q, i.e., Voltage loop reference voltage is active Component and reactive component.
Step S420: to the three-phase voltage V of virtual synchronous machine outputab、Vbc、VcaIt converts to obtain d-q two-phase voltage by DQ Vd、Vq
It should be noted that step S420 is specifically as follows: to the three-phase voltage V of virtual synchronous machine outputab、Vbc、Vca? It is decoupled in d-q coordinate system, to obtain d-q two-phase voltage Vd、Vq, i.e. the active component and reactive component of voltage loop voltag.
Step S430: according to V*d、V*qAnd Vd、VqThe Voltage loop based on PI+ Repetitive controller is established, Voltage loop exports d-q two Mutually refer to voltage and current I*d、I*q:
Step S440: according to the output current reference I* of Voltage loopd、I*q, to the three of the output end of virtual synchronous machine output Phase current Ia、Ib、IcIt converts to obtain the d-q biphase current I of electric current loop by DQd、Iq
Step S450: according to the output current reference I* of Voltage loopd、I*qWith the reference I of electric current loopd、IqIt establishes and is based on PI The electric current loop of control, the output voltage V of electric current loopmd、Vmq
Step S460: to the output voltage V of electric current loopmd、VmqIt carries out DQ inverse transformation and is obtained by third-harmonic zero-sequence voltage method The target output voltage V of virtual synchronous machinema、Vmb、Vmc
In the present embodiment, by the parameter k for adjusting Voltage loop and electric current looppAnd kiIt can get target output voltage, be suitable for The output of virtual synchronous machine in any micro-grid system is adjusted, and the output of virtual synchronous machine can be made to match power grid end parameter And the parameter at energy-storage units end.
Fig. 7 is the schematic diagram for the micro-grid system that one embodiment of the invention provides.As shown in fig. 7, Fig. 7 of the embodiment is this The schematic diagram of the micro-grid system of embodiment offer is provided.As shown in fig. 7, the micro-grid system 10 of the embodiment includes: processor 100, memory 101 and it is stored in the computer program 102 that can be run in memory 101 and on processor 100, such as micro- The output control method program of virtual synchronous machine in net system.Processor 100 is realized above-mentioned each when executing computer program 102 Step in micro-grid system in the embodiment of the output control method of virtual synchronous machine, such as step S100 shown in Fig. 2 is extremely S400。
Illustratively, computer program 102 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 101, and is executed by processor 100, to complete the present invention.One or more module/units It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 102 Implementation procedure in micro-grid system 10.For example, computer program 102 can be divided into synchronization module, summarizing module, acquisition Module, return module (module in virtual bench), each module concrete function are as follows:
Micro-grid system 10 can be computer, central processing unit.Micro-grid system may include, but be not limited only to, processor 100, Memory 101.It will be understood by those skilled in the art that Fig. 7 is only the example of micro-grid system 10, do not constitute to micro-grid system 10 restriction may include components more more or fewer than diagram, perhaps combine certain components or different components, such as Micro-grid system can also include input-output equipment, network access equipment, bus etc..
Alleged processor 100 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
Memory 101 can be the internal storage unit of micro-grid system 10, such as the hard disk or memory of micro-grid system 10.It deposits Reservoir 101 is also possible to the plug-in type hard disk being equipped on the External memory equipment of micro-grid system 10, such as micro-grid system 10, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, memory 101 can also both including micro-grid system 10 internal storage unit and also including External memory equipment. Memory 101 is for storing other programs and data needed for computer program and micro-grid system.Memory 101 can also be used In temporarily storing the data that has exported or will export.
Referring to Fig. 8, the third embodiment of the present invention provides virtual synchronous machine in a kind of micro-grid system and machine controls Method, control method include:
Step S100: network voltage is obtained, judges whether network voltage meets preset Grid-connection standards.
Network voltage is obtained it should be noted that obtaining terminal and can communicate by wireless or wired mode, such as In first embodiment of the invention, the main body of acquisition is Centralized Controller, and Centralized Controller obtains power grid electricity by way of communication It presses and to the network voltage of acquisition compared with preset Grid-connection standards, Grid-connection standards are acceptable grid-connected in practical micro-grid system Voltage range values.
Step S200: if network voltage meets preset Grid-connection standards, the status information of each energy-storage units and each is obtained The status information of a virtual synchronous machine.
It should be noted that the status information of each energy-storage units includes but is not limited to voltage, electric current, fault alarm shape The information such as state, capacity;The status information of each virtual synchronous machine includes but is not limited to voltage, electric current, frequency, fault alarm shape The information such as state.
Step S300: each virtual synchronous machine operating mode is set according to the status information of each energy-storage units and grid-connected is opened Machine.
It should be noted that can be to need to be charged or discharged to set each virtual synchronous according to each energy-storage units Machine is in synchronous generator mode or synchronous motor mode.
Step S400: if network voltage does not meet preset Grid-connection standards, in multiple virtual synchronous machines according to preset rules One of them is selected as main virtual synchronous machine, remaining is from virtual synchronous machine.
Step S500: control is switched on from virtual synchronous machine off-network after controlling the booting of main virtual synchronous machine elder generation's off-network.
In micro-grid system in this implementation virtual synchronous machine and machine control method, by according to obtaining each energy-storage units Status information set the operating mode of each virtual synchronous machine so that each its energy-storage units of virtual synchronous machine real-time matching Operating status, it is virtual based on one of them by being selected according to preset rules when network voltage does not meet preset Grid-connection standards Synchronous machine, remaining is to control to control after main virtual synchronous machine elder generation's off-network is switched on and open from virtual synchronous machine off-network from virtual synchronous machine Machine solves Working mould present in traditional technical solution so that each virtual synchronous function normally accesses power grid and load Formula is all relatively simple, with its energy-storage units operating status can not real-time matching and in the case where there is multiple virtual synchronous machines, it is difficult To adjust the electrifying timing sequence of each virtual synchronous machine so that the problem of its normal access power grid is with load.
Referring to Fig. 9, being specifically included in step S300 in more detailed embodiment:
Step S310: it is determined according to the status information of each energy-storage units and the status information of each virtual synchronous machine current The virtual synchronous machine of unfaulty conditions, and determine that each energy-storage units needs are charged or discharged.
It should be understood that each virtual synchronous machine and energy-storage units have a unique identification, micro-grid system leads to each of acquisition After the status information of energy-storage units and virtual synchronous machine determines the virtual synchronous machine of unfaulty conditions, record can be corresponded, and And fault message feedback into the virtual synchronous machine of corresponding failure, after the virtual synchronous machine of the failure receives feedback information Carry out fault alarm.Micro-grid system can also feed back fault message on the terminal device to the maintenance personnel communicated with micro-grid system In.
Step S320: according to the charge-discharge power demand of each energy-storage units to the virtual synchronous machine being connect with each energy-storage units Send value and power reference.
Wherein, step S320 is specifically included:
When energy-storage units are in charge requirement, negative power reference value is sent to the virtual synchronous connecting with energy-storage units Machine.
It should be noted that virtual synchronous machine, which works in, synchronizes electricity after virtual synchronous machine receives negative power reference value Motivation mode.
When energy-storage units are in electric discharge demand, positive reference value is sent to the virtual synchronous connecting with energy-storage units Machine.
It should be noted that virtual synchronous machine works in synchronous hair after virtual synchronous machine receives positive reference value Motor mode.
Step S330: the grid-connected booting of each virtual synchronous machine is controlled according to value and power reference.
It should be noted that grid-connected booting refers to being switched on after virtual synchronous machine is connect with power grid, such as of the invention In first embodiment, it is assumed that the grid-connected booting of the first virtual synchronous machine then refers to first control switch K1 and C1 closure, is opening the One virtual synchronous machine.
Referring to Fig. 10, step S400 is specifically included in a more detailed embodiment:
Step S410: the status information of each energy-storage units and the status information of each virtual synchronous machine are acquired.
It should be understood that the status information of energy-storage units includes but is not limited to voltage parameter, current parameters, power parameter, failure Alarm condition, operation information, electric discharge or charge requirement etc.;The status information of virtual synchronous machine includes but is not limited to voltage ginseng Number, current parameters, power parameter, fault-alarming state, operation information, operating mode etc..
Step S420: it is determined according to the status information of each energy-storage units and the status information of each virtual synchronous machine current The virtual synchronous machine of unfaulty conditions, and determine whether each energy-storage units meet electric discharge demand.
The energy-storage units that step S430: determining unfaulty conditions and is connected meet the virtual synchronous board of electric discharge demand Number N*.
Step S440: the communication id of N* platform virtual synchronous machine is ranked up.
It should be noted that can independently be set to the sequence of communication id, such as can be arranged with number, letter etc. Sequence.
Step S450: a wherein virtual synchronous machine is arranged as main virtual synchronous machine according to communication id, remaining is virtual Synchronous machine is set as from virtual synchronous machine.
Wherein it is possible to be arranged the smallest virtual synchronous machine of communication id for main virtual synchronous machine, remaining virtual synchronous machine It is set as from virtual synchronous machine.
It, can also be maximum by communication id or the communication id that is arbitrarily designated it should be noted that in other embodiments Virtual synchronous machine is arranged as main virtual synchronous machine, remaining virtual synchronous machine is set as from virtual synchronous machine.
Figure 11 is please referred to, in a more detailed embodiment, step S500 is specifically included:
Step S510: broadcast transmission power-on instruction to main virtual synchronous machine.
It should be noted that main virtual synchronous machine is switched on after receiving power-on instruction, and feeds back booting and complete signal To the centralized control end of micro-grid system, if the centralized control end of micro-grid system is not received by instead in preset time interval Signal is completed in the booting of feedback, then sends starting-up signal again to main virtual synchronous machine, until receiving opening for virtual synchronous machine feedback Machine completes signal.
Step S520: judge whether electric to provide simultaneously machine output from virtual synchronous machine after main virtual synchronous machine off-network is switched on Pressure, if so, broadcast transmission waits for power-on instruction to from virtual synchronous machine.
It should be noted that can be by whether the booting for receiving the feedback of main virtual synchronous machine be completed signal or is passed through Detect the status information or the closed state by adhering to the corresponding switch of main virtual synchronous machine or logical of main virtual synchronous machine User is crossed artificially to input first to judge main virtual synchronous machine whether after off-network booting, then the output by obtaining main virtual synchronous machine Parameter judges whether main virtual synchronous machine can be for from virtual synchronous to judge whether main virtual synchronous machine can be provided out voltage Machine provides and machine output voltage.
Step S530: judging whether meet booting voltage from virtual synchronous machine outlet side voltage, if so, sending power-on instruction To from virtual synchronous machine.
It should be noted that can by obtain from output parameter information of virtual synchronous machine etc. or artificial judgement etc. come Judge whether meet booting voltage from virtual synchronous machine outlet side voltage, wherein can also survey from the output of virtual synchronous machine Sampling module is set to obtain its output parameter.
Figure 12 is please referred to, in a more detailed embodiment, after step S500 further include:
Step S600: the virtual synchronous board number N being currently under off-grid operation state is obtained.
It should be noted that each virtual synchronous machine and switch corresponding with virtual synchronous machine have a unique identification, It can voluntarily be fed back by the status information of acquisition virtual synchronous machine and/or the status information of switch or by virtual synchronous machine Status information to judge virtual synchronous and whether in off-grid operation state, be currently under off-grid operation state to obtain Virtual synchronous board number.
Step S700: the first load access for obtaining the gross rated capacity Sn, current micro-grid system of N platform virtual synchronous machine is held Measure the load of SL1 and second access capacity SL2.
It should be noted that the gross rated capacity Sn for obtaining N platform virtual synchronous machine can be respectively, first acquisition N platform is virtually same The capability value of each virtual synchronous machine in step machine, then the capability value addition of each virtual synchronous machine is virtually same to obtain N platform The gross rated capacity Sn of step machine.
It should be noted that after each capability value or the voltage parameter and current parameters that pass through acquisition can be directly acquired Calculating its corresponding capability value.
The gross rated capacity Sn of step S800: more each virtual synchronous machine, the first of current system load access capacity The amount of capacity of the load of SL1 and second access capacity SL2.
It should be noted that can first more each virtual synchronous machine gross rated capacity Sn value with first load access The summation of the load of capacity SL1 and second access capacity SL2, if the value of the gross rated capacity Sn of each virtual synchronous machine is less than first The summation of the load of access capacity SL1 and second access capacity SL2 is loaded, then the gross rated capacity of more each virtual synchronous machine again The load of Sn and first access capacity SL1.
Step S900: according to the first load of comparison result closure and/or the connection of the second load and virtual synchronous machine.
In a more detailed embodiment, step S900 includes:
When the gross rated capacity Sn of virtual synchronous machine is not less than the first load access capacity SL1 and the second load access capacity When the summation of SL2, control instruction or signal are sent to Intelligent power distribution device and controls the first of its closure the first load access system The second switch of switch and the second load access system.
When virtual synchronous machine gross rated capacity Sn not less than first load access capacity SL1 and virtual synchronous machine it is total When the summation of the access capacity SL2 for the load of access capacity SL1 and second that rated capacity Sn is loaded less than first, sends control and refers to It enables or signal controls the first switch that its closure first loads access system to Intelligent power distribution device.
It should be understood that in the present embodiment, the first load can be understood as the highest load of important level.
Method in the present embodiment, by the gross rated capacity Sn, current micro- for obtaining and comparing N platform virtual synchronous machine in real time First load access capacity SL1 of net system and the second load access capacity SL2, to control closure the first load access system First switch and second load access system second switch, realize micro-grid system to load especially important load hold Continuous power supply.
Figure 13 is the schematic diagram for the micro-grid system that one embodiment of the invention provides.As shown in figure 13, the microgrid of the embodiment System 20 includes: processor 200, memory 201 and is stored in the meter that can be run in memory 201 and on processor 200 Calculation machine program 202, such as the static initial angle positioning method program of motor.Processor 200 is realized when executing computer program 202 Step virtual synchronous machine and in machine control method embodiment in micro-grid system is stated, such as step S200 shown in Fig. 8 is extremely S500.Alternatively, processor 200 realizes the function of each module/unit in above-mentioned each Installation practice when executing computer program 202 Can, such as module/unit function shown in Fig. 8.
Illustratively, computer program 202 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 201, and is executed by processor 200, to complete the present invention.One or more module/units It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 202 Implementation procedure in micro-grid system 20.For example, computer program 202 can be divided into synchronization module, summarizing module, acquisition Module, return module (module in virtual bench), each module concrete function are as follows:
Micro-grid system 20 can be the Centralized Controller in first embodiment of the invention.Micro-grid system may include, but not only It is limited to, processor 200, memory 201.It will be understood by those skilled in the art that Figure 13 is only the example of micro-grid system 20, and Do not constitute the restriction to micro-grid system 20, may include than illustrating more or fewer components, perhaps combine certain components or Different components, such as micro-grid system can also include input-output equipment, network access equipment, bus etc..
Alleged processor 200 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
Memory 201 can be the internal storage unit of micro-grid system 20, such as the hard disk or memory of micro-grid system 20.It deposits Reservoir 201 is also possible to the plug-in type hard disk being equipped on the External memory equipment of micro-grid system 20, such as micro-grid system 20, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, memory 201 can also both including micro-grid system 20 internal storage unit and also including External memory equipment. Memory 201 is for storing other programs and data needed for computer program and micro-grid system.Memory 201 can also be used In temporarily storing the data that has exported or will export.
Please refer to Figure 14, the fourth embodiment of the present invention provides virtual synchronous machine and off-network control in a kind of micro-grid system Method, for ease of description, only the parts related to this embodiment are shown, and details are as follows for specific steps:
Step S100: virtual synchronous machine output voltage parameter in utility grid voltage parameter and micro-grid system is obtained;
Wherein, the utility grid voltage parameter of acquisition is specifically as follows voltage, electric current, frequency, phase of power grid etc.;It obtains Virtual synchronous machine output voltage parameter can be voltage, electric current, frequency, the phase etc. of virtual synchronous machine output;Micro-grid system For using virtual synchronous machine as the micro power network system of core, wherein may include virtual synchronous machine, connecting with virtual synchronous machine Energy-storage units, virtual synchronous machine and power grid and the multiple groups switch of load connection etc..
Step S200: judging whether the virtual synchronous machine needs to carry out simultaneously off-network handover operation, when virtual synchronous machine needs It wants off-network then to generate off-network operational order when operating, net operation instruction is then generated when virtual synchronous machine needs simultaneously net operation;
It should be noted that off-network operational order is switched to off-network by grid-connected for controlling virtual synchronous machine.And net operation Direct current for control virtual synchronous machine switched by off-network it is grid-connected.
Step S300: when virtual synchronous machine needs off-network to operate, then it is off-grid needs to be disconnected according to off-network operational order The switch of virtual synchronous machine connection power grid;
In order to make it easy to understand, assuming that virtual synchronous machine is in the virtual synchronous machine in the first embodiment of the present invention and machine system It when system, with reference to Fig. 1, requires to disconnect with power grid if it is all virtual synchronous machines, such as causes in power grid failure When abnormal conditions occur in its frequency and voltage, switch C3 can be directly disconnected, if it is because a certain virtual synchronous machine is asked Topic can then disconnect the corresponding switch of virtual synchronous machine of failure when only need to disconnect the virtual synchronous machine of failure, than What it is such as failure is the first virtual synchronous machine, then can only disconnect switch K1.
Step S400: when virtual synchronous machine needs simultaneously net operation, then virtual same according to grid-connected operational order control is generated Step machine is adjusted output end voltage parameter to match network voltage parameter, and closure needs are grid-connected thereafter, parameter is matched Virtual synchronous machine connects the switch into power grid.
In order to make it easy to understand, assuming that virtual synchronous machine is in the virtual synchronous machine in the first embodiment of the present invention and machine system It is only to need closure switch C3 under normal circumstances with reference to Fig. 1 when system, switch K1 to K4 keeps original state, but if there is one Virtual synchronous machine after solving with its failure, if the virtual synchronous machine also needs to access, is then closed it due to failure and after disconnecting Corresponding switch, for example restore again after breaking down and need again grid-connected to be the first virtual synchronous machine, then it can also need to be closed Switch K1.
It should be noted that can be by carrying out a voltage regulation and frequency modulation and/or secondary voltage regulation and frequency modulation tune to virtual synchronous machine It is equal to be operated such that virtual synchronous machine output end voltage parameter matches network voltage parameter.
Optionally, close command signal is sent to be closed after total connection switch further include:
Step S500: the case where load is accessed in the system that virtual synchronous machine is currently at is obtained;Important when system is born When carrying grid-connected and secondary load disconnection, sends close command and control secondary load access system.
Generation off-network operational order in step s 200 includes the following contents:
When virtual synchronous machine is in grid connection state, sentenced according to network voltage parameter and virtual synchronous machine output voltage parameter Whether disconnected virtual synchronous machine is grid-connected in abnormality, if so, generating active off-network operational order;
It should be noted that network voltage parameter include but is not limited to the three-phase voltage of power grid, effective voltage etc. and The parameters such as the frequency sought according to power grid power grid;Virtual synchronous machine output voltage parameter includes but is not limited to virtual synchronous Three-phase voltage, effective voltage of machine output etc. and the parameters such as the frequency sought according to power grid power grid.
When virtual synchronous machine is in grid connection state, and externally input switching off-network instruction is received, then it is passive to generate Off-network operational order.
The grid-connected operational order of generation in step s 200 includes the following contents:
When virtual synchronous machine is in grid connection state, sentenced according to network voltage parameter and virtual synchronous machine output voltage parameter Breaking, virtual synchronous machine is grid-connected to be restored to normal condition by abnormality, if so, generating actively grid-connected operational order;
When virtual synchronous machine is in off-network state, and the externally input grid-connected instruction of switching is received, then it is passive to generate Grid-connected operational order.
Virtual synchronous machine and off-network control method in the present embodiment, by obtaining utility grid voltage parameter and microgrid system Whether the modes such as virtual synchronous machine output voltage parameter real-time judge virtual synchronous machine needs to carry out simultaneously off-network handover operation in system, When generating off-network operational order rapid off-network and when generating grid-connected operational order control virtual synchronous machine adjust its parameter It is grid-connected after being matched with electrical network parameter, realize virtual synchronous machine securely, seamlessly and smoothly and off-network handoff procedure, solve pass Virtual synchronous machine present in the technical solution of system can not be applicable in microgrid the method for operation, and off-network handoff procedure in can not do To seamless switching, so as to cause the charge requirement of charge output and actual loading in micro-grid system locating for virtual synchronous machine It is not reciprocity, after being unable to maintain that the continued power of important load and breaking down cannot timely off-network the problem of.
Figure 15 is please referred to, in a more detailed embodiment, obtains network voltage parameter and virtual in the step s 100 Synchronous machine output voltage parameter includes:
S110: the three-phase voltage V at acquisition power grid endgab、Vgbc、VgcaWith the three-phase voltage V of virtual synchronous machine output endab、 Vbc、Vca
It should be noted that by power grid and virtual synchronous machine can directly feed back its information collection or by power grid Side and virtual synchronous machine output end are set up the modes such as sampling module and are acquired, herein without limitation.
S120: to the three-phase voltage V at power grid endgab、Vgbc、VgcaCarry out the angular frequency w that locking phase obtains power grid endgAnd phase θg
It should be understood that the locking phase in the present embodiment can be realized by establishing phaselocked loop, the three of power grid end is specially utilized Phase voltage Vgab、Vgbc、VgcaControl and the frequency and phase for obtaining cycle of phase-locked loop internal oscillation signal, the i.e. angular frequency at power grid end Rate wgAnd phase thetag, wherein phaselocked loop can be made of phase discriminator, loop filter and voltage controlled oscillator etc..
S130: to the three-phase voltage V of virtual synchronous machine output endab、Vbc、VcaCarry out the angle that locking phase obtains virtual synchronous machine Frequency w and phase theta.
It should be understood that the locking phase in the present embodiment can be realized by establishing phaselocked loop, virtual synchronous machine is specially utilized The three-phase voltage V of output endab、Vbc、VcaControl and the frequency and phase for obtaining cycle of phase-locked loop internal oscillation signal, that is, obtain The angular frequency w and phase theta of virtual synchronous machine, wherein phaselocked loop can be by groups such as phase discriminator, loop filter and voltage controlled oscillators At.
It should be noted that each step S120 and step S130 may be performed simultaneously in above-described embodiment, it can also be by suitable Sequence or opposite sequence execute, and the execution sequence of each process should be determined by its function and internal logic, and implement without coping with the present invention The implementation process of example constitutes any restriction.
16 are please referred to, in one embodiment, further comprising the steps of after step S300:
Step S310: the virtual synchronous board number N being currently under operating status is obtained.
It should be noted that obtaining terminal can obtain by communication networks such as RS485, ECAN or Ethernets or wirelessly Take the status information of virtual synchronous machine.For example, obtaining, terminal and virtual synchronous machine are all interior to be equipped with communication module, then obtaining terminal can To obtain the information of virtual synchronous machine in real time by communication module, to obtain the virtual synchronous machine being currently under operating status Number of units N.
Step S320: the first load access for obtaining the gross rated capacity Sn, current micro-grid system of N platform virtual synchronous machine is held Measure the load of SL1 and second access capacity SL2.
It should be noted that for the ease of being loaded for example, only listing the first load and second in the present embodiment, It is not limited to this method and is adapted only to micro-grid system only there are two access is loaded, for example, in other embodiments, can also obtain Third loads access capacity SL3.
It should be noted that the gross rated capacity Sn for obtaining N platform virtual synchronous machine can be respectively, first acquisition N platform is virtually same The capability value of each virtual synchronous machine in step machine, then the capability value addition of each virtual synchronous machine is virtually same to obtain N platform The gross rated capacity Sn of step machine.
It should be noted that after each capability value or the voltage parameter and current parameters that pass through acquisition can be directly acquired Calculating its corresponding capability value.
It should be understood that the important level of the first load in the present embodiment is higher than the second load.
The gross rated capacity Sn of step S330: more each virtual synchronous machine, the first of current system load access capacity The amount of capacity of the load of SL1 and second access capacity SL2.
It should be noted that can first more each virtual synchronous machine gross rated capacity Sn whether less than first load connect Enter capacity SL1, if not, whether the gross rated capacity Sn of more each virtual synchronous machine is less than the first load access capacity again The load access capacity SL2 summation of SL1 and second.
Step S340: the connection of the first load and/or the second load and virtual synchronous machine is disconnected according to comparison result.
In more detailed embodiment, step S340 is specifically included:
Step S341: when the gross rated capacity Sn of N platform virtual synchronous machine is less than the first load access capacity SL1, transmission control System instruction disconnects the first load and the second load.
Step S342: when N platform virtual synchronous machine gross rated capacity Sn be greater than first load access capacity SL1 and N it is virtual When the gross rated capacity Sn of synchronous machine is less than the first load access capacity SL1 and the second load access capacity SL2 summation, control is sent System instruction disconnects the second load.
It should be noted that because the important level of the first load in the present embodiment is higher than the second load, it is preferential Power supply to the first load.
Method in the present embodiment, by the gross rated capacity Sn, current micro- for obtaining and comparing N platform virtual synchronous machine in real time First load access capacity SL1 of net system and the second load access capacity SL2, to control whether the first load access system First switch and second load access system second switch, realize the stability of power supply of the micro-grid system to load, The stability to important load supplying is kept as far as possible, avoids leading to load unbalanced always bring seriously because of power supply capacity deficiency Consequence.
17 are please referred to, in one embodiment, virtual synchronous is controlled according to the grid-connected operational order of generation in step S400 Machine is adjusted output end voltage parameter to match network voltage parameter and specifically include step:
Step S410: secondary pressure regulation reference value U is obtainedAGC, frequency modulation frequency modulation reference value wAGCAnd secondary phase modulation reference value θ AGC。
It should be noted that the secondary pressure regulation reference value U of the corresponding states in history can be directly acquiredAGC, frequency modulation frequency modulation Reference value wAGCAnd secondary phase modulation reference value θAGCOr obtain preset secondary pressure regulation reference value UAGC, frequency modulation frequency modulation reference value wAGCAnd secondary phase modulation reference value θAGCOr obtain the secondary pressure regulation reference value U that user directly inputsAGC, frequency modulation frequency modulation reference Value wAGCAnd secondary phase modulation reference value θAGCOr the output parameter by the output parameter and virtual synchronous machine that obtain power grid end To obtain.
Step S420: secondary pressure regulation reference value U is sentAGCWith pressure regulation operational order to virtual synchronous machine.
It should be noted that can be sent by way of cable network or wireless network, and when preset Between be spaced in detection virtual synchronous machine start carry out pressure regulation operation, if it is not, then sending secondary pressure regulation reference value U againAGCAnd pressure regulation Operational order is to virtual synchronous machine.
Step S430: when the error of power grid end voltage and virtual synchronous machine output end voltage is less than preset first threshold values When, it sends and stops pressure regulation operational order to virtual synchronous machine.
It should be noted that preset first threshold values can be arbitrarily arranged, generally micro-grid system locating for virtual synchronous machine Institute can received worst error value.
Step S440: frequency modulation frequency modulation reference value w is sentAGCWith frequency modulation operational order to virtual synchronous machine.
Step S450: when the error of power grid end voltage and virtual synchronous machine output end frequency is less than preset second threshold values When, it sends and stops frequency modulation operational order to virtual synchronous machine.
It should be noted that preset second threshold values can be any setting, generally microgrid locating for virtual synchronous machine System institute can received worst error value.
Step S460: secondary phase modulation reference value θ is sentAGCWith phase modulation operational order to virtual synchronous machine.
Step S470: when the error of power grid end voltage and virtual synchronous machine output end phase is less than preset third threshold values When, it sends and stops phase modulation operational order to virtual synchronous machine.
It should be noted that preset third threshold values can be any setting, generally system locating for virtual synchronous machine Institute can received worst error value.
Method in the present embodiment successively carries out pressure regulation operation, frequency modulation operation and phase modulation by controlling virtual synchronous machine Operation, so that virtual synchronous machine be made to can adapt to the real-time change of voltage, frequency and phase of micro-grid system etc., maintains microgrid The power reliability of system.
In a more detailed embodiment, step S410 specifically includes the following steps:
Step S411: to the three-phase voltage V at power grid end collectedgab、Vgbc、VgcaDQ is carried out to convert to obtain power grid end Two-phase rotating coordinate system voltage value Vgd、Vgq
Step S412: to the three-phase voltage V of virtual synchronous machine output endab、Vbc、VcaDQ is carried out to convert to obtain virtual synchronous The two-phase rotating coordinate system voltage value V of machined、Vq
It can be with are as follows: in dq reference axis to the three-phase voltage V of virtual synchronous machine output endab、Vbc、VcaDecouple obtaining To the two-phase rotating coordinate system voltage value V of virtual synchronous machined、Vq, i.e. the active component of virtual synchronous machine output voltage and idle point Amount.
Step S413: according to VgdAnd VdCalculate secondary pressure regulation reference value UAGC, specially following formula:
It should be noted that kpAnd kiIt, can be according in different loads, power grid and energy-storage units etc. for customized parameter Hold variation.
Step S414: according to wgFrequency modulation frequency modulation reference value w is calculated with wAGC, specially following formula:
It should be noted that kpAnd kiIt, can be according in different loads, power grid and energy-storage units etc. for customized parameter Hold variation.
Step S415: according to θgSecondary phase modulation reference value θ is calculated with θAGC, specially following formula:
Wherein: kPFor proportionality coefficient, kiFor integral coefficient.
It should be noted that kpAnd kiIt, can be according in different loads, power grid and energy-storage units etc. for customized parameter Hold variation.
Figure 18 is the schematic diagram for the micro-grid system that one embodiment of the invention provides.As shown in figure 18, Figure 18 of the embodiment It is the schematic diagram for the micro-grid system that one embodiment of the invention provides.As shown in figure 18, the micro-grid system 30 of the embodiment includes: place It manages device 300, memory 301 and is stored in the computer program 302 that can be run in memory 301 and on processor 300, example Such as the output control method program of virtual synchronous machine in micro-grid system.Processor 300 is realized above-mentioned when executing computer program 302 Step in the embodiment of each virtual synchronous machine and off-network control method, such as step S300 to S400 shown in Figure 14.
Illustratively, computer program 302 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 301, and is executed by processor 300, to complete the present invention.One or more module/units It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 302 Implementation procedure in micro-grid system 30.For example, computer program 302 can be divided into synchronization module, summarizing module, acquisition Module, return module (module in virtual bench), each module concrete function are as follows:
Micro-grid system 30 can be the Centralized Controller in computer, central processing unit or first embodiment of the invention.It is micro- Net system may include, but be not limited only to, processor 300, memory 301.It will be understood by those skilled in the art that Figure 18 is only The example of micro-grid system 30 does not constitute the restriction to micro-grid system 30, may include components more more or fewer than diagram, or Person combines certain components or different components, such as micro-grid system can also be set including input-output equipment, network insertion Standby, bus etc..
Alleged processor 300 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
Memory 301 can be the internal storage unit of micro-grid system 30, such as the hard disk or memory of micro-grid system 30.It deposits Reservoir 301 is also possible to the plug-in type hard disk being equipped on the External memory equipment of micro-grid system 30, such as micro-grid system 30, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, memory 301 can also both including micro-grid system 30 internal storage unit and also including External memory equipment. Memory 301 is for storing other programs and data needed for computer program and micro-grid system.Memory 301 can also be used In temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If integrated module/unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete by computer program, computer program It can be stored in a computer readable storage medium, the computer program is when being executed by processor, it can be achieved that above-mentioned each side The step of method embodiment.Wherein, computer program includes computer program code, and computer program code can be source code Form, object identification code form, executable file or certain intermediate forms etc..Computer-readable medium may include: that can carry Any entity or device of computer program code, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electricity Carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the content that computer-readable medium includes can be with According to making laws in jurisdiction and the requirement of patent practice carries out increase and decrease appropriate, such as in certain jurisdictions, according to Legislation and patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.

Claims (10)

1. in a kind of micro-grid system virtual synchronous machine and machine control method, which is characterized in that the virtual synchronous machine and machine system System includes: multiple energy-storage units, and the multiple virtual synchronous machines to connect one to one with multiple energy-storage units, Yi Jifen The Intelligent power distribution device not connecting with multiple virtual synchronous machines and power grid, the control method include:
The network voltage is obtained, judges whether the network voltage meets preset Grid-connection standards;
If the network voltage meets preset Grid-connection standards, the status information of each energy-storage units and each described is obtained The status information of virtual synchronous machine;
Each virtual synchronous machine operating mode and grid-connected booting are set according to the status information of each energy-storage units;
If the network voltage does not meet preset Grid-connection standards, it is selected according to preset rules in multiple virtual synchronous machines In one be main virtual synchronous machine, remaining is from virtual synchronous machine;
Control is switched on from virtual synchronous machine off-network after controlling main virtual synchronous machine elder generation's off-network booting.
2. as described in claim 1 and machine control method, which is characterized in that according to the status information of each energy-storage units It sets each virtual synchronous machine operating mode and grid-connected booting includes:
It is determined currently without reason according to the status information of each energy-storage units and the status information of each virtual synchronous machine The virtual synchronous machine of barrier state, and determine that each energy-storage units needs are charged or discharged;
It is sent according to the charge-discharge power demand of each energy-storage units to the virtual synchronous machine being connect with each energy-storage units Value and power reference;
The grid-connected booting of each virtual synchronous machine is controlled according to the value and power reference.
3. as claimed in claim 2 and machine control method, which is characterized in that specific further include:
When energy-storage units are in charge requirement, negative power reference value is sent to the virtual synchronous connecting with the energy-storage units Machine;
When energy-storage units are in electric discharge demand, positive reference value is sent to the virtual synchronous connecting with the energy-storage units Machine.
4. as described in claim 1 and machine control method, which is characterized in that in multiple virtual synchronous machines according to default rule Select one of them then as main virtual synchronous machine, remaining is to include: from virtual synchronous machine
Acquire the status information of each energy-storage units and the status information of each virtual synchronous machine;
It is determined currently without reason according to the status information of each energy-storage units and the status information of each virtual synchronous machine The virtual synchronous machine of barrier state, and determine whether each energy-storage units meet electric discharge demand;
It determines unfaulty conditions and the energy-storage units that are connected meets the virtual synchronous board number N* of electric discharge demand;
The communication id of the N* platform virtual synchronous machine is ranked up;
A wherein virtual synchronous machine is arranged as main virtual synchronous machine, the setting of remaining virtual synchronous machine according to the communication id For from virtual synchronous machine.
5. as claimed in claim 4 and machine control method, which is characterized in that it is described will a wherein void according to the communication id Quasi- synchronous machine is arranged as main virtual synchronous machine, remaining virtual synchronous machine is set as from virtual synchronous machine are as follows:
The smallest virtual synchronous machine of the communication id is arranged as main virtual synchronous machine, remaining virtual synchronous machine is set as from void Quasi- synchronous machine.
6. as described in claim 1 and machine control method, which is characterized in that control main virtual synchronous machine elder generation's off-network booting After control from virtual synchronous machine elder generation's off-network booting include:
Broadcast transmission power-on instruction is to the main virtual synchronous machine;
Judge after the main virtual synchronous machine off-network booting whether to provide from virtual synchronous machine and machine output voltage to be described, if It is that then broadcast transmission waits for power-on instruction to described from virtual synchronous machine;
Whether judgement is described meets booting voltage from virtual synchronous machine outlet side voltage, if so, send power-on instruction arrive described in from Virtual synchronous machine.
7. as described in claim 1 and machine control method, which is characterized in that opened in control main virtual synchronous machine elder generation off-network Control is after the booting of virtual synchronous machine elder generation's off-network after machine further include:
Obtain the virtual synchronous board number N being currently under off-grid operation state;
Obtain the gross rated capacity Sn of virtual synchronous machine described in N platform, current micro-grid system the first load access capacity SL1 and Second load access capacity SL2;
Compare the gross rated capacity Sn of each virtual synchronous machine, the first load access capacity SL1 of current system and the The amount of capacity of two load access capacity SL2;
The connection of first load and/or the second load and the virtual synchronous machine is closed according to the comparison result.
8. as claimed in claim 7 and machine control method, which is characterized in that described according to comparison result closure described the One load and/or the second load and the connection of the virtual synchronous machine specifically include:
When the gross rated capacity Sn of the virtual synchronous machine is not less than the first load access capacity SL1 and second load When the summation of access capacity SL2, transmission control instruction or signal control first load of its closure to Intelligent power distribution device and connect Enter the first switch of system and the second switch of the second load access system;
When the gross rated capacity Sn of the virtual synchronous machine is not less than the access capacity SL1 of first load and described virtual same The gross rated capacity Sn of step machine is less than the access capacity SL1's of the first load and access capacity SL2 of second load When summation, sends control instruction or signal and to Intelligent power distribution device control it and be closed described first and load the first of access system and open It closes.
9. a kind of micro-grid system, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 8 when executing the computer program In described in any item micro-grid systems virtual synchronous machine and the step of machine control method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the computer program is realized virtual same in micro-grid system as claimed in any one of claims 1 to 8 when being executed by processor Step machine and the step of machine control method.
CN201910371057.5A 2019-05-06 2019-05-06 In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system Pending CN110137987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910371057.5A CN110137987A (en) 2019-05-06 2019-05-06 In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910371057.5A CN110137987A (en) 2019-05-06 2019-05-06 In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system

Publications (1)

Publication Number Publication Date
CN110137987A true CN110137987A (en) 2019-08-16

Family

ID=67576340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910371057.5A Pending CN110137987A (en) 2019-05-06 2019-05-06 In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system

Country Status (1)

Country Link
CN (1) CN110137987A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069725A (en) * 2021-09-30 2022-02-18 科华数据股份有限公司 Energy storage converter parallel operation control method and equipment based on virtual synchronous generator
WO2022238438A1 (en) * 2021-05-10 2022-11-17 TRUMPF Hüttinger GmbH + Co. KG Method for establishing a supply voltage and inverter
CN117639279A (en) * 2024-01-25 2024-03-01 杭州闪充聚能新能源有限公司 Control device of household energy storage system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102570489A (en) * 2012-02-29 2012-07-11 中国南方电网有限责任公司调峰调频发电公司 Dynamic power coordination control method for battery energy storage system
CN102638038A (en) * 2012-03-20 2012-08-15 华中科技大学 Parallel charging and discharging power conversion system
CN103390921A (en) * 2013-07-29 2013-11-13 中煤电气有限公司 Battery pack management system and battery pack management method for mining power supply
WO2016074216A1 (en) * 2014-11-14 2016-05-19 Robert Bosch Gmbh Energy storage system based on battery packs
CN105811458A (en) * 2016-04-22 2016-07-27 深圳中电长城能源有限公司 Microgrid energy storage system and energy management method thereof
CN106849186A (en) * 2016-12-22 2017-06-13 合肥工业大学 A kind of energy storage inverter master-slave control method based on virtual synchronous generator
CN107346896A (en) * 2017-06-10 2017-11-14 北京科诺伟业科技股份有限公司 A kind of light stores up micro-grid system energy accumulation current converter host-slave parallel control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102570489A (en) * 2012-02-29 2012-07-11 中国南方电网有限责任公司调峰调频发电公司 Dynamic power coordination control method for battery energy storage system
CN102638038A (en) * 2012-03-20 2012-08-15 华中科技大学 Parallel charging and discharging power conversion system
CN103390921A (en) * 2013-07-29 2013-11-13 中煤电气有限公司 Battery pack management system and battery pack management method for mining power supply
WO2016074216A1 (en) * 2014-11-14 2016-05-19 Robert Bosch Gmbh Energy storage system based on battery packs
CN105811458A (en) * 2016-04-22 2016-07-27 深圳中电长城能源有限公司 Microgrid energy storage system and energy management method thereof
CN106849186A (en) * 2016-12-22 2017-06-13 合肥工业大学 A kind of energy storage inverter master-slave control method based on virtual synchronous generator
CN107346896A (en) * 2017-06-10 2017-11-14 北京科诺伟业科技股份有限公司 A kind of light stores up micro-grid system energy accumulation current converter host-slave parallel control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022238438A1 (en) * 2021-05-10 2022-11-17 TRUMPF Hüttinger GmbH + Co. KG Method for establishing a supply voltage and inverter
CN114069725A (en) * 2021-09-30 2022-02-18 科华数据股份有限公司 Energy storage converter parallel operation control method and equipment based on virtual synchronous generator
CN117639279A (en) * 2024-01-25 2024-03-01 杭州闪充聚能新能源有限公司 Control device of household energy storage system

Similar Documents

Publication Publication Date Title
Lai et al. Cluster-oriented distributed cooperative control for multiple AC microgrids
Du et al. Distributed secondary control strategy for microgrid operation with dynamic boundaries
Ahmed et al. A review on primary and secondary controls of inverter-interfaced microgrid
Zhang et al. An adaptive droop control strategy for islanded microgrid based on improved particle swarm optimization
Zhu et al. An enhanced virtual impedance optimization method for reactive power sharing in microgrids
CN110137987A (en) In a kind of micro-grid system virtual synchronous machine and machine control method and micro-grid system
CN110233495A (en) The output control method and micro-grid system of virtual synchronous machine in a kind of micro-grid system
Guo et al. Distributed control and optimization technologies in smart grid systems
WO2009012399A2 (en) Utility interactive inverter with var dispatch capabilities
CN108964073A (en) A kind of multiple target reactive voltage control method for coordinating and system based on phase modifier
Sepehrzad et al. Intelligent hierarchical energy and power management to control the voltage and frequency of micro-grids based on power uncertainties and communication latency
Roncero-Clemente et al. Power-flow-based secondary control for autonomous droop-controlled AC nanogrids with peer-to-peer energy trading
Aquino-Lugo Distributed and decentralized control of the power grid
CN110165701A (en) Virtual synchronous machine and off-network control method and micro-grid system in a kind of micro-grid system
Kirakosyan et al. Selective frequency support approach for MTDC systems integrating wind generation
Fu et al. DC voltage oscillation stability analysis of DC-voltage-droop-controlled multiterminal DC distribution system using reduced-order modal calculation
Li et al. A converter-based battery energy storage system emulator for the controller testing of a microgrid with dynamic boundaries and multiple source locations
Ioris et al. Microgrid Operation and Control: From Grid-Connected to Islanded Mode
CN111987732A (en) Electric energy exchanger and method suitable for flexible interconnection of feeder lines of power distribution network
Gautam et al. A cooperative game theory-based secondary frequency regulation in distribution systems
Toro et al. Droop-free control for networked microgrids
CN112910002A (en) Smooth switching method and device for self-adaptive main power supply operation mode of microgrid
Vasquez Quintero Decentralized control techniques applied to electric power distributed generation in microgrids
Zhang et al. Smooth mode transition strategies of PV-BESS microgrids
Shahid An overview of control architecture for next generation smart grids

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20211105