Constant-current output control circuit and its design method
11476767 · 2022-10-18
Assignee
Inventors
Cpc classification
H02M1/0009
ELECTRICITY
H02M1/0025
ELECTRICITY
H03K4/12
ELECTRICITY
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:
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:
8. The method according to claim 1, wherein the relationship among the reference voltage, V.sub.CST, Tons and T.sub.sw is:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
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
(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
(11) Because of the average output current formula:
(12)
(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)
(16) From the above equation:
(17)
when the first current I1 and the second current I2 satisfy
(18)
it is a fixed value, that is, when
(19)
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)
to be a fixed value. Under this condition, as shown in
(22)
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
(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)
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)
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)
wherein, T.sub.sw is the switching cycle of the control chip, from this formula, we can get:
(29)
(30) When the turns ratio of primary coil and secondary coil (n), the primary coil current detection resistor R.sub.CS, and
(31)
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
(34)
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)
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)
(40) We can get:
(41)
(42) When the circuit output feedback voltage decreases, as shown in
(43)
thereby reducing the time for the first current
(44)
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.