Embodiments relate to the field of light emitting diode (LED) systems. More specifically, the embodiments relate to a dimming LED system.
Typically, a dimming LED circuit, such as a LED driver, is used to control the brightness of LEDs. LEDs are increasingly being used instead of incandescent bulbs. LEDs provide several advantages over conventional light sources, which include lower energy consumption, longer lifetime, improved physical robustness, smaller size, and faster switching.
Dimming LED circuits have several methods to control the brightness of LEDs. One method is pulse width modulation (PWM) dimming. PWM dimming switches a switch to control the average of LED current supplied to the LEDs. Another method is direct-current (DC) dimming. DC dimming controls the LED current that is supplied to the LEDs. An alternative method is combining PWM and DC dimming.
Dimming LED circuits can, however, present several disadvantages. One disadvantage of a dimming LED circuit is unpredictable operation across multiple LEDs of the same installation. Other disadvantages encountered with a dimming LED circuit are the limited number of parameters that are available and the inconsistency of the parameters. Typically, some of the parameters include photometric response, LED temperature, LED color output over time, gamma variation, and LED intensity variation.
Another disadvantage of conventional dimming LED circuits is that LEDs usually have shortened lifetimes. Typically, the LED input power of the dimming LED circuit is increased as the LED drive respectively increases the brightness of the LEDs to a desired luminance level. This increased LED drive reduces the overall LED source lifetime and thus leads to additional replacements and increased costs.
Methods and apparatuses to provide an LED dimming using switch mode power supply control loop parameter modification are described. For one embodiment, a dimming light emitting diode (LED) system comprises an LED driver and a switch-mode power supply controller coupled to the LED driver to drive an LED light source. The LED driver is configured to receive pulse width modulation (PWM) dimming waveform information. The LED driver is configured to modify one or more control loop parameters for the switch-mode power supply controller to dim the LED source based on the PWM dimming waveform information. The PWM waveform information includes a PWM waveform slope, a PWM waveform shape, or a combination thereof.
For one embodiment, a dimming light emitting diode (LED) driver circuit comprises a memory and a management unit comprising a processor coupled to the memory. The processor is configured to receive pulse width modulation (PWM) dimming waveform information. The processor is configured to modify one or more control loop parameters to dim a LED source based on the PWM dimming waveform information. The PWM waveform information includes a PWM waveform slope, a PWM waveform shape, or a combination thereof.
For one embodiment, a method to dim an LED source comprises receiving pulse width modulation (PWM) dimming waveform information and modifying one or more control loop parameters to dim the LED source based on the PWM dimming waveform information. The PWM waveform information includes a PWM waveform slope, a PWM waveform shape, or a combination thereof.
For one embodiment, a non-transitory machine readable medium comprises instructions that cause a data processing system to perform a method to dim an LED source that comprises receiving pulse width modulation (PWM) dimming waveform information and modifying one or more control loop parameters to dim the LED source based on the PWM dimming waveform information. The PWM waveform information includes a PWM waveform slope, a PWM waveform shape, or a combination thereof.
Other advantages and features will become apparent from the accompanying drawings and the following detailed description.
Embodiments described herein illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar features. Furthermore, some conventional details have been omitted so as not to obscure from the inventive concepts described herein.
Methods and apparatuses to provide an LED dimming by modification of switch mode power supply control loop parameters are described. For one embodiment, a dimming light emitting diode (LED) system comprises an LED driver and a switch-mode power supply controller coupled to the LED driver to drive an LED light source. The LED driver is configured to receive pulse width modulation (PWM) dimming waveform information. The LED driver is configured to modify one or more control loop parameters for the switch-mode power supply controller to dim the LED source based on the PWM dimming waveform information. The PWM waveform information includes a PWM waveform slope, a PWM waveform shape, or a combination thereof. For one embodiment, the LED source is an LED source array that comprises a plurality of light emitting diodes (LEDs).
For one embodiment, the LED driver of the dimming LED system includes a microcontroller and/or a digital signal processor (DSP). The microcontroller and DSP are configured to control a wave shape and/or a slope of the PWM dimming waveform to dim the LED source. A unified switching power supply and PWM dimming circuit use a digital signal processor as a controller. The PWM dimming is emulated in firmware by modulating one or more LED source drive parameters, e.g., a power supply drive voltage, a power supply drive current, or power (a combination of the drive voltage and current). The PWM slope and wave shape are synthesized in firmware. The LED driver includes a processor that is configured to control of a wave shape and/or a slope of the PWM dimming waveform. The dimming apparatuses and systems described herein are implemented in hardware, firmware, or a combination of hardware and firmware.
Traditional PWM dimming uses a high-speed switch which turns the LED array on/off that causes fast edge rates, radiated Electro-Magnetic Interference (EMI), audible noise, distracting stroboscopic flicker, and current surges which thermally stress LED semiconductor junctions. The dimming LED system described herein beneficially minimizes the PWM dimming-induced LED flicker by controlling a wave shape and/or a slope of the PWM dimming waveform. The stroboscopic flicker is beneficially minimized by blurring harsh PWM transitions using the slope and/or wave shape control. The current induced thermal stress in the LED semiconductor junction and the current induced acoustic shock (e.g., whine and buzzing) are minimized by eliminating hard on/off transitions.
An input command to dim the light source 105 to a desired intensity is provided by a control network. Management host 104 represents a control network. For one embodiment, the LED drive level is selected by interpolating between the closest values in gamma, aging, and temperature compensation tables. For one embodiment, the gamma, aging, and temperature compensation tables are programmed with photometric response, aging, and temperature characteristic curves specific to the driven LED source array, as described in further detail below.
A photometric sensor collocated with the light source 105 provides a feedback to the LED driver 101. LED driver 101 computes an error value and adds the error value to the drive level value that compensates for intensity variation and source aging from one light source to another light source. If the error value exceeds a predetermined threshold, the control network is notified so that maintenance may be performed.
As shown in
As shown in
The LED driver 101 outputs the LED drive command based on one or more tables (not shown in
The LED driver 101 receives an input LED setting information and determines compensation values according to the received input LED setting information and the one or more LED parameters. The LED driver 101 generates an output LED setting information based on the compensation values. The LED driver 101 determines a target dimming ratio based on target intensities of the LED source array associated with the one or more LED parameters, as described in further detail below.
For one embodiment, the LED driver 101 is configured to receive pulse width modulation (PWM) dimming waveform information. The PWM waveform information includes a PWM waveform slope, a PWM waveform shape, or a combination thereof. The LED driver is configured to modify one or more control loop parameters for the switch-mode power supply controller 1022 to dim the LED source 105 based on the PWM dimming waveform information, as described in further detail below. The LED driver 101 is configured to determine one or more drive parameters to drive the LED source 105 based on the modified one or more control loop parameters. The one or more drive parameters include a drive voltage parameter, a drive current parameter, a drive power parameter, or any combination thereof. The LED driver 101 is configured to output a PWM control signal based on the determined one or more drive parameters. The LED driver 101 is configured to determine one or more compensation values for one or more LED parameters. The LED driver is configured to modify the one or more control loop parameters based on the one or more compensation values, as described in further detail below. The LED driver 101 is configured to generate one or more control loop parameter modifiers using at least the PWM waveform information, as described in further detail below.
For one embodiment, the PWM dimming LED driver 101 is configured to determine the drive voltage and current characteristics through modulation of switch mode power supply control loop parameters (coefficients) implemented in a DSP. The PWM waveform is synthesized by modifying a drive voltage, a drive current, and/or a drive power on a periodic basis according to a wave shape (e.g.: sine, trapezoidal, arbitrary function, and other wave shapes) that is selected to minimize the negative environmental impacts of the PWM LED dimming, as described in further details below with respect to
For one embodiment, the PWM dimming LED system 100 uses a firmware-based DSP power regulation and control. The control algorithm only regulates the drive characteristics (parameters) during the ‘on’ period, otherwise the drive is idle. The drive parameters are configurable and programmable. The dimming LED system 100 is configured to modulate the output voltage and current of the regulator simulating a PWM waveform using a firmware-based DSP algorithm, as described in further details below with respect to
For one embodiment, the LED driver 101 coupled to the switch-mode power supply controller 102 are used to increase the LED source's useful life span, minimize radiated audible noises and electromagnetic interference (EMI), and provide full parametric control over the LED source drive, as described in further detail below.
For one embodiment, the dimming LED system 100 includes a DSP based switch mode power supply controller with firmware to facilitate control over one or more drive parameters, e.g., a drive current, a drive voltage, and/or a drive power, with these parameters taking the form of control loop coefficients. The PWM dimming function is emulated by modulating the control loop coefficients according to a synthesized waveform of a predetermined shape with the effect of smoothing the PWM drive, as described in further details below with respect to
For one embodiment, each of the daughter cards 201a, 201b, and 201c includes a two-channel DC/DC buck converter. The two-channel DC/DC buck converters of the daughter cards 201a, 201b and 201c have the same designs.
As shown in
As shown in
The DSP of the LED driver 101 controls the 6 channel DC/DC output of the switch-mode power supply controller to a pre-determined voltage level, a predetermined current level, or the predetermined voltage level and the predetermined current level. The DSP of the LED driver 101 senses an output current and an output voltage of each channel of the DC/DC buck converters. The DSP of LED driver 101 calculates a target pulse-width modulation (PWM) signal combining the programming signal for an output voltage and/or an output current to drive each channel of the buck converters of the switch-mode power supply controller 102. For one embodiment, the DSP of the LED driver 101 reports the sensing information and operating status to management host 104.
As shown in
LED driver 101 has a DSP sub-system for each of the two-channel DC/DC buck converters of the daughter cards 201a, 201b, and 201c. As shown in
The ADC block 301 is an analog to digital converter that resides in the digital signal processor integrated circuit of the LED driver 101 to convert a drive current representation of the LED light source 105 to a digital value. The ADC block 302 is an analog-to-digital converter that resides in the digital signal processor integrated circuit of the LED driver 101 to convert an anode voltage representation of the LED light source 105 to a digital value. As shown in
The resulting values of the ADC block 301 and the ADC block 302 are then digitally filtered via an averaging algorithm of the averaging function block 305 to reduce noise and digital conversion alias artifacts. These averaged and filtered values are then presented to control loop filter block 306 which determines the proper pulse width to be applied to the PWM control block 307 based upon target voltage and current drive characteristics and control loop response behavior coefficients provided by the loop coefficients block 308.
As shown in
As shown in
The DSP sub-system circuits of the LED driver 101 are configured to control six output channels of the DC/DC buck converters of the switch-mode power supply controller 102 to be at a pre-determined drive voltage level and a predetermined drive current level. Each of the DSP sub-system circuits of the LED driver 101 (1) senses the output current and the output voltage of the corresponding DC/DC buck converter of the switch-mode power supply controller, (2) calculates the demand PWM signal that combines the programming signal for the output voltage and current, and (3) outputs the PWM signal to drive the corresponding channel of the DC/DC buck converters.
The DSP sub-system of the LED driver 101 reports the sensing information and operating status to the management host 104. The DSP sub-system of the LED driver 101 senses the front end bus voltage (input for the buck circuit). The DSP sub-system of the LED driver 101 adjusts the front end bus voltage according to the load condition.
As shown in
For a non-limiting example, the dimming command includes a dimming ratio of 80% is received. In response to this dimming command, a drive current ratio of 87%, a drive voltage ratio of 99%, and a duty cycle ratio of 93% that correspond to the dimming ratio of 80% are selected as an output from the gamma compensation table 401.
Aging compensation table 402 maps target values of a drive current ratio (%), a drive voltage ratio (%), and a duty cycle ratio (%) needed to drive the LED light source that correspond to the target age (e.g., hours of life) of the LED light source. For one embodiment, target values of a drive current ratio (%), a drive voltage ratio (%), and a duty cycle ratio (%) are selected using the aging compensation table 402 based on an input from a lifetime counter 406. For one embodiment, lifetime counter 406 is an internal lifetime counter. For another embodiment, lifetime counter 406 is an external lifetime counter.
For a non-limiting example, the input from the lifetime counter 406 indicating that the age of the LED light source is 200 hours is received. In response to this input, a drive current ratio of 92%, a drive voltage ratio of 98%, and a duty cycle ratio of 95% that correspond to the 200 hours of life are selected as an output from the aging compensation table 402.
Temperature compensation table 403 maps target values of a drive current ratio (%), a drive voltage ratio (%), and a duty cycle ratio (%) needed to drive the LED light source that correspond to the target temperature of the LED light source. Values of a drive current ratio (%), a drive voltage ratio (%), and a duty cycle ratio (%) are selected using the temperature compensation table 403 based on an input from a source temperature block 407. Source temperature block 407 represents an external temperature sensor.
For a non-limiting example, the input from the source temperature block 407 indicating that the temperature of the LED light source is 40 degrees C. is received. In response to this input, a drive current ratio of 87%, a drive voltage ratio of 99%, and a duty cycle ratio of 93% that correspond to the temperature of 40 degrees C. are selected as an output from the temperature compensation table 403.
That is, the target values of the PWM duty-cycle, drive voltage, and drive current to drive the LED light source are selected based on the source aging and temperature characteristics and Gamma correction using compensation tables 401, 402, and 403. This beneficially extends the useful life of the light source and ensures optical consistence over service.
Each of the compensation tables 401, 402, and 403 has an arbitrary number of entries. A linear interpolation between the two nearest table entries is performed to ensure smooth transition across the dimming range. For one embodiment, the drive voltage, the drive current, and driving duty cycle are modified with modifier values that take into account the LED source aging.
As shown in
For one embodiment, a hybrid method of controlling dimming of an LED light source to compensate for the human photometric response, increase the source's useful life span, compensate for device tolerance variation, and nonlinearities in the LED source response to voltage, current, temperature, and aging is described. The system includes a digital signal processor (DSP) based switch mode power supply controller with firmware to implement parametric source compensation and life extension algorithms. The firmware modifies LED drive voltage and current according to desired dimming level according to tables describing operational characteristics. Optional sensors may be provided to measure operational characteristics to further compensate for accumulated errors, and provide feedback to control and management applications when operational parameters are exceeded.
For one embodiment, a dimming command is received from one or more control interfaces. Firmware in the DSP validates the command, then selects and interpolates values of the two closest entries in a table representing human photometric response and LED luminance characteristics with respect to a drive voltage and current, indexed by dimming ratio. The amount of LED drive current, drive voltage percentage is modified according to this interpolation. Meanwhile, another table represents luminance characteristics of the LED source with respect to temperature, and yet another table represents luminance with respect to operational lifetime. All these results are summed to modify the LED drive voltage and current to normalize the affect of these characteristics. For one embodiment, a sensor co-located with the LED source measures at least one of resulting luminance and color and provides a feedback to the LED driver which then further modifies the drive level. If the deviation of the drive parameter exceeds a predetermined amount, error information is passed to the control and management application.
The behavior management block 309 receives total compensation values of the drive voltage (V), drive current (I), and duty cycle (PWM %) 702, and a compensation measured error value from dimming control block 310, as described above. The behavior management block 309 receives the PWM dimming waveform information from management host 104, as shown in
An insert 704 shows components of the behavior management block 309. Behavior management block 309 includes a firmware oscillator 705 that receives the PWM dimming waveform information, e.g., a PWM waveform slope, a PWM waveform shape, or any combination thereof from management host 104. For one embodiment, a wave shape (e.g.: sine, trapezoidal, arbitrary function, or other wave shape) of the PWM waveform is selected to minimize the negative environmental impacts of the PWM LED dimming. Firmware oscillator 705 receives the total compensation value of the duty cycle (PWM %), as shown in
For one embodiment, a dimming command received by the LED driver 101 from the control interface (e.g., represented by management host 104) is processed into modifier ratios for drive voltage, current, and PWM duty cycle. The dimming command includes pulse width modulation (PWM) dimming waveform information, e.g., values representing the PWM waveform slope, shape, or both the PWM waveform slope and shape. The behavior management firmware block 309 processes these values into switch mode power supply control loop coefficients. In particular, when presented with a desired PWM duty cycle, the firmware oscillator 705 with a configurable wave shape is multiplied by the control loop coefficients, modulating drive characteristics. The results have the effect of ramping LED drive voltage and/or current up and down with the net duty cycle requested, but with an envelope determined by the wave shape. Because the envelope lacks hard transitions, radiated EMI and audible noise is minimized, and the smoothed response reduces the effect of observable stroboscopic flicker by blurring motion. Removing instantaneous ‘on’ transitions reduces thermal shock in LED junctions.
For one embodiment, system 900 includes a processor 901, one or more LED drivers 902, a memory 903, and one or more network interface devices 905, one or more input devices 906 and other input/output devices 908 that are connected via a bus or an interconnect 910. Processor 901 may represent a single processor or multiple processors with a single processor core or multiple processor cores included therein. Processor 901 may represent one or more general-purpose processors such as a microprocessor, a central processing unit (CPU), or other processor. More particularly, processor 901 may be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processor 901 may also be one or more special-purpose processors such as an application specific integrated circuit (ASIC), a cellular or baseband processor, a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, a graphics processor, a network processor, a communications processor, a cryptographic processor, a co-processor, an embedded processor, or any other type of logic capable of processing instructions.
Processor 901, which may be a low power multi-core processor socket such as an ultra-low voltage processor, may act as a main processing unit and central hub for communication with the various components of the system. Such processor can be implemented as a system on chip (SoC). Processor 901 is configured to execute instructions for performing the operations and/or steps discussed herein. System 900 may further include a graphics interface that communicates with optional graphics subsystem 904, which may include a display controller, a graphics processor, and/or a display device.
Processor 901 may communicate with one or more LED drivers 902 and memory 903. For one embodiment, memory 903 is implemented via multiple memory devices to provide for a given amount of system memory that incorporates one or more dimming commands of the one or more LED drivers 902. Memory 903 may include one or more volatile storage (or memory) devices such as random access memory (RAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), or other types of storage devices. Memory 903 may store information including sequences of instructions that are executed by processor 901 or any other device. For example, executable code and/or data of a variety of operating systems, device drivers, firmware (e.g., input output basic system or BIOS), and/or applications can be loaded in memory 903 and executed by processor 901. An operating system can be any kind of operating systems, such as, for example, Windows® operating system from Microsoft®, Mac OS®/iOS® from Apple, Android® from Google®, Linux®, Unix®, or other real-time or embedded operating systems such as VxWorks.
Network interface device 905 may include a wireless transceiver and/or a network interface card (NIC). The wireless transceiver may be a WiFi transceiver, an infrared transceiver, a Bluetooth transceiver, a WiMax transceiver, a wireless panel assembly telephony transceiver, a satellite transceiver (e.g., a global positioning system (GPS) transceiver), or other radio frequency (RF) transceivers, or a combination thereof. The NIC may be an Ethernet card.
Input device(s) 906 may include a mouse, a touch pad, a touch sensitive screen (which may be integrated with display device 904), a pointer device such as a stylus, and/or a keyboard (e.g., physical keyboard or a virtual keyboard displayed as part of a touch sensitive screen). For example, input device 906 may include a touch screen controller coupled to a touch screen. The touch screen and touch screen controller can, for example, detect contact and movement or a break thereof using any of multiple touch sensitivity technologies, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen.
I/O devices 907 may include an audio device. An audio device may include a speaker and/or a microphone to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and/or telephony functions. Other IO devices 907 may further include universal serial bus (USB) port(s), parallel port(s), serial port(s), a printer, a network interface, a bus bridge (e.g., a PCI-PCI bridge), sensor(s) (e.g., a motion sensor such as an accelerometer, gyroscope, a magnetometer, a light sensor, compass, a proximity sensor, etc.), or a combination thereof. Devices 907 may further include an imaging processing subsystem (e.g., a camera), which may include an optical sensor, such as a charged coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) optical sensor, utilized to facilitate camera functions, such as recording photographs and video clips. Certain sensors may be coupled to interconnect 910 via a sensor hub (not shown), while other devices such as a keyboard or thermal sensor may be controlled by an embedded controller (not shown), dependent upon the specific configuration or design of system 900.
To provide for persistent storage of information such as data, applications, one or more operating systems and so forth, a mass storage (not shown) may also couple to processor 901. In various embodiments, to enable a thinner and lighter system design as well as to improve system responsiveness, this mass storage may be implemented via a solid state device (SSD). For other embodiments, however, the mass storage may primarily be implemented using a hard disk drive (HDD) with a smaller amount of SSD storage to act as a SSD cache to enable non-volatile storage of context state and other such information during power down events so that a fast power up can occur on re-initiation of system activities. In addition, a flash device may be coupled to processor 901, e.g., via a serial peripheral interface (SPI). This flash device may provide for non-volatile storage of system software, including a basic input/output software (BIOS) as well as other firmware of the system.
Storage device 908 may include computer-accessible storage medium 909 (also known as a machine-readable storage medium or a computer-readable medium) on which is stored one or more sets of instructions or software embodying any one or more of the methodologies or functions described herein. Embodiments described herein may also reside, completely or at least partially, within memory 903, and/or within processor 901 during execution thereof by data processing system 900, memory 903, and processor 901 also constituting machine-accessible storage media. Modules, units, or logic configured to implement the embodiments described herein may further be transmitted or received over a network via network interface device 905.
Computer-readable storage medium 909 may also be used to store some software functionalities described above persistently. While computer-readable storage medium 909 is shown in an exemplary embodiment to be a single medium, the term “computer-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The terms “computer-readable storage medium” shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the embodiments described herein. The term “computer-readable storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media, or any other non-transitory machine-readable medium.
Components and other features described herein can be implemented as discrete hardware components or integrated in the functionality of hardware components such as ASICS, FPGAs, DSPs, or similar devices. In addition, any of the components described above in connection with any one of
Note that while system 900 is illustrated with various components of a data processing system, it is not intended to represent any particular architecture or manner of interconnecting the components; as such, details are not germane to embodiments described herein. It will also be appreciated that network computers, handheld computers, mobile phones, servers, and/or other data processing systems, which have fewer components or perhaps more components, may also be used with embodiments described herein.
In the foregoing specification, embodiments have been described with reference to specific exemplary embodiments thereof. It will be evident that various modifications may be made thereto without departing from the broader spirit and scope. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.