# Patent

## Title
Electronic circuits and techniques for maintaining a consistent power delivered to a load

## Abstract

Circuits and methods used therein provide an adjustable average current through a load in accordance with a pulse width modulated (PWM) signal. A condition detection circuit is configured to identify a condition of the electronic circuit and to generate a condition signal indicative of the condition. A current extension circuit is coupled receive the condition signal and coupled to receive the PWM signal. The current extension circuit is configured to generate, at the output node of the current extension circuit, an extended PWM signal having a first state and a second state. The first state of the extended PWM signal longer in time than a first state of the PWM signal by an amount related to a value or a state of the condition signal. Current pulses through the load are extended to be longer in accordance with the extended PWM signal.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
Not Applicable.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH
Not Applicable.
FIELD OF THE INVENTION
This invention relates generally to electronic circuits and, more particularly, to electronic circuits used to drive a load, for example, a light emitting diode (LED) load.
BACKGROUND OF THE INVENTION
A variety of electronic circuits are used to drive loads and, more particularly, to control electrical current through strings of series connected light-emitting diodes (LEDs), which, in some embodiments, form an LED display, or, more particularly, a backlight for a display, for example, a liquid crystal display (LCD). It is known that individual LEDs have a variation in forward voltage drop from unit to unit. Therefore, the strings of series connected LEDs can have a variation in forward voltage drop.
Strings of series connected LEDs can be coupled to a common DC-DC converter, e.g., a switching regulator, e.g., a boost switching regulator, at one end of the LED strings, The switching regulator can be configured to provide a high enough voltage to supply each of the strings of LEDs. The other end of each of the strings of series connected LEDs can be coupled to a respective current sink, configured to sink a relatively constant current through each of the strings of series connected LEDs.
It will be appreciated that the voltage generated by the common switching regulator must be a high enough voltage to supply the one series connected string of LEDs having the greatest total voltage drop, plus an overhead voltage needed by the respective current sink. In other words, if four series connected strings of LEDs have voltage drops of 30V, 30V, 30V, and 31 volts, and each respective current sink requires at least one volt in order to operate, then the common boost switching regulator must supply at least 32 volts.
While it is possible to provide a fixed voltage switching regulator that can supply enough voltage for all possible series strings of LEDs, such a switching regulator would generate unnecessarily high power dissipation when driving strings of series connected LEDs having less voltage drop. Therefore, in some LED driver circuits, the voltage drops through each of the strings of series connected LEDs are sensed (for example, by a so-called “minimum select circuit,” or by a multi-input amplifier) to select a lowest voltage or lowest average voltage appearing at the end of one of the strings of series connected LEDs. The common switching regulator is controlled to generate an output voltage only high enough to drive the series connected led string having the lowest voltage (i.e., the highest voltage drop) or to drive a lowest average voltage to the strings. Arrangements are described, for example, in U.S. Pat. No. 6,822,403, issued Nov. 23, 2004, and in U.S. patent Ser. No. 12/267,645, filed Nov. 10, 2008, and entitled “Electronic Circuits for Driving Series Connected Light Emitting Diode Strings.”
It will be understood that a predetermined current can be regulated through each one of the series connected diode strings, and the voltage of the DC-DC converter can be maintained just high enough to drive a worst case one of the diode strings, or to drive a worst case average voltage through the diode strings.
In some applications, it is desirable to dim or to brighten the LED diode strings. In some particular applications, it is desirable to brighten and to dim the LED diode string over a wide dynamic range.
In order to cause a dimming or brightening of the LEDs while still maintaining a desirable lowest voltage from the DC-DC converter (switching regulator), and while still maintaining the predetermined current through the diode strings, the predetermined current through the LEDs can be cycled on and off at a rate fast enough to be undetected by the human eye. When the current through the LEDs is on, the current equals the desirable predetermined current, and when the current through the LEDs is off, the current can be zero or some current less than the predetermined current.
When the current through the load is switched off, it is desirable to switch off the DC-DC converter, and when the current through the load is switched on, it is desirable to switch on the DC-DC converter. If the DC-DC converter is left on when the current through the load is switched off, the DC-DC converter would lack feedback control and the output voltage of the DC-DC converter could move to a different voltage, which is undesirable.
Since, as described above, the common switching regulator is controlled to generate an output voltage only high enough to drive the series connected LED string having the lowest voltage, any voltage dip in the output voltage of the switching regulator can cause a corresponding dip in current supplied to one or more of the series connected LED strings, resulting in an undesirable flicker. The voltage dip can occur in the output voltage of the switching regulator due to a variety of causes. For example, a dip in the regulated output voltage of the switching regulator can occur due to a dip in the input voltage supplied to the switching regulator. In this case, the regulated output voltage would not recover for some period of time, until the switching regulator recovers, and the flicker would occur.
In order to achieve the wide dynamic range of brightness required by some applications, the on time of the current and the on time of the DC-DC converter must be able to be very short. For reasons described below, DC-DC converters are unable to achieve very short on times when switched on and off.
A DC-DC converter is often used in a feedback arrangement, in which a current or voltage at a load is sensed and the sensed current or voltage is used in a feedback loop to control the output voltage of the DC-DC converter. In a feedback loop, there is often so-called “compensation,” often in the form of a capacitor or filter, in order to slow the response time of the feedback loop in order to maintain stability.
Furthermore, many types of DC-DC converters, and switching regulators in particular, use an inductor to store energy during operation. The DC-DC converter, and the inductor in particular, require a finite time to reach steady state operation, and to reach a steady state output voltage.
In view of the above, it should be recognized that, when a short on time is desired to achieve a wide brightness dynamic range, the DC-DC converter may not behave properly in short duty cycle operation and fluctuations of the output voltage of the DC-DC converter may result. Thus, for a very short duty cycles, fluctuations in the output voltage of the DC-DC converter can also result in flicker.
It would be desirable to provide a circuit and technique that can achieve a wide dynamic range of power provided to a load by a DC-DC converter in a feedback loop arrangement, while reducing any fluctuation of power delivered to the load (e.g., flicker) that may result from fluctuation of a regulated voltage supplied by the DC-DC converter.
SUMMARY OF THE INVENTION
The present invention provides circuits and techniques circuits and techniques that can achieve a wide dynamic range of power provided to a load by a DC-DC converter in a feedback loop arrangement, while reducing any fluctuation of power delivered to the load (e.g., flicker) that may result from fluctuation of a regulated voltage supplied by the DC-DC converter.
In accordance with one aspect of the present invention, an electronic circuit to provide an adjustable average current through a load includes a PWM input node coupled to receive a pulse width modulated (PWM) signal having first and second states with respective adjustable time durations. The electronic circuit also includes a condition detection circuit configured to identify a condition of the electronic circuit and to generate a condition signal indicative of the condition. The electronic circuit also includes a current extension circuit comprising an input node, a control node, and an output node. The input node of the current extension circuit is coupled receive the condition signal and the control node of the current extension circuit is coupled to the PWM input node. The current extension circuit is configured to generate, at the output node of the current extension circuit, an extended PWM signal having a first state and a second state. The first state of the extended PWM signal longer in time than the first state of the PWM signal by an amount related to a value or a state of the condition signal.
In some embodiments, the electronic circuit further includes a load connection node configured to couple to the load, and a current regulator circuit comprising an input node, an output node, and a current enable node. A selected one of the input node or the output node of the current regulator circuit is coupled to the load connection node. The current enable node is coupled to receive the extended PWM signal and the current regulator circuit is configured to pass a predetermined current from the input node to the output node. The predetermined current is passed or not passed depending upon the first or the second state, respectively, of the extended PWM signal.
In accordance with another aspect of the present invention, a method of generating an adjustable average current through a load with an electronic circuit includes receiving a pulse width modulated (PWM) signal having first and second states with respective adjustable time durations. The method further includes detecting a condition of the electronic circuit and generating a condition signal related to the condition. The method further includes generating an extended PWM signal having first and second states with respective time durations in accordance with the condition signal. The first state of the extended PWM signal is longer than the first state of the PWM. The method further includes coupling a current regulator to the load. The current regulator is coupled to receive the extended PWM signal and the current regulator circuit is configured to pass a predetermined current from the input node to the output node. The predetermined current is passed or not passed depending upon the first or the second state, respectively, of the extended PWM signal.



BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing features of the invention, as well as the invention itself may be more fully understood from the following detailed description of the drawings, in which:
FIG. 1 is a block diagram showing an exemplary circuit to drive a load, the circuit having a DC-DC voltage converter, in the form of a switching regulator, and current regulators coupled on opposite sides of series coupled light emitting diode (LED) strings, and for which a power to the load (the LEDs) can be pulsed, the circuit also having a current extension circuit to extend on times of an extended PWM signal applied to turn on and off the current regulators;
FIG. 2 is a block diagram showing another exemplary circuit to drive a load, the circuit having a DC-DC voltage converter, in the form of a switching regulator, and current regulators coupled on opposite sides of series coupled light emitting diode (LED) strings, and for which a power to the load (the LEDs) can be pulsed, the circuit also having a current extension circuit to extend on times of an extended PWM signal applied to turn on and off the current regulators;
FIG. 3 is a block diagram showing an exemplary current regulator that can be used in the circuit of FIG. 1;
FIG. 4 is a block diagram showing an exemplary current regulator that can be used in the circuit of FIG. 2;
FIG. 5 is a block diagram of an exemplary current extension circuit that can be used as the current extension circuits of FIGS. 1 and 2;
FIG. 6 is a graph showing operation of the current extension circuit of FIG. 5;
FIG. 6A is a graph showing operation of the current extension circuit of FIG. 5 when used in the circuits of FIG. 1 or 2;
FIG. 7 is a block diagram showing another exemplary circuit to drive a load, the circuit having a DC-DC voltage converter, in the form of a switching regulator, and current regulators coupled on opposite sides of series coupled light emitting diode (LED) strings, and for which a power to the load (the LEDs) can be pulsed, the circuit also having a generalized condition detection circuit and a generalized current extension circuit, the current extension circuit, response to the condition detection circuit, to extend on times of an extended PWM signal applied to turn on and off the current regulators;
FIG. 8 is a block diagram of an exemplary current extension circuit that can be used to this is the current extension circuit of FIG. 7;
FIG. 9 is a block diagram of an exemplary condition detection circuit that can be used as the condition detection circuit of FIG. 7;
FIG. 10 is a block diagram of another exemplary condition detection circuit that can be used as the condition detection circuit of FIG. 7;
FIG. 11 is a block diagram of another exemplary condition detection circuit that can be used as the condition detection circuit of FIG. 7; and
FIG. 12 is a block diagram of another exemplary condition detection circuit that can be used as the condition detection circuit of FIG. 7.



DETAILED DESCRIPTION OF THE INVENTION
Before describing the present invention, some introductory concepts and terminology are explained. As used herein, the term “boost switching regulator” is used to describe a known type of switching regulator that provides an output voltage higher than an input voltage to the boost switching regulator. While a certain particular circuit topology of boost switching regulator is shown herein, it should be understood that boost switching regulators have a variety of circuit configurations. As used herein, the term “buck switching regulator” is used to describe a known type of switching regulator that provides an output voltage lower than an input voltage to the buck switching regulator. It should be understood that there are still other forms of switching regulators other than a boost switching regulator and other than a buck switching regulator, and this invention is not limited to any one type.
DC-DC voltage converters (or simply DC-DC converters) are described herein. The described DC-DC converters can be any form of DC-DC converter, including, but not limited to, the above-described boost and buck switching regulators.
As used herein, the term “current regulator” is used to describe a circuit or a circuit component that can regulate a current passing through the circuit or circuit component to a predetermined, i.e., regulated, current. A current regulator can be a “current sink,” which can input a regulated current, or a “current source,” which can output a regulated current. A current regulator has a “current node” at which a current is output in the case of a current source, or at which a current is input in the case of a current sink.
Referring to FIG. 1, an exemplary electronic circuit 10 includes a controllable DC-DC converter 12 coupled to one or more loads, for example, series connected diode strings 52, 54, 56, which, in some arrangements, are series connected light emitting diode (LED) strings as may form an LED display or a backlight for a display, for example, a liquid crystal display (LCD). As described above, in some arrangements, the controllable DC-DC converter 12 is a switching regulator. The series connected LED strings 52, 54, 56 are coupled to respective current regulators 66a, 66b, 66c, here shown to be current sinks. The current regulators 66a, 66b, 66c have respective voltage sense nodes 66aa, 66ba, 66ca, respective current sense nodes 66ab, 66bb, 66cb, and respective current control circuits 64a, 64b, 64c. 
Operation of the current regulators 66a, 66b, 66c is described more fully below in conjunction with FIGS. 3 and 4. Let it suffice here to say that the current regulators 66a, 66b, 66c maintain a predetermined voltage at the current sense nodes 66ab, 66bb, 66cb, resulting in predetermined currents flowing through resistors 70a, 70b, 70c and through the current regulators 66a, 66b, 66c. 
At the same time, the switching regulator 12 is controlled in a feedback arrangements to maintain sufficient voltage (as little as possible) at the voltage sense nodes 66aa, 66ba, 66ca to allow the current regulators 66a, 66b, 66c to operate.
Since the series connected LED strings 52, 54, 56, can each generate a different voltage drop, the voltages appearing at the voltage sense nodes 66aa, 66ba, 66ca can be different. It will also be recognized that at least a predetermined minimum voltage must be present at each of the voltage sense nodes 66aa, 66ba, 66ca in order for each of the current regulators 66a, 66b, 66c to function properly, i.e., to sink the desired (predetermined) current for which they are designed. In normal operation, it is desirable to maintain voltages at the voltages sense nodes 66aa, 66ba, 66ca as low as possible to conserve power, but high enough to achieve proper operation.
A multi-input error amplifier 36 is coupled to receive voltage signals 58, 60, 62 corresponding to voltages appearing at the voltage sense nodes 66aa, 66ba, 66ca, respectively, at one or more inverting input nodes. The multi-input error amplifier 36 is also coupled to receive a reference voltage signal 38, for example, 0.5 volts, at a non-inverting input node. The multi-input error amplifier 36 is configured to generate an error signal 36a, which is related to an opposite of an arithmetic mean of the voltage signals 58, 60, 62. In some particular arrangements, the multi-input error amplifier 36 has inputs comprised of metal oxide semiconductor (MOS) transistors. In some arrangements, the error amplifier 36 is a transconductance amplifier, which provides a current-type output.
A switch 39 is coupled to receive the error signal 36a and configured to generate a switched error signal 39a under control of an extended pulse width modulated (PWM) signal 86a, described more fully below.
The circuit 10 can include a capacitor 42 coupled to receive the switched error signal 39a. In one particular arrangement, the capacitor 42 has a value of about one hundred picofarads. The capacitor 42 can provide a loop filter and can have a value selected to stabilize a feedback control loop.
A DC-DC converter controller 28 is coupled to receive the switched error signal 39a at an error node 28c. 
An average current to the load, which is related to an average power to the load, can be detected by way of resistors 82a, 82b, 82c arranged in a condition detection circuit 82 to provide an average current sense signal 84 having a value (e.g., an analog value) related to an average current delivered to all of the loads (e.g., series coupled LED strings 52, 54, 56). While the resistors 82a, 82b, 82c are shown to be coupled to each one of the current regulators 66a, 66b, 66c, in other embodiments, resistors may be coupled to only one or only some of the current regulators 66a, 66b, 66c. 
The resistors 82a, 82b, 82c are selected to have relatively large values, for example, 10 kOhms, so as not to affect operation of the current regulators 66a, 66b, 66c. 
Average current indicated by the average current sense signal 84 is related to a duty cycle of the extended PWM signal 86a described more fully below. Short duty cycles result in low power to the load (e.g., dim LED strings) and high duty cycles result in high power to the load (e.g., bright LED strings).
A so-called “current extension circuit” 86 is coupled to receive the average current sense signal 84, coupled to receive a PWM signal 78 (or alternatively, a PWM signal 54a), coupled to receive a reference signal 88, for example, a reference signal, VrefA, (also described below in conjunction with FIG. 3), and configured to generate the extended PWM signal 86a. The current extension circuit 86 is described more fully below in conjunction with FIG. 5. Let it suffice here to say that, particularly for very short duty cycles (e.g., short periods of the high state) of the PWM signal 78, the extended PWM signal 86a has a longer high state period than the PWM signal 78.
In operation, in some embodiments, particularly for short duty cycles of the PWM signal 78, the current extension circuit 86 can provide the extended PWM signal 86a, PWM1, to extend the on times of the current regulators 66a, 66b, 66c beyond that which they would achieve if controlled by the PWM signal 78. Operation of the current extension circuit 86 is described more fully in conjunction with FIGS. 5, 6, and 6A.
A gate, for example, an OR gate 42, can be coupled to receive the extended PWM signal 86a, coupled to receive the PWM signal 78, and configured to generate a control signal 42a. 
Another gate, for example, an AND gate 44, can be coupled to receive the control signal 42a, coupled to receive a circuit error signal, for example, an overvoltage (OVP) signal 45a, and configured to generate a control signal 44a. 
At an enable node 28a, the DC-DC converter controller 28 can be turned on and off by the control signal 44a. 
The DC-DC converter controller 28 can include a PWM controller 30 configured to generate a DC-DC converter PWM signal 30a, which is a different PWM signal than the PWM signal 78 described above. The DC-DC converter PWM signal 30a can have a higher frequency (e.g., 100 KHz) than the PWM signal 78 (e.g., 200 Hz).
A switch, for example, a FET switch 32, can be coupled to receive the DC-DC converter PWM signal 30a at its gate, the FET configured to provide a switching control signal 32a to the DC-DC converter 12. Operation of the DC-DC converter 12, here shown to be a boost switching regulator, in conjunction with the switching control signal 32a, will be understood. Each time the switch 32 closes, current flows through an inductor 18, storing energy, and each time the switch 32 opens, the energy is released to a capacitor 22. If the closure time of the switch 32 is too short, energy cannot build in the inductor 18 to a steady state condition and the switching regulator 12 does not function properly.
The controllable DC-DC converter 12 is also coupled to receive a power supply voltage, Vps, at an input node 12a and to generate a regulated output voltage 24 at an output node 14a in response to the error signal 36a, and in response to the switching control signal 32a. In some arrangements, the controllable DC-DC converter 12 is a boost switching regulator and the controllable DC-DC converter 12 is coupled to receive the power supply voltage, Vps, at the input node 12a and to generate a relatively higher regulated output voltage 24 at the output node 12b. 
With this arrangement, the controllable DC-DC converter 12 is controlled by an arithmetic mean of the voltage signals 58, 60, 62. Thus, an arithmetic mean of the voltage signals 58, 60, 62 that would be too low to provide proper operation of an associated one of the current regulators 66a, 66b, 66c will result in an increase in the error signal 36a, tending to raise the output voltage 24 of the controllable DC-DC converter 12. Thus, the DC-DC converter 12 is controlled in a feedback loop arrangement.
It should be appreciated that the regulated output voltage 24 has a particular desired value. Specifically, the particular desired value of the regulated output voltage 24 is that which achieves a high enough voltage at all of the current regulators 66a, 66b, 66c so that they can all operate properly to regulate current as desired. In addition, the particular desired value of the regulated output voltage 24 is that which is as low as possible so that the one or more of the current regulators that receive the lowest voltage(s) (i.e., the greatest voltage drop across the associated series connected LED strings 52, 54, 56) have just enough voltage to properly operate. With this particular desired value of the regulated output voltage 24, a low power is expended in the current regulators 66a, 66b, 66c resulting in high power efficiency while properly illuminating the LEDs.
In some particular arrangements, the desired value of regulated voltage 24 can include a voltage margin (e.g., one volt). In other words, in some arrangements, the particular desired value of the regulated output voltage 24 is that which is as low as possible so that the one or more of the current regulators that receive the lowest voltage(s) have just enough voltage to properly operate, plus the voltage margin. Still, an acceptably low power consumption can result.
The above described error signal 36a, which is the arithmetic mean of the voltage signals 58, 60, 62, approximately achieves the particular desired value of the regulated output voltage 24.
Certain elements of the circuit 10 can be within a single integrated circuit. For example, in some arrangements, circuit 80 is within an integrated circuit and other components are outside of the integrated circuit.
In some alternate arrangements, the multi-input error amplifier 32 is replaced by a multi-input comparator, which either has hysteresis, or which is periodically clocked at which time it makes a comparison.
The above-described PWM signal 78 can be received at a PWM node 80b of the integrated circuit 80. In some alternate embodiments, in place of the PWM signal 78, another signal, for example, a DC signal 79, can be received at a control node 80c, in which case, an optional PWM generator 54 can be coupled to receive the DC signal and can be configured to generate a PWM signal 54a. The PWM signal 54a can have a duty cycle related to a value of the DC signal 79. Either the PWM signal 78 or the PWM signal 54a can be used as the PWM signal indicated in other parts of the circuit 10.
In operation, in order to control a brightness of the LED strings 52, 54, 56, or, more generally, a power delivered to a load, a duty cycle of the PWM signal 78 (or 54a) can be varied, which varies a duty cycle of the extended PWM signal 86a. When the extended PWM signal 86a is high, the circuit 10 operates in a closed loop arrangement, i.e., the switch 39 is closed the current control circuits 64a, 64b, 64c are enabled, and the PWM controller 28 is enabled, causing the switching control signal 32a to switch. When the extended PWM signal 86a is high, the voltage signals 58, 60, 62 are controlled and the currents passing through the current regulators 66a, 66b, 66c are controlled.
When the extended PWM signal 86a is low, the circuit 10 is shut down in several regards. Currents passing through the current regulators 66a, 66b, 66c are stopped by way of the extended PWM signal 86a received by the current regulators 66a, 66b, 66c. The switch 39 is opened, causing the capacitor 42 to hold its voltage. The PWM controller 28 is disabled, causing the switching control signal 32a to stop switching, and the DC-DC converter 12 to stop converting. When stopped, voltage from the DC-DC converter 12, i.e., the voltage 24, is held on the capacitor 22, but tends to droop with time.
It will be understood that, when the PWM 78 signal goes from low to high for only a short period (i.e., the PWM signal 78 has only a short duty cycle), if the switching regulator were controlled by the PWM signal 78, the switching regulator 12 may not have sufficient time to achieve steady state operation. Therefore, when the PWM signal 78 has a short duty cycle, the current extension circuit 86 can not only extend on times of the current regulators, 66a, 66b, 66c, but can also operate to enable the PWM controller 30 for a time longer than a time that would be achieved by the high state of the PWM signal 78. Generation of the extended PWM signal 86a is described below in conjunction with FIG. 5.
In some alternate embodiments, the PWM controller is controlled by the PWM signal 78 and not by the extended PWM signal.
Referring now to FIG. 2, in which like elements of FIG. 1 are shown having like reference designations, a circuit 200 is similar to the circuit 10 of FIG. 1. Current regulators 206a, 206b, 206c, are similar to the current regulators 66a, 66b, 66c of FIG. 1, however, the current regulators 206a, 206b, 206c are coupled to the bottom (cathode) ends of the series connected LED strings 52, 54, 56, respectively, instead of to the top (anode) ends of the series connected LED strings 52, 54, 56, respectively. In these embodiments, an input node 202e is coupled to receive the regulated output voltage 24, and output nodes, of which a node 202d is but one example, are coupled to the anode ends of the series connected LED strings 52, 54, 56, respectively. The inverting inputs of the error amplifier 36 are coupled to voltage sense node 206aa, 206ba, 206ca. 
The current regulators 206a, 206b, 206c have the voltage sense nodes 206aa, 206ba, 206ca, respectively, current sense nodes 206ab, 206bb, 206cb, respectively, and current control circuits 204a, 204b, 204c, respectively.
A current extension circuit 224 is the same as or similar to the current extension circuit 86 of FIG. 1.
Operation of the circuit 200, including brightness control, is similar to operation of the circuit 10 described above in conjunction with FIG. 1.
Referring now to FIG. 3, an exemplary current regulator circuit 250 can be the same as or similar to the current regulator circuits 66a, 66b, 66c of FIG. 1. The current regulator circuit 250 can include a node 250c coupled to receive a PWM signal 272, which can be the same as or similar to one of the PWM signals 78, 54a of FIG. 1.
A voltage sense node 250a can be the same as or similar to the voltage sense nodes 66aa, 66ba, 66ca of FIG. 1. A current sense node 260 can be the same as or similar to the current sense nodes 66ab, 66bb, 66cb of FIG. 1. A FET 258 can be the same as or similar to the FETs 68a, 68b, 68c of FIG. 1. A resistor 264 can be the same as or similar to the resistors 70a, 70b, 70c of FIG. 1.
The current regulator circuit 250 can include an amplifier 256 having an inverting input coupled to the current sense node 260, an output coupled to a gate of the FET 258, and a non-inverting input coupled, at some times, to receive a reference voltage, VrefA, through a switch 254, and coupled, at other times, to receive another reference voltage, for example, ground, through a switch 270. The switch 254 is coupled to receive the PWM signal 272 at its control input, and the switch 270 is coupled to receive an inverted PWM signal 268a at its control input via an inverter 268. Thus, the switches 254, 256 operate in opposition.
In operation, in response to a high state of the PWM signal 272, the switch 254 is closed and the switch 270 is open. In this state, the current regulator circuit 250 is enabled in a feedback arrangement and acts to maintain the reference voltage 252 as a signal 266 on the resistor 264, thus controlling a current through the resistor 264 and through the FET 258.
In response to a low state of the PWM signal 272, the switch 254 is open and the switch 270 is closed. In this state, an output signal 256a of the amplifier 256 is forced low, turning off the FET 258 (an N channel FET), and stopping current from flowing through the FET 258 and through the resistor 264. Thus, the current regulator circuit 250 can be enabled and disabled in accordance with states of the PWM signal 272.
Referring now to FIG. 4, an exemplary current regulator circuit 300 can be the same as or similar to the current regulator circuits 206a, 206b, 206c of FIG. 2. The current regulator circuit 300 can include a node 300d coupled to receive a PWM signal 310, which can be the same as or similar to one of the PWM signals 78, 54a of FIG. 2.
A voltage sense node 300c can be the same as or similar to the voltage sense nodes 206aa, 206ba, 206ca of FIG. 2. A current sense node 314 can be the same as or similar to the current sense nodes 206ab, 206bb, 206cb of FIG. 2. A FET 324 can be the same as or similar to the FETs 210a, 210b, 210c of FIG. 2. A resistor 304 can be the same as or similar to the resistors 208a, 208b, 208c of FIG. 2.
The current regulator circuit 300 can include an amplifier 322 having an inverting input coupled to the current sense node 314, an output coupled to a gate of the FET 324, and a non-inverting input coupled, at some times, to receive a reference voltage, VrefB, through a switch 318, and coupled, at other times, to receive another reference voltage, for example, Vcc, through a switch 308. The switch 318 is coupled to receive the PWM signal 310 at its control input, and the switch 308 is coupled to receive an inverted PWM signal 306a at its control input via an inverter 306. Thus, the switches 318, 308 operate in opposition.
In operation, in response to a high state of the PWM signal 310, the switch 318 is closed and the switch 308 is open. In this state, the current regulator circuit 300 is enabled in a feedback arrangement and acts to maintain the reference voltage 316 as a signal 312 on the resistor 304, thus controlling a current through the resistor 304 and through the FET 324.
In response to a low state of the PWM signal 310, the switch 318 is open and the switch 308 is closed. In this state, an output signal 322a of the amplifier 322 is forced high, turning off the FET 324 (a P channel FET), and stopping current from flowing through the FET 324 and through the resistor 304. Thus, the current regulator circuit 300 can be enabled and disabled in accordance with states of the PWM signal 310.
Referring now to FIG. 5, a current extension circuit 350 can be the same as or similar to the current extension circuits 86, 224 of FIG. 1 or 2. The current extension circuit 350 can be coupled to receive a signal having a value related to a value of an average current sense signal, which can be the same as or similar to the average current sense signals 84, 222 of FIG. 1 or 2. The current extension circuit 350 can also be coupled to receive a reference voltage signal, VrefA or VrefB, which can be the same as or similar to the voltage reference signals 88, 226 of FIG. 1 or 2. The current extension circuit 350 can also be coupled to receive a PWM signal, which can be the same as or similar to the PWM signal 78 of FIGS. 1 and 2, or the PWM signal 54a of FIGS. 1 and 2. The current extension circuit 350 is configured to generate an extended PWM signal 356a, PWM1, which can be the same as or similar to the extended PWM signals 86a, 224a of FIG. 1 or 2.
The current extension circuit 350 can include a reference integrator 352 coupled to receive the reference voltage signal, VrefA or VrefB, which can be the same as or similar to the voltage reference signals 88, 226 of FIG. 1 or 2, and configured to generate a first integrated signal 352a. The current extension circuit 350 can also include an average current sense integrator 354 coupled to receive a signal having a value related to a value of the adjustable average current through the load, which can be the same as or similar to the average current sense signals 84, 222 of FIG. 1 or 2, and configured to generate a second integrated signal 354a. The current extension circuit 350 can also include a comparator 356 coupled to receive the first and second integrated signals 352a, 354a, respectively, and configured to generate a comparison signal 356a. An OR gate 362 can be coupled to receive the comparison signal 356a at one input and coupled to receive the PWM signal at a second input. The OR gate is configured to generate an extended PWM signal 362a. The extended PWM signal 362a can be the same as or similar to the extended PWM signals 86a, 224a of FIG. 1 or 2.
The current extension circuit 350 can also include a reset circuit coupled to receive the comparison signal 356a as an input to an inverter 358. An output signal 358a from the inverter 358 is received by a one-shot circuit 360 configured to generate a pulse output signal 360a as a reset signal. The reset signal 360a is received by both the reference integrator 352 and by the average current sense integrator 354.
Operation of the current extension circuit 350 is described more fully below in conjunction with FIG. 6.
Referring now to FIG. 6, a graph 370 has a horizontal axis with a scale in units of time in arbitrary units. The graph also has a vertical axis with a scale in units of volts in arbitrary units. A series of signals is shown in the graph of FIG. 6. Each signal is shown having its own separable range of values on the vertical axis.
A reference integrator signal 372 is indicative of the first integrated signal 352a generated by the reference integrator 352 of FIG. 5. A current sense integrator signal 374 is indicative of the second integrated signal 354a generated by the average current sense integrator 354 of FIG. 5. A reset signal 376 is indicative of the reset signal 360a of FIG. 5. A PWM signal 378, PWM, is indicative of the PWM signal 78 received by the reference integrator 352 of FIG. 5. A comparison signal 380 is indicative of the comparison signal 356a of FIG. 5. An extended PWM signal 382, PWM1, is indicative of the extended PWM signal 362a of FIG. 5.
The reference integrator signal 372 is indicative of an integration that occurs between times t0 and t1, corresponding to start and stop times of a high state of the PWM signal 380. The current sense integrator signal 374 is indicative of an integration that begins at the time t0, but which ends a later time, t2. The later time, t2 occurs when the average current sense integrator signal 374 achieves a value, Vb, greater than or equal to a value, Va, achieved by the reference integrator signal 372, as identified by the comparator 356 of FIG. 5, and is represented by the comparison signal 380.
It will be appreciated that, if the average current sense integrator signal 374 rises more rapidly than the reference integrator signal 372, then the high state of the comparison signal 380 can be shorter than the high state of the PWM signal 378. However, the high state of the extended PWM signal 382 cannot be shorter than the high state of the PWM signal 378 due to operation of the OR gate 362 of FIG. 5.
Referring now to FIG. 6A, a graph 400 has a horizontal axis with a scale in units of time in arbitrary units. The graph also has a vertical axis with a scale in units of volts and current in volts and in milliamps. A series of signals is shown in the graph of FIG. 6A. Each signal is shown having its own separable range of values on the vertical axis.
A signal 402 is representative of a power supply signal, for example the power supply signal 14 of FIGS. 1 and 2. The power supply signal 402 is shown to have a region 402a indicative of a drop in the power supply voltage, which is undesirable. While but one drop is shown, there can be many drops from time to time.
A signal 404 is representative of a regulated voltage provided by a DC-DC converter, for example the regulated voltage 24 provided by the switching regulator 12 of FIGS. 1 and 2. The regulated voltage signal 404 is shown to have a region 404a with the dip in voltage. The dip in voltage is a result of the drop in power supply voltage of the signal 402. As described above the switching regulator cannot respond immediately to a drop in the power supply voltage, which results in a dip in the output regulated voltage of the switching regulator. As described above, this is very undesirable for reasons that will become apparent below.
A signal 406 is representative of the PWM signal 78 of FIGS. 1 and 2. As described above, the PWM signal has a variable duty cycle in order to control a brightness of the LEDS 52, 54, 56 of FIGS. 1 and 2 by way of turning on an off the current regulators 66a, 66b, 66c. Only one duty cycle is shown.
A signal 408 is representative of a current passing through one of the current regulators 66a, 66b, 66c of FIG. 1 or the current regulators 206a, 206b, 206c of FIG. 2, if the current regulators were controlled by the PWM signal 406 instead of by the extended PWM signal 86a, 224a of FIGS. 1 and 2, respectively. The signal 408 has a disturbed region 408a resulting from the drop in the regulated voltage signal 404. It will be understood that, during the disturbed region 408a, the LEDS 52, 54, 56 will dim by a perceptible amount, which is unacceptable.
A signal 410 is representative of a current passing through one of the current regulators 66a, 66b, 66c of FIG. 1 or the current regulators 206a, 206b, 206c of FIG. 2 when the current regulators 6 are controlled instead by the extended PWM signal 86a, 224a of FIGS. 1 and 2, respectively. The signal 410, like the signal 408, also has a disturbed region 410a. However, during the disturbed region 410a, on times of the current regulators are extended in time resulting in wider pulses of current passing through the current regulators. Thus, even though the currents are reduced in magnitude passing through the current regulators within the disturbed region 410a, extra power is delivered to the load, i.e. the LEDS 52, 54, 56, due to the extended on times of the currents passing through the current regulators. This results in approximately the same power passing through the LEDS 52, 54, 56 during the disturbed region 410a as passes through the LEDS at other times. Therefore, the drop in power supply voltage represented by the signal 402 and resulting drop in the regulated voltage represented by the signal 404 does not cause a flicker of the brightness of the LEDS 52, 54, 56.
Preceding circuits and techniques use a detection of the average current passing through one or more of the current regulators as a stimulus to extend in time the currents passing through the current regulators. The average current is sensed by the condition detection circuits 82, 220 of FIGS. 1 and 2, respectively. Below, it will be shown that other conditions of the circuits can be detected, other than the average current, and other condition signals can be generated, which can be used as stimuli to extend on times of the currents passing through the current regulators.
In many embodiments shown below, the condition signal is a binary digital condition, unlike the condition signals 84, 222 described above, which are variable analog condition signals, resulting in a variable time extension of the extended PWM signals 86a, 224a. 
Referring now to FIG. 7, in which like elements of FIGS. 1 and 2 are shown having like reference designations, a circuit 420 includes a circuit 422, in which a condition detection circuit 426 and a current extension circuit 428 are more generally shown. The condition detection circuit 426 is coupled to receive one of a variety of input signals 424 described in conjunction with FIGS. 9-12 below. The condition detection circuit 426 is configured to generate a condition signal 426a. A current extension circuit 428 is coupled to receive the condition signal, coupled to receive the PWM signal 78, and configured to generate an extended PWM signal 430.
Referring now to FIG. 8, in which like elements of FIG. 7 are shown having like reference designations, a current extension circuit 450 can be the same as or similar to the current extension circuit 428 of FIG. 7. The current extension circuit 450 can be coupled to receive the PWM signal 78 and coupled to receive the condition signal 426a. 
The current extension circuit 450 can include a pulse extender circuit 452 coupled to receive the PWM signal 78. The pulse extender circuit is configured to generate an extended signal 452a, which is like the PWM signal 78 but having a state, for example, a first or high state, extended in time from that of the PWM signal 78.
The current extension circuit 450 can also include a single pole double throw switch 454 coupled to receive the PWM signal 78 and also coupled to receive the extended signal 452a. The switch 454 is configured to generate a signal 454a, which is the same as or similar to the extended PWM signal 430 of FIG. 7.
The switch 454 is controlled by the condition signal 426a, which can be a two state binary signal.
Pulse extender circuits are known and can be made with a variety of configurations. For example, a pulse extender circuit can be made with a current source feeding into a capacitor to extend one of the edges, for example, the falling edge, of an input pulse. For another example, a pulse extender can be formed as a Layman's pulse extender. For yet another example a pulse extender can be formed using a ripple counter. These and other techniques will be understood by those of ordinary skill in the art.
In some embodiments, the pulse extender circuit 452 can generated the extended signal 452a having a state, for example, a high state, that is longer in time than a corresponding state of the PWM signal 78 by a predetermined amount of time. In some embodiments, the predetermined amount of time is about two microseconds. However, the predetermined time can be longer or shorter than two microseconds.
In operation, the condition signal 426a, in accordance with two binary states, provides either the PWM signal 78 or the extended signal 452a as the extended PWM signal 430 by way of the switch 454.
FIGS. 9-12 show a variety of circuits that can be used to form condition detection circuits and associated condition signals that can be used as the condition detection circuit 426 and condition signal 426a of FIG. 7.
Referring now to FIG. 9, in which like elements of FIGS. 7 and 8 are shown having like reference designations, a condition detection circuit 470 can be coupled to receive and act upon the power supply voltage 14 of FIG. 7, differentiating the power supply voltage 14, and therefore, acting upon a rate of change of the power supply voltage 14. The condition detection circuit 470 can be the same as or similar to the condition detection circuit 426 of FIG. 7.
The condition detection circuit 470 can include a capacitor 474 and a resistor 476 coupled around an operational amplifier 472 to form a differentiator. The operational amplifier 472 is coupled to receive the power supply signal 14 and configured to generate a differentiated signal 472a. A comparator 474 is coupled to receive the differentiated signal 472a at one input and coupled to receive a voltage threshold signal 476 at another input. The comparator 474 is configured to generate a comparison signal 474a. The comparison signal 474a has two states, a first state, e.g., a high state, indicative of a rate of change of the power supply voltage 14 being above the threshold value 476 and a second different state indicative of the rate of change of the power supply voltage 14 being below the threshold value 476.
A flip-flop 478 is coupled to receive the comparison signal 474a at a set input. The flip-flop 478 is configured to generate an output signal 478a at a Q output. The flip-flop 478 is also configured to generate another output signal 478b at an inverted Q output. A time delay module 480 is coupled to receive the signal 478b and configured to generate a delayed signal 480a received by the flip-flop 478 at a reset input.
The time delay module 480 provides a time delay selected to result in the condition signal 426a taking on a first state, for example, a high state, for a predetermined amount of time. The predetermined amount of time can be, for example, two microseconds.
The signal 478a generated by the flip-flop 478 can be the same as or similar to the condition signal 426a of FIGS. 7 and 8.
Using the condition signal 478a of FIG. 9 as the input condition signal 426a of FIG. 8, it will be understood that the signal 454a is extended for the predetermined amount of time when the condition signal 426a is indicative of the power supply voltage 14 having a high rate of change, and the signal 454a is not extended, i.e., it is the same as the PWM signal 78, when the power supply voltage 14 does not have a high rate of change.
Other arrangements are possible that do not have the flip-flop 478 or the time delay module 480. With these embodiments, there is no predetermined amount of time, and the signal 454a of FIG. 8 is extended when the condition signal 426a is indicative of the power supply voltage 14 having a high rate of change, and the signal 454a is not extended, i.e., it is the same as the PWM signal 78, when the power supply voltage 14 does not have a high rate of change.
Other condition detection circuits are shown in FIGS. 10-12 below, each without a flip-flop or time delay circuit. In other embodiments, each of these circuits can have a flip-flop and time delay circuit to generate a selected state of an output signal only for a predetermined amount of time.
Referring now to FIG. 10, in which like elements of FIGS. 7 and 8 are shown having like reference designations, a condition detection circuit 490 can be coupled to receive and act upon the power supply voltage 14 of FIG. 7, threshold detecting the power supply voltage 14, and therefore, acting upon a value of the power supply voltage 14. The condition detection circuit 490 can be the same as or similar to the condition detection circuit 426 of FIG. 7.
The condition detection circuit 490 can include a comparator 492 coupled to receive the power supply voltage 14 at one input and coupled to receive a voltage threshold signal 494 at another input. The comparator 492 is configured to generate a comparison signal 492a. The comparison signal 492a has two states, a first state, e.g., a high state, indicative of a value of the power supply voltage 14 being below the threshold value 494 and a second different state indicative of the value of the power supply voltage 14 being above the threshold value 494.
Using the condition signal 492a of FIG. 10 as the input condition signal 426a of FIG. 8, it will be understood that the signal 454a is extended when the condition signal 426a is indicative of the power supply voltage 14 being below a predetermined value, and the signal 454a is not extended, i.e., it is the same as the PWM signal 78, when the power supply voltage 14 is above the predetermined value.
Referring now to FIG. 11, in which like elements of FIGS. 7 and 8 are shown having like reference designations, a condition detection circuit 510 can be coupled to receive and act upon the PWM signal 78 of FIG. 7, detecting when the PWM signal 78 has a duty cycle below a threshold value. The condition detection circuit 510 can be the same as or similar to the condition detection circuit 426 of FIG. 7.
The condition detection circuit 510 can include a low pass filter 512 coupled to receive the PWM signal 78 and configured to generate a filtered signal 512a. The condition detection circuit 510 can include a comparator 514 coupled to receive the filtered signal 512a at one input and coupled to receive a voltage threshold signal 516 at another input. The comparator 514 is configured to generate a comparison signal 514a. The comparison signal 514a has two states, a first state, e.g., a high state, indicative of a value of the duty cycle of the PWM signal 78 being below the threshold value 516 and a second different state indicative of the value of the duty cycle of the PWM signal being above the threshold value 516.
Using the condition signal 514a of FIG. 11 as the input condition signal 426a of FIG. 8, it will be understood that the signal 454a of FIG. 8 is extended when the condition signal 426a is indicative of the duty cycle of the PWM signal 78 being below a predetermined value, and the signal 454a is not extended, i.e., it is the same as the PWM signal 78, when the duty cycle of the PWM signal 78 is above the predetermined value.
Referring now to FIG. 12, in which like elements of FIGS. 7 and 8 are shown having like reference designations, a condition detection circuit 530 can be coupled to receive and act upon the PWM signal 78 of FIG. 7, detecting when the PWM signal 78 has a duty cycle below a threshold value. A so-called “soft start” signal 544 is also used. The condition detection circuit 530 can be the same as or similar to the condition detection circuit 426 of FIG. 7.
The soft start signal is a signal generated when the circuit 420 of FIG. 7 is first powered on. The soft start signal has a first state, e.g., a high state, for a predetermined period of time following the time that power is applied to the circuit 420, and a second different state thereafter. In some embodiments, the first state time period is about five milliseconds.
In some embodiments, rather than having an open loop fixed time period, the soft start signal 540 is provided in a closed loop arrangement having a variable time period. For example, in some embodiments, at power on, the LEDs 52, 54, 56 (FIGS. 1 and 2) are monitored by other circuits (not shown) while the currents through the current regulators are set to a highest current condition (or alternatively, a lower current condition), and the soft start signal 504 has the first state until the LEDs 52, 54, 56 achieve or approach their proper closed loop regulation voltage at associated voltage sense nodes.
The condition detection circuit 530 can include a low pass filter 532 coupled to receive the PWM signal 78 and configured to generate a filtered signal 532a. The condition detection circuit 530 can include a comparator 534 coupled to receive the filtered signal 532a at one input and coupled to receive a voltage threshold signal 536 at another input. The comparator 534 is configured to generate a comparison signal 534a. The comparison signal 534a has two states, a first state, e.g., a high state, indicative of a value of the duty cycle of the PWM signal 78 being below the threshold value 516 and a second different state indicative of the value of the duty cycle of the PWM signal being above the threshold value 516.
The soft start signal can be received by an inverter 546a, configured to generate an inverted soft start signal 546a 
A gate, for example, an AND gate, is coupled to receive the comparison signal 534a at one input and coupled to receive the inverted soft start signal at another input. The AND gate is configured to generate a condition signal 538a. 
Using the condition signal 538a of FIG. 11 as the input condition signal 426a of FIG. 8, it will be understood that the signal 454a of FIG. 8 is extended when the condition signal 426a is indicative of the duty cycle of the PWM signal 78 being below a predetermined value and when the soft start signal is low (after a soft start period), and the signal 454a is not extended, i.e., it is the same as the PWM signal 78, when the duty cycle of the PWM signal 78 is above the predetermined value or when the soft start signal is high (during the soft start period).
The condition detection circuit of FIGS. 9-12 result in the extended PWM signal being generated to have the extended state (compared to the PWM signal 78) for a predetermined time. In other circuits (not shown), the extended PWM signal is always generated to have the extended state. For these circuits, the condition signal is essentially continuous (i.e., static), since the condition that causes the extended state is continuous.
All references cited herein are hereby incorporated herein by reference in their entirety.
Having described preferred embodiments, which serve to illustrate various concepts, structures and techniques, which are the subject of this patent, it will now become apparent to those of ordinary skill in the art that other embodiments incorporating these concepts, structures and techniques may be used. Accordingly, it is submitted that that scope of the patent should not be limited to the described embodiments but rather should be limited only by the spirit and scope of the following claims.

## Claims

1. An electronic circuit to provide an adjustable average current through a load, the electronic circuit comprising:
a PWM input node coupled to receive a pulse width modulated (PWM) signal having first and second states with respective adjustable time durations;
a condition detection circuit configured to identify a condition of the electronic circuit and to generate a condition signal indicative of the condition;
a current extension circuit comprising an input node, a control node, and an output node, the input node of the current extension circuit coupled receive the condition signal, the control node of the current extension circuit coupled to the PWM input node, wherein the current extension circuit is configured to generate, at the output node of the current extension circuit, an extended PWM signal having a first state and a second state, the first state of the extended PWM signal longer in time than the first state of the PWM signal by an amount related to a value or a state of the condition signal;
a switching regulator control node; and
a switching regulator controller having an input node, an output node, and an enable node, the output node of the switching regulator controller coupled to the switching regulator control node, the input node of the switching regulator controller coupled to receive a feedback voltage related to the average current through the load, and the enable node of the switching regulator controller coupled to receive the extended PWM signal, wherein the switching regulator controller does or does not generate a switching signal at the output node of the switching regulator controller depending upon the first or the second state, respectively, of the extended PWM signal.

2. The electronic circuit of claim 1, wherein the longer time of the first state of the extended PWM signal is longer by a determined time amount determined in relation to a value of the condition signal.

3. The electronic circuit of claim 1, wherein the longer time of the first state of the extended PWM signal is longer by a predetermined time when the condition signal has a first state and not longer by the predetermined time when the condition signal has a second different state.

4. The electronic circuit of claim 1, further comprising:
a load connection node configured to couple to the load; and
a current regulator circuit comprising an input node, an output node, and a current enable node, the current regulator circuit coupled to the load connection node, the current enable node coupled to receive the extended PWM signal, the current regulator circuit configured to pass a predetermined current from the input node to the output node, wherein the predetermined current is passed or not passed depending upon the first or the second state, respectively, of the extended PWM signal.

5. The electronic circuit of claim 4, wherein a selected one of the input node or the output node of the current regulator circuit is coupled to the load connection node.

6. The electronic circuit of claim 4, wherein the input node of the current regulator circuit is coupled to the load connection node.

7. The electronic circuit of claim 1, wherein the load comprises a series coupled string of light emitting diodes.

8. The electronic circuit of claim 1, wherein the condition detection circuit comprises at least one of: an average current detection circuit configured to generate the condition signal having a value related to the average current through the load; a dv/dt detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a rate of change of a power supply voltage being above a rate of change threshold; a voltage level detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a value of the power supply voltage being below a power supply voltage threshold; a static circuit configured to generate the condition signal as a static signal having a static value; a short duty cycle detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a duty cycle of the PWM signal being below a duty cycle threshold; or a soft start short duty cycle detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a duty cycle of the PWM signal being below the duty cycle threshold in combination with a state of a soft start signal, wherein the soft start signal comprises a two state signal having a state delayed from a startup of the electronic circuit.

9. The electronic circuit of claim 8, further comprising: a load connection node configured to couple to the load; and a current regulator circuit comprising an input node, an output node, and a current enable node, the current regulator circuit coupled to the load connection node, the current enable node coupled to receive the extended PWM signal, the current regulator circuit configured to pass a predetermined current from the input node to the output node, wherein the predetermined current is passed or not passed depending upon the first or the second state, respectively, of the extended PWM signal.

10. The electronic circuit of claim 9, wherein a selected one of the input node or the output node of the current regulator circuit is coupled to the load connection node.

11. The electronic circuit of claim 9, wherein the input node of the current regulator circuit is coupled to the load connection node.

12. The electronic circuit of claim 1, wherein the condition detection circuit comprises:
an average current detection circuit configured to generate the condition signal having a value related to the average current through the load.

13. The electronic circuit of claim 1, wherein the condition detection circuit comprises: a dv/dt detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a rate of change of a power supply voltage being above a rate of change threshold.

14. The electronic circuit of claim 1, wherein the condition detection circuit comprises: a voltage level detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a value of a power supply voltage being below a power supply voltage threshold.

15. The electronic circuit of claim 1, wherein the condition detection circuit comprises: a static circuit configured to generate the condition signal as a static signal having a static value.

16. The electronic circuit of claim 1, wherein the condition detection circuit comprises: a short duty cycle detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a duty cycle of the PWM signal being below a duty cycle threshold.

17. The electronic circuit of claim 1, wherein the condition detection circuit comprises: a soft start short duty cycle detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a duty cycle of the PWM signal being below a duty cycle threshold in combination with a state of a soft start signal, wherein the soft start signal comprises a two state signal having a state delayed from a startup of the electronic circuit.

18. The electronic circuit of claim 1, wherein the current extension circuit comprises:
a reference integrator coupled to receive a reference voltage and configured to generate a first integrated signal;
an average current sense integrator coupled to receive a signal having a value related to a value of the adjustable average current through the load and configured to generate a second integrated signal; and
a comparator coupled to receive the first and second integrated signals and configured to generate the extended PWM signal in accordance with a comparison of the first and second integrated signals.

19. The electronic circuit of claim 1, wherein the current extension circuit comprises: a pulse extender circuit coupled to receive the PWM signal, and configured to generate the extended PWM signal; and a switch circuit coupled to receive the PWM signal, coupled to receive the extended PWM signal, coupled to receive the condition signal and configured to generate an output signed, wherein the output signal from the switch circuit is a selected one of the PWM signal or the extended PWM signal selected in accordance with a state of the condition signal.

20. The electronic circuit of claim 1, wherein the switching regulator control, node is configured to couple to a switching regulator.

21. A method of generating art adjustable average current through a load with an electronic circuit, the method comprising: receiving a pulse width modulated (PWM) signal having first and second states with respective adjustable time durations; detecting a condition of the electronic circuit; generating a condition signal related to the condition; generating an extended PWM signal having first and second states with respective time durations in accordance with the condition signal, wherein the first state of the extended PWM signal is longer than the first state of the PWM; providing a load connection node; coupling a current regulator circuit to the load connection node the current regulator circuit coupled to receive the extended PWM signal, the current regulator circuit comprising an input node, an output node, and a current enable node, wherein the current regulator circuit is configured to pass a predetermined current from the input node to the output node, wherein the predetermined current is passed or not passed depending upon the first or the second state, respectively, of the extended PWM signal; providing a switching regulator control node; and with a switching regulator controller having an input node, an output node, and an enable node, the output node of the switching regulator controller coupled to the switching regulator control node, the input node of the switching regulator controller coupled to receive a feedback voltage related to the average current through the load, and the enable node of the switching regulator controller coupled to receive that extended PWM signal, generating or not generating a switching signal at the output node of the switching regulator controller depending upon the first or the second state, respectively, of the extended PWM signal.

22. The method of claim 21, wherein the load comprises a series coupled string of light emitting diodes.

23. The method of claim 21, wherein the detecting the condition comprises: detecting a value of the average current through the load, wherein the condition, signal has a value related to the value office average current.

24. The method of claim 21, wherein the detecting the condition comprises: detecting a rate of change of a power supply voltage being above a rate of change threshold, wherein the condition signal comprises a two state signal having the first state resulting from the rate of change of the power supply voltage being above the rate of change threshold.

25. The method, of claim 21, wherein (he detecting the condition comprises: detecting a value of a power supply voltage being below a power supply voltage threshold, wherein the condition signal comprises a two state signal having the first state resulting from the power supply voltage being below the power supply voltage threshold.

26. The method of claim 21, wherein the detecting the condition comprises: detecting a duty cycle of the PWM signal being below a duty cycle threshold wherein the condition signal comprises a two state signal having the first state resulting from the PWM signal being below the duty cycle threshold.

27. The method of claim 21, wherein the detecting the condition comprises: detecting a duty cycle of the PWM signal being below a duty cycle threshold; and detecting a state of a soft start signal, wherein the soft start signal comprises a two state signal having a state delayed from a startup of the electronic circuit, and wherein the condition signal comprises a two state signal having the first state resulting from the PWM signal being below the duty cycle threshold and in combination with the detected state of the soft start signal.

28. The method of claim 21, wherein the generating the extended PWM signal comprises: integrating a reference voltage to generate a first integrated signal; integrating a signal having a value related to a value of the adjustable average current through the load to generate a second integrated signal; and comparing the first and second integrated signal.

29. The method of claim 21, wherein the generating the extended PWM signal comprises: receiving the PWM signal; receiving the extended PWM signal; receiving the condition signal; and generating an output signal as a selected one of the PWM signal or the extended PWM signal, selected in accordance with a state of the condition signal.

30. The method of claim 21, further comprising: controlling a switching regulator in accordance with the extended PWM signal.

31. An electronic circuit to provide an adjustable average current through a load, the electronic circuit comprising:
a PWM input node coupled to receive a pulse width modulated (PWM) signal having first and second states with respective adjustable time durations;
a condition detection circuit configured to identify a condition of the electronic circuit and to generate a condition signal indicative of the condition; and
a current extension circuit comprising an input node, a control node, and an output node, the input node of the current extension circuit coupled receive the condition signal, the control node of the current extension circuit coupled to the PWM input node, wherein the current extension circuit is configured to generate, at the output node of the current extension circuit, an extended PWM signal having a first state and a second state, the first state of the extended PWM signal longer in time than the first state of the PWM signal by an amount related to a value or a state of the condition signal, wherein the current extension circuit comprises:
a reference integrator coupled to receive a reference voltage and configured to generate a first integrated signal;
an average current sense integrator coupled to receive a signal having a value related to a value of the adjustable average current through the load and configured to generate a second integrated signal; and
a comparator coupled to receive the first and second integrated signals and configured to generate the extended PWM signal in accordance with a comparison of the first and second integrated signals.

32. The electronic circuit of claim 31, wherein the longer time of the first state of the extended PWM signal is longer by a determined time amount determined in relation to a value of the condition signal.

33. The electronic circuit of claim 31, wherein the longer time of the first state of the extended PWM signal is longer by a predetermined time when the condition signal has a first state and not longer by the predetermined time when the condition signal has a second different state.

34. The electronic circuit of claim 31, further comprising:
a load connection node configured to couple to the load; and
a current regulator circuit comprising an input node, an output node, and a current enable node, the current regulator circuit coupled to the load connection node, the current enable node coupled to receive the extended PWM signal, the current regulator circuit configured to pass a predetermined current from the input node to the output node, wherein the predetermined current is passed or not passed depending upon the first or the second state, respectively, of the extended PWM signal.

35. The electronic circuit of claim 31, wherein the load comprises a series coupled string of light emitting diodes.

36. The electronic circuit of claim 31, wherein the condition detection circuit comprises:
an average current detection circuit configured to generate the condition signal having a value related to the average current through the load.

37. The electronic circuit of claim 31, wherein the condition detection circuit comprises:
a dv/dt detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a rate of change of a power supply voltage being above a rate of change threshold.

38. The electronic circuit of claim 31, wherein the condition detection circuit comprises:
a voltage level detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a value of a power supply voltage being below a power supply voltage threshold.

39. The electronic circuit of claim 31, wherein the condition detection circuit comprises:
a static circuit configured to generate the condition signal as a static signal having a static value.

40. The electronic circuit of claim 31, wherein the condition detection circuit comprises:
a short duty cycle detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a duty cycle of the PWM signal being below a duty cycle threshold.

41. The electronic circuit of claim 31, wherein the condition detection circuit comprises:
a soft start short duty cycle detection circuit configured to generate the condition signal as a two state signal having the first state resulting from a duty cycle of the PWM signal being below a duty cycle threshold in combination with a state of a soft start signal, wherein the soft start signal comprises a two state signal having a state delayed from a startup of the electronic circuit.

42. The electronic circuit of claim 31, further comprising:
a switching regulator control node; and
a switching regulator controller having an input node, an output node, and an enable node, the output node of the switching regulator controller coupled to the switching regulator control node, the input node of the switching regulator controller coupled to receive a feedback voltage related to the average current through the load, and the enable node of the switching regulator controller coupled to receive the extended PWM signal, wherein the switching regulator controller does or does not generate a switching signal at the output node of the switching regulator controller depending upon the first or the second state, respectively, of the extended PWM signal.

43. The electronic circuit of claim 42, wherein the switching regulator control node is configured to couple to a switching regulator.