The invention relates to the field of control systems and in particular to a method of sampling and controlling a plurality of pulse density modulated signals, preferably pulse width modulated signals.
Light emitting diodes (LEDs) and in particular high intensity and medium intensity LED strings are rapidly coming into wide use for lighting applications. LEDs with an overall high luminance are useful in a number of applications including, but not limited to, backlighting for liquid crystal display (LCD) based monitors and televisions, collectively hereinafter referred to as monitors. In a large monitor the LEDs are typically supplied in one or more strings of serially connected LEDs, thus sharing a common current.
In order to supply a white backlight for the monitor, one of two basic techniques are commonly used. In a first technique one or more strings of “white” LEDs are utilized, the white LEDs typically comprising a blue LED with a phosphor which absorbs the blue light emitted by the LED and emits a white light. In a second technique, one or more individual strings of colored LEDs are placed in proximity so that in combination their light is seen as a white light. Often, two strings of green LEDs are utilized to balance one string each of red and blue LEDs.
In either of the two techniques, the strings of LEDs are in one embodiment located at one end or one side of the monitor, the light being diffused to appear behind the LCD by a diffuser. In another embodiment the LEDs are located directly behind the LCD, the light being diffused by a diffuser so as to avoid the appearance of hot spots. In the case of colored LEDs, a further mixer is required, which may be part of the diffuser, to ensure that the light of the colored LEDs are not viewed separately, but are rather mixed to give a white light. The white point of the light is an important factor to control, and much effort in design and manufacturing is centered on the need for a controlled white point.
Each of the colored LED strings is typically controlled by both amplitude modulation (AM) and pulse density modulation (PDM), typically by pulse width modulation (PWM), PWM being a particular embodiment of PDM, to achieve an overall fixed perceived luminance and white point. AM is typically used to set the white point produced by the disparate colored LED strings by setting the constant current flow through the LED strings to a value determined as part of a white point calibration process and PWM is typically used to variably control the overall luminance, or brightness, of the monitor without affecting the white point balance. Thus the current, when pulsed on, is held constant to maintain the white point produced by the combination of disparate colored LED strings, and the PWM duty cycle, i.e. the percentage of the PWM period for which the PWM signal is active, is controlled to dim or brighten the backlight by adjusting the average current over time. The PWM duty cycle of each color is further modified to maintain the white point, preferably responsive to a color sensor. It is to be noted that different colored LEDs age, or reduce their luminance as a function of current, at different rates and thus the PWM duty cycle of each color must be modified over time to maintain the white point. Thus, LED strings of various colors, which may be controlled by a single controller, will over time typically exhibit differing PWM duty cycles.
Each of the disparate colored LED strings has a voltage requirement associated with the forward voltage drop of the LEDs and the number of LEDs in the LED string. In the event that multiple LED strings of each color are used, the voltage drop across strings of the same color having the same number of LEDs per string may also vary due to manufacturing tolerances and temperature differences. Ideally, separate power sources are supplied for each LED string, the power sources being adapted to adjust their voltage output to be in line with voltage drop across the associated LED string. Such a large plurality of power sources effectively minimizes excess power dissipation; however the requirement for a large plurality of power sources is costly.
An alternative solution, which reduces the number of power sources required, is to supply a single power source for each color. Thus a plurality of LED strings of a single color is driven by a single power source, and the number of power sources required is reduced to the number of different colors, i.e. typically to 3. Unfortunately, since as indicated above, different LED strings of the same color may exhibit different voltage drops, such a solution further requires an active element in series with each LED string to compensate for the differing voltage drops so as to ensure an essentially equal current through each of the LED strings of the same color.
One known problem of LCD matrix displays is motion blur. One cause of motion blur is that the response time of the LCD is finite. Thus, there is a delay from the time of writing to the LCD pixel until the image changes. Furthermore, since each pixel is written once per frame, and is then held until the next frame, smooth motion is not possible. The eye notices the image being in the wrong place until the next sample, and interprets this as blur or smear.
This problem is addressed by a scanning backlight, in which the matrix display is divided into a plurality of regions, or zones, and the backlight for each zone is illuminated for a short period of time in synchronization with the writing of the image. Ideally, the backlighting for the zone is illuminated just after the pixel response time, and the illumination is held for a predetermined illumination frame time whose timing is associated with the particular zone. Thus, the display is only illuminated for a short period of time and is not senses as being in the wrong place.
An additional known problem of LCD monitors is the lack of contrast, and in particular in the presence of ambient light. An LCD monitor operates by providing two linear polarizers whose orientation in relation to each other is adjustable. If the linear polarizers are oriented orthogonally to each other, light from the backlight is prevented from being transmitted in the direction of the viewer. If the linear polarizers are aligned, the maximum amount of light is transmitted in the direction of the viewer. Unfortunately, a certain amount of light leakage occurs when the polarizers are oriented orthogonally to each other, thus reducing the overall contrast.
This problem is addressed by adding dynamic capability to the scanning backlight, the dynamic capability adjusting at least one of the overall luminance and the white point of the backlight for each zone responsive to the video signal. Thus, in the event of a dark scene, the backlight luminance is reduced thereby improving the contrast.
The addition of dynamic and scanning capability adds to complexity, and may result in certain LED strings of a particular color exhibiting a PWM duty rate different from other LED strings of the same color. Thus, each LED string controlled by a particular controller may exhibit a particular PWM duty rate unrelated to the PWM duty rate of another LED string controlled thereby.
U.S. patent application Ser. No. 11,676,313, filed Feb. 19, 2007 in the name of Korcharz et al, entitled “Voltage Controlled Backlight Driver”, the entire contents of which is incorporated by reference, is addressed to a system and method for controlling the output voltage of a power supply driving a plurality of LED strings, each of which is driven by a particular PWM signal. Such a system and method is preferably supported by a method and system for rapidly and consistently sampling the current through each of the plurality of LED strings and/or the voltage across each of the current limiters associated with the LED strings. It is to be understood that sampling the current and/or voltage, typically via an analog to digital (A/D) converter, takes a predetermined period of time, and a PWM channel, such as a LED string, is only active during a portion of a PWM period, the ratio of the active portion period to the total PWM period being denoted the PWM duty cycle.
The above mentioned application further discloses detecting an error condition of the LED strings, such as a short circuit, responsive to the sampling. Such an error detection is preferably supported by a method and system for rapidly sampling the current through each of the plurality of LED strings and/or the voltage drop across each of the current limiters associated with the LED strings when the PWM signal is active so as to rapidly detect a full or partial short circuit condition prior to burn out of one or more of the current limiters or damage to other circuit elements.
In view of the discussion provided above and other considerations, the present disclosure provides methods and apparatus to overcome some or all of the disadvantages of prior and present methods of sampling and controlling a plurality of pulse density modulated signals. Other new and useful advantages of the present methods and apparatus will also be described herein and can be appreciated by those skilled in the art.
Embodiments hereof provide a method and system for rapidly sampling an electrical condition of each of a plurality of independent PWM driven channels. Identifiers of the PWM driven channels are arranged in a queue and polling is done in a round robin of the queue. A plurality of settable flags, each associated with a particular PWM driven channel, is defined and a pointer is set to the first channel in the queue.
Prior to sensing the electrical condition of a particular channel in the queue, the status of the both the respective settable flag and the PWM driving signal is checked. In the event that the settable flag is not set, i.e. the PWM channel has not been sampled, the driving signal is active and the channel is stable, i.e. current is flowing stably through the PWM channel, the electrical condition is sampled and the respective settable flag is set. In the event that either the settable flag is set, i.e. the PWM channel has been sampled, the driving signal is not active, or the current is not stably flowing through the PWM channel, the channel is skipped and the next channel in the queue, for which the settable flag is not set and the PWM signal is active and the channel is stable, is sampled.
Thus, an active stable PWM channel is quickly found and sampled, avoiding a situation of starvation of certain PWM channels when all PWM channels exhibit small duty cycles occurring at the same, or nearly the same, time. The routine continues until all channels in the queue have been sampled and the respective settable flags have all been set. The settable flags are then all cleared, and the pointer is reset to the first channel in the queue.
Additional features and advantages will become apparent from the following drawings and description.
For a better understanding, reference will now be made, purely by way of example, to the accompanying drawings in which like numerals designate corresponding elements or sections throughout.
With specific reference now to the drawings in detail, it is stressed that the particulars shown are by way of example and for purposes of illustrative discussion of certain embodiments only. In this regard, no attempt is made to show structural details in more detail than is necessary for a fundamental understanding, the description taken with the drawings making apparent to those skilled in the art how the several forms may be embodied in practice. In the accompanying drawings:
Embodiments hereof enable a method and system for rapidly and consistently sampling an electrical condition of each of a plurality of independent PWM driven channels. Identifiers of the PWM driven channels are arranged in a queue and polling is done in a round robin of the queue. A plurality of settable flags, each associated with a particular PWM driven channel, is defined and a pointer is set to the first channel in the queue.
Prior to sensing the electrical condition of a particular channel in the queue, the status of the both the respective settable flag and the PWM driving signal is checked. In the event that the settable flag is not set, and the driving signal is active, and preferably the channel is stable, the electrical condition of the channel is sampled and the respective settable flag is set. In the event that either the settable flag is set or the driving signal and resultant channel is not active and stable, the channel is skipped and the next channel in the queue, for which the settable flag is not set and the PWM signal is active and the channel is stable, is sampled. Thus, an active stable PWM channel is quickly found and sampled.
Before explaining at least one embodiment in detail, it is to be understood that the invention is not limited in application to the details of construction and the arrangement of the components set forth in the following description or illustrated in the drawings. The invention is applicable to being practiced or carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein is for the purpose of description and should not be regarded as limiting.
PWM signal generators 135 preferably each comprise a pulse width modulator in communication with control circuitry 120, and responsive thereto, operative to pulse width modulate the constant current through the respective LED string 30 via respective PWM signal 139. Preferably, PWM signal generators 135 each further output to control circuitry 120 stability signal 137 as will be described further hereinto below. Each current limiter and LED string driver 35 is associated with, and responsive to, a particular PWM signal 139 output by a respective PWM signal generator 135, however this is not meant to be limiting in any way. In one embodiment each current limiter and LED string driver 35 may be connected via switchable settings to any of the plurality of PWM signal generators 135, and thus a plurality of current limiters and LED string drivers 35 may be responsive to a single PWM signal generator 135.
A first end of each LED string 30 is connected to a common output of controllable voltage source 20. A second end of each LED string 30 is connected to one end of current limiter and LED string driver 35 at the drain of the respective FET 40 and to a respective input of multiplexer 190. The source of the respective FET 40 is connected to a first end of the respective sense resistor Rsense, and the second end of the respective Rsense is connected to ground. The first end of the respective Rsense is further connected to a first input of the respective comparator 50 of the respective current limiter and LED string driver 35 and to a respective input of multiplexer 190. The gate of each FET 40 is connected to the output of the respective comparator 50 and to a first end of respective pull down resistor 160. A second end of each pull down resistor 160 is connected to a common point.
A second input of each comparator 50 is connected to the output of the respective D/A converter 140 and the enable input of each comparator 50 is connected to the output of the respective PWM signal generator 135. The input of each D/A converter 140 is connected to a respective output of control circuitry 120 and the output of multiplexer 190, which is illustrated as an analog multiplexer, is connected to the input of A/D converter 150, which preferably incorporates a sample and hold circuitry at its input (not shown). The digitized output of A/D converter 150 is connected to a respective input of control circuitry 120, the clocking input of A/D converter 150 is connected to a respective output of control circuitry 120 and the select input of multiplexer 190 is connected to a respective output of control circuitry 120. The output of thermal sensor 180 is connected to a respective input of control circuitry 120 and the output of color sensor 70 is connected to a respective input of control circuitry 120.
Controllable voltage source 20 is shown as being controlled by an output of control circuitry 120, however this is not meant to be limiting in any way and in another embodiment a multiplexed analog feedback loop is utilized.
In operation, control circuitry 120 sets the nominal current through each LED string 30 via the respective D/A converter 140 and the current limiter and LED string driver 35, and in one embodiment initially sets the voltage output of controllable voltage source 20 to a minimum nominal voltage and each of the current limiter and LED string driver 35 to a minimum current setting. The current through each LED string 30 is sensed via a respective sense resistor Rsense, sampled and digitized via multiplexer 190 and A/D converter 150 and fed to control circuitry 120. Multiplexer 190 is illustrated as an analog multiplexer so as to enable the use of a single A/D converter 150, however this is not meant to be limiting in any way. In other embodiment each sampled current of a respective sense resistor Rsense is digitized by an associated A/D converter, and the digital outputs are multiplexed to control circuitry 120.
The voltage drop across each current limiter and LED string driver 35 is sampled and digitized via multiplexer 190 and A/D converter 150 and fed to control circuitry 120. Control circuitry 120 selects a particular one of the LED strings 30, or a function of the LED strings 30, and controls the output of controllable voltage source 20 responsive to an electrical characteristic thereof. In one embodiment a LED string 30 is selected so as to minimize power dissipation, in another embodiment a LED string 30 is selected so as to ensure a precisely matching current in each of the LED strings 30, and in yet another embodiment a function of the LED strings 30 is selected as a compromise between precisely matched currents and minimized power dissipation. Control circuitry 120 further acts to compensate for aging when the PWM duty cycle of respective PWM signal generator 135 has reached a predetermined maximum by modifying the PWM duty cycle of PWM signal generator 135 and/or adjusting the current flow via the respective D/A converter 140.
Control circuitry 120 sets the current limit of the LED strings 30 via the respective D/A converter 140. In particular FET 40, responsive to comparator 50, ensures that the voltage drop across sense resistor Rsense is equal to the output of the respective D/A converter 140. Control circuitry 120 further acts to receive the output of color sensor 70, and modify the duty cycle of the respective PWM signal generators 135 so as to maintain a predetermined white point and/or luminance. The PWM duty cycle is operated by the enabling and disabling of the respective comparator 50 under control of the respective PWM signal generator 135 thereby enabling current flow during the active portion of PWM signal 139 and disabling current flow during the inactive portion of PWM signal 139.
The above has been described in an embodiment in which during the inactive portion of PWM signal 139 current flow is disabled, however this is not meant to be limiting in any way. In another embodiment, as described in U.S. Patent Application Publication S/N US 2004/0135522 A1 published Jul. 15, 2004 to Berman et al, the entire contents of which is incorporated by reference, PWM signal 139 is arranged to reduce the current through the LED strings 30 during the inactive portion of PWM signal 139 to a dark current level.
In one embodiment, control circuitry 120 further inputs temperature information from one or more thermal sensors 180. In the event that one or more thermal sensors 180 indicate that temperature has exceeded a predetermined limit, control circuitry 120 acts to reduce power dissipation so as to avoid thermal overload. In yet another embodiment, control circuitry 120 detects an instantaneous change in voltage drop across any of the plurality of current limiter and LED string drivers 35 indicative of short circuit in one or more constituent LEDs of the respective LED strings 30. Control circuitry 120 acts to adjust one or more parameters, including but not limited to adjusting the instantaneous current via D/A converter 140 and adjusting the output of controllable voltage source 20, and/or shut down the short circuited LED string 30 so as to avoid overload and burnout of the respective current limiter and LED string 35 and/or damage to one or more of the LEDs of short circuited LED string 30 and the printed circuit board.
As will be explained further hereinto below in relation to
In accordance with certain embodiments, the PWM channels, represented by LED stings 30, or preferably an identifier associated therewith, are arranged in a round robin queue, a pointer initialized and the settable flags 130 each associated with a particular PWM channel are cleared. Prior to sampling a PWM channel, the state of the respective settable flag 130 and the state of stability signal 137, representing a function of PWM signal 139 output by PWM signal generator 135 associated with the particular channel is first checked, the function being selected to ensure that the voltages to be sampled responsive to PWM signal 139 being active are stable.
In the event that the respective settable flag 130 is set, or stability signal 137 of the PWM signal generator 135 associated with the LED string 30 is not indicative that the PWM signal is active and stable, sampling of the PWM channel is deferred. In the event that the respective settable flag 130 is not set and stability signal 137 of the PWM signal generator 135 associated with the LED string 30 is indicative that the PWM signal is active and stable, the appropriate samples are input to control circuitry 120, and the respective settable flag 130 is set in response. Preferably, the status of stability signal 137 of the PWM signal generator 135 associated with the LED string 30 is confirmed after the sample is taken, and only in the event of confirmation is the respective settable flag 130 set. Once all of the settable flags 130 are set, the settable flags 130 are cleared and the pointer reinitialized. In a preferred embodiment the PWM channels are polled in a round robin order.
In the event that the PWM signal 139 associated with the LED string 30 is active, in stage 1020 the voltage drop across the respective Rsense, associated with the LED string 30, i, and representative of the current through LED string 30, i, is input via multiplexer 190 and A/D converter 150. In stage 1030, the voltage drop across current limiter and LED string driver 35, i, representative of the power dissipation there through and changes to which are representative of changes in one or more LEDs of the respective LED string 30, is input via multiplexer 190 and A/D converter 150.
In stage 1040, pointer i is compared with a last pointer. In the event that pointer i points to the last channel, stage 1000 is performed as described above. In the event that pointer i does not point to the last channel, in stage 1050 pointer i is indexed by 1, and stage 1010 as described above, including the inherent wait state, is performed.
Thus, the method of
In stage 2020, the status of settable flag 130, i is checked. In the event that settable flag 130, i is not set, i.e. the PWM channel pointed to by pointer i has not yet been sampled, in stage 2030 the state of stability signal 137 of PWM signal generator 135, i is checked. In the event that stability signal 137 of PWM signal generator 135, i is active, in stage 2040 the voltage drop across Rsense, i representative of the current through LED string 30, i, is input via multiplexer 190 and A/D converter 150. In stage 2050, the voltage drop across current limiter and LED string driver 35, i, representative of the power dissipation there through and changes to which are representative of changes in one or more constituent LEDs of the respective LED string 30, is input via multiplexer 190 and A/D converter 150. In stage 2060, the state of stability signal 137 of PWM signal generator 135, i is again checked to confirm that the sampling of stages 2040, 2050 above were valid. In the event that stability signal 137 of PWM signal generator 135, i remains active, in stage 2070 settable flag 130, i is set.
In stage 2080, the status of all settable flags 130 are checked. In the event that all settable flags 130 have been set, stage 2010 as described above is performed. In the event that in stage 2080 all settable flags 130 have not been set, in stage 2090 pointer i is indexed to the next channel in the round robin, and stage 2020 as described above is performed.
In the event that in stage 2020, settable flag 130, i is set, i.e. the PWM channel pointed to by pointer i has already been sampled, stage 2090 as described above is performed. In the event that in stage 2030, stability signal 137 of PWM signal generator 135, i is not active, stage 2090 as described above is performed. In the event that in stage 2060, stability signal 137 of PWM signal generator 135, i is not active, stage 2090 as described above is performed.
Stability signal 137 is a function of PWM signal 139 and is preferably derived by predicting the end of the respective PWM duty cycle. In one embodiment, stability signal 137 is active for a predetermined time period ending substantially coincidentally with the end of the active portion of PWM signal 139. In another embodiment, stability signal 137 is active for a predetermined time period in relation to the end of the active portion of PWM signal 139. The length of the predetermined time period in either embodiment is primarily dependent of the sampling speed and set up time of A/D converter 150 in cooperation of multiplexer 190. Stability signal 137 is thus active coincidental with voltage drop waveform 230 being substantially stable. Advantageously, stability signal 137 exhibits timing in relation to the end of PWM signal 139, as opposed to timing in relation to the beginning of PWM signal 139 of the prior art. Timing in relation to the end of PWM signal 139 maximizes the distance from ringing waveform 240, enabling timing to be set irrespective of the implementation of controllable voltage source 20.
Thus, embodiments hereof enable a method and system for rapidly and consistently sampling an electrical condition of each of a plurality of independent PWM driven channels. Identifiers of the PWM driven channels are arranged in a queue and polling is done in a round robin of the queue. A plurality of settable flags, each associated with a particular PWM driven channel, is defined and a pointer is set to the first channel in the queue.
Prior to sensing the electrical condition of a particular channel in the queue, the status of the both the respective settable flag and the PWM driving signal is checked. In the event that the settable flag is not set, i.e. the PWM channel has not been sampled, and the driving signal is active and the channel is stable, i.e. current is flowing stably through the PWM channel, the electrical condition is sampled and the respective settable flag is set. In the event that either the settable flag is set, i.e. the PWM channel has been sampled, or the driving signal is not active, or the current is not stably flowing through the PWM channel, the channel is skipped and the next channel in the queue, for which the settable flag is not set and the PWM signal is active and the channel is stable, is sampled.
Thus, an active stable PWM channel is quickly found and sampled, avoiding a situation of starvation of certain PWM channels when all PWM channels exhibit small duty cycles occurring at the same, or nearly the same, time. The routine continues until all channels in the queue have been sampled and the respective settable flags have all been set. The settable flags are then all cleared, and the pointer reset to the first channel in the queue.
The above has been described in relation to an embodiment in which the channels are driven with a PWM signal, however this is not meant to be limiting in any way, and is equally applicable to other modulation techniques including, but not limited to, pulse density modulation.
It is appreciated that certain features, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, various features which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable subcombination.
Unless otherwise defined, all technical and scientific terms used herein have the same meanings as are commonly understood by one of ordinary skill in the art to which this invention belongs. Although methods similar or equivalent to those described herein can be used in the practice or testing of the present invention, suitable methods are described herein.
All publications, patent applications, patents, and other references mentioned herein are incorporated by reference in their entirety. In case of conflict, the patent specification, including definitions, will prevail. In addition, the materials, methods, and examples are illustrative only and not intended to be limiting.
It will be appreciated by persons skilled in the art that the present invention is not limited to what has been particularly shown and described hereinabove. Rather the scope of the present invention is defined by the appended claims and includes both combinations and subcombinations of the various features described hereinabove as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not in the prior art.
This application claims priority from U.S. Provisional Patent Application Ser. No. 60/950,122 filed Jul. 17, 2007, entitled “Method of Sampling a Modulated Signal Driven Channel”, the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
7317403 | Grootes et al. | Jan 2008 | B2 |
7605550 | Ferentz et al. | Oct 2009 | B2 |
7812297 | Blaut et al. | Oct 2010 | B2 |
20050212459 | Patel et al. | Sep 2005 | A1 |
20070159421 | Peker et al. | Jul 2007 | A1 |
20070182701 | Kim et al. | Aug 2007 | A1 |
20070195025 | Korcharz et al. | Aug 2007 | A1 |
20080018267 | Arakawa et al. | Jan 2008 | A1 |
20090189530 | Ashdown et al. | Jul 2009 | A1 |
Number | Date | Country | |
---|---|---|---|
20090021384 A1 | Jan 2009 | US |
Number | Date | Country | |
---|---|---|---|
60950122 | Jul 2007 | US |