Drive circuit for a light-emitting diode light source
11357084 · 2022-06-07
Assignee
Inventors
Cpc classification
H05B45/14
ELECTRICITY
International classification
H05B45/14
ELECTRICITY
Abstract
A controllable lighting device may comprise a drive circuit characterized by one or more cycles and a control circuit configured to control the drive circuit to conduct a load current through a light source of the lighting device. The control circuit may be configured to determine one or more operating parameters of the lighting device during a present cycle of the drive circuit based on a feedback signal indicative of a peak magnitude of the load current conducted through the light source. The control circuit may be able to adjust an average magnitude of the load current conducted through the light source so as to adjust an intensity of the light source towards a target intensity based on the operating parameters.
Claims
1. A controllable lighting device comprising: a light-emitting diode (LED) light source; an LED drive circuit comprising a controllably conductive device configured to conduct a load current through the LED light source; a feedback circuit configured to generate a feedback signal indicative of a peak magnitude of the load current conducted through the LED light source; and a control circuit configured to render the controllably conductive device of the LED drive circuit conductive and non-conductive to adjust an average magnitude of the load current conducted through the LED light source so as to adjust an intensity of the LED light source towards a target intensity; wherein the control circuit is configured to render the controllably conductive device conductive for an on-time during a present cycle of the LED drive circuit to cause the controllably conductive device to conduct the load current at the peak magnitude during the on-time, the control circuit configured to receive the feedback signal during the on-time of the present cycle of the LED drive circuit and determine a length of an operating period for the present cycle based on a magnitude of the feedback signal and the target intensity.
2. The controllable lighting device of claim 1, further comprising: a power converter circuit configured to generate a bus voltage that is received by the LED drive circuit; wherein the peak magnitude of the load current during the on-time of the present cycle of the LED drive circuit is dependent upon the magnitude of the bus voltage.
3. The controllable lighting device of claim 2, wherein the control circuit is further configured to limit the length of the respective operating periods of one or more cycles of the LED drive circuit to be between a maximum value and a minimum value.
4. The controllable lighting device of claim 3, wherein the control circuit is further coupled to the power converter circuit and configured to generate a bus control signal for adjusting the magnitude of the bus voltage to maintain the lengths of the respective operating periods of one or more cycles of the LED drive circuit to be between the maximum value and the minimum value.
5. The controllable lighting device of claim 4, wherein the control circuit is configured to control the bus control signal to decrease the bus voltage in response to determining that the length of the operating period of the present cycle of the LED drive circuit is above the maximum value and to increase the bus voltage in response to determining that the length of the operating period of the present cycle of the LED drive circuit is below the minimum value.
6. The controllable lighting device of claim 3, wherein the control circuit is configured to set the maximum value for the length of the operating period to a first value when the target intensity is between a maximum intensity and a transition intensity, and increase the maximum value for the length of the operating period from the first value when the target intensity is below the transition intensity.
7. The controllable lighting device of claim 3, wherein the minimum value for the length of the operating period is set to a value independent of the target intensity of the LED light source.
8. The controllable lighting device of claim 3, wherein the control circuit is configured to generate a bus control signal for adjusting the magnitude of the bus voltage, the control circuit further configured to maintain the lengths of the respective operating periods of the one or more cycles of the LED drive circuit between the maximum value and the minimum value by controlling the power converter circuit to adjust the magnitude of the bus voltage.
9. The controllable lighting device of claim 1, wherein the control circuit is further configured to determine the on-time of the LED drive circuit based on the target intensity, and determine the length of the operating period of the present cycle further based on the on-time.
10. The controllable lighting device of claim 9, wherein the control circuit is configured to maintain the on-time of the LED drive circuit constant when the target intensity of the LED light source is between a transition intensity and a maximum intensity or when the target intensity of the LED light source is below a minimum intensity, the control circuit further configured to adjust the on-time of the LED drive circuit linearly dependent upon the target intensity of the LED light source when the target intensity is between the transition intensity and the minimum intensity.
11. The controllable lighting device of claim 9, wherein the control circuit is configured to set the on-time of the LED drive circuit to a maximum on-time when the target intensity of the LED light source is between the transition intensity and the maximum intensity, the control circuit further configured to set the on-time of the LED drive circuit to a minimum on-time when the target intensity of the LED light source is below the minimum intensity.
12. The controllable lighting device of claim 9, wherein the control circuit is configured to render the controllably conductive device conductive during the on-time of the LED drive circuit.
13. The controllable lighting device of claim 1, wherein the control circuit is configured to sample the feedback signal during the on-time of the present cycle of the LED drive circuit.
14. The controllable lighting device of claim 13, wherein the feedback circuit of the LED drive circuit further comprises a first controllable switching device, and wherein the control circuit is further configured to render the first controllable switching device conductive prior to sampling the feedback signal.
15. The controllable lighting device of claim 14, wherein the feedback circuit of the LED drive circuit further comprises a second controllable switching device, and wherein the control circuit is further configured to render the second controllable switching device conductive for a reset period before sampling the feedback signal.
16. The controllable lighting device of claim 1, wherein the control circuit is configured to determine the peak magnitude of the load current in response to a magnitude of the feedback signal.
17. The controllable lighting device of claim 16, wherein the feedback circuit of the LED drive circuit is configured to generate the feedback signal in response to a voltage developed across the controllably conductive device of the LED drive circuit, the control circuit configured to determine the peak magnitude of the load current in response to the magnitude of the feedback signal and a resistance of the controllably conductive device.
18. The controllable lighting device of claim 17, wherein the resistance of the controllably conductive device is dependent on a temperature of the controllably conductive device, the control circuit further configured to determine the peak magnitude of the load current in response to the temperature of the controllably conductive device.
19. The controllable lighting device of claim 16, wherein the feedback circuit of the LED drive circuit is configured to generate the feedback signal in response to a sense voltage developed across a sense resistor, the control circuit configured to determine the peak magnitude of the load current in response to the magnitude of the feedback signal and a resistance of the sense resistor.
20. The controllable lighting device of claim 1, wherein the control circuit is configured to set a timer for determining when the operating period of the present cycle of the LED drive circuit has ended.
21. The controllable lighting device of claim 1, further comprising a communication circuit, wherein the control circuit is configured to determine the target intensity of the LED light source based on a message received via the communication circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7)
(8) The controllable lighting device 100 may be a screw-in LED lamp configured to be screwed into a standard Edison socket. The controllable light device 100 may comprise a screw-in base that includes a hot connection H and a neutral connection N for receiving an alternating-current (AC) voltage V.sub.AC from an AC power source (not shown). The hot connection H and the neutral connection N may also be configured to receive a direct-current (DC) voltage from a DC power source. The controllable lighting device 100 may comprise a radio-frequency interference (RFI) filter and rectifier circuit 110, which may receive the AC voltage V.sub.AC. The RFI filter and rectifier circuit 110 may operate to minimize the noise provided on the AC power source and to generate a rectified voltage V.sub.RECT.
(9) The controllable lighting device 100 may comprise a power converter circuit 120, such as a flyback converter, which may receive the rectified voltage V.sub.RECT and generate a variable direct-current (DC) bus voltage V.sub.BUS across a bus capacitor C.sub.BUS. The power converter circuit 120 may comprise other types of power converter circuits, such as, for example, a boost converter, a buck converter, a buck-boost converter, a single-ended primary-inductance converter (SEPIC), a auk converter, or any other suitable power converter circuit for generating an appropriate bus voltage. The power converter circuit 120 may provide electrical isolation between the AC power source and the LED light source 102, 104 and may operate as a power factor correction (PFC) circuit to adjust the power factor of the controllable lighting device 100 towards a power factor of one.
(10) As shown in
(11) The controllable lighting device 100 may comprise one or more load regulation circuits, such as LED drive circuits 130, 140, for controlling power delivered to (e.g., the intensities of) the LED light sources 102, 104, respectively. The LED drive circuits 130, 140 may each receive the bus voltage V.sub.BUS and may adjust magnitudes of respective load currents I.sub.LOAD1, I.sub.LOAD2 conducted through the LED light sources 102, 104 and/or magnitudes of respective load voltages V.sub.LOAD1, V.sub.LOAD2 generated across the LED light sources. Examples of various embodiments of LED drive circuits are described in U.S. Pat. No. 8,492,987, filed Jul. 23, 2013, and U.S. Pat. No. 9,253,829, issued Feb. 2, 2016, both entitled LOAD CONTROL DEVICE FOR A LIGHT-EMITTING DIODE LIGHT SOURCE, the entire disclosures of which are hereby incorporated by reference.
(12) The controllable lighting device 100 may comprise a control circuit 150 for controlling the LED drive circuits 130, 140 to control the magnitudes of the respective load currents I.sub.LOAD1, I.sub.LOAD2 conducted through the LED light sources 102, 104 to adjust the respective intensities of the LED light sources. For example, the control circuit 150 may comprise a digital control circuit, such as, a microprocessor, a microcontroller, a programmable logic device (PLD), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or any other suitable processing device or controller. The control circuit 150 may be configured to turn one or both of the LED light sources 102, 104 on to turn the controllable lighting device 100 on, and turn both of the LED light sources 102, 104 off to turn the controllable lighting device 100 off. The control circuit 150 may be configured to control the respective intensities of the LED light sources 102, 104 to control the intensity and/or the color (e.g., the color temperature) of the cumulative light emitted by the controllable lighting device 100. The control circuit 150 may be configured to adjust (e.g., dim) a present intensity L.sub.PRES of the cumulative light emitted by the controllable lighting device 100 towards a target intensity L.sub.TRGT, which may range across a dimming range of the controllable light source, e.g., between a low-end intensity L.sub.LE (e.g., a minimum intensity, such as approximately 0.1%-1.0%) and a high-end intensity L.sub.HE (e.g., a maximum intensity, such as approximately 100%). The control circuit 150 may be configured to adjust a present color temperature T.sub.PRES of the cumulative light emitted by the controllable lighting device 100 towards a target color temperature T.sub.TRGT, which may range between a cool-white color temperature (e.g., approximately 3100-4500 K) and a warm-white color temperature (e.g., approximately 2000-3000 K). For example, the control circuit may be configured to determine a respective target intensity L.sub.TRGT1, L.sub.TRGT2 for each of the LED light sources 102, 104 in response to the target intensity L.sub.TRGT and/or the target color temperature T.sub.TRGT for the controllable lighting device 100.
(13) The control circuit 150 may comprise a memory (not shown) configured to store operational characteristics of the controllable lighting device 100 (e.g., the target intensity L.sub.TRGT, the target color temperature T.sub.TRGT, the low-end intensity L.sub.LE, the high-end intensity L.sub.HE, etc.). The memory may be implemented as an external integrated circuit (IC) or as an internal circuit of the control circuit 150. The controllable lighting device 100 may comprise a power supply 160 that may be coupled to a winding 162 of the flyback transformer 122 of the power converter circuit 120 and may be configured to generate a supply voltage V.sub.CC for powering the control circuit 150 and other low-voltage circuitry of the controllable lighting device.
(14) The controllable lighting device 100 may comprise a communication circuit 170 coupled to the control circuit 150. The communication circuit 170 may comprise a wireless communication circuit, such as, for example, a radio-frequency (RF) transceiver coupled to an antenna 172 for transmitting and/or receiving RF signals. The wireless communication circuit may be an RF transmitter for transmitting RF signals, an RF receiver for receiving RF signals, or an infrared (IR) transmitter and/or receiver for transmitting and/or receiving IR signals. The communication circuit 170 may be coupled to the hot connection H and the neutral connection N of the controllable lighting device 100 for transmitting a control signal via the electrical wiring using, for example, a power-line carrier (PLC) communication technique. The control circuit 150 may be configured to determine the target intensity L.sub.TRGT and/or the target color temperature T.sub.TRGT for the controllable lighting device 100 in response to messages (e.g., digital messages) received via the communication circuit 170.
(15) The LED drive circuits 130, 140 may comprise respective controllably conductive devices (e.g., switching devices such as field-effect transistors (FET) Q132, Q142) coupled (e.g., in series) with the LED light sources 102, 104, respectively, for conducting the load currents I.sub.LOAD1, I.sub.LOAD2. Each FET Q132, Q142 may comprise any type of suitable power semiconductor switch, such as, for example, a bipolar junction transistor (BJT), and/or an insulated-gate bipolar transistor (IGBT). The control circuit 150 may be configured to generate one or more drive signals such as drive signals V.sub.DR1, V.sub.DR2 that may be received by gates of the respective FETs Q132, Q142 for rendering the FETs conductive and non-conductive. The control circuit 150 may be configured to pulse-width modulate (PWM) the drive signals V.sub.DR1, V.sub.DR2 to adjust average magnitudes of the load currents I.sub.LOAD1, I.sub.LOAD2, respectively. For example, the control circuit 150 may be configured to adjust respective duty cycles of the drive signals V.sub.DR1, V.sub.DR2 to adjust the average magnitudes of the load currents I.sub.LOAD1, I.sub.LOAD2, respectively. The control circuit 150 may be configured to determine an on-time T.sub.ON for a present cycle of each of the drive signals V.sub.DR1, V.sub.DR2 based on the target intensities L.sub.TRGT1, L.sub.TRGT2 of the LED light sources 102, 104, respectively (e.g., as will be described in greater detail below).
(16) The FETs Q132, Q142 may be coupled (e.g., in series) with respective feedback circuits, e.g., current feedback (CFB) circuits 134, 144. The current feedback circuits 134, 144 may generate respective current feedback signals V.sub.FB1, V.sub.FB2, which may be received by the control circuit 150. The control circuit 150 may generate feedback window control signals V.sub.WIN1, V.sub.WIN2 that may be received by the respective current feedback circuits 134, 144 for controlling the operation of the current feedback circuits, such that the magnitudes of the current feedback signals V.sub.FB1, V.sub.FB2 may indicate peak magnitudes I.sub.PK1, I.sub.PK2 of the respective load currents I.sub.LOAD1, I.sub.LOAD2. The control circuit 150 may be configured to sample the current feedback signals V.sub.FB1, V.sub.FB2 during a present cycle of each of the drive signals V.sub.DR1, V.sub.DR2 and determine a respective operating period T.sub.OP for the present cycle of each of the drive signals V.sub.DR1, V.sub.DR2 in response to the respective peak magnitudes I.sub.PK1, I.sub.PK2 of the load currents I.sub.LOAD1, I.sub.LOAD2 (e.g., as will be described in greater detail below).
(17) The peak magnitudes I.sub.PK1, I.sub.PK2 of the respective load currents I.sub.LOAD1, I.sub.LOAD2 may be dependent upon the magnitude of the bus voltage V.sub.BUS. The control circuit 150 may be configured to control the operation of the power converter circuit 120 in response to the peak magnitudes I.sub.PK1, I.sub.PK2 of the respective load currents I.sub.LOAD1, I.sub.LOAD2. The control circuit 150 may generate a bus control signal V.sub.BUS-CNTL that may be received by the flyback control circuit 127 for adjusting the target bus voltage V.sub.BUS-TRGT of the power converter circuit 120. The control circuit 150 may be configured to limit the respective operating periods T.sub.OP of the drive signals V.sub.DR1, V.sub.DR2 to be between a minimum operating period T.sub.OP-MIN and a maximum operating period T.sub.OP-MAX. For example, the control circuit 150 may be configured to increase the magnitude of the bus voltage V.sub.BUS when the operating period T.sub.OP of at least one of the drive signals V.sub.DR1, V.sub.DR2 is less than the minimum operating period T.sub.OP-MIN. The control circuit 150 may be configured to decrease the magnitude of the bus voltage V.sub.BUS when the operating period T.sub.OP of at least one of the drive signals V.sub.DR1, V.sub.DR2 is greater than the maximum operating period T.sub.OP-MAX.
(18)
(19) The electrical device 200 may comprise a control circuit 230 (e.g., the control circuit 150). The control circuit 230 may also generate a drive signal V.sub.DR for controlling the LED drive circuit 210 to adjust a magnitude (e.g., an average magnitude) of the load current LOAD through the LED light source. The control circuit 230 may be configured to adjust the intensity of the LED light source 202 towards a target intensity L.sub.TRGT that may range between a minimum intensity L.sub.MIN (e.g., approximately 0.1%-1.0%) and a maximum intensity L.sub.MAX (e.g., approximately 100%). The minimum intensity L.sub.MIN may be approximately the lowest intensity at which the control circuit 230 may control the LED light source 202 under steady state conditions (e.g., when the target intensity L.sub.TRGT is being held constant). The control circuit 230 may be configured to determine a target current I.sub.TRGT (e.g., a target average current to which to regulate the average magnitude of the load current I.sub.LOAD) from the target intensity L.sub.TRGT. The control circuit 230 may be configured to fade (e.g., gradually adjust over a period of time) the target intensity L.sub.TRGT (and thus the present intensity) of the LED light source 202. The control circuit 230 may be configured to fade the LED light source 202 from off to on by turning on the LED light source to a minimum fading intensity L.sub.FADE-MIN and then slowly increasing the present intensity L.sub.PRES of the LED light source from the minimum fading intensity L.sub.FADE-MIN to the target intensity L.sub.TRGT. For example, the minimum fading intensity L.sub.FADE-MIN may be less than the minimum intensity L.sub.MIN (e.g., such as approximately 0.02%).
(20) The LED drive circuit 210 may comprise a controllably conductive device (e.g., a switching device, such as a FET Q212) coupled in series with the LED light source 202. The FET Q212 may comprise any type of suitable power semiconductor switch, such as, for example, a bipolar junction transistor (BJT), and/or an insulated-gate bipolar transistor (IGBT). The drive signal V.sub.DR generated by the control circuit 230 may be received by a gate of the FET Q212. The FET Q212 may be rendered conductive and non-conductive for adjusting the average magnitude of the load current LOAD. The control circuit 230 may be configured to control the FET Q212 as a switching device by driving the FET Q212 into the saturation region when the FET Q212 is conductive. The FET Q212 may be characterized by a drain-source on resistance R.sub.DS-ON when the FET Q212 is controlled into the saturation region. The control circuit 230 may be configured to control the LED drive circuit 210 on a periodic (e.g., a cyclic) basis. For example, the control circuit 230 may be configured to pulse-width modulate (PWM) the drive signal V.sub.DR to pulse-width modulate the load current I.sub.LOAD. Each cycle of control of the LED driver circuit 210 may be associated with (e.g., characterized by) an operating period T.sub.OP (e.g., a length of the cycle).
(21) The LED drive circuit 210 may comprise a current feedback circuit 214 coupled in series with the FET Q212 for generating a current feedback signal V.sub.FB that may have a DC magnitude representative of a magnitude (e.g., a peak magnitude I.sub.PK) of the load current I.sub.LOAD. As shown in
(22) The control circuit 230 may be configured to control the first controllable switch 222 of the current feedback circuit 214 to be conductive during the on-time T.sub.ON of the drive signal V.sub.DR (e.g., when the FET Q212 is conductive). After the first controllable switch 222 is rendered conductive at the beginning of the on-time T.sub.ON, the capacitor C224 may charge to approximately the peak magnitude V.sub.PK of the sense voltage V.sub.SENSE through the resistor R226, such that the magnitude of the current feedback signal V.sub.FB may indicate the peak magnitude I.sub.PK of the load current LOAD. The control circuit 230 may receive the current feedback signal V.sub.FB generated by the current feedback circuit 214, and may sample the current feedback signal V.sub.FB during the on-time T.sub.ON (e.g., for the entirety of the on-time T.sub.ON or during a portion of the on-time T.sub.ON) of the drive signal V.sub.DR to determine the peak magnitude I.sub.PK of the load current LOAD. For example, the control circuit 230 may calculate the peak magnitude I.sub.PK of the load current LOAD using the sampled magnitude of the current feedback signal V.sub.FB and the resistance R.sub.SENSE of the sense resistor R220, e.g., I.sub.PK=V.sub.FB/R.sub.SENSE. For example, the control circuit 230 may store the resistance R.sub.SENSE of the sense resistor R220 in memory and may retrieve the resistance R.sub.SENSE from memory in order to calculate the peak magnitude I.sub.PK of the load current LOAD. The control circuit 230 may render the first controllable switch 222 non-conductive at or before the end of the on-time T.sub.ON. After the end of the on-time T.sub.ON, the control circuit 230 may render the second controllable switch 228 conductive for a reset period T.sub.RST (e.g., a reset pulse) in order to discharge the capacitor C224 so that the current feedback circuit 214 may control the magnitude of the current feedback signal V.sub.FB to indicate the peak magnitude I.sub.PK of the load current LOAD during a subsequent cycle (e.g., the next cycle) of the LED drive circuit 210.
(23) During each cycle of control of the LED drive circuit 210, the control circuit 230 may be configured to render the FET Q212 conductive for a first portion (e.g., an on-time T.sub.ON) of the cycle and non-conductive for a second portion (e.g., an off-time T.sub.OFF) of the cycle. For example, the control circuit 230 may be configured to adjust the average magnitude of the load current I.sub.LOAD by adjusting a duty cycle DC of the drive signal V.sub.DR, e.g., DC=T.sub.ON/T.sub.OP=T.sub.ON/(T.sub.ON+T.sub.OFF). The control circuit 230 may be configured to determine the on-time T.sub.ON for the drive signal V.sub.DR (e.g., for a present cycle of the LED drive circuit 210) based on the target intensity L.sub.TRGT of the LED light source 202 (e.g., using open loop control). Since the FET Q212 is controlled as a switching device and is rendered conductive (e.g., controlled into the saturation region) during the on-time T.sub.ON of the drive signal V.sub.DR, the load current LOAD may be characterized by an on-time that is the same length as the on-time T.sub.ON of the drive signal V.sub.DR. The FET Q212 may conduct the load current LOAD at the peak magnitude I.sub.PK during the on-time. The control circuit 230 may be configured to determine a length of the operating period T.sub.OP of the drive signal V.sub.DR for the present cycle of the LED drive circuit 210 in response to the peak magnitude I.sub.PK of the load current LOAD as determined from the current feedback signal V.sub.FB (e.g., using closed loop control). The control circuit 230 may not control the peak magnitude I.sub.PK of the load current LOAD during the on-time using closed loop control (e.g., to regulate the peak magnitude I.sub.PK towards a target peak current by comparing the peak current I.sub.PK to a threshold).
(24) The control circuit 230 may also be configured to generate a bus control signal V.sub.BUS-CNTL that may be received by the power converter circuit for adjusting the magnitude of the bus voltage V.sub.BUS. The control circuit 230 may be configured to maintain the bus control signal V.sub.BUS-CNTL constant (e.g., substantially constant) during each cycle of the LED drive circuit 210. The control circuit 230 may be configured to control the bus control signal V.sub.BUS-CNTL to adjust the magnitude from one cycle to the next (e.g., as will be described in greater detail below with reference to
(25) The control circuit 230 may be configured to control the average magnitude of the load current LOAD by adjusting the operating period T.sub.OP for the present cycle of the drive signal V.sub.DR. The control circuit may be configured to determine the operating period T.sub.OP for the present cycle of the drive signal V.sub.DR in response to the peak magnitude I.sub.PK of the load current LOAD (e.g., an uncontrolled current) as determined from the current feedback signal V.sub.FB. For example, the control circuit 230 may be configured to calculate the operating period T.sub.OP required to achieve the target current I.sub.TRGT (e.g., the average magnitude of the load current I.sub.LOAD) at the present on-time T.sub.ON and the present peak magnitude I.sub.PK of the load current LOAD (e.g., as determined from the current feedback signal V.sub.FB), e.g., T.sub.OP=(I.sub.PK.Math.T.sub.ON)/I.sub.TRGT. The off-time T.sub.OFF of the drive signal may be dependent upon the determined operating period T.sub.OP, e.g., T.sub.OFF=T.sub.OP−T.sub.ON. The control circuit may render the FET conductive at the end of the operating period T.sub.OP (e.g., the end of the present off-time T.sub.OFF) to start the next cycle.
(26)
(27) The electrical device 250 may comprise a control circuit 280 (e.g., the control circuit 150). The control circuit 280 may also generate a drive signal V.sub.DR for controlling the LED drive circuit 260 to adjust a magnitude (e.g., an average magnitude) of the load current LOAD through the LED light source. The control circuit 280 may be configured to adjust the intensity of the LED light source 252 towards a target intensity L.sub.TRGT that may range between a minimum intensity L.sub.MIN (e.g., approximately 0.1%-1.0%) and a maximum intensity L.sub.MAX (e.g., approximately 100%). The minimum intensity L.sub.MIN may be approximately the lowest intensity at which the control circuit 280 may control the LED light source 252 under steady state conditions (e.g., when the target intensity L.sub.TRGT is being held constant). The control circuit 280 may be configured to determine a target current I.sub.TRGT (e.g., a target average current to which to regulate the average magnitude of the load current I.sub.LOAD) from the target intensity L.sub.TRGT. The control circuit 280 may be configured to fade (e.g., gradually adjust over a period of time) the target intensity L.sub.TRGT (and thus the present intensity) of the LED light source 252. The control circuit 280 may be configured to fade the LED light source 252 from off to on by turning on the LED light source to a minimum fading intensity L.sub.FADE-MIN and then slowly increasing the present intensity L.sub.PRES of the LED light source from the minimum fading intensity L.sub.FADE-MIN to the target intensity L.sub.TRGT. For example, the minimum fading intensity L.sub.FADE-MIN may be less than the minimum intensity L.sub.MIN (e.g., such as approximately 0.02%).
(28) The LED drive circuit 260 may comprise a controllably conductive device (e.g., a switching device, such as a FET Q262) coupled in series with the LED light source 252. As shown in
(29) The LED drive circuit 260 may comprise a current feedback circuit 264 that may be configured to generate a current feedback signal V.sub.FB that may have a DC magnitude representative of a magnitude (e.g., a peak magnitude I.sub.PK) of the load current LOAD. The current feedback circuit 264 may be coupled to the drain of the FET Q262 and may be responsive to a sense voltage V.sub.SENSE developed across the FET Q262 (e.g., the current feedback circuit 264 may not comprise a sense resistor, such as the sense resistor R220 shown in
(30) The control circuit 280 may be configured to control the first controllable switch 272 of the current feedback circuit 264 to be conductive during the on-time T.sub.ON of the drive signal V.sub.DR (e.g., when the FET Q262 is conductive). After the first controllable switch 272 is rendered conductive at the beginning of the on-time T.sub.ON, the capacitor C274 may charge to approximately the peak magnitude V.sub.PK of the sense voltage V.sub.SENSE through the resistor R276, such that the magnitude of the current feedback signal V.sub.FB may indicate the peak magnitude I.sub.PK of the load current LOAD. The control circuit 280 may receive the current feedback signal V.sub.FB generated by the current feedback circuit 264, and may sample the current feedback signal V.sub.FB during the on-time T.sub.ON (e.g., for the entirety of the on-time T.sub.ON or during a portion of the on-time T.sub.ON) of the drive signal V.sub.DR to determine the peak magnitude I.sub.PK of the load current LOAD.
(31) The control circuit 280 may calculate the peak magnitude I.sub.PK of the load current LOAD using the sampled magnitude of the current feedback signal V.sub.FB and the drain-source on resistance R.sub.DS-ON of the FET Q262, e.g., I.sub.PK=V.sub.FB/R.sub.DS-ON. For example, the control circuit 280 may store the drain-source on resistance R.sub.DS-ON of the FET Q262 in memory and may retrieve the drain-source on resistance R.sub.DS-ON from memory in order to calculate the peak magnitude I.sub.PK of the load current LOAD (e.g., the drain-source on resistance R.sub.DS-ON may be a fixed or constant value). In addition, the drain-source on resistance R.sub.DS-ON may be dependent upon a present temperature T.sub.PRES of the FET Q212. For example, the control circuit 280 may be configured to determine the present temperature T.sub.PRES of the FET Q212 using a temperature measuring circuit and/or a temperature sensing device located near the FET Q212. The control circuit 280 may also be configured to estimate the present temperature T.sub.PRES of the FET Q212 based on one or more operating parameters of the electrical device 250, such as the peak magnitude I.sub.PK of the load current LOAD and/or the sense voltage V.sub.SENSE developed across the FET Q262. The control circuit 280 may be configured to determine the drain-source on resistance R.sub.DS-ON of the FET Q262 based on the determined present temperature T.sub.PRES of the FET Q212 using a predetermined relationship between the drain-source on resistance R.sub.DS-ON and the present temperature T.sub.PRES of the FET Q212. For example, the predetermined relationship between the drain-source on resistance R.sub.DS-ON and the present temperature T.sub.PRES of the FET Q212 may be stored in memory as a lookup table and/or a function (e.g., equation). The control circuit 280 may calculate the peak magnitude I.sub.PK of the load current LOAD using the determined drain-source on resistance R.sub.DS-ON of the FET Q262. For example, the predetermined relationship between the drain-source on resistance R.sub.DS-ON and the present temperature T.sub.PRES and/or an initial value of the drain-source on resistance R.sub.DS-ON may be calibrated during a manufacturing procedure of the electrical device 250.
(32) The control circuit 280 may render the first controllable switch 272 non-conductive at or before the end of the on-time T.sub.ON. After the end of the on-time T.sub.ON, the control circuit 280 may render the second controllable switch 278 conductive for a reset period T.sub.RST (e.g., a reset pulse) in order to discharge the capacitor C274 so that the current feedback circuit 264 may control the magnitude of the current feedback signal V.sub.FB to indicate the peak magnitude I.sub.PK of the load current I.sub.LOAD during a subsequent cycle (e.g., the next cycle) of the LED drive circuit 260.
(33) During each cycle of control of the LED drive circuit 260, the control circuit 280 may be configured to render the FET Q262 conductive for a first portion (e.g., an on-time T.sub.ON) of the cycle and non-conductive for a second portion (e.g., an off-time T.sub.OFF) of the cycle. For example, the control circuit 250 may be configured to adjust the average magnitude of the load current LOAD by adjusting a duty cycle DC of the drive signal V.sub.DR, e.g., DC=T.sub.ON/T.sub.OP=T.sub.ON/(T.sub.ON+T.sub.OFF). The control circuit 280 may be configured to determine the on-time T.sub.ON for the drive signal V.sub.DR (e.g., for a present cycle of the LED drive circuit 260) based on the target intensity L.sub.TRGT of the LED light source 252 (e.g., using open loop control). Since the FET Q212 is controlled as a switching device and is rendered conductive (e.g., controlled into the saturation region) during the on-time T.sub.ON of the drive signal V.sub.DR, the load current LOAD may be characterized by an on-time that is the same length as the on-time T.sub.ON of the drive signal V.sub.DR. The FET Q262 may conduct the load current LOAD at the peak magnitude I.sub.PK during the on-time. The control circuit 280 may be configured to determine a length of the operating period T.sub.OP of the drive signal V.sub.DR for the present cycle of the LED drive circuit 260 in response to the peak magnitude I.sub.PK of the load current LOAD as determined from the current feedback signal V.sub.FB (e.g., using closed loop control). The control circuit 280 may not control the peak magnitude I.sub.PK of the load current LOAD during the on-time using closed loop control (e.g., to regulate the peak magnitude I.sub.PK towards a target peak current by comparing the peak current I.sub.PK to a threshold).
(34) The control circuit 280 may also be configured to generate a bus control signal V.sub.BUS-CNTL that may be received by the power converter circuit for adjusting the magnitude of the bus voltage V.sub.BUS. The control circuit 280 may be configured to maintain the bus control signal V.sub.BUS-CNTL constant (e.g., substantially constant) during each cycle of the LED drive circuit 260. The control circuit 280 may be configured to control the bus control signal V.sub.BUS-CNTL to adjust the magnitude from one cycle to the next (e.g., as will be described in greater detail below with reference to
(35) The control circuit 280 may be configured to control the average magnitude of the load current I.sub.LOAD by adjusting the operating period T.sub.OP for the present cycle of the drive signal V.sub.DR. The control circuit may be configured to determine the operating period T.sub.OP for the present cycle of the drive signal V.sub.DR in response to the peak magnitude I.sub.PK of the load current LOAD (e.g., an uncontrolled magnitude) as determined from the current feedback signal V.sub.FB. For example, the control circuit 280 may be configured to calculate the operating period T.sub.OP required to achieve the target current I.sub.TRGT (e.g., the average magnitude of the load current I.sub.LOAD) at the present on-time T.sub.ON and the present peak magnitude I.sub.PK of the load current LOAD (e.g., as determined from the current feedback signal V.sub.FB), e.g., T.sub.OP=(I.sub.PK.Math.T.sub.ON)/I.sub.TRGT. The off-time T.sub.OFF of the drive signal may be dependent upon the determined operating period T.sub.OP, e.g., T.sub.OFF=T.sub.OP−T.sub.ON. The control circuit may render the FET conductive at the end of the operating period T.sub.OP (e.g., the end of the present off-time T.sub.OFF) to start the next cycle.
(36)
(37) The control circuit may be configured to determine a target current I.sub.TRGT (e.g., a target average magnitude of the load current I.sub.LOAD) for the LED light source in response to the target intensity L.sub.TRGT.
(38) The control circuit may be configured to control the average magnitude of the load current LOAD by adjusting the operating period T.sub.OP for the present cycle of the drive signal V.sub.DR. The control circuit may be configured to determine the operating period T.sub.OP for the present cycle of the drive signal V.sub.DR in response to the peak magnitude I.sub.PK of the load current LOAD (e.g., an uncontrolled magnitude) as determined from the current feedback signal V.sub.FB. For example, the control circuit may be configured to calculate the operating period T.sub.OP required to achieve the target current I.sub.TRGT (e.g., average current) at the present on-time T.sub.ON and the present peak magnitude I.sub.PK of the load current LOAD (e.g., as determined from the current feedback signal V.sub.FB), e.g., T.sub.OP=(I.sub.PK.Math.T.sub.ON)/I.sub.TRGT. The off-time T.sub.OFF of the drive signal may be dependent upon the determined operating period T.sub.OP, e.g., T.sub.OFF=T.sub.OP−T.sub.ON. The control circuit may render the FET conductive at the end of the operating period T.sub.OP (e.g., the end of the present off-time T.sub.OFF) to start the next cycle.
(39) The control circuit may be configured to control the bus control signal V.sub.BUS-CNTL to adjust the bus voltage V.sub.BUS to attempt to maintain the operating period T.sub.OP between a minimum operating period T.sub.OP-MIN and a maximum operating period T.sub.OP-MAX. When the operating period T.sub.OP (e.g., as determined by the control circuit in dependence upon the peak magnitude I.sub.PK of the load current I.sub.LOAD) is less than the minimum operating period T.sub.OP-MIN, the control circuit may be configured to increase the magnitude of the bus voltage V.sub.BUS. Increasing the peak magnitude I.sub.PK of the load current LOAD may cause the control circuit to increase the operating period T.sub.OP (e.g., such that the operating period T.sub.OP may be greater than the minimum operating period T.sub.OP-MIN). When the operating period T.sub.OP is greater than the maximum operating period T.sub.OP-MAX, the control circuit may be configured to decrease the magnitude of the bus voltage V.sub.BUS (e.g., to decrease the peak magnitude I.sub.PK of the load current I.sub.LOAD). Decreasing the peak magnitude I.sub.PK of the load current I.sub.LOAD may cause the control circuit to decrease the operating period T.sub.OP (e.g., such that the operating period T.sub.OP may be less than the maximum operating period T.sub.OP-MAX).
(40) The minimum operating period T.sub.OP-MIN and the maximum operating period T.sub.OP-MAX may be constant values and/or variable values that are dependent upon the target intensity L.sub.TRGT.
(41) When the target intensity L.sub.TRGT is greater than the transition intensity L.sub.TRAN, the on-time T.sub.ON of the drive signal V.sub.DR may be set to a constant value (e.g., the maximum on-time T.sub.ON-MAX as shown in
(42)
(43) When the target intensity L.sub.TRGT is decreased to a second target intensity L.sub.T2 (e.g., that is less than the first target intensity L.sub.T1 and greater than the transition intensity L.sub.TRAN), the load current I.sub.LOAD may still have the first on-time T.sub.ON1 (e.g., the maximum on-time T.sub.ON-MAX as shown in
(44) When the target intensity L.sub.TRGT is decreased to a third target intensity L.sub.T3 (e.g., approximately equal to the transition intensity L.sub.TRAN), the load current LOAD may still have the first on-time T.sub.ON1 (e.g., the maximum on-time T.sub.ON-MAX as shown in
(45) When the target intensity L.sub.TRGT is decreased to a fourth target intensity L.sub.T4 (e.g., less than the transition intensity L.sub.TRAN and greater than the minimum intensity L.sub.MIN), the load current LOAD may have a second on-time T.sub.ON2, which may be less than the first on-time Tom (e.g., linearly dependent upon the target intensity L.sub.TRGT as shown in
(46) When the target intensity L.sub.TRGT is decreased to a fifth target intensity L.sub.T5 (e.g., approximately equal to the minimum intensity L.sub.MIN), the load current LOAD may be set to a third on-time T.sub.ON3 (e.g., the minimum on-time T.sub.ON-MIN as shown in
(47) When the target intensity L.sub.TRGT is decreased to a sixth target intensity L.sub.T6 (e.g., less than the minimum intensity L.sub.MIN and greater than the minimum fading intensity L.sub.FADE-MIN), the load current LOAD may be still set to the third on-time T.sub.ON3 (e.g., the minimum on-time T.sub.ON-MIN as shown in
(48)
(49) The control procedure 500 may be executed by the control circuit at step 510, for example, at the beginning of each cycle of control of the LED drive circuit (e.g., periodically). For example, the period of execution of the control procedure 500 may be set during a previous (e.g., preceding) execution of the control procedure 500. At 512, the control circuit may determine an on-time T.sub.ON of the drive signal V.sub.DR based on the target intensity L.sub.TRGT (e.g., as shown in
(50) At 516, the control circuit may also render a first controllable switch (e.g., the controllable switches 222, 272) of the current feedback circuit conductive at the beginning of the present cycle or slightly after the beginning of the present cycle to cause the magnitude of the current feedback signal V.sub.FB to indicate the peak magnitude I.sub.PK (e.g., the first peak magnitude I.sub.PK1) of the load current LOAD during the present cycle. For example, the control circuit may drive a window control signal V.sub.WIN high towards the supply voltage V.sub.CC (e.g., as shown at to in
(51) At 518, the control circuit may sample the current feedback signal V.sub.FB for later use in determining the peak magnitude I.sub.PK of the load current LOAD (e.g., the first peak magnitude I.sub.PK1). For example, the control circuit may sample the current feedback signal V.sub.FB near the end of the on-time T.sub.ON (e.g., before time t.sub.1 as shown in
(52) At 526, the control circuit may be configured to determine the peak magnitude I.sub.PK (e.g., the first peak magnitude I.sub.PK1) of the load current LOAD based on the sampled magnitude of the current feedback signal V.sub.FB (e.g., as determined at 518). For example, the control circuit may calculate the peak magnitude I.sub.PK of the load current LOAD using the sampled magnitude of the current feedback signal V.sub.FB and a resistance of a sense resistor (e.g., the resistance R.sub.SENSE of the sense resistor R220 of the LED drive circuit 210 shown in
(53) At 528, the control circuit may be configured to calculate an operating period T.sub.OP (e.g., a first operating period T.sub.OP1 as shown in
(54) The control circuit may control a power converter circuit (e.g., the power converter circuit 102) to adjust the magnitude of the bus voltage to attempt to maintain the operating period T.sub.OP between a minimum operating period T.sub.OP-MIN and a maximum operating period T.sub.OP-MAX. At 532, the control circuit may determine the minimum operating period T.sub.OP-MIN and the maximum operating period T.sub.OP-MAX based on the target intensity L.sub.TRGT (e.g., as shown in
(55) When the operating period T.sub.OP is not less than the minimum operating period T.sub.OP-MIN at 534, but is greater than the maximum operating period T.sub.OP-MAX at 538, the control circuit may decrease the magnitude of the bus voltage V.sub.BUS at 540, before the control procedure 500 exits. The control circuit may decrease the magnitude of the bus voltage V.sub.BUS by a fixed amount (e.g., a predetermined amount) and/or by a relative amount (e.g., by a percentage of the present bus voltage V.sub.BUS). For example, after the end of the on-time T.sub.ON (e.g., as shown at time t.sub.1b of
(56) When the operating period T.sub.OP is not less than the minimum operating period T.sub.OP-MIN at 534, and is not greater than the maximum operating period T.sub.OP-MAX at 538, the control procedure 500 exits without the control circuit adjusting the magnitude of the bus voltage V.sub.BUS. After the control procedure 500 exits, the control circuit may execute the control procedure 500 again when the timer indicates the end of the operating period T.sub.OP (e.g., as determined at 526 of the present cycle).
(57) Although described with reference to a controllable light source and/or an LED driver, one or more embodiments described herein may be used with other load control devices. For example, one or more of the embodiments described herein may be performed by a variety of load control devices that are configured to control of a variety of electrical load types, such as, for example, a LED driver for driving an LED light source (e.g., an LED light engine); a screw-in luminaire including a dimmer circuit and an incandescent or halogen lamp; a screw-in luminaire including a ballast and a compact fluorescent lamp; a screw-in luminaire including an LED driver and an LED light source; a dimming circuit for controlling the intensity of an incandescent lamp, a halogen lamp, an electronic low-voltage lighting load, a magnetic low-voltage lighting load, or another type of lighting load; an electronic switch, controllable circuit breaker, or other switching device for turning electrical loads or appliances on and off; a plug-in load control device, controllable electrical receptacle, or controllable power strip for controlling one or more plug-in electrical loads (e.g., coffee pots, space heaters, other home appliances, and the like); a motor control unit for controlling a motor load (e.g., a ceiling fan or an exhaust fan); a drive unit for controlling a motorized window treatment or a projection screen; motorized interior or exterior shutters; a thermostat for a heating and/or cooling system; a temperature control device for controlling a heating, ventilation, and air conditioning (HVAC) system; an air conditioner; a compressor; an electric baseboard heater controller; a controllable damper; a humidity control unit; a dehumidifier; a water heater; a pool pump; a refrigerator; a freezer; a television or computer monitor; a power supply; an audio system or amplifier; a generator; an electric charger, such as an electric vehicle charger; and an alternative energy controller (e.g., a solar, wind, or thermal energy controller). A single control circuit may be coupled to and/or adapted to control multiple types of electrical loads in a load control system.