A kind of variable sampling rate control method of solar panel terminal voltage
Technical field
The invention belongs to the control method in solar power system, be specifically related to the control of solar panel terminal voltage
Strategy.
Background technology
Solar panel irradiates generating through sunlight, is output as direct current, it is impossible to be connected to the grid operation.It is thus desirable to inversion
DC conversion is become industrial-frequency alternating current by device.Solar panel volt-ampere curve is nonlinear and changes with ambient influnence.For
Making the cell panel export electric energy as much as possible, photovoltaic DC-to-AC converter has the link of voltage-regulation mostly.Solar panel
Characteristic is different, and connection in series-parallel is various informative, has different time responses.
Photovoltaic DC-to-AC converter Voltage loop the most all uses the PID regulator of routine at present.The deficiency of this control method is: 1
The time constant with terminal voltage change that operating frequency is fixing is not mated, and mates different cell panels and often occurs that integrator is saturated
Or it is inoperative.2 cell panel terminal voltages oscillate about at command voltage, affect cell panel generated energy.
Summary of the invention
What this intellectual achievement was to be solved is the matching problem of photovoltaic combining inverter and different cell panels, it is provided that simple and reliable
Solar panel terminal voltage control method.The variable element algorithm that this intellectual achievement relates to, it is possible to detect cell panel in real time
Characteristic, it is not necessary to manual intervention adapts to the voltage output characteristics of different cell panel automatically.
For achieving the above object, the present invention is by the following technical solutions:
The variable sampling rate control method of a kind of solar panel terminal voltage, it comprises the steps:
(1) inverter detection solar panel terminal voltage U in certain period of timeDC, and gather inverter same
Controller instruction output quantity C in periodout;
(2) terminal voltage in this time period and controller are instructed output quantity CoutCarry out differential, therefrom choose both single
The interval that tonality is consistent;
(3) terminal voltage value in this monotony interval carried out differential and average, using result as the rate of change of terminal voltage;
Ask for controller instruction output quantity C in this intervaloutAverage, using result as controller instruct output quantity Cout;
(4) setting the threshold value of time interval length, if monotony interval length is less than this threshold value, then these group data are invalid
Data, choose next group data and calculate;If monotony interval length is more than or equal to this threshold value, according to terminal voltage UDCAnd control
Device processed instruction output quantity CoutIt is calculated time constant T of terminal voltage;
(5) choose suitable terminal voltage according to time constant T detected and control cycle enforcement control, use time constant
/ 10th of T are as the cycle of control;If the control cycle calculated is less than two times of former control cycle and more than former control
/ 2nd of cycle processed, then keep the former control cycle constant;If it is out of this range, controller is according to the control calculated
Periodic duty processed.
In described step (1), gather terminal voltage U in a period of timeDCOutput quantity C is instructed with controlleroutAfter, right
Singular point in numerical value carries out rejecting process, uses the method for intermediate interpolated to supply the numerical value of singular point.
Controller is instructed output quantity CoutIt is filtered processing.
Use the present invention of technique scheme, estimate end according to solar panel terminal voltage and inverter output order
The method of the time constant of voltage change, adjusts the integral coefficient of contravarianter voltage controlling unit the most in real time, the most permissible
Make the voltage-regulation link of inverter match with the time constant of solar panel terminal voltage, thus avoid because of integration
Saturated and the oscillation problem that produces.This algorithm can be applied not only to novel inverter, it is also possible to enters existing inverter
Row software upgrading.This algorithm can utilize the original sensor of inverter to realize its function, it is not necessary to increases ancillary equipment, it is only necessary to
Amendment control program.
Accompanying drawing explanation
Fig. 1 is the systematic schematic diagram of the present invention.
Fig. 2 is the flow chart of the present invention.
Fig. 3 is dull consistent interval schematic diagram.
Detailed description of the invention
As shown in Figure 1 and Figure 2, the principle of foundation of the present invention is: first inverter detects solar panel in certain time
Terminal voltage in Duan, and calculate the rate of change of terminal voltage, then gather the control that inverter instructs at same slot controller
Device instruction output quantity Cout.The time constant of contravarianter voltage controlling unit identification terminal voltage, then obtains according to identification accordingly
Time constant changes voltage-controlled integral coefficient in real time.Concrete control method is:
(1) inverter detection solar panel terminal voltage U in certain period of timeDC, and gather inverter same
Controller instruction output quantity C in periodout;Above-mentioned cell panel terminal voltage refers to: positive pole and negative pole during solar module generating
Between voltage difference.Cell panel can be made to utilize solar energy to greatest extent by controlling it, make electricity generation system send electric power more.
(2) terminal voltage in this time period and controller are instructed output quantity CoutCarry out differential, therefrom choose both single
The interval that tonality is consistent, the most that is within certain period of time period, the difference result sign of the two is constant.Detailed process is:
By terminal voltage UDCOutput quantity C is instructed with controlleroutRelation process as first order inertial loop:
Wherein K is proportionality coefficient;Output quantity C is instructed by terminal voltage rate of change and controlleroutCalculate terminal voltage change
Time constant T.
Above-mentioned also referred to as discrimination method: referring in the controls can not by the rule of conversion calculating of detectable amount
The method of (or being difficult to detection) state variable of detection.The change calculations herein referring to cell panel output Current Voltage goes out electricity
The method of pond plate terminal voltage time constant.This process Voltage loop when inverter startup controls cycle employing default value, runs one
Section the time tend towards stability after time constant identification algorithm just bring into operation.
(3) terminal voltage value in this monotony interval carried out differential and average, using result as the rate of change of terminal voltage;
Ask for controller instruction output quantity C in this intervaloutAverage, using result as controller instruct output quantity Cout;
(4) setting the threshold value of time interval length, if monotony interval length is less than this threshold value, then these group data are invalid
Data, choose next group data and calculate;If monotony interval length is more than or equal to this threshold value, according to terminal voltage UDCWith defeated
Output CoutIt is calculated time constant T of terminal voltage;Output quantity C is instructed with controlleroutRate of change divided by terminal voltage is taken advantage of again
The time constant of terminal voltage has just been obtained with Proportional coefficient K.Proportional coefficient K is asked for according to system transter.
(5) choose suitable terminal voltage according to time constant T detected and control cycle enforcement control, use time constant
/ 10th of T are as the cycle of control;If the control cycle calculated is less than two times of former control cycle and more than former control
/ 2nd of cycle processed, then keep the former control cycle constant;If it is out of this range, controller is according to the control calculated
Periodic duty processed.
In described step (1), gather terminal voltage U in a period of timeDCOutput quantity C is instructed with controlleroutAfter, right
Singular point in numerical value carries out rejecting process, uses the method for intermediate interpolated to supply the numerical value of singular point.Defeated to controller instruction
Output CouttIt is filtered processing.