Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CONTROLLER FOR A FLYBACK CONVERTER
Document Type and Number:
WIPO Patent Application WO/2023/101912
Kind Code:
A1
Abstract:
A converter control circuit includes a terminal to be coupled to a switch node. The control circuit includes a valley sensing circuit (150) coupled to the terminal and detects valleys in an oscillating voltage on the switch node. The valley sensing circuit (150) has a first output and asserts a first control signal on the first output indicative of occurrence of a valley. A logic gate (170) has a second output and asserts a second control signal on the second output to turn on a switching transistor (M1). A switch-on control circuit (165) has a first input and a second input. The first input couples to the first output. The second input couples to the second output. The switch-on control circuit (165) asserts a third control signal to turn on the switching transistor (M1) responsive to the second control signal indicating that the switching transistor (M1) is to be on while the first control signal indicates a valley.

Inventors:
VIDAL JOSE (US)
KATAM DINESH (US)
Application Number:
PCT/US2022/051079
Publication Date:
June 08, 2023
Filing Date:
November 28, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TEXAS INSTRUMENTS INC (US)
International Classes:
H02M3/335; H02M1/00; H02M1/08; H02M7/217
Foreign References:
US20210242789A12021-08-05
US20170012538A12017-01-12
US20170288554A12017-10-05
US20110095735A12011-04-28
US20190199196A12019-06-27
Attorney, Agent or Firm:
TEXAS INSTRUMENTS INCORPORATED et al. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A control circuit for a converter, comprising: a terminal adapted to be coupled to a switch node of the converter; a valley sensing circuit coupled to the terminal, the valley sensing circuit configured to detect valleys in an oscillating voltage on the switch node, the valley sensing circuit having a first output and configured to assert a first control signal on the first output indicative of occurrence of a valley; a logic gate having a second output, the logic gate configured to assert a second control signal on the second output to turn on a switching transistor coupled to the switch node; and a switch-on control circuit having a first input and a second input, the first input coupled to the first output, the second input coupled to the second output, and the switch-on control circuit configured to assert a third control signal to turn on the switching transistor responsive to the second control signal indicating that the switching transistor is to be turned on while the first control indicates occurrence of a valley.

2. The control circuit of claim 1, in which the switch-on control circuit includes a flip-flop.

3. The control circuit of claim 2, in which the flip-flop includes a data input and a clock input, the data input is coupled to the second output, and the clock input is coupled to the first output.

4. The control circuit of claim 1, in which the valley sensing circuit includes: a current source; a first capacitor coupled in series with a first switch between the current source and ground; a second capacitor coupled in series with a second switch between the current source and ground; and a comparator having a first comparator input, a second comparator input, and a comparator output, the comparator is the first output, the first comparator input is coupled to the first capacitor, the second comparator input is coupled to the second capacitor, and the comparator output is configured to provide the third control signal.

5. The control circuit of claim 4, in which the switch-on circuit includes a flip-flop having a data input and a clock input, the data input is coupled to the second output, and the clock input is coupled to the comparator output.

9

6. The control circuit of claim 5, further including a one-shot coupled between the comparator output and the clock input.

7. The control circuit of claim 4, wherein capacitances of the first and second capacitors are approximately equal.

8. The control circuit of claim 4, in which the valley sensing circuit includes a ramp timer configured to: close the first switch responsive to detection of a beginning of oscillation on the switch node and open the first switch responsive to a voltage on the switch node falling below an input voltage to the converter; and close the second switch responsive to a voltage on the switch node falling below an input voltage.

9. The control circuit of claim 8, in which the ramp timer has a ramp timer input configured to receive a signal indicative of a voltage on the switch node being below the input voltage.

10. The control circuit of claim 1, in which the control circuit is adapted to be coupled to a flyback converter.

11. A flyback converter, comprising: a transformer having a primary coil and a secondary coil; a switching transistor coupled to the primary coil at a switch node; a control circuit having a feedback input coupled to the switch node, the control configured to: detect valleys of a voltage on the switch node of an oscillatory voltage on the switch node; to turn on the switching transistor approximately concurrent with an occurrence of a valley of the detected valleys;

12. The flyback converter of claim 11, in which the control circuit has includes: a first circuit configured to detect the valleys of a voltage on the switch node of an oscillatory voltage on the switch node when current through the secondary coil reaches zero amperes, and to output a voltage pulse coincident with each detected valley; a second circuit configured to output a control signal to turn on the switching transistor; and a switch-on control circuit coupled to the first circuit and the second circuit, the switchon control circuit configured to turn on the switching transistor responsive to the control signal from the second circuit indicating that the switching transistor is to be turned on when the first circuit outputs a voltage pulse.

13. The flyback converter of claim 12, in which the switch-on control circuit includes a flip-flop.

14. The flyback converter of claim 13, in which the flip-flop includes a data input and a clock input, the data input is coupled to an output of the second circuit, and the clock input is coupled to an output of the first circuit.

15. The flyback converter of claim 14, further including a one-shot coupled between the output of the first circuit and the clock input.

16. The flyback converter of claim 11, in which the control circuit includes: a current source; a first capacitor coupled in series with a first switch between the current source and ground; a second capacitor coupled in series with a second switch between the current source and ground; and a comparator having a first comparator input, a second comparator input, and a comparator output, the first comparator input is coupled to the first capacitor, the second comparator input is coupled to the second capacitor, and the comparator output is configured to provide the third control signal.

17. The flyback converter of claim 16, further including: a one-shot having an input coupled to the comparator output, the one-shot also having an output; a flip-flop having a clock input coupled to the output of the one-shot.

18. The flyback converter of claim 11, in which the flyback converter is a quasi-resonant flyback converter.

19. A method of controlling a flyback converter having a transformer and a switching transistor, the transformer having a primary coil and a secondary coil, the switching transistor coupled to the primary coil at a switch node, the method comprising: turning off the switching transistor; detecting when current through the secondary coil falls to approximately 0 amperes; determining when each valley of an oscillatory voltage on the switch node occurs; and

11 responsive to receipt of a signal to turn on the switching transistor, turning on the switching transistor upon a subsequent occurrence of a valley.

20. The method of claim 19, in which determining when each valley of the oscillatory voltage on the switch node occurs includes: charging a first capacitor with a current source for approximately one-quarter of the oscillatory voltage; charging a second capacitor with the current source; and determining when a voltage on the second capacitor approximately equals a voltage on the first capacitor.

12

Description:
CONTROLLER FOR A FLYBACK CONVERTER

BACKGROUND

[0001] A direct current (DC)-to-DC or alternating current (AC)-to-DC flyback converter converts the input voltage to an output voltage and provides a galvanic isolation between the two voltages. One category of flyback converters is a quasi-resonant flyback converter in which variable frequency is used to determine when to turn on valley switching. For a quasi-resonant flyback converter, turnon losses by a switch can be eliminated or reduced by operating in a valley switching mode. SUMMARY

[0002] In one example, a control circuit for a converter includes a terminal adapted to be coupled to a switch node of the converter. The control circuit includes a valley sensing circuit coupled to the terminal and configured to detect valleys in an oscillating voltage on the switch node. The valley sensing circuit has a first output and is configured to assert a first control signal on the first output indicative of occurrence of a valley. A logic gate has a second output. The logic gate is configured to assert a second control signal on the second output to turn on a switching transistor coupled to the switch node. A switch-on control circuit has a first input and a second input. The first input is coupled to the first output. The second input is coupled to the second output. The switch-on control circuit is configured to assert a third control signal to turn on the switching transistor responsive to the second control signal indicating that the switching transistor is to be turned on while the first control indicates occurrence of a valley.

[0003] In another example, a method of controlling a flyback converter includes turning off a switching transistor coupled to a transformer’s primary coil at a switch node, the method includes detecting when current through the secondary coil of the transformer falls to approximately 0 amperes. The method further includes determining when each valley of an oscillatory voltage on the switch node occurs. Responsive to receipt of a signal to turn on the switching transistor, the method includes turning on the switching transistor upon a subsequent occurrence of a valley.

BRIEF DESCRIPTION OF THE DRAWINGS

[0004] For a detailed description of various examples, reference will now be made to the accompanying drawings in which: [0005] FIG. 1 illustrates a schematic of the control circuit for a flyback converter in an example. [0006] FIG. 2 illustrates a timing diagram of the operation of a primary-side regulated flyback converter in an example.

[0007] FIG. 3 illustrates a timing diagram for detecting a switch valley in an example.

[0008] The same reference number is used in the drawings for the same or similar (either by function and/or structure) features.

DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS

[0009] A flyback voltage converter converts an input voltage (or current) to a desired output voltage (or current) using a transformer with a primary and secondary coil which is connected between the input and output, respectively. The transformer provides galvanic isolation between the input and output. The converter includes a switching element (e.g., a transistor) connected to the primary coil to turn on and off current to the primary coil. One type of a flyback converter is a quasi- resonant flyback converter. A quasi-resonant flyback converter can operate in continuous conduction mode (CCM), in discontinuous conduction mode (DCM), or in boundary conduction mode (BCM). During the CCM, current continuously flows to the transformer’s primary coil. During the DCM, current ceases to the transformer during a portion of each switching cycle. The BCM refers to the state in which the switch is turned on as soon as the primary winding’s current drops to 0 amperes.

[0010] The embodiments described herein are directed to a control circuit for a quasi-resonant flyback converter capable of operating in DCM. However, the described techniques apply to BCM operation as well. The control circuit described herein is particularly useful for primary-side regulated flyback converters in which the control circuit regulates the current through the primary coil of a transformer to thereby regulate the output voltage on the secondary side of the transformer. The control circuit includes a feedback (FB) node adapted to be coupled to the switch node (SW) of a flyback converter. In one embodiment, the control circuit is fabricated as an integrated circuit (IC) and the FB node is a pin of the IC. The control circuit includes circuitry that monitors the FB node for three reasons: (1) zero-cross current sensing, (2) output voltage (VOUT) sampling, and (3) SW node valley sensing. During BCM and DCM operation, after the main switching element (e.g., a transistor) turns off, the secondary coil current of the transformer jumps up and then starts to decay approximately linearly until the secondary current reaches (crosses) zero current, at which time the SW node voltage begins to ring sinusoidally. [0011] The ringing SW node voltage has a series of decaying peaks and valleys. The SW node voltage is coupled across the switching element. When the control circuit determines to turn on the switching element, a valley sensing circuit within the control circuit prevents the switching element from turning on until the next SW node voltage valley occurs. By turning on the switching element at a valley of the SW node voltage, switching losses in the switching element are reduced compared to what would be the case if the switching element were turned when the SW node voltage is larger than a valley point during the ringing SW node voltage waveform.

[0012] FIG. 1 is a schematic of a DC-DC flyback converter 100 in an illustrative embodiment. In this example, the flyback converter 100 includes an input 108 adapted to receive an input voltage (VIN) and an output 109 that provides the output voltage VOUT. The converter 100 also includes a transformer TRI, a diode DI, and a transistor Ml (the switching element mentioned above). The transformer TRI includes a primary coil LI and a secondary coil L2. The diode DI is coupled to the secondary coil L2 and functions to rectify the voltage from the secondary coil. Current Ipri is the current through the primary coil LI, and current Isec is the current through the secondary coil L2. The converter may also include an output capacitor COUT. The voltage across capacitor COUT is VOUT. When Ml is on, current flows from VIN, through the primary coil LI and through Ml to ground. When Ml is off, the primary coil current is 0 amperes (amps).

[0013] The converter has a control circuit 120 which functions to, among other things, determine when to turn Ml and off to thereby regulate the current through the primary side of the transformer in order to regulate VOUT. The flyback converter 100 in FIG. 1 thus employs primary side regulation (PSR). The control circuit 120 includes a valley sensing circuit 150 which ensures that Ml is turned on at a valley of the oscillatory phase of the SW node voltage.

[0014] The control circuit 120 regulates VOUT by determining the magnitude of VOUT and adjusting the duty cycle of Ml to maintain VOUT at a target level. However, VOUT is provided on the secondary side of transformer TRI, but the control circuit is connected to the primary side of the transformer. Thus, the control circuit 120 does not have a galvanic connection to VOUT. Instead, the control circuit infers the magnitude of VOUT by monitoring the magnitude of the voltage on the SW node.

[0015] FIG. 2 illustrates waveforms of the flyback converter 100 during a switching cycle. The waveforms include VIN, the SW node voltage, and currents Ipri and Isec. When Ml is on, Ipri ramps up approximately linearly as shown at 201. The period of time that Ml is on is identified as Ton in FIG. 2. When the control circuit 120 turns Ml off, Ipri drops to 0 amps and Isec jumps up as shown at 202. Isec then decreases approximately linearly as shown at 203. Eventually, Isec reaches 0 (point 204). The next switching cycle starts at 210. Between point 202 and 210, Ml is off. This time period is identified as Toff in FIG. 2. Between points 204 and 210, not only is Ipri equal to 0 amps, but Isec is also equal to 0 amps.

[0016] The SW node voltage is 0V when Ml is on. As soon as the control circuit 120 turns Ml off, the SW node voltage jumps up to a value that is larger than Vin as identified at 220. The magnitude of the SW node voltage is a function of the turns ratio of the transformer, VOUT, the forward voltage drop (Vf) of diode DI, and the product of Isec and Resr. Resr is the sum of the parasitic resistances of diode DI and capacitor Cout. The voltage of the FB node (Vfb) is directly proportional to the voltage of the SW node, and thus equation (1) provides the above relationship in terms of Vfb:

Vfb = VSW - VIN = Nfs * (VOUT + Vf + (Isec * Resr ) (1) where Nfs is the ratio of the number of turns of the primary coil LI to the number of turns of the secondary coil L2. Once Isec reaches 0 amps at point 204, then the term Isec*Resr equals to 0 and thus Vfb is a function of Vout plus the forward voltage drop of diode DI (times the turns ratio of the transformer TRI). The control circuit 120 takes advantage ofthis factby sampling Vfb at the moment that Isec crosses 0. At that moment, Vfb is largely a function of just Vout. The sampling instant is identified at 221.

[0017] Because the control circuit 120 does not have direct electrical access to the secondary coil L2, the control circuit 120 infers when Isec crosses 0 by detecting the beginning of the oscillatory phase of the SW node voltage. In the embodiment described below, the control circuit includes a circuit that detects the “knee” 225 in the SW node voltage which occurs when Isec crosses 0. The knee is characterized by a dramatic change in the slope of the SW node voltage.

[0018] Referring again to FIG. 1, the knee 225 is detected using the current mirror 115, resistor Rset, a low-pass filter 125, and a comparator COMP1. During the off-time (Ml off), the switch node voltage is a function of VIN+VOUT. The current mirror includes transistors M2 and M3 and employs a current mirror ratio in this example of 5 : 1 (the current through M3 is five-times the current through M2. VIN is coupled to the source of M2. The same VIN voltage is also controlled onto the source of M3 due the current mirroring function performed by M2 and M3. For example, if the source of M3 (VFB) is greater than VIN, M3 will sink more current through resistor RFB and VFB will decrease. If VFB is less than VIN, M3 will sink less current and VFB will increase. With the SW node voltage approximately equal to VIN+VOUT and the source voltage of M3 equal to VIN, then the voltage difference across resistor Rfb is approximately VOUT. The current through resistor Rfb is thus approximately equal to Vout/Rfb. Current Ifb flows through M3 down to resistor Rset, thereby producing a voltage on the RSET node equal to approximately VOUT*RSET/Rfb. In other words, the voltage on the RSET node is proportional to VOUT.

[0019] As described above, sampling the SW node voltage at the moment Isec crosses 0 provides a satisfactory approximation of VOUT. The RSET node voltage is low-pass filtered by the low-pass fitler 125 (which includes resistor Rip and Clp in this example), and sampled by the switch S3 and capacitor Ch.

[0020] The current mirror 115, resistor Rset, the low-pass filter 125, and the comparator COMP1 are also used to detect the knee 225 in the SW node voltage. As described above, the voltage across resistor Rset is a function of the SW node voltage and thus has the same or similar waveform shape (including the knee 225 and subsequent ringing). The RSET voltage is couple to the inverting input of comparator COMP1. The low-pass filtered version of RSET is coupled to the non-inverting input of comparator COMP1. Thus, COMP1 compares a more slowly changing version of the SW node voltage to the unfiltered, faster changing live SW node voltage. When the knee 225 occurs, the SW node voltage drops more sharply than the response of the output of the low-pass filter 125 and thus the output of COMP1 (ZX) becomes logic high. A logic high for ZX thus indicates that Iset has crossed 0 amps.

[0021] The valley sensing circuit 150 includes OP1, transistor M4, current sources Isrcl and Iscr2, a ramp timer 154, switches SWA and SWB, capacitors CA and CB, and a comparator COMP2. FIG. 3 provides additional waveforms illustrating the operation of the valley sensing circuit 150. The ringing in the SW node voltage is approximately a damped-sinusoidal waveform. Accordingly, the time between a peak and the point in which Vsw crosses Vin is the same as the time between the point at which Vsw crosses Vin and the subsequent valley. Time point 301 is the time at which a peak occurs. Point 302 is the zero-crossing point. Point 303 identifies the subsequent valley. The time difference between points 301 and 302 is the same as the time difference between points 302 and 303. The valley sensing circuit 150 implements an analog timer to measure and save the time between points 301 and 302 and then uses that measured and saved time to estimate when the subsequent valley is occurring. [0022] Referring again to FIG. 1, as described above, ZX becomes logic high when the knee occurs which is generally coincident with a peak in the ringing phase of the SW node voltage. The ramp timer 154 responds to ZX being high by closing switch SWA. Current Isrc2 thus flows to and charges capacitor CA. The voltage on capacitor CA increases approximately linearly while switch SWA is closed. During the off-phase (Ml off), no current flows through the primary coil LI or resistor Rfb. Thus, the voltage of the FB node is the voltage of the SW node. The voltages on the inverting and non-inverting inputs of OP1 are approximately equal. The voltage on the non-inverting input of OP1 being the switch node voltage forces the inverting input voltage also to be the switch node voltage. With the switch node voltage being higher than Vin, no current flows through transistor M4, and thus the input 156 to the ramp timer is logic low.

[0023] When Vsw falls below Vin, current flows through transistor M4, and the input 156 of the ramp timer 154 is forced high. That logic high thus occurs when the switch (or FB) node falls below VIN. The ramp timer 154 responds to a logic high assertion on its input 156 by opening switch SWA. The resulting voltage on capacitor CA is a function of the time period between the peak and VIN- crossing points of the SW node voltage. That voltage (CA voltage) is provided to the inverting input of COMP2.

[0024] The capacitance of CB is approximately equal to the capacitance of CA and the same current source Isrc2 is used to charge capacitor C2 when switch SWB is closed. Upon opening switch SWA, the ramp timer also closes switch SWB thereby initiating a charge cycle for capacitor CB. The voltage of capacitor CB then begins to increase linearly at the same rate as for capacitor CA. The output 157 of comparator COMP2 becomes logic high the moment that the voltage on capacitor CB reaches the voltage of capacitor CA, which is indicative of when a valley of the SW node voltage occurs. FIG. 3 illustrates waveforms for VA (voltage on capacitor CA) and VB (voltage on capacitor CB). As shown, VA is determined during the first period of the ringing SW node voltage ringing and remains fixed for the ensuing ringing oscillations for comparison against VB. Capacitor CB is charged and discharged during each oscillation in order to be compared against VA to determine the occurrence of each valley.

[0025] The output 157 of comparator COMP2 is provided to a one-shot 162. In one example, the one-shot produces a 20ns output pulse upon detecting a logic high on its input. FIG. 3 illustrates that the one-shot 162 produces an output pulse 310 coincident with each valley of the SW node voltage. The output of the one-shot 162 is coupled to an input of switch-on control circuit 165 which in this embodiment includes a D flip-flop (DFF) 167. The output of the one-shot 162 is coupled to the clock input of the DFF 167. The D input of the DFF 167 receives a control signal from AND gate 170. The inputs to the AND gate 170 are the ZX signal (described above) and a TFMAX signal. The ZX signal indicates when Isec crosses 0 amps. During BCM, the control circuit 120 turns on Ml when ZX becomes logic high. During DCM, the control circuit 120 turns on Ml when TFMAX becomes logic high. TFMAX is produced by a timer 171. Accordingly, the output signal 172 from AND gate indicates when a portion of the control circuit 120 determines to turn on Ml. The switch-on control circuit 165 functions to turn on Ml when two conditions are concurrently true: (1) AND gate output signal 172 is logic high and (2) the output signal 157 from the comparator COMP2 also is logic high. In other words, the switch-on control circuit 165 will turn on Ml when signal 172 is high but only when comparator COMP2 indicates that the next valley in the SW node voltage is occurring.

[0026] In this description, the term “couple” may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A generates a signal to control device B to perform an action: (a) in a first example, device A is coupled to device B by direct connection; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, such that device B is controlled by device A via the control signal generated by device A.

[0027] A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or re-configurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.

[0028] As used herein, the terms “terminal”, “node”, “interconnection”, “pin” and “lead” are used interchangeably. Unless specifically stated to the contrary, these terms are generally used to mean an interconnection between or a terminus of a device element, a circuit element, an integrated circuit, a device or other electronics or semiconductor component.

[0029] A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.

[0030] While the use of particular transistors is described herein, other transistors (or equivalent devices) may be used instead. For example, a p-type metal-oxide-silicon field effect transistor (“MOSFET”) may be used in place of an n-type MOSFET with little or no changes to the circuit. Furthermore, other types of transistors may be used (such as bipolar junction transistors (BJTs)).

[0031] Circuits described herein are reconfigurable to include additional or different components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the resistor shown. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in parallel between the same nodes. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series between the same two nodes as the single resistor or capacitor.

[0032] Uses of the phrase “ground” in the foregoing description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. Unless otherwise stated, “about,” “approximately,” or “substantially” preceding a value means +/- 10 percent of the stated value. Modifications are possible in the described examples, and other examples are possible within the scope of the claims.

[0033] Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.