Content of the invention
The technical problem to be solved in the present invention is to overcome deficiency of the prior art, proposes a kind of power vs. voltage that is based on and intends
Close photovoltaic cell control method and the system of curve.
For achieving the above object, the technical solution used in the present invention is:
There is provided a kind of photovoltaic cell control method based on power vs. voltage matched curve, including by booster circuit to light
The output voltage of volt battery is controlled;It is by the power vs. voltage matching of photovoltaic cell that the voltage of booster circuit controls reference value
Curve acquisition, the fit procedure of power vs. voltage matched curve includes:
(1) gather the output voltage v of photovoltaic cellpvWith output current ipv, calculate the output power from photovoltaic cells ppv;
(2) judge output voltage vpvWith the output power from photovoltaic cells ppvWhether meet condition of convergence formula (1):
|ppv-p(vpv) | < ε (1)
In formula (1), p (vpv) the output power from photovoltaic cells that obtains for matching;ε is the error threshold setting;
If formula (1) meets, this sampled point is described in former matched curve, need not matching again;
If formula (1) is unsatisfactory for, illustrate that the illumination condition of environment and temperature conditionss have occurred and that change, need to be substituted with new sampled point and adopt
Sampling pointAgain matched curve;Rearrange sampled point according to magnitude of voltage size from small to large
(3) with three sampled pointsAs input quantity, with illumination match value rpsoIntend with temperature
Conjunction value tpsoAs output;Meanwhile, with illumination match value rpsoWith temperature foh value tpsoAs variable to be optimized, adopted with three
Sampling point corresponding power samples valuePower match value (p corresponding with matched curvepso1、ppso2、ppso3) inclined
Difference square accumulation andAs performance indications;By different illumination value r and temperature value t
Bring photovoltaic power voltage curve into, draw the illumination match value r of optimum by particle cluster algorithm optimizationpsoAnd temperature foh
Value tpso, then bring photovoltaic power voltage relationship into, draw photovoltaic power-voltage matched curve;
(4) maximum power point or the corresponding electricity of value and power reference are found on photovoltaic power-voltage matched curve
Pressure, the voltage reference value controlling as follow-up booster circuit.
Invention further provides the photovoltaic cell control system based on power vs. voltage matched curve, including liter piezoelectricity
Road, also includes: measurement module, for gathering output voltage and the output current of photovoltaic cell;Sampled point update module is used for sentencing
Whether disconnected sampled point output voltage and the output power from photovoltaic cells are met the condition of convergence and are rearranged using point to after updating;Grain
Swarm optimization fitting module, for matching photovoltaic power-voltage matched curve;With Voltage Reference computing module, it is used for seeking
Look for maximum power point or the corresponding voltage reference value of value and power reference;Measurement module, sampled point update module, particle cluster algorithm
Fitting module and Voltage Reference computing module are sequentially connected electrically and constitute loop, and Voltage Reference computing module and booster circuit are electrically connected
Connect.
Compared with prior art, the beneficial effects of the present invention is:
Photovoltaic power-voltage matched curve that the present invention obtains, can provide photovoltaic cell local environment in real time
Photovoltaic power-voltage curve under illumination and temperature value, and current environment, is beneficial to photovoltaic maximum power or permanent work(
The enforcement that rate controls.
Specific embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated with the preferred reality it will be appreciated that this time described
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.It is in straight by photovoltaic application in this preferred embodiment
In stream micro-capacitance sensor, it is equally applicable for exchanging 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
Electric capacity, booster circuit and direct-current grid bus.Fig. 2 is photovoltaic cell p-v curve fitting routine figure, comprises measurement module 1, adopts
Sampling point update module 2, particle cluster algorithm fitting module 3, Voltage Reference computing module 4, for illustrating based on particle cluster algorithm
Photovoltaic cell p-v curve fitting process.Fig. 3 is particle cluster algorithm Optimal Fitting procedure chart, is used for elaborating and utilizes population
Algorithm optimization simulates the process of optimum illumination match value and temperature foh value.
In Fig. 1, Fig. 2, Fig. 3, each symbol is meant that: v voltage, p power, k iterationses, ppvThe output power from photovoltaic cells,
vpvPhotovoltaic cell output voltage, ipvPhotovoltaic cell output current,1st sample amplitude when reproduced value of kth time,The of kth time
1 sampled point performance number,2nd sample amplitude when reproduced value of kth time,2nd sampled point performance number of kth time,Kth time
3rd sample amplitude when reproduced value,3rd sampled point performance number of kth time, rpsoIllumination match value, r illumination value, tpsoTemperature is intended
Conjunction value, t temperature value, f photovoltaic power-voltage relationship, ppso1In photovoltaic cell p-v matched curveCorresponding performance number,
ppso2In photovoltaic cell p-v matched curveCorresponding performance number, ppso3In photovoltaic cell p-v matched curveCorresponding power
Value, y performance indications, cpvPhotovoltaic DC bus capacitor, vrefVoltage reference value, the corresponding photovoltaic electric of voltage v in p (v) matched curve
Pond output, p (vpv) voltage v in matched curvepvCorresponding the output power from photovoltaic cells, ε error threshold.
Photovoltaic cell p-v curve-fitting method based on particle cluster algorithm is as shown in Fig. 2 include measurement module 1, sampled point
Update module 2, particle cluster algorithm fitting module 3, Voltage Reference computing module 4.Measurement photovoltaic cell output voltage and output electricity
Stream, is calculated the output power from photovoltaic cells;Judge whether to meet the condition of convergence, update sampled point, according to voltage swing from little
To rearranging greatly three sampled points;Optimum illumination match value and temperature foh value are drawn by particle cluster algorithm, brings photovoltaic into
Photovoltaic cell p-v matched curve is drawn in the power of battery-voltage relationship;Maximum power point or work(are found on matched curve
The corresponding voltage reference value of rate reference value, the Voltage Reference controlling as follow-up booster circuit.
Specifically comprise the following steps that
(1) measurement module 1 collection photovoltaic cell output voltage vpvWith output current ipv, it is calculated photovoltaic cell output
Power ppv;
(2) sampled point update module 2 obtains photovoltaic cell output voltage v by step (1)pvAnd the output power from photovoltaic cells
ppv;Judge whether to meet the condition of convergence, the condition of convergence is the output power from photovoltaic cells p collectingpvThe light obtaining with matching
Volt cell output p (vpv) difference very little, such as following formula:
|ppv-p(vpv) | < ε (1)
Wherein, ε is the error threshold that can set.If formula (1) meets, new sampled point, in former matched curve, need not weigh
New matching.If formula (1) is unsatisfactory for, illustrates that environment has occurred and that change, need matched curve again, sampled point is substituted with new sampled point
Rearrange sampled point according to magnitude of voltage size from small to large
(3) particle cluster algorithm Optimal Fitting process is as shown in Figure 3.
Three sampled points are obtained by step (2)Three sampled points, as input quantity, export
Amount is illumination match value rpsoWith temperature foh value tpso, illumination match value r simultaneouslypsoWith temperature foh value tpsoAs change to be optimized
Amount, the corresponding power samples value of three voltagePower match value (p corresponding with matched curvepso1、ppso2、
ppso3) deviation square accumulation andAs performance indications.
Initialization produces population, and the value of each particle is assigned to illumination value r and temperature value t, each group of illumination value r and temperature
Angle value t is all brought photovoltaic power voltage relationship into and is obtained a matched curve, finds in every matched curve
Corresponding ppso1、ppso2、ppso3, calculation of performance indicators
Judge whether to meet end condition, end condition is that particle cluster algorithm iterationses are more than the greatest iteration setting time
Number.If being unsatisfactory for, it is updated producing new population according to the more new regulation of particle cluster algorithm;If meeting, by optimum
Particle corresponding optimum illumination match value rpsoWith temperature foh value tpsoAs output.
Then by optimum illumination match value rpsoWith temperature foh value tpsoBring photovoltaic power voltage relationship into, draw
Photovoltaic cell p-v matched curve.
(4) maximum power point or the corresponding voltage of value and power reference are found on this matched curve and rise piezoelectricity as follow-up
The Voltage Reference that road controls.
Finally it should be noted that: above specific embodiment is only used for above example, only in order to illustrate the present invention's
Technical scheme rather than be limited, although being described in detail to the present invention with reference to above-mentioned embodiment, affiliated neck
The those of ordinary skill in domain it is understood that still the specific embodiment of the present invention can be modified or equivalent,
And any modification without departing from spirit and scope of the invention or equivalent, it all should cover the claim model in the present invention
In the middle of enclosing.