1. Field of Technology
Embodiments disclosed herein relate generally to LED operation and more specifically to filter bandwidth adjustment in a multi-loop LED dimmer control circuit.
2. Description of the Related Arts
Dimmable LED drivers generally perform two functions: regulating the LED load current based on a dimmer signal describing a level of LED brightness, and providing a constant load current if the dimmer signal describes a maximum level of brightness. In one implementation, a dimmer signal can directly modify a reference current in an LED load current control loop such that the load current varies with changes in the dimmer signal. However, in order to maintain stability in such an implementation, the bandwidth in the LED load current control loop is limited. As a result, the dimming response can be sluggish, for instance upon a rapid dimmer level adjustment.
To improve dimming response performance, the dimmer signal can instead influence a pulse-width-modulation (“PWM”) generator configured to drive an LED power circuit. In such an embodiment, a current reference signal can be used to drive the power circuit when the dimmer signal describes a maximum level of brightness. Switching between driving the power circuit based on the dimmer signal and the current reference can also be sluggish, and may result in overshoot or undershoot of LED load current provided by the power circuit. While the power circuit will correct the load current overshoot or undershoot eventually, the LED itself can flicker or produce other undesirable effects in the meantime as a result of the sporadic load current behavior.
The embodiments disclosed herein describe the setting and adjustment of filter bandwidths associated with operating loops in a multi-loop dimmer control circuit. The dimmer control circuit can include a dimmer loop configured to receive a dimmer output signal from a dimmer switch (such as an adjustable dimmer knob). In response to receiving a dimmer output signal, the dimmer loop generates a first loop signal representative of the dimmer output signal. The dimmer control circuit can also include a constant current loop configured to receive a sense signal representing a load current through an LED and a reference signal representing a full load current through the LED. The constant current loop generates a second loop signal representative of the sense signal and the reference signal.
Each dimmer circuit loop includes a filter. The filter can be a low-pass filter with a configurable bandwidth. The dimmer circuit can also include a signal generator, such as a pulse-width modulation generator. The signal generator is configured to generate driving signals for an LED power circuit based on the smaller of the first loop signal and the second loop signal.
When one of the dimmer or the constant current loop is driving the signal generator, the bandwidth of the driving loop filter is reduced, for instance to a pre-determined minimum, in order to reduce loop signal noise and potential LED flickering. At the same time, the bandwidth of the non-driving loop (or inactive loop) filter is increased to a pre-determined maximum, in order to improve response time and reduce potential overshoot or undershoot during dimmer adjustment.
When a dimmer output signal is received indicating a requested increase in brightness while the dimmer loop is driving the signal generator, the dimmer control circuit can increase the dimmer loop filter bandwidth while maintaining the constant current loop filter bandwidth. When the requested increase in brightness causes the first loop signal to be larger than the second loop signal, the dimmer control circuit switches from dimmer loop operation to constant current loop operation, increases the dimmer loop filter bandwidth to a pre-determined maximum and decreases the constant current loop bandwidth from a pre-determined maximum.
Similarly, when a dimmer output signal is received indicating a requested decrease in brightness while in constant current loop operation, the dimmer control circuit can increase the constant current loop filter bandwidth while maintaining the dimmer loop filter bandwidth. When the requested decrease in brightness causes the second loop signal to be larger than the first loop signal, the dimmer control circuit switches from constant current loop operation to dimmer loop operation, increases the constant current loop bandwidth to a pre-determined maximum and decreases the dimmer loop bandwidth from a pre-determined maximum.
The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings and specification. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.
The teachings of the embodiments disclosed herein can be readily understood by considering the following detailed description in conjunction with the accompanying drawings.
The Figures (FIG.) and the following description relate to various embodiments by way of illustration only. It should be noted that from the following discussion, alternative embodiments of the structures and methods disclosed herein will be readily recognized as viable alternatives that may be employed without departing from the principles discussed herein.
Reference will now be made in detail to several embodiments, examples of which are illustrated in the accompanying figures. It is noted that wherever practicable similar or like reference numbers may be used in the figures and may indicate similar or like functionality. The figures depict various embodiments for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.
Embodiments disclosed herein describe the setting and adjusting of loop bandwidths by setting and adjusting the bandwidths of filters associated with the loops in a dimmer control circuit. In one embodiment, the filter bandwidth associated with an active loop (a loop driving an LED power circuit) is decreased, and the filter bandwidth associated with an inactive loop (a loop that is not driving the LED power circuit) is increased. Decreasing the filter bandwidth associated with an active loop can allow the dimmer control circuit to better reduce flickering associated with signal noise within the active loop. Increasing the filter bandwidth associated with an inactive loop can allow the dimmer control circuit to better improve response time, and can reduce signal overshoot or undershoot during an LED brightness adjustment. It should be noted that other loop components can affect a loop's bandwidth, but for the purposes of simplicity, the remainder of the description herein is limited to the setting and adjusting of filter bandwidth for the purposes of setting and adjusting loop bandwidth.
The dimmer 100 can be a conventional dimmer switch, and the dimmer input 102 can be provided manually (via an adjustable knob or slider switch, not shown herein) or via an automated lighting control system (not shown herein). One example of a dimmer is described in U.S. Pat. No. 7,936,132, the contents of which are incorporated by reference in their entirety. In one embodiment, the dimmer employs phase angle switching of the dimmer input to adjust the dimmer output 104 by using a TRIAC circuit. As used herein, a TRIAC is a bidirectional device that can conduct current in either direction when it is triggered. For the internal timing of a TRIAC dimmer to function properly, current must be drawn from the dimmer at certain times. In one embodiment, the LED is configured to draw current from the dimmer via the dimmer control circuit 105 and the power circuit 110 in a manner that allows the internal circuitry of the dimmer 100 to function properly.
The dimmer control circuit 105 receives the dimmer output 104 from the dimmer 100 and generates a power circuit control signal 106 for the power circuit 110 based at least in part on the dimmer output signal. The power circuit control signal causes the power circuit to power the LED based on the dimmer input signal 102. The dimmer control circuit is described in greater detail below in conjunction with
The power circuit 110 of the embodiment of
The voltage signal VI
The dimmer control circuit 105 includes a dimmer processor 220, a comparator/multiplexor (“mux”) 230, a PWM generator 235, a constant current reference module 245, and a loop compensation module 250. The input of the dimmer processor 220 is coupled to a filter 218, and the output of the power circuit 110 is coupled to a filter 240. Other embodiments not discussed further may include additional, fewer, or different components than those described herein.
The filter 218 receives the dimmer output signal 104 from the dimmer 100 and generates a filtered dimmer output signal. As described herein, the filter 218 is a low-pass filter with a configurable-width passband, though in other embodiments, other types of filters can be used. The width of the passband is referred to herein as the “bandwidth” of the filter 218. The filter 218 filters the dimmer output signal such that portions of the dimmer output signal outside of the passband are substantially reduced in amplitude. Filtering portions of the dimmer output signal outside of the passband allows the filter 218 to reduce noise on the dimmer loop signal that may lead to perceivable LED flickering. Accordingly, decreased filter bandwidth can increase noise reduction, and vice versa.
The dimmer processor 220 receives the filtered dimmer output signal from the filter 218 and generates a processed dimmer output signal or dimmer loop signal, V1. The dimmer processor includes a phase detector that generates a dimming phase signal representing an amount of phase modulation (if any) detected in the filtered dimmer output signal (e.g., between 0% and 100%). Based on the dimming phase signal, the dimmer processor determines a dimming ratio representing a fraction of power to deliver to the LED to achieve a desired level of brightness. In one embodiment, the dimmer processor uses a dimming ratio map that maps dimming phase signals to predetermined dimming ratios in order to determine the dimming ratio based on the dimming phase signal. The dimmer processor then generates a dimmer loop signal V1 representative of the dimming ratio. For example, if the dimming ratio is 1, the dimmer processor generates V1 configured to result in a luminosity response from the LED equivalent to 100% of the LED's potential luminosity, and if the dimming ratio is 0.3, the dimmer processor generates V1 configured to result in a luminosity response from the LED equivalent to 30% of the LED's potential luminosity.
Similar to the filter 218, the filter 240 as described herein is a low-pass filter with a configurable-width passband, though in other embodiments, other types of filters can be used. The dimmer control circuit 105 detects the voltage signal VI
The voltage signal VI
As illustrated in
The comparator/mux 230 receives the loop signals V1 and V2, compares the signals, and outputs the smaller of the two signals, represented as “Min(V1, V2)” in the embodiment of
The PWM generator 235 receives the dimmer output signal 104 and the smaller of the two signals V1 and V2 and generates power circuit control signals 106 for driving the LED 115 via the power circuit 110 switch Q1 based on the received signals. The power circuit control signals generated by the PWM generator are generated according to a switching scheme with a constant switching frequency, but with a variable duty cycle based on the dimmer output signal and the smaller of the two signals V1 and V2. As used herein, duty cycle refers to the fraction (often expressed as a percentage) of the switching period during which the power circuit control signals are configured to turn the power switch Q1 on. For example, a PWM switching scheme may have a switching frequency of 100 kHz, and accordingly a switching period of 10 μs. Hence, for a duty cycle of 30%, the power circuit control signals are configured to turn the power switch Q1 on for 3 μs and off for 7 μs of each switching period. The PWM generator duty cycle can be modulated as a linear function of the smaller of the two signals V1 and V2, and/or of the dimmer output signal 104.
The bandwidths of the filters 218 and 240 are adjusted based on changes in a desired dimmer level (such as an increase or decrease in brightness) and based on current loop operation. During operation in a first of the dimmer loop 200 or the CC loop 210 (the “active loop”), the bandwidth of the filter associated with a second of the two loops (the “inactive loop”) is set to a pre-determined maximum. By maximizing the bandwidth of the filter of the inactive loop, the response time of the dimmer control circuit 110 upon switching operating loops is decreased, reducing potential overshoot or undershoot when switching between loops. Further, during stable operation in an active loop (operation without changes in dimmer level), the bandwidth of the filter associated with the active loop is set to a pre-determined minimum. By minimizing the bandwidth of the filter of the active loop during stable operation, noise is reduced on the driving signal of the active loop, thus reducing potential LED flickering and improving the performance of the LED 115.
In one embodiment, the voltage signal VI
The first transition state 300 of the transition table of
When the requested brightness continues to increase such that the dimmer control circuit 105 switches from dimmer loop operation to CC loop operation, the dimmer control circuit transitions to the third transition state 304. During the transition from the second transition state 302 to the third transition state, the dimmer control circuit increases the bandwidth of the filter 218 up to a second pre-determined maximum, timed to occur at or around the moment of switching from dimmer loop operation to CC loop operation. At or around the same time as the switch from dimmer loop operation to CC loop operation, the dimmer control circuit decreases the bandwidth of the filter 240 from the first predetermined maximum.
When the requested brightness stops increasing, the dimmer control circuit 105 transitions to the fourth transition state 306, representing stable CC loop operation by the dimmer control circuit. During operation in the fourth transition state, the dimmer control circuit maintains the bandwidth of the filter 218 at the second pre-determined maximum, and decreases the bandwidth of the filter 240 to a second pre-determined minimum. It should be noted that although the first and the second pre-determined maximums are illustrated in
Upon receiving a requested decrease in brightness, the dimmer control circuit 105 transitions to the fifth transition state 308. The dimmer control circuit maintains the bandwidth of the filter 218 at the second pre-determined maximum, and increases the bandwidth of the filter 240 from the second pre-determined minimum. Upon receiving additional requested decreases in brightness sufficient to cause the dimmer control circuit to switch from CC loop operation to dimmer loop operation, the dimmer control circuit transitions to the sixth transition state 310. During the transition from the fifth transition state to the sixth transition state, the dimmer control circuit increases the bandwidth of the filter 240 to the first pre-determined maximum, time to occur at or around the moment of switching from CC loop operation to dimmer loop operation. At or around the same time as the switch from CC loop operation to dimmer loop operation, the dimmer control circuit decreases the bandwidth of the filter 218 from the second predetermined maximum.
When the requested brightness stops decreasing, the dimmer control circuit 105 transitions from the sixth transition state 310 to the first transition state 300, representing stable dimmer loop operation by the dimmer control circuit. Accordingly, the dimmer control circuit decreases the bandwidth of the filter 218 to the first pre-determined minimum, and maintains the bandwidth of the filter 240 at the first pre-determined maximum.
It should be noted that in some embodiments, the dimmer control circuit 105 can transition between states in orders other than those described herein. For instance, if the dimmer control circuit is operating in stable dimmer loop operation (transition state 300), an increase in requested brightness may cause the dimmer control circuit to transition to transition state 302 (and accordingly, increase the bandwidth of filter 218) only if the increase in requested brightness exceeds a pre-determined threshold. Similarly, if the dimmer control circuit is operating in stable CC loop operation (transition state 306), a decrease in requested brightness may cause the dimmer control circuit to transition to transition state 308 (and accordingly, increase the bandwidth of filter 240) only if the decrease in requested brightness exceeds a pre-determined threshold.
In one embodiment, upon transitioning to transition state 302 from transition state 300 (in response to receiving an increase in requested brightness), the dimmer control circuit 105 may transition back to transition state 300 if 1) further increases in requested brightness are not received, 2) if the previously received increase in requested brightness is not sufficient to cause the dimmer control circuit to switch from dimmer loop operation to CC loop operation, and/or 3) if a decrease in brightness is received while still operating in dimmer loop operation. In such an embodiment, upon transitioning from transition state 302 back to transition state 300, the dimmer control circuit may reduce the bandwidth of the filter 218 to the first pre-determined minimum. Similarly, upon transitioning to transition state 308 from transition state 306 (in response to receiving a decrease in requested brightness), the dimmer control circuit may transition back to transition state 306 if 1) further decreases in requested brightness are not received, 2) if the previously received decrease in requested brightness is not sufficient to cause the dimmer control circuit to switch from CC loop operation to dimmer loop operation, and/or 3) if an increase in brightness is received while still operating in CC loop operation. In such an embodiment, upon transitioning from transition state 308 back to transition state 306, the dimmer control circuit may reduce the bandwidth of the filter 240 to the second pre-determined minimum.
In one embodiment, the dimmer control circuit 105 may operate in transition state 300 at a brightness level very close to the loop switching point (in other words, at a brightness such that very small increases in requested brightness may cause the dimmer control circuit to switch to CC loop operation). In such an embodiment, upon receiving a requested increase in brightness, the dimmer control circuit may transition from transition state 300 directly to transition state 304, and may very quickly increase the bandwidth of the filter 218 to the second pre-determined maximum and decrease the bandwidth of the filter 240 from the first pre-determined maximum. Similarly, the dimmer control circuit may operate in transition state 306 at a brightness level very close to the loop switching point (where a small decrease in requested brightness may cause the dimmer control circuit to switch to dimmer loop operation). In such an embodiment, upon receiving a requested decrease in brightness, the dimmer control circuit may transition from transition state 306 directly to transition state 310, and may very quickly increase the bandwidth of the filter 240 to the first pre-determined maximum, and decrease the bandwidth of the filter 218 from the second pre-determined maximum.
The rate at which the dimmer control circuit 105 increases and decreases the bandwidths of filters 218 and 240 can be substantially constant/linear, or can vary based on current operating parameters. For example, the dimmer control circuit can increase the bandwidth of filter 218 from the first pre-determined minimum bandwidth at twice the rate that the dimmer control circuit increases the bandwidth of filter 240. Similarly, the dimmer control circuit can decrease the bandwidth of filter 218 at a rate twice as fast as the rate that the dimmer control circuit decreases the bandwidth of filter 240. The increase and decrease in filter bandwidths can be based on the rate at which increases and/or decreases in brightness are received, can be based on the current brightness of the LED 115, can be based on the active loop, or can be based on any other factor associated with the operation of the dimmer control circuit. In one embodiment, increases and decreases in filter bandwidth is substantially smooth in order to reduce noise.
If the identified active loop is the dimmer loop, the CC loop bandwidth is set 405 to a first predetermined maximum. If no requested change in LED brightness is detected 410 (representing stable dimmer loop operation), then the dimmer loop bandwidth is set 415 to a first predetermined minimum. Upon detecting 420 a request for an increase in LED brightness, the dimmer loop bandwidth is increased 425. Upon detecting 420 a request for a decrease in brightness, the dimmer loop bandwidth is decreased if the current dimmer loop bandwidth is greater than the first predetermined minimum, and maintained if the current dimmer loop bandwidth is equal to the first predetermined minimum.
If the identified active loop is the CC loop, the dimmer loop bandwidth is set 435 to a second predetermined maximum. If no requested change in LED brightness is detected 440, then the CC loop bandwidth is set 445 to a second predetermined minimum. Upon detecting 450 a request for an decrease in LED brightness, the CC loop bandwidth is increased 455. Upon detecting 420 a request for an increase in LED brightness, the CC loop bandwidth is decreased if the current CC loop bandwidth is greater than the second predetermined minimum, and maintained if the current CC loop bandwidth is equal to the second predetermined minimum.
Upon reading this disclosure, those of skill in the art will appreciate still additional alternative designs for controlling the dimming operation of an LED. Thus, while particular embodiments and applications have been illustrated and described, it is to be understood that the embodiments discussed herein are not limited to the precise construction and components disclosed herein and that various modifications, changes and variations which will be apparent to those skilled in the art may be made in the arrangement, operation and details of the method and apparatus disclosed herein without departing from the spirit and scope of the disclosure.
Number | Name | Date | Kind |
---|---|---|---|
6577512 | Tripathi et al. | Jun 2003 | B2 |
7262559 | Tripathi et al. | Aug 2007 | B2 |
8466628 | Shearer et al. | Jun 2013 | B2 |
8492988 | Nuhfer et al. | Jul 2013 | B2 |
8553431 | Zheng | Oct 2013 | B2 |
20100033095 | Sadwick | Feb 2010 | A1 |
20110267375 | Yang et al. | Nov 2011 | A1 |
20130020964 | Nuhfer et al. | Jan 2013 | A1 |