US 20090034249 A1
Disclosed examples of lighting systems having at least three light sources of different colors may be controlled by validating input settings representing chromaticity and/or intensity of desired light to be generated by determining if the respective lighting system is capable of generating the desired light. This may involve comparing the chromaticity and/or intensity to a three-dimensional gamut representing chromaticity and associated intensities that the lighting system is capable of generating. The top contour of the gamut represents the maximum intensities for every chromaticity which the lighting system is capable of generating. Specifically the top contour is defined by points representing the maximum attainable intensities that each light source is capable of generating and the maximum intensity attainable by the lighting system.
1. A method for setting operational limitations of a lighting system comprising at least first, second and third light sources generating light of respective first, second and third colors wherein the lighting system is configured to output light containing controlled amounts of light generated by at least one of the first, second and third light sources, the method comprising steps of:
(a) determining a first maximum attainable intensity of light by measuring light output from the lighting system where the first light source is turned on and the second and third light sources are turned off;
(b) determining a second maximum attainable intensity of light by measuring light output from the lighting system where the second light source is turned on and the first and third light sources are turned off;
(c) determining a third maximum attainable intensity of light by measuring light output from the lighting system where the third light source is turned on and the first and second light sources are turned off;
(d) determining a maximum intensity of light attainable by the lighting system represented by light generated by the first, second and third light sources; and
(e) setting the lighting system to determine whether or not desired light corresponding to a given input setting to the lighting system is within a three-dimensional gamut representing colors of light and corresponding attainable intensities that the lighting system is capable of generating wherein a top contour of the gamut is defined by points corresponding to the first, second and third maximum attainable intensities and the maximum intensity of light attainable by the lighting system.
The present subject matter relates to control of lighting systems having multiple light sources each of which are capable of outputting different colors of light, based on a determination that an input setting corresponds to an operational setting within the range of output performance of a particular lighting system.
An increasing variety of lighting applications require a precisely controlled spectral characteristic of the radiant energy. It has long been known that combining the light of one color with the light of another color creates a third color. For example, the commonly used primary colors Red, Green and Blue of different amounts can be combined to produce almost any color in the visible spectrum. Adjustment of the amount of each primary color enables adjustment of the spectral properties of the combined light stream. Recent developments for selectable color systems have utilized light emitting diodes or other solid state light sources as the sources of the different light colors.
Light emitting diodes (LEDs) for example were originally developed to provide visible indicators and information displays. For such luminance applications, the LEDs emitted relatively low power. However, in recent years, improved LEDs have become available that produce relatively high intensities of output light. These higher power LEDs, for example, have been used in arrays for traffic lights. Today, LEDs are available in almost any color in the color spectrum.
Additionally, for many lighting applications, an LED based fixture incorporates a circuit board supporting and providing electrical connections to a number of individually packaged LEDs. Often the LEDs are arranged in a fairly tight matrix array (see e.g. U.S. Pat. No. 6,016,038), although a variety of other arrangements are known. For example, U.S. Pat. No. 6,995,355 to Rains, Jr. et al. discloses lighting systems using circular or linear arrangements of LED sets as well as rectangular matrix arrangements and other position patterns. In the noted examples, the sets of LEDs have included LEDs configured for emitting different individual colors or wavelengths (e.g. red, green and blue), although the U.S. Pat. No. 6,995,355 patent also suggests inclusion of white LEDs or other white light sources. The red, green and blue light allows adjustment and control of the character of the combined light emitted by the system. As the quality of white LEDs continues to improve, newer lights will utilize similar arrangements of LEDs where all or some the LEDs are white LEDs. Even with white light systems, some implementations use multiple colors and light mixing to provide color temperature adjustment.
It is well known that many different combinations of wavelengths can produce the same perception of color, and that “Chromaticity” has been long been used to describe the perceived color of a visual stimulus of a human. Many models have been used describe Chromaticity. In one implementation, the CIE system characterizes a given visual stimulus by a luminance parameter Y and two chromaticity coordinates x and y that specify a particular point on the well-known chromaticity diagram. The CIE system parameters Y, x and y are based on the spectral power distribution of the energy emission from a light source. This model also takes into consideration various color sensitivity functions which correlate generally with the response of the human eye.
Also, commonly used primary colors Red, Green and Blue of different amounts can be combined to produce almost any color in the visible spectrum in a lighting system. These colors can be represented by the CIE tristimulus values, commonly referred to as X, Y, and Z, respectively, and as illustrated by
However, LEDs have different operating characteristics such that no two LEDs are producing the identical color of light or intensity. If mass producing light fixtures that produce combined light, it is conceivable that no two light fixtures are able to produce the same light for all input settings. Hence, a need exists for a way to validate input settings to an LED fixture so as to avoid generating unintended light, and to perform the task in an efficient manner that can be implemented on a large production scale. Preferably, such a technique should offer an increased degree of responsiveness to user inputs.
The teachings herein alleviate one or more of the above noted problems by providing methods for defining operational limitations and/or lighting system and/or control of a lighting system comprising at least first, second and third light sources generating light of respective first, second and third colors. Also, the lighting system is configured to output light containing controlled amounts of light generated by at least one of the first, second and third light sources.
The operational limitations of the lighting system may be determined by determining a first maximum attainable intensity of light by measuring light output from the lighting system where the first light source is turned on and the second and third light sources are turned off. This is repeated for the second and third light sources. Specifically, a second maximum attainable intensity of light may be determined by measuring light output from the lighting system where the second light source is turned on and the first and third light sources are turned off. Also, a third maximum attainable intensity of light may be determined by measuring light output from the lighting system where the third light source is turned on and the first and second light sources are turned off. A maximum intensity of light attainable by the system represented by light generated by the first, second and third light sources may be determined as well. Accordingly, the lighting system may be set to determine whether or not desired light corresponding to a given input setting to the lighting system is within a three-dimensional gamut representing colors of light and corresponding attainable intensities that the lighting system is capable of generating. The top contour of the gamut is defined by points corresponding to the first, second and third maximum attainable intensities and the maximum intensity of light attainable by the lighting system.
Another implementation of novel concepts discussed herein is a method for processing input color parameters of chromaticity and intensity to a lighting system and controlling illumination outputs of a plurality of light sources of the lighting system to generate a desired color of light corresponding to the input color parameters. This may be accomplished by determining whether the input color parameters of chromaticity and intensity places the desired color inside or outside of a gamut representing colors of light of which the lighting system is capable of generating. The gamut is defined by a 3-dimensional coordinate system whereby each axis thereof corresponds to chromaticity or intensity values. Accordingly, the plurality of light sources are driven to emit light having the desired color when the input color parameters of chromaticity and intensity places the desired color within the gamut.
The foregoing may be implemented in a system for emitting light. The system includes a plurality of light sources for emission of light and for thereby producing visible light to form a light at least of portion of which is output from the system and a microcontroller for processing newly user inputted color parameters and controlling illumination emissions of the plurality of light sources. The microcontroller is configured to evaluate the gamut defined by the 3-dimensional coordinate system of chromaticity and intensity values, where the gamut is representative of colors of light in which the system is capable of generating. Moreover, the microcontroller executes the method described above for determining if the system is capable of generating light of the desired color.
Yet another implementation of the novel concepts discussed herein is a method for correcting a color parameter corresponding to a desired color having specific chromaticity and intensity values that is input to a lighting system comprising a plurality of light sources for generating light where the lighting system is not capable of generating light corresponding to the desired color. This may be accomplished by evaluating at least one of specific chromaticity and intensity values with respect to a gamut representing colors of light of which the lighting system is capable of generating where the gamut is defined by a 3-dimensional coordinate system. Each axis of the gamut corresponds to chromaticity or intensity values. Also, at least one of the specific chromaticity and intensity values to be corrected is such as to place the desired color outside of the gamut. Accordingly, the at least one of the specific chromaticity and intensity values may be changed to select a color within the gamut.
The foregoing may be implemented in a system for emitting light. The system includes a plurality of light sources for emission of light and for thereby producing visible light to form a light at least of portion of which is output from the system and a microcontroller for processing newly user inputted color parameters and controlling illumination emissions of the plurality of light sources. The microcontroller is configured to evaluate the gamut defined by the 3-dimensional coordinate system of chromaticity and intensity values, where the gamut is representative of colors of light in which the system is capable of generating. Moreover, the microcontroller executes the method described above for adjusting the newly input color parameters.
The detailed description below discloses details of the aforementioned methods as well as methods of operating a lighting system that has been set as described herein. Moreover, the detailed description describes such a lighting apparatus that is capable of being set in the described manner.
Additional advantages and novel features will be set forth in part in the description which follows, and in part will become apparent to those skilled in the art upon examination of the following and the accompanying drawings or may be learned by production or operation of the examples. The advantages of the present teachings may be realized and attained by practice or use of the methodologies, instrumentalities and combinations particularly pointed out in the appended claims.
The drawing figures depict one or more implementations in accord with the present teachings, by way of example only, not by way of limitation. In the figures, like reference numerals refer to the same or similar elements.
In the following detailed description, numerous specific details are set forth by way of examples in order to provide a thorough understanding of the relevant teachings. However, it should be apparent to those skilled in the art that the present teachings may be practiced without such details. In other instances, well known methods, procedures, components, and circuitry have been described at a relatively high-level, without detail, in order to avoid unnecessarily obscuring aspects of the present teachings.
The examples presented below provide solutions to the aforementioned problems of generating unintended light in the conventional lighting art. Specifically, the inventors have found that solid state lighting systems may be set to generate combined light having desired colors and intensities of which the lighting system is capable of generating. Consider for example a light distribution apparatus or system 100 as illustrated by
At least a substantial portion of the interior surface(s) of the optical cavity 102 exhibit(s) diffuse reflectivity. It is desirable that the cavity surface have a highly efficient reflective characteristic, e.g. a reflectivity equal to or greater than 90%, with respect to the relevant light wavelengths. For example, the interior surface of that illustrated by
As illustrated by
The optical integrating cavity 102 has an optical aperture 108 as a transmissive path for allowing emission of combined radiant energy. In the example, the aperture 108 is a passage through the approximate center of the cover plate 106, although the aperture may be at any other convenient location on the plate or the dome. Because of the diffuse reflections within the cavity 102, light within the cavity is integrated, mixed or combined before passage thereof out of the aperture 108. In other words, the system 100 is capable of emitting combined light downward through the aperture 108. However, the light fixture part of the system 100 may be oriented in any desired direction to perform a desired application function, for example to provide visible illumination of persons or objects in a particular direction or location with respect to the fixture or to illuminate an area or room. Although only a single aperture is shown, the fixture 112 may include multiple apertures. Also, in some applications, it may be desirable for some of the light combined within the cavity 102 to pass through a transmissive portion of the cavity wall.
The system 100 also includes light emitting diodes (LEDs) 110 as the sources of light energy although other types of light sources, such as other solid state light emitters, may be used. In the example, the sources are different primary color (RGB) LEDs 110, two of which (Red and Green) are visible in the illustrated cross-section. The Blue LED (not shown) would be seen in a different cross section. Although only one LED of each color is shown, typical implementations use a plurality of LEDs of one or more or all of the colors.
The LEDs 110 supply light energy into the interior of the optical integrating cavity 102. As shown, the points of emission into the interior of the optical integrating cavity are not directly visible through the aperture 108. Direct emissions from the sources reflect off a surface of the cavity 102. The cavity 102 effectively integrates, mixes or combines the light energy of different colors, so that the integrated or combined light emitted through the aperture 108 includes the light energy of all the various wavelengths in relative amounts substantially corresponding to the relative amounts that the sources input into the cavity 102. The diffuse reflective processing by the cavity converts the multiple point sources to a virtual source of light, of the combined light color and intensity at the aperture 108. The virtual source will have a high degree of uniformity across the area of the aperture and typically will not exhibit pixilation.
The dome 104 and cover plate 106 forming the cavity 102, together with the LEDs 110 and possibly one or more processing elements for processing the light output through the aperture 108 (such as a deflector (not shown)), form a light fixture 112. The integrating or mixing capability of the cavity 102 serves to project light of any color, including white light, by adjusting the amount of light output by the various sources 110 coupled into the cavity 102. U.S. Pat. No. 6,995,355 to Rains, Jr. et al., the disclosure of which is entirely incorporated herein by reference, provides additional information as to the materials; structure and configuration of numerous examples of systems and various elements thereof of the type exemplified by
In the illustrated example, control of the drive currents applied to drive light production by the LEDs 110 controls the color characteristics of the combined light output by the fixture 112. Those skilled in the art will recognize that the circuitry may also modulate the drive signals to control amounts of energy output by each solid state lighting element. Examples of the control circuit 114 will be discussed in detail below.
As discussed above, multiple fixtures tend to generate light of different color and/or intensity where the input parameters are near or beyond the output limitations of the multiple fixtures. This occurs when spectral output characteristics from one LED 110 to the next differ. Taking a red LED 110 as an example, one red LED may be capable of generating vibrant red colors of light at a maximum intensity whereas another LED may be capable of generating less vibrant red colors of light at a maximum intensity. Two light fixtures, as shown in exemplary
The foregoing may be accomplished by setting each fixture to generate light for color parameter input settings and/or configuring the system to determine if input settings correspond to light outputs that fall within a gamut which represents the range of color and/or intensities of light of which the fixture is capable of generating. The gamut may be based on the CIE 1931 Chromaticity Diagram space, such as that illustrated by
The gamut can be defined by a few key points in a 3-d coordinate system having x, y, Y axes. For instance, it is impossible to achieve chromaticity points outside of the gamut, because chromaticities are achieved by mixing certain proportions of the color of respective LEDs in a given fixture. Therefore, a footprint of the gamut, i.e., the gamut in the x-y plane of the 3-d coordinate system, may be a triangle formed by connecting points representing each of the colors of the LEDs in a given fixture. As described herein, the primary colors of red, green and blue correspond to the colors of the LEDs. However, defining the gamut in the foregoing manner sets a limitation on the (x,y) coordinates (i.e., chromaticity), but does not limit the Y-coordinates (i.e., intensity). To complete the gamut, the intensity limitations need to be described.
Light intensity is additive regardless of chromaticity. For example, the intensity of light which is composed of a red LED output at intensity Y1, a green LED output at intensity Y2, and a blue LED output at intensity Y3 yields a total intensity of Ytotal=Y1+Y2+Y3. Using the additive principle, the limitations on the maximum intensity that a fixture can generate can be determined. Therefore, a lighting system will generate a maximum attainable intensity which is possible for the system when all LEDs of the system are set to respective maximum intensities.
Points 202, 204, 206, 207, 208 and 210 form planes which form facets of the gamut 200. Specifically, a first plane 214 having points 202, 204, 207 and 206 bound one side of the gamut 200; a second plane 216 having points 206, 207, 208 and 210 bound another side; and a third plane 218 having points 202, 204, 208 and 210 bound yet another side of the gamut 200. Where each plane 214, 216, 218 intersect delineates the outer boundary of the gamut 200. The lower bound of intensity is when all LEDs are off. This forms a fourth plane 220 that is defined by the equation Y=0 corresponding to points 202, 206 and 208.
As discussed above, the intensity measurements when each respective LED is turned on and the other respective LEDs are turned off may be summed to determine the maximum attainable intensity of light that a lighting system is capable of generating. Alternatively, the maximum attainable intensity of light that a lighting system is capable of generating may be determined by turning all LEDs on to respective maximum outputs and measuring the intensity of light using a calibrated sensor, as discussed below with respect to
Points 212, 204 and 207 form a fifth plane 222; points 212, 210 and 207 form a sixth plane 224; and points 212, 210, and 204 form a seventh plane 226, all of which intersect at point 212 forming the apex of the gamut 200. Moreover, these planes form a top contour of the gamut 200. Furthermore, the first plane 212 and fifth plane intersect at a line formed by points 204 and 207. Other planes intersect forming lines, as illustrated. Accordingly, the shape of the gamut 200 may be defined by a plurality of intersecting planes. The lines formed by intersecting planes form facets of the gamut having polygonal shapes.
Additionally, other colors of light and associated intensities may be measured for defining the gamut to a greater accuracy, such as that illustrated by
In this example, the gamut 300 is formed by at least ten intersecting planes—the first plane 312 contains at least points 202, 204, 304, 207, and 206; the second plane 314 contains points 207, 304 and 212; and so on for each facet of the gamut 300 as illustrated. The intersecting planes form a plurality of facets of the gamut 300 where each facet has a polygonal shape, as illustrated by
The lighting system such as that illustrated by
The color of light or other electromagnetic radiant energy relates to the frequency and wavelength of the radiant energy and/or to combinations of frequencies/wavelengths contained within the energy. Many of the examples relate to colors of light within the visible portion of the spectrum, although the teachings may also apply to systems that utilize or emit other energy.
It also should be appreciated that solid state light emitting elements may be configured to generate electromagnetic radiant energy having various bandwidths for a given spectrum (e.g. narrow bandwidth of a particular color, or broad bandwidth centered about a particular), and may use different configurations to achieve a given spectral characteristic. For example, one implementation of a white LED may utilize a number of dies that generate different primary colors which combine to form essentially white light. In another implementation, a white LED may utilize a semiconductor that generates light of a relatively narrow first spectrum that acts as a pump. The light from the diode “pumps” a phosphor material or quantum dots contained in the LED package, which in turn radiates a different typically broader spectrum of light that appears relatively white to the human observer.
It is useful to set the lighting system 500 of
Using the measurements 518 output by the sensor 516, the computer 514 determines a gamut of chromaticity and intensity values in which the system 500 is capable of generating. For example, for ease of computation, the gamut may be represented by a formation of intersecting planes, as illustrated by
Turning back to
The LED array 602 may also include a number of additional or ‘other’ LEDs 610. For example, the LED array 602 may include white, IR or UV LEDs for various purposes or additional LEDs as “sleepers” that initially would be inactive. For example, using the circuitry of
The electrical components shown in
The driver circuits 624, 626, 628, 630 supply electrical current at the respective levels for the individual sets of LEDs 604, 606, 608, 610 to cause the LEDs 604, 606, 608, 610 to emit light. For example, the microcontroller 614 controls the LED driver circuit 624 via a D/A converter 616, and the microcontroller 614 controls the LED driver circuit 626 via a D/A converter 618. Similarly, the microcontroller 614 controls the LED driver circuit 628 via a D/A converter 620. The amount of the emitted light of a given LED set 604, 606, 608 is related to the level of current supplied by the respective driver circuit 624, 626, 628.
In a similar fashion, the microcontroller 614 controls the LED driver circuit 630 via the D/A converter 622. When active, the driver circuit 630 provides electrical current to the other LEDs 610. If the LEDs are sleepers, it may be desirable to provide a separate driver circuit and D/A converter pair, for each of the LEDs 610 or for other sets of LEDs of the individual primary colors.
The LED driver circuits 624, 626, 628, 630, the D/A converters 616, 618, 620, 622 and the microcontroller 614 receive power from a power supply 632, which is connected to an appropriate power source (not separately shown). For most illumination applications, the power source will be an AC line current source, however, some applications may utilize DC power from a battery or the like. The power supply 632 provides AC to DC conversion if necessary, and converts the voltage and current from the source to the levels needed by the LED driver circuits 624, 626, 628, 630 the D/A converters 616, 618, 620, 622 and the microcontroller 614.
In operation, taking as example the operation of the Red LED 604, the D/A converters 616 receives a command for a particular level from the microcontroller 614. In response, the converter 616 generates a corresponding analog control signal, which causes the associated LED driver circuit 624 to generate a corresponding power level to drive the Red LED 604. The Red LED 604 in turn outputs light of a corresponding intensity. The D/A converter 624 will continue to output the particular analog level, to set the red LED 604 intensity in accord with the last command from the microcontroller 614, until the microcontroller 614 issues a new command to the D/A converter 616. The other D/A converters 618, 620, 622, the LED driver circuits 626, 628, 630 and LEDs 606, 608, 610 operate in a similar fashion.
The example uses current control, to control the amount of light output of each block of LEDs, and thus the light contribution thereof to the combined light output of the system. Those skilled in the art will recognize that other control techniques may be used, such as various forms of controlled pulse modulation.
Though not illustrated, the microcontroller 614 typically includes or has coupled thereto random-access memory (RAM) for storing data and read-only memory (ROM) and/or electrically erasable read only memory (EEROM) for storing control programming and any pre-defined operational parameters. The microcontroller 614 itself comprises registers and other components (not shown) for implementing a central processing unit (CPU) and possibly an associated arithmetic logic unit (not shown). The CPU implements the program to process data in the desired manner and thereby generate desired control outputs.
The microcontroller 614 is programmed to control the LED driver circuits 624, 626, 628, 630 to set the individual output intensities of the LEDs to desired levels, so that the combined light emitted from the aperture 108 of the cavity 102 has a desired spectral characteristic and a desired overall intensity. The microcontroller 614 may be programmed so that when it receives control inputs via a user interface 640 specifying the particular color, it translates color input values into appropriate control values, as discussed further below. For discussion purposes, the user interface 640 is shown as an element of the system closely associated with the microcontroller 614 and other electrical elements of the lighting system. However, those skilled in the art will recognize that the system may include a communication interface or other link to a remote device or to some other system that provides the user interface (see e.g. above-incorporated U.S. Pat. No. 6,995,355 to Rains, Jr. et al., for additional information).
To insure that the desired mixture is maintained, the microcontroller 614 receives information concerning the light output from a feedback sensor 634. The feedback sensor 634 may include a color sensor 636 which measures the frequency distribution (e.g. intensity of multiple frequency components) of the combined light. Other types of feedback sensors, such as a thermal temperature sensor 638 may be used, for example, in or near the optical integrating cavity 102. While the feedback sensor 634 as illustrated includes both a thermal temperature sensor 638 and the color sensor 636, the feedback sensor 634 may contain only one or the other. Although not separately shown, the system may include a separate intensity sensor, or the microcontroller may control the sensor 636 to also provide an overall indication of intensity.
If provided, the thermal temperature sensor 638 may be a simple thermo-electric transducer with an associated analog to digital converter, or a variety of other temperature detectors may be used.
The color sensor 636 detects color distribution in the integrated light within the optical integrating cavity 102. The sensor 636 may be mounted on the same board as one or more of the LEDs, or as in the example of
In the current example, the microcontroller 614 monitors color using an RGB light sensor 636 that is a digital compatible sensor which provides a single output in the form of a pulse train of a frequency that is proportional to the intensity of the input light. Additionally, the color sensor 636 may incorporate selectable color filtering. In such a case, the sensor applies one of the color filters for color of light to be sensed in response to several bits of a control signal from the microcontroller 614. The frequency of the output then is proportional to the sensed light intensity of the selected color of light (R, G or B).
For example, the microcontroller 614 may select a color and instruct the color sensor 636 to sense the intensity of that color through the appropriate filter, and as a result, the microcontroller 614 receives a pulse train of frequency proportional to the measured intensity of light of the selected color. The microcontroller 614 then selects another color and receives a pulse train of frequency proportional to the measured intensity of light of that second color. The microcontroller 614 then selects a third color and receives a pulse train of frequency proportional to the measured intensity of light of that third color. In this way, the sensor 636 can provide information to the microcontroller 614 as to the measured intensity of each primary color of light (R, G or B) within the combined light being generated by the system. The microcontroller 614 may also control the sensor 636 to obtain a similar reading of total intensity (unfiltered) of the combined light. The process may periodically repeat as the system takes additional measurements of the color distribution.
The control circuit 612 and specifically the microcontroller 614 is capable of setting the drive current and thus the output intensity for each color, in order to achieve a desired uniform color distribution in the combined light generated further to a process described in detail below. Briefly, the microcontroller 614 translates frequency of the signals from the color sensor 636 into data that it uses as a representation of intensity for each sensed color of light. The microcontroller 614 uses the color intensity data as feedback data, to control the DACs to set the drive current value for each color, to insure that the combined light generated by the system exhibits and maintains the desired color distribution. In a system sleeper LEDs as discussed above, the microcontroller 614 also is responsive to the detected color distribution to selectively activate the inactive light emitting diodes 614 as needed, to maintain the desired color distribution in the combined light.
Validating input 510 can be broken into two general steps. First, the chromaticity of the corresponding (x,y) coordinate is validated. Then, the intensity of the (Y) coordinate is validated. If both steps are valid, then the point has been validated as an achievable point. If achievable, the MCU sets the LED outputs to corresponding levels. If not achievable, there are a variety possible ways the MCU might proceed, examples of which are discussed later.
To validate the chromaticity, it should be shown that the (x,y) coordinates of the input 510 are within the gamut, such as the exemplary gamuts 200, 300 described above. This can be accomplished by comparing the input 510 coordinates to the lines which are defined the intersection of each of the plurality of planes forming the gamut or the edge of each facet. Specifically, the points that define these lines have been pre-programmed in the fixture and are accessible for validating any given input 510.
The general equation for the lines in the x-y plane forming the gamuts 200, 300 of
For the ease of explanation, consider the following example where point 202 has the coordinate (2,6), point 206 has the coordinate (1,1), point 208 has the coordinate (5,2), and the (x,y) input 510 to be validated has the coordinate (2,4). Thus, the GB line with the foregoing coordinates would have a slope “m” of 5 on the x-y plane. The BR line with the foregoing coordinates would have a slope “m” of 1/4 on the x-y plane. The RG line with the foregoing coordinates would have a slope “m” of −4/3 on the x-y plane.
In order to make the determination whether or not the input 510 falls within the gamut, steps similar to steps 1002-1008 need to be repeated for the GB and BR lines.
Had the input 510 been outside the gamut, step 1026 would have resulted. As shown in the flowchart, step 1026 may be reached when it is determined that the point 510 corresponds to a position on a side of the RG line, the GB or the BR line that places the point outside of the gamut in the x-y plane.
Once it is known that the (x,y) coordinate of input 510 is within the gamut 200, 300, the intensity of the input 510 needs to be validated. As can be seen from the gamut 200, 300 illustrations of
An algorithm with some similarities to the validation of chromaticity as discussed above can be made for validating intensity. However, the plurality of planes that form the top of the gamut 200, 300 will be evaluated. Specifically, referring to
With respect to
For explanation purposes, as illustrated by
For explanation purposes, consider the first point 1302 for determining which plane applies according to
Again, the steps of 1106-1120 are the same as steps 1102-1108 except for evaluation of the GW line. If the results of both steps 1118 and 1120 are false or no, the determination is made that the (x_user, y_user) is applicable to the GWYmax plane. However, this would not be the case for point 1302 in this example. In other words, if either of steps 1110 or 1112 are true, it would be determined that GWCmax plane is applicable.
For explanation purposes, consider the first point 1304 for determining which plane applies according to
The steps of 1126-1130 are the same as steps 1102-1108 except for evaluation of the BW line. If the results of both steps 1128 and 1130 are false or no, the determination is made that the (x_user, y_user) is applicable to the BWCmax plane. However, this would not be the case for point 1304 in this example. In other words, if either of steps 1128 or 1130 are true, step 1134 would be performed.
Again, the steps of 1134-1138 are the same as steps 1102-1108 except for evaluation of the GW line. If the results of both steps 1136 and 1138 are false or no, the determination is made that the (x_user, y_user) is applicable to the RWMmax plane. However, this would not be the case for point 1304 in this example. In other words, if either of steps 1136 or 1138 are true, it would be determined that BWMmax plane is applicable.
Upon the determination of which plane applies to the chromaticity of the input 510 (x_user, y_user), the next step is to compare the intensity of the input 510 to the maximum achievable intensity for the lighting system described by the appropriate plane. As discussed above, the maximum achievable intensity corresponds to the apex at point 212 of the gamut 200, 300 for white line. However, each (x,y) point in the gamut 200, 300 has a specific maximum intensity because the planes that form the top of the gamut 200, 300 traverse the x,y,Y space, i.e., the Y value of each plane is not constant.
As discussed above, the applicable plane determined according to the flowchart of
In Equation 2, Ymax represents the maximum achievable intensity at the chromaticity (xuser,yuser) input 510. The points (x1,y1,Y2), (x2,y2,Y2), and (x3,y3,Y3) are the points found as a result of the algorithm in
Equation 3 renders Ymax for the chromaticity (xuser,yuser) input 510. If the Y value of the input 510 is less than or equal to the maximum achievable intensity Ymax and is non-negative, then the input 510 is a valid point which can be achieved by the fixture. Accordingly, the MCU 502 will drive the digital/analog converter and LED drivers 504 for the LEDs 506 to output light according to the input 510.
On the other hand, if the Y value of the input 510 is greater than the maximum achievable intensity Ymax or negative, then the input 510 is invalid and cannot be achieved by the fixture.
There are several ways a light fixture may handle a requested input 510 which is not valid (i.e. outside the gamut 200, 300). One way would be to ignore the request so that a light fixture would not generate light according the input 510. The system, for example, might keep the light output at the last prior setting that was valid. Another approach would be to correct or adjust the input 510 coordinate by determining the nearest point which is logical. Because the human eye tends to be less sensitive to changes in intensity compared with changes in chromaticity, chromaticity has a higher importance than intensity. There are two general cases which should be considered when correcting points. The first is when the chromaticity of the input 510 ((x,y) coordinate) is valid but the requested intensity ((Y) value) is invalid. The second case is where the chromaticity point is invalid.
Since the human eye tends to perceive changes in chromaticity, (x,y) points which are in the gamut 200, 300 but have intensities greater than what is achievable, the chromaticity should be maintained. In other words, the (x,y) coordinates of the input 510 should not be altered. Using this philosophy, the closest Y-coordinate will be the maximum achievable point at the given (x,y). The maximum achievable intensity for the given (x,y) coordinate is determined according to Equation 3. Hence, an input 510 (xuser,yuser,yuser) will be corrected to (xuser, yuser,Ymax). While this adjustment does not necessarily yield the closest point (absolute distance) to the input 510 coordinate, given that chromaticity is more important than intensity, it is generally more appealing to the human eye.
The second case of point correction requires additional computation. In the case where (x,y) coordinate is outside of the gamut 200, 300, in a first implementation the nearest chromaticity point physically is found which is in the gamut. However, the nearest chromaticity point may appear to be a different color. In a second implementation, a chromaticity point is chosen that has a color closest to the color corresponding to that which is represented by the coordinate that falls outside the gamut. However, this adjusted chromaticity point may correspond to a color that appears to be have more saturation. In either case, if the intensity of the adjusted (x,y) coordinate is achievable, then that intensity should be used. If the intensity is greater than what is achievable at the nearest chromaticity in the gamut 200, 300, the intensity should be changed to the maximum that is achievable as discussed above.
According to the first implementation, when finding the closest chromaticity to a (x,y) coordinate outside of the gamut 200, 300, there are two types of regions which could describe the space outside of the gamut 200, 300—a near-edge region and a near-vertex region.
The near-edge regions and near-vertex regions are separated by lines which are perpendicular to the line segments which make the boundaries of the gamut 200, 300 and contain the vertex points. The area between the two perpendicular lines on the end of each gamut line segment forms the near-edge region. The remaining regions are the vertex-near regions.
Equations 4 and 5 yield the chromaticity coordinates on the edge of the gamut (xv,yv) which are closest to (x,y) coordinate which falls in the near-edge region. In Equations 4 and 5, (xu,yu) is the user's point, (xv,yv) is the adjusted point, (x1,y1) is one of the points at the end of the line segment which forms an edge of the gamut 200, 300, and (x2,y2) is the point at the other end of the line segment of the gamut 200, 300.
If the user point is in the near-vertex region, then the closest chromaticity point is simply the closest vertex of the gamut. Any user point which is outside of the achievable volume will be corrected to a point with an intensity of the user's request unless it is too great for the maximum intensity of the corrected point. If it is too great, the maximum intensity for that chromaticity will be used.
Point V may be determined according to the following equations. The general equation of a line is shown by Equation 6 below.
Depending on the position of point U, lines
Accordingly, by adjusting the chromaticity value from the value corresponding to point U (xu, yu) to a value corresponding to point V (xv, yv), the light fixture will display a color that will be perceived by a human as the same color as that at point U with more saturation towards the color white.
The above-described techniques and operation are not limited to only Red, Green and Blue LEDs. It is again noted that the lighting system may include other LEDs 310 and associated D/A converter 322 and LED driver 330. In such a case, additional components of the lighting system would need to be calibrated possibly resulting in larger and complex analysis as represented above. In any event, additional calculations required should be well within the level of ordinary skill given this disclosure and concepts presented herein.
While the foregoing has described what are considered to be the best mode and/or other examples, it is understood that various modifications may be made therein and that the subject matter disclosed herein may be implemented in various forms and examples, and that the teachings may be applied in numerous applications, only some of which have been described herein. It is intended by the following claims to claim any and all applications, modifications and variations that fall within the true scope of the present teachings.