Disclosure of Invention
The invention provides a solar power supply circuit, comprising: the power supply system comprises a first power supply circuit, a second power supply circuit and a direct current bus, wherein the first power supply circuit is connected with the direct current bus and the second power supply circuit so as to supply power to the direct current bus and charge the second power supply circuit, and the second power supply circuit is connected with the direct current bus so as to supply power to the direct current bus; and a detection circuit is also arranged between the first power supply circuit and the second power supply circuit, the detection circuit respectively detects a first power supply voltage of the first power supply circuit and a second power supply voltage of the second power supply circuit, determines a difference value between the first power supply voltage and the second power supply voltage, and controls the output voltage of the first power supply circuit according to the difference value.
The first power supply circuit comprises a solar cell, a first output port, a second output port, a voltage conversion circuit and a first control circuit; the first output port is connected with the output end of the second power supply circuit, and the second output port is connected with the direct current bus; the voltage conversion circuit comprises a transformer T1, a first controllable switch Q5 and a first driving circuit, wherein the first controllable switch is controlled by the first driving circuit through the first control circuit so as to adjust the switching frequency of the transformer and control the voltage of the second output port to be kept stable.
In the solar power supply circuit, one output end of the solar battery is connected with one end of an inductor L1, the other output end of the solar battery is grounded, the other end of the inductor L1 is connected with one end of a primary side of a capacitor C1, a resistor R3 and a transformer T1, the other ends of the capacitor C1 and the resistor R3 are connected and then connected with a cathode of a diode D1, an anode of the diode D1 is connected with the other end of the primary side of a transformer T1, the other end of the primary side of the transformer T1 is connected with one end of a variable resistor R4 through a first controllable switch Q5, and the other end of the variable resistor R4 is grounded; the control end of the first controllable switch Q5 is connected with the first driving circuit, and the first driving circuit comprises an NPN triode Q1 and a PNP triode Q2.
The solar power supply circuit comprises a comparator AR1, an optocoupler U1, a resistor R1, a variable resistor R2, a resistor R21 and a variable resistor R22; one end of the resistor R1 is connected with the positive end of the solar cell, the other end of the resistor R1 is connected with one end of the variable resistor R2, the other end of the variable resistor R2 is grounded, the other end of the resistor R1 is respectively connected with the negative input end of the comparator AR1 and the positive electrode of the output side of the optical coupler U1, one end of the resistor R21 is connected with the positive input end of the comparator AR1, the other end of the resistor R21 is connected with one end of the variable resistor R22, and the other end of the variable resistor R22 is grounded; the output end of the comparator AR1 is connected with the anode of the output side of the optocoupler U1, the cathode of the input side of the optocoupler U1 is grounded, and the cathode of the output side of the optocoupler U1 is connected with the AD analog-to-digital conversion interface of the first control circuit; the detection circuit controls the voltage division proportion of the first power supply circuit and the second power supply circuit by adjusting the variable resistor R2 and the variable resistor R22, the divided voltage is input into the comparator AR1 to be compared with the voltage difference value of the first power supply circuit and the second power supply circuit, when the divided voltage exceeds the preset difference value, the comparator AR1 outputs high level to the optocoupler U1, the optocoupler U1 sends a signal to control the output side to be conducted, the other end of the resistor R1 is communicated with the AD analog-to-digital conversion interface of the first control circuit to carry out AD sampling, the first control circuit calculates according to the result of the AD sampling, and outputs a PWM signal to the first controllable switch Q5.
The second power supply circuit comprises a battery, a second driving circuit, a transformer T2, a second controllable switch Q7, a second control circuit and a third output port; the positive electrode of the battery is respectively connected with the second output port of the first power supply circuit, the resistor R9, the capacitor C3, the resistor R10 and one end of the primary side of the transformer T2, the other end of the resistor R9 is respectively connected with the second drive circuit, one end of the capacitor C7 and the cathode of the zener diode D6, and the other end of the capacitor C7 and the anode of the zener diode D6 are grounded; the second driving circuit comprises an NPN triode Q4, a PNP triode Q5 and a resistor R11, wherein a connection end of an emission set of the NPN triode Q4 and a reflection set of the PNP triode Q5 is connected to one end of the resistor R11, the other end of the resistor R11 is connected to a control end of the second controllable switch Q7, a non-control end of the second controllable switch Q7 is connected to the other end of the primary side of the transformer T2, and the other non-control end of the second controllable switch Q7 is connected to a negative electrode of the battery; the second control circuit passes through output port output control signal to switch tube Q6, through control switch tube Q6 control the second drive circuit, the third output port is connected the direct current generating line, the third output port includes diode D5, electric capacity C4, resistance R12, resistance R13, diode D5's positive pole is connected the one end of transformer secondary side, the one end of electric capacity C4 is connected to diode D5's negative pole, and electric capacity C4's other end ground connection, diode D5's negative pole is connected to resistance R12's one end, and the one end of other end connecting resistance R13, the other end ground connection of resistance R13, the sampling comparison port of second control circuit is connected to resistance R12's the other end.
A power supply control method for a solar power supply circuit as described in any one of the above, comprising the steps of:
initializing and starting a power supply circuit;
detecting a voltage difference between the first power supply circuit and the second power supply circuit;
judging whether the difference is larger than a preset difference or not;
if the voltage of the solar cell in the first power supply circuit is the voltage of the solar cell in the first power supply circuit, performing analog-to-digital conversion, performing calculation processing according to the result of the analog-to-digital conversion to obtain a control command, and controlling the switching frequency in the voltage conversion circuit in the first power supply circuit to maintain the stability of the output voltage;
if not, controlling the voltage output according to the preset switching frequency.
The control method, the initializing and starting the power supply circuit specifically includes: and detecting the initial voltage state of the solar energy during starting, generating a switching frequency initial control value according to the initial voltage state of the solar energy, and controlling the output voltage value of the second output port according to the switching frequency initial control value.
According to the control method, the direct current bus is connected with a direct current load.
The beneficial technical effects obtained by the invention are as follows: the solar photovoltaic power generation system can perform multi-path direct current power supply, timely store solar electric energy, stabilize the output value of the solar energy according to the stored electric energy and the output value, and stably provide direct current output. The invention can determine whether to start and adjust the switching frequency according to the multi-path output and the voltage difference between the voltage value output to the next stage and the solar battery, thereby solving the problems that the switching frequency is always adjusted in the prior art, the heating caused by the constant calculation of the control circuit is relieved, and the switching loss caused by the continuous conversion of the control frequency of the switching circuit is reduced; one of the main improvement points of the invention is that two-stage power supply is realized through solar energy, direct current power supply can be directly carried out, the circuit at the next stage can be charged through a conversion circuit, indirect power supply is realized through electric energy storage realized through charging, the situation of excessive electric energy in the solar power generation process can be timely adjusted, the electric energy is stored when the electric energy is excessive, and the power is supplied through a battery when the electric energy is insufficient; the other improvement point of the invention is that whether to start the voltage acquisition and detection of the solar battery is determined by the voltage difference between the input and the output, so as to reduce the adjustment times of the switching frequency and prolong the service life of the circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to embodiments thereof; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Other systems, methods, and/or features of the present embodiments will become apparent to those skilled in the art upon review of the following detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the accompanying claims. Additional features of the disclosed embodiments are described in, and will be apparent from, the detailed description that follows.
As shown in fig. 1, a solar power supply circuit provided by the present invention includes: the power supply system comprises a first power supply circuit, a second power supply circuit and a direct current bus, wherein the first power supply circuit is connected with the direct current bus and the second power supply circuit so as to supply power to the direct current bus and charge the second power supply circuit, and the second power supply circuit is connected with the direct current bus so as to supply power to the direct current bus; and a detection circuit is also arranged between the first power supply circuit and the second power supply circuit, the detection circuit respectively detects a first power supply voltage of the first power supply circuit and a second power supply voltage of the second power supply circuit, determines a difference value between the first power supply voltage and the second power supply voltage, and controls the output voltage of the first power supply circuit according to the difference value.
The first power supply circuit comprises a solar cell, a first output port, a second output port, a voltage conversion circuit and a first control circuit; the first output port is connected with the output end of the second power supply circuit, and the second output port is connected with the direct current bus; the voltage conversion circuit comprises a transformer T1, a first controllable switch Q5 and a first driving circuit, wherein the first controllable switch is controlled by the first driving circuit through the first control circuit so as to adjust the switching frequency of the transformer and control the voltage of the second output port to be kept stable.
In the solar power supply circuit, one output end of the solar battery is connected with one end of an inductor L1, the other output end of the solar battery is grounded, the other end of the inductor L1 is connected with one end of a primary side of a capacitor C1, a resistor R3 and a transformer T1, the other ends of the capacitor C1 and the resistor R3 are connected and then connected with a cathode of a diode D1, an anode of the diode D1 is connected with the other end of the primary side of a transformer T1, the other end of the primary side of the transformer T1 is connected with one end of a variable resistor R4 through a first controllable switch Q5, and the other end of the variable resistor R4 is grounded; the control end of the first controllable switch Q5 is connected with the first driving circuit, and the first driving circuit comprises an NPN triode Q1 and a PNP triode Q2.
The solar power supply circuit comprises a comparator AR1, an optocoupler U1, a resistor R1, a variable resistor R2, a resistor R21 and a variable resistor R22; one end of the resistor R1 is connected with the positive end of the solar cell, the other end of the resistor R1 is connected with one end of the variable resistor R2, the other end of the variable resistor R2 is grounded, the other end of the resistor R1 is respectively connected with the negative input end of the comparator AR1 and the positive electrode of the output side of the optical coupler U1, one end of the resistor R21 is connected with the positive input end of the comparator AR1, the other end of the resistor R21 is connected with one end of the variable resistor R22, and the other end of the variable resistor R22 is grounded; the output end of the comparator AR1 is connected with the anode of the output side of the optocoupler U1, the cathode of the input side of the optocoupler U1 is grounded, and the cathode of the output side of the optocoupler U1 is connected with the AD analog-to-digital conversion interface of the first control circuit; the detection circuit controls the voltage division proportion of the first power supply circuit and the second power supply circuit by adjusting the variable resistor R2 and the variable resistor R22, the divided voltage is input into the comparator AR1 to be compared with the voltage difference value of the first power supply circuit and the second power supply circuit, when the divided voltage exceeds the preset difference value, the comparator AR1 outputs high level to the optocoupler U1, the optocoupler U1 sends a signal to control the output side to be conducted, the other end of the resistor R1 is communicated with the AD analog-to-digital conversion interface of the first control circuit to carry out AD sampling, the first control circuit calculates according to the result of the AD sampling, and outputs a PWM signal to the first controllable switch Q5.
The second power supply circuit comprises a battery, a second driving circuit, a transformer T2, a second controllable switch Q7, a second control circuit and a third output port; the positive electrode of the battery is respectively connected with the second output port of the first power supply circuit, the resistor R9, the capacitor C3, the resistor R10 and one end of the primary side of the transformer T2, the other end of the resistor R9 is respectively connected with the second drive circuit, one end of the capacitor C7 and the cathode of the zener diode D6, and the other end of the capacitor C7 and the anode of the zener diode D6 are grounded; the second driving circuit comprises an NPN triode Q4, a PNP triode Q5 and a resistor R11, wherein a connection end of an emission set of the NPN triode Q4 and a reflection set of the PNP triode Q5 is connected to one end of the resistor R11, the other end of the resistor R11 is connected to a control end of the second controllable switch Q7, a non-control end of the second controllable switch Q7 is connected to the other end of the primary side of the transformer T2, and the other non-control end of the second controllable switch Q7 is connected to a negative electrode of the battery; the second control circuit passes through output port output control signal to switch tube Q6, through control switch tube Q6 control the second drive circuit, the third output port is connected the direct current generating line, the third output port includes diode D5, electric capacity C4, resistance R12, resistance R13, diode D5's positive pole is connected the one end of transformer secondary side, the one end of electric capacity C4 is connected to diode D5's negative pole, and electric capacity C4's other end ground connection, diode D5's negative pole is connected to resistance R12's one end, and the one end of other end connecting resistance R13, the other end ground connection of resistance R13, the sampling comparison port of second control circuit is connected to resistance R12's the other end.
The first control circuit and the second control circuit are preferably controllers such as a DSP (digital signal processor) and an ARM (advanced RISC machine), comprise an ADC (analog-to-digital conversion) interface and can output control signals such as PWM (pulse-width modulation), and the second control circuit further comprises a voltage comparison unit and can receive external signals and carry out voltage comparison according to the external signals and an internal preset reference voltage. The 1 st pin of the first control circuit is a power pin, and can pass through the voltage signals output by the voltage conversion circuits VR1 and VR2, the voltage conversion circuit VR1 receives the high voltage signal of the first output port, converts the high voltage signal into a medium voltage signal, and inputs the medium voltage signal into the voltage conversion circuit VR2 and the first drive circuit respectively, and the voltage conversion circuit VR2 outputs the 1 st pin of the first control circuit to provide power for the first control circuit. The medium voltage signal also provides a pull-up voltage to the transistor Q3, which pulls up the transistor Q3 through the resistor R8.
The 1 st pin of the first control circuit is a power supply end, the 3 rd pin is an AD sampling end, the 5 th pin is a PWM signal output end, the 8 th pin is a grounding end, only partial pin functions are shown in the figure, and any DSP or ARM with the functions or other control chips or control circuits with the control functions can be selected. The pins are only schematic and do not necessarily need to select the control circuit according to the pin relationship.
The 1 st foot of second control circuit is the output, can provide output control signal, and the 2 nd foot is the power end, and the third foot is external signal input end, and the 4 th foot is the reference voltage setting end, and the 5 th foot and the 8 th foot are the earthing terminal, and the 6 th foot and the 7 th foot are the setting end that inclines. Only part of the pin functions are shown in the figure, and any DSP or ARM or other control chip or control circuit with control function can be selected. Preferably, the first control circuit and the second control circuit may be a same control chip, such as an FPGA with more control pins.
The battery BT1 is a lithium ion battery.
Fig. 2 is a schematic diagram of the solar power supply circuit control method according to the present invention.
A power supply control method for a solar power supply circuit as described in any one of the above, comprising the steps of:
initializing and starting a power supply circuit;
detecting a voltage difference between the first power supply circuit and the second power supply circuit;
judging whether the difference is larger than a preset difference or not;
if the voltage of the solar cell in the first power supply circuit is the voltage of the solar cell in the first power supply circuit, performing analog-to-digital conversion, performing calculation processing according to the result of the analog-to-digital conversion to obtain a control command, and controlling the switching frequency in the voltage conversion circuit in the first power supply circuit to maintain the stability of the output voltage;
if not, controlling the voltage output according to the preset switching frequency.
The control method, the initializing and starting the power supply circuit specifically includes: and detecting the initial voltage state of the solar energy during starting, generating a switching frequency initial control value according to the initial voltage state of the solar energy, and controlling the output voltage value of the second output port according to the switching frequency initial control value.
According to the control method, the direct current bus is connected with a direct current load. The direct-current load comprises an electric automobile, a battery and the like, and the direct-current load can be preferably used in a power switching station of the electric automobile and can provide a stable direct-current power supply for the power switching station of the electric automobile.
The beneficial technical effects obtained by the invention are as follows: the solar photovoltaic power generation system can perform multi-path direct current power supply, timely store solar electric energy, stabilize the output value of the solar energy according to the stored electric energy and the output value, and stably provide direct current output. The invention can determine whether to start and adjust the switching frequency according to the multi-path output and the voltage difference between the voltage value output to the next stage and the solar battery, thereby solving the problems that the switching frequency is always adjusted in the prior art, the heating caused by the constant calculation of the control circuit is relieved, and the switching loss caused by the continuous conversion of the control frequency of the switching circuit is reduced; one of the main improvement points of the invention is that two-stage power supply is realized through solar energy, direct current power supply can be directly carried out, the circuit at the next stage can be charged through a conversion circuit, indirect power supply is realized through electric energy storage realized through charging, the situation of excessive electric energy in the solar power generation process can be timely adjusted, the electric energy is stored when the electric energy is excessive, and the power is supplied through a battery when the electric energy is insufficient; the other improvement point of the invention is that whether to start the voltage acquisition and detection of the solar battery is determined by the voltage difference between the input and the output, so as to reduce the adjustment times of the switching frequency and prolong the service life of the circuit.
Although the invention has been described above with reference to various embodiments, it should be understood that many changes and modifications may be made without departing from the scope of the invention. It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention. The above examples are to be construed as merely illustrative and not limitative of the remainder of the disclosure. After reading the description of the invention, the skilled person can make various changes or modifications to the invention, and these equivalent changes and modifications also fall into the scope of the invention defined by the claims.