Field of the invention
[0001] This invention relates to the techniques for dimming light sources.
[0002] The description has been prepared with particular attention to the potential application
in light sources that use light-emitting diodes (LED), for example high-current LEDs.
Description of the related technique
[0003] The block diagram in Figure 1 refers to a "three wire" dimming solution.
[0004] In the block diagram in Figure 1, the reference S indicates a light source fed via
a driver D connected to three wires, specifically:
- a pair of wires 10 that supply power (taking it, for example, from a continuous voltage
source), and
- a third wire 12 carrying a pulse width modulated (PWM) control signal that commands
the dimming function.
[0005] The power supplied via the pair of wires 10 is in fact a continuous power supply
and the driver D transfers the power to the source S as a function of the PWM signal
on the wire 12, in particular as a function of its duty cycle: the luminosity of the
source S is in fact a function of the average intensity of the current flowing through
the source S, an intensity that in turn depends on the duty cycle of the control signal.
[0006] The block diagram in Figure 2 refers instead to a system in which the dimming function
is realized with a "two wire" system interposing on at least one of the wires of the
pair 10 a switch T (for example an electronic switch such as a MOSFET) that is opened
and closed using a PWM control signal.
[0007] In this case, the power supply of the driver D is no longer continuous but intermittent
as schematized in Figure 3, comprising two parts indicated respectively with a) and
b). The two parts of Figure 3 are two diagrams that illustrate as a function of a
single time scale (x-axis scale, indicated with t), respectively:
- the closed, i.e. conductive ("Ton"), or open, i.e. non-conductive ("Toff"), state
of the switch T, and
- the ideal flow of the supply power to the driver D.
[0008] In the drawing in Figures 2 and 3, the dimming function is therefore implemented
by controlling, using PWM, the power supply line 10 interrupting in a controlled manner
the electrical power to the driver D. By controlling the switching frequency of the
switch T such that it is higher than the sensitivity range of the human eye (related
to the persistence of the image on the retina), the overall effect achieved is to
make the light source S, a function of the average intensity of the current flowing
through the source S, dependent on the duty cycle of the PWM signal used to turn the
switch T on and off.
[0009] Compared to the "three wire" drawing in Figure 1, the "two wire" drawing in Figure
2 presents the advantage of doing without one of the wires, which makes the circuit
simpler and cheaper. Furthermore, the use of the circuit in Figure 2 must take into
account the presence, at the input of the driver D, of the capacitance C observable
as a whole downstream of the switch T, capacitance which may also include at least
one capacitor included in the input stage of the driver D.
[0010] In operation of the circuit, when the switch T is open, i.e. not conductive, the
capacitance C supplies power to the driver D, with the resulting reduction in the
voltage present in that capacitance. When the switch T is made conductive again, a
voltage step creating an inrush current is applied to the capacitance C. The peak
value of this current is nominally limited only by the parasitic resistance of the
power supply line including the switch T and the capacitance C and is a function of
the width of the aforementioned voltage step, this being the difference between the
input voltage from the power source (or the source powering the line 10) and the residual
voltage on the capacitance C when the switch T is closed again. This voltage step
is therefore a function of the value of the capacitance C and the switching speed
(frequency) of the switch T.
Scope and summary of the invention
[0011] The inventors have determined that this inrush current can reach quite high intensity
values, with the risk of damaging the switch T and/or the input capacitor or capacitors
of the unit D. Moreover, if the power supply connected to the lines 10 is provided
with protection against overloads, such a current could trigger the protection and
interrupt the power supply.
[0012] This invention is intended to overcome these potential drawbacks.
[0013] According to the invention, this scope is achieved using a device having the characteristics
set out in the claims below.
[0014] The invention also concerns a corresponding method.
[0015] The claims are an integral part of the technical explanation provided herein in relation
to the invention.
[0016] In one embodiment, the solution described here involves placing upstream of the driver
a pre-charge stage capable of acting between the switch T and the capacitance C such
as to limit the aforementioned current.
Brief description of the attached figures
[0017] The invention is described, purely by way of a nonlimiting example, with reference
to the attached figures, in which:
- Figures 1 to 3 have already been described above,
- Figure 4 is a block diagram of a device as described here,
- Figure 5 illustrates one embodiment of the drawing in Figure 4,
- Figure 6 illustrates a detail of the embodiment in Figure 5,
- Figure 7, comprising four temporarily superposed diagrams, marked respectively a),
b), c) and d), illustrates the temporary trend of certain signals present in the device
in Figure 4,
- Figure 8 illustrates one embodiment of the solution described here, and
- Figure 9 illustrates one embodiment of the solution described here.
Detailed description of embodiments
[0018] The description below illustrates various specific details to provide a more comprehensive
understanding of the embodiments. The embodiments may be realized without one or more
of the specific details, or with other methods, components, materials, etc. In other
cases, known structures, materials or operations are not shown or described in detail
so as not to obscure the different aspects of the embodiments.
[0019] Reference to "an embodiment" in this description indicates that a particular configuration,
structure or characteristic described in relation to the embodiment is included in
at least one embodiment. Therefore, phrases such as "in one embodiment", which may
appear in various places in this description, do not necessarily refer to the same
embodiment. Furthermore, specific formations, structures or characteristics may be
appropriately combined in one or more embodiments.
[0020] The references used herein are used solely for convenience and therefore do not define
the field of protection or scope of the embodiments.
[0021] From Figures 4 onwards, parts, elements or components identical or equivalent to
parts, elements or components already described with reference to Figures 1 to 3 are
marked with the same references, making it unnecessary to repeat the related descriptions.
[0022] It shall also be seen that, in some embodiments, the basic solution illustrated in
Figure 4 (interposing between the switch T and the capacitance C a pre-charge stage
intended to limit-with an on/off function or with continuous adjustment-the inrush
current on closure of the switch T) may advantageously use one or more components
already present in the basic drawing in Figure 2.
[0023] In particular, Figures 5 and 6 refer to an embodiment in which the pre-charge stage
P is implemented around a "buck" converter 14 inserted in a negative-feedback drawing.
[0024] The drawing in Figure 6 shows a possible embodiment of the buck converter 14, containing
a low-pass LC module comprising an inductor 16 and a capacitor 18 (in fact, arranged
in parallel with the capacitance C and potentially included in said capacitance).
The converter 14 also comprises a diode 20 connected to the LC module 16, 18 a n configuration
with the cathode of the diode 20 connected to the inductor 16.
[0025] The reference T
B indicates a control switch that permits/prevents (respectively when closed, i.e.
conductive, and when open, i.e. non-conductive) the transfer of power from the line
10 to the driver D. As a result, even though the switch T
B is shown here as a separate component, in one embodiment its function may be incorporated
into the function of the switch T.
[0026] The switch T
B is commanded by a control module 22 that receives, via a difference node 24, a signal
representative of the difference between the intensity of the current Iout flowing
from the stage P to the capacitance C (signal Isense - line 26) and a peak reference
current value (Ipeak ref - line 28).
[0027] In diagram a) of Figure 7, Toff indicates the period of time for which the switch
T is open, i.e. non-conductive; Ton however indicates the period of time for which
the switch T is closed, i.e. conductive. The ratio Ton/(Ton+Toff) therefore indicates
the duty cycle of the PWM control signal of the switch T used to command the dimming
function of the source S.
[0028] In one embodiment, the control law implemented by the module 22 states that at the
instant the switch T is closed (moving from Toff period to Ton period in diagram a)
of Figure 7) the switch T
B is also closed thereby allowing the capacitance C (and the capacitor C
B in Figure 6) to be charged by the current Iout.
[0029] The sensing action performed via the line 26 makes it possible to adjust the intensity
of the current Iout so that it does not exceed - at least in terms of the average
value - the maximum peak value (Ipeak ref) set for the line 28.
[0030] In one embodiment, the module 22 is configured such that when the intensity of the
charge current Iout sensed as Isense on the line 26 reaches the peak value Ipeak ref
set for the line 28 (which causes the output signal produced by the node 24 to drop
to zero) the module 22 opens the switch T
B interrupting the current flow across it.
[0031] This operating mode results in a sequence of opening and closing cycles of the switch
T
B (at a frequency greater than the frequency of the PWM signal driving the switch T)
as shown in diagram d) of Figure 7.
[0032] The practical result is as shown in diagram b) of Figure 7, i.e. keeping the intensity
of the current (average value) flowing out of the stage P (current Iout) within the
reference value set Ipeak ref. All of which results in the charging of the capacitance
C according to an at least approximately linear gradient, of the type shown in diagram
c) of Figure 7.
[0033] The intervention of the control switch T
B concludes when the capacitance C is fully charged, at the end of the gradient in
diagram c) of Figure 7, for example once a continuous voltage corresponding to the
voltage of the source applied to the pair of power supply wires 10 has been stabilized
at the terminals of the capacitance C.
[0034] Under such conditions, the current Iout leaving the stage P is practically entirely
absorbed as Idriver current by the driver D; the difference (Iref peak - Isense, with
Isense = Idriver) generated by the difference node 24 is always at a high level, such
as to ensure that the switch T
B remains stably closed. Under such conditions the pre-charge state P is in fact "transparent"
optimizing the power flow to the driver D.
[0035] When the switch T is opened again, the switch T
B may remain at a high level thus reducing the losses in the successive Ton cycle.
[0036] Figure 8 is a circuit diagram of a simplified, low-cost embodiment of the solution
described with reference to Figures 5 and 6.
[0037] In the drawing in Figure 8 the reference 30 indicates a sensing resistor that detects
the intensity of the current Iout generating a corresponding signal Isense on the
line 26.
[0038] The difference node 24 is implemented using a differential amplifier that receives:
- on the inverting input, the signal present on the line 26,
- on the non-inverting input, a reference voltage signal Vref indicative of the maximum
threshold value of the current Ipeak ref.
[0039] The output of the comparator 24 can be used to directly drive the switch T
B, which can be implemented using a MOSFET.
[0040] In particular, when the MOSFET T
B is closed, the output current in the stage P starts to increase (beginning of gradient
in diagram c) of Figure 7) with an angular coefficient defined by the value of the
inductor 16 and the input and output voltages. When the voltage at the inverting input
of the comparator 24 reaches the value Vref, the output of the comparator changes
from "high" to "low".
[0041] This often occurs with a typical delay of the comparator and, during this delay,
the current continues to increase until the output of the comparator 24 changes causing
the opening of the MOSFET T
B, causing the output current to begin to drop.
[0042] As a result, the voltage at the inverting input of the comparator 24 also drops down
again to the value present on the non-inverting input (voltage Vref) such as to cause,
in all cases with the intrinsic delay of the comparator 24, a new change of the output
level, with the consequent switching of the MOSFET T
B to a conductive state.
[0043] In other words, the comparator 24 is configured to detect the instant in which the
intensity Isense of the charge current reaches (rising and falling, in the sample
embodiment considered here) the value Ipeak ref and to command the switching of the
control switch T
B with a delay with respect to said instant.
[0044] Repeating this opening/closing mechanism of the switch represented by the MOSFET
T
B substantially determines the regulation of the current Iout with an average value
linked to the voltage Vref and a ripple proportionate to the response delay of the
comparator 24 (which induces an hysteresis mechanism in the switching having a stabilizing
effect).
[0045] In full operation (capacitance C fully charged), with a current Idriver in the charge
(driver D) below the maximum value admitted for the charge current, the MOSFET T
B remains stably closed enabling the normal transfer of the power supply to the driver
D (until the switch T is opened).
[0046] In the embodiments considered here, the switch T and the switch T
B occupy different positions in the circuit as a whole. As stated above, in one embodiment,
the function of the switch T
B (for example MOSFET) may be in fact integrated into the function of the switch T,
providing for the adjustment function of the charge current of the capacitance C represented
by the rapid opening/closing sequence of the switch T
B illustrated in diagram d) of Figure 7 to be part of the drive function of the switch
T as implemented in the section of the period Ton in which the PWM signal that drives
the dimming function of the source S is such as to make the switch T conductive ("on"
state).
[0047] In the embodiment shown in Figure 9 (in which again parts, elements and components
similar or equivalent to those already described are indicated using the same references)
a control function similar to the one described above, instead of having a "digital"
method of turning the switch represented by the MOSFET T
B on and off, is actuated by using a MOSFET 33 as an analogue controller, i.e. as a
current modulator.
[0048] In the embodiment shown in Figure 9, the resistor 30 that acts as the sensor to detect
the intensity of the charge current Iout is again present. The MOSFET 33 acts as a
current modulator interposed on the power supply line and driven by the sensor 30
to modulate the charge current Iout as a function of the intensity detected by the
sensor 30 itself, limiting the charge current again as a function of a value Ipeak
ref.
[0049] For this purpose, the MOSFET 33 (here an n channel type) is connected such that the
current Iout flows through its source-drain line. The gate of the MOSOFET 33 is connected
to an electronic switch 32, comprising, in the sample embodiment shown, an n-p-n bipolar
transistor. The sensing resistor 30 (which detects the intensity of the current Iout)
is here connected between the base and the emitter of the transistor 32 itself. A
Zener diode 34 is then connected via its cathode and its anode, respectively, to the
collector and the emitter of the transistor 32.
[0050] The power flow to the driver D is as before controlled, using PWM, by the switch
T that, in the same embodiment illustrated, is connected to the anode of the Zener
diode 34 as well as to the emitter of the transistor 32.
[0051] The MOSFET 33 has, as shown, its source-drain line crossed by the current Iout and
is connected via its gate to the common connection point of the collector of the transistor
32 and of the cathode of the Zener diode 34. This common connection point is then
connected via a resistor 36 to the "high" wire of the power supply line 10.
[0052] In the case of the embodiment in Figure 9, when the switch T is closed at the beginning
of the period Ton, the gate voltage of the MOSFET 33 is at a high level and the MOSFET
33 is inhibited, with the gate voltage of the MOSFET 33 clamped to the Zener value
of the diode 34, chosen such as to maintain this voltage at a level below the maximum
gate-source voltage permitted for operation of the 33.
[0053] As soon as the switch T is closed, the current Iout begins to increase charging the
capacitance C and causing a corresponding increase in the voltage detected at the
terminals of the sensing resistor 30. When this voltage reaches the base-emitter threshold
voltage Vbe
on of the bipolar transistor 32, this transistor, initially inhibited, starts to conduct
drawing current across its collector and causing (as a result of the increase of the
voltage drop across the resistor 36) a reduction in the gate voltage of the MOSFET
33. The MOSFET 33 is then operating in its linear operating region and acts as a controlled-voltage
current modulator or regulator, limiting as before the charge current flowing through
it.
[0054] The resistance value of the resistor 30 is chosen such as to make the switch 32 conductive
and to trigger the regulation action of the MOSFET 33 such as to limit the peak value
of the charge current of the capacitor C to a given maximum value. In particular,
increasing the resistance value of the resistor 30 results in a reduction of the value
of the current Iout that triggers the modulation action of the MOSFET 33, and therefore
a consequent reduction of the maximum value reached by the charge current Iout.
[0055] Again, when the full-operation conditions are reached (capacitance C fully charged)
the operation of the circuit stabilizes in a rated condition causing (with the maximum
peak value admitted for the inrush current greater than the rated charge current Iout
= Idriver of the charge in normal operation) the voltage at the terminals of the resistor
30 to be lower than the voltage Vbe
on which causes the bipolar transistor 32 to become conductive. In the aforementioned
full-operation conditions, the transistor 32 is inhibited, while the MOSFET 33 is
entirely conductive.
[0056] Again in this case, once the transient of the inrush current has been contained at
the desired value, the pre-charge stage P is transparent in terms of normal operation
of the circuit.
[0057] It will be seen that the solution described here makes it possible to implement fully
effective, low-cost two-wire dimming. It is also possible to use the pre-charge stage
P for any power range and, potentially, also to drive additional D units.
[0058] The pre-charge stage described, intended to manipulate the conditions in which it
is possible to determine an excessively high inrush current, is in all other respects
entirely transparent in the other operating phases of the circuit.
[0059] Notwithstanding the invention principle, the implementation details and the embodiments
may therefore vary significantly from the descriptions given here purely by way of
example, without thereby moving outside the scope of the invention, as defined in
the attached claims.
1. A device for dimming a light source (S), said device including a two-wire power supply
line (10) having interposed therein a switch (T) for controlling transfer of said
power supply towards said light source (S), characterized in that a capacitance (C) located downstream of said switch (T) is traversed by a charge
current (Iout) as said switch (T) is switched on, characterized in that it includes a pre-charge stage (P) interposed between said switch (T) and said capacitance
(C), said pre-charge stage (P) configured to limit to a given value said charge current
(Iout).
2. The device of claim 1, including said pre-charge stage (P) configured to limit to
a given value the average value of said charge current (Iout).
3. The device of one of claims 1 or 2,
characterized in that said pre-charge stage (P) includes:
- a sensor (30) to sense the intensity of said charge current (lout);
- a comparator (24) to compare the intensity of said charge current (Iout) as sensed
by said sensor with said given value, and
- a control switch (TB) interposed in said power supply line (10) for driving by said comparator (24) to
interrupt said power supply to limit said charge current (Iout) to said given value.
4. The device of claim 3, characterized in that said comparator (24) is configured to detect the time instant where the intensity
of said charge current (Iout) reaches said given value and control switching of said
control switch (TB) with a delay with respect to said instant.
5. The device of one of claims 3 or 4, including a buck converter (16, 18, 20) interposed
between said switch (T) and said sensor (30).
6. The device of claim 5, characterized in that said control switch (TB) is arranged upstream of said buck converter (16, 18, 20).
7. The device of one of claims 5 or 6, characterized in that said buck converter includes a low-pass LC module (16, 18) and a diode (20) forming
a n. configuration with the inductance (16) and the capacity (18) in said LC module.
8. The device of one of claims 1 or 2,
characterized in that said pre-charge stage (P) includes:
- a sensor (30) to sense the intensity of said charge current (Iout),
- a current modulator (33) interposed in said power supply line (10) and driven (32,
34, 36) by said sensor (30) to modulate said charge current as a function of the intensity
thereof as sensed by said sensor (30) thus limiting said charge current to a given
value.
9. The device of claim 8, including an electronic switch (32), preferably a bipolar transistor,
driven by said sensor (30) to activate said current modulator (33) when the intensity
of said charge current reaches a given threshold.
10. The device of one of claims 3 or 8, characterized in that said sensor includes a resistor (30) traversed by said charge current.
11. The device of claim 9 and claim 10,
characterized in that said electronic switch (32) has at least one of the following features:
- said electronic switch (32) is a bipolar transistor having said resistor (30) interposed
between the base and the emitter of said bipolar transistor, whereby said given threshold
is a function of the resistance value of said resistor (30),
- a zener diode (34) is arranged across said electronic switch (32) to apply to said
current modulator (33) a constant modulation voltage when said electronic switch (32)
is open.
12. A method of dimming a light source (S) fed via a two wire power supply line (10) having
interposed therein a switch (T) for controlling transfer of said power supply towards
said light source (S), characterized in that a capacitance (C) located downstream of said switch (T) is traversed by a charge
current (Iout) as said switch (T) is switched on characterized in that it includes interposing between said switch (T) and said capacitance (C) a pre-charge
stage (P) configured to limit to a given value said charge current (Iout).