Summary of the invention
The invention proposes a kind of solar power supply circuits, comprising: the first power supply circuit, the second power supply circuit, direct current are female
Line, first power supply circuit connection DC bus and the second power supply circuit, to described DC bus powered and give second
Power supply circuit charging, second power supply circuit connect DC bus, to DC bus powered;First power supply circuit with
Detection circuit is also set up between second power supply circuit, the detection circuit detects the first power supply of the first power supply circuit respectively
Second supply voltage of voltage and second power supply circuit, it is poor between first supply voltage and the second supply voltage to determine
Value, the output voltage of first power supply circuit is controlled according to the difference.
The solar power supply circuit, first power supply circuit include solar battery, the first output port, second
Output port, voltage conversion circuit, first control circuit;First output port connects the output of second power supply circuit
End, the second output terminal mouth connect the DC bus;The voltage conversion circuit includes transformer T1, the first controllable switch
Q5, the first driving circuit, the first control circuit control first controllable switch by first driving circuit, to adjust
The switching frequency of transformer is saved, the voltage of control second output terminal mouth keeps stablizing.
The solar power supply circuit, one end of one output end of the solar battery connection inductance L1, another output
End ground connection, inductance L1 the other end connection capacitor C1, resistance R3, transformer T1 primary side one end, the capacitor C1, resistance R3
Other end connection after connect with the cathode of diode D1, the anode of diode D1 connects the other end of transformer T1 primary side,
The other end of the primary side of transformer T1 passes through one end of the first controllable switch Q5 connection variable resistance R4, variable resistance R4
The other end ground connection;The control terminal of first controllable switch Q5 connects first driving circuit, and first driving circuit includes
NPN triode Q1, PNP triode Q2.
The solar power supply circuit, the detection circuit include comparator AR1, optocoupler U1, resistance R1, variable resistance
R2, resistance R21, variable resistance R22;The one end the resistance R1 connects the anode of solar battery, the other end connection of resistance R1
One end of variable resistance R2, the other end ground connection of variable resistance R2, the other end of the resistance R1 are separately connected comparator AR1's
The anode of negative input end and optocoupler U1 outlet side, the positive input terminal of one end connection comparator AR1 of the resistance R21, resistance R21
The other end connection variable resistance R22 one end, variable resistance R22 the other end ground connection;The output end of comparator AR1 connects light
The anode of coupling U1 outlet side, the cathode ground connection of the input side of optocoupler U1, the cathode connection of the outlet side of optocoupler U1 first control
The AD analog-to-digital conversion interface of circuit processed;The detection circuit is supplied by adjusting variable resistance R2 and variable resistance R22, control first
The dividing ratios of circuit and the second power supply circuit, and partial pressure is input in comparator AR1 and carries out the first power supply circuit and
The voltage difference of two power supply circuits compares, and when being more than preset difference value, comparator AR1 exports high level and gives optocoupler U1, the light
Coupling U1 issues signal control outlet side conducting, and the AD modulus of first control circuit described in the other end communication channel of the resistance R1 turns
Alias carries out AD sampling, and the first control circuit calculated according to the result that AD is sampled, and output pwm signal is to institute
State the first controllable switch Q5.
The solar power supply circuit, second power supply circuit include battery, the second driving circuit, transformer T2,
Second controllable switch Q7, second control circuit, third output port;The anode of the battery is separately connected the first power supply circuit
Second output terminal mouth and resistance R9, capacitor C3, resistance R10, transformer T2 primary side one end, the other end difference of resistance R9
Connect one end of second driving circuit and capacitor C7, the cathode of zener diode D6, it is the other end of the capacitor C7, steady
Press the plus earth of diode D6;Second driving circuit includes NPN triode Q4, PNP triode Q5, resistance R11, described
The connecting pin of the reflection collection of the transmitting collection and PNP triode Q5 of NPN triode Q4 connects one end of the resistance R11, institute
The other end for stating resistance R11 connects the control terminal of the second controllable switch Q7, a non-controlling of the second controllable switch Q7
The other end of end connection transformer T2 primary side, the cathode of another non-controlling end connection battery of the second controllable switch Q7;
The second control circuit outputs a control signal to switching tube Q6 by output port, controls described the by control switch pipe Q6
Two driving circuits, the third output port connect the DC bus, and the third output port includes diode D5, capacitor
C4, resistance R12, resistance R13, the diode D5 anode connect one end of the transformer secondary, the diode D5
Cathode connection capacitor C4 one end, capacitor C4 the other end ground connection, resistance R12 one end connection diode D5 cathode, separately
One end connects one end of resistance R13, the other end ground connection of resistance R13, and the other end connection second control circuit of resistance R12 is adopted
Sample compares port.
A kind of method for controlling power supply of the solar power supply circuit as described in above-mentioned any one, includes the following steps:
Initialization starts power supply circuit;
Detect the voltage difference between the first power supply circuit and the second power supply circuit;
Judge whether difference is greater than a preset difference value;
If it is, acquiring the voltage of solar battery in the first power supply circuit, analog-to-digital conversion is carried out, according to the knot of analog-to-digital conversion
Fruit carries out calculation processing, obtains control command, controls the switching frequency in the first power supply circuit in voltage conversion circuit to maintain
The stabilization of output voltage;
If it is not, then controlling voltage output according to preset switching frequency.
The control method, the initialization, starting power supply circuit specifically include: solar energy when detection starting is initial
Voltage status generates switching frequency initial control values according to the solar energy initial voltage state, and according to the switching frequency
The output voltage values of initial control values control second output terminal mouth.
The control method, the DC bus connect DC load.
Advantageous effects obtained by the present invention are: the present invention is able to carry out multi-channel DC power supply, stores the sun in time
Can electric energy, and stablize according to the electric energy of storage and output valve the output valve of solar energy, offer direct current output that can be stable.This
Invention can be according to multiple-channel output be carried out, and according to the voltage difference being output between the voltage value of rear stage and solar battery
Value, it is determined whether starting adjustment switching frequency solves and carries out switching frequency adjusting always in the prior art, alleviates control electricity
Road calculates always bring fever and switching circuit constantly converts control frequency bring switching loss;As of the invention
Main improvement first is that, two-stage power supply is able to achieve by the sun, direct current supply can either be directly carried out, by transformation can be passed through
Circuit charges to the circuit of rear stage, realizes that power storage realizes power supply indirectly by charging, can adjust solar energy hair in time
The excessive situation of electric energy, is stored when electric energy is excessive in electric process, in electric energy deficiency, is powered by battery;Make
It is to pass through the voltage difference between input and output, it is determined whether start solar battery for another improvement of the invention
Voltage acquisition and detection, the adjusting number of switching frequency is reduced with this, extends the service life of circuit.
Specific embodiment
In order to enable the objectives, technical solutions, and advantages of the present invention are more clearly understood, below in conjunction with embodiment, to this
Invention is further elaborated;It should be appreciated that described herein, the specific embodiments are only for explaining the present invention, not
For limiting the present invention.To those skilled in the art, after access is described in detail below, other systems of the present embodiment
System, method and/or feature will become obvious.All such additional systems, method, feature and advantage are intended to be included in
It in this specification, is included within the scope of the invention, and by the protection of the appended claims.In description described in detail below
The other feature of the disclosed embodiments, and these characteristic roots will be apparent according to described in detail below.
As shown in Figure 1, for the invention proposes a kind of solar power supply circuits, comprising: the first power supply circuit, the second power supply
Circuit, DC bus, the first power supply circuit connection DC bus and the second power supply circuit, to described DC bus powered
And charge to the second power supply circuit, second power supply circuit connects DC bus, to DC bus powered;Described first
Detection circuit is also set up between power supply circuit and second power supply circuit, the detection circuit detects the first power supply circuit respectively
The first supply voltage and second power supply circuit the second supply voltage, determine first supply voltage and second power supply
Difference between voltage controls the output voltage of first power supply circuit according to the difference.
The solar power supply circuit, first power supply circuit include solar battery, the first output port, second
Output port, voltage conversion circuit, first control circuit;First output port connects the output of second power supply circuit
End, the second output terminal mouth connect the DC bus;The voltage conversion circuit includes transformer T1, the first controllable switch
Q5, the first driving circuit, the first control circuit control first controllable switch by first driving circuit, to adjust
The switching frequency of transformer is saved, the voltage of control second output terminal mouth keeps stablizing.
The solar power supply circuit, one end of one output end of the solar battery connection inductance L1, another output
End ground connection, inductance L1 the other end connection capacitor C1, resistance R3, transformer T1 primary side one end, the capacitor C1, resistance R3
Other end connection after connect with the cathode of diode D1, the anode of diode D1 connects the other end of transformer T1 primary side,
The other end of the primary side of transformer T1 passes through one end of the first controllable switch Q5 connection variable resistance R4, variable resistance R4
The other end ground connection;The control terminal of first controllable switch Q5 connects first driving circuit, and first driving circuit includes
NPN triode Q1, PNP triode Q2.
The solar power supply circuit, the detection circuit include comparator AR1, optocoupler U1, resistance R1, variable resistance
R2, resistance R21, variable resistance R22;The one end the resistance R1 connects the anode of solar battery, the other end connection of resistance R1
One end of variable resistance R2, the other end ground connection of variable resistance R2, the other end of the resistance R1 are separately connected comparator AR1's
The anode of negative input end and optocoupler U1 outlet side, the positive input terminal of one end connection comparator AR1 of the resistance R21, resistance R21
The other end connection variable resistance R22 one end, variable resistance R22 the other end ground connection;The output end of comparator AR1 connects light
The anode of coupling U1 outlet side, the cathode ground connection of the input side of optocoupler U1, the cathode connection of the outlet side of optocoupler U1 first control
The AD analog-to-digital conversion interface of circuit processed;The detection circuit is supplied by adjusting variable resistance R2 and variable resistance R22, control first
The dividing ratios of circuit and the second power supply circuit, and partial pressure is input in comparator AR1 and carries out the first power supply circuit and
The voltage difference of two power supply circuits compares, and when being more than preset difference value, comparator AR1 exports high level and gives optocoupler U1, the light
Coupling U1 issues signal control outlet side conducting, and the AD modulus of first control circuit described in the other end communication channel of the resistance R1 turns
Alias carries out AD sampling, and the first control circuit calculated according to the result that AD is sampled, and output pwm signal is to institute
State the first controllable switch Q5.
The solar power supply circuit, second power supply circuit include battery, the second driving circuit, transformer T2,
Second controllable switch Q7, second control circuit, third output port;The anode of the battery is separately connected the first power supply circuit
Second output terminal mouth and resistance R9, capacitor C3, resistance R10, transformer T2 primary side one end, the other end difference of resistance R9
Connect one end of second driving circuit and capacitor C7, the cathode of zener diode D6, it is the other end of the capacitor C7, steady
Press the plus earth of diode D6;Second driving circuit includes NPN triode Q4, PNP triode Q5, resistance R11, described
The connecting pin of the reflection collection of the transmitting collection and PNP triode Q5 of NPN triode Q4 connects one end of the resistance R11, institute
The other end for stating resistance R11 connects the control terminal of the second controllable switch Q7, a non-controlling of the second controllable switch Q7
The other end of end connection transformer T2 primary side, the cathode of another non-controlling end connection battery of the second controllable switch Q7;
The second control circuit outputs a control signal to switching tube Q6 by output port, controls described the by control switch pipe Q6
Two driving circuits, the third output port connect the DC bus, and the third output port includes diode D5, capacitor
C4, resistance R12, resistance R13, the diode D5 anode connect one end of the transformer secondary, the diode D5
Cathode connection capacitor C4 one end, capacitor C4 the other end ground connection, resistance R12 one end connection diode D5 cathode, separately
One end connects one end of resistance R13, the other end ground connection of resistance R13, and the other end connection second control circuit of resistance R12 is adopted
Sample compares port.
First control circuit, second control circuit are preferably the controllers such as DSP, ARM, including ADC analog-to-digital conversion interface, energy
The control signal such as PWM is enough exported, second control circuit further includes voltage comparison unit, external signal can be received, according to outer
Portion's signal and the reference voltage of internal preset carry out voltage comparison.1st foot of first control circuit is supply pin, can be passed through
The voltage signal of the output of voltage conversion circuit VR1, VR2, voltage conversion circuit VR1 receive the high voltage letter of the first output port
Number, it is converted to middle voltage signal and is separately input to voltage conversion circuit VR2 and the first driving circuit, voltage conversion circuit VR2 is defeated
Out to the 1st foot of first control circuit, to provide power supply to first control circuit.The middle voltage signal is returned switching tube Q3 and is mentioned
For upper pull-up voltage, voltage pull-up is carried out by resistance R8 switch tube Q3.
The 1st foot of first control circuit is power end, and the 3rd foot is AD sampling end, and the 5th foot is pwm signal output end, the
8 feet are ground terminal, only illustrate part pin function in figure, can choose any DSP or ARM for having above-mentioned function or
Person other have the control chip or control circuit of control function.Wherein, pin is illustration, is not necessarily needed
Control circuit is selected according to above-mentioned pin relationship.
The 1st foot of second control circuit is output end, is capable of providing output control signal, and the 2nd foot is power end, third
Foot is external signal input terminals, and the 4th foot is that end is arranged in reference voltage, and the 5th foot and the 8th foot are ground terminal, and the 6th foot and the 7th foot are
Biasing setting end.In figure only illustrate part pin function, can choose any DSP or ARM for having above-mentioned function or
Person other have the control chip or control circuit of control function.It may be preferred that first control circuit and the second control electricity
Road can be same control chip, such as the FPGA that control pin is more.
The battery BT1 is lithium ion battery.
As shown in Fig. 2, being the schematic diagram of solar power supply circuit control method of the invention.
A kind of method for controlling power supply of the solar power supply circuit as described in above-mentioned any one, includes the following steps:
Initialization starts power supply circuit;
Detect the voltage difference between the first power supply circuit and the second power supply circuit;
Judge whether difference is greater than a preset difference value;
If it is, acquiring the voltage of solar battery in the first power supply circuit, analog-to-digital conversion is carried out, according to the knot of analog-to-digital conversion
Fruit carries out calculation processing, obtains control command, controls the switching frequency in the first power supply circuit in voltage conversion circuit to maintain
The stabilization of output voltage;
If it is not, then controlling voltage output according to preset switching frequency.
The control method, the initialization, starting power supply circuit specifically include: solar energy when detection starting is initial
Voltage status generates switching frequency initial control values according to the solar energy initial voltage state, and according to the switching frequency
The output voltage values of initial control values control second output terminal mouth.
The control method, the DC bus connect DC load.The DC load includes electric car, battery
Deng the present invention can be preferably used in the electrical changing station of electric car, a station can be changed for electric car provide stable direct current and supply
Power supply.
Advantageous effects obtained by the present invention are: the present invention is able to carry out multi-channel DC power supply, stores the sun in time
Can electric energy, and stablize according to the electric energy of storage and output valve the output valve of solar energy, offer direct current output that can be stable.This
Invention can be according to multiple-channel output be carried out, and according to the voltage difference being output between the voltage value of rear stage and solar battery
Value, it is determined whether starting adjustment switching frequency solves and carries out switching frequency adjusting always in the prior art, alleviates control electricity
Road calculates always bring fever and switching circuit constantly converts control frequency bring switching loss;As of the invention
Main improvement first is that, two-stage power supply is able to achieve by the sun, direct current supply can either be directly carried out, by transformation can be passed through
Circuit charges to the circuit of rear stage, realizes that power storage realizes power supply indirectly by charging, can adjust solar energy hair in time
The excessive situation of electric energy, is stored when electric energy is excessive in electric process, in electric energy deficiency, is powered by battery;Make
It is to pass through the voltage difference between input and output, it is determined whether start solar battery for another improvement of the invention
Voltage acquisition and detection, the adjusting number of switching frequency is reduced with this, extends the service life of circuit.
Although describing the present invention by reference to various embodiments above, but it is to be understood that of the invention not departing from
In the case where range, many changes and modifications can be carried out.Therefore, be intended to foregoing detailed description be considered as it is illustrative and
It is unrestricted, and it is to be understood that following following claims (including all equivalents) is intended to limit spirit and model of the invention
It encloses.The above embodiment is interpreted as being merely to illustrate the present invention rather than limit the scope of the invention.It is reading
After the content of record of the invention, technical staff can be made various changes or modifications the present invention, these equivalence changes and
Modification equally falls into the scope of the claims in the present invention.