Based on photovoltaic cell control method and the system of power vs. voltage matched curve
Technical field
The present invention relates to technical field of photovoltaic power generation, particularly, relate to a kind of photovoltaic cell control method based on power vs. voltage matched curve and system.
Background technology
In the last few years, because the exhausted problem of World Environment Problems and non-renewable energy resources is more and more serious, new forms of energy are developed rapidly as a kind of clean, regenerative resource, especially photovoltaic generation.For photovoltaic cell modeling problem, existing a large amount of Research Literature, document " the photovoltaic array Matlab Universal Simulation Model with MPPT function " has carried out modeling to photovoltaic, gives the voltage relationship of the photovoltaic power at any illumination, temperature.But photovoltaic generation power controls but mainly to concentrate on maximal power tracing control model, in recent years, photovoltaic generation power limitation control just received publicity gradually.Because conventional art fails to carry out matching to the power vs. voltage curve of photovoltaic cell, therefore maximal power tracing controls method mainly short circuit current method, disturbance observation method, the conductance increment method etc. of employing, the method that power limitation control adopts is mainly based on photovoltaic constant dc power control technology and the disturbance observation method of newton's quadratic interpolation.These methods in the past only can reflect a part of information of photovoltaic power voltage relationship, the illumination of environment residing for photovoltaic cell, temperature can not be reflected, and the photovoltaic power output that under current environment, each voltage is corresponding, be unfavorable for the efficiency utilization of photovoltaic generation and further develop.
Summary of the invention
The technical problem to be solved in the present invention is, overcomes deficiency of the prior art, proposes a kind of photovoltaic cell control method based on power vs. voltage matched curve and system.
For achieving the above object, the technical solution used in the present invention is:
A kind of photovoltaic cell control method based on power vs. voltage matched curve is provided, comprises and being controlled by the output voltage of booster circuit to photovoltaic cell; The voltage control reference value of booster circuit is obtained by the power voltage matched curve of photovoltaic cell, and the fit procedure of power vs. voltage matched curve comprises:
(1) the output voltage v of photovoltaic cell is gathered
pvwith output current i
pv, calculate the output power from photovoltaic cells P
pv;
(2) output voltage v is judged
pvwith the output power from photovoltaic cells P
pvwhether meet condition of convergence formula (1):
|P
pv-P(v
pv)|<ε (1)
In formula (1), P (v
pv) the output power from photovoltaic cells that obtains for matching; ε is the error threshold of setting;
If formula (1) meets, then illustrate that this sampled point is in former matched curve, without the need to matching again;
If formula (1) does not meet, illustrate that the illumination condition of environment and temperature conditions change, sampled point need be substituted with new sampled point
again matched curve; Sampled point is rearranged from small to large according to magnitude of voltage size
(3) with three sampled points
as input variable, with illumination match value R
psowith temperature foh value T
psoas output variable; Meanwhile, with illumination match value R
psowith temperature foh value T
psoas variable to be optimized, with the power samples value that three sampled points are corresponding
power match value (the P corresponding with in matched curve
pso1, P
pso2, P
pso3) deviation square Cumulate Sum
as performance index; Bring different light value R and temperature value T into photovoltaic power voltage curve, draw optimum illumination match value R by particle cluster algorithm optimization
psowith temperature foh value T
pso, then bring photovoltaic power voltage relationship into, draw photovoltaic power-voltage matched curve;
(4) in photovoltaic power-voltage matched curve, maximum power point or voltage corresponding to value and power reference is found, as the voltage reference value that follow-up booster circuit controls.
Invention further provides the photovoltaic cell control system based on power vs. voltage matched curve, comprise booster circuit, also comprise: measurement module, for gathering output voltage and the output current of photovoltaic cell; Whether sampled point update module meets the condition of convergence for judging sampled point output voltage and the output power from photovoltaic cells and rearranges employing point after renewal; Particle cluster algorithm fitting module, for matching photovoltaic power-voltage matched curve; With Voltage Reference computing module, for finding maximum power point or voltage reference value corresponding to value and power reference; Measurement module, sampled point update module, particle cluster algorithm fitting module and Voltage Reference computing module are electrically connected successively and form loop, and Voltage Reference computing module is electrically connected with booster circuit.
Compared with prior art, beneficial effect of the present invention is:
Photovoltaic power-voltage matched curve that the present invention obtains, can provide the light and temperature value of environment residing for photovoltaic cell in real time, and photovoltaic power-voltage curve under current environment, is beneficial to the enforcement of photovoltaic maximum power or power limitation control.
Accompanying drawing explanation
Fig. 1 is the photovoltaic generation main circuit diagram described in the preferred embodiment of the present invention;
Fig. 2 is photovoltaic cell P-V curve fitting routine figure;
Fig. 3 is particle cluster algorithm Optimal Fitting procedure chart.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that this time described preferred embodiment is only for instruction and explanation of the present invention, is not intended to limit the present invention.Be by photovoltaic application in direct-current grid in this preferred embodiment, also can be applicable to exchange in micro-capacitance sensor.
Fig. 1 is the photovoltaic generation main circuit diagram described in the preferred embodiment of the present invention, comprises photovoltaic cell, photovoltaic DC bus capacitor, booster circuit and direct-current grid bus.Fig. 2 is photovoltaic cell P-V curve fitting routine figure, comprises measurement module 1, sampled point update module 2, particle cluster algorithm fitting module 3, Voltage Reference computing module 4, for setting forth the photovoltaic cell P-V curve fitting process based on particle cluster algorithm.Fig. 3 is particle cluster algorithm Optimal Fitting procedure chart, for elaborating the process utilizing particle cluster algorithm Optimal Fitting to go out optimum illumination match value and temperature foh value.
In Fig. 1, Fig. 2, Fig. 3, the implication of each symbol is: V voltage, P power, k iterations, P
pvthe output power from photovoltaic cells, v
pvphotovoltaic cell output voltage, i
pvphotovoltaic cell output current,
the 1st the sample amplitude when reproduced value that kth is secondary,
the 1st the sampled point performance number that kth is secondary,
the 2nd the sample amplitude when reproduced value that kth is secondary,
the 2nd the sampled point performance number that kth is secondary,
the 3rd the sample amplitude when reproduced value that kth is secondary,
the 3rd the sampled point performance number that kth is secondary, R
psoillumination match value, R illumination value, T
psotemperature foh value, T temperature value, f photovoltaic power-voltage relationship, P
pso1in photovoltaic cell P-V matched curve
corresponding performance number, P
pso2in photovoltaic cell P-V matched curve
corresponding performance number, P
pso3in photovoltaic cell P-V matched curve
corresponding performance number, y performance index, C
pvphotovoltaic DC bus capacitor, v
refvoltage reference value, the output power from photovoltaic cells that in P (V) matched curve, voltage V is corresponding, P (v
pv) voltage v in matched curve
pvcorresponding the output power from photovoltaic cells, ε error threshold.
Based on particle cluster algorithm photovoltaic cell P-V curve-fitting method as shown in Figure 2, comprise measurement module 1, sampled point update module 2, particle cluster algorithm fitting module 3, Voltage Reference computing module 4.Measure photovoltaic cell output voltage and output current, calculate the output power from photovoltaic cells; Judge whether to meet the condition of convergence, upgrade sampled point, rearrange three sampled points from small to large according to voltage swing; Draw optimum illumination match value and temperature foh value by particle cluster algorithm, bring in photovoltaic power-voltage relationship and draw photovoltaic cell P-V matched curve; Matched curve is found maximum power point or voltage reference value corresponding to value and power reference, as the Voltage Reference that follow-up booster circuit controls.
Concrete steps are as follows:
(1) measurement module 1 gathers photovoltaic cell output voltage v
pvwith output current i
pv, calculate the output power from photovoltaic cells P
pv;
(2) sampled point update module 2 obtains photovoltaic cell output voltage v by step (1)
pvwith the output power from photovoltaic cells P
pv; Judge whether to meet the condition of convergence, the condition of convergence is the output power from photovoltaic cells P collected
pvthe output power from photovoltaic cells P (the v obtained with matching
pv) difference is very little, as shown in the formula:
|P
pv-P(v
pv)|<ε (2)
Wherein, ε is the error threshold that can set.If formula (1) meets, then new sampled point is in former matched curve, without the need to matching again.If formula (2) does not meet, illustrate that environment changes, need matched curve again, substitute sampled point with new sampled point
sampled point is rearranged from small to large according to magnitude of voltage size
(3) particle cluster algorithm Optimal Fitting process as shown in Figure 3.Three sampled points are obtained by step (2)
three sampled points are as input variable, and output variable is illumination match value R
psowith temperature foh value T
pso, the match value of illumination simultaneously R
psowith temperature foh value T
psoas variable to be optimized, the power samples value that three voltage is corresponding
power match value (the P corresponding with in matched curve
pso1, P
pso2, P
pso3) deviation square Cumulate Sum
as performance index.Initialization produces population, the value of each particle is assigned to illumination value R and temperature value T, and each group illumination value R and temperature value T brings photovoltaic power voltage relationship into and obtains a matched curve, and every bar matched curve is found
corresponding P
pso1, P
pso2, P
pso3, calculation of performance indicators
Judge whether to meet end condition, end condition is the maximum iteration time that particle cluster algorithm iterations is greater than setting.If do not meet, then the update rule according to particle cluster algorithm carries out upgrading the new population of generation; If meet, then by optimum illumination match value R corresponding for optimal particle
psowith temperature foh value T
psoas output.
Then by optimum illumination match value R
psowith temperature foh value T
psobring photovoltaic power voltage relationship into, draw photovoltaic cell P-V matched curve.
(4) in this matched curve, find the Voltage Reference that maximum power point or voltage corresponding to value and power reference control as follow-up booster circuit.
Finally should be noted that: above embodiment is only for above embodiment, only in order to technical scheme of the present invention to be described but not to be limited, although with reference to above-mentioned execution mode to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or equivalent replacement, and not departing from any amendment of spirit and scope of the invention or equivalent replacement, it all should be encompassed in the middle of right of the present invention.