Constant-current output control circuit and its design method

11476767 · 2022-10-18

Assignee

Inventors

Cpc classification

International classification

Abstract

A constant-current output control circuit includes a control module, a first resistor, a capacitor, and an error amplifier; the control module is connected to an adjustable control voltage and a detection signal, and the non-inverting input end of the error amplifier is connected to the reference voltage, the inverting input end of the error amplifier is connected to the first end of the first resistor, the output end of the error amplifier is connected to the circuit to be connected, and the first end of the capacitor is connected to the first end of the first resistor, the second end of the capacitor is connected to the output end of the error amplifier, and the second end of the first resistor is connected to the control module. The design method of the circuit is also disclosed.

Claims

1. A method for designing a constant-current output control circuit, using a constant-current output control circuit, the method comprising the following steps: when a detection signal is low electrical level, a first switch is off and a second switch is on, so that a first resistor generates a first current flowing to ground, a voltage across a capacitor rises, and a voltage value of an output end of an error amplifier increases; when the detection signal is high electrical level, the first switch is on and the second switch is off, so that the constant current output control circuit generates a second current flowing to the capacitor, the voltage across the capacitor drops, and the voltage value of the output end of the error amplifier decreases, wherein the second current flowing to the capacitor generated by the constant current output control circuit is specifically: a voltage value of a reference voltage is less than an adjustable control voltage value, a voltage difference between the two ends of the first resistor is ΔV.sub.R1=V.sub.CST−V.sub.REF, and the second current flowing to the capacitor is generated on the first resistor to discharge the capacitor, the second current is: I 2 = V CST - V RE D 1 wherein, V.sub.CST is an adjustable control voltage; and wherein the constant-current output control circuit, includes a control module, the first resistor, the capacitor, and the error amplifier; the control module is connected to the adjustable control voltage and the detection signal, and a non- inverting input end of the error amplifier is connected to the reference voltage, an inverting input end of the error amplifier is connected to a first end of the first resistor, the output end of the error amplifier is connected to the constant current output control circuit, and a first end of the capacitor is connected to the first end of the first resistor, a second end of the capacitor is connected to the output end of the error amplifier, and a second end of the first resistor is connected to the control module.

2. The method of claim 1, wherein the control module includes the first switch, the second switch and an inverter, and a first end of the first switch is connected to the adjustable control voltage, a second end of the first switch is connected to the second end of the first resistor, a first end of the second switch is grounded, and a second end of the second switch is connected to the second end of the first switch, the detection signal is connected to a control end of the first switch, and the detection signal is connected to a control end of the second switch after being reversed by the inverter.

3. The method of claim 2, wherein the adjustable control voltage is a voltage of a circuit output feedback voltage amplified by the error amplifier.

4. The method of claim 3, wherein when the circuit output feedback voltage changes, the adjustable control voltage changes; when the adjustable control voltage changes, a switching frequency of the constant current output control circuit changes.

5. The method according to claim 1, wherein a voltage value of the reference voltage is smaller than the voltage value of the adjustable control voltage.

6. The method according to claim 1, wherein an output voltage value of the error amplifier is equal to the sum of the reference voltage and a voltage value of the capacitor.

7. The method according to claim 1, wherein the first current flowing to the ground generated by the first resistor is specifically: a voltage difference between the two ends of the first resistor is ΔV.sub.R1=V.sub.REF, and when the first current flowing to the ground is generated, the capacitor is charged, the first current is: I 2 = V C S T - V R E F R 1 ; wherein, V.sub.REF is the reference voltage, and R.sub.1 is a first resistor value.

8. The method according to claim 1, wherein the relationship among the reference voltage, V.sub.CST, Tons and T.sub.sw is: V R E F = V C S T × T o n s T s w ; wherein, Tons is a high electrical level time of the detection signal, and T.sub.sw is a period.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 shows a circuit structure diagram of a flyback AC/DC switching mode power supply in the prior art.

(2) FIG. 2 shows a waveform diagram of partial voltage changes over time in FIG. 1.

(3) FIG. 3 shows a schematic diagram of the cross-current output control circuit of the invention.

(4) FIG. 4 shows a circuit structure diagram of a flyback AC/DC switching mode power supply of the invention.

(5) FIG. 5 shows a waveform diagram of partial voltage changes over time in FIG. 4.

DETAILED DESCRIPTION OF THE INVENTION

(6) The specific embodiments of the invention will be described in further detail below in conjunction with the drawings and embodiments. The following examples are used to illustrate the invention, but not to limit the scope of the invention.

(7) Refer to FIG. 1 and FIG. 2, constant-current circuit of the conventional flyback AC/DC switching mode power supply includes a first switch, a second switch, a first capacitor, an inverter, and a standby circuit. The standby circuit includes a first comparator, a second comparator, a control chip, a switch tube, a primary coil current detection resistor, and a primary coil and a secondary coil. The first end of the first switch is connected to the input voltage, and the second end of the first switch connected to the first end of the first capacitor, the first end of the second switch is connected to the first end of the first capacitor, the second end of the second switch is grounded, the second end of the first capacitor is grounded, The non-inverting input end of the first comparator is connected to the first end of the first switch, the inverting input end of the first comparator is connected to the reference voltage V.sub.REF, and the output end of the first comparator is connected to the clock end of the control chip. The non-inverting input end of the second comparator is connected to the control voltage, the inverting input end of the second comparator is connected to the first end of the primary coil current detection resistor, and the output end of the second comparator is connected to the RB end of the control chip. The trigger of the control chip is connected to the output voltage, the Q end of the control chip is connected to the second output end of the switch tube, the first end of the switch tube is connected to the primary coil, and the first end of the primary coil current detection resistor is connected to the second end of the switch tube. Among them, a output rectifier diode and a third resistor are connected in series with the secondary coil, and the second capacitor is connected to the secondary coil at the same time. The detection signal of the output rectifier diode is reversed by the inverter and then connected to the control ends of the first switch and the second switch. S.sub.ons is a real-time signal for detecting whether the output rectifier diode is turned on. When the output rectifier diode is turned on, S.sub.ons=1; when the output rectifier diode is turned off, S.sub.ons=0.

(8) The working principle of the constant-current control circuit in the flyback AC/DC switching mode power supply constant-current circuit is: when the D flip-flop outputs a high electrical level, the switch signal SW=1, the switch transistor Q1 is turned on, and the output rectifier diode D1 is turned off, The primary coil flows current and there is no current flowing through the secondary coil. At this time, S.sub.ons=0, the first switch K1 is on, the second switch K2 is off, the first current I1 starts to charge the first capacitor C1, and the voltage of the first capacitor VC1 rise.

(9) As the current rises, the voltage V.sub.CS across the primary coil current detection resistor R.sub.CS rises. After a period of time, the voltage V.sub.CS of the primary coil current detection resistor reaches the control voltage V.sub.CST. The control voltage V.sub.CST is the voltage of the output voltage and the reference voltage amplified by the error amplifier. The second comparator outputs a low electrical level, the D flip-flop is reset, the switch signal SW=0, the switch transistor Q1 is turned off, the output rectifier diode D1 is turned on, there is no current flowing through the primary coil, and the secondary coil flows current, at this time S.sub.ons=1, the first switch K1 is off, the second switch K2 is on, the first capacitor C1 is discharged with the second current I2, and V.sub.C1 drops.

(10) The current flowing through the secondary coil gradually decreases, after the Tons time, the output rectifier diode D1 is turned off. At this time, there is no current flowing through the primary coil and the secondary coil, S.sub.ons=0, the first switch K1 is on, and the second switch K2 is off, The current I1 starts to charge the first capacitor C1 again. Since conduction time Tons of the output rectifier diode is longer, at this time V.sub.C1<reference voltage V.sub.REF, after t3 time, the first current I1 charges the voltage on the first capacitor to the reference voltage V.sub.REF, and the first comparator outputs a high electrical level, The D flip-flop is triggered and outputs a high electrical level, the switch signal SW=1, the switch transistor Q1 is turned on again, and the control chip enters the second switch cycle. Among them, the waveform of the signal S.sub.ons, the voltage V.sub.C1 of the first capacitor changing with time and the periodic waveform of the power switch are shown in FIG. 2.

(11) Because of the average output current formula:

(12) I out = 1 2 × n × I pk × Tons T sw ;

(13) Wherein, n is the turns ratio of primary coil and secondary coil of the transformer, I.sub.pk is the peak current of the primary coil, Tons is conduction time of the output rectifier diode, and T.sub.sw is the power switch cycle.

(14) Then the equation can be found in the above switching cycle:

(15) I 1 × ( T sw - T ons ) C 1 - I 2 × T ons C 1 = 0 ;

(16) From the above equation:

(17) Tons T = I 1 I 1 + I 2 ,
when the first current I1 and the second current I2 satisfy

(18) I 1 I 1 + I 2 ,
it is a fixed value, that is, when

(19) Tons T sw
is a fixed value, The output current is constant.

(20) The constant-current output control method in the prior art has great limitations. It requires

(21) I pk = V CST R CS
to be a fixed value. Under this condition, as shown in FIG. 2, if the circuit output feedback voltage continues to decrease, it will cause conduction time Tons of the output rectifier diode increases, which causes the circuit switching cycle to become longer and the switching frequency to decrease. In the FIG. 2, Tons2>Tons1, in order to ensure that

(22) 0 T o n s T
is a fixed value, the switching cycle will increase proportionally, that is, Tsw2>Tsw1. If the circuit output feedback voltage is too low, the power switching cycle will be too large, and the switching frequency of the circuit may be will enter the audio range.

(23) Please refer to FIG. 3 again, in view of the above problems, the invention provides a constant-current output control circuit, the circuit includes a control module, a first resistor, a capacitor, and an error amplifier; the control module is connected to an adjustable control voltage and a detection signal, the non-inverting input end of the error amplifier is connected to the reference voltage, the inverting input end of the error amplifier is connected to the first end of the first resistor, and the output end of the error amplifier is connected to the non-inverting input end of the first comparator of the circuit to be connected. The first end of the capacitor is connected to the first end of the first resistor, and the second end of the capacitor is connected to the output end of the error amplifier. The second end of the first resistor is connected to the control module. Wherein, the control module includes a first switch, a second switch, and an inverter, the first end of the first switch is connected to an adjustable control voltage, and the second end of the first switch is connected to the second end of the first resistor, the first end of the second switch is connected to the ground, the second end of the second switch is connected to the second end of the first switch, and the detection signal is connected to the control end of the first switch, the detection signal is connected to the control end of the second switch after being reversed by the inverter. The adjustable control voltage is the voltage of the circuit output feedback voltage amplified by the error amplifier. In the circuit of the invention, the voltage value of the reference voltage is smaller than the voltage value of the control voltage. The output voltage value of the error amplifier is equal to the sum of the reference voltage and the voltage value of the capacitor. Wherein, S.sub.ons is also a real-time signal for detecting whether the output rectifier diode is turned on. When the output rectifier diode is turned on, S.sub.ons=1; when the output rectifier diode is turned off, S.sub.ons=0.

(24) The working principle of the constant-current output control circuit of the invention is: when the output rectifier diode is turned off, S.sub.ons=0, the first switch K1 is off, the second switch K2 is on, and the voltage difference between the two ends of the first resistor R1 ΔV.sub.R1=reference voltage V.sub.REF, and generate a first current flowing to the ground

(25) I 1 = V R E F R 1 ,
the voltage across the first capacitor C1 rises, the output voltage V.sub.EA of the error amplifier rises; when the output rectifier diode is turned on, S.sub.ons=1, the first switch K1 is on, the second switch K2 is off. Since the reference voltage V.sub.REF<the control voltage V.sub.CST, the voltage difference between the two ends of the first resistor R1 ΔV.sub.R1=V.sub.CST−V.sub.REF, and a second current

(26) I 2 = V C S T - V R E F R 1
is generated and flow to the first capacitor C1. the voltage across the first capacitor C1 drops, and the output voltage V.sub.EA of the error amplifier drops. Wherein, conduction time Tons of the output rectifier diode satisfies:
I1×(T.sub.sw−Tons)=I2×Tons;

(27) That is:

(28) V R E F R 1 × ( T s w - Tons ) = V C S T - V R E F R 1 × Tons ,
wherein, T.sub.sw is the switching cycle of the control chip, from this formula, we can get:

(29) V R E F = V C S T × T o n s T s w ;

(30) When the turns ratio of primary coil and secondary coil (n), the primary coil current detection resistor R.sub.CS, and

(31) V C S T × T o n s T s w
are all fixed values, the output current is constant.

(32) Because the adjustable control voltage is adjustable with the output feedback voltage of the circuit, the influence of the switching cycle of the power supply with the output feedback voltage of the circuit is reduced, thereby ensuring that the switching frequency of the circuit is adjustable.

(33) Please refer to FIG. 4 and FIG. 5, the constant-current output control circuit of the invention is connected to the flyback AC/DC switching mode power supply constant-current circuit, in other words, the output end of the error amplifier is connected to the non-inverting input end of the first comparator. The working principle of the circuit is: when the D flip-flop outputs a high electrical level, the switch signal SW=1, the switch transistor Q1 is turned on, the primary coil flows current and there is no current flowing through secondary coil, the output rectifier diode D1 is turned off, S.sub.ons=0, The first switch K1 is off, and the second switch K2 is on. The first current

(34) I 1 = V R E F R 1
flowing to the ground is generated on the first resistor R1. The voltage across the first capacitor C1 rises, and the voltage V.sub.EA of the error amplifier rises.

(35) As the primary coil current rises, the voltage V.sub.CS across the primary coil current detection resistor R.sub.CS rises. After a period of time, V.sub.CS reaches the control voltage V.sub.CST, the second comparator outputs a low electrical level, the D flip-flop is reset, and the switch signal SW=0, switch transistor Q1 is turned off, the output rectifier diode D1 is turned on, there is no current flowing through the primary coil, and the secondary coil flows current, at this time S.sub.Tons=1, the first switch K1 is off, and the second switch K2 is on. Since V.sub.CST>V.sub.REF, the second current

(36) I 2 = V C S T - V R E F R 1
flowing to the first capacitor C1 is generated on the resistor R1, the voltage across the first capacitor C1 drops, and the output voltage V.sub.EA of the error amplifier drops.

(37) The current flowing through the secondary coil gradually decreases. After the Tons time, the output rectifier diode D1 is turned off. At this time, there is no current flowing through the primary coil and the secondary coil, S.sub.ons=0, the first switch K1 is on, and the second switch K2 is off, A current I1 flowing to the ground is generated on the first resistor R1, the voltage across the first capacitor C1 rises, and V.sub.EA rises. Because Tons is longer, at this time, V.sub.EA<V.sub.REF, after a period of time, the current I1 will charge the output voltage of the error amplifier to V.sub.EA=V.sub.REF, the first comparator outputs a high electrical level, the D flip-flop is triggered, and output high electrical level, the switch signal SW=1, the switch transistor Q1 is turned on again, and the control chip enters the second switch cycle.

(38) The equation can be found in the above switching cycle:

(39) I 1 × ( T s w - T o n s ) C 1 - I 2 × T o n s C 1 = 0 ;

(40) We can get:

(41) V R E F = V C S T × T o n s T s w ; Wherein, Tsw is the power switch cycle

(42) When the circuit output feedback voltage decreases, as shown in FIG. 5, it will cause conduction time Tons of the output rectifier diode to increase, Tons2>Tons1; at this time, the adjustable control voltage decreases with the decrease of the output voltage, which can get a reduced second current

(43) 0 I 2 = V C S T - V R E F R 1 ,
thereby reducing the time for the first current

(44) I 1 = V R E F R 1
to charge the first capacitor, effectively avoiding the output voltage being too low and causing the power switch cycle to be too large, the power switching frequency is adjustable.

(45) The invention also provides a method for designing a constant-current output control circuit, using the constant-current output control circuit as described above, and the method includes the following steps:

(46) When the detection signal is low electrical level, the first switch is off and the second switch is on, so that the first resistor generates a first current flowing to the ground, the voltage across the capacitor rises, and the voltage value of the output end of the error amplifier increases;

(47) When the detection signal is high electrical level, the first switch is on and the second switch is off, so that the circuit generates a second current flowing to the capacitor, the voltage across the capacitor drops, and the voltage value of the output end of the error amplifier decreases.

(48) To sum up: the invention provides a constant-current output control circuit and its design method. The control circuit and method connect a reference voltage at the non-inverting input end of the error amplifier and connect an adjustable control voltage at its inverting input end. Because the access time of the adjustable control voltage is related to the high electrical level time of the detection signal, the ratio of the product of the adjustable control voltage and the high electrical level time of the detection signal to the power switch cycle is the reference voltage; because the reference voltage is fixed value, the resistor value of the first resistor is also a fixed value, the average output current of the circuit is constant; the adjustable control voltage changes with the change of the circuit output feedback voltage, thereby ensuring that the switching cycle of the circuit is reduced by the influence of the circuit output feedback voltage, and finally get the adjustable system switching frequency.

(49) The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all should be considered as the scope of this specification.

(50) The above-mentioned embodiments only express several implementation modes of the invention, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the invention, several modifications and improvements can be made, and these all fall within the protection scope of the invention. Therefore, the protection scope of the patent of the invention should be subject to the appended claims.