# Patent

## Title
Closed loop magnetic boost LED driver system and method

## Abstract

Current is delivered to a load using a closed-loop boost circuit topology that is suitable for LED driver applications. An inductor is charged when a transistor is active during a first operating phase. The inductor delivers current to the load when the transistor is inactive during a second operating phase. A ramp circuit is enabled by at least a feed-forward circuit that detects when the inductor enters the charging cycle. The charging time of the inductor is controlled by a comparator that selectively disables the transistor in response to a ramp voltage and an error voltage. The slope of the ramp is adjusted in response to the error voltage, which is adjusted by an error amplifier that is responsive to the current in the load. The value associated with the inductor can be relatively small, and the boost circuit is arranged to operate over a wide range of operating frequencies.

## Background
RELATED APPLICATION
This patent application is a continuation-in-part of U.S. patent application Ser. No. 10/720,953, now U.S. Pat. No. 6,943,504 which was filed Nov. 24, 2003, and claims the benefit under 35 U.S.C. 120 of the filing date.


FIELD OF THE INVENTION
The present invention relates to a system and method for controlling the current delivered to a load. More particularly, the load current is delivered by an inductor that is controlled using a closed-loop boost circuit topology that is suitable for use in LED driver applications. With the described topology, the value associated with the inductor is relatively small and the boost circuit operates over a wide operating frequency range.
BACKGROUND OF THE INVENTION
Demand for portable electronic devices is increasing each year. Example portable electronic devices include: laptop computers, personal data assistants (PDAs), cellular telephones, and electronic pagers. Portable electronic devices place high importance on total weight, size, and battery life for the devices. Many portable electronic devices employ rechargeable batteries such as Nickel-Cadmium (NiCad), Nickel-Metal-Hydride (NiMHi), Lithium-Ion (Li-Ion), and Lithium-Polymer based technologies.
In many portable power applications, a voltage that exceeds the battery voltage is required to operate certain circuits such as a video display. DC—DC converters are switching-type regulators that can be used to generate higher output voltages from a battery voltage. The output voltage is typically provided to a load circuit by varying the conduction time that is associated with a controlled device. Example controlled devices include transistors, gate-turn-on (GTO devices), thyristors, diodes, as well as others The frequency, duty cycle, and conduction time of the controlled device is varied to adjust the average output voltage to the load. Typical DC—DC converters are operated with some sort of oscillator circuit that provides a clock signal. The output voltage of the converter is also determined by the oscillation frequency associated with the clock signal.
For display applications such as stacked light emitting diodes (LEDs), the DC—DC converter often employs a constant frequency current mode control scheme. An example of a conventional closed loop control circuit (100) for driving LEDs is illustrated in FIG. 1. Circuit 100 includes an oscillator, an SR-type latch, an inductor (L1), two transistors (Q1, Q2), a Schottky diode (D1), two capacitors (C1, C2), three resistors (RSET, RSNS1, RSNS2), three amplifiers (A1 –A3), two driver circuits (DRV1, DRV2), a reference circuit (REF), a summer, and the LED stack (D2–D5).
At the start of each cycle of the oscillator, the SR latch is set and transistor Q1 is turned on via driver circuit DRV1. Amplifier A3 produces a sense voltage (VSNS1) by sensing the switching current from transistor Q1 via sense resistor RNSN1. The signal (VSUM) at the non-inverting input of the PWM comparator (A2) is determined by the switch current via VSNS1, summed together with a portion of the oscillation ramp signal. Amplifier A1 is an error amplifier that provides an error signal (VERR) by evaluating the drive current (ILED) via transistors Q2 and resistor RSNS2. The PWM comparator (A2) resets the SR latch and turns off transistor Q1 when the sum signal (VSUM) reaches the level set by the error signal (VERR). Thus, amplifier A1 and driver circuit DRV1 set the peak current level to keep the drive current (ILED) in regulation. Resistor RSET is adjusted to change the peak current level via a reference circuit (REF) and amplifier A1.



BRIEF DESCRIPTION OF THE DRAWINGS
Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings.
FIG. 1 is an illustration of a conventional DC—DC converter;
FIG. 2 is an illustration of an example open-loop boost circuit;
FIG. 3A is an illustration of example signal waveforms for the circuit illustrated in FIG. 2;
FIG. 3B is an illustration of additional example signal waveforms for the circuit illustrated in FIG. 2;
FIG. 4 is an illustration of an example current adjustment circuit for the circuit illustrated in FIG. 2; and
FIG. 5 is an illustration of an example procedural flow for an open-loop boost circuit;
FIG. 6 is an illustration of an example closed-loop boost circuit;
FIG. 7 is an illustration of another example closed-loop boost circuit;
FIG. 8 is an illustration of still another example closed-loop boost circuit;
FIG. 9 is an illustration of example signal waveforms for a closed-loop boost circuit;
FIG. 10 is an illustration of yet another example closed-loop boost circuit;
FIG. 11A is an illustration of an example procedural flow for a closed-loop boost circuit; and
FIG. 11B is an illustration of another example procedural flow for a closed-loop boost circuit, arranged in accordance with the present disclosure.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Various embodiments of the present invention will be described in detail with reference to the drawings, where like reference numerals represent like parts and assemblies throughout the several views. Reference to various embodiments does not limit the scope of the invention, which is limited only by the scope of the claims attached hereto. Additionally, any examples set forth in this specification are not intended to be limiting and merely set forth some of the many possible embodiments for the claimed invention.
Throughout the specification and claims, the following terms take at least the meanings explicitly associated herein, unless the context clearly dictates otherwise. The meanings identified below are not intended to limit the terms, but merely provide illustrative examples for the terms. The meaning of “a,” “an,” and “the” includes plural reference, the meaning of “in” includes “in” and “on.” The term “connected” means a direct electrical connection between the items connected, without any intermediate devices. The term “coupled” means either a direct electrical connection between the items connected or an indirect connection through one or more passive or active intermediary devices. The term “circuit” means either a single component or a multiplicity of components, either active and/or passive, that are coupled together to provide a desired function. The term “signal” means at least one current, voltage, charge, temperature, data, or other signal.
Briefly stated, the present disclosure is related to an apparatus, system and method for controlling the current delivered to a load. Current is delivered to the load using a closed-loop boost circuit topology that is suitable for LED driver applications. An inductor in the circuit is charged when a transistor is active during a first operating phase. The inductor delivers current to the load when the transistor is inactive during a second operating phase. A ramp circuit is enabled by at least a feed-forward circuit that detects when the inductor enters the charging cycle. The charging time of the inductor is controlled by a comparator that selectively disables the transistor in response to a ramp voltage and an error voltage. The slope of the ramp is adjusted in response to the error voltage, which is adjusted by an error amplifier that is responsive to the current in the load. The value associated with the inductor can be relatively small, and the boost circuit is arranged to operate over a wide range of operating frequencies.
Open-Loop Boost Circuit
FIG. 2 is an illustration of an example open-loop boost circuit (200) that is arranged in accordance with an embodiment of the present disclosure. The open-loop boost circuit (200) includes: two capacitors (CIN, COUT), an inductor (L), a stack circuit (D1, D2, . . . , DN), a Schottky-type diode (DS), a feed-forward circuit (FFCKT), a latch circuit (LATCH), a ramp generator circuit (RAMPGEN), a resistor (RSET), a comparator (COMP), a reference circuit (REF CKT), a transistor switch circuit (TSW), a driver circuit (DRV), and a start-up circuit (STARTUP).
Capacitor CIN is coupled between the input voltage (VIN) and ground. Resistor RSET is coupled between the RAMPGEN and ground. RAMPGEN is arranged to provide a ramp voltage (VRAMP) with a known slope when enabled. Ramp voltage VRAMP corresponds to ground when RAMPGEN is disabled via signal RES. REF CKT is arranged to provide a voltage reference (VREF). Inductor L is selectively coupled to ground through transistor switch circuit TSW when transistor switch circuit TSW is active, and coupled to the stack circuit through Schottky diode DS when transistor switch circuit TSW is inactive. The stack circuit is coupled between Schottky diode DS and ground. Capacitor COUT is coupled in parallel with the stack circuit to minimize ripple in the output voltage (VOUT). Feed-forward circuit FFCKT is arranged to sense the voltage (VSW) associated with the non-input side of inductor L and provides a signal to an input of latch circuit LATCH. Comparator COMP is arranged to compare ramp voltage VRAMP to reference voltage VREF and provide a comparison signal (VCOMP) to another input of latch circuit LATCH. One output of latch circuit LATCH is arranged to provide signal RES. Another output of latch circuit LATCH is arranged to selectively activate transistor switch circuit TSW via driver circuit DRV and signal VGATE. Start up circuit START UP is arranged to force signal VGATE during a start-up sequence (when EN is active) such that inductor L is charged and the latch is initialized to an appropriate condition via comparator COMP and the feed-forward circuit.
An example feed-forward circuit includes a capacitor (CFF) and an inverter circuit (IFF), which are coupled between signal VSW and an input of the latch circuit. Changes in the signal VSW are detected by the capacitor and fed to the latch circuit as signal VFF. For example, VFF corresponds to a low logic level until VSW drops below a threshold associated with inverter circuit IFF, where VFF pulses as a high logic pulse.
Latch circuit LATCH is illustrated as two NOR logic gates that are coupled together as shown in FIG. 2. However, other latch circuits are within the scope of the present disclosure including NAND gate implementations, and other logic configurations that provide a similar function.
Ramp generator RAMPGEN is illustrated as a current source (CS) that has an output coupled to a capacitor (CR), and an input that is coupled to resistor RSET. Transistor switching circuit TSW is configured to short capacitor (CR) to ground when signal RES is active such that the ramp is reset to a known value before each ramp cycle begins. Current source CS provides a current (IMATH) to capacitor CR such that the capacitor charges at a constant rate. The charging rate is adjusted by changing the magnitude of current IMATH, which is adjusted by resistor RSET.
The output current (IOUT) is adjusted by changing a value associated with resistor RSET, which in turn adjusts the slope of ramp voltage VRAMP. The slope of ramp voltage VRAMP controls the on-time (TON) associated with transistor switch circuit TSW, which in turn controls the charging of inductor L. For example, comparator COMP controls the gate voltage (VGATE) via driver circuit DRV and latch circuit LATCH such that transistor switching circuit TSW is disabled when the ramp voltage (VRAMP) exceeds the reference voltage (VREF).
Circuit 200 is arranged to operate as an open-loop driver circuit that operates on the edge of constant-current mode (CCM) and discontinuous-current mode (DCM). The output current (IOUT) is provided to a load such as a stack of LEDs as illustrated in FIG. 2. The load may also be a parallel combination of LEDs, a different series combination of LEDs, or some other device or devices that have a predictable voltage when driven with a known current. The overall topology can be implemented as an integrated circuit (IC) that has characteristics such as: minimal die size, high efficiency, high operating frequency, low operating current, and very low values (e.g., 1 uH) of inductance for L.
FIG. 3A and FIG. 3B are illustrations of example signal waveforms for the circuit illustrated in FIG. 2. As illustrated in the figures, the inductor is charged during the on-time interval (TON) and discharged to the load during the off-time interval (TOFF). The on-time interval is active from time t1 through t2, while the off-time interval is active from time t2 through t3. The cycle repeats again as illustrated by times t3 through t5.
From times t1 through t2, transistor switching circuit TSW is activate and signal RES corresponds to a low logic level such that the ramp generator (RAMPGEN) is enabled. The switch voltage (VSW) is approximately the same as the ground voltage (e.g., 0V or VSS) depending on the rdsON of transistor TSW. The voltage (VL) across inductor L corresponds to VL=VIN−VSW and inductor L is charged as illustrated by inductor current IL. The ramp voltage (VRAMP) increases while signal RES is active. The rate of ramp voltage VRAMP is determined by the charging current (IMATH) and the value associated with capacitor CR.
The output of comparator COMP corresponds to a low logic level while ramp voltage VRAMP is below reference voltage VREF. At time t2 (and t4), ramp voltage VRAMP exceeds reference voltage VREF by an amount sufficient for comparator circuit COMP to change to a high logic level (see VCOMP). The latch circuit is responsive to VCOMP such that transistor switching circuit TSW is deactivated when VCOMP corresponds to a high logic level signal (e.g., see VGATE). The inductor current (IL) reaches a peak value (IP) when transistor switching circuit TSW is deactivated around time t2.
From time t2 through t3 (TOFF) transistor switching circuit TSW remains deactivated by the high logic level from the comparator such that the current in the inductor is delivered to the load (e.g., the LED stack). Inductor current (IL) continues to flow to the load via diode DS until the time t3. At time t3, the inductor current (IL) drops to a current level that is insufficient to forward bias diode DS(IL≈0) and the switch voltage (VSW) begins to drop. The feed-forward circuit senses the drop in the switch voltage (VSW) and generates a pulsed signal (VFF) that sets signal RES to a high logic level. After signal RES pulses high, the ramp generator is reset (e.g., VRAMP=0V), the output of the comparator is set to a low logic level, and transistor switching circuit TSW is activated. The cycle repeats from time t3 through t4 as recited previously with respect to times t1 through t2. The circuit operation from times t4 through t5 operate substantially the same as that described with reference to times t2 through t3.
The on-time interval (TON) for transistor switching circuit TSW is determined by the reference voltage level (VREF) and the rate of the voltage ramp (VRAMP). For the example ramp circuit illustrated in FIG. 2, the on-time interval (TON) is determined by:

TON=CR*VREF/IMATH  (Eq. 1)

The current source (CS) is arranged such that current IMATH is related to the square of the input voltage (VIN) and the value associated with resistor RSET as:

IMATH=RSET*VIN2/(VREF2*R2)  (Eq. 2)

    
    
        where VRSET is another reference voltage and R is another resistor in the current source circuit (CS).
    
    


Substituting equation 2 into equation 1 yields:

TON=CR*VREF/(RSET*VIN2/(VRSET*R2))

TON=CR*VREF*VRSET*R2/(RSET*VIN2)

TON=K/VIN2,  (Eq. 3)

    
    
        where K is a constant given by K=VREF*VRSET*R2/RSET.
    
    


The efficiency (eff) of the circuit is determined by the ratio of the output power (POUT) to the input power (PIN) as, where the output power (POUT) is given by:

POUT=eff*PIN  (Eq. 4)

The output power (POUT) is related to the average output current (IOUTAV) and the output voltage (VOUT) as POUT=VOUT*IOUTAV, while the input power (PIN) is similarly related to the average input current (IINAV) and the input voltage (VIN) as PIN=VIN*IINAV. Substituting into equation 4 yields:

VOUT*IOUTAV=eff*VIN*IINAV  (Eq. 5)

Solving for the average output current (IOUT) yields:

IOUTAV=eff*VIN*IINAV/VOUT  (Eq. 6)

The inductor current (IL) is related to the inductor voltage (VL) as:

dIL(t)/dt=VL(t)/L  (Eq. 7)

Since the current peaks at a value of IP over the time interval TON, equation 7 can be represented as:

IP/TON=VIN/L  (Eq. 8)

Solving equation 8 for the peak current yields:

IP=VIN*TON/L  (Eq. 9)

The average value of the input current corresponds to half of the peak current such that:

IINAV=IP/2

IINAV=VIN*TON/(2*L)  (Eq. 10)

Substituting equation 10 into equation 6 yields:

IOUTAV=eff*VIN*(VIN*TON/(2*L))/VOUT 

IOUTAV=eff*VIN2*TON/(2*L*VOUT)  (Eq. 11)

Substituting equation 3 into equation 11 yields:

IOUTAV=eff*VIN2*(K/VIN2)/(2*L*VOUT)

IOUTAV=eff*K/(2*L*VOUT)  (Eq. 12)

As observed in the equations listed above, the output current (IOUT) is independent of the input voltage (VIN). Instead, the output current is inversely proportional to the value of the inductor (L) and a series of constants. The current source circuit (CS) is arranged such that the on-time is adjusted via resistor RSET in such as way that the output current (IOUT) is inversely proportional to the value associated with RSET. In one example, current source CS described above is arranged to provide a current that is proportional to RSET*VIN2.
FIG. 4 is an illustration of an example current adjustment circuit for the circuit illustrated in FIG. 2. RSET is included in FIG. 2 for reference. The example current adjustment circuit is arranged to provide an output current (IMATH) that is proportional to RSET*VIN2.
Transistors Q2 and Q3 are arranged to provide a voltage across resistor R1 to set the collector current (IC1) of transistor Q1 as: IC1=(VIN−2VBE)/R, where resistor R1 has a value corresponds to R. Transistors Q1 and Q2 are arranged in a current mirror configuration such that they have substantially the same collector current. Resistor R2 has a value corresponding to R/2, and is arranged in parallel with transistor Q2 such that the current through resistor R2 corresponds to IR2=2VBE/R. The resulting collector current (IC3) through transistor Q3 corresponds to VIN/R.
Transistors MP1 and MP2 are arranged in a current mirror configuration such that their drain currents are ratio matched (X*ID1=ID2), where drain current ID1 is given by ID1=IQ=VIN/R. Transistors Q4 and Q6 are arranged to operate as diodes that are biased by current ID2=X*VIN/R.
Transistor MP7 is biased to operate as a current source from another circuit (not shown) such as a band-gap reference, and provide current to the collector of transistor Q9. Transistors Q9 generates a reference voltage (VRSET) that corresponds to VBE9+ID7*R4. Transistor Q8 and resistor R3 are arranged to sense the collector voltage of transistor Q9 to generate current I2. Transistor MP5 and MP6 are arranged in a current mirror configuration such that their drain currents are ratio matched (ID5=Y*ID6). Transistor MP5 senses the collector current (IC8) from transistor Q8 and reflects the current to resistor RSET via transistor MP6. The resulting current for current I2 corresponds to VRSET/RSET.
Transistors MP4 and MP5 are arranged in a current mirror configuration such that their drain currents are ratio matched (ID4=Z*ID5). Transistors MN1 and MN2 are also arranged in a current mirror configuration such that their drain currents are ratio matched (ID1=A*ID2). Transistors MP4, MN2, and MN1 are arranged to reflect current proportional to I2 to the drain of transistor MN1. The drain of transistor MN1 is coupled to the emitter of transistor Q5 and the base of transistor Q7. Since transistor Q5 has a collector current of I1 and transistor MN1 has a drain current of I2, the base current to transistor Q7 corresponds to (I1–I2), resulting in a collector current for transistor Q7 that is proportional to I12/I2. Transistors MP3 and MPS are arranged in a current mirror configuration such that their drain currents are ratio matched (ID3=B*IDS). The resulting current at the drain of transistor MPS corresponds to IMATH=I12/I2. Since I1 is proportional to VIN/R, and I2 is proportional to VRSET/RSET, then IMATH is proportional to the ratio: (VIN/R)2/(VRSET/RSET) or (RSET*VIN2/(VRSET*R2)).
FIG. 5 is an illustration of an example procedural flow for an open-loop boost circuit that is arranged in accordance with the present disclosure. At block 501, a load is identified. In one example, the load corresponds to a number of LEDs for operation as stacked diodes (e.g., see FIG. 2). Continuing to block 502, the output voltage requirements are determined from the identified load (e.g., the operating voltage for the stacked devices). Proceeding to block 503, the slope of the ramp is adjusted (e.g., changing a value associated with resistor RSET) based on the identified load's output current and voltage requirements.
Operation of the driver circuit begins at block 503, where the output driver current is automatically changed (e.g., automatically adjusting a current source) based on the selected ramp. Continuing to block 504 the switch voltage is evaluated by the circuit. Processing continues from block 504 to decision block 505. The process flows from decision block 505 to block 511 when the switch voltage (VSW) is evaluated as high indicating that the switching circuit is in the TOFF interval. At block 511, current from the inductor (IL) is delivered to the load circuit (e.g., TSW is deactivated and IL couples through DS to the load). Alternatively, processing flows from decision block 505 to block 506 when the switch voltage (VSW) is evaluated as low indicating that the switching circuit is in the TON interval.
The ramp is reset at block 506 such that a ramp voltage (VRAMP) is initialized to a predetermined level (e.g., one of the power supply voltages, ground, etc). Continuing to block 507, the inductor is charged (e.g., TSW is active and the inductor charges with VIN). At block 508 the ramp voltage is monitored. Processing continues from decision block 509 to block 510 when the ramp voltage (VRAMP) exceeds a reference voltage (VREF). Alternatively, processing continues from decision block 509 to block 507 when the ramp voltage (VRAMP) has not exceeded the reference voltage (VREF).
At decision block 509, the process evaluates the ramp enable signal. Processing continues from decision block 509 to block 510, where the inductor is charged while the ramp is enabled. Alternatively, processing continues from decision block 509 to block 511, where the charging of the inductor is terminated when the ramp is detected as disabled. Processing continues from block 510 to block 507, where the ramp voltage is continually monitored until the ramp reaches VREF(where TON is terminated). Processing flows from block 511 to block 504 where the next cycle begins.
Closed-Loop Boost Circuit
FIG. 6 is an illustration of an example closed-loop boost circuit (600) that is arranged in accordance with an embodiment of the present disclosure. The closed-loop boost circuit (200) is arranged similar to that described previously with respect to FIG. 2, with similar components labeled identically. Differing from FIG. 2, FIG. 6 further includes an error amplifier circuit (EA), a sense resistor (RSNS) and a reference circuit (REF GEN). Also, FIG. 6 does not illustrate a startup circuit, a power switch current limit (ILIMIT) circuit or an over-voltage circuit, but they all can be added as will be described further with respect to FIGS. 8 and 10.
Closed-loop boost circuit 600 is arranged to provide feedback between the output load (e.g., a series and/or parallel combination of LEDs), and the error amplifier. Thus, differing from FIG. 2, circuit 600 illustrates that the load circuit is coupled to a signal ground (e.g., VSS, GND, etc.) via resistor RSNS. The reference circuit (REF GEN) is arranged to provide a reference voltage (VREF) that is coupled to one input of the error amplifier (EA). The voltage across resistor RSNS(e.g., VSNS) is coupled to the other input of the error amplifier (EA). The output of the error amplifier (e.g., VERR) is coupled to one terminal (e.g., −) of the comparator (COMP) and to the control terminal of the ramp generator circuit (RAMPGEN). The current source (CS) in the ramp generator circuit (RAMPGEN) is responsive to VERR to adjust the operating current for charging capacitor CR. The output voltage from the ramp generator (e.g., VRAMP) is coupled to the other terminal (e.g., +).
During operation, the current (IOUT) through the load is converted into a sense voltage (VSNS) that is sensed by the error amplifier (EA) forming a closed feedback loop. For example, when the sense voltage (VSNS) exceeds the reference voltage (VREF) the error voltage (VERR) adjusts the biasing to the ramp generator such that the on-time of the transistor switch circuit (TSW) is reduced. Similarly, when the sense voltage (VSNS) is below the reference voltage (VREF) the error voltage (VERR) adjusts the biasing to the ramp generator such that the on-time of the transistor switch circuit (TSW) is increased. These changes in the on-time translate into a frequency change in the circuit.
The described closed-loop architecture forces regulation at the edge of the constant current mode (CCM). The transistor switch circuit (TSW) is activated when the current (IL) in the inductor (L) is detected to reach zero by the feed-forward circuit (FFCKT). The inductor (L) is charged while the transistor switch circuit (TSW) is active. While the transistor switch circuit (TSW) is active, the ramp generator circuit (RAMP GEN) is also active. The transistor switch circuit (TSW) remains active until the ramp voltage (VRAMP) substantially equals or exceeds the error voltage (VERR) from the error amplifier (EA). At this point, the inductor current (IL) has reached a maximum value, transistor switch circuit (TSW) is deactivated, and the inductor current (IL) flows to the load (e.g., the LEDs and output capacitor COUT). The cycle repeats when the inductor current (IL) has again been detected to reach a zero condition.
The on-time of the transistor switch circuit (TSW) is controlled by the error amplifier such that the LED current is regulated. The on-time interval (TON) for transistor switching circuit TSW is determined by the reference voltage level (VREF) and the rate of the voltage ramp (VRAMP). For the example ramp circuit illustrated in FIG. 2, the on-time interval (TON) is determined by:

TON=CR*VERR/IRAMP  (Eq. 13)

The output voltage (VERR) of the error amplifier (EA) is given by:

VERR{acute over (α)}Av*(VREF−IOUT*RSNS)  (Eq. 14),

where AV is the gain of the error amplifier (EA).

The ramp current (IRAMP) is also a function of VERR that depends upon the type of current source employed. For example, the ramp current is related to VERR according to a square law relationship for a MOS type current source, or perhaps an exponential relationship when a BJT type current source is employed.
The efficiency (eff) of the circuit is determined by the ratio of the output power (POUT) to the input power (PIN) as described previously with Eq. 4.

POUT=eff*PIN  (Eq. 4)

The resulting average output current (IOUT) is also determined by previously described equations 4–11, where equation 11 is:

IOUT=(eff*TON*VIN2)/(2*L*VOUT)  (Eq. 11)

Rearranging Eq. 11 yields:

TON=(2*L*VOUT*IOUT)/(eff*VIN2)  (Eq. 15)

The frequency of operation is given by:

Freq=1/T 

Freq=(VOUT−VIN)/(VOUT−*TON)  (Eq. 16)

Substituting Eq. 11 into Eq. 16 yields:

Freq=eff*(VOUT−VIN)*VIN2/(2*L*IOUT*VOUT2)  (Eq. 17)

As observed in the equations listed above, the average of the output current (IOUT) is close-loop controlled by error amplifier and the comparator by adjusting the on-time of the switching circuit (TSW). The regulated output current is responsive to changes in VIN and VOUT such that an appropriate operating frequency and/or pulse width is achieved (PFM).
FIG. 7 is an illustration of another example closed-loop boost circuit (700) that can be used to substitute certain component blocks from FIG. 8. For this example circuit, the sense resistor (RSNS) from FIG. 6 has been replaced with a transistor (MSNS) that has an inherent on-resistance that is equivalent to RSNS. The reference generator (REF GEN) of FIG. 6 is replaced with a current source (IREF) and another transistor (MREF). The current source (CS) from the ramp generator circuit (RAMP GEN) is replaced with a bipolar junction transistor (BJT).
Similar to that described previously with respect to FIG. 6, transistor MSNS is arranged to generate a sense voltage (VSNS) in response to the current (IOUT) that is flowing through the load (e.g., the LEDs). The current source couples a current (IREF) to transistor MREF, which in turn generates a reference voltage (VREF). Signals VREF and VSNS are again coupled to the error amplifier (EA) for comparison, which in turn generates an output voltage (VERR). In the ramp generator (RAMP GEN), the emitter of the BJT is coupled to VIN, while the base is coupled to the output of error amplifier EA. The collector of the BJT is arranged to couples a current (IRAMP) to the capacitor circuit (CR) to generate a ramp voltage (VRAMP).
The error amplifier varies signal VERR in response to the difference between VREF and VSNS. As described previously, VSNS is varies in response to the sensed output current (IOUT) via the resistance of transistor MSNS. The resulting signal VERR is thus responsive to changes in the output current (IOUT). Since the current source (CS) in the ramp generator circuit (RAMP GEN) is responsive to signal VERR, the ramp rate is also responsive to changes in the output current (IOUT). Moreover, since the current source is illustrated as a BJT with an emitter that is coupled to VIN, changes in the input voltage (VIN) are also reflected in the ramp rate. An optional resistor circuit (not shown) can be placed between the emitter of the BJT and the input voltage (VIN) to provide current limiting and emitter degeneration as may be desired.
FIG. 8 is an illustration of still another example closed-loop boost circuit (800). FIG. 8 is similar to FIGS. 6 and 7 and like circuit blocks are similarly labeled.
The current source in the ramp circuit (CSRAMP) is illustrated as a field effect transistor (FET) as shown. The load is coupled to a circuit ground through a transistor switch circuit (TSW1). The reference generator is replaced with a current source (CSREF) that is series coupled to another transistor switch circuit (TSW2). The output of the feed-forward circuit (FFCKT) and a startup circuit (STARTUP) are combined with an OR-type logic gate (OR1) that has an output coupled to the latch circuit. Another OR-type logic circuit (OR2) is arranged to evaluate the output voltage (VOUT) and the switch voltage (VSW) to activate an over-voltage protection (OVP) circuit. Yet another OR-type logic circuit (OR3) is arranged to combine the output (VCOMP) of the comparator circuit (COMP) with the output of the OVP circuit (VOVDET). The output of OR3 is coupled to the other side of the latch circuit (LATCH).
The transistor switch circuits (TSW1 and TSW2) illustrate the finite resistance of the transistors as RSW in series with an ideal switch (SW). The current sources CSREF and CSRAMP are depicted as FET devices, but may be replaced with BJT devices, as well as others.
The operation of circuit 800 is substantially the same as circuit 700 from FIG. 7. Additional over-voltage protection and current limit protection are provided such that excessive conditions in the output voltage (VOUT) voltage and current through transistor switching circuit (PSW) can be detected such that the transistor switching circuit (PSW) will be disabled via the latch circuit. The startup circuit is also depicted to illustrate that the startup circuit need not be directly coupled to the transistor switching circuit (PSW) and can instead be coupled to the latch circuit.
FIG. 9 is an illustration of example signal waveforms (900) for a closed-loop boost circuit. Waveforms 900 are substantially similar to waveforms 300 from FIG. 3, with the addition of the error signal (VERR). The error signal (VERR) operates as a threshold for the ramp signal (VRAMP) to identify the end of the charging cycle for the inductor (L) at time t2.
FIG. 10 is an illustration of yet another example closed-loop boost circuit (1000) that is arranged similar to the circuit depicted in FIGS. 6–8, with like circuit blocks labeled similarly. Moreover, circuit 1000 includes the mathematically calculated current sources that are similar to that described in FIG. 2. The closed-loop boost circuit (1000) includes: a capacitor (COUT), an inductor (L), an LED circuit (D1, D2, . . . , DN), a Schottky-type diode (DS), a feed-forward circuit (FFCKT), a latch circuit (LATCH), a ramp generator circuit (RAMPGEN), a resistor (R0), a comparator (COMP), an error amplifier (EA), a reference generator circuit (REF IMATH), a voltage reference circuit, three transistor switch circuits (TSW1, TSW2 and PSW), a driver circuit (DRV), a start-up circuit (STARTUP), an over-voltage protection circuit (OVP), and a logic circuit (OR1).
Resistor R0 is coupled between RSET and ground. RAMPGEN is arranged to provide a ramp voltage (VRAMP) with a controlled slope when enabled. REF IMATH is arranged to provide a bias voltage (BIAS) that is responsive to the value associated with RSET. The voltage reference circuit is arranged to provide a voltage reference (VREF). Inductor L is selectively coupled to ground through transistor switch circuit PSW when transistor switch circuit PSW is active, and coupled to the LED circuit through Schottky diode DS when transistor switch circuit PSW is inactive. The LED circuit is coupled between Schottky diode DS and ground via transistor switch circuit TSW1, when enabled via signal EN. Capacitor COUT is coupled in parallel with the LED circuit to minimize ripple in the output voltage (VOUT). Feed-forward circuit FFCKT is arranged to sense the voltage (VSW) associated with the non-input side of inductor L and provides a signal to an input of latch circuit LATCH. Comparator COMP is arranged to compare ramp voltage VRAMP to error voltage (VERR) and provide a comparison signal (VCOMP) to another input of latch circuit LATCH. One output of latch circuit LATCH is arranged to provide signal ENR. Another output of latch circuit LATCH is arranged to selectively activate transistor switch circuit PSW via driver circuit DRV and signal VGATE.
Transistor switch circuits TSW1 and TSW2 are similar to those described with respect to FIG. 8. The voltage reference circuit for FIG. 10 is also similar to that described previously for FIG. 8, except that current source CSREF is arranged to provide a current that corresponds to IMATH. The resulting reference voltage VREF is given by VREF=IMATH*RSW.
The ramp generator circuit comprises a current source circuit (CSRAMP) that is series coupled to a capacitor (CR) via a transistor circuit (TERR). The capacitor (CR) is discharged to ground via transistor TR in response to signal ENR. CSRAMP is illustrated as a biased transistor that provides an output current corresponding to IMATH. TERR is illustrated as a transistor circuit that is controlled by signal VERR to provide a ramp current (IRAMP). The ramp current has a maximum value of IMATH, but can be adjusted lower in response to VERR.
The start-up circuit (START UP) is arranged to force signal VGATE through logic circuit OR1 during a start-up sequence (when EN is active) such that inductor L is charged and the latch is initialized to an appropriate condition via comparator COMP and the feed-forward circuit. OVP and ILIMIT circuits are arranged to disable the transistor switch circuit (PSW) via logic circuit OR1 when either an over-voltage condition or a current limit is detected from VOUT and VSW.
FIG. 11A is an illustration of an example procedural flow (1100) for a closed-loop boost circuit. Processing begins at block 1101, and proceeds to block 1102 where the switch voltage (VSW) is evaluated. Processing continues from block 1103 to block 1104 when VSW is evaluated as a high level. At block 1104 the current in the inductor (IL) is coupled to the load (e.g., the LED circuit). Processing continues from block 1104 to block 1102 where further monitoring is conducted.
Processing flows from block 1103 to block 1105 when VSW is evaluated as a low level. At block 1105, the ramp is reset. Continuing to block 1106, the inductor is charged (e.g., via a transistor switch circuit PSW). Proceeding to block 1107, the ramp signal (VRAMP) and the error signal (VERR) are monitored. Processing continues from decision block 1108 back to block 1106 when VRAMP does not exceed VERR, such that the inductor continues to charge. Alternatively, processing flows from block 1108 to block 1109 when VRAMP>VERR, where the charging of the inductor is terminated. Processing continues from block 1109 to block 1102.
FIG. 11B is an illustration of another example procedural flow (1110) for a closed-loop boost circuit. Processing begins at block 1111 and continues to block 1112, where the reference signal (VREF) is generated. In one example, the reference signal is generated by a band-gap circuit. In another example, the reference signal is generated by a current source and a series resistance. In still another example the reference signal is proportional to IMATH.
Proceeding to block 1113, the sense signal (VSNS) is generated by sensing the output current (IOUT) to the load (e.g., the LED circuit). At decision block 1114, the reference signal (VREF) and the sense signal (VSNS) are compared. Processing continues to block 1112 when VREF and VSNS are substantially the same. Alternatively, processing continues to block 1115 when VREF and VSNS are substantially the same.
At block 1115, signal VERR is adjusted based on the difference between VREF and VSNS. Processing continues from block 115 to block 1116, where the ramp current (IRAMP) is adjusted in response to signal VERR. In one example, IRAMP is linearly related to VERR. In another example, IRAMP is non-linearly related to VERR. In still another example, IRAMP has a maximum value that corresponds to IMATH.
The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.

## Claims

1. An apparatus for closed-loop control of an output current (IOUT) that is delivered to a load circuit from an inductor, the apparatus comprising:
a transistor switching circuit that is arranged to selectively couple a switch node to a power supply when activated, such that the inductor is charged by an input voltage (VIN) when the transistor switching circuit is activated, wherein the inductor is arranged to deliver the output current (IOUT) to the load circuit when the transistor switching circuit is deactivated;
a sense circuit that is arranged to provide a sense signal (VSNS) in response to the output current (IOUT);
an error amplifier circuit that is arranged to provide an error signal (VERR) in response to a comparison between the sense signal (VSNS) and a reference signal (VREF);
a ramp generator circuit that is arranged to provide a ramp signal (VRAMP), wherein the ramp signal (VRAMP) is reset to a predetermined level in response to a reset signal (ENR), and wherein a magnitude associated with the ramp signal (VRAMP) is determined by an error signal (VERR);
a comparator circuit that is arranged to compare the ramp signal (VRAMP) to the error signal (VERR) to provide a comparison signal (VCOMP), wherein the comparison signal (VCOMP) is asserted when the ramp signal (VRAMP) exceeds the reference signal (VERR);
a feed-forward circuit that is arranged to activate a pulse signal (VFF) when a voltage (VSW) associated with the switch node decreases by a predetermined amount; and
a latch circuit that is arranged to: assert the reset signal (ENR) when the pulse signal (VFF) is asserted, activate the transistor switching circuit when the reset signal (ENR) and the comparison signal (VCOMP) are de-asserted, and deactivate the transistor switching circuit when the comparison signal (VCOMP) is asserted.

2. The apparatus of claim 1, wherein the power supply corresponds to at least one of a high power supply, a low power supply, and a circuit ground.

3. The apparatus of claim 1, further comprising at least one of a start-up circuit, an over-voltage protection circuit, and a current limit protection circuit that is arranged to override control of the inductor charging.

4. The apparatus of claim 1, wherein the ramp generator comprises a current source that is arranged to adjust a slope associated with the ramp signal (VRAMP) in response to a change in at least one of: the input voltage (VIN), the error signal (VERR), and a level that is associated with IMATH.

5. The apparatus of claim 1, wherein the ramp generator circuit is further arranged such that a slope associated with the ramp signal (VRAMP) is determined by an adjustable parameter (X) and the input voltage (VIN) such that the slope is proportional to X*VIN2.

6. The apparatus of claim 1, wherein the transistor switching circuit is further arranged such that the output current (IOUT) that is delivered to the load circuit is inversely proportional to L*VOUT, where L corresponds to a value associated with the inductor and VOUT corresponds to an output voltage that is associated with the load circuit.

7. The apparatus of claim 1, further comprising: a resistor that is arranged to cooperate with the ramp generator circuit such that a value (RLIM) associated with the resistor adjusts a maximum level associated with the slope of the ramp signal (VRAMP), wherein the ramp generator circuit, the comparator circuit, the error amplifier circuit, and the feed-forward circuit are arranged such that an on-time (TON) associated with the transistor switching circuit is adjusted by changing the slope of the ramp signal.

8. The apparatus of claim 1, wherein the ramp generator circuit comprises a capacitor (CR) that is charged by a current source (CSRAMP) when the reset signal is de-asserted, wherein the current source (CSRAMP) is biased by the error signal (VERR).

9. The apparatus of claim 1, wherein the ramp generator circuit comprises a capacitor (CR) that is coupled to a current source (CSRAMP) via a transistor circuit (TERR) when the reset signal is de-asserted, wherein the transistor circuit (TERR) is responsive to the error signal (VERR), and wherein the current source (CSRAMP) is arranged to limit the ramp current.

10. The apparatus of claim 9, further comprising a resistor that is arranged to cooperate with the ramp generator circuit such that a current level (IMATH) associated with the current source (CSRAMP) is responsive to a value (RSET) associated with the resistor.

11. The apparatus of claim 9, further comprising a resistor that is arranged to cooperate with the ramp generator circuit such that a current level (IMATH) associated with the current source (CSRAMP) is proportional to RSET*VIN2, wherein the resistor has a value corresponding to RSET.

12. The apparatus of claim 1, wherein the ramp generator circuit comprises a bipolar junction transistor (BJT) that is arranged to provide a ramp current (IRAMP) to a capacitor circuit (CR) when the reset signal is de-asserted such that the capacitor circuit (CR) generates the ramp signal (VRAMP), wherein the BJT is responsive to the error signal (VERR) such that that ramp current (IRAMP) varies in response to changes in the output current (IOUT).

13. The apparatus of claim 1, further comprising a reference circuit that is arranged to provide the reference signal (VREF) proportional to a level associated with IMATH.

14. The apparatus of claim 1, further comprising a temperature compensated reference circuit that is arrange to provide the reference signal (VREF).

15. An apparatus for closed-loop control of an output current (IOUT) that is delivered to a load circuit from an inductor, the apparatus comprising:
a switching means that is arranged to selectively couple a switch node to a power supply node when activated, such that the inductor is charged by an input voltage (VIN) when the switching means is activated, wherein the inductor is arranged to deliver the output current (IOUT) to the load circuit when the switching means is deactivated;
an output sense means that is arranged to provide a sense signal (VSNS) that is proportional to the output current (IOUT);
a difference means that is arranged to adjust an error signal (VERR) in response to a difference between the sense signal (VSNS) and a reference signal (VREF);
a ramp means that is arranged to provide a ramp signal (VRAMP), wherein the ramp means is arranged to initialize the ramp signal (VRAMP) to a predetermined level in response to a reset signal (ENR);
an adjustment means that is arranged to adjust a slope of the ramp signal (VRAMP) in response to the error signal (VERR);
a comparison means that is arranged to compare the ramp signal (VRAMP) to the error signal (VERR) to provide a comparison signal (VCOMP), wherein the comparison signal (VCOMP) is asserted when the ramp signal (VRAMP) reaches the reference signal (VERR);
a discharge sense means that is arranged to activate a pulse signal (VFF) when the voltage (VSW) associated with the switch node is sensed as decreasing by a predetermined amount; and
a latch means that is arranged to: assert the reset signal (ENR) when the pulse signal (VFF) is asserted, activate the switching means when the reset signal (ENR) and the comparison signal (VCOMP) are de-asserted, and deactivate the switching means when the comparison signal (VCOMP) is asserted.

16. The apparatus of claim 15, wherein the ramp means is further arranged such that a limit associated with slope of the ramp signal (VRAMP) is determined by at least one of: a resistor value (RLIM), the input voltage (VIN), a current source (CSRAMP), and an adjustable parameter (X).

17. The apparatus of claim 15, wherein the ramp means is arranged such that the ramp signal (VRAMP) is a decreasing signal and the predetermined level corresponds to a high power supply level.

18. The apparatus of claim 15, wherein the ramp means is arranged such that the ramp signal (VRAMP) is an increasing signal and the predetermined level corresponds to a low power supply level.

19. A method for providing closed-loop control of an output current (IOUT) to a load circuit from an inductor (L), the method comprising:
evaluating a switch signal (VSW), wherein the switch signal is associated with the inductor (L);
resetting a ramp signal (VRAMP) to a reset level when the switch signal (VSW) drops below a predetermined level, wherein the ramp signal (VRAMP) has a characteristic slope;
generating an error signal (VERR) that is responsive to changes in the output current (IOUT);
adjusting the characteristic slope of the ramp signal (VRAMP) in response to the error signal (VERR);
comparing the ramp signal (VRAMP) and the error signal (VERR);
controlling an on-time interval in response to the ramp signal (VRAMP) and the error signal (VERR), wherein the on-time interval is related to the characteristic slope of the ramp signal (VRAMP);
charging the inductor with an input voltage (VIN) over the on-time interval (TON); and
coupling current from the inductor to the load circuit when a ramp signal level has reached the error signal level and the switch signal (VSW) is above the predetermined level.

20. The method of claim 19, further comprising: adjusting the characteristic slope of the ramp signal (VRAMP) in response to at least one of: the input voltage (VIN), a resistive based current limit, a current source based current limit, and a mathematically derived current limit (IMATH).