FIELD
[0001] This disclosure relates generally to switching regulators and, more particularly,
to switching regulator control circuits.
BACKGROUND
[0002] Regulators, or converters, including a switch, sometimes referred to as a power switch,
for transferring energy from an input, such as an AC or DC voltage or current source,
to a regulated output are well known. In some regulators, sometimes referred to as
switching regulators, the switch turns on and off to regulate the output. In other
regulators, sometimes referred to as linear regulators, the switch operates in its
active, or saturation region.
[0003] Common switching regulator configurations include Buck, Boost, Buck-Boost, flyback,
SEPIC, Cúk, half bridge, and full bridge to name a few. As is also well known, various
control methodologies for controlling conduction of the power switch can be applied
to switching regulators, including Pulse Width Modulation (PWM) and Pulse Frequency
Modulation (PFM), and for each of these control methodologies, various feedback and
feed forward techniques are possible including voltage mode control and current mode
control.
[0004] Switching regulators are often used to provide a regulated current to drive an LED
load as may include one or multiple LEDs coupled in series and/or parallel. Such switching
regulators control the intensity or brightness of the LEDs by selectively dimming
the LEDs. In one type of LED dimming, sometimes referred to as analog dimming, the
intensity of the LEDs is adjusted by adjusting the regulated LED current. Analog dimming
may utilize an error amplifier which is responsive to a reference signal and to a
feedback signal proportional to the regulator output to generate an error signal.
The error signal is then used to generate a switch control signal to control conduction
of the switch and the resulting regulated current. For example, the error signal may
be compared to a ramp signal to generate the switch control signal with a duty cycle
suitable for regulating the LED current at a desired level.
[0005] In another type of LED dimming, sometimes referred to as PWM dimming, the intensity
of the LEDs is adjusted by turning them off and on in response to a PWM signal at
a variable duty cycle with a fixed DC current and frequency (typically 100Hz to 1KHz).
The PWM signal may be externally provided or internally generated.
[0006] For LEDs, often PWM dimming is preferred over analog dimming because it minimizes
the color shift that can occur when using analog dimming. On the other hand, analog
dimming can be less complicated to implement than PWM dimming and PWM dimming pulses
the LED current, which can cause visible flicker, audible noise, or EMI issues.
[0007] Figure 1 illustrates a Boost regulator driving an LED load with current mode control
that permits both PWM dimming and analog dimming. Analog dimming is achieved by adjusting
the reference of the error amplifier (I1) according to the voltage on an external
pin. As illustrated in Figure 1, the IREF pin is the external input that can be used
to control the error amplifier reference when the voltage is below 1.0V. When the
IREF pin voltage is greater than 1.0V, comparator 110 changes the state of analog
multiplexer ("mux") I13, running the error amplifier off of the internal reference,
which may be more accurate than the voltage supplied on the IREF pin. This feature
is sometimes implemented by adding an additional positive input to the error amplifier
(II) that overrides the internal reference when the external signal is less than the
internal reference.
[0008] For PWM dimming, the user controls the intensity of the LEDs by supplying a digital
PWM signal into the PWM pin in Figure 1. As noted, some LED regulators may include
the generation of the PWM signal on chip, in which case the user supplies an analog
signal that is translated into a PWM duty cycle. Referring also the illustrative waveforms
of Figure 2, when the PWM signal is low the SW node is tri-stated with AND gate 15
to cause the LED current to be disabled. In addition, many LED regulators also tri-state
the COMP node by introducing switch SW1. This technique allows the control loop to
quickly recover when the regulator is re-enabled on the PWM input rising edge. Without
switch SW1 the error amplifier (I1) would have to slew the
[0009] To provide an even faster LED turn on and turn off, some regulators introduce a switch
in series with the LEDs that is driven by the PWM input as illustrated by M2 in Figure
1. Without M2, the turn off characteristic of the LED current would be exponential
because the output capacitor (Cout) will continue to supply current to the LEDs until
the dynamic resistance in the LEDs discharges Cout enough to turn off the diode component
of the LEDs. The dynamic resistance in the LEDs causes the output capacitor to more
slowly discharge, which results in the soft turn off characteristic and a small voltage
ripple across the output capacitor. This soft turn off characteristic makes the relationship
between the PWM pin duty cycle and the LED intensity non-linear, especially at low
duty cycles. On the other hand, turning the LED current instantaneously on and off
can cause EMI issues in some systems, since fast edges produce more harmonic noise
further up in the frequency domain which can be difficult to attenuate. This issue
is especially aggravated when there are wires between the LED driver and the LEDs,
as shown in Figure 1, because they act as an antenna for EMI emission.
[0010] US 2010/289424 A1 relates to methods and circuits for LED drivers, and in particular to methods for
PWM dimming controls for LEDs of a display. Methods are described for PWM dimming
control of LEDs, where respective currents for each LED channel are matched to one
another and also where the brightness level of any channel of the LEDs is matched
to within a certain brightness level of other channels of the LEDs, in addition to
current sense and artificial ramp circuits for PWM dimming control.
[0011] US 2012/286687 A1 discloses a semiconductor light source lighting circuit including a switching regulator
that produces a drive current with a switching element, and a control circuit that
controls turning on and off of the switching element so that the magnitude of the
drive current approaches a target value. The control circuit includes an error comparator
that compares the drive current and the target value, an up/down counter that performs
a counting operation, in which the control digital value is incremented or decremented
based on the result of the comparison, a D/A converter that converts the control digital
value into an analog duty ratio setting signal, and a drive circuit that controls
the turning on and off of the switching element based on the signal. The up/down counter
stops the counting operation when the switching regulator is brought into the inactive
state.
SUMMARY
[0012] In one aspect the present invention provides a switching regulator control circuit
as claimed in claim 1. With this arrangement, in applications in which the regulated
output is a regulated current to drive an LED load, the LED is dimmed in response
to a PWM signal, but in conjunction with a controlled ramping the LED current in response
to the reference signal. With the described circuitry and techniques, EMI and other
issues caused by instantaneously turning on and off the switch are alleviated by slowly
ramping the LED current up when turning on the LEDs and down when turning off the
LEDs in a well controlled fashion. For example, the described arrangement reduces
control loop overshoot when the LEDs are turned back on after dimming. The described
circuits and methods reduce EMI while allowing for good low duty cycle performance.
[0013] Features may include one or more of the following. The regulated output may be a
current and the reference signal ramped down to control the rate of decrease of the
regulated output. The reference signal may be ramped at a rate established in part
by a capacitor and/or at a user programmable rate. The reference signal may be provided
with a first rate of increase established by a first current source during a first,
soft start time interval and with a second, faster rate of increase established by
a second current source during a second time interval.
[0014] In another aspect, the invention provides a method of dimming an LED according to
claim 9. This aspect includes providing a PWM signal to a switch to turn the switch
on in response to an associated one of a rising edge and a falling edge of the PWM
signal and to turn the switch off in response to the other one of the rising edge
and the falling edge of the PWM signal. The LED current is ramped down in response
to the one of the rising edge or the falling edge or the PWM signal associated with
turning off the switch. The LED current may be ramped down by delaying turning off
the switch following a transition of the PWM signal. The delay may be established
based on the reference signal crossing a predetermined threshold. The reference signal
may be ramped at a rate established in part by a capacitor and/or at a user programmable
rate. A soft start feature may be implemented. The ramping of the reference signal
may be subject to a timeout feature. A second switch, coupled in series with the LED
load, may be controlled by a linear regulator in response to the reference signal.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The foregoing features of the disclosure, as well as the disclosure itself may be
more fully understood from the following detailed description of the drawings, in
which:
FIG. 1 is a schematic of a conventional switching regulator;
FIG. 2 shows several illustrative waveforms associated with the regulator of FIG.
1;
FIG. 3 is a schematic of a switching regulator having a control circuit with a ramp
control feature;
FIG. 4 shows several illustrative waveforms associated with the regulator of FIG.
3;
FIG. 5 shows several additional illustrative waveforms associated with the regulator
of FIG. 3;
FIG. 6 is a flow diagram showing an illustrative process for timeout of the ramp control
feature of FIG. 3;
FIG. 7 is a schematic of a switching regulator having a control circuit including
an alternative ramp control feature; and
FIG. 8 shows several illustrative waveforms associated with the regulator of FIG.
7.
DETAILED DESCRIPTION
[0016] Referring to Figure 3, a switching regulator, including a switch M1 that conducts
to transfer energy from an input source VIN to an output at which a regulated output
is provided, further includes a circuit configured to generate a control signal to
control conduction of the switch M1 and having a first input responsive to a reference
signal (e.g., as provided at IREF), a second input responsive to a feedback signal
proportional to the regulated output (e.g., as provided by 14), and an output at which
the control signal is provided. The IREF reference signal is ramped to control a rate
of change (i.e., increase and/or decrease) of the regulated output (I
LED) to implement a ramp control feature. The regulator control circuit further includes
a logic circuit I5 coupled to the output of the circuit to gate the control signal
in response to a PWM
INT signal.
[0017] More particularly, the regulator control circuit includes a current source (114)
and a current sink (115) coupled to the IREF pin along with an external cap (C
IREF) to slowly ramp the IREF voltage. The LED current I
LED will slowly ramp with the IREF voltage at a rate established by a current source
(114, 116) or current sink (115) and the value of the capacitor C
IREF, as will be described. The use of external cap C
IREF allows the user to program the ramp rate, typically on the order of 10u-100us. In
addition to the IREF pin sink and source currents, the regulator also includes a 10%,
IREFLO comparator (I11), 110% high impedance driver (I12), IREF pull down (SW3), and
digital controller I20 to form the ramp control feature.
[0018] Referring also to the Figure 4 which shows illustrative waveforms associated with
Figure 3, the ramp control feature is only active after the rising and falling edges
of the PWM input. When the PWM input goes from low to high the IREF pin starts at
0V and ramps up past the internal reference (here of 1.0V) at a rate determined by
the IREF capacitance and the source current of source 114 (T1 to T2). As shown the
LED current I
LED tracks the IREF pin voltage, slowly ramping up with IREF voltage.
[0019] When the IREF pin crosses the 1.0V internal reference, the comparator 110 trips (i.e.,
IREFHI=1) causing the mux 113 to toggle to hand off control from the IREF pin to the
internal reference of 1.0V. Through the digital controller, the IREFHI signal also
disables the source current 114 with the source signal and activates the 110% driver
(I12) with the clamp signal. This prevents IREF from continuing to charge well past
the 1.0V reference while ensuring that IREF does not drop below the 1.0V reference.
The driver (112) may be implemented with an OTA connected as a buffer to a 1.1V reference
that only has a source and sink capability on the order of 10uA. This high impendence
drive allows the user to easily override the driver, and pull the reference IREF below
1.0V to set an analog dim reference. Note that when the IREF pin is pulled below the
IREFHI comparator 110, the 110% driver 112 is disabled with switch SW2. The system
may also be designed to detect the analog dim mode of operation and disable the source
and sink currents (114 and 115) to provide better accuracy.
[0020] As shown in Figures 3 and 4, the PWM
INT signal causes the SW operation to resume, LED switch to close (M2), and COMP switch
(SW1) to close on the rising edge of PWM
INT. However, with the addition of the ramp control feature, the LED current only jumps
to the 10% level when the LED switch is closed (M2), due to the discharge characteristic,
which will be explained in more detail later. As illustrated after SW, COMP, and LED
operation are resumed at time T1, the ramp control feature begins to slowly ramp up
the IREF pin resulting in a slow ramp up of the LED current (I
LED), LED voltage (VOUT) and the COMP voltage.
[0021] When the PWM input goes from high to low, the clamp is disabled and the IREF pin
is discharged with the sink current (115) starting at the 1.1V reference, and the
LED current I
LED then begins to ramp down as it tracks the IREF voltage at the 1.0V handoff, as shown
in Figure 4. In the prior art the LED switch (M2) would turnoff immediately with the
PWM falling edge, but with the ramp control feature, the LED switch M2 must be closed
while the LED current I
LED is being ramped down. This delay is implemented by the digital controller (120) via
the PWM
INT signal. After the PWM input falling edge, the PWM
INT signal remains high until the IREF pin voltage reaches the 10% threshold (i.e., until
the IREFLO signal transitions at time T4). Thus, it will be apparent that the PWM
INT signal is a delayed version of the signal at the PWM input, where the delay corresponds
to the time it takes the voltage at the IREF pin to fall to the 10% threshold (established
by comparator I11) on the falling edge of the PWM signal and/or where the delay corresponds
to the time it takes the voltage at the IREF pin to exceed the 10% threshold on the
rising edge of the PWM signal. On the PWM
INT falling edge (T4) the LED switch (M2) is opened, SW operation is halted, and the
COMP node is tri-stated with switch SW1. The COMP node is tri-stated to save the control
loop operating point while the output is not active so that when operation resumes,
the control loop will resume regulation very quickly. In this case the operating point
was at the 10% level so operation will also resume at the 10% level.
[0022] As discussed and illustrated in Figure 4, ramp down regulation (i.e., control of
the rate of decrease of the LED current I
LED via the IREF voltage) is halted when the IREF pin is less than the 10% threshold
established by comparator 111. This non-zero threshold is selected because when LED
current is ramping down, the system is relying on the LED string to discharge the
output capacitor (Cout). As the current gets lower, the ability of the LEDs to discharge
the output capacitance is reduced, which may cause the LED current to remain higher
than the reference set by the IREF pin. In other words, the regulator in Figure 3
does not have any current sink capability due to diode D1, and therefore the fastest
rate the LEDs can be discharge at is set by Cout and the V-I characteristic of the
LEDs (D
LED). Due to the exponential V-I characteristic of LEDs, the rate that Cout discharges
at decreases with current. Therefore, the 10% turnoff threshold is selected so that
LEDs still have enough sink capability to approximately track the IREF voltage.
[0023] The 10% cutoff is also beneficial for the PWM input rising edge because the regulator
cannot regulate LED current down to extremely low levels due to DCM (discontinuous
conduction mode) operation and the SW node min duty cycle limit. For that reason,
10% is also selected as a point where the control loop can easily maintain the LED
current. As shown in Figure 4, it is desirable that the control is resumed at the
same level (10%) that it was disabled at. This is because the LED voltage (VOUT) has
been discharged to that level, and the COMP node is set to that level. Note that the
COMP node has a step response on the PWM
INT falling and rising edges due to the zero introduced by R1 in the compensation network.
Since COMP is slewing, a voltage is developed across R1 that is eliminated when SW1
opens. When the controller is re-enabled the COMP node exhibits some overshoot to
slew the inductor current up to the correct level.
[0024] To ensure that the control loop is able to maintain regulation at low IREF pin voltages,
it may be desirable to include a light load control technique in the regulator. One
light load control technique is pulse skipping which can be implemented by introducing
an offset in the current sense signal, as shown in Figure 3 with 400mV node on 17.
Therefore, when the COMP voltage drops below the 400mV reference, the SW node will
stop switching and resume when the COMP voltage rises above the 400mV pedestal. This
technique along with other light load control techniques, such as pulse frequency
modulation, constant on time, etc. are well understood by those skilled in the art.
[0025] As illustrated in Figure 4, the 10% IREFLO threshold results in a small 10% step
in the LED current when the LED switch (M2) is open and closed. The small magnitude
of this step should not cause significant EMI issues. However, the edge rate can be
reduced with the addition of a small capacitor in parallel with the LEDs (C
LED). This capacitor (C
LED) should be at least one to several orders of magnitude smaller than the Cout capacitor.
[0026] In LED drivers, it is important that the PWM input corresponds directly to the PWM
dimming of the LEDs, which is a direct function of the light intensity. In most cases,
the IREF ramp is insignificant compared to the LED on time at higher duty cycles,
but at low duty cycles meeting this requirement becomes especially difficult and important
because the error term is much more significant compared to the LED on time. To meet
this requirement with the ramp control feature, the control circuit is designed to
provide the area under the curve when ramping up summed with the area when ramping
down to be the same area as if the control feature were not present. To achieve this,
the IREF pin source and sink currents (114 and 115) may be identical, and implemented
with good relative accuracy. To cancel the delay introduced by the 10% IREFLO feature,
the IREF driver (112) reference is selected to be 10% above the reference handoff
point (1.0V). This method relies on the IREF driver (112) to be accurate relative
to the 1.0V internal reference.
[0027] Depending on the crossover frequency set by the compensation network on the COMP
pin, the LED current may not exactly track the IREF pin. This is especially true when
a fast LED current slew rate is desired or a large output capacitor (Cout) or compensation
capacitor (C1) is used. The current sink and source capability of the error amplifier
can also impact the ability of the control loop to track the IREF voltage. In the
situation when the LED current lags the IREF ramp rate, the IREF pin slew rate should
be adjusted until the desired LED current ramp rate is achieved. Figure 5 illustrates
how the system operates with fast LED current slew rates, where the LED current does
not exactly track the IREF pin (the expected LED current is shown with dashed lines).
As illustrated, the faster ramp and/or slower control loop results in a larger step
in the LED current at the PWM
INT rising and falling edges.
[0028] To improve the tracking of the LED current with fast IREF pin ramp rates, the error
amplifier could be altered to provide faster slewing of the COMP pin as may be achieved
by increasing the transconductance of the error amplifier while IREFHI=0, which would
in turn increase the crossover frequency of the control loop. In addition, the error
amplifier source and sink capability could be altered. Large signal control techniques
could also be used to slew the COMP pin when the difference between feedback input
and the IREF input becomes too large. Similar to this approach would be to simply
ramp the COMP pin in an open loop fashion. These methods may be extended even further
when using a digital control loop.
[0029] To ensure that the ramp control feature is robust against faults and does not negatively
impact the analog dim or PWM dim features, a ramp control timeout feature or other
similar function may be implemented. A timeout feature may be especially important
when IREF is ramping down because the ramp control feature delays the tri-stating
of the SW node (forcing off Ml) and the opening of the LED switch (M2) until IREF
crosses the IREFLO threshold. This delay will result in the PWM input being ignored
when the IREF input is driven with a DC signal for analog dimming. A timeout also
allows the user to disable the ramp control feature during PWM dimming by driving
the IREF pin above the 1.OV reference. This is beneficial if the ramp control feature
is not desirable because floating the IREF pin may not fully eliminate the ramp control
impact due to the parasitic capacitance on the IREF pin.
[0030] Figure 6 details the operation of an illustrative ramp control timeout feature. The
ramp control timeout is only monitored on the PWM falling edge, and the timeout timer
starts when the PWM input goes low. The timer is reset when IREF crosses the IREFLO
threshold (IREFLO=1), and ramp control operation continues as normal. Otherwise if
the timer reaches its final count before IREFLO=1 then the ramp control feature is
disabled. The feature remains disabled until the IREF signal is driven below the IREFLO
threshold. Ramp control operation will resume naturally when the IREF pin is no longer
driven externally because the sink current will ramp the IREF pin down when the PWM
signal goes low.
[0031] It will be appreciated that other circuitry and techniques can be used to disable
the ramp control feature. For example, other pins may be used directly to disable
the ramp control feature, such as a mode pin or even a serial interface.
[0032] During startup and fault conditions, the IREF pin is initialized to a startup state.
This is done in Figure 3 with SW3 and the IREFPD signal that comes from the digital
controller 120, to pull down on the IREF pin.
[0033] The ramp control architecture lends itself to including a soft start feature, such
as the implementation shown in Figure 3. The reference signal IREF is provided with
a first rate of increase (i.e., ramps up at a first rate) established by a current
source 116 to implement the soft start feature during a first, soft start time interval
and is provided with a second, faster rate of increase established by a current source
114 to implement the ramp control feature during a second time interval. The respective
current source control signals (source and soft start) are provided by the digital
controller, as shown.
[0034] In the illustrated embodiment, the ramp control feature is implemented with 10uA
sink and source currents (114 and 115), whereas the soft start ramp is implemented
with a 1uA current source (116). This results in a soft start ramp that is 10x slower
the ramp control rate. Other ratios may be used. Upon startup, during the first time
interval, after the UVLO (under voltage lock out) fault clears or any other faults,
the IREF pull down (SW3) is released and the 1uA soft start current (116) will be
used to charge the IREF pin with the ramp control current sources disabled (I14 and
115). During the second time interval, as commences after the IREF pin crosses the
IREFHI threshold, the soft start feature will be disabled, and the ramp control driver
and current sources will be reengaged as described above.
[0035] Figure 3 implements the soft start feature by simply ramping the reference of the
error amplifier I1. Due to the fact the LEDs will not conduct current until there
is a few volts across them, the current sense voltage (CSP-CSN) will remain at zero
until VOUT reaches a few volts. As a result, the error amplifier will drive the COMP
pin as hard as possible because the 0V current sense voltage (CSP-CSN) is not tracking
the soft start ramp. This may result in some overshoot when the LEDs finally do begin
to conduct. Fortunately this overshoot will occur at very low LED currents, and at
that point the LED current will begin to track the soft start ramp. Other soft start
circuits and techniques are also possible. One example is to change the feedback signal
of the error amplifier from the current sense amplifier 14 to a resistor divider across
VOUT until the LEDs begin to conduct.
[0036] The ramp control feature can also be implemented using other circuitry and/or techniques
in addition to or in place of the presented circuitry and techniques. One additional
technique is illustrated in Figure 7, which turns the PMOS LED switch (M2) into a
linear regulator with the addition of amplifier I21. The reference of the linear regulator
(121 and M2) is the IREF signal. This linear regulator technique does not suffer the
limitations of the LED string discharging the output capacitor (Cout) explained earlier
because M2 can control the LED current independent of the voltage across Cout. Therefore
in Figure 7 the IREFLO threshold has been changed to 5% (50mV) to take advantage of
this higher performance technique. In addition, the reference for driver 112 has been
changed to 105% (1.05V) to properly cancel out the delay. Note that it is still beneficial
to have a non-zero IREFLO threshold to be tolerant of errors in the circuitry and
relax the design requirements of the linear regulator.
[0037] When adding an additional control loop to regulate the LED current, as done in Figure
7, it is important that the multiple loops do not negatively interact with one another.
In this case, the switching regulator must simply supply enough current to support
the current need of linear regulator 121. As shown in Figure 7 and 8, this requirement
is met by tri-stating COMP pin with the IREFHI signal so that the switching regulator
continues to run as if the LEDs were continuing to sink the full regulation current.
As a result, when ramping down the LED current, the output voltage (VOUT) will rise
up as the output capacitor is charged with the excess current, as illustrated in Figure
8. Then when the LED current is ramped up, the switching regulator disabled, by shifting
the PWM
INT signal as shown in Figure 8, so that excess charge in the output capacitor (Cout)
is depleted as the LED current is ramped up. When the IREF voltage crosses the 1.0V
handoff point, the linear regulator will naturally drive the LED switch (M2) into
the triode region because the switching regulator will take over regulation by supplying
less current than demanded by the linear regulator.
[0038] To ensure the design is robust against errors, it may be beneficial to add an offset
between the error amplifier (I1) reference and the linear regulator to ensure the
switching regulator provides enough current for all cases. Other techniques may also
be used to ensure the switching regulator provides enough current to the linear regulator,
such as multiplexing the error amplifier feedback from the current sense amplifier
(14) to a resistor divider monitoring the output voltage to regulator VOUT at a level
just above the regulation point.
[0039] All references cited herein are hereby incorporated herein by reference in their
entirety.
[0040] Having described preferred embodiments, it will now become apparent to one of ordinary
skill in the art that other embodiments incorporating their concepts may be used.
It will be appreciated that the proposed ramp control circuitry and techniques can
be applied any linear or switching regulator topology including but not limited to
Buck, Boost, Buck-Boost, SEPIC, Cúk, half-bridge, full bridge, and linear regulators.
Furthermore the described circuitry and techniques are not limited to mixed signal
systems but can be applied using digital, analog, or software methods, such as a digital
to analog converter or charge pump to replace the current sources and external capacitor
on the IREF pin. The rate of the IREF pin could be defined by other parameters such
as input voltage, output voltage, light intensity, or any other fixed or variable
parameter. The ramp up and down characteristic does not need to be linear; for example,
it can have an exponential characteristic or even a discontinuity in the shape if
desired. The described circuitry and techniques can be implemented with any control
loop including current mode control (as discussed and illustrated), voltage mode control,
constant on time control, constant off time control, or any other analog and/or digital
control scheme. In addition, the proposed circuitry and techniques are not limited
to application in regulators that regulate current, and can be applied to regulators
that instead regulate voltage, power, or other parameter. Furthermore, it will be
appreciated that a regulator of the type described herein may operate in different
dimming modes in conjunction and/or in addition to the dimming described herein that
utilizes the ramp control feature.
1. A switching regulator control circuit for controlling a switching regulator comprising
a switch (M1) that conducts to transfer energy from an input source (VIN) to an output
at which a regulated output current (ILED) is provided to an LED load (DLED), the
switching regulator control circuit comprising:
a circuit configured to generate a control signal for controlling the conduction of
the switch (M1) and having a first input responsive to a reference signal (IREF),
a second input for receiving a feedback signal proportional to the regulated output
current (ILED), and an output at which the control signal is provided;
the circuit comprising a current source; characterized by the circuit further comprising
a current sink, wherein the current source and the current sink are coupled to the
first input, wherein the reference signal is ramped by one of the current source or
the current sink to control a rate of change of the regulated output current;
a digital controller (120) for receiving an external digital signal (PWM) and for
generating a PWM signal (PWMINT) as a delayed version of the external digital signal;
and
a logic circuit (15) coupled to receive the control signal at the output of the circuit
and configured to selectively couple the control signal to the switch in response
to the PWM signal (PWMINT) in order to dim the LED load, wherein the reference signal
is ramped by at least one of the current source or the current sink in response to
an edge of the external digital signal, and wherein the delay between the external
digital signal (PWM) and the PWM signal (PWMINT) corresponds to the time it takes
the reference signal to cross a threshold voltage level following the occurrence of
the edge of the external digital signal.
2. The switching regulator control circuit of claim 1 wherein the reference signal is
ramped down to control the rate of decrease of the regulated output current.
3. The switching regulator control circuit of claims 1 or 2 wherein the reference signal
is ramped at a rate established in part by a capacitor (CIREF).
4. The switching regulator control circuit of claims 1 or 2 wherein the reference signal
is ramped at a user programmable rate.
5. The switching regulator control circuit of claim 4 wherein the reference signal is
ramped in accordance with a user selected capacitance.
6. The switching regulator control circuit of any preceding claim, wherein the reference
signal is provided with a first rate of increase established by a first current source
(116) during a first, soft start time interval and is provided with a second, faster
rate of increase established by a second current source (114) during a second time
interval.
7. The switching regulator control circuit of any preceding claim, wherein the circuit
is arranged to stop ramping the regulated output current in response to a timeout
condition.
8. The switching regulator control circuit of claim 7, wherein the timeout condition
comprises the reference signal falling below a predetermined voltage level.
9. A method of dimming an LED (DLED) in a switching regulator adapted to provide a regulated
output current to an LED load and comprising a switch (M1) that conducts to transfer
energy from an input source (VIN) to an output at which the regulated output current
(ILED) is provided, and a current source and a current sink, the method comprising:
generating a control signal for controlling the conduction of the switch (M1) in response
to a reference signal and a feedback signal proportional to the regulated output current;
characterized by the method further comprising
ramping the reference signal by one of the current source or the current sink in response
to an edge of an external digital signal (PWM) to control the rate of change of the
regulated output current;
generating a PWM signal (PWMINT) as a delayed version of the external digital signal
and selectively coupling the control signal to the switch in response to the PWM signal
in order to dim the LED load, wherein the delay between the external digital signal
(PWM) and the PWM signal (PWMINT) corresponds to the time it takes the reference signal
to cross a threshold voltage level following the occurrence of the edge of the external
digital signal.
10. The method of claim 9, wherein controlling the rate of change of the regulated output
current comprises delaying turning off a second switch (M2) coupled in series with
the LED for a time interval following the occurrence of the edge of the external digital
signal.
11. The method of claim 10 further comprising providing a second control signal to the
second switch to operate the second switch as a linear regulator.
12. The method of any of claims 9 to 11, wherein the regulated output current is ramped
at a user programmable rate.
13. The method of any of claims 9 to 12, wherein the regulated output current is ramped
at a rate selectable in accordance with selection of a capacitance.
14. The method of any of claims 9 to 13, further comprising stopping ramping the regulated
output current in response to a timeout condition.
15. The method of claim 14 wherein the timeout condition comprises the reference signal
falling below a predetermined threshold voltage level.
1. Schaltreglersteuerschaltung zum Steuern eines Schaltreglers, umfassend einen Schalter
(M1), der leitet, um Energie von einer Eingangsquelle (VIN) an einen Ausgang zu übertragen,
an dem einer LED-Last (DLED) ein geregelter Ausgangsstrom (ILED) bereitgestellt wird,
die Schaltreglersteuerschaltung Folgendes umfassend:
eine Schaltung, die zum Erzeugen eines Steuersignals zum Steuern des Leitens des Schalters
(M1) konfiguriert ist, und einen ersten Eingang, der auf ein Referenzsignal (IREF)
anspricht, einen zweiten Eingang zum Empfangen eines Rückkopplungssignals, das proportional
zu dem geregelten Ausgangsstrom (ILED) ist, und einen Ausgang, an dem das Steuersignal
bereitgestellt wird, aufweist;
wobei die Schaltung eine Stromquelle umfasst; dadurch gekennzeichnet, dass die Schaltung ferner eine Stromsenke umfasst, wobei die Stromquelle und die Stromsenke
mit dem ersten Eingang gekoppelt sind,
wobei das Referenzsignal durch eines aus der Stromquelle oder der Stromsenke rampenförmig
erhöht wird, um eine Änderungsrate des geregelten Ausgangsstroms zu steuern;
eine digitale Steuerung (120) zum Empfangen eines externen digitalen Signals (PWM)
und zum Erzeugen eines PWM-Signals (PWMINT) als eine verzögerte Version des externen
digitalen Signals; und
eine Logikschaltung (15), die gekoppelt ist, um das Steuersignal am Ausgang der Schaltung
zu empfangen, und
konfiguriert ist, das Steuersignal mit dem Schalter in Reaktion auf das PWM-Signal
(PWMINT) selektiv zu koppeln, um die LED-Last zu dimmen, wobei das Referenzsignal
durch mindestens eines aus der Stromquelle oder der Stromsenke in Reaktion auf eine
Flanke des externen digitalen Signals rampenförmig erhöht wird, und wobei die Verzögerung
zwischen dem externen digitalen Signal (PWM) und dem PWM-Signal (PWMINT) der von dem
Referenzsignal für das Überschreiten eines Schwellenspannungspegels nach dem Auftreten
der Flanke des externen digitalen Signals benötigten Zeit entspricht.
2. Schaltreglersteuerschaltung nach Anspruch 1, wobei das Referenzsignal rampenförmig
abgesenkt wird, um die Abnahmerate des geregelten Ausgangsstroms zu steuern.
3. Schaltreglersteuerschaltung nach Anspruch 1 oder 2, wobei das Referenzsignal mit einer
Rate rampenförmig erhöht wird, die teilweise durch einen Kondensator (CIREF) gebildet
wird.
4. Schaltreglersteuerschaltung nach Anspruch 1 oder 2, wobei das Referenzsignal mit einer
benutzerprogrammierbaren Rate rampenförmig erhöht wird.
5. Schaltreglersteuerschaltung nach Anspruch 4, wobei das Referenzsignal entsprechend
einer von dem Benutzer ausgewählten Kapazität rampenförmig erhöht wird.
6. Schaltreglersteuerschaltung nach einem der vorhergehenden Ansprüche, wobei dem Referenzsignal
eine erste Erhöhungsrate bereitgestellt wird, die durch eine erste Stromquelle (116)
während eines ersten, weichen Startzeitintervalls gebildet wird, und eine zweite,
schnellere Erhöhungsrate bereitgestellt wird, die durch eine zweite Stromquelle (114)
während eines zweiten Zeitintervalls gebildet wird.
7. Schaltreglersteuerschaltung nach einem der vorhergehenden Ansprüche, wobei die Schaltung
so angeordnet ist, dass sie das rampenförmige Erhöhen des geregelten Ausgangsstroms
in Reaktion auf einen Timeout-Zustand stoppt.
8. Schaltreglersteuerschaltung nach Anspruch 7, wobei der Timeout-Zustand umfasst, dass
das Referenzsignal unter einen vorbestimmten Spannungspegel fällt.
9. Verfahren zum Dimmen einer LED (DLED) in einem Schaltregler, der ausgebildet ist,
um einer LED-Last einen 15 geregelten Ausgangsstrom bereitzustellen, und umfassend
einen Schalter (M1), der leitet, um Energie von einer Eingangsquelle (VIN) an einen
Ausgang zu übertragen, an dem der geregelte Ausgangsstrom (ILED) bereitgestellt wird,
und eine Stromquelle und eine Stromsenke, das Verfahren Folgendes umfassend:
Erzeugen eines Steuersignals zum Steuern des Leitens des Schalters (M1) in Reaktion
auf ein Referenzsignal und ein Rückkopplungssignal, das proportional zu dem geregelten
Ausgangsstrom ist;
dadurch gekennzeichnet, dass das Verfahren ferner das rampenförmige Erhöhen des Referenzsignals durch eines aus
der Stromquelle oder der Stromsenke in Reaktion auf eine Flanke eines externen digitalen
Signals (PWM) umfasst, um die Änderungsrate des geregelten Ausgangsstroms zu steuern;
Erzeugen eines PWM-Signals (PWMINT) als eine verzögerte Version des externen digitalen
Signals und selektives Koppeln des Steuersignals mit dem Schalter in Reaktion auf
das PWM-Signal, um die LED-Last zu dimmen, wobei die Verzögerung zwischen dem externen
digitalen Signal (PWM) und dem PWM-Signal (PWMINT) der von dem Referenzsignal für
das Überschreiten eines Schwellenspannungspegels nach dem Auftreten der Flanke des
externen digitalen Signals benötigten Zeit entspricht.
10. Verfahren nach Anspruch 9, wobei das Steuern der Änderungsrate des geregelten Ausgangsstroms
das Verzögern des Ausschaltens eines zweiten Schalters (M2) umfasst, der mit der LED
während eines Zeitintervalls, das auf das Auftreten der Flanke des externen digitalen
Signals folgt, in Reihe geschaltet ist.
11. Verfahren nach Anspruch 10, ferner umfassend das Bereitstellen eines zweiten Steuersignals
an den zweiten Schalter, um den zweiten Schalter als einen Linearregler zu betreiben.
12. Verfahren nach einem der Ansprüche 9 bis 11, wobei der geregelte Ausgangsstrom mit
einer benutzerprogrammierbaren Rate rampenförmig erhöht wird.
13. Verfahren nach einem der Ansprüche 9 bis 12, wobei der geregelte Ausgangsstrom mit
einer Rate rampenförmig erhöht wird, die entsprechend der Auswahl einer Kapazität
wählbar ist.
14. Verfahren nach einem der Ansprüche 9 bis 13, ferner umfassend das Stoppen des rampenförmigen
Erhöhens des geregelten Ausgangsstroms in Reaktion auf einen Timeout-Zustand.
15. Verfahren nach Anspruch 14, wobei der Timeout-Zustand umfasst, dass das Referenzsignal
unter einen vorbestimmten Schwellenspannungspegel fällt.
1. Circuit de commande de régulateur de commutation destiné à commander un commutateur
de régulation (M1) qui conduit à transférer de l'énergie d'une source d'entrée (VIN)
à une sortie au niveau de laquelle un courant de sortie régulé (ILED) est fourni à
une charge à DEL (DLED), le circuit de commande de régulateur de commutation comprenant
:
un circuit configuré pour générer un signal de commande destiné à commander la conduction
du commutateur (M1) et ayant une première entrée répondant à un signal de référence
(IREF), une deuxième entrée destinée à recevoir un signal de rétroaction proportionnel
au courant de sortie régulé (ILED), et une sortie au niveau de laquelle le signal
de commande est fourni ;
le circuit comprenant une source de courant ; caractérisé en ce que le circuit comprend en outre un puits de courant, dans lequel la source de courant
et le puits de courant sont couplés à la première entrée,
dans lequel le signal de référence est formé en rampe par l'un de la source de courant
ou du puits de courant pour commander une vitesse de changement du courant de sortie
régulé ;
un dispositif de commande numérique (120) destiné à recevoir un signal numérique externe
(PWM) et à générer un signal PWM (PWMINT) en tant que version retardée du signal numérique
externe ; et
un circuit logique (15) couplé pour recevoir le signal de commande à la sortie du
circuit et
configuré pour coupler sélectivement le signal de commande au commutateur en réponse
au signal PWM (PWMINT) afin de réduire la charge à DEL, dans lequel le signal de référence
est formé en rampe par au moins l'un de la source de courant ou du puits de courant
en réponse à un front du signal numérique externe, et dans lequel le retard entre
le signal numérique externe (PWM) et le signal PWM (PWMINT) correspond au temps nécessaire
au signal de référence pour passer un niveau de tension seuil à la suite de la survenue
du front du signal numérique externe.
2. Circuit de commande de régulateur de commutation selon la revendication 1, dans lequel
le signal de référence est abaissé pour commander la vitesse de diminution du courant
de sortie régulé.
3. Circuit de commande de régulateur de commutation selon les revendications 1 ou 2,
dans lequel le signal de référence est abaissé à une vitesse établie en partie par
un condensateur (CIREF) .
4. Circuit de commande de régulateur de commutation selon les revendications 1 ou 2,
dans lequel le signal de référence est formé en rampe à une vitesse programmable par
l'utilisateur.
5. Circuit de commande de régulateur de commutation selon la revendication 4, dans lequel
le signal de référence est formé en rampe en conformité avec une capacité sélectionnée
par l'utilisateur.
6. Circuit de commande de régulateur de commutation selon l'une quelconque des revendications
précédentes, dans lequel le signal de référence est fourni avec une première vitesse
d'élévation établie par une première source de courant (116) pendant un premier intervalle
de temps de démarrage progressif et est fourni avec une deuxième vitesse d'élévation
plus rapide établie par une deuxième source de courant (114) pendant un deuxième intervalle
de temps.
7. Circuit de commande de régulateur de commutation selon l'une quelconque des revendications
précédentes, dans lequel le circuit est agencé pour arrêter la dynamique de rampe
du courant de sortie régulé en réponse à une condition d'expiration.
8. Circuit de commande de régulateur de commutation selon la revendication 7, dans lequel
la condition d'expiration comprend la chute du signal de référence sous un niveau
de tension prédéterminé.
9. Procédé de gradation d'une DEL (DLED) dans un régulateur de commutation adapté pour
fournir un courant de sortie régulé à une charge à DEL et comprenant un commutateur
(M1) qui effectue une conduction pour transférer de l'énergie d'une source d'entrée
(VIN) à une sortie à laquelle le courant de sortie régulé (ILED) est fourni, et une
source de courant et un puits de courant, le procédé comprenant :
la génération d'un signal de commande pour commander la conduction du commutateur
(M1) en réponse à un signal de référence et un signal de rétroaction proportionnel
au courant de sortie régulé ;
caractérisé en ce que le procédé comprend en outre la formation en rampe du signal de référence par l'un
de la source de courant ou du puits de courant en réponse à un front d'un signal numérique
externe (PWM) pour commander la vitesse de changement du courant de sortie régulé
;
la génération d'un signal PWM (PWMINT) en tant que version retardée du signal numérique
externe et le couplage sélectif du signal de commande au commutateur en réponse au
signal PWM afin de réduire la charge à DEL, dans lequel le retard entre le signal
numérique externe (PWM) et le signal PWM (PWMINT) correspond au temps nécessaire au
signal de référence pour passer un niveau de tension seuil après la survenue du front
du signal numérique externe.
10. Procédé selon la revendication 9, dans lequel la commande de la vitesse de changement
du courant de sortie régulé comprend la mise hors tension d'un deuxième commutateur
(M2) couplé en série avec la DEL pendant un intervalle de temps suivant la survenue
du front du signal numérique externe.
11. Procédé selon la revendication 10, comprenant en outre la fourniture d'un deuxième
signal de commande au deuxième commutateur pour faire fonctionner le deuxième commutateur
en tant que régulateur linéaire.
12. Procédé selon l'une quelconque des revendications 9 à 11, dans lequel le courant de
sortie régulé est formé en rampe à une vitesse programmable par l'utilisateur.
13. Procédé selon l'une quelconque des revendications 9 à 12, dans lequel le courant de
sortie régulé est formé en rampe à une vitesse sélectionnable en conformité avec la
sélection d'une capacité.
14. Procédé selon l'une quelconque des revendications 9 à 13, comprenant en outre l'arrêt
de la dynamique de rampe du courant de sortie régulé en réponse à une condition d'expiration.
15. Procédé selon la revendication 14, dans lequel la condition d'expiration comprend
la chute du signal de référence sous un niveau de tension seuil prédéterminé.