The present invention relates to LED lighting systems, and more particularly concerns a color control method for multi-chromatic LED lighting systems using a color sensor.
Light-emitting diodes (LED) lighting systems, emitting either white light or colored light, are used for numerous applications such as interior and exterior lighting, decorative lighting, entertainment and the like. LED lighting systems are typically composed of a plurality of individual LED emitters each having a different narrow spectral bandwidth. The light output of the overall system is a colorimetric combination of the light generated by the individual emitters.
The use of LED-based systems for lighting applications provides several advantages. A major advantage is the superior power conversion efficiency of LED emitters, which can reach close to 200 lumens per watt—by comparison, a typical incandescent lamp outputs only around 17 lumens per watt while a fluorescent lamp provides around 80 lumens per watt. Other advantages of LED emitters include their long lifetime, achieving around 100 000 hours of lighting, and the ability to precisely control the color of the output light. All these advantages make LED lighting systems very attractive lighting solutions.
There are, however, a few difficulties related to LED-based lighting. Firstly, the spectrum of individual LED emitters tends to shift over time, resulting in an ageing-related drift of the output color. This shift of the output color evolves in a complex manner and cannot be predicted by theoretical models. Secondly, the output color can vary as a function of operation conditions such as the temperature of the LED lighting system or the currents that drive one or more of the LED emitters.
The quality of the light generated by a LED lighting system affects the perceived colors of an illuminated scene: the color rendering property of a LED system is therefore a factor to be taken into account. Color rendering can be characterized using the CRI (Color Rendering Index), which is a color rendering metric standardized by the CIE (Commission Internationale de l'Éclairage), or the CQS (Color Quality Scale), which is an alternative metric proposed by the NIST (National Institute of Standards and Technology). For example, it is recognized in the literature that a CRI of at least 90 is desirable for lighting applications.
Color rendering metrics are particularly meaningful for LED lighting systems that generate white light. A minimum of three primary colors are required for additive color synthesis of white light, typically red, green and blue (RGB). Typical LED lighting systems with only three LED emitters cannot easily provide white light with good color rendering properties. LED-based lighting systems having four or more LED emitters with different “primary” colors can be used to reach or to exceed the CRI threshold of 90, if appropriately controlled. At least four LED emitters are therefore preferred for quality lighting applications, such as in museums and for advertisement purposes. However, to obtain the desired results the LED light system must be carefully controlled to achieve a constant color output for all values of operation temperature and drive current, for the lifetime of the LED lighting system.
It is known in the art to use color feedback during operation of a LED lighting system in order to compensate for drifts of the output color. A color detector is used to “read” the color of the output light of the LED system and a correction of the operating conditions can be applied to compensate for any shift that arises, based on the information obtained. The main difficulty associated with implementing a color feedback scheme is the measurement of the color of the LED emitters. The CIE introduced three functions to represent the three color receptors in an average human eye. The color of the light emitted from a lighting system can be represented by three quantities (X, Y, Z) that represent the integration of a measured spectrum of the light over these functions. A direct manner of obtaining the color of a light source is therefore to measure the spectrum of its emitted light and then integrate over the CIE functions to obtain the three quantities. However, measuring the spectrum of a lighting system requires the use of expensive equipment such as a spectrometer. An alternative is to use a color sensor or colorimeter. Such sensors are typically composed of three filtered detectors and are much more affordable than spectrometers. The filters can be selected to match the three colorimetric functions of the CIE, in which the sensor output corresponds to the CIE color coordinates X, Y and Z of the detected light. In practice, it is however very difficult to obtain filters that correspond exactly to the colorimetric functions. Therefore, the values outputted by color sensors do not really correspond to the (X,Y,Z) quantities characterizing the color of the output light.
There therefore remains a need for a control method for a LED lighting system that alleviates at least some of the drawbacks above.
In accordance with one aspect of the invention, there is provided a method for operating a LED lighting system at a target output color. The LED system has three or more LED emitters emitting light of different colors combined into a light output, each LED emitter being operable at a controllable emitter drive setting. The LED lighting system further includes a color sensor.
The method includes the steps of:
Preferably, the LED lighting system has a same optical configuration during operation as during a calibration process having provided the at least one calibration matrix.
In some embodiments, the calibration matrix or matrices relate non-linear functions of the sensor color point coordinates to the absolute color point coordinates. The calibration matrices may also include a plurality of emitter calibration matrices each associated with an individual one of the LED emitters.
In accordance with another aspect, there is provided a LED lighting system for operation at a target output color.
The LED lighting system first includes three or more LED emitters emitting light of different colors combined into a light output, and a LED driver electrically connected to each LED emitter. Each LED driver is configured to apply a controllable emitter drive setting to the corresponding LED emitter.
The LED lighting system further includes a color sensor positioned for measuring a portion of said light output.
A memory is further provided, containing calibration data. The calibration data has been obtained from measuring the light output of the LED lighting system for a plurality of values of the emitter drive settings. The memory further contains at least one calibration matrix defining a relationship between measurements from the color sensor of the LED lighting system represented by sensor color point coordinates and absolute color point coordinates in an absolute color space.
The LED lighting system further includes a controller, configured to:
Other features and advantages of the invention will be better understood upon reading of preferred embodiments thereof with reference to the appended drawings.
In the following description, similar features in the drawings have been given similar reference numerals and in order to avoid weighing down the figures, some elements may not be referred to on some figures if they were already identified in preceding figures. It should also be understood herein that the elements of the drawings are not necessarily drawn to scale and that the emphasis is instead being placed upon clearly illustrating the elements and structures of the present embodiments.
The present invention generally relates to the control of multi-chromatic LED (Light-Emitting Diode) lighting systems. LED lighting systems may be used for numerous applications such as interior and exterior lighting, decorative lighting, entertainment and the like. Referring to
As known in the art, the resulting light output 21 generated by a LED lighting system is perceived as a colorimetric combination of the individual light beams 23R, 23G, 23B and 23W generated by the different LED emitters of the system. Varying the relative intensities of these light beams therefore provides a control of the resulting overall color.
Although the present description refers to LED systems made up of three or more LED emitters having different colors, one skilled in the art will understand that in practice, a LED system may include a greater number of emitters forming groups of same colored emitters, for example a group of red emitters, a group or green emitters and a group of blue emitters in a RGB scheme. The LED emitters of a same group may be electrically connected together or operated individually. It will be readily understood that in such cases the present method may be applied to one LED emitter of each group and the remaining LED emitters of the same group controlled according to the same parameters, or, alternatively, identical LED emitters may each be controlled according to the principles explained herein without departing from the scope of the present invention.
It will also be understood that referring to “LED emitters of different colors” is a shorthand for indicating that the light beams generated by the respective emitters have different colors.
Detailed Description of the LED Lighting System
Referring to
The LED system is configured for operation at a target output color. The expressions “target output color” or “target color” refer to the color of the light which is to be achieved by the LED lighting system, resulting from the combination of the light beams generated by the individual LED emitters of the LED lighting system. The target color may be described by color point coordinates in a given color space, i.e., by a model providing a specific mathematical representation of colors. Typical color spaces known in the art include the CIE 1931 XYZ and the CIELAB. CIE 1931 XYZ is historically the first attempt to describe colors on the basis of measurements of human color perception and it is the basis for almost all other color spaces. CIE 1931 XYZ is linear in terms of color mixing. This means that a target color can be expressed as linear combinations of E primary colors weighted by appropriate coefficients Ck. In matrix form:
where X, Y, Z are the tristimulus coordinates of the target color while Xk, Yk and Zk are the tristimulus coordinates of each individual LED emitter k. The CIELAB is not linear in terms of color mixing but it is more linear than the CIE 1931 XYZ in terms of color perception. Perceptual linearity means that a change of the same amount in the CIELAB coordinates produces a change of about the same visual importance in the colors represented by those coordinates. Direct and inverse transformation rules exist among common color spaces, so that any given color can be expressed univocally in any chosen color space.
Both CIE 1931 XYZ and CIELAB color spaces can be described as “absolute” color spaces in which colors are unambiguous, that is, the coordinates of a given color in the space are defined with respect to standard parameters without reference to external factors. The coordinates of any color in an absolute color space can, by extension, be referred to as “absolute” color point coordinates. Other examples of absolute color spaces include sRGB, Adobe RGB, CIELUV, and CIE RGB.
Optionally, such as in the illustrated embodiments of
Other user control parameters may optionally include luminance, Correlated Color Temperature (CCT), dominant wavelength, saturation, hue, etc.
The lighting system 20 further includes a LED driver 24 electrically connected to each LED emitter 22. The illustrated embodiment of
In some embodiments the LED emitters 22 are controlled according to a PWM (Pulse Width Modulation) scheme. In this case the drive setting may be a current modulation duty cycle, that is, the duty cycle of a periodic current waveform having constant predetermined maximum and minimum current values, the minimum current value being possibly an absence of current, i.e., a zero current value. Variants of PWM are known in the literature and may use a fixed or variable modulation frequency, constant or variable current values and complex waveforms. In PMW embodiments, each LED driver 24 includes for example a modulated current source with controllable duty cycle.
In other embodiments the LED emitters may be driven according to a Constant Current (CC) regulation method where the drive setting would be embodied by a constant current value. In CC regulation embodiments, each LED driver 24 includes for example a continuous current source with controllable current amplitude.
Other driving methods, such as pulse frequency modulation, pulse density modulation or the like are also known in the art and considered to be within the scope of the present description.
The lighting system 20 may include a temperature determining module configured to measure, calculate or estimate the operation temperature of the LED lighting system 20. The operation temperature can be representative of temperature values measured at various locations in the system. The temperature determining module may include a device or devices, such as a thermocouple, a thermistor or other appropriate sensor for measuring the temperature at one or more locations in the systems. For example, in the embodiment shown in
In another embodiment the temperature determining module may include a junction voltage meter (not shown) connected to each LED emitter in order to measure the corresponding junction voltage drop. The junction voltage drop may be used to determine the junction temperature of each LED emitter. As a LED emitter dissipates heat when lit, the junction temperature depends on a number of parameters including the injected current, the junction voltage drop, the environment temperature and the efficiency of dissipation of the heat flowing from the junction to the environment. Since each LED emitter 22 can be operated under different drive conditions, the junction temperature may vary from emitter to emitter within a same LED lighting system 20. The individual junction temperature value of each LED emitter of a LED lighting system can be used to estimate a value for the operation temperature of the whole system.
Still referring to
The lighting system 20 further includes a memory 32 containing calibration data for each LED emitter. The calibration data may include values for the light output of the LED lighting system for a plurality of values of the drive settings of the emitters, the light output being measured using both the color sensor and a spectrometer, as will also be explained further below. The memory may be embodied by any device or combination of devices apt to store the calibration data, such as a random-access memory (RAM), a programmable or non programmable read-only memory (ROM), a solid-state memory, an universal serial bus (USB) flash drive, a hard-disk drive, a magnetic tape, an optical disk or the like.
Although the controller 30, memory 32 and LED drivers 24R, 24G, 24B and 24W are shown in
Referring to
The color sensor is preferably arranged so as to receive a portion of the combined light outputs of the LED emitters for monitoring purposes. For example,
Method for Operating a LED System
In accordance with embodiments of the present invention, there is provided a method for operating a LED lighting system at a target output color, the LED system having three or more LED emitters emitting light of different colors combined into a light output. As explained above, each LED emitter is operable at a controllable emitter drive setting, for example a constant current value in a CC driving scheme, or a current modulation duty cycle in a PWM driving scheme. The LED lighting system further includes a color sensor.
Although the method is described herein as applied to lighting systems such as those shown in
Calibration Data and Calibration Matrices
The method first includes a step of providing calibration data and one or more calibration matrices.
The calibration data includes values for the light output of the LED lighting system measured for a plurality of values of the drive settings of said emitters.
In some implementations, the values for the light output may have been measured by a spectrometer. As known in the art, spectrometers are devices providing the spectral intensity profile of a light beam. Since recording spectra can require significant processing and storage capacity, it can be preferable to provide these values of the calibration data in the form of absolute color point coordinates in an absolute color space. In accordance with one embodiment, the absolute color point coordinates may be tristimulus coordinates X, Y and Z in the CIE 1931 XYZ color space. As mentioned above, the tristimulus coordinates are defined relative to color matching functions related to the perception of colors by the photoreceptors, or cones, of the human eye. By definition, the Y coordinate corresponds to the luminance, Z is nearly equal to blue stimulation and X is a mix of cone response curves chosen to be non-negative.
From a recorded light spectrum S(λ) the tristimulus coordinates are calculated as follows:
where kc is a constant, CMFX, CMFY and CMFZ are the color matching functions specified by the CIE and λ represents the light wavelength.
In other implementations, a calibrated colorimeter could also be used in place of the spectrometer to record the tristimulus coordinates for a plurality of values of the emitter drive settings.
The calibration data may therefore include the tristimulus coordinates Xn, Yn and Zn measured for the light output of the LED lighting system for each one of N values of the emitter drive settings. As explained below, this information may be used during operation of the LED system to determine initial drive settings for the emitters in view of the target color. Of course, the use of the standard CIE 1931 XYZ color space is shown here by way of example only, and in other embodiments any other convention allowing the calculation of absolute color point coordinates from the recorded spectra could be used.
The one or more calibration matrices define a relationship between measurements obtained from the color sensor of the LED lighting system, these measurements being represented by sensor color point coordinates, and absolute color point coordinates in an absolute color space. In some embodiments, the calibration matrices are pre-calculated as part of a calibration procedure that also involves measuring the light output of the LED lighting system with a spectrometer to obtain the calibration data. Such a calibration procedure further involves measuring the light output of the LED lighting system using the color sensor, and using both sets of data to calculate the calibration matrix or matrices. It should be noted that the color sensor used to obtain the data to generate the calibration matrices is the same color sensor providing feedback during operation of the LED lighting system. It has been found that significant variations can be observed in the outputs from different color sensors for a same light beam being measured, and that the calibration matrices should be device-specific in order to provide the desired degree of exactitude. Furthermore, it is preferred that the optical configuration used during the operation of the LED system be the same as the optical configuration used during the calibration process for measurements taken by the optical sensor. All the same components are therefore preferably used, i.e., the same LED emitters, the same color sensor, as well as the same additional optics such as lenses, mirrors and the like, all in a same position relative to one another.
As mentioned above, the measurements obtained from the color sensor of the LED lighting system are represented by sensor color point coordinates, that is, expressed as sensor color point coordinates in a sensor color space. For example, when the color sensor is embodied by a RGB sensor, the output thereof is expressed as R, G and B values for the light output.
Preferably, the relationships defined by the calibration matrix or matrices are calculated to be exact for at least one color point. Examples of such relationships will be provided further below in the context of two exemplary embodiments of the invention.
Calibration Matrix for a Specific Color
As mentioned above, the calibration matrix or matrices provide a transformation from the sensor color space, specific to the color sensor of the lighting system, to an absolute color space. In the example below, the sensor color space is embodied by a RGB space and the absolute color space by the standard CIE 1931 XYZ color space, although it will be readily understood that other conventions may be used without departing from the scope of the invention.
A common practice known in the art is to relate RGB and XYZ color spaces by a single linear matrix transformation. However, this practice introduces errors as the actual relationship between the two color spaces is not exactly linear. Furthermore, it can be shown that the calibration is highly dependent on the colors used to calculate the calibration matrix.
In view of the above, in one embodiment a calibration matrix relating non-linear functions of the sensor color point coordinates to the absolute color point coordinates may be provided. The calibration matrix may relate a system sensor vector, including the non-linear functions of the sensor color points coordinates, to a color vector, including the absolute color point coordinates. For example, the non-linear functions of the sensor color point coordinates may include second order terms of the sensor color point coordinates, which, in one simple form can be mathematically expressed as:
where the left-hand side vector is the color vector containing the absolute color point coordinates X, Y and Z, A is a 3×7 calibration matrix and the right-hand side vector is the sensor vector containing both first- and second-order terms of the sensor color point coordinates R, G and B. Optionally, the sensor vector may further include a constant term compensating for dark current effects, such as the “1” in the middle of the sensor vector of equation (3) above. One skilled in the art will readily understand that although a color sensor measuring three different colors is presented herein, the same principles would apply to sensors having a greater number of channels.
In some variants of this embodiment, a single calibration matrix may be provided for the LED lighting system, preferably associated with an average operation temperature of the system. In other variants, a plurality of calibration matrices may be provided, each associated with a different operation temperature of the LED lighting system.
In some embodiments, the calibration matrix A is obtained from a network of test color points spanning a test region surrounding a calibration color point.
To obtain the elements of the calibration matrix, calibration data for several color points can be used. For example, for a minimum of seven color points, equation (3) can be rewritten as follows:
where the indices 1 to n represent the different color points used for the calibration. In one embodiment, a solution for the calibration matrix A can be calculated using:
where the superscript+ refers to the Moore-Penrose pseudo-inverse defined by:
N
+=(NTN)−1NT (6)
where N is a matrix having more columns than lines. Other solutions to the system of equation (5) can alternatively be used to calculate the calibration matrix A, as will be readily understood by one skilled in the art.
The choice of the color points in the network of test color points used to calculate the calibration matrix can have a significant impact of the performance of the color sensor. It can be shown that using points that are close to one single color will give a calibration that is exact only for this specific color. A network defining a broader color sample is therefore preferred—however, if the test color points are too far apart, the precision of the calibration will be lesser for the entire test region. The test color points are therefore preferably selected to strike a balance between these competing requirements. It can also be shown that the test region should preferably span the entire luminous region to be controlled by the color sensor. For example, the selected points may have color values distributed between −20<a*<20 and −20<b*<20 in the CIELab diagram, and/or a luminosity range corresponding to the luminance range of the target application, such as Y values between 5 cd/m2 and 30 cd/m2 in one implementation. Finally, simulations have shown that a minimum of thirty test color points are preferably used to calculate the calibration matrix. This allows the calibration matrix to better represent the average variations observed during the operation of the lighting system.
The above requirements for a good calibration do not include the placements of the individual points within the network. In most embodiments, as long as the test color points spawn a large enough area, they can be located at random.
The calibration data and the data used to calculate the calibration matrix can be obtained through a suitable calibration process. In accordance with one embodiment of the invention, such a calibration process may include the two phases described below, that is, a pre-calibration phase providing a relationship between the drive settings applied to the LED emitters and the output color of the lighting system, and a calibration phase where calibration data for the network of test points is obtained and the calibration matrix is calculated.
Referring to
As will be seen from the above description, the end of the pre-calibration stage may provide the calibration data relating the light output of the LED lighting system, when individual LED emitters are lit, to a plurality of values of the drive settings of the emitters. The pre-calibration phase is preferably performed at an average operation temperature, so that the average spectral shift of the LEDs is measured. Although this data will be used to determine a starting value for the drive settings in view of the target color during the operation of the lighting system, precision is not required since the present method provides fine tuning of the drive settings through the use of the color sensor, as explained below.
Referring to
Optionally, in the case where calibration matrices are desired for different temperature values, the corresponding number F of calibration temperatures, and therefore, the number of calibration matrices to calculate, is selected as a preliminary step 122. The provision of one or more calibration matrices may be determined based on the expected range of the operation temperature of a particular LED lighting system. By way of reference,
Although not mentioned in the flow chart of
The calibration next involves generating a network of test color points spanning a test region surrounding the calibration color point (130). Preferably, the network includes a number N of at least 30 points tallied by color point counter n=1 . . . 30. The distribution of the test color points around the calibration color point is preferably uniform, and may be random or selected according to a specific pattern.
The calibration process next includes calculating the drive settings needed to attain each test color point (132). This is preferably accomplished using the calibration data obtained through the pre-calibration process above. The drive settings are calculated by solving the matrix system of equation (1), reproduced here for convenience:
where X, Y, Z are the absolute color coordinates of the target color, Xk, Yk and Zk are the absolute color coordinates of each individual LED emitter k (in “fully on” condition) and Ck are weight coefficients which can take a value between 0 and 1. The Ck coefficients are related to the emitters drive settings: a coefficient set to 1 correspond to a fully lit up emitter, a coefficient set to 0 corresponds to an emitter in off condition and intermediate values correspond to a proportionally dimmed emitter, with luminance Yk reduced by a factor Ck.
In the illustrated example, the drive settings are embodied by current values applied to each LED emitter. In embodiments where the LED lighting system includes only three LED emitters, for example R, G and B emitters, the solution of the matrix system of equation (7) is unique, that is, a single set of Ck coefficients, and therefore of drive settings, corresponds to each target color point. If the lighting system contains more than three LED emitters, however, an infinite number of solutions exist for each color point. Various schemes are known to those skilled in the art in order to select a preferred or optimal solution. A common choice is to use the Moore-Penrose pseudo-inverse to find a solution. Another approach could be to find the solution that optimizes a parameter related to a color rendering metric, such as a Color Rendering Index (CRI) or a Color Quality Scale (CQS).
Starting with the first color point n=1 (134), the calibration process next involves applying (136) the drive settings associated with this color point to all the LED emitters of the lighting system. The light output of the LED lighting system is measured (138) using both the spectrometer and the color sensor. The color point counter n is incremented (140) and steps 136 and 138 are repeated for each of the N test color points. Values for all the Xn, Yn and Zn on the one hand, and Rn, Gn and Bn on the other hand, are therefore obtained.
Next, the calibration matrix A associated with the applied temperature is calculated (142). This may for example be accomplished using equation (5) and the values for all the Xn, Yn and Zn and Rn, Gn and Bn obtained from the previous step.
At the end of the process, the calibration matrix or matrices and calibration data for the light output of the LED lighting system measured using a spectrometer in the calibration phase are stored in the memory, for use during the operation of the LED lighting system.
Calibration Matrices for Individual LED Emitters
A LED lighting system can typically be characterized by its color gamut, that is, the range of colors it can produce. In some implementations, it may be desirable to provide a calibration for a LED lighting system that is valid and precise for the entire gamut of the lighting system, or at least within a portion thereof larger than the colors close to a specific calibration color point such as provided for in the previous section.
It can be shown that by using a single calibration matrix defining a linear or non-linear relationship between the absolute color coordinates and the sensor color coordinates, the obtained calibration is precise within a limited color gamut. This can be observed from the following considerations.
Taking the RGBW LED lighting system of
X=X
r
+X
g
+X
b
+X
w
Y=Y
r
+Y
g
+Y
b
+Y
w
Z=Z
r
+Z
g
+Z
b
+Z
w (8)
where r, g, b and w are indices representing the four LED emitters. The same principle can be applied to represent the different sensor color point coordinates outputted by the color sensor, such that
R=R
r
+R
g
+R
b
+R
w
G=G
r
+G
g
+G
b
+G
w
B=B
r
+B
g
+B
b
+B
w (9)
Traditional calibration procedures relate RGB values to absolute color coordinates linearly through a transformation matrix A, such that
By combining equations (9) and (10) the X coordinate may be represented as:
X=a
11(Rr+Rg+Rb+Rw)+a12(Gr+Gg+Gb+Gw)+a13(Br+Bg+Bb+Bw) (11)
Taking under consideration equation (8) it can be assumed that, for the red emitter:
X
r
=a
11
R
r
+a
12
G
r
+a
13
B
r (12)
And so forth for all the LED emitters. Repeating this procedure for the Yr and Zr absolute color coordinates, the relationship between the absolute color point coordinates and the sensor color coordinates for the red emitter can be expressed as:
The same form would apply for the other three LED emitters G, B and W.
It can be observed from the above considerations that the same matrix is used to relate the different color spaces for each emitter. However, in order to correctly represent the behavior of the LED emitters this transformation should vary from one LED emitter to another. The linear transformation approach can therefore be viewed as an average of all the individual matrices of the different emitters. More specifically, if A is the transformation matrix used in Equation (10), such that:
then the average matrix A can be expressed in terms of the individual transformation matrices for the r g b and w emitters Ak:
where k=r, g, b, w is an index representing one of the LED emitters, Ak is the emitter calibration matrix associated with the LED emitter represented by index k, Rk, Gk and Bk are the sensor color point coordinates for light from the LED emitter represented by index k, the superscript T represents vector transpose and R, G and B represent the output coordinates of the color sensor for the light output of the entire system.
Therefore, in accordance with another embodiment, the one or more calibration matrices may include a plurality of emitter calibration matrices, each associated with an individual LED emitter.
Preferably, each emitter calibration matrix defines a relationship between an emitter sensor vector comprising the sensor color point coordinates for the associated individual one of the LED emitters, and an emitter color vector comprising the absolute color point coordinates for the associated individual one of the LED emitters. Mathematically, this relationship corresponds to:
Or, in compacted form:
where k=r, g, b, w is an index representing one of the LED emitters, Ak is the emitter calibration matrix associated with the LED emitter represented by index k, Rk, Gk and Bk are the sensor color point coordinates for light from the LED emitter represented by index k, and Xk, Yk and Zk are the absolute color point coordinates for the light from the LED emitter represented by index k.
The overall relation between the two color spaces can be written as:
Accordingly, the X coordinate can therefore be expressed as follows:
X=a
11
r
R
r
+a
11
g
R
g
+a
11
b
R
b
+a
11
w
R
w
+a
12
r
G
r
+a
12
g
G
g
+a
12
b
G
b
+a
12
w
G
w
+a
13
r
B
r
+a
13
g
B
g
+a
13
b
B
b
+a
13
w
B
w (19)
with amnk for k=r, g, b, w representing the matrix element of the different emitter calibration matrices. A similar expression will readily be developed for the Y and Z absolute color coordinates.
It will be readily seen that equation (19) contains a lot more information than the previous case expressed by equation (11). It will also be understood that using this approach, the values obtained for the calibration will be valid for any target color, throughout the gamut of the lighting system. This may be intuitively understood by considering the case where a color approaches the edge of the gamut where only one emitter is turned on, the matrix that will be used is the one of the emitter—the absolute color point coordinates for the light associated with the other LED emitters will tend to zero, and only the terms of the calibration matrix associated with the lit emitter will contribute to the color conversion.
In one variant, each emitter sensor vector may further include a constant term compensating for dark current effects, such as for example:
The constant term compensates for the dark current, that is, the signal outputted by the corresponding emitter when it is turned “off”.
In another variant, each emitter calibration matrix may relate an emitter sensor vector comprising non-linear functions of the sensor color point coordinates to a color vector comprising the absolute color point coordinates. The non-linear functions of the sensor color point coordinates may for example include second order terms, such as:
Such an embodiment may be particularly advantageous for LED emitters having large spectral variations with their drive settings. It will be readily understood that the relationship defined by the emitter calibration matrices may take other mathematical forms without departing from the scope of the invention.
As with the previously described embodiment, a suitable calibration process is preferably performed to obtain the calibration data, i.e., providing values for the light output of the LED lighting system for a plurality of values of the emitter drive settings, and calculate the emitter calibration matrices.
Referring to
Optionally, in the case where emitter calibration matrices are desired for different temperature values, the corresponding number F of calibration temperatures, and therefore, the number of sets of emitter calibration matrices to calculate, is selected as a preliminary step 202. If only one set of emitter calibration matrices is used, the calibration temperature may be selected as the average operation temperature, for example 50° C. for operation between 20° C. and 80° C. Otherwise, representative values spanning the range of temperatures at which the lighting system is to be operated may be selected—for example 30° C., 50° C. and 70° C. A temperature counter i is set to 1 (204), and the corresponding temperature Ti is set (206). The steps that follow are performed for each desired value of Ti, the temperature counter i being incremented (step 228) after each iteration.
The calibration process 200 then involves a step 208 of selecting the number E of LED emitters in the lighting system. For example, in the case of a RGB system such as shown in
For a given emitter, a number N of drive settings, for example the driving current of the corresponding emitter, is selected (step 212), and a current counter n set to 1 (step 214). For each increment of the current counter n, the corresponding drive current is applied (step 216) to the corresponding emitter, and the light output of the lighting system is measured (218), using both spectrometer and color sensor. The absolute color coordinates corresponding to each spectrum measured by the spectrometer can be calculated using the CIE colorimetric functions and equation (2) above. The current counter n is incremented (step 224) until the maximum number of currents N has been reached.
Once all the data related to a given emitter has been obtained, the emitter calibration matrix Ak for the current emitter k can be calculated (222). For example, the relationship defined by equation (20) above can be expressed as:
where the indices 1 . . . n represent the N different currents used during the previous steps of the calibration, and the calibration matrix Ak can now be calculated using:
where the superscript+ refers to the Moore-Penrose pseudo-inverse as defined in equation (6) above. Of course, those skilled in the art will readily understand that other solutions to the system can also be used to calculate the emitter calibration matrix Ak.
Once the absolute and sensor color coordinates have been obtained and the emitter calibration matrix been calculated for all the current values for a given emitter, the emitter counter k is then incremented (step 226) until all of the emitters have been processed. The emitter calibration matrices, the absolute color coordinates and the sensor color coordinates for all the drive settings used during the calibration process are kept in memory. As will be explained further below, the calibration matrices and the sensor color coordinates will be used to obtain the absolute color coordinates X, Y and Z from the measured sensor color coordinates R, G and B during the control phase, while the calibration data for different drive settings will be used to estimate the currents to apply to the different LED emitters to achieve the desired target color.
Control Phase
Referring to
The method generally includes operating the LED emitters at drive settings selected in view of the target output color and based on the calibration data and calibration matrix or matrices.
In the illustrated embodiment, this first involves selecting (step 302) color coordinates of the target color. The color coordinates are preferably in an absolute color space, such as the CIE 1931 XYZ or CIELAB color spaces. Optionally, if calibration matrices are available for several temperatures, the operation temperature T that will be considered in the process is also selected.
This step may for example involve measuring the junction temperature of the LED emitter or the temperature at a specific location within the LED lighting system, and identifying the calibration matrix or matrices that have been calculated for the calibration temperature closer to the desired operation temperature.
A first target color point is then set (304) to obtain the desired target color. The target color points may be expressed as coordinates in the same absolute color space as used for the calibration data, for ease of reference. Preferably, the first target color point is chosen to correspond to the same absolute color coordinates as the target color, or to the closest color point for which an entry exists in the calibration data.
The current or other drive settings to apply to each LED in order to obtain a light output having a color generally corresponding to the first target color point is then calculated (306). This process is the same as used for the calculation of the drive settings used during step (132) of the calibration phase of
Once the drive settings, here current values for each LED emitter, have been determined based on the target color point, these drive settings are applied to the LED emitters (308).
The method next involves measuring the sensor color point coordinates of the light output using the color sensor. In the present embodiment, R, G and B values for the overall light output of the LED lighting system are therefore obtained.
The method next involves (step 312) determining the absolute color point coordinates of the light output of the LED lighting system. This determination is based on the sensor color point coordinates R, G and B measured at the previous step, and on the calibration matrix or matrices associated with the operation temperature. In one exemplary embodiment, the absolute color point coordinates are expressed as X, Y and Z coordinates in the CIE 1931 XYZ color space.
The details of the calculations performed when applying the calibration matrices depend on the approach used to calculate the calibration matrices themselves.
In the case of the first embodiment described above, where there is one calibration matrix associated with a given operation temperature relating non-linear functions of the sensor color points coordinates to the absolute color point coordinates, the determining of step 312 may be embodied by a simple matrix operation. In one implementation, a system sensor vector containing both first and second order terms of the measured sensor color point coordinates R, G, and B is built, and multiplied with the calibration matrix, for example according to equation (3) above. Of course, the system sensor vector may take other forms containing non-linear functions of the sensor color point coordinates without departing from the scope of the present invention. If calibration matrices are available for different temperatures, the matrix that was obtained at the calibration temperature that is closest to the operation temperature is preferably used. In some implementations, if the operation temperature is between two calibration temperatures, the absolute color point coordinates may be calculated from a linear interpolation using the calibration matrices associated with both closest operation temperatures.
In the second embodiment described above, each calibration matrix is associated with an individual LED emitter of the lighting system, and the individual contribution Rk, Gk and Bk of each LED emitter to the overall sensor color point coordinates R, G, and B therefore needs to be obtained.
In one implementation, the determining of the absolute color point coordinates of the light output may include a substep of estimating or measuring the sensor color point coordinates of the light emitted from each LED emitter.
In variants where the LED emitters are driven using the PWM driving scheme, this may be accomplished by offsetting in time the pulses from the different LED emitters, so that the individual LED emitter contributions to the overall light output can be deduced from color sensor measurements taken at different moments over the PWM duty cycle (see for example U.S. Pat. No. 7,397,205).
Another approach could include driving each LED emitter with currents modulated at different frequencies and using a Fourier transform on the color sensor data to deduce the relative contribution from each frequency, containing the color information from each emitter (see U.S. Pat. No. 8,159,150).
Estimating the individual contributions from each emitter to the measured sensor color point coordinates may alternatively be performed based on calibration information. For example, in embodiments using the calibration process of
The determining of the absolute color point coordinates of the light output preferably includes a next substep of calculating the absolute color point coordinates of the light from each LED emitter Xk, Yk and Zk based on the sensor color point coordinates of the light emitted from the corresponding LED emitter Rk, Gk and Bk and the corresponding emitter calibration matrix Ak. In one embodiment, this may be performed by applying equation (20), or equation (21), or the like. A substep of calculating the absolute color point coordinates of the light output as the sum of the absolute color point coordinates of the light emitted from each of the LED emitters is then performed, according to:
which is equivalent to equation (18) above.
As with the previous embodiment, if sets of emitter calibration matrices are available for different temperatures, the emitter calibration matrices that were obtained at the calibration temperature that is closest to the operation temperature are preferably used. In some implementations, if the operation temperature is between two calibration temperatures, absolute color point coordinates may be calculated from a linear interpolation using the sets of emitter calibration matrices associated with both closest operation temperatures.
The control phase 300 of the operation method finally includes step of comparing (314) the absolute color point coordinates determined at the previous step to the target color point coordinates representing the target color, to determine if a predetermined matching condition is met. The comparison is performed in a predefined color space, defining a comparison color space. Of course, if both coordinates are not provided in the same color space, a step of converting one set of coordinates is performed. For example, in one embodiment the target color may be expressed in color point coordinates in the CIELab color space, and the determined absolute color point coordinates obtained in the CIE 1931 XYZ color space are converted to CIELab before a comparison is made.
The comparison above may employ a predefined color difference formula valid in the comparison color space. For example, if the CIELab color space is used as comparison color space, one may calculate the color error by employing the CIE76 ΔEab* color difference formula, which is defined as the Euclidean distance between the measured color point and the target color point in the CIELab space:
With this color difference formula, a difference of less than 2 will not be detected by an observer, so the matching condition in such an embodiment may be expressed as ΔEab*≦2.
If the obtained color is within reasonable proximity to the target color, then the matching condition is achieved and the currently applied settings are maintained.
If the matching condition is not considered achieved, however, different drive settings should be applied and tested according to the procedure detailed above. In one embodiment, the target color point based on which the new drive settings are determined may be selected as the geometrical opposite, in the corresponding absolute color space, to the target point used in the previous iteration (step 316). An example of the target color point selection is illustrated in
Implementations of the method and system described above were tested using a four-LED model XLamp MC-E RGBW Cold White available from Cree Inc. The color sensor used for both the calibration process and the control process was a JENCOLOR True Color MTCS sensor (tradename) from MAZeT GmbH.
In a first series of experiments, the calibration approach for a single color using a calibration matrix providing the relationship of equation (3) was used.
Another set of experiments was performed using the same lighting system, but using a calibration process that provides calibration matrices for each individual emitter.
A slight decrease in performances can be observed compared to using D65 as the target color, but the errors are still within acceptable limits considering that the greatest error contributions come from the high and low luminosities and the much larger range of validity of the calibration with respect to the previous example, in which illuminant A (CCT of 2856 K) could not be reached.
By comparing the results for the two calibration approaches disclosed above, it appears that calibrating for a single color using a non-linear relationship provides better precision, but within a limited range, whereas using different calibration matrices for each LED emitter has no such range limitation. Both approaches could therefore be of interest depending on the circumstances of a particular implementation.
Of course, numerous modifications could be made to the embodiments described above without departing from the scope of the invention as defined in the appended claims.