The present invention claims priority to TW 108136977 filed on Oct. 15, 2019.
The present invention relates to a light emitting device (LED) driving apparatus; particularly, it relates to such LED driving apparatus which can perform dimming control. The present invention also relates to a dimming control circuit and dimming control method.
Relevant prior arts of which the inventor is aware are: US Patent Application No. 2017/0005583 A1 and CN Patent Application No. 106329961A, and “Datasheet of TPS54200, TPS54201 4.5V to 28-V Input Voltage, 1.5A Output Current, Synchronous Buck Mono-Color or IR LED Driver” published by Texas Instruments.
Please refer to
The prior art shown in
As compared to the prior art in
From one perspective, the present invention provides a light emitting device (LED) driving apparatus, comprising: a power stage circuit, which includes: an inductor; and a power switch coupled to the inductor, wherein the power switch is configured to operably control the inductor, so as to convert an input power to an output current for driving an LED circuit; and a dimming control circuit, which is configured to operably control the power switch, wherein the dimming control circuit includes: a duty ratio conversion circuit, which is configured to operably convert a PWM dimming signal to a digital duty ratio signal, wherein the digital duty ratio signal corresponds to a dimming duty ratio of the PWM dimming signal; a first digital-to-analog conversion (DAC) circuit, which is configured to operably convert the digital duty ratio signal to an analog reference signal; an error amplifier (EA) circuit, which is configured to operably generate an error amplified signal according to a difference between the analog reference signal and an output current related signal, wherein the output current related signal is related to the output current; and a modulation control circuit, which is configured to operably generate a PWM control signal according to the error amplified signal, to control the power switch, so as to regulate the output current such that the output current is related to the dimming duty ratio, whereby the dimming control circuit dims the LED circuit according to the PWM dimming signal.
In one embodiment, the LED driving apparatus further comprises: a current sensing device, which is configured to operably generate a current sensing signal according to the output current; wherein the dimming control circuit further includes: a current signal amplification circuit, which is configured to operably amplify the current sensing signal via fully differential configuration, to generate the output current related signal.
In one embodiment, the LED driving apparatus further comprises: a filter circuit coupled between the current sensing device and the current signal amplification circuit, the filter circuit being configured to operably filter a voltage across the current sensing device, to generate the current sensing signal.
In one embodiment, the duty ratio conversion circuit includes: a pulse generation circuit, which is configured to operably detect a starting time point of the dimming duty ratio of the PWM dimming signal to generate a starting pulse, and to operably detect an ending time point of the dimming duty ratio of the PWM dimming signal to generate an ending pulse, wherein a period of the starting pulse and a period of the ending pulse both correspond to a dimming signal period of the PWM dimming signal; a timer clock circuit, which is configured to operably generate a timer clock signal according to a period pulse, wherein the timer clock circuit adjusts a period of the timer clock signal, to regulate a duration by which the timer clock signal counts to a predetermined full scale value, such that the period of the timer clock signal is substantially equal to the dimming signal period; wherein the period pulse corresponds to either the starting pulse or the ending pulse; and a duty ratio counter circuit, which is configured to operably count according to the timer clock signal, to generate the digital duty ratio signal, wherein the duty ratio counter circuit is triggered to start counting by the starting pulse and is triggered to stop counting by the ending pulse, so as to generate the digital duty ratio signal, wherein a ratio of a count value of the digital duty ratio signal to the predetermined full scale value corresponds to the dimming duty ratio.
In one embodiment, the timer clock circuit includes: a reference clock generation circuit, which is configured to operably generate a reference clock signal; a first up-down counter circuit, which is configured to operably generate the timer clock signal according to the reference clock signal, an up-counting signal and a down-counting signal; a period counter circuit, which is configured to operably count according to the timer clock signal and the period pulse during the dimming signal period, to generate a period counting number; and a period comparison circuit, which is configured to operably compare the period counting number with the predetermined full scale value, to generate the up-counting signal and the down-counting signal so as to control a counting direction of the first up-down counter circuit and accordingly adjust the period of the timer clock signal, to regulate the duration by which the timer clock signal counts to the predetermined full scale value, such that the period of the timer clock signal is substantially equal to the dimming signal period.
In one embodiment, the duty ratio counter circuit latches the digital duty ratio signal according to the ending pulse.
In one embodiment, the timer clock circuit includes: an adjustable clock generation circuit, which is configured to operably generate the timer clock signal according to an analog adjustment signal; a second up-down counter circuit, which is configured to operably generate a digital adjustment signal according to an up-counting signal and a down-counting signal; a second digital-to-analog conversion (DAC) circuit, which is configured to operably convert the digital adjustment signal to the analog adjustment signal; a period counter circuit, which is configured to operably count according to the timer clock signal and the period pulse during the dimming signal period, to generate a period counting number; and a period comparison circuit, which is configured to operably compare the period counting number with the predetermined full scale value, to generate the up-counting signal and the down-counting signal so as to control a counting direction of the first up-down counter circuit and accordingly adjust the period of the timer clock signal, to regulate the duration by which the timer clock signal counts to the predetermined full scale value, such that the period of the timer clock signal is substantially equal to the dimming signal period.
In one embodiment, the duty ratio counter circuit latches the digital duty ratio signal according to the ending pulse.
In one embodiment, the power stage circuit includes one of the following: (1) a buck switching power stage; (2) a boost switching power stage; (3) a buck-boost switching power stage; or (4) a flyback switching power stage.
From another perspective, the present invention provides a dimming control circuit, which is configured to operably control an LED driving apparatus, wherein the LED driving apparatus includes a power stage circuit, the power stage circuit including: an inductor; and a power switch coupled to the inductor, wherein the power switch is configured to operably control the inductor to convert an input power to an output current for driving an LED circuit; wherein the dimming control circuit is configured to operably control the power switch; the dimming control circuit comprising: a duty ratio conversion circuit, which is configured to operably convert a PWM dimming signal to a digital duty ratio signal, wherein the digital duty ratio signal corresponds to a dimming duty ratio of the PWM dimming signal; a first digital-to-analog conversion (DAC) circuit, which is configured to operably convert the digital duty ratio signal to an analog reference signal; an error amplifier (EA) circuit, which is configured to operably generate an error amplified signal according to a difference between the analog reference signal and an output current related signal, wherein the output current related signal is related to the output current; and a modulation control circuit, which is configured to operably generate a PWM control signal according to the error amplified signal, to control the power switch, so as to regulate the output current such that the output current is related to the dimming duty ratio, whereby the dimming control circuit dims the LED circuit according to the PWM dimming signal.
From yet another perspective, the present invention provides a dimming control method, which is configured to operably control an LED driving apparatus, wherein the LED driving apparatus includes a power stage circuit, the power stage circuit including: an inductor; and a power switch coupled to the inductor, wherein the power switch is configured to operably control the inductor to convert an input power, so as to generate an output current for driving an LED circuit; wherein the dimming control method is configured to operably control the power switch; the dimming control method comprising: converting a PWM dimming signal to a digital duty ratio signal, wherein the digital duty ratio signal corresponds to a dimming duty ratio of the PWM dimming signal; converting the digital duty ratio signal to an analog reference signal; and generating a PWM control signal according to a difference between the analog reference signal and an output current related signal, to control the power switch, so as to regulate the output current such that the output current is related to the dimming duty ratio, whereby the dimming control circuit dims the LED circuit according to the PWM dimming signal.
In one embodiment, the dimming control method further comprises: amplifying a current sensing signal via fully differential configuration, to generate the output current related signal; wherein the dimming control circuit further includes: a current sensing device, which is configured to operably generate the current sensing signal according to the output current.
In one embodiment, the step of generating the digital duty ratio signal includes: generating a timer clock signal according to a dimming signal period of the PWM dimming signal; counting according to the timer clock signal; adjusting a period of the timer clock signal, to regulate a duration by which the timer clock signal counts to a predetermined full scale value, such that the period of the timer clock signal is substantially equal to the dimming signal period; and starting to count at a starting time point of a duty of the PWM dimming signal according to the timer clock signal and stopping counting at an ending time point of the duty of the PWM dimming signal, so as to generate the digital duty ratio signal, wherein a ratio of a count value of the digital duty ratio signal to the predetermined full scale value corresponds to the dimming duty ratio.
In one embodiment, the step of adjusting the period of the timer clock signal includes: generating a reference clock signal; performing an up-counting or a down-counting according to the reference clock signal, to generate the timer clock signal; counting according to the timer clock signal and the period pulse during the dimming signal period, to generate a period counting number; and comparing the period counting number with the predetermined full scale value, so as to control a counting direction of the first up-down counter circuit and accordingly adjust the period of the timer clock signal, to regulate the duration by which the timer clock signal counts to the predetermined full scale value, such that the period of the timer clock signal is substantially equal to the dimming signal period.
In one embodiment, the step of generating the timer clock signal includes: generating a digital adjustment signal by up-counting or down-counting; converting the digital adjustment signal to an analog adjustment signal; generating the timer clock signal according to the analog adjustment signal; counting according to the timer clock signal and the period pulse during the dimming signal period, to generate a period counting number; and comparing the period counting number with the predetermined full scale value, to upwardly or downwardly adjust the digital adjustment signal so as to adjust the period of the timer clock signal, whereby the duration by which the timer clock signal counts to the predetermined full scale value is regulated, such that the period of the timer clock signal is substantially equal to the dimming signal period.
The objectives, technical details, features, and effects of the present invention will be better understood with regard to the detailed description of the embodiments below, with reference to the attached drawings.
The drawings as referred to throughout the description of the present invention are for illustration only, to show the interrelations between the circuits and the signal waveforms, but not drawn according to actual scale of circuit sizes and signal amplitudes and frequencies.
Please refer to
In one embodiment, the power stage circuit 100 includes: an inductor L and a power switch SW1. The power switch SW1 is coupled to the inductor L. The power switch SW1 is configured to operably control the inductor L to convert an input power VIN to an output current VIN for driving an LED circuit 300.
Please refer to
Please refer to
As shown in
Note that, as one of average skill in the art will readily understand, the term “PWM” refers to pulse width modulation; besides, in one embodiment, the dimming duty ratio corresponds to a ratio of the duration of a high level of the PWM dimming signal PWM_dim to a period of the PWM dimming signal PWM_dim. Also note that, because there may be imperfectness during manufacturing the components and/or the circuits, the term “substantially” is used to mean that an insignificant error within a tolerable range is acceptable.
In one embodiment, the above-mentioned dimming duty ratio of the PWM dimming signal PWM_dim is used to adjust light-emitting characteristics (e.g., brightness or color temperature) of the LED circuit 300. In one embodiment, brightness of the LED circuit 300 is positively correlated to the dimming duty ratio. In one embodiment, the brightness of the LED circuit 300 is positively proportional to the dimming duty ratio.
Please still refer to
Please still refer to
In one embodiment, the duty ratio of an ON-period of the power switch SW1 is correlated with a duty ratio of the PWM dimming signal PWM_dim. The actual relationship between the duty ratio of the ON-period of the power switch SW1 and the duty ratio of the PWM dimming signal PWM_dim is related to the power stage circuit that is adopted; for example, the duty ratio of the ON-period of the power switch SW1 can be of the same phase and the same ratio as the duty ratio of the PWM dimming signal PWM_dim, i.e., indirect correspondence. In other examples, the correspondence can be arranged otherwise. In one embodiment, the PWM control signal PWMO is generated for example by comparing the error amplified signal EAO with a ramp signal, to generate the PWM control signal PWMO in fixed frequency pulse width modulation or variable frequency pulse width modulation, under a voltage mode, a current mode, or a constant time mode. etc., wherein the ramp signal can be related or not related to a slop of the inductor current.
In another embodiment, the modulation control circuit 204 is configured to operably generate a linear control signal according to the error amplified signal EAO, to control a power stage circuit having a linear power switch, to regulate the output current IOUT such that the output current IOUT is related to the dimming duty ratio.
Note that, in the present invention, the approach for dimming LED circuit 300 is not limited to controlling the output current IOUT to be related to the dimming duty ratio. In other embodiments, it is also practicable and within the scope of the present invention that the power switch SW1 can be controlled in a way such that the output voltage or the output power is related to the dimming duty ratio, whereby the dimming control circuit 200 dims the LED circuit 300 according to the PWM dimming signal PWM_dim.
Please refer to
Please still refer to
Please still refer to
Please refer to
The pulse generation circuit 210 is configured to operably detect a starting time point (for example but not limited to a rising edge of the PWM dimming signal PWM_dim in
The timer clock circuit 220 is configured to operably generate a timer clock signal CLK according to a period pulse TP (which for example can be the starting pulse TR or the ending pulse TF). According to the present invention, in one embodiment, the timer clock circuit 220 adjusts a period of the timer clock signal CLK, to regulate a duration by which the timer clock signal CLK counts to a predetermined full scale value, such that the period of the timer clock signal CLK is substantially equal to the dimming signal period T dim. For example, assuming that the predetermined full scale value is 255 and the period of the timer clock signal CLK is Tck, according to the present invention, the timer clock circuit 220 can adjust the period Tck of the timer clock signal CLK, such that Tck*255 is equal to T dim. The implementation details of the timer clock circuit 220 will be explained later.
As shown in
The duty ratio counter circuit 230 is configured to operably count according to the timer clock signal CLK, to generate the digital duty ratio signal DTY. More specifically, in one embodiment, the duty ratio counter circuit 230 is triggered to start counting by the starting pulse TR and is triggered to stop counting by the ending pulse TF, so as to generate the digital duty ratio signal DTY. A ratio of a count value of the digital duty ratio signal DTY to the predetermined full scale value corresponds to the dimming duty ratio.
Please still refer to
Please refer to
As shown in
Please still refer to
The period counter circuit 223 is configured to operably count during the dimming signal period T dim according to the timer clock signal CLK and the period pulse TP, to generate a period counting number. Because the period counter circuit 223 is configured to operably count during the dimming signal period T dim, in one embodiment, the above-mentioned period pulse TP can correspond to the starting pulse TR. In another embodiment, the above-mentioned period pulse TP can correspond to the ending pulse TF.
The period comparison circuit 224 is configured to operably compare the period counting number with the predetermined full scale value, to generate the up-counting signal SUP and the down-counting signal SDN for controlling a counting direction of the up-down counter circuit 222, so as to adjust the period of the timer clock signal CLK is adjusted, to regulate the duration by which the timer clock signal CLK counts to the predetermined full scale value, such that the period of the timer clock signal CLK is substantially equal to the dimming signal period T dim.
More specifically, in one embodiment, when the period counting number is smaller than the predetermined full scale value, it indicates that the period of the timer clock signal CLK is too long. Under such situation, in one embodiment, the present invention can use the down-counting signal SDN to control the up-down counter circuit 222 to count down, thus shortening the period of the timer clock signal CLK. As a result, the duration by which the timer clock signal CLK counts to a predetermined full scale value is shortened, such that the period of the timer clock signal CLK is substantially equal to the dimming signal period T dim. Under an opposite situation where the period counting number is greater than the predetermined full scale value (which indicates that the period of the timer clock signal CLK is too short), the present invention can use the up-counting signal SUP to control the up-down counter circuit 222 to count up.
Please refer to
Please still refer to
Please still refer to
More specifically, in one embodiment, when the period counting number is smaller than the predetermined full scale value, it indicates that the period of the timer clock signal CLK is too long. Under such situation, in one embodiment, the present invention can use the down-counting signal SDN to control the up-down counter circuit 242 to count down, thus shortening the period of the timer clock signal CLK. As a result, the duration by which the timer clock signal CLK counts to a predetermined full scale value is shortened, such that the period of the timer clock signal CLK is substantially equal to the dimming signal period T dim. Under an opposite situation where the period counting number is greater than the predetermined full scale value (which indicates that the period of the timer clock signal CLK is too short), the present invention can use the up-counting signal SUP to control the up-down counter circuit 242 to count up.
The present invention has been described in considerable detail with reference to certain preferred embodiments thereof. It should be understood that the description is for illustrative purpose, not for limiting the scope of the present invention. An embodiment or a claim of the present invention does not need to achieve all the objectives or advantages of the present invention. The title and abstract are provided for assisting searches but not for limiting the scope of the present invention. Those skilled in this art can readily conceive variations and modifications within the spirit of the present invention. For example, to perform an action “according to” a certain signal as described in the context of the present invention is not limited to performing an action strictly according to the signal itself, but can be performing an action according to a converted form or a scaled-up or down form of the signal, i.e., the signal can be processed by a voltage-to-current conversion, a current-to-voltage conversion, and/or a ratio conversion, etc. before an action is performed. It is not limited for each of the embodiments described hereinbefore to be used alone; under the spirit of the present invention, two or more of the embodiments described hereinbefore can be used in combination. For example, two or more of the embodiments can be used together, or, a part of one embodiment can be used to replace a corresponding part of another embodiment. In view of the foregoing, the spirit of the present invention should cover all such and other modifications and variations, which should be interpreted to fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
108136977 | Oct 2019 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20060145899 | Markowski | Jul 2006 | A1 |
20100084991 | Liu | Apr 2010 | A1 |
20170005583 | Choi | Jan 2017 | A1 |
Number | Date | Country |
---|---|---|
106329961 | Jun 2016 | CN |
Entry |
---|
“Datasheet of TPS54200, TPS54201 4.5V to 28-V Input Voltage, 1.5A Output Current, Synchronous Buck Mono-Color or IR LED Driver” published by Texas Instruments. |