Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
Fig. 1 is the structural representation of power supply of the present invention。As it is shown in figure 1, power supply includes input module 11, transformator 12, output module 13, feedback module 14 and transformator controls module 15。
Input module 11 is coupled to alternating current power supply, for the alternating current of alternating current power supply input is carried out rectifying and wave-filtering to produce primary direct current。
Transformator 12 is coupled to input module 11, is modulated for the primary direct current that input module 11 is produced and is transformed to load alternating current。
Output module 13 is coupled to transformator 12, and the load alternating current for transformator 12 is produced carries out rectifying and wave-filtering to produce load DC electricity。
Feedback module 14 is coupled to output module 13, feedback module 14 includes multiple feedback unit, wherein different feedback units is corresponding to the different target output valve of load DC electricity, feedback module 14 receives the selection signal of feedback control module output, and according to the feedback unit selected in the multiple feedback unit of signal behavior。
Transformator controls module 15 and is coupled between selected feedback unit and transformator 12, and the real output value for controlling load DC electricity is equal to the target output value that selected feedback unit is corresponding。
Wherein, feedback control module can be arranged in power supply, it is also possible to is arranged on inside the charging equipment being connected with power supply, and feedback control module is connected with feedback unit by the interface between power supply with charging equipment。
Fig. 2 is the circuit theory diagrams of the first embodiment of power supply of the present invention。As in figure 2 it is shown, power supply includes input module 21, transformator 22, output module 23, feedback module 24 and transformator controls module 25。
Wherein, input module 21 includes first input end the 211, second input the 212, first outfan 213 and the second outfan 214。Transformator 22 includes primary coil 221 and secondary coil 224。Output module 23 includes commutation diode D1 and electric capacity C1。Feedback module 24 includes voltage feedback unit 241, current feedback unit 242 or gating element U1, optoelectronic isolating element PH and the four switch element Q2。Transformator controls module 25 and includes second switch element Q1 and control chip U4。
The first input end 211 of input module 21 and the second input 212 are connected with the live wire L and zero line N of alternating current respectively, and the first outfan 213 is connected with the first end 222 of primary coil 221, and the second outfan 214 is connected with the first earth signal GND。
In the present embodiment, the first input end 211 of input module 21 and the second input 212 input AC electricity, alternating current, after input module 21 rectifying and wave-filtering processes, produces primary direct current between the first outfan 213 and the second outfan 214 and exports the primary coil 221 to transformator 22。
Second end 223 of the primary coil 221 of transformator 22 controls module 25 with transformator and is connected, and specifically, the second end 223 of primary coil 221 is connected with second switch element Q1, and second switch element Q1 is connected with control chip U4。
Specifically, second switch element Q1 is audion, control chip U4 includes driving pin GATE and Voltage Feedback pin FB, second end 223 of primary coil 221 is connected with the colelctor electrode of second switch element Q1, the emitter stage of second switch element Q1 and the first earth signal GND connect, the base stage of second switch element Q1 is connected with the driving pin GATE of control chip U4, and the Voltage Feedback pin FB of control chip U4 is connected with feedback module 24。
In the present embodiment, control chip U4 controls second switch element Q1 intermittent conduction by pulse width modulation mode and then the primary direct current flowing through second switch element Q1 from primary coil 221 is modulated and is transformed to load alternating current。
The secondary coil 224 of transformator 22 is connected with output module 23, specifically, first end 225 of secondary coil 224 is connected with the anode of commutation diode D1, electric capacity C1 is connected in series between the negative electrode of commutation diode D1 and the second end 226 of secondary coil 224, and the second end 226 of secondary coil 224 is connected with the second earth signal VSS。
In the present embodiment, the load alternating current produced in secondary coil 224 is carried out rectifying and wave-filtering by commutation diode D1 and electric capacity C1 in output module 23, thus at the common node place output loading unidirectional current of commutation diode D1 and electric capacity C1。Wherein, load DC electricity includes the output voltage Vout of load DC electricity and the output electric current Iout of load DC electricity。
Feedback module 24 is coupled to output module 23, and specifically, voltage feedback unit 241 and current feedback unit 242 in feedback module 24 are respectively coupled to output module 23。
Fig. 3 is the circuit theory diagrams of voltage feedback unit in Fig. 2。As it is shown on figure 3, voltage feedback unit 241 include the first comparator U2, the first divider resistance Re, multiple second divider resistance RvN (N=1,2 ..., n) and multiple first switch element QvN (N=1,2 ..., n)。
Wherein, one end of the first divider resistance Re in voltage feedback unit 241 is connected with the output voltage Vout of the load DC electricity in Fig. 2, namely be connected with the common node place of the commutation diode D1 in output module in Fig. 2 23 and electric capacity C1, the other end of the first divider resistance Re and the reverse input end of the first comparator U2 connect。
In voltage feedback unit 241, when the first switch element QvN is NMOS tube, the source electrode of multiple first switch element QvN is connected to each other, and be connected with the first earth signal GND in Fig. 2, the grid of multiple first switch element QvN is connected with multiple Voltage selection signal VsenN of feedback control module output respectively, the drain electrode of multiple first switch element QvN is connected with one end of multiple second divider resistance RvN respectively, the other end of multiple second divider resistance RvN is connected to each other, and be connected with the common node place of the first divider resistance Re and the reverse input end of the first comparator U2, the positive input of the first comparator U2 connects the first reference voltage VREF1。
Preferably, feedback control module is arranged in the supply, feedback control module can be micro-control unit (MicroControlUnit, MCU), the Voltage selection signal VsenN of MCU output and the electric current that is mentioned below select signal IsenN by the charging equipment interface by charging equipment, such as USB interface etc., the universal input/output interface (GeneralPurposeInputOutput, GPIO) controlling MCU obtains。It will be understood by those skilled in the art that feedback control module can also be arranged in charging equipment, now, Voltage selection signal VsenN and electric current select signal IsenN to be transferred to the feedback module of power supply from charging equipment by special interface。
In the present embodiment, the Voltage selection signal VsenN exported by feedback control module selects the second different divider resistance RvN and the first divider resistance Re to form the first different bleeder circuits, utilize the first bleeder circuit that the output voltage Vout of load DC electricity is sampled, thus obtaining the first different sampled voltage Va, wherein, the first sampled voltage Va is the voltage at the reverse input end place of the first comparator U2。
For example, as N=3, voltage feedback unit 241 includes three the second divider resistances, and it is Rv1, Rv2 and Rv3 respectively, and three the first switch elements, and it is Qv1, Qv2 and Qv3 respectively。Wherein, the grid of three the first switch elements connects from three different Voltage selection signal Vsen1, Vsen2 and Vsen3 of feedback control module output respectively。
When Voltage selection signal Vsen1, Vsen2 and Vsen3 are high level, first switch element Qv1, the drain electrode of Qv2 and Qv3 and source conduction, second divider resistance Rv1, Rv2 and the Rv3 being connected with first switch element Qv1, Qv2 and Qv3 respectively has electric current to flow through, now, second divider resistance Rv1, Rv2 and Rv3 are in work namely the state chosen, itself and the first divider resistance Re form the first pressure divider circuit and sample with the output voltage Vout to load DC electricity, thus obtaining the first sampled voltage Va。
When Voltage selection signal Vsen1, Vsen2 and Vsen3 are low level, first switch element Qv1, the drain electrode of Qv2 and Qv3 and source electrode cut-off, second divider resistance Rv1, Rv2 and the Rv3 being connected with first switch element Qv1, Qv2 and Qv3 respectively does not have electric current to flow through, now, the second divider resistance Rv1, Rv2 and Rv3 its be in and do not work namely not selected state。
Feedback control module controls the low and high level of Voltage selection signal Vsen1, Vsen2 and Vsen3, thus selecting at least one in the second divider resistance Rv1, Rv2 and Rv3 to form the first pressure divider circuit with the first divider resistance Re。
Preferably, second divider resistance Rv1, Rv2 and Rv3 have different resistance values, the signal that feedback control module controls in Voltage selection signal Vsen1, Vsen2 and Vsen3 is high level, thus choosing one in three the second divider resistance Rv1, Rv2 and Rv3 to form the first pressure divider circuit with the first divider resistance Re。Now, the first sampled voltage Va is calculated according to equation below:
Va=Vout*Rvn/ (Re+Rvn);
Wherein, Vout is the output voltage of load DC electricity, and Re is the resistance of the first divider resistance, and Rvn is the resistance of the second divider resistance chosen, and it is specially in three the second divider resistance Rv1, Rv2 and Rv3。
It will be appreciated by those skilled in the art that, when the multiple signals in feedback control module control Voltage selection signal Vsen1, Vsen2 and Vsen3 are high level, thus choosing multiple and the first divider resistance Re in three the second divider resistance Rv1, Rv2 and Rv3 to form the first pressure divider circuit, now, the Rvn in above-mentioned formula be multiple second divider resistances chosen parallel with one another after the resistance value that obtains。Such as, when feedback control module control Voltage selection signal Vsen1 and Vsen2 is high level, the second divider resistance Rv1 and Rv2 forms pressure divider circuit with the first divider resistance Re, and now Rvn is the resistance value arrived after Rv1 and Rv2 parallel connection。In actual applications, the first pressure divider circuit is formed by second divider resistance and the first divider resistance, compared with forming the first pressure divider circuit with multiple second divider resistances of use and the first divider resistance, adopt simple circuit can realize the accurate control of the output voltage to load DC electricity, be more suitable for practical application。
In the present embodiment, first comparator U2 compares the first sampled voltage Va and the first reference voltage VREF1, wherein, when the first sampled voltage Va is more than the first reference voltage VREF1, the outfan of the first comparator U2 exports the first feedback signal, quit work thus controlling control chip U4, in order to regulate the size carrying galvanic output voltage Vout and then to make the first sampled voltage Va close to the first reference voltage VREF1;When the first sampled voltage Va is less than the first reference voltage VREF1, the outfan of the first comparator U2 exports the second feedback signal, thus controlling control chip U4 normal operation, in order to the size of the galvanic output voltage Vout of regulating load and then make the first sampled voltage Va close to the first reference voltage VREF1。
When Va is close to the first reference voltage VREF1, above-mentioned formula is carried out conversion can obtain:
Vout=VREF1* (1+Re/Rvn);
Wherein, VREF1 is the first reference voltage, and Re is the resistance of the first divider resistance, and Rvn is the resistance of the second divider resistance chosen, and it is specially in three the second divider resistance Rv1, Rv2 and Rv3。
In actual applications, the first reference voltage VREF1 and the first divider resistance Re is generally fixed value, now, by choosing the second different divider resistance Rvn can obtain different output voltage Vout。Those skilled in the art it will be seen that, above-mentioned N=3 is only for example, and the present invention is not limited。
It is the circuit theory diagrams of current feedback unit in Fig. 2 please also refer to Fig. 4, Fig. 4。As shown in Figure 4, current feedback unit 242 include the current sense resistor Ra shown in Fig. 1, the second comparator U3, the 3rd divider resistance Rd, multiple 4th divider resistance RiN (N=1,2 ..., n) and multiple 3rd switch element QiN (N=1,2 ..., n)。
Wherein, one end of the current sense resistor Ra in current feedback unit 242 is connected to the common node place of the electric capacity C1 in output module 13 and the second end 226 of secondary coil 224, the other end of current sense resistor Ra and the first earth signal GND connection。Current sense resistor Ra is for sampling to produce the 3rd sampled voltage VRa to the output electric current Iout of load DC electricity, specifically, 3rd sampled voltage VRa is that the output electric current Iout of load DC electricity flows through current sense resistor Ra thus the voltage that produces at the two ends of current sense resistor Ra, namely VRa=Ra*Iout。
In current feedback unit 242, when the 3rd switch element QiN is NMOS tube, the source electrode of multiple 3rd switch element QiN is connected to each other, and be connected with the first earth signal GND in Fig. 2, the grid of multiple 3rd switch element QiN selects signal IsenN to be connected with multiple electric currents of feedback control module output respectively, the drain electrode of multiple 3rd switch element QiN is connected with one end of multiple 4th divider resistance RiN respectively, the other end of multiple 4th divider resistance RiN is connected to each other, and be connected with one end of the 3rd divider resistance Rd, the other end of the 3rd divider resistance Rd and the second reference voltage VREF2 connect, the positive input of the second comparator U3 connects the common node between the 3rd divider resistance Rd and multiple 4th divider resistance RiN, the inverse output terminal of the second comparator U3 connects the 3rd sampled voltage VRa associated of the output electric current Iout with load DC electricity。
Preferably; current feedback unit 242 farther includes current-limiting resistance Rc; one end of current-limiting resistance Rc is connected with the reverse input end of the U3 of the second comparator; the other end and the 3rd sampled voltage VRa connect, in order to limit the electric current of the reverse input end flowing through the second comparator U3 thus protecting the second comparator U3 normal operation。
In the present embodiment, the electric current exported by feedback control module selects signal IsenN to select the 4th different divider resistance RiN and the three divider resistance Rd to form the second different bleeder circuits, utilize the second bleeder circuit that the second reference voltage VREF2 is sampled, thus obtaining the second different sampled voltage Vb, wherein, the second sampled voltage Vb is the voltage at the positive input place of the second comparator U3。
For example, as N=3, current feedback unit 242 includes three the 4th divider resistances, and it is Ri1, Ri2 and Ri3 respectively, and three the 3rd switch elements, and it is Qi1, Qi2 and Qi3 respectively。Wherein, the grid of three the 3rd switch elements selects signal Isen1, Isen2 and Isen3 to connect from three different electric currents of feedback control module output respectively。
When electric current selects signal Isen1, Isen2 and Isen3 to be high level, 3rd switch element Qi1, the drain electrode of Qi2 and Qi3 and source conduction, electric current is had to flow through with the 3rd switch element Qi1, Qi2 and Qi3 the 4th divider resistance Ri1, Ri2 and Ri3 being connected respectively, now, 4th divider resistance Ri1, Ri2 and Ri3 are in work namely the state chosen, itself and the 3rd divider resistance Rd form the second pressure divider circuit so that the second reference voltage to carry out sampling VREF2, thus obtaining the second sampled voltage Vb。
When electric current selects signal Isen1, Isen2 and Isen3 to be low level, 3rd switch element Qi1, the drain electrode of Qi2 and Qi3 and source electrode cut-off, electric current is not had to flow through with the 3rd switch element Qi1, Qi2 and Qi3 the 4th divider resistance Ri1, Ri2 and Ri3 being connected respectively, now, the 4th divider resistance Ri1, Ri2 and Ri3 are in and do not work namely not selected state。
Feedback control module controls electric current and selects the low and high level of signal Isen1, Isen2 and Isen3, thus selecting at least one in the 4th divider resistance Ri1, Ri2 and Ri3 to form the second pressure divider circuit with the 3rd divider resistance Rd。
Preferably, 4th divider resistance Ri1, Ri2 and Ri3 have different resistance values, feedback control module controls electric current and selects one in signal Isen1, Isen2 and Isen3 to be high level, thus choosing one in three the 4th divider resistance Ri1, Ri2 and Ri3 to form the second pressure divider circuit with the 3rd divider resistance Rd。Now, the second sampled voltage Vb is calculated according to equation below:
Vb=VREF2*Rin/ (Rd+Rin);
Wherein, VREF2 is the second reference voltage, and Rd is the resistance of the 3rd divider resistance, and Rin is the resistance of the 4th divider resistance chosen, and it is specially in three the 4th divider resistance Ri1, Ri2 and Ri3。
It will be appreciated by those skilled in the art that, when feedback control module control electric current selects the multiple signals in signal Isen1, Isen2 and Isen3 to be high level, thus that chooses in three the 4th divider resistance Ri1, Ri2 and Ri3 multiple forms the second pressure divider circuit with the 3rd divider resistance Rd, now, the Rin in above-mentioned formula be multiple 4th divider resistances chosen parallel with one another after the resistance value that obtains。In actual applications, the second pressure divider circuit is formed by the 4th divider resistance and the 3rd divider resistance, compared with forming the second pressure divider circuit with multiple 4th divider resistances of use and the first divider resistance, adopt simple circuit can realize the accurate control of the output electric current to load DC electricity, be more suitable for practical application。
In the present embodiment, second comparator U3 compares the second sampled voltage Vb and the three sampled voltage VRa, wherein, when the second sampled voltage Vb is more than the 3rd sampled voltage VRa, outfan output the 3rd feedback signal of the second comparator U3, quit work thus controlling control chip U4, in order to the size of the galvanic output electric current Iout of regulating load and then make the 3rd sampled voltage VRa close to the second sampled voltage Vb;When the second sampled voltage Vb is less than the 3rd sampled voltage VRa, outfan output the 4th feedback signal of the second comparator U3, thus controlling control chip U4 normal operation, in order to the size of the galvanic output electric current Iout of regulating load and then make the 3rd sampled voltage VRa close to the second sampled voltage Vb。
When the 3rd sampled voltage VRa is close to the second sampled voltage Vb, can obtain according to above-mentioned two formula:
Iout=VREF2/Ra* (1+Rd/Rin);
Wherein, VREF2 is the second reference voltage, and Ra is the resistance of current sense resistor, and Rd is the resistance of the 3rd divider resistance, and Rin is the resistance of the 4th divider resistance chosen, and it is specially in three the 4th divider resistance Ri1, Ri2 and Ri3。
In actual applications, the second reference voltage VREF2, current sense resistor Ra and the three divider resistance Rd are generally fixed value, now, by choosing the 4th different divider resistance Rin can obtain different output electric current Iout。Those skilled in the art it will be seen that, above-mentioned N=3 is only for example, and the present invention is not limited。
Further, in order to realize the 3rd feedback signal or the control to control chip U4 of the 4th feedback signal of the first comparator U2 the first feedback signal exported or the second feedback signal and the second comparator U3 output, feedback module 24 or the outfan of the first input end of gating element U1 and the first comparator U2 connect, or the outfan of second input of gating element U2 and the second comparator U3 connects, or the base stage of the outfan of gating element U2 and the 4th switch element Q2 connects, the emitter stage of the 4th switch element Q2 and the second earth signal VSS connect, the colelctor electrode of the 4th switch element Q2 is connected with the negative electrode of optoelectronic isolating element PH, the anode of optoelectronic isolating element PH is connected with the output voltage Vout of load DC electricity, the emitter stage of optoelectronic isolating element PH and the first earth signal GND connect, the colelctor electrode of optoelectronic isolating element PH is connected with the Voltage Feedback pin FB of control chip U4。
Preferably; feedback module 14 farther includes current-limiting resistance Rb; current-limiting resistance Rb is serially connected with between the anode of output voltage Vout and optoelectronic isolating element PH, so that the electric current flowing through optoelectronic isolating element PH to be limited, thus protecting the normal operation of optoelectronic isolating element PH。
In the present embodiment, the 4th switch element Q2 for controlling conducting and the disconnection of optoelectronic isolating element PH by the conducting of self and cut-off。When the outfan of the first comparator U2 exports outfan output three feedback signal of the first feedback signal or the second comparator U3, or the outfan output high level of gating element U1, thus controlling to turn between the collector and emitter of the 4th switch element Q2, then make optoelectronic isolating element PH in the conduction state。Now, the Voltage Feedback pin FB and the first earth signal GND of control chip U4 connects, and control chip U4 quits work。When the outfan of the first comparator U2 exports outfan output four feedback signal of the second feedback signal the second comparator U3 simultaneously, or the outfan output low level of gating element U1, thus controlling the 4th switch element Q2 cut-off, then optoelectronic isolating element PH is made to be off, control chip U4 normal operation。
Preferably, in the present embodiment, the first reference voltage VREF1 and the second reference voltage VREF2 connects same reference voltage V cc, reference voltage V cc is provided by voltage stabilizing chip U5 and voltage regulation resistance Rf。Wherein, the anode of voltage stabilizing chip U5 and the first earth signal GND connect, and the negative electrode of voltage stabilizing chip U5 is connected with one end of voltage regulation resistance Rf, and the other end of voltage regulation resistance Rf is connected with output voltage Vout, and the benchmark pole of voltage stabilizing chip U5 provides reference voltage V cc。
It should be noted that the amendment that those skilled in the art can make on circuit according to the function that voltage feedback unit in the present embodiment 241 and current feedback unit 242 realize completely。Such as, utilizing relay to replace optoelectronic isolating element PH etc., the present invention is not restricted to the concrete circuit implementation of voltage feedback unit 241 and current feedback unit 242, only need to meet the function of its realization。
Fig. 5 is the circuit theory diagrams of the second embodiment of power supply of the present invention。As it is shown in figure 5, power supply includes input module 31, transformator 32, output module 33, feedback module 34 and transformator controls module 35。
Wherein, input module 31 includes first input end the 311, second input the 312, first outfan 313 and the second outfan 314。Transformator 32 includes primary side winding 321, auxiliary winding 322 and vice-side winding 323。Output module 33 includes commutation diode D1 and electric capacity C1。Feedback module 34 includes voltage feedback unit 341, current feedback unit 342。Transformator controls module 35 and includes second switch element Q1 and control chip U1。
The first input end 311 of input module 31 and the second input 312 are connected with the live wire L and zero line N of alternating current respectively, and the first outfan 313 is connected with the first end 324 of primary side winding 321, and the second outfan 314 is connected with the first earth signal GND。
In the present embodiment, the first input end 311 of input module 31 and the second input 312 input AC electricity, alternating current, after the rectifying and wave-filtering of input module 31 processes, produces primary direct current between the first outfan 313 and the second outfan 314 and exports the primary side winding 321 to transformator 32。
Second end 325 of the primary side winding 321 of transformator 22 controls module 35 with transformator and is connected, and specifically, the second end 325 of primary side winding 321 is connected with second switch element Q1, and second switch element Q1 is connected with control chip U1。
Specifically, second switch element Q1 is audion, control chip U1 includes driving pin GATE, Voltage Feedback pin FB, current detecting pin CS and power pins Vcc, second end 325 of primary side winding 321 is connected with the colelctor electrode of second switch element Q1, the base stage of second switch element Q1 is connected with the driving pin GATE of control chip U1, current feedback unit 342 in the current detecting pin CS of the emitter stage of second switch element Q1 and control chip U1 and feedback module 34 is connected, the Voltage Feedback pin FB of control chip U1 is connected with the voltage feedback unit 341 in feedback module 34。
The auxiliary winding 322 of transformator 32 is for powering to control chip U1。Specifically, power supply 300 farther includes current-limiting resistance Ra and commutation diode D2, one end of current-limiting resistance Ra is connected with the first end 326 of auxiliary winding 322, in order to obtain the boost voltage Vaux of auxiliary winding 322, the other end of current-limiting resistance Ra is connected with the anode of commutation diode D2, the negative electrode of commutation diode D2 is connected with the power pins VCC of control chip U1, and the second end 327 of auxiliary winding 322 connects the first earth signal GND。
In the present embodiment, control chip U1 controls second switch element Q1 intermittent conduction by pulse width modulation mode and then the primary direct current flowing through second switch element Q1 from primary side winding 321 is modulated and is transformed to load alternating current。
The vice-side winding 323 of transformator 32 is connected with output module 33, specifically, first end 328 of vice-side winding 323 is connected with the anode of commutation diode D1, electric capacity C1 is connected in series in the negative electrode of commutation diode D1 and the second end 329 of vice-side winding 323, and the second end 329 of vice-side winding 323 is connected with the second earth signal VSS。
In the present embodiment, load alternating current is carried out rectifying and wave-filtering by commutation diode D1 and electric capacity C1 in output module 33, thus at the common node place output loading unidirectional current of commutation diode D1 and electric capacity C1。Wherein, load DC electricity includes the output voltage Vout of load DC electricity and the output electric current Iout of load DC electricity。
Feedback module 34 is coupled to output module 33 and transformator controls between module 35, and specifically, voltage feedback unit 341 and current feedback unit 342 in feedback module 34 are respectively coupled between output module 33 and transformator control module 35。
It is the circuit theory diagrams of voltage feedback unit in Fig. 5 please also refer to Fig. 6, Fig. 6。As shown in Figure 6, voltage feedback unit 341 includes the first divider resistance Re, multiple second divider resistance RvN (N=1,2 ..., n), multiple first optoelectronic isolating element PHvN (N=1,2 ..., n) and multiple first switch element QvN (N=1,2 ..., n)。
In voltage feedback unit 341, one end of first divider resistance Re is connected with the boost voltage Vaux in Fig. 4, namely be connected with the first end 326 of auxiliary winding 322, second end of the first divider resistance Re is connected with the Voltage Feedback pin FB of Fig. 4 control chip U1, the Voltage Feedback pin FB that one end of multiple second divider resistance RvN is connected to each other and is connected in Fig. 4 control chip U1, the other end of multiple second divider resistance RvN is connected with the colelctor electrode of multiple first optoelectronic isolating element PHvN respectively, the first earth signal GND that the emitter stage of multiple first optoelectronic isolating element PHvN is connected to each other and is connected in Fig. 5, the anode of multiple first optoelectronic isolating element PHvN be connected to each other and be connected in Fig. 4 load DC electricity output voltage Vout, namely the common node place of commutation diode D1 and electric capacity C1, when the first switch element QvN is NMOS tube, the negative electrode of multiple first optoelectronic isolating element PHvN is connected with the source electrode of multiple first switch element QvN respectively, the second earth signal VSS that the drain electrode of multiple first switch element QvN is connected to each other and is connected in Fig. 5, the grid of multiple first switch element QvN is connected with multiple Voltage selection signal VsenN of feedback control module output respectively。
Preferably; voltage feedback unit 341 farther includes multiple current-limiting resistance R1N (N=1; 2 ...; n); multiple current-limiting resistance R1N are serially connected with between anode and the output voltage Vout of multiple first optoelectronic isolating element PHvN respectively; in order to limit the electric current flowing through the first optoelectronic isolating element PHvN, to protect the first optoelectronic isolating element PHvN normal operation。
Preferably, feedback control module is arranged in the supply, feedback control module can be micro-control unit (MicroControlUnit, MCU), the Voltage selection signal VsenN of MCU output and the electric current that is mentioned below select signal IsenN by the charging equipment interface by charging equipment, such as USB interface etc., the universal input/output interface (GeneralPurposeInputOutput, GPIO) controlling MCU obtains。It will be understood by those skilled in the art that feedback control module can also be arranged in charging equipment, now, Voltage selection signal VsenN and electric current select signal IsenN to be transferred to the feedback module of power supply from charging equipment by special interface。
In the present embodiment, the Voltage selection signal VsenN of feedback control module output selects the second different divider resistance RvN and the first divider resistance Re to form different bleeder circuits, when the voltage at the Voltage Feedback pin FB place of control chip U1 is fixed value, select the second different divider resistance RvN will to cause that the electric current flowing through the first divider resistance Re changes, the boost voltage Vaux further resulted in auxiliary winding 322 changes, and the output voltage Vout ultimately resulting in load DC electricity changes。
For example, as N=3, voltage feedback unit 341 includes three the second divider resistances, it is Rv1, Rv2 and Rv3 respectively, three the first optoelectronic isolating elements, and it is PHv1, PHv2 and PHv3 respectively, and three the first switch elements, it is Qv1, Qv2 and Qv3 respectively。Wherein, Voltage selection signal Vsen1, Vsen2 and Vsen3 that the grid of three the first switch elements is different from three respectively connects。
When Voltage selection signal Vsen1, Vsen2 and Vsen3 are high level, first switch element Qv1, the drain electrode of Qv2 and Qv3 and source conduction, so that the first optoelectronic isolating element PHv1, PHv2 and PHv3 are in the conduction state, then second divider resistance Rv1, Rv2 and the Rv3 being connected with the colelctor electrode of first optoelectronic isolating element PHv1, PHv2 and PHv3 respectively is made to have electric current to flow through, now, second divider resistance Rv1, Rv2 and Rv3 are in work namely the state chosen, and itself and the first divider resistance Re form pressure divider circuit so that boost voltage Vaux to be sampled。
When Voltage selection signal Vsen1, Vsen2 and Vsen3 are low level, first switch element Qv1, the drain electrode of Qv2 and Qv3 and source electrode cut-off, so that the first optoelectronic isolating element PHv1, PHv2 and PHv3 are off, second divider resistance Rv1, Rv2 and the Rv3 being connected with the colelctor electrode of first optoelectronic isolating element PHv1, PHv2 and PHv3 respectively does not have electric current to flow through, now, the second divider resistance Rv1, Rv2 and Rv3 are in and do not work namely not selected state。
Feedback control module controls the low and high level of Voltage selection signal Vsen1, Vsen2 and Vsen3, thus selecting at least one in the second divider resistance Rv1, Rv2 and Rv3 to form pressure divider circuit with the first divider resistance Re。
Preferably, second divider resistance Rv1, Rv2 and Rv3 have different resistance values, the signal that feedback control module controls in Voltage selection signal Vsen1, Vsen2 and Vsen3 is high level, thus choosing one in three the second divider resistance Rv1, Rv2 and Rv3 to form pressure divider circuit with the first divider resistance Re。Now, the boost voltage Vaux in auxiliary winding is calculated according to equation below:
Vaux=Vfb* (1+Re/Rvn);
Wherein, Vfb is the voltage at the Voltage Feedback pin FB place of control chip U1, and Re is the resistance of the first divider resistance, and Rvn is the resistance of the second divider resistance chosen, and it is specially in three the second divider resistance Rv1, Rv2 and Rv3。
It will be appreciated by those skilled in the art that, when the multiple signals in feedback control module control Voltage selection signal Vsen1, Vsen2 and Vsen3 are high level, thus choosing multiple and the first divider resistance Re in three the second divider resistance Rv1, Rv2 and Rv3 to form pressure divider circuit, now, the Rvn in above-mentioned formula be multiple second divider resistances chosen parallel with one another after the resistance value that obtains。Such as, when feedback control module control Voltage selection signal Vsen1 and Vsen2 is high level, the second divider resistance Rv1 and Rv2 forms pressure divider circuit with the first divider resistance Re, and now Rvn is the resistance value arrived after Rv1 and Rv2 parallel connection。In actual applications, the first pressure divider circuit is formed by second divider resistance and the first divider resistance, compared with forming the first pressure divider circuit with multiple second divider resistances of use and the first divider resistance, adopt simple circuit can realize the accurate control of the output voltage to load DC electricity, be more suitable for practical application。
Further, the relation according to the voltage of transformator Yu the number of turn of winding:
Vout=Vaux*Ns/Naux
Wherein, Vout is the output voltage of load DC electricity, and Ns is the number of turn of vice-side winding, and Vaux is the boost voltage of auxiliary winding, and Naux is the number of turn of auxiliary winding。
The formula that can obtain the galvanic output voltage Vout of computational load according to above-mentioned two formula is:
Vout=Ns*Vfb* (1+Re/Rvn)/Naux;
Wherein, Vout is the output voltage of load DC electricity, Vfb is the voltage at the Voltage Feedback pin FB place of control chip U1, Re is the resistance of the first divider resistance, Rvn is the resistance of the second divider resistance chosen, it is specially in three the second divider resistance Rv1, Rv2 and Rv3, and Naux is the number of turn of auxiliary winding。
In actual applications, the voltage Vfb at Voltage Feedback pin FB place of control chip U1, the number of turn Ns of vice-side winding, the number of turn Naux of auxiliary winding and the resistance Re of the first divider resistance are fixed value, now, by choosing the second different divider resistance Rvn can obtain different output voltage Vout。Those skilled in the art it will be seen that, above-mentioned N=3 is only for example, and the present invention is not limited。
It is the circuit theory diagrams of current feedback unit in Fig. 5 please also refer to Fig. 7, Fig. 7。As it is shown in fig. 7, current feedback unit 342 include multiple shunt resistance RiN (N=1,2 ..., n), multiple second optoelectronic isolating element PHiN (N=1,2 ..., n) and multiple 3rd switch element QiN (N=1,2 ..., n)。
In current feedback unit 342, the current sense pin CS that one end of multiple shunt resistance RiN is connected to each other and is connected in Fig. 5 control chip U1, the other end of multiple shunt resistance RiN is connected with the colelctor electrode of multiple second optoelectronic isolating element PHiN respectively, the first earth signal GND that the emitter stage of multiple second optoelectronic isolating element PHiN is connected to each other and is connected in Fig. 5, the anode of multiple second optoelectronic isolating element PHiN be connected to each other and be connected in Fig. 5 load DC electricity output voltage Vout, namely the common node place of commutation diode D1 and electric capacity C1, when the 3rd switch element QiN is NMOS tube, the negative electrode of multiple second optoelectronic isolating element PHiN is connected with the source electrode of multiple 3rd switch element QiN respectively, the second earth signal VSS that the drain electrode of multiple 3rd switch element QiN is connected to each other and is connected in Fig. 5, the grid of multiple 3rd switch element QiN selects signal IsenN to be connected with multiple electric currents of feedback control module output respectively。
Preferably; current feedback unit 342 farther includes multiple current-limiting resistance R2N (N=1; 2 ...; n); multiple second current-limiting resistance R2N are serially connected with between anode and the output voltage Vout of multiple second optoelectronic isolating element PHiN respectively; in order to limit the electric current flowing through the second optoelectronic isolating element PHiN, to protect the second optoelectronic isolating element PHiN normal operation。
In the present embodiment, the electric current of feedback control module output selects signal IsenN to select different shunt resistance RiN, when the voltage Vcs at the current detecting pin CS place of control chip U1 is fixed value, different shunt resistance RiN and second switch element Q1 is selected to form different current-limiting circuits and the electric current flowing through primary side winding 321 is carried out current limliting, namely select different shunt resistance RiN will to cause that the primary current Ip in primary side winding 321 changes, and then cause that the output electric current Iout of load DC electricity changes。
For example, as N=3, current feedback unit 342 includes three shunt resistances, it is Ri1, Ri2 and Ri3 respectively, three the second optoelectronic isolating elements, and it is Phi1, Phi2 and Phi3 respectively, and three the 3rd switch elements, it is Qi1, Qi2 and Qi3 respectively。Wherein, the electric current that the grid of three the 3rd switch elements is different from three respectively selects signal Isen1, Isen2 and Isen3 to connect。
When electric current selects signal Isen1, Isen2 and Isen3 to be high level, 3rd switch element Qi1, the drain electrode of Qi2 and Qi3 and source conduction, so that the second optoelectronic isolating element Phi1, Phi2 and Phi3 are in the conduction state, then shunt resistance Ri1, Ri2 and Ri3 of being connected with the colelctor electrode of second optoelectronic isolating element Phi1, Phi2 and Phi3 respectively is made to have electric current to flow through, now, shunt resistance Ri1, Ri2 and Ri3 are in work namely the state chosen, thus controlling the size of primary current Ip in primary side winding。
When electric current selects signal Isen1, Isen2 and Isen3 to be low level, 3rd switch element Qi1, the drain electrode of Qi2 and Qi3 and source electrode cut-off, so that the second optoelectronic isolating element Phi1, Phi2 and Phi3 are off, shunt resistance Ri1, Ri2 and Ri3 of being connected with the colelctor electrode of second optoelectronic isolating element Phi1, Phi2 and Phi3 respectively do not have electric current to flow through, and it is in and does not work namely not selected state。
Feedback control module controls electric current and selects the low and high level of signal Isen1, Isen2 and Isen3, thus selecting at least one in shunt resistance Ri1, Ri2 and Ri3 to control the size of primary current Ip in primary side winding。
Preferably, shunt resistance Ri1, Ri2 and Ri3 have different resistance values, feedback control module controls electric current and selects a signal in signal Isen1, Isen2 and Isen3 to be high level, thus choosing one in three shunt resistance Ri1, Ri2 and the Ri3 primary current Ip controlled in primary side winding。Now, the primary current Ip in primary side winding is calculated according to equation below:
Ip=Vcs/Rin;
Wherein, Vcs is the voltage at the current detecting pin CS place of control chip U1, and Rin is the shunt resistance chosen, and it is specially in three shunt resistance Ri1, Ri2 and Ri3。
It will be appreciated by those skilled in the art that, when feedback control module control electric current selects the multiple signals in signal Isen1, Isen2 and Isen3 to be high level, thus choosing the multiple primary current Ip controlled in primary side winding in three shunt resistance Ri1, Ri2 and Ri3, now, the Rin in above-mentioned formula be the multiple shunt resistances chosen parallel with one another after the resistance value that obtains。
Further, the relation according to the electric current of transformator Yu umber of turn:
Iout=Ip*Np/Ns;
Wherein, Iout is the output electric current of load DC electricity, and Ip is primary current, and Np is the number of turn of primary side winding, and Ns is the number of turn of vice-side winding。
The formula that can obtain the galvanic output electric current Iout of computational load according to above-mentioned two formula is:
Iout=Vcs*Np/Ns/Rin;
Wherein, Iout is the output electric current of load DC electricity, and Np is the number of turn of primary side winding, and Ns is the number of turn of vice-side winding, and Rin is the shunt resistance chosen, and it is specially in three shunt resistance Ri1, Ri2 and Ri3。
In actual applications, the voltage Vcs at current detecting pin CS place of control chip U1, the number of turn Np of primary side winding, vice-side winding number of turn Ns be fixed value, now, by choosing different shunt resistance Rin can obtain different output electric current Iout。Those skilled in the art it will be seen that, above-mentioned N=3 is only for example, and the present invention is not limited。
It should be noted that the amendment that those skilled in the art can make on circuit according to the function that voltage feedback unit in the present embodiment 341 and current feedback unit 342 realize completely。Such as, relay is utilized to replace the first optoelectronic isolating element PhvN and the second optoelectronic isolating element PhiN etc., the present invention is not restricted to the concrete circuit implementation of voltage feedback unit 341 and current feedback unit 342, only need to meet the function of its realization。
It is different from prior art, the power supply of the present invention is by receiving the selection signal of feedback control module output, and according to the feedback unit selected in the multiple feedback unit of signal behavior, so that the target output value that the real output value of load DC electricity is corresponding equal to selected feedback unit。By the way, the present invention can the output voltage of flexible configuration load DC electricity and output electric current, wherein the output voltage of load DC electricity and output electric current can separate configure, thus realizing charging to different products to be charged。
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention。