Color matching algorithm for synthesizing white light with different color temperatures by using three-primary-color laser
By employing a color matching algorithm for synthesizing white light at different color temperatures using three primary color lasers, and utilizing the CIE 1931 xy chromaticity diagram and Planck locus to determine the color coordinates and tristimulus values within the color temperature range, and combining this with Grassmann's color mixing law to calculate the brightness and power ratio, the problem of color temperature control in the red, green, and blue three primary color laser synthesis white light scheme under different climatic conditions has been solved, thus improving the lighting effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2026-03-27
AI Technical Summary
Existing red, green, and blue three-primary-color laser synthesis white light schemes are difficult to dynamically adjust color temperature under different climatic conditions, resulting in poor lighting effects.
A color matching algorithm for synthesizing white light of different color temperatures using three primary color lasers is employed. The color coordinates and tristimulus values within the color temperature range are determined using the CIE 1931 xy chromaticity diagram and Planck locus. The brightness and power ratio of the red, green and blue lasers are calculated by combining the Grassmann color mixing law. The target color temperature and brightness ratio are obtained through interpolation.
It enables dynamic control of white light color temperature under different climatic conditions, improving the lighting effect, especially in rainy and foggy weather and on clear nights.
Smart Images

Figure CN121740403A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of white light illumination using semiconductor lasers, and in particular, to an algorithm for synthesizing white light of different color temperatures using three primary color lasers. Background Technology
[0002] Currently, there are two main approaches to synthesizing white light using semiconductors: monochromatic lasers using fluorescent materials for conversion and red, green, and blue (RGB) laser synthesis. White laser sources synthesized directly from RGB semiconductor lasers can dynamically control the color and color temperature of the output laser. Since each primary color is independently controllable, the color temperature of the white light can be dynamically adjusted by changing the proportions of the three primary colors. This allows for optimal illumination under various harsh weather conditions. In rainy or foggy weather, lower color temperature lighting is typically required for higher penetration; while on clear nights, higher color temperatures are chosen to make the light appear brighter and more vibrant. Summary of the Invention
[0003] The purpose of this invention is to provide an algorithm for synthesizing white light of different color temperatures using three primary color lasers.
[0004] To achieve the above objectives, one technical solution of the present invention is as follows: a color matching algorithm for synthesizing white light of different color temperatures using three primary color lasers, comprising:
[0005] Set the chromaticity coordinates corresponding to the target color temperature as (x0, y0);
[0006] The wavelength values of the selected red, green, and blue lasers are set to λ. r , λ g , λ b The corresponding chromaticity coordinates are (x r y r ), (x g y g ), (x b y b ), and the corresponding tristimulus value is (X r Y r Z r ), (X g Y g Z g ), (X b Y b Z b );
[0007] The brightness of the red, green, and blue lasers is set to L. r L g L b ;
[0008] The powers of the red, green, and blue lasers are set to P, respectively.r P g P b Assume that the ratio of red, green and blue lasers satisfies the normalization condition.
[0009] As a preferred scheme for the color matching algorithm of synthesizing white light of different color temperatures using three primary color lasers, the white light color coordinates (x... w y w The chromaticity coordinates of the target color temperature are determined using the Planck locus in the CIE 1931 xy chromaticity diagram. After determining the chromaticity coordinates of a portion of the white light color temperature within the color temperature range, the chromaticity coordinates of the target color temperature are obtained using mathematical methods of interpolation.
[0010] As a preferred scheme for the color matching algorithm of synthesizing white light of different color temperatures using three primary color lasers, the tristimulus values and chromatic coordinates of red, green and blue lasers are determined according to the CIE1931 xy chromaticity diagram. After determining the tristimulus values and chromatic coordinates within the wavelength range of the light source, the tristimulus values and chromatic coordinates of the target wavelength are obtained by using mathematical methods of interpolation.
[0011] As a preferred scheme for color matching algorithms that synthesize white light of different color temperatures using three primary color lasers, the brightness ratio of red, green, and blue lasers L... r :L g :L b It is determined according to Grassmann's law of color mixing.
[0012] As a preferred scheme for the color matching algorithm of synthesizing white light of different color temperatures using three primary color lasers, if we assume that the tristimulus values of a certain color are X, Y, and Z, the chromaticity coordinates are (x, y), and the luminance is L, then these three satisfy... The relationship between tristimulus values and chromaticity coordinates
[0013] As a preferred scheme for color matching algorithms that synthesize white light of different color temperatures using three primary color lasers, when synthesizing white light using three primary color lasers, the wavelengths and brightness of the three primary colors are known, and their color coordinates are (x... r y r ), (x g y g ), (x b y b ), the corresponding tristimulus value is (X r Y r Z r ), (X g Y g Z g ), (X b Y b Z b The color coordinates of white light are (x0, y0), and the tristimulus values are (X0, Y0, Z0). Then, the relationship between white light and the tristimulus values of the three primary colors (red, green, and blue) is as follows: The chromaticity coordinates of white light are If the brightness ratio of red, green, and blue is L r :L g :L b The brightness of white light is L0, which gives...
[0014] As a preferred scheme for the color matching algorithm of synthesizing white light of different color temperatures using three primary color lasers, the power of the red, green, and blue lasers is determined according to the formula L=K m ·Y (λ) P is determined, where K m The spectral efficiency is 683 lm / W, Y (λ) Let λ be the Y stimulus value corresponding to wavelength λ. Then, for the selected three primary colors, their power ratio can be expressed as:
[0015] Compared with the prior art, the technical effects of the present invention are at least as follows: obtaining the brightness ratio of red, green and blue lasers at the target color temperature according to Grassmann's color mixing law, and further, obtaining the power ratio of red, green and blue lasers. Attached Figure Description
[0016] Figure 1 It is the CIE1931 xy chromaticity diagram and Planck locus.
[0017] Figure 2 This is a flowchart for obtaining the color coordinates and tristimulus values of white light and visible light.
[0018] Figure 3 This is a flowchart of the algorithm for synthesizing white light of different color temperatures using three primary color lasers. Detailed Implementation
[0019] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings. It should be noted that these descriptions of embodiments are intended to aid in understanding the invention and do not constitute a limitation thereof. Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0020] See Figure 1 , Figure 1 The diagram shown is the CIE1931 xy chromaticity diagram and Planck locus.
[0021] See Figure 2 , Figure 2 This illustrates the process for obtaining the color coordinates and tristimulus values of white light and visible light. The color coordinates of the white light color temperature are determined by... Figure 1The Planck locus is determined, thereby obtaining the chromatic coordinates and tristimulus values within the white light color temperature range. Specifically, the chromatic coordinates and tristimulus values of visible light are determined by the CIE 1931 xy chromaticity diagram, thereby obtaining the chromatic coordinates and tristimulus values of visible light (red, green, and blue light).
[0022] See Figure 3 , Figure 3 This illustrates the algorithm flow for synthesizing white light of different color temperatures using three primary color lasers. The color matching algorithm includes:
[0023] Step S11: Determine whether the input white light color temperature value is within the preset color temperature range. If yes, use the mathematical method of interpolation to solve for the color coordinate value corresponding to the white light color temperature value. If no, request to re-enter the white light color temperature value, which can be entered according to the prompt.
[0024] Step S12: Determine whether the input red, green, and blue primary color wavelength values are within the preset wavelength range. If yes, use the mathematical method of interpolation to solve for the color coordinates and tristimulus values corresponding to the red, green, and blue primary color wavelength values. If no, request to re-enter the red, green, and blue primary color wavelength values, which can be entered according to the prompts.
[0025] Step S13: Based on the color coordinates corresponding to the color temperature of white light and the color coordinates and tristimulus values corresponding to the wavelengths of the three primary colors (red, green, and blue), the brightness ratio L of red (r), green (g), and blue (b) is solved using Grassmann's color mixing law. r :L g :L b .
[0026] Step S14, according to the formula Among them, P r P g P b These are the power ratios corresponding to the wavelengths of the three primary colors: red, green, and blue, respectively. r L g L b These represent the brightness corresponding to the wavelengths of the three primary colors: red, green, and blue. r(λ) Y g(λ) Y b(λ) These are the tristimulus values corresponding to the wavelengths of the three primary colors: red, green, and blue.
[0027] The above description merely illustrates embodiments of the present invention and is quite specific and detailed; however, it should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A three-primary-color laser synthesizes different color temperature white light color matching algorithm, characterized by: The color coordinate corresponding to the target color temperature is set as (x0, y0); Set the wavelength value of the selected red, green and blue lasers as λ r , λ g , λ b , respectively r , y r ), (x g , y g ), (x b , y b ) respectively, and the corresponding tristimulus values are (X r , Y r , Z r ), (X g , Y g , Z g ), (X b , Y b , Z b ) respectively The brightness of the red, green and blue lasers is set as L r , L g , L b , respectively. The powers of the red, green and blue lasers are set as P r , P g , P b , respectively, assuming that the red, green and blue lasers are in a ratio that satisfies a normalization condition.
2. The color matching algorithm for synthesizing white light with different color temperatures by three lasers according to claim 1, characterized in that: The white light color coordinate (x0, y0) is determined by using the Planck locus in the CIE 1931 xy chromaticity diagram, and after determining the color coordinate values of part of the white light color temperature in the color temperature range, the color coordinate of the target color temperature is obtained by using the mathematical method of interpolation operation.
3. The color matching algorithm for synthesizing white light with different color temperatures by three lasers according to claim 1, characterized in that: The tristimulus values and color coordinates of red, green and blue lasers are determined according to the CIE 1931 xy chromaticity diagram, and after determining the tristimulus values and color coordinate values in the wavelength range of the light source, the tristimulus values and color coordinates of the target wavelength are obtained by using the mathematical method of interpolation operation.
4. The color matching algorithm for synthesizing white light of different color temperatures with three lasers according to claim 1, characterized in that: The brightness ratio L of the red, green, blue lasers is determined according to Grassmann's color mixing law. r : L g : L b is determined according to Grassmann's color mixing law.
5. Grassmann's color mixing law according to claim 4, characterized in that, If the tristimulus values of a color are assumed to be X, Y, Z, the chromaticity coordinates are (x, y), and the brightness is L, then the three satisfy The relationship between the tristimulus values and the chromaticity coordinates is 6. Grassmann's color mixing law according to claim 5, characterized in that, In the synthesis of white light from three primary colors of laser, the wavelengths and brightness of the three primary colors are known, and their color coordinates are (x r , y r ), (x g , y g ), (x b , y b ), and the corresponding tristimulus values are (X r , Y r , Z r ), (X g , Y g , Z g ), (X b , Y b , Z b ). The color coordinates of the white light are (x0, y0), and the tristimulus values are (X0, Y0, Z0). The relationship between the tristimulus values of the white light and the three primary colors is If the brightness ratios of the three primary colors are L r : L g : L b , and the brightness of the white light is L0, then 7. The color matching algorithm for synthesizing white light of different color temperatures with three lasers according to claim 1, characterized in that: The powers of the red, green and blue lasers are determined according to the formula L = K m • Y (λ) • P, where K m is the spectral luminous efficiency, which has a value of 683 lm / W, Y (λ) is the Y stimulus value corresponding to the wavelength λ, then for the selected three primary colors the ratio of the powers can be expressed as