CN110071497A - A kind of photovoltaic DC electricity generation system and its control method with energy storage device - Google Patents
A kind of photovoltaic DC electricity generation system and its control method with energy storage device Download PDFInfo
- Publication number
- CN110071497A CN110071497A CN201910396615.3A CN201910396615A CN110071497A CN 110071497 A CN110071497 A CN 110071497A CN 201910396615 A CN201910396615 A CN 201910396615A CN 110071497 A CN110071497 A CN 110071497A
- Authority
- CN
- China
- Prior art keywords
- control
- period
- converter
- current
- error
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J1/00—Circuit arrangements for dc mains or dc distribution networks
- H02J1/14—Balancing the load in a network
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
The invention discloses a kind of photovoltaic DC electricity generation system and its control method with energy storage device.Photovoltaic DC electricity generation system with energy storage device, including 3 photovoltaic arrays, 3 BOOST converters, 2 energy storage devices, 2 two-way DC/DC converters, an ohmic load, a constant power load.The control method that the present invention is proposed for the system is provided with two kinds of operating modes to BOOST converter, that is MPPT control model and constant voltage output mode, 3 kinds of operating modes are provided with to two-way DC/DC converter, respectively BUCK mode, BOOST mode, excision model, controller reasonably switches the operating mode of BOOST converter and two-way DC/DC converter according to the working condition of system, realize the organic integration of photovoltaic array and energy storage device, maximal efficiency utilizes the received solar energy of photovoltaic array while guaranteeing that DC bus is stablized, in light intensity decreasing, controller can make quickly adjustment to guarantee the stabilization of DC bus-bar voltage to load sudden change etc. in special circumstances.
Description
Technical field
The invention belongs to the direct-current grid control fields of electric system, are related to a kind of pair of photovoltaic energy storage system and carry out automatically
The control algolithm of control is specifically designed into a kind of based on MPPT control, voltage close loop control, current follow-up control, current compensation
The control algolithm of control and a kind of photovoltaic energy storage system controlled with the control algolithm.
Background technique
The solar power system not connecting with power grid is referred to as off-network type photovoltaic generating system.This photovoltaic generating system
Energy be derived only from solar battery array.When night or illumination deficiency, solar battery array cannot
Enough energy are provided for load.So the reliability and stability in order to guarantee off-network type photovoltaic generating system, system are necessary
Energy storage device is equipped with to store and adjust electric energy.In the case that illumination is sufficient or light load, energy storage device is in charging
Mode gets up the endless energy storage of load consumption;In the case that illumination is insufficient or heavier loads, energy storage device is in
Discharge mode provides energy together with solar battery array for load.
The key for guaranteeing the photovoltaic system stable operation of off-network type is to maintain the stabilization of DC bus-bar voltage.At this stage for dimension
Holding the control strategy that DC bus-bar voltage fluctuates in stability range mainly has master-slave control method and reciprocity control method.Principal and subordinate
Control principle is that the direct equipment for participating in DC bus-bar voltage regulation is set as main control unit, remaining is from control unit;It is right
Etc. control modes keep the effect status of each part identical, need to only be carried out by feedback from main regulation, avoid main control unit and
Communication contact is interconnected, but the reciprocity method of operation under separate state reduces the robustness of system, makes whole anti-interference ability
Weaken.Authorization Notice No. is the Chinese patent of CN201810737614.6, proposes a kind of direct-current grid based on multi-zone supervision
The whole control strategy of direct-current micro-grid is decomposed into equipment management layer and bus control layer structure by control method and system.Equipment
The each component part of micro-capacitance sensor is regulated and controled according to the characteristic and working method of itself in management level, in bus control layer, setting
Operating mode controller according to the division for carrying out operating mode the case where the fluctuation range and battery dump energy of busbar voltage,
System is switched under different working condition.
The power that the generating equipment that DC bus-bar voltage maintains stable premise to be in direct-current grid issues needs full
The power demand of sufficient electrical equipment.When the power that generating equipment issues is less than the power demand of electrical equipment, busbar voltage meeting
Decline, therefore specific power demand is small for the power that electrical equipment obtains, to reach DC bus output power and input power
One equilibrium state;When the power that generating equipment issues is greater than the power demand of electrical equipment, busbar voltage can rise, simultaneously
Therefore specific power demand is big for the power that electrical equipment obtains.Photovoltaic battery array is used as generating equipment, load always in systems
Always it is used as electrical equipment.When photovoltaic apparatus issues power needed for power is greater than load, energy storage device is inhaled as electrical equipment
Energy is received, when photovoltaic apparatus issues power needed for power is less than load, energy storage device releases energy as generating equipment.In light
When condition variation, load variation, it is straight to guarantee that the operating mode of the equipment in direct-current grid generally requires switching
Flow the stabilization of busbar voltage.
Summary of the invention
In order to solve intensity of illumination variation, when load sudden change DC bus-bar voltage stable problem, the present invention sets
A kind of photovoltaic DC electricity generation system with energy storage device has been counted, and has proposed a kind of control algolithm for the system.By this control
Algorithm processed is applied in photovoltaic DC electricity generation system, needs to reach following control target: 1. setting nominally, photovoltaic
Cell array output voltage is connected after the boosting of BOOST circuit with DC bus, guarantees that DC bus-bar voltage and setting refer to
Value is consistent, and energy storage device is connected by two-way DC/DC converter with DC bus, and energy storage device is in constant-current charge state, electricity
Resistance load is connected in parallel on DC bus;2. on the basis of normal conditions, the remitted its fury for the light that photovoltaic battery array receives,
Cause it to be not enough to is energy storage device charging and load supplying simultaneously, and control system needs are cut automatically according to the status information of system
Except energy storage device, it is ensured that the power supply of ohmic load and the stabilization of DC bus-bar voltage;3. working as light intensity on the basis of normal conditions
Too weak to cause system that after cutting off energy storage device still DC bus-bar voltage control when setting reference value, system is automatic
Energy storage device is accessed, ensures the stabilization of DC bus-bar voltage to DC bus injecting power by energy storage device;4. in standard
On the basis of situation, a constant power load accesses DC bus suddenly, and photovoltaic array is caused to be not enough to simultaneously as energy storage device
Charging and load supplying, control system need to cut off energy storage device automatically according to the status information of system, it is ensured that ohmic load, perseverance
The power supply of power termination and the stabilization of DC bus-bar voltage;5. on the basis of normal conditions, needed for the constant power load of access
Power causes greatly very much system that DC bus-bar voltage can not still be made to control the system when setting reference value after cutting off energy storage device
Automatically energy storage device is accessed, ensures the stabilization of DC bus-bar voltage to DC bus injecting power by energy storage device.
The invention is realized by the following technical scheme: the photovoltaic DC electricity generation system with energy storage device, including 3 photovoltaic battle arrays
Column, 3 BOOST converters, 2 energy storage devices, 2 two-way DC/DC converters, an ohmic load, a constant power load,
3 photovoltaic arrays are connected in series by 54 solar batteries, are respectively designated as the first photovoltaic array, the second photovoltaic array,
Three photovoltaic arrays, 3 photovoltaic arrays are by the way that, again to DC bus injecting power, 3 BOOST become after BOOST converter boosting
Parallel operation is respectively designated as #1 converter, #2 converter, #3 converter, and is classified as BOOST converter group, and BOOST converter has two
Kind control model, is constant voltage output control model and MPPT control model respectively;2 energy storage devices are respectively designated as the 4th energy storage
Equipment and the 5th energy storage device, energy storage device have 3 working conditions, are constant-current charge state, excision stand-by state, electric discharge respectively
State, the excessively two-way DC/DC converter of energy storage device are connected with DC bus, and 2 two-way DC/DC converters are respectively designated as #4
Converter, #5 converter, and it is classified as two-way DC/DC converter group, there are three types of operating modes for two-way DC/DC converter, respectively
BOOST operating mode, BUCK operating mode, excision model, when two-way DC/DC converter is in BOOST operating mode, energy storage
Equipment is in discharge condition;When two-way DC/DC converter is in BUCK operating mode, energy storage device is in constant-current charge shape
State, when two-way DC/DC converter is in excision model, energy storage device is in excision stand-by state.
Further, the control algolithm of the direct current system can be divided into two layers, and wherein the purpose of bottom is control and photovoltaic
Two-way DC/DC converter group cell array connected BOOST converter group and be connected with energy storage device, the purpose of top layer are associations
BOOST converter group and two-way DC/DC converter group are adjusted, makes DC bus-bar voltage in feelings such as intensity of illumination mutation, load sudden changes
The stabilization of DC bus-bar voltage is able to achieve under condition.The control period ts of the control algolithm of the system is 0.00005s, therefore one
Secondary complete control, which calculates, to be needed to complete in 0.00005s, and 11 duty ratios can be obtained by completing a control algolithm, respectively
D1、D2、D3、D4A、D4B、D4C、D4D、D5A、D5B、D5C、D5D, then 11 PWM modules go out therewith according to this 11 duty ratio modulations
Corresponding pwm signal, respectively PWM1、PWM2、PWM3、PWM4A、PWM4B、PWM4C、PWM4D、PWM5A、PWM5B、PWM5C、PWM5D,
Wherein PWM1Signal is for controlling VT in #1 converter1Pipe turns on and off, PWM2Signal is for controlling VT in #2 converter2
Pipe turns on and off, PWM3Signal is for controlling VT in #3 converter3Pipe turns on and off, PWM4A、PWM4B、PWM4C、
PWM4DSignal is for controlling VT in #4 converter4A、VT4B、VT4C、VT4DPipe turns on and off, PWM5A、PWM5B、PWM5C、
PWM5DSignal is for controlling VT in #5 converter5A、VT5B、VT5C、VT5DPipe turns on and off.
The bottom control of the direct current system includes two large divisions, the control of BOOST converter group and two-way DC/DC converter
Control, BOOST converter group is there are two types of control model, and there are three types of control models for two-way DC/DC converter group, and mode is arranged1
For the operating mode control bit of BOOST converter group, work as mode1When being 1,3 BOOST converters are all made of MPPT control, when
mode1When being 0,3 BOOST converters are controlled using constant voltage output, and mode is arranged2For the Working mould of two-way DC/DC converter group
Formula control bit, works as mode2When being 1, two-way DC/DC converter group is in BUCK operating mode, and energy storage device is in constant-current charge
State;Work as mode2When being 2, two-way DC/DC converter group is in BOOST operating mode, and energy storage device is in discharge condition;When
mode2When being 0, two-way DC/DC converter group is in excision state, and energy storage device is in excision stand-by state.
Work as mode1When being 1, BOOST converter group is in MPPT control model, and the control calculating under the mode can be divided into
Following steps:
S1, the output voltage V for reading the first photovoltaic array of current control period1, output electric current I1, it is separately stored in
Array A1A1[1], array B1B1[1] in, by the output voltage of a upper control the first photovoltaic array of period, output electric current storage
There are array A1A1[0], array B1B1[0] in, array A1、B1Have and only there are two elements;
S2, the difference DELTA for calculating the output voltage of the first photovoltaic array between current control period and a upper control period
V1, export the difference DELTA I of electric current1;
S3, as Δ V1With Δ I1When being 0, the duty ratio D of #1 converter1It is consistent with a upper control period;As Δ V1For
0 and Δ I1When greater than 0, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one increases Δ d, and Δ d is that duty ratio is micro-
Increment, the present invention set it to 0.0001;As Δ V1The Δ I for 01When less than 0, the duty ratio D of #1 converter1Than upper one
The duty ratio for controlling the period reduces Δ d;As Δ I1/ΔV1=I1/V1When, the duty ratio D of #1 converter1With a upper control period
Unanimously;As Δ I1/ΔV1>I1/V1When, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one reduces Δ d;Work as Δ
I1/ΔV1<I1/V1When, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one increases Δ d;
S4, judge se=0 and Vbus>VrefWhether two conditions are set up simultaneously, and wherein se is the control of BOOST converter group
Enable bit, when se is 0, BOOST converter group can be in two kinds of control moulds of MPPT control model and constant voltage output control model
Freely switch between formula, when se is 1, BOOST converter group is locked under MPPT control model, VbusFor bus voltage value,
VrefFor busbar voltage reference value, after two conditions meet simultaneously, for m from adding, m is counting variable.Then judge whether m is greater than
100, when m is greater than 100, by mode1It is assigned a value of 0, the operating mode of converter group is made to be switched to constant voltage output control model, and
M is reset;
S5, the output voltage V for reading the second photovoltaic array of current control period2, output electric current I2, it is separately stored in
Array A2A2[1], array B2B2[1] in, by the output voltage of a upper control the second photovoltaic array of period, output electric current storage
There are array A2A2[0], array B2B2[0] in.Array A2、B2Have and only there are two elements;
S6, the difference DELTA for calculating the output voltage of the second photovoltaic array between current control period and a upper control period
V2, export the difference DELTA I of electric current2;
S7, as Δ V2With Δ I2When being 0, the duty ratio D of #2 converter2It is consistent with a upper control period;As Δ V2For
0 and Δ I2When greater than 0, the duty ratio D of #2 converter2The duty ratio that the period is controlled than upper one increases Δ d;As Δ V2The Δ for 0
I2When less than 0, the duty ratio D of #2 converter2The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I2/ΔV2=I2/V2
When, the duty ratio D of #2 converter2It is consistent with a upper control period;As Δ I2/ΔV2>I2/V2When, the duty ratio of #2 converter
D2The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I2/ΔV2<I2/V2When, the duty ratio D of #1 converter2Than upper one
The duty ratio in a control period increases Δ d;
S8, the output voltage V for reading current control period third photovoltaic array3, output electric current I3, it is separately stored in
Array A3A3[1], array B3B3[1] in, by the output voltage of upper control period third photovoltaic array, output electric current storage
There are array A3A3[0], array B3B3[0] in.Array A3、B3Have and only there are two elements;
S9, the difference DELTA for calculating the output voltage of third photovoltaic array between current control period and a upper control period
V3, export the difference DELTA I of electric current3;
S10, as Δ V3With Δ I3When being 0, the duty ratio D of #3 converter3It is consistent with a upper control period;As Δ V3
The Δ I for 03When greater than 0, the duty ratio D of #3 converter3The duty ratio that the period is controlled than upper one increases Δ d;As Δ V3For 0
ΔI3When less than 0, the duty ratio D of #3 converter3The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I3/ΔV3=I3/
V3When, the duty ratio D of #3 converter3It is consistent with a upper control period;As Δ I3/ΔV3>I3/V3When, the duty of #3 converter
Compare D3The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I3/ΔV3<I3/V3When, the duty ratio D of #3 converter3Than upper
The duty ratio in one control period increases Δ d.
Work as mode1When being 0, BOOST converter group is in constant voltage output control model, and control under the mode calculates can be with
It is divided into following steps:
S11, busbar voltage reference value V is calculatedrefWith bus voltage value VbusDifference, and difference is assigned in1[1]。in1
The in of array1That [1] store is the control margin of error of current control period, in1[0] storage is upper one control for controlling the period
The margin of error, out1The out of array1That [1] store is the PI control result of current control period, out1[0] storage is a upper control
The PI control result in period processed;
S12, PI control operation is carried out, by the control margin of error in of current control period1[1], the control in a upper control period
Margin of error in processed1[0], the PI control result out in a upper control period1[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period1[1];
S13, to PI control result out1[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To the duty ratio D of #1 converter1;
S14, judge Vbus<VrefWhether -3 and se is true equal to 0 the two conditions, as long as any one in two conditions
Part is set up, just by mode11 is set, converter group is switched to MPPT control model;
S15, the output electric current I for calculating #1 converter1The output electric current I of _ out and #2 converter2The difference of _ out, and will
Difference is assigned in2[1], in2The in of array2That [1] store is the control margin of error of current control period, in2[0] storage is
The control margin of error in a upper control period, out2The out of array2[1] what is stored is the PI control result of current control period,
out2[0] storage is the upper one PI control result for controlling the period;
S16, PI control operation is carried out, by the control margin of error in of current control period2[1], the control in a upper control period
Margin of error in processed2[0], the PI control result out in a upper control period2[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period2[1];
S17, to PI control result out2[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To the duty ratio D of #2 converter2;
S18, the output electric current I for calculating #3 converter1The output electric current I of _ out and #3 converter3The difference of _ out, and will
Difference is assigned in3[1], in3The in of array3That [1] store is the control margin of error of current control period, in3[0] storage is
The control margin of error in a upper control period, out3The out of array3[1] what is stored is the PI control result of current control period,
out3[0] storage is the upper one PI control result for controlling the period;
S19, PI control operation is carried out, by the control margin of error in of current control period3[1], the control in a upper control period
Margin of error in processed3[0], the PI control result out in a upper control period3[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period3[1];
S20, to PI control result out3[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To the duty ratio D of #3 converter3。
Work as mode2When being 1, #4 converter and #5 converter are in BUCK operating mode, and the control calculating under the mode can
To be divided into following steps:
S21, due to charging when, the direction of inductive current and the positive direction of setting are on the contrary, so need inductance L4a、L4b
In the electric current I that flows through4a、I4bIt negates;
S22, I is calculatedR_in/ 2 and I4aDifference, and difference is assigned in4[1], I is calculatedR_in/ 2 and I4bDifference, and will
Difference is assigned in5[1], IR_inFor the charging current reference value of energy storage device, in4The in of array4[1] storage is currently to control
The control margin of error in period, in4[0] that storage is the upper one control margin of error for controlling the period, out4The out of array4[1] it stores
Be current control period PI control result, out4[0] that storage is the upper one PI control result for controlling the period, in5Array
in5That [1] store is the control margin of error of current control period, in5[0] storage is the upper one control margin of error for controlling the period,
out5The out of array5That [1] store is the PI control result of current control period, out5[0] storage was a upper control period
PI control result;
S23, PI control operation is carried out, by the control margin of error in of current control period4[1], the control in a upper control period
Margin of error in processed4[0], the PI control result out in a upper control period4[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period4[1], by the control margin of error in of current control period5[1], a upper control period
Control margin of error in5[0], the PI control result out in a upper control period5[0] the discrete computing expression formula of PI control is substituted into,
Obtain the PI control result out of current control period5[1];
S24, to PI control result out4[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #4 converter4AThe duty ratio D of pipe4A, to PI control result out5[1] clipping is carried out, is limited between zero and one, and
Result after clipping is assigned to VT in #4 converter4BThe duty ratio D of pipe4B, VT in #4 converter4CThe duty ratio D of pipe4C, #4 transformation
VT in device4DThe duty ratio D of pipe4DIt is assigned a value of 0;
S25, due to charging when, the direction of inductive current and the positive direction of setting are on the contrary, so need inductance L5a、L5b
In the electric current I that flows through5a、I5bIt negates;
S26, I is calculatedR_in/ 2 and I5aDifference, and difference is assigned in9[1], I is calculatedR_in/ 2 and I5bDifference, and will
Difference is assigned in10[1], in9The in of array9That [1] store is the control margin of error of current control period, in9[0] storage is
The control margin of error in a upper control period, out9The out of array9[1] what is stored is the PI control result of current control period,
out9[0] that storage is the upper one PI control result for controlling the period, in10The in of array10[1] storage is current control period
Control the margin of error, in10[0] that storage is the upper one control margin of error for controlling the period, out10The out of array10[1] storage is
The PI control result of current control period, out10[0] storage is the upper one PI control result for controlling the period;
S27, PI control operation is carried out, by the control margin of error in of current control period9[1], the control in a upper control period
Margin of error in processed9[0], the PI control result out in a upper control period9[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period9[1], by the control margin of error in of current control period10[1], a upper control period
Control margin of error in10[0], the PI control result out in a upper control period10[0] the discrete computing expression of PI control is substituted into
Formula obtains the PI control result out of current control period10[1];
S28, to PI control result out9[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #5 converter5AThe duty ratio D of pipe5A, to PI control result out10[1] clipping is carried out, is limited between zero and one,
And the result after clipping is assigned to VT in #5 converter5BThe duty ratio D of pipe5B, VT in #5 converter5CThe duty ratio D of pipe5C, #5 become
VT in parallel operation5DThe duty ratio D of pipe5DIt is assigned a value of 0.
Work as mode2When being 2, #4 converter and #5 converter are in BOOST operating mode, and the control calculating under the mode can
To be divided into following steps:
S29, busbar voltage reference value V is calculatedrefWith bus voltage value VbusDifference, and difference is assigned in6[1], in6
The in of array6That [1] store is the control margin of error of current control period, in6[0] storage is upper one control for controlling the period
The margin of error, out6The out of array6That [1] store is the PI control result of current control period, out6[0] storage is a upper control
The PI control result in period processed;
S30, PI control operation is carried out, by the control margin of error in of current control period6[1], the control in a upper control period
Margin of error in processed6[0], the PI control result out in a upper control period6[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period6[1];
S31, by out6[1] it is assigned to IR_out4, IR_out4For the output current reference value of energy storage device;
S32, I is calculatedR_out4/ 2 and I4aDifference, and difference is assigned in7[1], I is calculatedR_out4/ 2 and I4bDifference, and
Difference is assigned in8[1], IR_out4For the output current reference value of energy storage device.In7The in of array7[1] storage is currently to control
The control margin of error in period processed, in7[0] that storage is the upper one control margin of error for controlling the period, out7The out of array7[1] it stores up
That deposit is the PI control result of current control period, out7[0] that storage is the upper one PI control result for controlling the period, in8Array
In8That [1] store is the control margin of error of current control period, in8[0] storage is the upper one control error for controlling the period
Amount, out8The out of array8That [1] store is the PI control result of current control period, out8[0] storage was upper control week
The PI control result of phase;
S33, PI control operation is carried out, by the control margin of error in of current control period7[1], the control in a upper control period
Margin of error in processed7[0], the PI control result out in a upper control period7[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period7[1], by the control margin of error in of current control period8[1], a upper control period
Control margin of error in8[0], the PI control result out in a upper control period8[0] the discrete computing expression formula of PI control is substituted into,
Obtain the PI control result out of current control period8[1];
S34, to PI control result out7[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #4 converter4CThe duty ratio D of pipe4C, to PI control result out8[1] clipping is carried out, is limited between zero and one, and
Result after clipping is assigned to VT in #4 converter4DThe duty ratio D of pipe4D, VT in #4 converter4AThe duty ratio D of pipe4A, #4 transformation
VT in device4BThe duty ratio D of pipe4BIt is assigned a value of 0;
S35, #4 converter output electric current I is calculated4_Out and #5 converter export electric current I5_The difference of out, and by difference
It is assigned in11[1], in11The in of array11That [1] store is the control margin of error of current control period, in11[0] storage be on
The control margin of error in one control period, out11The out of array11[1] what is stored is the PI control result of current control period,
out11[0] storage is the upper one PI control result for controlling the period;
S36, PI control operation is carried out, by the control margin of error in of current control period11[1], the control in a upper control period
Margin of error in processed11[0], the PI control result out in a upper control period11[0] the discrete computing expression formula for substituting into PI control, obtains
To the PI control result out of current control period11[1];
S37, by I4It is superimposed with out11[1] I is obtainedR_out5, IR_out5For the output current reference value of the 5th energy storage device;
S38, I is calculatedR_out5/ 2 and I5aDifference, and difference is assigned in12[1], I is calculatedR_out5/ 2 and I5bDifference,
And difference is assigned in13[1], IR_out5For the output current reference value of the 5th energy storage device, in12The in of array12[1] it stores
It is the control margin of error of current control period, in12[0] that storage is the upper one control margin of error for controlling the period, out12Array
out12That [1] store is the PI control result of current control period, out12[0] storage is the upper one PI control for controlling the period
As a result, in13The in of array13That [1] store is the control margin of error of current control period, in13[0] storage is a upper control
The control margin of error in period, out13The out of array13That [1] store is the PI control result of current control period, out13[0] it stores up
What is deposited was the PI control result in a upper control period;
S39, PI control operation is carried out, by the control margin of error in of current control period12[1], the control in a upper control period
Margin of error in processed12[0], the PI control result out in a upper control period12[0] the discrete computing expression formula for substituting into PI control, obtains
To the PI control result out of current control period12[1], by the control margin of error in of current control period13[1], a upper control
The control margin of error in period13[0], the PI control result out in a upper control period13[0] the discrete computing table of PI control is substituted into
Up to formula, the PI control result out of current control period is obtained13[1];
S40, to PI control result out12[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #5 converter5CThe duty ratio D of pipe5C, to PI control result out13[1] clipping is carried out, is limited between zero and one,
And the result after clipping is assigned to VT in #5 converter5DThe duty ratio D of pipe5D, VT in #5 converter5AThe duty ratio D of pipe5A, #5 become
VT in parallel operation5BThe duty ratio D of pipe5BIt is assigned a value of 0.
Further, BOOST converter group is in MPPT operating mode when system starts, and two-way DC/DC converter is in
BUCK operating mode, energy storage device charging.It charges needed for required power and load if the peak power output of photovoltaic array is greater than
The sum of power, DC bus-bar voltage will be higher than busbar voltage reference value after starting a period of time, at this moment BOOST converter group
Controller will automatically switch to constant voltage output control, make photovoltaic array output with charge needed for power and load needed for power it
With equal power, to guarantee that DC bus-bar voltage is consistent with busbar voltage reference value.If the maximum work output of photovoltaic array
Rate is less than charge the sum of required power and power needed for load, but is greater than the required power of load, then needs to cut off two-way DC/DC change
Parallel operation group;If the peak power output of photovoltaic array, which is less than, loads required power, two-way DC/DC converter is needed to be in
BOOST operating mode, energy storage device electric discharge, while photovoltaic array needs to be constantly in MPPT operating mode.
Size relation between power needed for power, charging as needed for can not directly compare peak power output and load,
So control model can only be carried out to BOOST converter group and two-way DC/DC converter group by the judgement of other conditions
Switching, to guarantee that DC bus-bar voltage is consistent with busbar voltage reference value.
Further, BOOST converter group and two-way DC/DC converter group mode coordinated control the following steps are included:
S41, judge mode1=1, mode2=1, Vbus<VrefWhether three conditions are set up simultaneously, if set up simultaneously,
By the variable x for being used to count from adding, S43 is otherwise skipped to;
Whether the x of S42, judgement from after adding is greater than 2000, if it is greater than 2000, then by mode2It is assigned a value of 0, disconnects switch
S4, S5 make energy storage device be in excision stand-by state, and x are reset;
S43, judge mode1=1, mode2=0, Vbus<VrefWhether three conditions are set up simultaneously, if set up simultaneously,
By the variable y for being used to count from adding, S45 is otherwise skipped to;
Whether the y of S44, judgement from after adding is greater than 2000, if it is greater than 2000, then by mode22 are assigned a value of, and is closed and opens
S4, S5 are closed, so that energy storage device is in discharge condition, and y is reset;
S45, end mode are coordinated;
Further, the present invention shares 13 PI control operations, and the fortune of these PI control operation in the period is controlled at one
Calculation process is respectively as follows:
Wherein p1For the first proportionality coefficient, i1For first integral coefficient, ts is the control period.
Wherein p2For the second proportionality coefficient, i2For second integral coefficient.
Wherein p3For third proportionality coefficient, i3For third integral coefficient.
Wherein p4For the 4th proportionality coefficient, i4For the 4th integral coefficient.
Wherein p5For the 5th proportionality coefficient, i5For the 5th integral coefficient.
Wherein p6For the 6th proportionality coefficient, i6For the 6th integral coefficient.
Wherein p7For the 7th proportionality coefficient, i7For the 7th integral coefficient.
Wherein p8For the 8th proportionality coefficient, i8For the 8th integral coefficient.
Wherein p9For the 9th proportionality coefficient, i9For the 9th integral coefficient.
Wherein p10For the tenth proportionality coefficient, i10For the tenth integral coefficient.
Wherein p11For the 11st proportionality coefficient, i11For the 11st integral coefficient.
Wherein p12For the 12nd proportionality coefficient, i12For the 12nd integral coefficient.
Wherein p13For the 13rd proportionality coefficient, i13For the 13rd integral coefficient.
The beneficial effects of the present invention are: the present invention is directed to by three photovoltaic arrays, two energy storage devices, 3 BOOST transformation
The off-network type photovoltaic system that device, 2 two-way DC/DC converters, DC load form proposes control method.The control method is given
BOOST converter group is provided with two kinds of operating modes, i.e. MPPT control model and constant voltage output mode, and controller can basis
The operating mode of the size of DC bus-bar voltage and two-way DC/DC converter group carries out operating mode to BOOST converter and cuts
It changes, fixes photovoltaic array flexibly according to the power demand output power of system, compared to traditional by photovoltaic array
Method on MPPT output mode is more flexible, is more able to satisfy the self-sustaining feature of off-network type photovoltaic system energy-autarchic.The control
Method processed is provided with 3 kinds of operating modes, respectively BUCK mode, BOOST mode, excision model to two-way DC/DC converter group,
Controller reasonably switches the operating mode of two-way DC/DC converter according to the working condition of system.Work as photovoltaic array
Two-way DC/DC converter is in BUCK work when the sum of power needed for peak power output is greater than energy storage device charge power and loads
Operation mode makes energy storage device constant-current charge, utilizes solar energy to greatest extent;When photovoltaic array peak power output is less than energy storage
Equipment charge power is in greater than DC/DC converter two-way when loading required power with the sum of required power is loaded and cuts off mould
Formula enables the load to obtain enough energy;Two-way DC/DC when the power needed for photovoltaic array peak power output is less than and loads
Converter, which is in BOOST operating mode, makes energy storage device discharge, and maintains the stabilization of DC bus-bar voltage.Generally speaking, the control
Photovoltaic array and energy storage device can be integrated organically and provide a reliable energy source for load by method, guaranteed
The utilization photovoltaic array received solar energy of maximal efficiency while DC bus stabilization, in spies such as light intensity decreasing, load sudden changes
Controller can make quick adjustment in different situation.
Detailed description of the invention
Fig. 1 is the main circuit diagram of the embodiment of the present invention.
Fig. 2 is the control flow chart of the #1 converter of the embodiment of the present invention.
Fig. 3 is the control flow chart of the #2 converter of the embodiment of the present invention.
Fig. 4 is the control flow chart of the #3 converter of the embodiment of the present invention.
Fig. 5 is the control flow chart of the #4 converter of the embodiment of the present invention.
Fig. 6 is the control flow chart of the #5 converter of the embodiment of the present invention.
Mode of the Fig. 7 between BOOST converter of embodiment of the present invention group and two-way DC/DC converter group coordinates process
Figure.
Fig. 8 is DC bus-bar voltage waveform, pattern switching wave of the embodiment of the present invention when loading variation in PLECS emulation
Shape.
Fig. 9 is BOOST converter output current wave of the embodiment of the present invention when loading variation in PLECS emulation.
Figure 10 is that two-way DC/DC converter of the embodiment of the present invention when loading variation exports current wave in PLECS emulation
Shape.
Figure 11 is energy storage device output current wave of the embodiment of the present invention when loading variation in PLECS emulation.
Figure 12 be PLECS emulation in the embodiment of the present invention intensity of illumination change when DC bus-bar voltage waveform, mode
Switching waveform.
Figure 13 is that BOOST converter of the embodiment of the present invention when intensity of illumination changes exports current wave in PLECS emulation
Shape.
Figure 14 is that two-way DC/DC converter of the embodiment of the present invention when intensity of illumination changes exports electricity in PLECS emulation
Flow waveform.
Figure 15 is energy storage device output current wave of the embodiment of the present invention when intensity of illumination changes in PLECS emulation.
Specific embodiment
Technical solution of the present invention is further illustrated with reference to the accompanying drawing.
As shown in Figure 1, the photovoltaic DC electricity generation system with energy storage device, including 3 photovoltaic arrays, 3 BOOST transformation
Device, 2 energy storage devices, 2 two-way DC/DC converters, an ohmic load, a constant power load, 3 photovoltaic arrays by
54 solar batteries are connected in series, and are respectively designated as the first photovoltaic array, the second photovoltaic array, third photovoltaic array, 3 light
Photovoltaic array is by the way that, again to DC bus injecting power, 3 BOOST converters are respectively designated as #1 after BOOST converter boosting
Converter, #2 converter, #3 converter, and it is classified as BOOST converter group, there are two types of control models for BOOST converter, are respectively
Constant voltage output control model and MPPT control model;2 energy storage devices are respectively designated as the 4th energy storage device and the 5th energy storage is set
Standby, energy storage device has 3 working conditions, is constant-current charge state, excision stand-by state, discharge condition respectively, and energy storage device is equal
It crosses two-way DC/DC converter to be connected with DC bus, 2 two-way DC/DC converters are respectively designated as #4 converter, #5 transformation
Device, and be classified as two-way DC/DC converter group, two-way DC/DC converter there are three types of operating mode, respectively BOOST operating mode,
BUCK operating mode, excision model, when two-way DC/DC converter is in BOOST operating mode, energy storage device is in electric discharge shape
State;When two-way DC/DC converter is in BUCK operating mode, energy storage device is in constant-current charge state, when two-way DC/DC becomes
When parallel operation is in excision model, energy storage device is in excision stand-by state.
Further, the control algolithm of the direct current system can be divided into two layers, wherein the purpose of bottom control be control with
Two-way DC/DC converter group photovoltaic battery array connected BOOST converter group and be connected with energy storage device, top layer control
Purpose is to coordinate BOOST converter group and two-way DC/DC converter group, makes DC bus-bar voltage in intensity of illumination mutation, load
The stabilization of DC bus-bar voltage is able to achieve when mutation.The control period ts of the control algolithm of the system is
0.00005s, therefore primary complete control calculates and needs to complete in 0.00005s, 11 can be obtained by completing a control algolithm
A duty ratio, respectively D1、D2、D3、D4A、D4B、D4C、D4D、D5A、D5B、D5C、D5D, then 11 PWM modules are accounted for according to this 11
Sky is than modulating corresponding pwm signal, respectively PWM1、PWM2、PWM3、PWM4A、PWM4B、PWM4C、PWM4D、PWM5A、
PWM5B、PWM5C、PWM5D, wherein PWM1Signal is for controlling VT in #1 converter1Pipe turns on and off, PWM2Signal is for controlling
VT in #2 converter processed2Pipe turns on and off, PWM3Signal is for controlling VT in #3 converter3Pipe turns on and off,
PWM4A、PWM4B、PWM4C、PWM4DSignal is for controlling VT in #4 converter4A、VT4B、VT4C、VT4DPipe turns on and off,
PWM5A、PWM5B、PWM5C、PWM5DSignal is for controlling VT in #5 converter5A、VT5B、VT5C、VT5DPipe turns on and off.
The bottom control of the direct current system includes two large divisions, the control of BOOST converter group and two-way DC/DC converter
Control, BOOST converter group is there are two types of control model, and there are three types of control models for two-way DC/DC converter, and mode is arranged1For
The operating mode control bit of BOOST converter group, works as mode1When being 1,3 BOOST converters are all made of MPPT control, when
mode1When being 0,3 BOOST converters are all made of constant voltage output control, and mode is arranged2For the work of two-way DC/DC converter group
Scheme control position, works as mode2When being 1, two-way DC/DC converter group is in BUCK operating mode, and energy storage device is filled in constant current
Electricity condition;Work as mode2When being 2, two-way DC/DC converter group is in BOOST operating mode, and energy storage device is in discharge condition;
Work as mode2When being 0, two-way DC/DC converter group is in excision state, the duty of all switching tubes of two-way DC/DC converter
Than being 0, energy storage device is in excision stand-by state.
As shown in Figure 2, Figure 3, Figure 4, work as mode1When being 1, BOOST converter group is in MPPT control model, under the mode
Control calculating can be divided into following steps:
S1, the output voltage V for reading the first photovoltaic array of current control period1, output electric current I1, it is separately stored in
Array A1A1[1], array B1B1[1] in, by the output voltage of a upper control the first photovoltaic array of period, output electric current storage
There are array A1A1[0], array B1B1[0] in, array A1、B1Have and only there are two elements;
S2, the difference DELTA for calculating the output voltage of the first photovoltaic array between current control period and a upper control period
V1, export the difference DELTA I of electric current1;
S3, as Δ V1With Δ I1When being 0, the duty ratio D of #1 converter1It is consistent with a upper control period;As Δ V1For
0 and Δ I1When greater than 0, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one increases Δ d, and Δ d is that duty ratio is micro-
Increment, the present invention set it to 0.0001;As Δ V1The Δ I for 01When less than 0, the duty ratio D of #1 converter1Than upper one
The duty ratio for controlling the period reduces Δ d;As Δ I1/ΔV1=I1/V1When, the duty ratio D of #1 converter1With a upper control period
Unanimously;As Δ I1/ΔV1>I1/V1When, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one reduces Δ d;Work as Δ
I1/ΔV1<I1/V1When, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one increases Δ d;
S4, judge se=0 and Vbus>VrefWhether two conditions are set up simultaneously, and wherein se is the control of BOOST converter group
Enable bit, when se is 0, BOOST converter group can be in two kinds of control moulds of MPPT control model and constant voltage output control model
Freely switch between formula, when se is 1, BOOST converter group is locked under MPPT control model, VbusFor bus voltage value,
VrefFor busbar voltage reference value, after two conditions meet simultaneously, for m from adding, m is counting variable.Then judge whether m is greater than
100, when m is greater than 100, by mode1It is assigned a value of 0, the operating mode of converter group is made to be switched to constant voltage output control model, and
M is reset;
S5, the output voltage V for reading the second photovoltaic array of current control period2, output electric current I2, it is separately stored in
Array A2A2[1], array B2B2[1] in, by the output voltage of a upper control the second photovoltaic array of period, output electric current storage
There are array A2A2[0], array B2B2[0] in.Array A2、B2Have and only there are two elements;
S6, the difference DELTA for calculating the output voltage of the second photovoltaic array between current control period and a upper control period
V2, export the difference DELTA I of electric current2;
S7, as Δ V2With Δ I2When being 0, the duty ratio D of #2 converter2It is consistent with a upper control period;As Δ V2For
0 and Δ I2When greater than 0, the duty ratio D of #2 converter2The duty ratio that the period is controlled than upper one increases Δ d;As Δ V2The Δ for 0
I2When less than 0, the duty ratio D of #2 converter2The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I2/ΔV2=I2/V2
When, the duty ratio D of #2 converter2It is consistent with a upper control period;As Δ I2/ΔV2>I2/V2When, the duty ratio of #2 converter
D2The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I2/ΔV2<I2/V2When, the duty ratio D of #1 converter2Than upper one
The duty ratio in a control period increases Δ d;
S8, the output voltage V for reading current control period third photovoltaic array3, output electric current I3, it is separately stored in
Array A3A3[1], array B3B3[1] in, by the output voltage of upper control period third photovoltaic array, output electric current storage
There are array A3A3[0], array B3B3[0] in.Array A3、B3Have and only there are two elements;
S9, the difference DELTA for calculating the output voltage of third photovoltaic array between current control period and a upper control period
V3, export the difference DELTA I of electric current3;
S10, as Δ V3With Δ I3When being 0, the duty ratio D of #3 converter3It is consistent with a upper control period;As Δ V3
The Δ I for 03When greater than 0, the duty ratio D of #3 converter3The duty ratio that the period is controlled than upper one increases Δ d;As Δ V3For 0
ΔI3When less than 0, the duty ratio D of #3 converter3The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I3/ΔV3=I3/
V3When, the duty ratio D of #3 converter3It is consistent with a upper control period;As Δ I3/ΔV3>I3/V3When, the duty of #3 converter
Compare D3The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I3/ΔV3<I3/V3When, the duty ratio D of #3 converter3Than upper
The duty ratio in one control period increases Δ d.
As shown in Figure 2, Figure 3, Figure 4, work as mode1When being 0, BOOST converter group is in constant voltage output control model, the mould
Control calculating under formula can be divided into following steps:
S11, busbar voltage reference value V is calculatedrefWith bus voltage value VbusDifference, and difference is assigned in1[1]。in1
The in of array1That [1] store is the control margin of error of current control period, in1[0] storage is upper one control for controlling the period
The margin of error, out1The out of array1That [1] store is the PI control result of current control period, out1[0] storage is a upper control
The PI control result in period processed;
S12, PI control operation is carried out, by the control margin of error in of current control period1[1], the control in a upper control period
Margin of error in processed1[0], the PI control result out in a upper control period1[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period1[1];
S13, to PI control result out1[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To the duty ratio D of #1 converter1;
S14, judge Vbus<VrefWhether -3 and se is true equal to 0 the two conditions, as long as any one in two conditions
Part is set up, just by mode11 is set, converter group is switched to MPPT control model;
S15, the output electric current I for calculating #1 converter1The output electric current I of _ out and #2 converter2The difference of _ out, and will
Difference is assigned in2[1], in2The in of array2That [1] store is the control margin of error of current control period, in2[0] storage is
The control margin of error in a upper control period, out2The out of array2[1] what is stored is the PI control result of current control period,
out2[0] storage is the upper one PI control result for controlling the period;
S16, PI control operation is carried out, by the control margin of error in of current control period2[1], the control in a upper control period
Margin of error in processed2[0], the PI control result out in a upper control period2[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period2[1];
S17, to PI control result out2[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To the duty ratio D of #2 converter2;
S18, the output electric current I for calculating #3 converter1The output electric current I of _ out and #3 converter3The difference of _ out, and will
Difference is assigned in3[1], in3The in of array3That [1] store is the control margin of error of current control period, in3[0] storage is
The control margin of error in a upper control period, out3The out of array3[1] what is stored is the PI control result of current control period,
out3[0] storage is the upper one PI control result for controlling the period;
S19, PI control operation is carried out, by the control margin of error in of current control period3[1], the control in a upper control period
Margin of error in processed3[0], the PI control result out in a upper control period3[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period3[1];
S20, to PI control result out3[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To the duty ratio D of #3 converter3。
As shown in Figure 5, Figure 6, work as mode2When being 1, #4 converter and #5 converter are in BUCK operating mode, the mode
Under control calculating can be divided into following steps:
S21, due to charging when, the direction of inductive current and the positive direction of setting are on the contrary, so need inductance L4a、L4b
In the electric current I that flows through4a、I4bIt negates;
S22, I is calculatedR_in/ 2 and I4aDifference, and difference is assigned in4[1], I is calculatedR_in/ 2 and I4bDifference, and will
Difference is assigned in5[1], IR_inFor the charging current reference value of energy storage device, in4The in of array4[1] storage is currently to control
The control margin of error in period, in4[0] that storage is the upper one control margin of error for controlling the period, out4The out of array4[1] it stores
Be current control period PI control result, out4[0] that storage is the upper one PI control result for controlling the period, in5Array
in5That [1] store is the control margin of error of current control period, in5[0] storage is the upper one control margin of error for controlling the period,
out5The out of array5That [1] store is the PI control result of current control period, out5[0] storage was a upper control period
PI control result;
S23, PI control operation is carried out, by the control margin of error in of current control period4[1], the control in a upper control period
Margin of error in processed4[0], the PI control result out in a upper control period4[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period4[1], by the control margin of error in of current control period5[1], a upper control period
Control margin of error in5[0], the PI control result out in a upper control period5[0] the discrete computing expression formula of PI control is substituted into,
Obtain the PI control result out of current control period5[1];
S24, to PI control result out4[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #4 converter4AThe duty ratio D of pipe4A, to PI control result out5[1] clipping is carried out, is limited between zero and one, and
Result after clipping is assigned to VT in #4 converter4BThe duty ratio D of pipe4B, VT in #4 converter4CThe duty ratio D of pipe4C, #4 transformation
VT in device4DThe duty ratio D of pipe4DIt is assigned a value of 0;
S25, due to charging when, the direction of inductive current and the positive direction of setting are on the contrary, so need inductance L5a、L5b
In the electric current I that flows through5a、I5bIt negates;
S26, I is calculatedR_in/ 2 and I5aDifference, and difference is assigned in9[1], I is calculatedR_in/ 2 and I5bDifference, and will
Difference is assigned in10[1], in9The in of array9That [1] store is the control margin of error of current control period, in9[0] storage is
The control margin of error in a upper control period, out9The out of array9[1] what is stored is the PI control result of current control period,
out9[0] that storage is the upper one PI control result for controlling the period, in10The in of array10[1] storage is current control period
Control the margin of error, in10[0] that storage is the upper one control margin of error for controlling the period, out10The out of array10[1] storage is
The PI control result of current control period, out10[0] storage is the upper one PI control result for controlling the period;
S27, PI control operation is carried out, by the control margin of error in of current control period9[1], the control in a upper control period
Margin of error in processed9[0], the PI control result out in a upper control period9[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period9[1], by the control margin of error in of current control period10[1], a upper control period
Control margin of error in10[0], the PI control result out in a upper control period10[0] the discrete computing expression of PI control is substituted into
Formula obtains the PI control result out of current control period10[1];
S28, to PI control result out9[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #5 converter5AThe duty ratio D of pipe5A, to PI control result out10[1] clipping is carried out, is limited between zero and one,
And the result after clipping is assigned to VT in #5 converter5BThe duty ratio D of pipe5B, VT in #5 converter5CThe duty ratio D of pipe5C, #5 become
VT in parallel operation5DThe duty ratio D of pipe5DIt is assigned a value of 0.
As shown in Figure 5, Figure 6, work as mode2When being 2, #4 converter and #5 converter are in BOOST operating mode, the mode
Under control calculating can be divided into following steps:
S29, busbar voltage reference value V is calculatedrefWith bus voltage value VbusDifference, and difference is assigned in6[1], in6
The in of array6That [1] store is the control margin of error of current control period, in6[0] storage is upper one control for controlling the period
The margin of error, out6The out of array6That [1] store is the PI control result of current control period, out6[0] storage is a upper control
The PI control result in period processed;
S30, PI control operation is carried out, by the control margin of error in of current control period6[1], the control in a upper control period
Margin of error in processed6[0], the PI control result out in a upper control period6[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period6[1];
S31, by out6[1] it is assigned to IR_out4, IR_out4For the output current reference value of energy storage device;
S32, I is calculatedR_out4/ 2 and I4aDifference, and difference is assigned in7[1], I is calculatedR_out4/ 2 and I4bDifference, and
Difference is assigned in8[1], IR_out4For the output current reference value of energy storage device.In7The in of array7[1] storage is currently to control
The control margin of error in period processed, in7[0] that storage is the upper one control margin of error for controlling the period, out7The out of array7[1] it stores up
That deposit is the PI control result of current control period, out7[0] that storage is the upper one PI control result for controlling the period, in8Array
In8That [1] store is the control margin of error of current control period, in8[0] storage is the upper one control error for controlling the period
Amount, out8The out of array8That [1] store is the PI control result of current control period, out8[0] storage was upper control week
The PI control result of phase;
S33, PI control operation is carried out, by the control margin of error in of current control period7[1], the control in a upper control period
Margin of error in processed7[0], the PI control result out in a upper control period7[0] the discrete computing expression formula for substituting into PI control, obtains
The PI control result out of current control period7[1], by the control margin of error in of current control period8[1], a upper control period
Control margin of error in8[0], the PI control result out in a upper control period8[0] the discrete computing expression formula of PI control is substituted into,
Obtain the PI control result out of current control period8[1];
S34, to PI control result out7[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #4 converter4CThe duty ratio D of pipe4C, to PI control result out8[1] clipping is carried out, is limited between zero and one, and
Result after clipping is assigned to VT in #4 converter4DThe duty ratio D of pipe4D, VT in #4 converter4AThe duty ratio D of pipe4A, #4 transformation
VT in device4BThe duty ratio D of pipe4BIt is assigned a value of 0;
S35, #4 converter output electric current I is calculated4_Out and #5 converter export electric current I5_The difference of out, and by difference
It is assigned in11[1], in11The in of array11That [1] store is the control margin of error of current control period, in11[0] storage be on
The control margin of error in one control period, out11The out of array11[1] what is stored is the PI control result of current control period,
out11[0] storage is the upper one PI control result for controlling the period;
S36, PI control operation is carried out, by the control margin of error in of current control period11[1], the control in a upper control period
Margin of error in processed11[0], the PI control result out in a upper control period11[0] the discrete computing expression formula for substituting into PI control, obtains
To the PI control result out of current control period11[1];
S37, by I4It is superimposed with out11[1] I is obtainedR_out5, IR_out5For the output current reference value of the 5th energy storage device;
S38, I is calculatedR_out5/ 2 and I5aDifference, and difference is assigned in12[1], I is calculatedR_out5/ 2 and I5bDifference,
And difference is assigned in13[1], IR_out5For the output current reference value of the 5th energy storage device, in12The in of array12[1] it stores
It is the control margin of error of current control period, in12[0] that storage is the upper one control margin of error for controlling the period, out12Array
out12That [1] store is the PI control result of current control period, out12[0] storage is the upper one PI control for controlling the period
As a result, in13The in of array13That [1] store is the control margin of error of current control period, in13[0] storage is a upper control
The control margin of error in period, out13The out of array13That [1] store is the PI control result of current control period, out13[0] it stores up
What is deposited was the PI control result in a upper control period;
S39, PI control operation is carried out, by the control margin of error in of current control period12[1], the control in a upper control period
Margin of error in processed12[0], the PI control result out in a upper control period12[0] the discrete computing expression formula for substituting into PI control, obtains
To the PI control result out of current control period12[1], by the control margin of error in of current control period13[1], a upper control
The control margin of error in period13[0], the PI control result out in a upper control period13[0] the discrete computing table of PI control is substituted into
Up to formula, the PI control result out of current control period is obtained13[1];
S40, to PI control result out12[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned
To VT in #5 converter5CThe duty ratio D of pipe5C, to PI control result out13[1] clipping is carried out, is limited between zero and one,
And the result after clipping is assigned to VT in #5 converter5DThe duty ratio D of pipe5D, VT in #5 converter5AThe duty ratio D of pipe5A, #5 become
VT in parallel operation5BThe duty ratio D of pipe5BIt is assigned a value of 0.
Further, BOOST converter group is at MPPT operating mode, two-way DC/DC converter when system starts
In BUCK operating mode, energy storage device charging.If the peak power output of photovoltaic array is greater than charge required power and load institute
The sum of power is needed, DC bus-bar voltage will be higher than busbar voltage reference value after starting a period of time, at this moment BOOST converter group
Controller will automatically switch to constant voltage output control, make photovoltaic array output with charge needed for power and load needed for power
The sum of equal power, to guarantee that DC bus-bar voltage is consistent with busbar voltage reference value.If the maximum output of photovoltaic array
Power is less than charge the sum of required power and power needed for load, but is greater than the required power of load, then needs to cut off two-way DC/DC
Converter group;If the peak power output of photovoltaic array, which is less than, loads required power, two-way DC/DC converter is needed to be in
BOOST operating mode, energy storage device electric discharge, while photovoltaic array needs to be constantly in MPPT operating mode.
Size relation between power needed for power, charging as needed for can not directly compare peak power output and load,
So control model can only be carried out to BOOST converter group and two-way DC/DC converter group by the judgement of other conditions
Switching, to guarantee that DC bus-bar voltage is consistent with busbar voltage reference value.
As shown in fig. 7, the mode of BOOST converter group and two-way DC/DC converter group coordinate the following steps are included:
S41, judge mode1=1, mode2=1, Vbus<VrefWhether three conditions are set up simultaneously, if set up simultaneously,
By the variable x for being used to count from adding, S43 is otherwise skipped to;
Whether the x of S42, judgement from after adding is greater than 2000, if it is greater than 2000, then by mode2It is assigned a value of 0, disconnects switch
S4, S5 make energy storage device be in excision stand-by state, and x are reset;
S43, judge mode1=1, mode2=0, Vbus<VrefWhether three conditions are set up simultaneously, if set up simultaneously,
By the variable y for being used to count from adding, S45 is otherwise skipped to;
Whether the y of S44, judgement from after adding is greater than 2000, if it is greater than 2000, then by mode22 are assigned a value of, and is closed and opens
S4, S5 are closed, so that energy storage device is in discharge condition, and y is reset;
S45, end mode coordinated control.
In order to verify the feasibility of proposed control algolithm, built in PLECS simulated environment and circuit shown in Fig. 1
Consistent simulation model.Busbar voltage reference value is set to 72V always, and charging current reference value when energy storage device charges is
2A.Circuit element design parameter is as shown in table 1, table 2, table 3.3 photovoltaic arrays are connected by 54 photovoltaic cells.3
The intensity for the light that photovoltaic array receives is identical.Two energy storage devices are reduced to the voltage source and 0.5 that voltage value is 50V
The concatenated equivalent model of the resistance of Ω.
Element names | L1 | L2 | L3 | L4A | L4B | L5A | L5B |
Inductance value | 2mH | 2mH | 2mH | 3mH | 3mH | 3mH | 3mH |
Table 1
Element names | C1 | C2 | C3 | C4A | C4B | C5A | C5B |
Capacitance | 1880μF | 1880μF | 1880μF | 1880μF | 1880μF | 1880μF | 1880μF |
Table 2
Element names | r1 | r2 | r3 | r4 | r5 |
Resistance value | 0.2Ω | 0.7Ω | 1.2Ω | 0.5Ω | 1Ω |
Table 3
In order to verify the validity of proposed control strategy, it is prominent that load has been carried out in the PLECS simulation model built
So increase the emulation of situation.Simulated conditions are as follows: intensity of illumination is always 1000 luxs, and ohmic load R is 30 Ω, switch S6
Entire simulation process is closure, so resistance R whole process is in access state.0~1.5s switch S7 is disconnected, and 1.5s is opened later
It closes S7 and is in closed state, so constant power load is in access state after 1.5s.Needed for 1.5~2.5s constant power load
Power is 300W, and power needed for constant power load is 500W after 2.5s.Under the simulated conditions, obtain such as Fig. 8, Fig. 9, figure
10, simulation result shown in Figure 11.
As shown in figure 8, under BOOST converter is in constant voltage output control model before constant power load accesses, it is two-way
DC/DC converter is under BUCK operating mode, and energy storage device is under charged state, and DC bus-bar voltage is stablized in 72V.t1
The access of moment (1.5s) constant power load, DC bus-bar voltage start to fall, and arrive t2Moment controller detects DC bus electricity
Press it is 3V also fewer than busbar voltage reference value, so controller automatically by the control mode switch of BOOST converter extremely
MPPT control model.But the sum of power needed for the maximum power exported as photovoltaic array is less than all loads, busbar voltage according to
So dropping.Meet mode simultaneously at this time1=1, mode2=1, Vbus<VrefThree conditions, x are started counting.t3The value of moment x is big
In 2000, controller has cut off two-way DC/DC converter, and energy storage device stops charging.Cut off bus after two-way DC/DC converter
Voltage starts to rise rapidly, and busbar voltage has been greater than busbar voltage reference value quickly, and m is started counting, t4The value of moment m is greater than
100, the control mode switch of BOOST converter group is constant voltage output control model by controller.DC bus-bar voltage gradually under
Drop is finally controlled in busbar voltage reference value.t5Power needed for moment (2.5s) constant power load increases to 500W by 300W,
DC bus-bar voltage gradually falls, and arrives t6Moment controller detect DC bus-bar voltage than busbar voltage reference value also than
Few 3V, so controller is automatically by the control mode switch of BOOST converter to MPPT control model.But since photovoltaic array is defeated
The sum of power needed for maximum power out is less than all loads, busbar voltage is still dropping.Meet mode simultaneously at this time1=1,
mode2=0, Vbus<VrefThree conditions, y are started counting.t7The value of moment y is greater than 2000, and controller has accessed two-way DC/ again
DC converter, and be at BOOST operating mode, energy storage device are in discharge condition by two-way DC/DC converter to straight
Flow bus injecting power.Controller forces BOOST converter group in MPPT control model by the way that se is set 1 at this time.?
Under the adjusting of controller, DC bus-bar voltage is about stabilized in setting reference value after 3.1s.
The waveform of the output electric current of three BOOST converters is as shown in figure 9, although 3 BOOST converters and DC bus
Between line resistance it is different, but when BOOST converter group is using constant voltage output control model and reaching stable state, it
Output electric current be it is essentially equal, stream precision it is higher.t6The MPPT that BOOST converter uses after moment controls mould
Formula, thus the power of three photovoltaic arrays output be it is identical, output power can be depleted a part on line resistance, route
Resistance is bigger, is lost also bigger.Therefore the output electric current of #1 converter is greater than the output electric current of #2 converter, #2 transformation after 3s
The output electric current of device is greater than the output electric current of #3 converter.
The output electric current of two-way DC/DC converter is as shown in Figure 10.t3Two-way DC/DC converter is in BUCK before moment
Operating mode, energy storage device is in charged state, therefore input current is negative value;t3To t7Between, two-way DC/DC converter quilt
Excision, input current 0;t7Two-way DC/DC converter is accessed again and in BOOST operating mode, energy storage after moment
Equipment is in discharge condition, therefore exporting electric current is positive value.The output electric current of two converters of whole process is identical, causes
Current waveform essentially coincides.
The output electric current of energy storage device is as shown in figure 11.t3Energy storage device is in charged state before moment, therefore inputs
Electric current is negative value, and and control in given current reference value 2A, control precision is higher;t3To t7Between, energy storage device is in spare
State, input current 0;t7Energy storage device is in discharge condition after moment, therefore exporting electric current is positive value.
The emulation of light intensity decreasing situation has been carried out in the PLECS simulation model built.Simulated conditions are as follows: ohmic load
R is 17 Ω, and the entire simulation process of switch S6 is closure, so resistance R whole process is in access state, switch S7 is in always
Off-state.0~1.5s intensity of illumination is always 1000 luxs, and 1.5s~2.5s intensity of illumination is 600 luxs, 2.5s with
Intensity of illumination is 300 luxs afterwards.Under the simulated conditions, obtain such as Figure 12, Figure 13, Figure 14, emulation shown in figure 15 knot
Fruit.
As shown in figure 12, under BOOST converter is in constant voltage output control model before the 1.5s, two-way DC/DC transformation
Device is under BUCK operating mode, and energy storage device is under charged state, and DC bus-bar voltage is stablized in 72V.t8Moment
(1.5s) intensity of illumination becomes 600 luxs, and DC bus-bar voltage starts to fall, and arrives t9Moment controller detects DC bus
Voltage is 3V also fewer than busbar voltage reference value, thus controller automatically by the control mode switch of BOOST converter extremely
MPPT control model.But the sum of power needed for the maximum power exported as photovoltaic array is less than all loads, busbar voltage according to
So dropping.Meet mode simultaneously at this time1=1, mode2=1, Vbus<VrefThree conditions, x are started counting.t10The value of moment x
Greater than 2000, controller has cut off two-way DC/DC converter, and energy storage device stops charging.Cut off two-way DC/DC converter stepmother
Line voltage starts to rise rapidly, and busbar voltage has been greater than busbar voltage reference value quickly, and m is started counting, t11The value of moment m is greater than
100, the control mode switch of BOOST converter group is constant voltage output control model by controller.DC bus-bar voltage gradually under
Drop is finally controlled in busbar voltage reference value.t12Moment (2.5s) intensity of illumination becomes 300 luxs, DC bus-bar voltage by
Step is fallen, and t is arrived13Moment controller detects that DC bus-bar voltage is 3V also fewer than busbar voltage reference value, so control
Device is automatically by the control mode switch of BOOST converter to MPPT control model.But due to the maximum power of photovoltaic array output
Less than the sum of power needed for all loads, busbar voltage is still dropping.Meet mode simultaneously at this time1=1, mode2=0, Vbus<
VrefThree conditions, y are started counting.t7The value of moment y is greater than 2000, and controller has accessed two-way DC/DC converter again, and
It is at BOOST operating mode, energy storage device is in discharge condition and injects function to DC bus by two-way DC/DC converter
Rate.Controller forces BOOST converter group in MPPT control model by the way that se is set 1 at this time.In the adjusting of controller
Under, DC bus-bar voltage is about stabilized in setting reference value in 2.8s.
The waveform of the output electric current of three BOOST converters is as shown in figure 13, although 3 BOOST converters and direct current are female
Line resistance between line is different, but works as BOOST converter group using constant voltage output control model and reach stable state,
Their output electric current be it is essentially equal, stream precision it is higher.
The output electric current of two-way DC/DC converter is as shown in figure 14.t10Two-way DC/DC converter is in BUCK before moment
Operating mode, energy storage device is in charged state, therefore input current is negative value;t10To t14Between, two-way DC/DC converter
It is removed, input current 0;t14Two-way DC/DC converter is accessed again and in BOOST operating mode, storage after moment
Energy equipment is in discharge condition, therefore exporting electric current is positive value.
The output electric current of energy storage device is as shown in figure 15.t10Energy storage device is in charged state before moment, therefore inputs
Electric current is negative value, and and control in given current reference value 2A, control precision is higher;t10To t14Between, energy storage device is in standby
With state, input current 0;t7Energy storage device is in discharge condition after moment, therefore exporting electric current is positive value.
The above simulation result absolutely proves that control method proposed by the present invention can have photovoltaic array and energy storage device
Integrating for machine provides a reliable energy source for load, the benefit of maximal efficiency while guaranteeing that DC bus is stablized
With the received solar energy of photovoltaic array, in light intensity decreasing, load sudden change etc., controller can make quick tune in special circumstances
The whole stabilization to guarantee DC bus-bar voltage.
Those of ordinary skill in the art will understand that the embodiments described herein, which is to help reader, understands this hair
Bright principle, it should be understood that protection scope of the present invention is not limited to such specific embodiments and embodiments.This field
Those of ordinary skill can according to the present invention disclosed the technical disclosures make it is various do not depart from essence of the invention other are each
Kind specific variations and combinations, these variations and combinations are still within protection scope of the present invention.
Claims (9)
1. a kind of photovoltaic DC electricity generation system with energy storage device, which is characterized in that become including 3 photovoltaic arrays, 3 BOOST
Parallel operation, 2 energy storage devices, 2 two-way DC/DC converters, an ohmic load, a constant power load, 3 photovoltaic arrays are equal
It is connected in series by 54 solar batteries, is respectively designated as the first photovoltaic array, the second photovoltaic array, third photovoltaic array, 3
Photovoltaic array is by the way that, again to DC bus injecting power, 3 BOOST converters are respectively designated as # after BOOST converter boosting
1 converter, #2 converter, #3 converter, and it is classified as BOOST converter group, there are two types of control models for BOOST converter, respectively
It is constant voltage output control model and MPPT control model;2 energy storage devices are respectively designated as the 4th energy storage device and the 5th energy storage
Equipment, energy storage device have 3 working conditions, are constant-current charge state, excision stand-by state, discharge condition, energy storage device respectively
It crosses two-way DC/DC converter to be connected with DC bus, 2 two-way DC/DC converters are respectively designated as #4 converter, #5 transformation
Device, and be classified as two-way DC/DC converter group, two-way DC/DC converter there are three types of operating mode, respectively BOOST operating mode,
BUCK operating mode, excision model, when two-way DC/DC converter is in BOOST operating mode, energy storage device is in electric discharge shape
State;When two-way DC/DC converter is in BUCK operating mode, energy storage device is in constant-current charge state, when two-way DC/DC becomes
When parallel operation is in excision model, energy storage device is in excision stand-by state.
2. the control method of the photovoltaic DC electricity generation system with energy storage device, which is characterized in that be divided into two layers, indsole
The purpose of layer is that the control BOOST converter group being connected with photovoltaic battery array and the two-way DC/DC being connected with energy storage device become
Parallel operation group, the purpose of top layer are to coordinate BOOST converter group and two-way DC/DC converter group, make DC bus-bar voltage in illumination
The stabilization of DC bus-bar voltage, the control week of the control algolithm of the system are able to achieve when Intensity Abrupt, load sudden change
Phase ts is 0.00005s, therefore primary complete control calculates and needs to complete in 0.00005s, completes a control algolithm meeting
Obtain 11 duty ratios, respectively D1、D2、D3、D4A、D4B、D4C、D4D、D5A、D5B、D5C、D5D, then 11 PWM modules are according to this
11 duty ratio modulations go out corresponding pwm signal, respectively PWM1、PWM2、PWM3、PWM4A、PWM4B、PWM4C、PWM4D、
PWM5A、PWM5B、PWM5C、PWM5D, wherein PWM1Signal is for controlling VT in #1 converter1Pipe turns on and off, PWM2Signal
For controlling VT in #2 converter2Pipe turns on and off, PWM3Signal is for controlling VT in #3 converter3Pipe being opened and closing
It is disconnected, PWM4A、PWM4B、PWM4C、PWM4DSignal is for controlling VT in #4 converter4A、VT4B、VT4C、VT4DPipe turns on and off,
PWM5A、PWM5B、PWM5C、PWM5DSignal is for controlling VT in #5 converter5A、VT5B、VT5C、VT5DPipe turns on and off.
3. the control method of the photovoltaic DC electricity generation system according to claim 2 with energy storage device, which is characterized in that it
Bottom control include two large divisions, the control of BOOST converter group and the control of two-way DC/DC converter, BOOST converter
Group is there are two types of control model, and there are three types of control models for two-way DC/DC converter, and mode is arranged1For the work of BOOST converter group
Scheme control position, works as mode1When being 1,3 BOOST converters are all made of MPPT control, work as mode1When being 0,3 BOOST transformation
Device is all made of constant voltage output control, and mode is arranged2For the operating mode control bit of two-way DC/DC converter group, work as mode2It is 1
When, two-way DC/DC converter group is in BUCK operating mode, and energy storage device is in constant-current charge state;Work as mode2It is double when being 2
It is in BOOST operating mode to DC/DC converter group, energy storage device is in discharge condition;Work as mode2When being 0, two-way DC/DC
Converter group is in excision state, and energy storage device is in excision stand-by state.
4. the control method of the photovoltaic DC electricity generation system according to claim 3 with energy storage device, which is characterized in that when
mode1When being 1, BOOST converter group is controlled using MPPT, and MPPT control can divide in the control controlled in the period a calculating
For following steps:
S1, the output voltage V for reading the first photovoltaic array of current control period1, output electric current I1;
S2, the output voltage difference DELTA V for calculating the first photovoltaic array between current control period and a upper control period1, output electricity
The difference DELTA I of stream1;
S3, as Δ V1With Δ I1When being 0, the duty ratio D of #1 converter1It is consistent with a upper control period;As Δ V1The Δ for 0
I1When greater than 0, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one increases Δ d, and Δ d is duty ratio Tiny increment dt,
The present invention sets it to 0.0001;As Δ V1The Δ I for 01When less than 0, the duty ratio D of #1 converter1Than upper control week
The duty ratio of phase reduces Δ d;As Δ I1/ΔV1=I1/V1When, the duty ratio D of #1 converter1It is consistent with a upper control period;
As Δ I1/ΔV1>I1/V1When, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I1/Δ
V1<I1/V1When, the duty ratio D of #1 converter1The duty ratio that the period is controlled than upper one increases Δ d;
S4, judge se=0 and Vbus>VrefWhether two conditions are set up simultaneously, and wherein se is that the control of BOOST converter group is enabled
Position, when se is 0, BOOST converter group can be between two kinds of control models of MPPT control model and constant voltage output control model
Free switching, when se is 1, BOOST converter group is locked under MPPT control model, VbusFor bus voltage value, Vref
For busbar voltage reference value, after two conditions meet simultaneously, for m from adding, m is counting variable, then judges whether m is greater than 100,
When m is greater than 100, by mode1It is assigned a value of 0, the operating mode of converter group is made to be switched to constant voltage output control model, and by m
It resets;
S5, the output voltage V for reading the second photovoltaic array of current control period2, output electric current I2;
S6, the output voltage difference DELTA V for calculating the second photovoltaic array between current control period and a upper control period2, output electricity
The difference DELTA I of stream2;
S7, as Δ V2With Δ I2When being 0, the duty ratio D of #2 converter2It is consistent with a upper control period;As Δ V2The Δ for 0
I2When greater than 0, the duty ratio D of #2 converter2The duty ratio that the period is controlled than upper one increases Δ d;As Δ V2The Δ I for 02It is small
When 0, the duty ratio D of #2 converter2The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I2/ΔV2=I2/V2When, #2
The duty ratio D of converter2It is consistent with a upper control period;As Δ I2/ΔV2>I2/V2When, the duty ratio D of #2 converter2Than upper
The duty ratio in one control period reduces Δ d;As Δ I2/ΔV2<I2/V2When, the duty ratio D of #1 converter2It is controlled than upper one
The duty ratio in period increases Δ d;
S8, the output voltage V for reading current control period third photovoltaic array3, output electric current I3;
S9, the output voltage difference DELTA V for calculating third photovoltaic array between current control period and a upper control period3, output electricity
The difference DELTA I of stream3;
S10, as Δ V3With Δ I3When being 0, the duty ratio D of #3 converter3It is consistent with a upper control period;As Δ V3For 0
ΔI3When greater than 0, the duty ratio D of #3 converter3The duty ratio that the period is controlled than upper one increases Δ d;As Δ V3The Δ I for 03
When less than 0, the duty ratio D of #3 converter3The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I3/ΔV3=I3/V3
When, the duty ratio D of #3 converter3It is consistent with a upper control period;As Δ I3/ΔV3>I3/V3When, the duty ratio of #3 converter
D3The duty ratio that the period is controlled than upper one reduces Δ d;As Δ I3/ΔV3<I3/V3When, the duty ratio D of #3 converter3Than upper one
The duty ratio in a control period increases Δ d.
5. the control method of the photovoltaic DC electricity generation system according to claim 3 with energy storage device, which is characterized in that when
mode1When being 0, BOOST converter group is controlled using constant voltage output, the control meter that constant voltage output control controls in the period at one
Calculation can be divided into following steps:
S11, busbar voltage reference value V is calculatedrefWith bus voltage value VbusDifference, and difference is assigned in1[1], in1Array
In1That [1] store is the control margin of error of current control period, in1[0] storage is the upper one control error for controlling the period
Amount, out1The out of array1That [1] store is the PI control result of current control period, out1[0] storage was upper control week
The PI control result of phase;
S12, PI control operation is carried out, by the control margin of error in of current control period1[1], the control error in a upper control period
Measure in1[0], the PI control result out in a upper control period1[0] the discrete computing expression formula (1) for substituting into PI control obtains current
Control the PI control result out in period1[1];
S13, to PI control result out1[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #1
The duty ratio D of converter1;
S14, judge Vbus<Vref- 3 and se be equal to 0 the two conditions it is whether true, as long as in two conditions any one condition at
It is vertical, just by mode11 is set, converter group is switched to MPPT control model;
S15, the output electric current I for calculating #1 converter1The output electric current I of _ out and #2 converter2The difference of _ out, and by difference
It is assigned in2[1], in2The in of array2That [1] store is the control margin of error of current control period, in2[0] storage is upper one
Control the control margin of error in period, out2The out of array2That [1] store is the PI control result of current control period, out2[0]
Storage is the upper one PI control result for controlling the period;
S16, PI control operation is carried out, by the control margin of error in of current control period2[1], the control error in a upper control period
Measure in2[0], the PI control result out in a upper control period2[0] the discrete computing expression formula (2) for substituting into PI control obtains current
Control the PI control result out in period2[1];
S17, to PI control result out2[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #2
The duty ratio D of converter2;
S18, the output electric current I for calculating #3 converter1The output electric current I of _ out and #3 converter3The difference of _ out, and by difference
It is assigned in3[1], in3The in of array3That [1] store is the control margin of error of current control period, in3[0] storage is upper one
Control the control margin of error in period, out3The out of array3That [1] store is the PI control result of current control period, out3[0]
Storage is the upper one PI control result for controlling the period;
S19, third time PI control operation is carried out, by the control margin of error in of current control period3[1], the control in a upper control period
Margin of error in processed3[0], the PI control result out in a upper control period3[0] the discrete computing expression formula (3) for substituting into PI control, obtains
To the PI control result out of current control period3[1];
S20, to PI control result out3[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #3
The duty ratio D of converter3。
6. the control method of the photovoltaic DC electricity generation system according to claim 3 with energy storage device, which is characterized in that when
mode2When being 1, two-way DC/DC converter group is in BUCK operating mode, in the control that one controls in the period under the operating mode
System, which calculates, to be divided into following steps:
S21, due to charging when, the direction of inductive current and the positive direction of setting are on the contrary, so need inductance L4a、L4bIn flow through
Electric current I4a、I4bIt negates;
S22, I is calculatedR_in/ 2 and I4aDifference, and difference is assigned in4[1], I is calculatedR_in/ 2 and I4bDifference, and by difference
It is assigned in5[1], IR_inFor the charging current reference value of energy storage device, in4The in of array4[1] storage is current control period
The control margin of error, in4[0] that storage is the upper one control margin of error for controlling the period, out4The out of array4[1] storage is
The PI control result of current control period, out4[0] that storage is the upper one PI control result for controlling the period, in5The in of array5
That [1] store is the control margin of error of current control period, in5[0] storage is the upper one control margin of error for controlling the period,
out5The out of array5That [1] store is the PI control result of current control period, out5[0] storage was a upper control period
PI control result;
S23, PI control operation is carried out, by the control margin of error in of current control period4[1], the control error in a upper control period
Measure in4[0], the PI control result out in a upper control period4[0] the discrete computing expression formula (4) for substituting into PI control obtains current
Control the PI control result out in period4[1], by the control margin of error in of current control period5[1], the control in a upper control period
Margin of error in processed5[0], the PI control result out in a upper control period5[0] the discrete computing expression formula (5) for substituting into PI control, obtains
To the PI control result out of current control period5[1];
S24, to PI control result out4[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #4
VT in converter4AThe duty ratio D of pipe4A, to PI control result out5[1] clipping is carried out, is limited between zero and one, and will limit
Result after width is assigned to VT in #4 converter4BThe duty ratio D of pipe4B, VT in #4 converter4CThe duty ratio D of pipe4C, in #4 converter
VT4DThe duty ratio D of pipe4DIt is assigned a value of 0;
S25, due to charging when, the direction of inductive current and the positive direction of setting are on the contrary, so need inductance L5a、L5bIn flow through
Electric current I5a、I5bIt negates;
S26, I is calculatedR_in/ 2 and I5aDifference, and difference is assigned in9[1], I is calculatedR_in/ 2 and I5bDifference, and by difference
It is assigned in10[1], in9The in of array9That [1] store is the control margin of error of current control period, in9[0] storage is upper one
Control the control margin of error in period, out9The out of array9That [1] store is the PI control result of current control period, out9[0]
Storage is the upper one PI control result for controlling the period, in10The in of array10[1] what is stored is the control mistake of current control period
Residual quantity, in10[0] that storage is the upper one control margin of error for controlling the period, out10The out of array10[1] storage is currently to control
The PI control result in period processed, out10[0] storage is the upper one PI control result for controlling the period;
S27, PI control operation is carried out, by the control margin of error in of current control period9[1], the control error in a upper control period
Measure in9[0], the PI control result out in a upper control period9[0] the discrete computing expression formula (9) for substituting into PI control obtains current
Control the PI control result out in period9[1], by the control margin of error in of current control period10[1], the control in a upper control period
Margin of error in processed10[0], the PI control result out in a upper control period10[0] the discrete computing expression formula of PI control is substituted into
(10), the PI control result out of current control period is obtained10[1];
S28, to PI control result out9[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #5
VT in converter5AThe duty ratio D of pipe5A, to PI control result out10[1] clipping is carried out, is limited between zero and one, and will
Result after clipping is assigned to VT in #5 converter5BThe duty ratio D of pipe5B, VT in #5 converter5CThe duty ratio D of pipe5C, #5 converter
Middle VT5DThe duty ratio D of pipe5DIt is assigned a value of 0.
7. the control method of the photovoltaic DC electricity generation system according to claim 3 with energy storage device, which is characterized in that when
mode2When being 2, two-way DC/DC converter group is in BOOST operating mode, within a control period under the operating mode
Control, which calculates, to be divided into following steps:
S29, busbar voltage reference value V is calculatedrefWith bus voltage value VbusDifference, and difference is assigned in6[1], in6Array
In6That [1] store is the control margin of error of current control period, in6[0] storage is the upper one control error for controlling the period
Amount, out6The out of array6That [1] store is the PI control result of current control period, out6[0] storage was upper control week
The PI control result of phase;
S30, PI control operation is carried out, by the control margin of error in of current control period6[1], the control error in a upper control period
Measure in6[0], the PI control result out in a upper control period6[0] the discrete computing expression formula (6) for substituting into PI control obtains current
Control the PI control result out in period6[1];
S31, by out6[1] it is assigned to IR_out4, IR_out4For the output current reference value of energy storage device;
S32, I is calculatedR_out4/ 2 and I4aDifference, and difference is assigned in7[1], I is calculatedR_out4/ 2 and I4bDifference, and will be poor
Value is assigned in8[1], IR_out4For the output current reference value of energy storage device, in7The in of array7[1] storage is current control week
The control margin of error of phase, in7[0] that storage is the upper one control margin of error for controlling the period, out7The out of array7[1] it stores
It is the PI control result of current control period, out7[0] that storage is the upper one PI control result for controlling the period, in8Array
in8That [1] store is the control margin of error of current control period, in8[0] storage is the upper one control margin of error for controlling the period,
out8The out of array8That [1] store is the PI control result of current control period, out8[0] storage was a upper control period
PI control result;
S33, PI control operation is carried out, by the control margin of error in of current control period7[1], the control error in a upper control period
Measure in7[0], the PI control result out in a upper control period7[0] the discrete computing expression formula (7) for substituting into PI control obtains current
Control the PI control result out in period7[1], by the control margin of error in of current control period8[1], the control in a upper control period
Margin of error in processed8[0], the PI control result out in a upper control period8[0] the discrete computing expression formula (8) for substituting into PI control, obtains
To the PI control result out of current control period8[1];
S34, to PI control result out7[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #4
VT in converter4CThe duty ratio D of pipe4C, to PI control result out8[1] clipping is carried out, is limited between zero and one, and will limit
Result after width is assigned to VT in #4 converter4DThe duty ratio D of pipe4D, VT in #4 converter4AThe duty ratio D of pipe4A, in #4 converter
VT4BThe duty ratio D of pipe4BIt is assigned a value of 0;
S35, #4 converter output electric current I is calculated4_Out and #5 converter export electric current I5_The difference of out, and difference is assigned to
in11[1], in11The in of array11That [1] store is the control margin of error of current control period, in11[0] storage is a upper control
The control margin of error in period processed, out11The out of array11That [1] store is the PI control result of current control period, out11[0]
Storage is the upper one PI control result for controlling the period;
S36, PI control operation is carried out, by the control margin of error in of current control period11[1], the control in a upper control period misses
Residual quantity in11[0], the PI control result out in a upper control period11[0] the discrete computing expression formula (11) for substituting into PI control, obtains
To the PI control result out of current control period11[1];
S37, by I4It is superimposed with out11[1] I is obtainedR_out5, IR_out5For the output current reference value of the 5th energy storage device;
S38, I is calculatedR_out5/ 2 and I5aDifference, and difference is assigned in12[1], I is calculatedR_out5/ 2 and I5bDifference, and will
Difference is assigned in13[1], IR_out5For the output current reference value of the 5th energy storage device, in12The in of array12[1] storage is to work as
The control margin of error in preceding control period, in12[0] that storage is the upper one control margin of error for controlling the period, out12The out of array12
That [1] store is the PI control result of current control period, out12[0] storage is the upper one PI control result for controlling the period,
in13The in of array13That [1] store is the control margin of error of current control period, in13[0] storage was a upper control period
Control the margin of error, out13The out of array13That [1] store is the PI control result of current control period, out13[0] storage is
The PI control result in a upper control period;
S39, PI control operation is carried out, by the control margin of error in of current control period12[1], the control in a upper control period misses
Residual quantity in12[0], the PI control result out in a upper control period12[0] the discrete computing expression formula (12) for substituting into PI control, obtains
To the PI control result out of current control period12[1], by the control margin of error in of current control period13[1], a upper control
The control margin of error in period13[0], the PI control result out in a upper control period13[0] the discrete computing table of PI control is substituted into
Up to formula (13), the PI control result out of current control period is obtained13[1];
S40, to PI control result out12[1] clipping is carried out, is limited between zero and one, and the result after clipping is assigned to #5
VT in converter5CThe duty ratio D of pipe5C, to PI control result out13[1] clipping is carried out, is limited between zero and one, and will
Result after clipping is assigned to VT in #5 converter5DThe duty ratio D of pipe5D, VT in #5 converter5AThe duty ratio D of pipe5A, #5 converter
Middle VT5BThe duty ratio D of pipe5BIt is assigned a value of 0.
8. the control method of the photovoltaic DC electricity generation system according to claim 2 with energy storage device, which is characterized in that it
Top layer control the following steps are included:
S41, judge mode1=1, mode2=1, Vbus<VrefWhether three conditions are set up simultaneously, if set up simultaneously, will use
In the variable x of counting from adding, S43 is otherwise skipped to;
Whether the x of S42, judgement from after adding is greater than 2000, if it is greater than 2000, then by mode2It is assigned a value of 0, disconnects switch S4, S5,
So that energy storage device is in excision stand-by state, and x is reset;
S43, judge mode1=1, mode2=0, Vbus<VrefWhether three conditions are set up simultaneously, if set up simultaneously, will use
In the variable y of counting from adding, S45 is otherwise skipped to;
Whether the y of S44, judgement from after adding is greater than 2000, if it is greater than 2000, then by mode2It is assigned a value of 2, and closure switch S4,
S5 makes energy storage device be in discharge condition, and y is reset;
S45, terminate top layer control.
9. the control method of the photovoltaic DC electricity generation system according to claim 5,6,7 with energy storage device, feature exist
In, step S12, mentioned in S16, S19, S23, S27, S30, S33, S36, S39 PI control discrete expression (1)~(13) respectively
Are as follows:
out1[1]=(p1+ts*i1)*in1[1]-p1*in1[0]+out1[0] (1)
out2[1]=(p2+ts*i2)*in2[1]-p2*in2[0]+out2[0] (2)
out3[1]=(p3+ts*i3)*in3[1]-p3*in3[0]+out3[0] (3)
out4[1]=(p4+ts*i4)*in4[1]-p4*in4[0]+out4[0] (4)
out5[1]=(p5+ts*i5)*in5[1]-p5*in5[0]+out5[0] (5)
out6[1]=(p6+ts*i6)*in6[1]-p6*in6[0]+out6[0] (6)
out7[1]=(p7+ts*i7)*in7[1]-p7*in7[0]+out7[0] (7)
out8[1]=(p8+ts*i8)*in8[1]-p8*in8[0]+out8[0] (8)
out9[1]=(p9+ts*i9)*in9[1]-p9*in9[0]+out9[0] (9)
out10[1]=(p10+ts*i10)*in10[1]-p10*in10[0]+out10[0] (10)
out11[1]=(p11+ts*i11)*in11[1]-p11*in11[0]+out11[0] (11)
out12[1]=(p12+ts*i12)*in12[1]-p12*in12[0]+out12[0] (12)
out13[1]=(p13+ts*i13)*in13[1]-p13*in13[0]+out13[0] (13)
Wherein p1For the first proportionality coefficient, i1For first integral coefficient, ts is the control period;p2For the second proportionality coefficient, i2It is
Two integral coefficients;p3For third proportionality coefficient, i3For third integral coefficient;p4For the 4th proportionality coefficient, i4For the 4th integration system
Number;p5For the 5th proportionality coefficient, i5For the 5th integral coefficient;p6For the 6th proportionality coefficient, i6For the 6th integral coefficient;p7It is the 7th
Proportionality coefficient, i7For the 7th integral coefficient;p8For the 8th proportionality coefficient, i8For the 8th integral coefficient;p9For the 9th proportionality coefficient, i9
For the 9th integral coefficient;p10For the tenth proportionality coefficient, i10For the tenth integral coefficient;p11For the 11st proportionality coefficient, i11It is the tenth
One integral coefficient;p12For the 12nd proportionality coefficient, i12For the 12nd integral coefficient;p13For the 13rd proportionality coefficient, i13It is the tenth
Three integral coefficients.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910396615.3A CN110071497A (en) | 2019-05-14 | 2019-05-14 | A kind of photovoltaic DC electricity generation system and its control method with energy storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910396615.3A CN110071497A (en) | 2019-05-14 | 2019-05-14 | A kind of photovoltaic DC electricity generation system and its control method with energy storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110071497A true CN110071497A (en) | 2019-07-30 |
Family
ID=67370673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910396615.3A Pending CN110071497A (en) | 2019-05-14 | 2019-05-14 | A kind of photovoltaic DC electricity generation system and its control method with energy storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110071497A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110474418A (en) * | 2019-08-26 | 2019-11-19 | 珠海格力电器股份有限公司 | DC micro power grid system and its progress control method and device |
CN111181207A (en) * | 2020-01-07 | 2020-05-19 | 重庆理工大学 | Distributed lithium battery pack energy storage system |
CN111725865A (en) * | 2020-06-11 | 2020-09-29 | 深圳硕日新能源科技有限公司 | Wide-voltage inverse control all-in-one machine and control method thereof |
CN112918291A (en) * | 2019-12-06 | 2021-06-08 | 睿能创意公司 | Battery charging station and battery management method |
US20210175724A1 (en) * | 2019-12-06 | 2021-06-10 | Gogoro Inc. | Battery charging station and method for managing batteries |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110056533A1 (en) * | 2009-09-10 | 2011-03-10 | Kan-Sheng Kuan | Series solar system with current-matching function |
CN103441566A (en) * | 2013-09-12 | 2013-12-11 | 重庆大学 | System and method for supplying power cooperatively by mains supply, photovoltaic cell and energy storage battery |
US20140265567A1 (en) * | 2013-03-14 | 2014-09-18 | Arda Power Inc. | Power clipping method and system |
CN104158212A (en) * | 2014-08-06 | 2014-11-19 | 电子科技大学 | Topological structure of multi-level photovoltaic power generation system and control method of topological structure |
CN104579120A (en) * | 2015-01-04 | 2015-04-29 | 国家电网公司 | Control method during photovoltaic power generation off-grid operation |
CN104578043A (en) * | 2014-12-22 | 2015-04-29 | 浙江大学 | Power-balance coordination control method for light storage high-permeability direct-current micro-networks |
CN104810858A (en) * | 2015-05-27 | 2015-07-29 | 广西大学 | Control method for grid-connected power generation system of optical storage microgrid |
CN105743123A (en) * | 2016-04-07 | 2016-07-06 | 电子科技大学 | LCL-LC based active damping parameter design method for grid-connected system |
CN106849172A (en) * | 2017-03-22 | 2017-06-13 | 东南大学 | In light storage alternating current-direct current microgrid and off-network seamless switching strategy |
CN107196341A (en) * | 2017-07-10 | 2017-09-22 | 华北电力大学(保定) | The two-stage type of Variable power point tracking is without energy storage photovoltaic virtual synchronous machine control method |
WO2017163690A1 (en) * | 2016-03-25 | 2017-09-28 | パナソニックIpマネジメント株式会社 | Power conversion system and power conversion device |
CN108599136A (en) * | 2018-06-14 | 2018-09-28 | 浙江国际海运职业技术学院 | A kind of mode switching method of direct-current grid photovoltaic system |
CN108832612A (en) * | 2018-07-02 | 2018-11-16 | 东北大学 | A kind of DC micro-electric network control method and system based on multi-zone supervision |
-
2019
- 2019-05-14 CN CN201910396615.3A patent/CN110071497A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110056533A1 (en) * | 2009-09-10 | 2011-03-10 | Kan-Sheng Kuan | Series solar system with current-matching function |
US20140265567A1 (en) * | 2013-03-14 | 2014-09-18 | Arda Power Inc. | Power clipping method and system |
CN103441566A (en) * | 2013-09-12 | 2013-12-11 | 重庆大学 | System and method for supplying power cooperatively by mains supply, photovoltaic cell and energy storage battery |
CN104158212A (en) * | 2014-08-06 | 2014-11-19 | 电子科技大学 | Topological structure of multi-level photovoltaic power generation system and control method of topological structure |
CN104578043A (en) * | 2014-12-22 | 2015-04-29 | 浙江大学 | Power-balance coordination control method for light storage high-permeability direct-current micro-networks |
CN104579120A (en) * | 2015-01-04 | 2015-04-29 | 国家电网公司 | Control method during photovoltaic power generation off-grid operation |
CN104810858A (en) * | 2015-05-27 | 2015-07-29 | 广西大学 | Control method for grid-connected power generation system of optical storage microgrid |
WO2017163690A1 (en) * | 2016-03-25 | 2017-09-28 | パナソニックIpマネジメント株式会社 | Power conversion system and power conversion device |
CN105743123A (en) * | 2016-04-07 | 2016-07-06 | 电子科技大学 | LCL-LC based active damping parameter design method for grid-connected system |
CN106849172A (en) * | 2017-03-22 | 2017-06-13 | 东南大学 | In light storage alternating current-direct current microgrid and off-network seamless switching strategy |
CN107196341A (en) * | 2017-07-10 | 2017-09-22 | 华北电力大学(保定) | The two-stage type of Variable power point tracking is without energy storage photovoltaic virtual synchronous machine control method |
CN108599136A (en) * | 2018-06-14 | 2018-09-28 | 浙江国际海运职业技术学院 | A kind of mode switching method of direct-current grid photovoltaic system |
CN108832612A (en) * | 2018-07-02 | 2018-11-16 | 东北大学 | A kind of DC micro-electric network control method and system based on multi-zone supervision |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110474418A (en) * | 2019-08-26 | 2019-11-19 | 珠海格力电器股份有限公司 | DC micro power grid system and its progress control method and device |
CN112918291A (en) * | 2019-12-06 | 2021-06-08 | 睿能创意公司 | Battery charging station and battery management method |
US20210175724A1 (en) * | 2019-12-06 | 2021-06-10 | Gogoro Inc. | Battery charging station and method for managing batteries |
US11664671B2 (en) * | 2019-12-06 | 2023-05-30 | Gogoro Inc. | Battery charging station and method for managing batteries |
CN111181207A (en) * | 2020-01-07 | 2020-05-19 | 重庆理工大学 | Distributed lithium battery pack energy storage system |
CN111725865A (en) * | 2020-06-11 | 2020-09-29 | 深圳硕日新能源科技有限公司 | Wide-voltage inverse control all-in-one machine and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110071497A (en) | A kind of photovoltaic DC electricity generation system and its control method with energy storage device | |
Hu et al. | A model predictive control strategy of PV-Battery microgrid under variable power generations and load conditions | |
CN102324583B (en) | Lithium ion storage battery charging method based on sequential shunt switching regulation (S3R) | |
CN105305480A (en) | Hybrid energy-storage DC micro grid hierarchical control method | |
CN107346896A (en) | A kind of light stores up micro-grid system energy accumulation current converter host-slave parallel control method | |
CN109617105B (en) | Distributed composite energy storage cooperative control method based on droop control | |
CN110912246B (en) | Power coordination controller applied to optical storage system | |
CN106505602A (en) | A kind of control method of energy-storage system | |
CN109638890B (en) | Direct-current micro-grid group system and hierarchical control method thereof | |
CN110120696A (en) | A kind of extensive energy storage SOC balance coordination control system and method | |
CN105552945B (en) | Battery energy storage system and energy storage method | |
CN106356976A (en) | MPPT (maximum power point tracking)-technology-based control system | |
CN108110747A (en) | A kind of photovoltaic energy storage system capacity schedule management method | |
CN105576645A (en) | Energy internet network and energy internet method for direct-current power systems | |
CN107565586A (en) | A kind of stage type energy accumulation current converter active power controller method | |
Wang et al. | A decentralized automatic load power allocation strategy for hybrid energy storage system | |
CN110350538B (en) | Micro-grid coordination control method based on active demand side response | |
Eghtedarpour | A synergetic control architecture for the integration of photovoltaic generation and battery energy storage in DC microgrids | |
CN113113912B (en) | Multi-mode cooperative control method and system for four-port energy router | |
CN114069774A (en) | Photovoltaic energy storage system for tracking maximum power generated by photovoltaic cell and photovoltaic power generation system based on system | |
CN108599255A (en) | A kind of micro-grid coordination control method considering electric-gas interconnection | |
CN112865065A (en) | Power distribution network coordination control method and system containing high-permeability light storage | |
CN210297275U (en) | Stability control system suitable for little electric wire netting off-grid operation mode | |
US20230208143A1 (en) | System and method for smoothing photovoltaic generation intermittency | |
CN115133520A (en) | Storage battery energy coordination control method suitable for light storage integrated system |
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: 20231013 |