Dimming controllers and dimming methods capable of receiving PWM dimming signal and DC dimming signal
10397997 ยท 2019-08-27
Assignee
Inventors
- Chun Hsin Li (Zhubei, TW)
- Wei Cheng Su (Zhubei, TW)
- Hung Ching Lee (Zhubei, TW)
- Chung-Wei Lin (Zhubei, TW)
Cpc classification
International classification
G05F1/00
PHYSICS
Abstract
A dimming controller is capable of receiving a dimming signal to dim light-emitting device no matter the dimming signal is of a first type or of a second type. A type identifier identifies whether the dimming signal received from an input node is of the first type or of the second type, to accordingly generate a selection signal. A signal converter generates a first signal in response to the dimming signal, and the first signal is of the first type. A multiplexer has two inputs receiving the first signal and the dimming signal respectively, and, in response to the selection signal, forwards one of the first signal and the dimming signal to a driver driving the light-emitting device.
Claims
1. A dimming controller for dimming a light-emitting device, comprising: an input node for receiving a dimming signal; a type identifier connected to the input node, for identifying whether the dimming signal is of a first type or a second type; a signal converter connected to the input node, for generating a first signal in response to the dimming signal, wherein the first signal is of the first type; and a multiplexer controlled by the type identifier, having two inputs receiving the first signal and the dimming signal respectively, wherein the type identifier makes the multiplexer forward the first signal to a driver driving the light-emitting device if the dimming signal is identified as the second type, and the dimming signal to the drive if the dimming signal is identified as the first type.
2. The dimming controller as claimed in claim 1, wherein the first type is one of direct-current and pulse-width-modulation, and the second type is the other.
3. The dimming controller as claimed in claim 1, wherein the first type is pulse-width-modulation, the second type is direct-current, and the signal converter is a DC-to-PWM converter.
4. The dimming controller as claimed in claim 1, wherein in response to an edge of the dimming signal the type identifier provides a selection signal to the multiplexer.
5. The dimming controller as claimed in claim 4, wherein the dimming signal comprises edges in a predetermined period of time, and the type identifier provides the selection signal in response to whether each of the edges has a slope whose absolute value is larger than a predetermined value.
6. The dimming controller as claimed in claim 1, further comprising: a constant current source for providing a constant current flowing through the input node.
7. The dimming controller as claimed in claim 1, wherein the type identifier disenables the signal converter if the dimming signal is identified as the first type.
8. The dimming controller as claimed in claim 1, wherein the multiplexer comprises: a signal buffer; and a multiple-input, single output switch controlled by the type identifier; wherein the signal buffer reproduces the dimming signal and provides the dimming signal to the multiple-input, single output switch.
9. The dimming controller as claimed in claim 8, wherein the type identifier disenables the signal buffer if the dimming signal is identified as the second type.
10. A dimming method for a light-emitting device, comprising: receiving a dimming signal; identifying whether the dimming signal is of a first type or a second type to provide a selection signal; converting the dimming signal to provide a first signal of the first type; and forwarding one of the first signal and dimming signal in response to the selection signal to a driver driving the light-emitting device.
11. The dimming method as claimed in claim 10, comprising: providing the selection signal in response to an edge of the dimming signal.
12. The dimming method as claimed in claim 11, wherein the dimming signal comprises edges in a predetermined period of time, and the dimming method comprises: providing the selection signal in response to whether each of the edges has a slope whose absolute value is larger than a predetermined value.
13. The dimming method as claimed in claim 12, comprising: providing the selection signal in response to whether a count of the edges is more than a certain number.
14. The dimming method as claimed in claim 10, wherein the first type is one of pulse-width-modulation and direct-current, and the second type is the other.
15. The dimming method as claimed in claim 10, wherein a signal converter converts the dimming signal to provide the first signal, and the dimming method comprises: disenabling the signal converter if the selection signal indicates the dimming signal is of the first type.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings. In the drawings, like reference numerals refer to like parts throughout the various figures unless otherwise specified. These drawings are not necessarily drawn to scale. Likewise, the relative sizes of elements illustrated by the drawings may differ from the relative sizes depicted.
(2) The invention can be more fully understood by the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10) According to embodiments of the invention,
(11) Power transistor MNDRV could be a NMOS transistor, acting as a current driver providing current with a proper magnitude to light-emitting device LT. Light-emitting device LT could be one or plurals of light-emitting diodes connected in series or in parallel. Dimming controller 10 provides driving signal S.sub.DRV to the control gate of power transistor MNDRV. The current flowing through light-emitting device LT is monitored by dimming controller 10, as it is sensed by current-sense resistor RCS to provide current-sense signal V.sub.CS at current-sense node CS. Dimming controller 10 receives dimming signal S.sub.DIM from input node DIM to provide driving signal S.sub.DRV accordingly.
(12) As shown in
(13) In other words, dimming signal S.sub.DIM could be of DC or of PWM. Dimming signal S.sub.DIM could be categorized into one of two types: DC and PWM.
(14)
(15) DC-to-PWM converter 16 is a signal converter and, if dimming signal S.sub.DIM is identified as DC, DC-to-PWM converter 16 converts dimming signal S.sub.DIM into PWM signal S.sub.PWM. Shown in
(16) Type identifier 12 is connected to input node DIM, for identifying whether dimming signal S.sub.DIM at input node DIM is of DC or of PWM, and accordingly provides selection signal S.sub.SEL. Type identifier 12 in
(17) According to embodiments of the invention, selection signal S.sub.SEL is determined in response to edges in dimming signal S.sub.DIM.
(18) Taking the waveform in
(19) Multiplexer 17a in
(20) Selection signal S.sub.SEL shown in
(21) LED driver 14a receives a PWM signal only, and controls power transistor MNDRV to regulate current flowing through light-emitting device LT in response to what multiple-input, single-output switch 26 outputs. If the output of multiple-input, single-output switch 26 is 1 in logic, level shifter 28 outputs reference voltage V.sub.REF, and operational amplifier 30 makes the current through light-emitting device LT about V.sub.REF/R.sub.CS, where R.sub.CS is the resistance of current-sense resistor R.sub.CS. If the output of multiple-input, single-output switch 26 is 0 in logic, level shifter 28 outputs 0V, and operational amplifier 30 makes the current through light-emitting device LT about 0.
(22) Constant current source 31 provides constant current I.sub.SET, which, if there is variable resistor RDIM connected between input node DIM and ground voltage GND, goes through variable resistor RDIM to generate at input node DIM DC voltage V.sub.DC used as dimming signal S.sub.DIM. Accordingly, constant current I.sub.SET converts the resistance of variable resistor RDIM into DC voltage V.sub.DC. While DC voltage V.sub.DC or PWM signal S.sub.DIM-PWM is directly supplied or defined from an external circuit with low output impedance, constant current I.sub.SET could not affect DC voltage V.sub.DC or PWM signal S.sub.DIM-PWM since constant current I.sub.SET is very small in magnitude.
(23)
(24) In step 62, dimming controller 10a receives at input node DIM dimming signal S.sub.DIM, which could be a PWM signal or a DC signal.
(25) In step 64 following step 62, type identifier 12 identifies whether dimming signal S.sub.DIM is of PWM or of DC to generate selection signal S.sub.SEL, which controls multiplexer 17a.
(26) Step 68a follows step 64 if dimming signal S.sub.DIM is identified as DC. DC-to-PWM converter 16 converts dimming signal S.sub.DIM into PWM signal S.sub.PWM.
(27) Step 70a, in response to selection signal S.sub.SEL generated in step 64, makes multiplexer 17a select PWM signal S.sub.PWM and forwards it to LED driver 14a, which drives light-emitting device LT accordingly. Meanwhile, the signal path for dimming signal S.sub.DIM from input node DIM, via digital buffer 18, and to LED driver 14a is disconnected. In one embodiment of the invention, step 70a disenables or shuts down digital buffer 18.
(28) Step 72a, in response to selection signal S.sub.SEL that indicates dimming signal S.sub.DIM as a PWM signal, makes multiplexer 17 select dimming signal S.sub.DIM and forward it via digital buffer 18 and multiple-input, single-output switch 26 to LED driver 14a driving light-emitting device LT. Meanwhile, multiplexer 17a isolates PWM signal S.sub.PWM from LED driver 14a.
(29) Dimming controller 10a in
(30)
(31) PWM-to-DC converter 19 is a signal converter and, if dimming signal S.sub.DIM is of PWM, it is capable of converting dimming signal S.sub.DIM into DC signal S.sub.DC. Shown in
(32) Multiplexer 17b in
(33) LED driver 14b receives a DC signal only, and controls power transistor MNDRV to regulate current flowing through light-emitting device LT in response to what multiple-input, single-output switch 26 outputs. If the output of multiple-input, single-output switch 26 has voltage level V.sub.OUT, operational amplifier 30 makes the current through light-emitting device LT about V.sub.OUT/R.sub.CS.
(34)
(35) Step 72b, in response to selection signal S.sub.SEL that indicates dimming signal S.sub.DIM as a DC signal, makes multiplexer 17b select dimming signal S.sub.DIM and forward it via multiple-input, single-output switch 26 to LED driver 14b driving light-emitting device LT. Meanwhile, selection signal S.sub.SEL causes multiplexer 17b to isolate DC signal S.sub.DC from LED driver 14b.
(36) Step 68b follows step 64 if dimming signal S.sub.DIM is identified as PWM. PWM-to-DC converter 19 converts dimming signal S.sub.DIM into DC signal S.sub.DC.
(37) Step 70b, in response to selection signal S.sub.SEL generated in step 64, follows step 68b. Step 70b makes multiplexer 17b select DC signal S.sub.DC and forward it to LED driver 14b, which drives light-emitting device LT accordingly. Meanwhile, the signal path for dimming signal S.sub.DIM from input node DIM, via operational amplifier 24, and to LED driver 14b is interrupted.
(38) Selection signal S.sub.SEL shown in
(39) Dimming controller 10b in
(40) While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.