US8362706B1 - Current compensation scheme for LED current control - Google Patents

Current compensation scheme for LED current control Download PDF

Info

Publication number
US8362706B1
US8362706B1 US12/339,942 US33994208A US8362706B1 US 8362706 B1 US8362706 B1 US 8362706B1 US 33994208 A US33994208 A US 33994208A US 8362706 B1 US8362706 B1 US 8362706B1
Authority
US
United States
Prior art keywords
current
led
current pulse
led circuit
temporal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US12/339,942
Inventor
Kedar Godbole
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Google LLC
Original Assignee
Cypress Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cypress Semiconductor Corp filed Critical Cypress Semiconductor Corp
Priority to US12/339,942 priority Critical patent/US8362706B1/en
Assigned to CYPRESS SEMICONDUCTOR CORPORATION reassignment CYPRESS SEMICONDUCTOR CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GODBOLE, KEDAR
Application granted granted Critical
Publication of US8362706B1 publication Critical patent/US8362706B1/en
Assigned to GOOGLE INC. reassignment GOOGLE INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CYPRESS SEMICONDUCTOR CORPORATION
Assigned to GOOGLE LLC reassignment GOOGLE LLC CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: GOOGLE INC.
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • H05B45/24Controlling the colour of the light using electrical feedback from LEDs or from LED modules
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Definitions

  • the present invention relates generally to electronic circuits and in particular to circuits for Light Emitting Diode (LED) current control.
  • LED Light Emitting Diode
  • LED drivers control a variety of functional aspects of an LED including the flow of current through a LED or LED array. Many LED drivers control the flow of current using some form of a constant current control circuit.
  • FIG. 1 illustrates a number of square wave pulses associated with an implementation of a constant current control mechanism in an LED circuit for dimming one or more LEDs.
  • the pulses are controlled by an active control element that is gated.
  • a dimming signal 102 provides a desired or ideal effective value of the current.
  • Dimming signal 102 tells the current controller how to control the “temporal density” of the LED current by providing a temporal density function to the controller.
  • a temporal density function is used to modulate the density of current pulses over time by setting/defining current pulse parameters such as, the number, position, timing and/or repetition of pulses in a given time interval.
  • the current flows in intervals and is ON for a portion of time and OFF for a portion of time during a particular interval according to the temporal density function.
  • the light output of the LED is broken up into pulses by the temporal density function.
  • the average output of the LED is controlled. Since the eye has a rather long time constant, with a proper selection of the frequency range for the components of the temporal density function, the eye perceives this light output to interpret an intensity level.
  • Errors introduced by the current control mechanisms of the LED circuit are not well controlled. For instance, errors occur when the current goes from an OFF state to an ON state because there is a ramp up time, corresponding to time interval 108 , where the actual current 106 is less than the ideal current 104 . Likewise, when the current goes from an ON state to an OFF state there is a ramp down time 110 where the actual current 106 exceeds the ideal current 104 . The error associated with the ramping up time does not necessarily cancel out the error associated with the ramping down time. Thus, these errors produce an actual average current 114 that is different than the ideal average current 116 set by the dimming signal 102 . These and other errors in the LED circuit cause distortions in the color and/or intensity of light emitted by the LED(s).
  • FIG. 1 illustrates current pulse timing of signals for embodiments of current control signals in LED circuits.
  • FIG. 2 is a block diagram illustrating a particular embodiment of a compensation scheme for current control in an LED circuit.
  • FIG. 3 is a block diagram illustrating a particular embodiment of a compensation scheme for current control in an LED circuit.
  • FIG. 4 illustrates current pulse timing of signals for embodiments of current control signals in LED circuits.
  • FIG. 5 illustrates an embodiment of a single pulse of a dimming signal for current control in an LED.
  • FIG. 6 illustrates an embodiment of a single pulse of a dimming signal for current control in an LED.
  • a compensation function generator receives or looks-up, information about an LED fixture's output associated with a dimming command. The LED output may be measured, characterized and/or fed back to the compensation function generator. The compensation function generator generates a compensation function that adjusts a temporal density function to offset errors introduced by the LED circuit.
  • the temporal density function controls the power source by modulating the current pulses (i.e., duty cycle), position, frequency and/or timing of current pulses in the circuit.
  • the resulting average current is proportional to the temporal density (i.e., the current density over time) of the pulses gating the constant current controller.
  • one method of varying the temporal density of pulses in the current is by Pulse Width Modulation (PWM) which modulates a power source's duty cycle with a substantially fixed frequency.
  • PWM Pulse Width Modulation
  • DSM Delta-Sigma Modulation
  • DSM Delta-Sigma Modulation
  • SSDM Stochastic Signal Density Modulation
  • FIG. 2 is a block diagram illustrating a particular embodiment of a feed forward compensation scheme for current control in an LED circuit.
  • Dimming signal 202 comprises one or more commands for adjusting the intensity and/or color of a single LED or an array of LEDs.
  • Arrays of LEDs may comprise LEDs of various primary colors such as red, green and blue.
  • the colored LEDs may be mixed in various ratios to achieve other desired colors.
  • the dimming signal 202 indicates a desired or ideal LED intensity read as a time average of a temporal density for a given pulse stream.
  • the pulse stream temporal density directly correlates to the perceived intensity of the light emitted from an LED.
  • the dimming signal 202 may be input by a user at interface 201 and/or may be pre-set and controlled by a microprocessor, microcontroller or other circuit coupled to the LED circuit.
  • dimming signal 202 flows to a pre-determined and/or adaptive dimming compensation function generator 204 .
  • the dimming compensation function generator 204 produces a dimming compensation function to modify the dimming signal to compensate for temporal response delay errors in the LED circuit.
  • temporal response delay effects or errors in the LED circuit may be caused by circuit delays relating to ramping current to desired values, logic circuit delays, communication failures or delays and/or finite bandwidth effects for feedback loops.
  • the compensation factor or function may be derived from a characterization of the output errors of the LED circuit associated with the dimming signal 202 .
  • the dimming compensation function changes the temporal density function of the dimming signal 202 .
  • the dimming compensation function generator 204 is a look-up table or list of pre-calculated compensation values correlated to the dimming signal 202 .
  • the dimming compensation function may be an adaptive function. The dimming compensation function is applied to the dimming signal to produce a compensated dimming signal configured to compensate for errors in the LED circuit.
  • An adaptive dimming compensation function may respond to various factors such as time and temperature variations and/or circuit variations and claimed subject matter is not limited in this regard.
  • an adaptive compensation function generator may be responsive to measurements of an input voltage to a switch mode constant current driver and determine a compensation function to offset errors associated with the rise and/or fall time of the current.
  • the dimming compensation function is derived using a pre-set values list or measured inputs, or combinations thereof.
  • the pre-set and measured inputs include compensation factors related to errors introduced in the LED circuit due to the current control function and may include additional compensation factors to be used to derive the dimming compensation function. These additional factors may be pre-determined and/or measured.
  • the additional compensation factors are used to mitigate a variety of errors that may be predicted or measured in an LED circuit other than the errors introduced due to the current control function.
  • the pre-set or look-up table values may compensate for variables such as temperature, length of time the circuit has been functioning, frequency of changes to LED intensity and/or number of LEDs in an array affected by the dimming signal 202 and claimed subject matter is not limited in this regard.
  • the output of the dimming compensation function generator 204 is a dimming signal comprising a compensated temporal density function that will be used to modify the current to compensate for errors in LED circuit.
  • the compensated dimming signal 207 propagates directly to the gated constant current LED driver 206 .
  • the output of the dimming compensation function generator 204 flows to a temporal density modulation unit 205 prior to propagating to the LED driver 206 .
  • a temporal density modulation scheme is selected.
  • the modulation scheme selection is based at least in part on the compensation function and/or is selected to optimize a compensation scheme for mitigating predicted and/or characterized errors in the LED circuit.
  • the modulation scheme selection includes PWM, DSM and/or SSDM (as described in greater detail above).
  • the output of the temporal density modulation unit is a compensated dimming signal 207 .
  • the compensated dimming signal 207 flows to LED driver 206 .
  • LED driver 206 adjusts the current being driven to the LED fixture 208 based on the compensated dimming signal 207 .
  • the LED driver 206 adjusts the intensity and/or color of the LEDs in LED fixture 208 based at least in part on the compensated dimming signal 207 .
  • FIG. 3 is a block diagram illustrating a particular embodiment of a feedback compensation scheme for current control in an LED circuit.
  • Dimming command 302 represents one or more command signals for communicating an adjustment of LED intensity to an LED driver 308 . As discussed above, the adjustments are for changing the intensity and/or color of a single LED or an array of LEDs.
  • the dimming command 302 indicates a desired or ideal LED intensity indicated as a percentage of current and/or average temporal density.
  • the dimming command 302 includes a temporal density function for modulating the temporal density of current pulses propagating through an LED circuit and is communicated to feedback controller 304 .
  • Feedback controller 304 may be a Proportional Integral Derivative controller (PID controller) or other controller known to those of skill in the art and claimed subject matter is not limited in this regard.
  • Feedback controller 304 compares an output of the LED fixture circuit 312 to the dimming command 302 to compare the desired average current through LED fixture 310 and an actual current through LED fixture 310 . This comparison information is communicated to a dimming compensation function generator 306 .
  • the feedback controller 304 receives feedback from specific portions of the circuit for the LED fixture 310 .
  • the current control portion of the LED circuit may be monitored to provide feedback specific to that portion of the circuit and to isolate the source of errors in the circuit.
  • an error detection unit 314 may provide this functionality as discussed in greater detail below.
  • the dimming command 302 comprises a temporal density function.
  • the dimming compensation function generator 306 derives a dimming compensation function based at least in part on the measurement of the output of the LED circuit 312 or the error origin information received from the error detection unit 314 , or combinations thereof.
  • the temporal density function of dimming command 302 is modified by the dimming compensation function.
  • the dimming compensation function is applied to the dimming command 302 to produce an output comprising a compensated dimming command 309 .
  • the compensated dimming command 309 flows to the gated constant current LED driver 308 .
  • the output of the dimming compensation function generator 306 is the original dimming command 302 and the dimming compensation function. Both outputs are communicated to the temporal density modulation unit 307 where a modulation scheme may be selected. In one embodiment, the modulation scheme selection may be based at least in part on the compensated dimming command and/or is selected to optimize a compensation scheme for mitigating the errors detected in the LED circuit. The modulation scheme selection may include PWM, DSM and/or SSDM. The output of the temporal density modulation unit 307 is the compensated dimming command 309 .
  • the compensated dimming command 309 is received by the LED driver 308 .
  • LED driver 308 controls the current flow to LED fixture 310 based on the compensated dimming command 309 by altering the temporal density modulation of the current pulse accordingly.
  • LED driver 308 adjusts the current being driven to the LED fixture 310 to change the intensity and/or color of the light emitted from the LED fixture 310 and to closely approximate the ideal LED current as indicated in the dimming command 302 .
  • an error detection unit 314 is part of the LED driver 308 and is configured to detect the origin of a variety of errors in the LED circuit. For instance, error detection unit 314 is configured to detect that certain errors are attributable to the temporal response effects such as the ramp up and/or ramp down times when the current pulses ON or OFF. Or, error detection unit 314 determines that errors are occurring during a steady state or during OFF periods between pulses. Error detection unit 314 is further configured to feedback the error origin data to the feedback controller 304 . Errors having different origins may be compensated for individually and/or cumulatively and claimed subject matter is not limited in this regard.
  • FIG. 4 illustrates a number of current pulse timing diagrams.
  • a comparison of an ideal current 406 based on the un-compensated dimming signal 402 and an actual current 408 based on compensated dimming signal 404 illustrates that the actual LED current 408 is a close approximation to the ideal current 406 when based on the compensated dimming signal 406 .
  • a dimming compensation function as described with respect to FIG. 2 or 3 is used to compensate for errors in an LED circuit to generate the compensated dimming signal 404 .
  • the timing diagram for the actual current 408 propagating through the LED circuit illustrates a ramp up time 410 and ramp down time 412 which cause errors in the average current through the LED circuit.
  • the ramp up and ramp down times may not cancel each other out.
  • a compensated dimming function 404 modulates of the effective pulse length of the current to compensate for the errors.
  • the actual current 408 closely approximates the ideal current 406 .
  • this is merely an example of modulating a current pulse parameter to change the temporal density function and claimed subject matter is not so limited.
  • one or more other parameters such as the number or timing of pulses over a particular time interval may be modulated to change the temporal density of the current.
  • the dimming compensation function would decrease the duration of the pulse.
  • the dimming compensation function would increase the duration of the pulse.
  • L 2 will be greater than L 1 and will result in an average current through the LED circuit substantially closer to the ideal current.
  • FIG. 5 is a graph illustrating an uncompensated current through an LED circuit (I LED ) over time.
  • an ideal current is selected.
  • An uncompensated dimming function is generated.
  • the uncompensated dimming function comprises a temporal density.
  • a single current pulse 508 is illustrated in FIG. 5 .
  • the pulse length is controlled to modulate the temporal density of the current.
  • other ways to control the temporal density of a current include changing the number, position, timing and/or repetition of pulses in a given interval and claimed subject matter is not limited in this regard.
  • the pulse length from T 0 to T 2 is determined by the uncompensated dimming function.
  • I LED is controlled by a gated controller such as a hysteretic controller.
  • I LED ramps up between T 0 and T 1 and ramps down between T 2 and T 3 .
  • I LED is held in a steady state by the gated controller, such that as L ED oscillates between an upper current threshold 502 and a lower current threshold 504 a constant average current is delivered to the LED circuit during the pulse.
  • the gated controller such that as L ED oscillates between an upper current threshold 502 and a lower current threshold 504 a constant average current is delivered to the LED circuit during the pulse.
  • the ramping up period 510 from T 0 and T 1 there is less I LED during the pulse period than is required by the dimming function.
  • the ramping down period 512 from T 2 and T 3 there is excess I LED because the ramp down period exceeds the pulse period.
  • the I LED does not follow the dimming function exactly and does not provide an ideal I LED .
  • the differences between the actual I LED and the ideal I LED may be detected. For instance, differences in the average current from T 0 to T 1 and from T 2 to T 3 and the expected I LED from T 0 to T 1 and from T 2 to T 3 are isolable and/or detectable. These are ramping errors. Additionally, there may be errors occurring between T 1 and T 2 while the gated controller holds the current in a steady state. For instance, the average current 606 during the steady state may fall below an acceptable steady state current due to some errors in the gating mechanism of the gated controller. These errors may also be detected separately or may be detected cumulatively. A compensated dimming function is then generated based at least in part on these detected differences. The compensated dimming function alters the pulse density of I LED by modifying the temporal density function to account for the detected errors and to tune the pulse density in order to achieve a closer to ideal current through the LEDs.
  • FIG. 6 shows a single pulse of a compensated dimming current having an extended pulse length 608 to compensate for errors detected in the average I LED with respect to the ideal I LED .
  • a single pulse 608 is illustrated.
  • the pulse density is determined by the compensated dimming function and in this embodiment the length of pulse 608 is greater than the length of uncompensated pulse 508 (shown in FIG. 5 ).
  • the length is only one parameter determining density, and is shown only for illustration. In an alternate embodiment, other parameters may be modified to alter the temporal density of a current and claimed subject matter is not so limited.
  • the ramping up period 610 and ramping down period 612 still exist, however, because the length of the pulse has changed, the errors caused by ramping up and down are mitigated by the compensated dimming function.
  • the compensated average I LED is substantially closer to the ideal I LED .
  • the errors in the circuit may be pre-determined, thus the compensated dimming function may be applied without taking a measurement of the current.
  • the pre-determined compensation factors may be stored in a memory in a look-up table, pre-defined adaptive function and/or list, or implemented by a suitable electronic circuit, either analog or digital, or a combination thereof.
  • both a pre-determined compensation function/factor and/or a measurement based compensation function may be applied to generate a finely tuned compensated dimming function and claimed subject matter is not limited in this regard.
  • Embodiments of the present invention are well suited to performing various other steps or variations of the steps recited herein, and in a sequence other than that depicted and/or described herein. In one embodiment, such a process is carried out by processors and other electrical and electronic components, e.g., executing computer readable and computer executable instructions comprising code contained in a computer usable medium.

Abstract

Disclosed herein is an apparatus and method to control a current through one or more Light Emitting Diode (LED) circuits, wherein a control command compensation unit generates a compensation function to offset errors in the LED circuit by modifying a temporal density modulation function.

Description

TECHNICAL FIELD
The present invention relates generally to electronic circuits and in particular to circuits for Light Emitting Diode (LED) current control.
BACKGROUND OF THE INVENTION
LED drivers control a variety of functional aspects of an LED including the flow of current through a LED or LED array. Many LED drivers control the flow of current using some form of a constant current control circuit.
FIG. 1 illustrates a number of square wave pulses associated with an implementation of a constant current control mechanism in an LED circuit for dimming one or more LEDs. The pulses are controlled by an active control element that is gated. A dimming signal 102 provides a desired or ideal effective value of the current. Dimming signal 102 tells the current controller how to control the “temporal density” of the LED current by providing a temporal density function to the controller. A temporal density function is used to modulate the density of current pulses over time by setting/defining current pulse parameters such as, the number, position, timing and/or repetition of pulses in a given time interval. Thus, the current flows in intervals and is ON for a portion of time and OFF for a portion of time during a particular interval according to the temporal density function. This produces a dimming effect upon the LED(s). In other words, the light output of the LED is broken up into pulses by the temporal density function. By controlling the ratio of the time this temporal density function is high (or “ON”) to the time it is low (“OFF) the average output of the LED is controlled. Since the eye has a rather long time constant, with a proper selection of the frequency range for the components of the temporal density function, the eye perceives this light output to interpret an intensity level.
Errors introduced by the current control mechanisms of the LED circuit are not well controlled. For instance, errors occur when the current goes from an OFF state to an ON state because there is a ramp up time, corresponding to time interval 108, where the actual current 106 is less than the ideal current 104. Likewise, when the current goes from an ON state to an OFF state there is a ramp down time 110 where the actual current 106 exceeds the ideal current 104. The error associated with the ramping up time does not necessarily cancel out the error associated with the ramping down time. Thus, these errors produce an actual average current 114 that is different than the ideal average current 116 set by the dimming signal 102. These and other errors in the LED circuit cause distortions in the color and/or intensity of light emitted by the LED(s).
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates current pulse timing of signals for embodiments of current control signals in LED circuits.
FIG. 2 is a block diagram illustrating a particular embodiment of a compensation scheme for current control in an LED circuit.
FIG. 3 is a block diagram illustrating a particular embodiment of a compensation scheme for current control in an LED circuit.
FIG. 4 illustrates current pulse timing of signals for embodiments of current control signals in LED circuits.
FIG. 5 illustrates an embodiment of a single pulse of a dimming signal for current control in an LED.
FIG. 6 illustrates an embodiment of a single pulse of a dimming signal for current control in an LED.
DETAILED DESCRIPTION
In the following detailed description, numerous specific details are set forth to provide a thorough understanding of claimed subject matter related to current control in an LED circuit. However, it will be understood by those skilled in the art that claimed subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, and components have not been described in detail so as not to obscure claimed subject matter.
Disclosed herein is a method and device for controlling the current in an LED circuit to compensate the current pulse density to correct for temporal response delay effects or errors in the LED circuit using a feed forward and/or feedback compensation scheme. Temporal response delay effects or errors in an LED circuit are caused by circuit delays relating to ramping current to desired values, logic circuit delays, communication failures or delays and/or finite bandwidth effects for feedback loops. In one embodiment, a compensation function generator receives or looks-up, information about an LED fixture's output associated with a dimming command. The LED output may be measured, characterized and/or fed back to the compensation function generator. The compensation function generator generates a compensation function that adjusts a temporal density function to offset errors introduced by the LED circuit. The temporal density function controls the power source by modulating the current pulses (i.e., duty cycle), position, frequency and/or timing of current pulses in the circuit. The resulting average current is proportional to the temporal density (i.e., the current density over time) of the pulses gating the constant current controller.
There are a variety of methods of varying the temporal density of pulses in a current and claimed subject matter is not limited in this regard. For instance, one method of varying the temporal density of pulses in the current is by Pulse Width Modulation (PWM) which modulates a power source's duty cycle with a substantially fixed frequency. Another method of varying the temporal density is Delta-Sigma Modulation (DSM) which varies temporal density by performing higher level sigma-delta modulation of an underlying temporal density function. Another modulation scheme is Stochastic Signal Density Modulation (SSDM) which varies the temporal density by comparison of a threshold level with a random or pseudo random waveform.
FIG. 2 is a block diagram illustrating a particular embodiment of a feed forward compensation scheme for current control in an LED circuit. Dimming signal 202 comprises one or more commands for adjusting the intensity and/or color of a single LED or an array of LEDs. Arrays of LEDs may comprise LEDs of various primary colors such as red, green and blue. The colored LEDs may be mixed in various ratios to achieve other desired colors.
In one embodiment, the dimming signal 202 indicates a desired or ideal LED intensity read as a time average of a temporal density for a given pulse stream. The pulse stream temporal density directly correlates to the perceived intensity of the light emitted from an LED. The dimming signal 202 may be input by a user at interface 201 and/or may be pre-set and controlled by a microprocessor, microcontroller or other circuit coupled to the LED circuit.
In the current embodiment, dimming signal 202 flows to a pre-determined and/or adaptive dimming compensation function generator 204. The dimming compensation function generator 204 produces a dimming compensation function to modify the dimming signal to compensate for temporal response delay errors in the LED circuit. As noted above, temporal response delay effects or errors in the LED circuit may be caused by circuit delays relating to ramping current to desired values, logic circuit delays, communication failures or delays and/or finite bandwidth effects for feedback loops. The compensation factor or function may be derived from a characterization of the output errors of the LED circuit associated with the dimming signal 202. The dimming compensation function changes the temporal density function of the dimming signal 202.
In one embodiment, the dimming compensation function generator 204 is a look-up table or list of pre-calculated compensation values correlated to the dimming signal 202. In another embodiment, the dimming compensation function may be an adaptive function. The dimming compensation function is applied to the dimming signal to produce a compensated dimming signal configured to compensate for errors in the LED circuit.
An adaptive dimming compensation function may respond to various factors such as time and temperature variations and/or circuit variations and claimed subject matter is not limited in this regard. For example, an adaptive compensation function generator may be responsive to measurements of an input voltage to a switch mode constant current driver and determine a compensation function to offset errors associated with the rise and/or fall time of the current.
In another embodiment, the dimming compensation function is derived using a pre-set values list or measured inputs, or combinations thereof. The pre-set and measured inputs include compensation factors related to errors introduced in the LED circuit due to the current control function and may include additional compensation factors to be used to derive the dimming compensation function. These additional factors may be pre-determined and/or measured. The additional compensation factors are used to mitigate a variety of errors that may be predicted or measured in an LED circuit other than the errors introduced due to the current control function. For instance, the pre-set or look-up table values may compensate for variables such as temperature, length of time the circuit has been functioning, frequency of changes to LED intensity and/or number of LEDs in an array affected by the dimming signal 202 and claimed subject matter is not limited in this regard.
In one embodiment the output of the dimming compensation function generator 204 is a dimming signal comprising a compensated temporal density function that will be used to modify the current to compensate for errors in LED circuit. In this embodiment, the compensated dimming signal 207 propagates directly to the gated constant current LED driver 206.
In an alternative embodiment, the output of the dimming compensation function generator 204 flows to a temporal density modulation unit 205 prior to propagating to the LED driver 206. At temporal density modulation unit 205, a temporal density modulation scheme is selected. The modulation scheme selection is based at least in part on the compensation function and/or is selected to optimize a compensation scheme for mitigating predicted and/or characterized errors in the LED circuit. The modulation scheme selection includes PWM, DSM and/or SSDM (as described in greater detail above). The output of the temporal density modulation unit is a compensated dimming signal 207.
The compensated dimming signal 207, whether propagating from the temporal density modulation unit or the compensation function generator, flows to LED driver 206. LED driver 206 adjusts the current being driven to the LED fixture 208 based on the compensated dimming signal 207. Thus, the LED driver 206 adjusts the intensity and/or color of the LEDs in LED fixture 208 based at least in part on the compensated dimming signal 207.
FIG. 3 is a block diagram illustrating a particular embodiment of a feedback compensation scheme for current control in an LED circuit. Dimming command 302 represents one or more command signals for communicating an adjustment of LED intensity to an LED driver 308. As discussed above, the adjustments are for changing the intensity and/or color of a single LED or an array of LEDs. The dimming command 302 indicates a desired or ideal LED intensity indicated as a percentage of current and/or average temporal density. The dimming command 302 includes a temporal density function for modulating the temporal density of current pulses propagating through an LED circuit and is communicated to feedback controller 304.
Feedback controller 304 may be a Proportional Integral Derivative controller (PID controller) or other controller known to those of skill in the art and claimed subject matter is not limited in this regard. Feedback controller 304 compares an output of the LED fixture circuit 312 to the dimming command 302 to compare the desired average current through LED fixture 310 and an actual current through LED fixture 310. This comparison information is communicated to a dimming compensation function generator 306.
In one embodiment, the feedback controller 304 receives feedback from specific portions of the circuit for the LED fixture 310. For instance, the current control portion of the LED circuit may be monitored to provide feedback specific to that portion of the circuit and to isolate the source of errors in the circuit. Additionally, an error detection unit 314 may provide this functionality as discussed in greater detail below.
The dimming command 302 comprises a temporal density function. The dimming compensation function generator 306 derives a dimming compensation function based at least in part on the measurement of the output of the LED circuit 312 or the error origin information received from the error detection unit 314, or combinations thereof. In one embodiment, in the dimming compensation function generator 306, the temporal density function of dimming command 302 is modified by the dimming compensation function. The dimming compensation function is applied to the dimming command 302 to produce an output comprising a compensated dimming command 309. The compensated dimming command 309 flows to the gated constant current LED driver 308.
In an alternative embodiment, the output of the dimming compensation function generator 306 is the original dimming command 302 and the dimming compensation function. Both outputs are communicated to the temporal density modulation unit 307 where a modulation scheme may be selected. In one embodiment, the modulation scheme selection may be based at least in part on the compensated dimming command and/or is selected to optimize a compensation scheme for mitigating the errors detected in the LED circuit. The modulation scheme selection may include PWM, DSM and/or SSDM. The output of the temporal density modulation unit 307 is the compensated dimming command 309.
The compensated dimming command 309 is received by the LED driver 308. In one embodiment, LED driver 308 controls the current flow to LED fixture 310 based on the compensated dimming command 309 by altering the temporal density modulation of the current pulse accordingly. LED driver 308 adjusts the current being driven to the LED fixture 310 to change the intensity and/or color of the light emitted from the LED fixture 310 and to closely approximate the ideal LED current as indicated in the dimming command 302.
In one embodiment, an error detection unit 314 is part of the LED driver 308 and is configured to detect the origin of a variety of errors in the LED circuit. For instance, error detection unit 314 is configured to detect that certain errors are attributable to the temporal response effects such as the ramp up and/or ramp down times when the current pulses ON or OFF. Or, error detection unit 314 determines that errors are occurring during a steady state or during OFF periods between pulses. Error detection unit 314 is further configured to feedback the error origin data to the feedback controller 304. Errors having different origins may be compensated for individually and/or cumulatively and claimed subject matter is not limited in this regard.
FIG. 4 illustrates a number of current pulse timing diagrams. In the diagram, a comparison of an ideal current 406 based on the un-compensated dimming signal 402 and an actual current 408 based on compensated dimming signal 404 illustrates that the actual LED current 408 is a close approximation to the ideal current 406 when based on the compensated dimming signal 406. In the current embodiment, a dimming compensation function as described with respect to FIG. 2 or 3 is used to compensate for errors in an LED circuit to generate the compensated dimming signal 404.
The timing diagram for the actual current 408 propagating through the LED circuit illustrates a ramp up time 410 and ramp down time 412 which cause errors in the average current through the LED circuit. The ramp up and ramp down times may not cancel each other out. In one embodiment, a compensated dimming function 404 modulates of the effective pulse length of the current to compensate for the errors. Thus, the actual current 408 closely approximates the ideal current 406. However, this is merely an example of modulating a current pulse parameter to change the temporal density function and claimed subject matter is not so limited. For instance, in another embodiment, one or more other parameters such as the number or timing of pulses over a particular time interval may be modulated to change the temporal density of the current.
In one embodiment, if the overall error is an increase in the average current through the LED circuit with respect to the desired current then the dimming compensation function would decrease the duration of the pulse. Or, as shown in FIG. 4, if the overall error is a decrease in the average current through the LED circuit with respect to the desired current then the dimming compensation function would increase the duration of the pulse. Thus, L2 will be greater than L1 and will result in an average current through the LED circuit substantially closer to the ideal current.
FIG. 5 is a graph illustrating an uncompensated current through an LED circuit (ILED) over time. In one embodiment, an ideal current is selected. An uncompensated dimming function is generated. The uncompensated dimming function comprises a temporal density. A single current pulse 508 is illustrated in FIG. 5. For this example the pulse length is controlled to modulate the temporal density of the current. However, other ways to control the temporal density of a current include changing the number, position, timing and/or repetition of pulses in a given interval and claimed subject matter is not limited in this regard. Referring still to FIG. 5, the pulse length from T0 to T2 is determined by the uncompensated dimming function. After a ramping period, ILED is controlled by a gated controller such as a hysteretic controller. ILED ramps up between T0 and T1 and ramps down between T2 and T3. After the ramping up period 510, ILED is held in a steady state by the gated controller, such that as LED oscillates between an upper current threshold 502 and a lower current threshold 504 a constant average current is delivered to the LED circuit during the pulse. However, during the ramping up period 510 from T0 and T1 there is less ILED during the pulse period than is required by the dimming function. Likewise, during the ramping down period 512 from T2 and T3 there is excess ILED because the ramp down period exceeds the pulse period. Thus, the ILED does not follow the dimming function exactly and does not provide an ideal ILED.
In one embodiment, the differences between the actual ILED and the ideal ILED may be detected. For instance, differences in the average current from T0 to T1 and from T2 to T3 and the expected ILED from T0 to T1 and from T2 to T3 are isolable and/or detectable. These are ramping errors. Additionally, there may be errors occurring between T1 and T2 while the gated controller holds the current in a steady state. For instance, the average current 606 during the steady state may fall below an acceptable steady state current due to some errors in the gating mechanism of the gated controller. These errors may also be detected separately or may be detected cumulatively. A compensated dimming function is then generated based at least in part on these detected differences. The compensated dimming function alters the pulse density of ILED by modifying the temporal density function to account for the detected errors and to tune the pulse density in order to achieve a closer to ideal current through the LEDs.
FIG. 6 shows a single pulse of a compensated dimming current having an extended pulse length 608 to compensate for errors detected in the average ILED with respect to the ideal ILED. A single pulse 608 is illustrated. The pulse density is determined by the compensated dimming function and in this embodiment the length of pulse 608 is greater than the length of uncompensated pulse 508 (shown in FIG. 5). The length is only one parameter determining density, and is shown only for illustration. In an alternate embodiment, other parameters may be modified to alter the temporal density of a current and claimed subject matter is not so limited.
The ramping up period 610 and ramping down period 612 still exist, however, because the length of the pulse has changed, the errors caused by ramping up and down are mitigated by the compensated dimming function. Thus, between T0 and T3, the compensated average ILED is substantially closer to the ideal ILED.
In another embodiment, the errors in the circuit may be pre-determined, thus the compensated dimming function may be applied without taking a measurement of the current. The pre-determined compensation factors may be stored in a memory in a look-up table, pre-defined adaptive function and/or list, or implemented by a suitable electronic circuit, either analog or digital, or a combination thereof. In yet another embodiment, both a pre-determined compensation function/factor and/or a measurement based compensation function may be applied to generate a finely tuned compensated dimming function and claimed subject matter is not limited in this regard.
Embodiments of the present invention are well suited to performing various other steps or variations of the steps recited herein, and in a sequence other than that depicted and/or described herein. In one embodiment, such a process is carried out by processors and other electrical and electronic components, e.g., executing computer readable and computer executable instructions comprising code contained in a computer usable medium.
It should be appreciated that reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Therefore, it is emphasized and should be appreciated that two or more references to “an embodiment” or “one embodiment” or “an alternative embodiment” in various portions of this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined as suitable in one or more embodiments of the invention.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.

Claims (19)

1. An apparatus comprising:
an interface configured to communicate one or more control commands for controlling a current supply to a Light Emitting Diode (LED) circuit, wherein the control commands define current pulse parameters via an associated temporal density function; and
a compensation unit includes a look-up table populated with at least one compensation factor, wherein the compensation unit is configured to modify the current pulse parameters of the temporal density function associated with the control commands based on the compensation factor from the look-up table to compensate for errors associated with temporal response delay effects associated with the LED circuit.
2. The apparatus of claim 1 wherein the current pulse parameters include one or more of a modulation scheme, a current pulse length, current pulse timing, current pulse position, or pulse density.
3. The apparatus of claim 1 further comprising;
a feedback controller configured to compare the control commands to an LED circuit output to detect errors in the current pulse parameters; and
a gated constant current controller configured to receive a modified control command and to execute the modified control command to change the current pulse parameters according to the modified temporal density function.
4. The apparatus of claim 3 further comprising an error detection unit to detect a source of LED circuit output errors.
5. The apparatus of claim 4 wherein the error detection unit is configured to determine that the error source includes one or more of a current pulse ramping up period and a current pulse ramping down period.
6. The apparatus of claim 4 wherein the error detection unit is configured to determine that an error in the LED circuit output occurs during a gated steady state period.
7. The apparatus of claim 3 wherein the feedback controller is a Proportional Integral Derivative controller.
8. The apparatus of claim 3 wherein the gated constant current controller is a hysteretic controller.
9. The apparatus of claim 1 further comprising a gated controller configured to receive a modified control command and to execute the modified control command to change the current pulse parameters according to the modified temporal density function.
10. The apparatus of claim 1, further comprising a temporal density modulation unit configured to select a temporal density modulation scheme to optimize the modification of the control commands.
11. The apparatus of claim 10 wherein the modulation scheme includes one or more of Pulse Width Modulation (PWM), Delta-Sigma Modulation and Stochastic Signal Density Modulation (SSDM).
12. The apparatus of claim 1 wherein the compensation unit is further configured to modify the temporal density function to compensate for factors causing errors in the LED circuit that are independent of temporal response delay effects.
13. The apparatus of claim 1 wherein the compensation unit further comprises one or more pre-set compensation functions for determining the compensation factor for modifying the control commands.
14. A method comprising:
receiving a control command configured to control a current through a Light Emitting Diode (LED) circuit;
accessing a look-up table to determine a temporal response error associated with the LED circuit; and
compensating for the temporal response error associated with the LED circuit by modifying the control command to alter a temporal density function to offset the temporal response error in the LED circuit.
15. The method of claim 14 wherein compensating for the temporal response error associated with the LED circuit further comprises changing current pulse modulation parameters associated with the temporal density function, the current pulse modulation parameters comprising one or more of a current pulse modulation scheme, pulse length, pulse timing, pulse positioning, or pulse repetition.
16. The method of claim 14 wherein the look-up table is configured to include predetermined errors accessible based in part on the control command, a measurement of variables associated with errors in the LED circuit, or a comparison of the control command to an output of the LED circuit to detect errors in the current.
17. An apparatus comprising:
means for receiving a control command configured to control a current supply to a Light Emitting Diode (LED) circuit;
means for looking-up a compensation factor associated with the LED circuit in a table; and
means for modifying the control command to compensate for temporal response effects in the LED circuit based, at least in part, on the compensation factor.
18. The apparatus of claim 17 wherein the control command is configured to define current pulse parameters for the current supply, wherein the current pulse parameters include a modulation scheme, a current pulse length, current pulse timing, current pulse position, or pulse density.
19. The apparatus of claim 17 further comprising means for comparing the control command to an output of the LED circuit to detect the temporal response effects in the current.
US12/339,942 2008-12-19 2008-12-19 Current compensation scheme for LED current control Active 2031-10-07 US8362706B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/339,942 US8362706B1 (en) 2008-12-19 2008-12-19 Current compensation scheme for LED current control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/339,942 US8362706B1 (en) 2008-12-19 2008-12-19 Current compensation scheme for LED current control

Publications (1)

Publication Number Publication Date
US8362706B1 true US8362706B1 (en) 2013-01-29

Family

ID=47562291

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/339,942 Active 2031-10-07 US8362706B1 (en) 2008-12-19 2008-12-19 Current compensation scheme for LED current control

Country Status (1)

Country Link
US (1) US8362706B1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130049634A1 (en) * 2010-05-14 2013-02-28 Lumastream Canada Ulc Method and system for controlling solid state lighting via dithering
US20130200817A1 (en) * 2012-02-06 2013-08-08 Richard Landry Gray Method for Minimizing Stroboscopic Effects in PWM Driven Lighting
US20140306619A1 (en) * 2013-04-16 2014-10-16 Sony Corporation Lighting apparatus, lighting system, and control method
EP2911475A1 (en) 2014-02-24 2015-08-26 Dialog Semiconductor GmbH PDM modulation of LED current
US9942954B2 (en) 2010-05-14 2018-04-10 Lumastream Canada Ulc Method and system for controlling solid state lighting via dithering
JP2019139890A (en) * 2018-02-07 2019-08-22 スタンレー電気株式会社 Device of controlling light-emitting element, method of controlling light-emitting element, and illuminating device
US11212893B2 (en) 2020-05-28 2021-12-28 Stmicroelectronics S.R.L. LED driver circuit and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6016038A (en) 1997-08-26 2000-01-18 Color Kinetics, Inc. Multicolored LED lighting method and apparatus
US6472946B2 (en) 2000-06-06 2002-10-29 Sony Corporation Modulation circuit and image display using the same
US6590343B2 (en) * 2000-06-06 2003-07-08 911Ep, Inc. LED compensation circuit
US6987787B1 (en) 2004-06-28 2006-01-17 Rockwell Collins LED brightness control system for a wide-range of luminance control
US20080111503A1 (en) 2006-11-13 2008-05-15 Cypress Semiconductor Corporation Stochastic signal density modulation for optical transducer control
US20080224966A1 (en) * 2007-03-15 2008-09-18 Cok Ronald S Led device compensation method
US7843146B2 (en) * 2008-01-28 2010-11-30 Global Mixed-Mode Technology Inc. LED dimming control circuit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6016038A (en) 1997-08-26 2000-01-18 Color Kinetics, Inc. Multicolored LED lighting method and apparatus
US6472946B2 (en) 2000-06-06 2002-10-29 Sony Corporation Modulation circuit and image display using the same
US6590343B2 (en) * 2000-06-06 2003-07-08 911Ep, Inc. LED compensation circuit
US6987787B1 (en) 2004-06-28 2006-01-17 Rockwell Collins LED brightness control system for a wide-range of luminance control
US20080111503A1 (en) 2006-11-13 2008-05-15 Cypress Semiconductor Corporation Stochastic signal density modulation for optical transducer control
US8129924B2 (en) * 2006-11-13 2012-03-06 Cypress Semiconductor Corporation Stochastic signal density modulation for optical transducer control
US20080224966A1 (en) * 2007-03-15 2008-09-18 Cok Ronald S Led device compensation method
US7843146B2 (en) * 2008-01-28 2010-11-30 Global Mixed-Mode Technology Inc. LED dimming control circuit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Ball, Alan, "A Novel Hysteretic Control Circuit," on Semiconductor, 11 pgs.
Barr, Michael, "Introduction to Pulse Width Modulation (PWM)," Jul. 2, 2003, http://www.oreillynet.com/pub/a/network/synd/2003/07/02/pwm.html, 4 pgs.

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130049634A1 (en) * 2010-05-14 2013-02-28 Lumastream Canada Ulc Method and system for controlling solid state lighting via dithering
US9433053B2 (en) * 2010-05-14 2016-08-30 Lumastream Canada Ulc Method and system for controlling solid state lighting via dithering
US9942954B2 (en) 2010-05-14 2018-04-10 Lumastream Canada Ulc Method and system for controlling solid state lighting via dithering
US20130200817A1 (en) * 2012-02-06 2013-08-08 Richard Landry Gray Method for Minimizing Stroboscopic Effects in PWM Driven Lighting
US20140306619A1 (en) * 2013-04-16 2014-10-16 Sony Corporation Lighting apparatus, lighting system, and control method
US9035569B2 (en) * 2013-04-16 2015-05-19 Sony Corporation Lighting apparatus, lighting system, and control method
EP2911475A1 (en) 2014-02-24 2015-08-26 Dialog Semiconductor GmbH PDM modulation of LED current
US9380668B2 (en) 2014-02-24 2016-06-28 Dialog Semiconductor (Uk) Limited PDM modulation of LED current
JP2019139890A (en) * 2018-02-07 2019-08-22 スタンレー電気株式会社 Device of controlling light-emitting element, method of controlling light-emitting element, and illuminating device
JP7033943B2 (en) 2018-02-07 2022-03-11 スタンレー電気株式会社 Light emitting element control device, light emitting element control method, lighting device
US11212893B2 (en) 2020-05-28 2021-12-28 Stmicroelectronics S.R.L. LED driver circuit and method

Similar Documents

Publication Publication Date Title
US8362706B1 (en) Current compensation scheme for LED current control
US7956554B2 (en) System and method for regulation of solid state lighting
US8362707B2 (en) Light emitting diode based lighting system with time division ambient light feedback response
US8368636B2 (en) Regulation of wavelength shift and perceived color of solid state lighting with intensity variation
US8253666B2 (en) Regulation of wavelength shift and perceived color of solid state lighting with intensity and temperature variation
US8299722B2 (en) Time division light output sensing and brightness adjustment for different spectra of light emitting diodes
US8264448B2 (en) Regulation of wavelength shift and perceived color of solid state lighting with temperature variation
US7800315B2 (en) System and method for regulation of solid state lighting
CN101340758B (en) Control device and control method, and planar light source and control method of planar light source
KR101706269B1 (en) Three-color rgb led color mixing and control by variable frequency modulation
KR101703080B1 (en) Led brightness control by variable frequency modulation
US8203279B2 (en) Method of dimming
KR20080106234A (en) Voltage controlled led light driver
CN101772988B (en) Device and method for controlling light emission
EP2789211B1 (en) Driver system for driving at least one led
JP2007080540A (en) Illumination system
US9137875B2 (en) Method for operating at least one light-emitting diode and lighting device for carrying out the method
US11153947B2 (en) Dimming and mixing light emitting diodes using reduced pulse widths
TWI406597B (en) Light sensing apparatus and method for luminaire calibration
CN114630468A (en) Biosafety control of LED light sources
TW201637516A (en) LED driver with adaptive reference voltage tracking control and method thereof

Legal Events

Date Code Title Description
AS Assignment

Owner name: CYPRESS SEMICONDUCTOR CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GODBOLE, KEDAR;REEL/FRAME:022015/0995

Effective date: 20081219

STCF Information on status: patent grant

Free format text: PATENTED CASE

AS Assignment

Owner name: GOOGLE INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CYPRESS SEMICONDUCTOR CORPORATION;REEL/FRAME:033760/0314

Effective date: 20140825

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: GOOGLE LLC, CALIFORNIA

Free format text: CHANGE OF NAME;ASSIGNOR:GOOGLE INC.;REEL/FRAME:044101/0405

Effective date: 20170929

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8