Color light mixing control method and apparatus, and lamp

By calculating the color power ratio of cool white light and warm white light and controlling their mixing to output the target colored light, the problem of poor spectral continuity in traditional colored light mixing methods is solved, thus improving color quality and visual comfort.

WO2026138957A1PCT designated stage Publication Date: 2026-07-02SUZHOU OPPLE LIGHTING +1

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SUZHOU OPPLE LIGHTING
Filing Date
2025-12-25
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

Traditional color light mixing methods result in poor continuity of the target color light spectrum, poor color quality, and insufficient visual comfort.

Method used

By acquiring the source chromaticity coordinates and brightness of cool white light, warm white light, and three source colored lights, the target chromaticity coordinates of the target colored light are determined. Based on the positional relationship and brightness, the color power ratio of the reference white light is calculated, and the cool white light and warm white light are mixed to output the target colored light.

Benefits of technology

It improves the spectral continuity and color quality of the target colored light, thereby enhancing visual comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025145565_02072026_PF_FP_ABST
    Figure CN2025145565_02072026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of light mixing and provides a color light mixing control method and apparatus, and a lamp. The method comprises: acquiring respective source chromaticity coordinates and source brightnesses of a cold white light, a warm white light, and three source color lights; determining a reference white light on the basis of a positional relationship among a target chromaticity coordinate of a target color light, the source chromaticity coordinate of the cold white light, and the source chromaticity coordinate of the warm white light, and the respective source brightnesses of the cold white light and the warm white light; and determining respective actual color power ratios of the cold white light, the warm white light, and the three source color lights on the basis of the target chromaticity coordinate, the reference white light, the source chromaticity coordinates of the three source color lights, a reference brightness, and the respective source brightnesses of the three source color lights. In the present application, because the two white lights have good spectral continuity, a mixed target color light inherits the characteristic of good spectral continuity of the two white lights, so that the color quality of the mixed target color light is better.
Need to check novelty before this filing date? Find Prior Art

Description

Colored light mixing control methods, devices and luminaires

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 2024119415787, filed on December 25, 2024, entitled "Colored Light Mixing Control Method, Apparatus and Lamp Fixture", which is incorporated herein by reference in its entirety. Technical Field

[0003] This application relates to the field of light mixing technology, and in particular to a method, device and lamp for controlling color light mixing. Background Technology

[0004] The conventional RGBCW light source mixes white light by mixing cool white (C) and warm white (W) light. If mixing colored light is required, it is usually achieved by mixing RGB three-color light. Because the LEDs for R, G, and B light all use single-wavelength chips with narrow half-widths, while the resulting target colored light may meet color requirements, the overall spectrum continuity is poor, leading to lower color quality (CQS). This type of target colored light can cause visual stimulation and poor visual comfort. Summary of the Invention

[0005] This application provides a method, apparatus, and lamp for controlling color light mixing, in order to solve the problem that the continuity of the target color light spectrum is poor in traditional technology, resulting in poor color quality.

[0006] This application provides a method for mixing colored light, including the following steps.

[0007] Obtain the source chromaticity coordinates and source brightness of each of the cool white light, warm white light, and three source colored lights. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored lights as vertices. The source brightness of each of the cool white light, warm white light, and three source colored lights is the brightness under the same power supply driving power condition.

[0008] Obtain the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut.

[0009] Based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, the reference chromaticity coordinates and reference brightness of the reference white light are determined, and the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light are determined.

[0010] Based on the target chromaticity coordinates, reference chromaticity coordinates, source chromaticity coordinates of the three source colored lights, reference brightness, and the source brightness of each of the three source colored lights, the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights are determined.

[0011] Based on the reference color power ratio, the first color power ratio, and the second color power ratio, the actual color power ratios of cool white light and warm white light are determined. Each of the actual color power ratios is used to control the output of the corresponding target brightness of the light source of the corresponding color in order to mix the target colored light.

[0012] According to the color light mixing control method provided in this application, based on the positional relationship between the target chromaticity coordinates of the target color light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, the reference chromaticity coordinates and reference brightness of the reference white light are determined, and the first color power ratio and the second color power ratio of the reference white light mixed from the cool white light and the warm white light are determined, including the following steps.

[0013] The first determination coordinate of the target chromaticity coordinate is compared with the second determination coordinate of the source chromaticity coordinate of cool white light and the third determination coordinate of the source chromaticity coordinate of warm white light. The first determination coordinate, the third determination coordinate, and the third determination coordinate can all be abscissas, or the first determination coordinate, the third determination coordinate, and the third determination coordinate can all be ordinates.

[0014] When the first determination coordinate is less than or equal to the second determination coordinate, the reference chromaticity coordinate is determined to be the source chromaticity coordinate of the cool white light, the reference brightness is the source brightness of the cool white light, the first color power ratio is 100%, and the second color power ratio is 0.

[0015] When the first determination coordinate is greater than the second determination coordinate and less than the third determination coordinate, the reference chromaticity coordinate, reference brightness, first color power ratio and second color power ratio are determined based on the target chromaticity coordinate, the source chromaticity coordinates of cool white light and warm white light respectively, and the source brightness of cool white light and warm white light respectively.

[0016] When the first determination coordinate is greater than or equal to the third determination coordinate, the reference chromaticity coordinate is determined to be the source chromaticity coordinate of the warm white light, the reference brightness is the source brightness of the warm white light, the second color power ratio is 100%, and the first color power ratio is 0.

[0017] According to the color light mixing control method provided in this application, when the first determination coordinate is greater than the second determination coordinate and less than the third determination coordinate, the reference chromaticity coordinate, reference brightness, first color power ratio and second color power ratio are determined based on the target chromaticity coordinate, the source chromaticity coordinates of cool white light and warm white light and the source brightness of cool white light and warm white light, including the following steps.

[0018] The first determination coordinate is determined as the first reference coordinate of the reference chromaticity coordinate, wherein both the first determination coordinate and the first reference coordinate are horizontal coordinates or both are vertical coordinates.

[0019] Based on the first reference coordinate of the reference chromaticity coordinates and the source chromaticity coordinates of cool white light and warm white light respectively, the second reference coordinate of the reference chromaticity coordinates is determined.

[0020] The reference brightness is determined based on the first reference coordinates of the reference chromaticity coordinates, the source chromaticity coordinates of cool white light and warm white light respectively, and the source brightness of cool white light and warm white light respectively.

[0021] Based on the reference brightness and the source brightness of cool white light and warm white light respectively, the first color power ratio and the second color power ratio are determined.

[0022] According to the color light mixing control method provided in this application, based on the target chromaticity coordinates, reference chromaticity coordinates, source chromaticity coordinates of the three source colored lights, reference brightness, and the source brightness of each of the three source colored lights, the method determines the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights, including the following steps.

[0023] The target color gamut where the target chromaticity coordinates are located is determined. The reference chromaticity coordinates and the source chromaticity coordinates of any two source colored lights form a sub-color gamut, for a total of three sub-color gamuts. The target color gamut is one of the three sub-color gamuts.

[0024] The two source colors corresponding to the target color gamut are identified as two candidate colors.

[0025] Based on the target chromaticity coordinates, reference chromaticity coordinates, the source chromaticity coordinates of each of the two candidate colored lights, the reference brightness, and the source brightness of each of the two candidate colored lights, the reference color power ratio and the actual color power ratio of each of the two candidate colored lights are determined.

[0026] According to the color light mixing control method provided in this application, determining the target color gamut where the target chromaticity coordinates are located includes: determining the target color gamut where the target chromaticity coordinates are located through geometric calculation based on the positional relationship between the target chromaticity coordinates, the reference chromaticity coordinates, and the source chromaticity coordinates of the three source colored lights.

[0027] According to the color light mixing control method provided in this application, the target color gamut where the target color coordinates are located is determined by geometric calculation based on the positional relationship between the target color coordinates, the reference color coordinates, and the source color coordinates of the three source color lights, including the following steps.

[0028] Determine a ray that originates from the reference chromaticity coordinates and is parallel to the horizontal axis of the chromaticity coordinate system.

[0029] Using the ray as the 0-degree starting line, and the three line segments from the coordinate points of the three source chromaticity coordinates of the three source colored lights to the coordinate points of the reference chromaticity coordinates as the termination lines, three reference vector angles are determined.

[0030] The target vector angle is determined by taking the ray as the starting line at 0 degrees and the line segment from the coordinate point of the target chromaticity coordinates to the coordinate point of the reference chromaticity coordinates as the ending line.

[0031] Based on the relationship between the target vector angle and the three reference vector angles, the target color gamut where the target chromaticity coordinates are located is determined.

[0032] According to the color light mixing control method provided in this application, based on the target chromaticity coordinates, reference chromaticity coordinates, the source chromaticity coordinates of each of the two candidate colored lights, the reference brightness, and the source brightness of each of the two candidate colored lights, the method determines the reference color power ratio and the actual color power ratio of each of the two candidate colored lights, including: calculating the reference color power ratio and the actual color power ratio of each of the two candidate colored lights according to the following formula. b = a*(y2-y1)-x1y2+x2y1.

[0033] Among them, P m The reference color power ratio is defined as P1 and P2, which are the actual color power ratios of the two candidate colored lights, respectively. m Let L1 and L2 be the source luminances of the two candidate colored lights, respectively, and (x) represent the reference luminance. m ,y m (x1, y1) and (x2, y2) are the reference chromaticity coordinates and the source chromaticity coordinates of the two candidate colored lights, respectively. T ,y T ) represents the target chromaticity coordinates, where a, b, and c are intermediate variables.

[0034] According to the color light mixing control method provided in this application, the method further includes: normalizing the power ratio of each actual color so that the sum of the normalized power ratios of each actual color is 1.

[0035] This application also provides a color light mixing control device, which includes the following modules.

[0036] The source chromaticity coordinate acquisition module is configured to acquire the source chromaticity coordinates and source brightness of cool white light, warm white light and three source colored light, respectively. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored light as vertices. The source brightness of the cool white light, warm white light and three source colored light is the brightness under the same power supply driving power conditions.

[0037] The target chromaticity coordinate acquisition module is configured to acquire the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut.

[0038] The reference white light determination module is configured to determine the reference chromaticity coordinates and reference brightness of the reference white light based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, and to determine the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light.

[0039] The first power ratio determination module is configured to determine the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights based on the target chromaticity coordinates, the reference chromaticity coordinates, the source chromaticity coordinates of the three source colored lights, the reference brightness, and the source brightness of each of the three source colored lights.

[0040] The second power ratio determination module is configured to determine the actual color power ratio of cool white light and warm white light based on the reference color power ratio, the first color power ratio and the second color power ratio. Each actual color power ratio is used to control the light source of the corresponding color to output the corresponding target brightness in order to mix the target colored light.

[0041] This application also provides a lighting fixture, including: a light source and the above-mentioned color light mixing control device, wherein the light source includes: a cool white sub-light source, a warm white sub-light source and color sub-light sources that emit three source color lights respectively, and the color light mixing control device is configured to drive the corresponding sub-light sources to emit light according to the actual color power ratio, so as to mix the target color light.

[0042] The color light mixing control method, device and lamp provided in this application have the advantage that the target color light obtained by mixing cool white light and warm white light has good spectral continuity. This means that the overall wavelength energy distribution is more uniform than that of traditional three-color light mixing methods, resulting in better color quality and more comfortable visual experience of the mixed target color light. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in this application or conventional technology, the drawings used in the description of the embodiments or conventional technology will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0044] Figure 1 is one of the flowcharts of the color light mixing control method provided in the embodiments of this application.

[0045] Figure 2 is a schematic diagram of the partitioning of the basic color gamut for determining the reference chromaticity coordinates in the color light mixing control method provided in the embodiments of this application.

[0046] Figure 3 is a second schematic flowchart of the color light mixing control method provided in the embodiments of this application.

[0047] Figure 4 is one of the schematic diagrams of the sub-color gamut in the color light mixing control method provided in the embodiments of this application.

[0048] Figure 5 is a second schematic diagram of the sub-color gamut in the color light mixing control method provided in the embodiments of this application.

[0049] Figure 6 is a schematic diagram of the third sub-color gamut in the color light mixing control method provided in the embodiments of this application.

[0050] Figure 7 is a schematic flowchart of the color light mixing control method provided in the embodiments of this application.

[0051] Figure 8 is a schematic diagram of determining the target color gamut in the color light mixing control method provided in the embodiments of this application.

[0052] Figure 9 is a schematic diagram of the chromaticity coordinates of four target colored lights in the colored light mixing control method provided in the embodiments of this application.

[0053] Figure 10 is a spectral comparison of the mixing results of the target color light A in Figure 9 using the RGBCW color light mixing control method of this application and the traditional RGB three-color light mixing method.

[0054] Figure 11 is a spectral comparison of the mixing results of the target color light B in Figure 9 using the RGBCW color light mixing control method of this application and the traditional RGB three-color light mixing method.

[0055] Figure 12 is a spectral comparison of the mixing results of the target color light C in Figure 9 using the RGBCW color light mixing control method of this application and the traditional RGB three-color light mixing method.

[0056] Figure 13 is a spectral comparison of the mixing results of the target color light D in Figure 9 using the RGBCW color light mixing control method of this application and the traditional RGB three-color light mixing method.

[0057] Figure 14 is a schematic diagram of the structure of the color light mixing control device provided in the embodiment of this application.

[0058] Figure 15 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0060] The color light mixing control method of this application embodiment, as shown in FIG1, includes the following steps S110 and S150.

[0061] Step S110: Obtain the source chromaticity coordinates and source luminance of each of the cool white light, warm white light, and three source colored lights. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored lights. The source luminance of each of the cool white light, warm white light, and three source colored lights is the luminance under the same power supply driving power condition. The unit of luminance is candela per square meter (cd / m²). 2 ), which represents the light intensity per unit area. 1 candela / square meter is equal to the brightness of a light source with 1 candela on an area of ​​1 square meter.

[0062] Specifically, the source chromaticity coordinates and source brightness of cool white light, warm white light, and the three source colored lights can be measured using professional optical equipment. Taking the light emitted by four LED light sources, namely R, G, B, C, and W, as an example, the specifications of each LED light source are shown in Table 1 below. The source chromaticity coordinates of the light emitted by the five LED light sources, namely R, G, B, C, and W, in the color gamut coordinate system are shown in Figure 2. Among them, the source chromaticity coordinates of R, G, and B are different according to different wavelengths.

[0063] Table 1. Specifications of four commonly used LED light sources: R, G, B, C, and W.

[0064] As shown in Figure 2, the three source chromaticity coordinates of the three source colored lights can form a basic color gamut. For example, the basic color gamut formed by RGB is the triangular color gamut area shown by the thicker dashed line in Figure 2. Since the final target colored light can only be a color within this basic color gamut, and white light must participate in the mixing, the source chromaticity coordinates of both cool white light and warm white light must be located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored lights.

[0065] Step S120: Obtain the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut. Since the final mixed target colored light can only be a color within this basic color gamut, the target chromaticity coordinates must be located within the basic color gamut.

[0066] Step S130: Based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, determine the reference chromaticity coordinates and reference brightness of the reference white light, and determine the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light.

[0067] Since cool white light and warm white light are involved in the light mixing, it is necessary to first determine the mixing result of cool white light and warm white light, that is, to determine the reference white light. In this embodiment, based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and warm white light, a suitable mixing method for cool white light and warm white light is selected to obtain the reference white light. Specifically, the reference chromaticity coordinates of the reference white light can be determined based on the source chromaticity coordinates of the cool white light and warm white light, and the reference brightness, the first color power ratio, and the second color power ratio can be determined based on the reference chromaticity coordinates, the source chromaticity coordinates of the cool white light and warm white light, and the source brightness of the cool white light and warm white light.

[0068] For example, if the target chromaticity coordinates are close to the source chromaticity coordinates of warm white light, the final determined reference chromaticity coordinates are also close to the source chromaticity coordinates of warm white light. The final determined second color power ratio is greater than the first color power ratio, or even the second color power ratio is 100% and the first color power ratio is 0.

[0069] It is understandable that the source luminance of cool white light, warm white light, and the three colored lights are the luminances under the same power supply driving power (i.e., the power supply driving power corresponding to each light source is equal), and the luminance of each source can be measured using dedicated optical equipment. Moreover, the reference white light is a mixture of cool white light and warm white light, so the product of the source luminance of cool white light and the power ratio of the first color plus the product of the source luminance of warm white light and the power ratio of the second color equals the reference luminance.

[0070] Step S140: Based on the target chromaticity coordinates, reference chromaticity coordinates, source chromaticity coordinates of the three source colored lights, reference brightness, and the source brightness of each of the three source colored lights, determine the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights.

[0071] Among them, each color power ratio represents the ratio of the target brightness to be output by the light source to the source brightness. Theoretically, the reference white light only needs to be output according to the reference color power ratio based on the reference brightness to obtain the corresponding target brightness. However, in reality, the reference white light does not have a corresponding light source, but is a mixture of cool white light and warm white light. Therefore, the following step S150 needs to be performed to determine the actual color power ratio of each of the cool white light and warm white light.

[0072] Step S150: Based on the reference color power ratio, the first color power ratio, and the second color power ratio, determine the actual color power ratio of cool white light and warm white light respectively. Each actual color power ratio is used to control the output of the corresponding target brightness of the light source of the corresponding color to mix the target colored light.

[0073] Specifically, the reference color power ratio multiplied by the first color power ratio is the actual color power ratio of cool white light, and the reference color power ratio multiplied by the second color power ratio is the actual color power ratio of warm white light. In practical applications, it is only necessary to control the light sources of cool white light, warm white light, and the three source colored lights to output according to their respective actual color power ratios based on their respective source brightness. That is, the corresponding light sources can output the corresponding target brightness, thereby mixing to produce the target colored light.

[0074] In the color light mixing control method of this embodiment, since the spectral continuity of cool white light and warm white light is good, the target color light obtained by mixing cool white light and warm white light continues the characteristic of good spectral continuity of cool white light and warm white light. This makes the overall band energy distribution more uniform than the traditional three-color light mixing method, resulting in better color quality and more comfortable visual experience of the mixed target color light.

[0075] In some embodiments, step S120 includes the following steps.

[0076] The first determination coordinate of the target chromaticity coordinate is compared with the second determination coordinate of the source chromaticity coordinate of cool white light and the third determination coordinate of the source chromaticity coordinate of warm white light. The first determination coordinate, the third determination coordinate, and the third determination coordinate can all be abscissas, or the first determination coordinate, the third determination coordinate, and the third determination coordinate can all be ordinates.

[0077] To illustrate this more clearly, let's take the case where all the determination coordinates are horizontal coordinates as an example. As shown in Figure 2, the coordinates of the source chromaticity coordinates of the cool white light and the warm white light are drawn with straight lines perpendicular to the horizontal axis of the color gamut coordinate system, dividing the basic color gamut into three regions Z_A, Z_B and Z_C. The target chromaticity coordinates are located in the three regions respectively, corresponding to the following three cases of determining the reference white light, as shown in Table 2 below.

[0078] Table 2. Methods for determining reference white light

[0079] When the first determination coordinate is less than or equal to the second determination coordinate, the reference chromaticity coordinate is determined as the source chromaticity coordinate of the cool white light, the reference brightness is the source brightness of the cool white light, the first color power ratio is 100%, and the second color power ratio is 0. As shown in Figure 2, when all determination coordinates are horizontal coordinates, if the horizontal coordinate of the target chromaticity coordinate is less than or equal to the horizontal coordinate of the cool white light, the target chromaticity coordinate is located in region Z_A. In this case, the reference brightness is the source brightness of the cool white light, the first color power ratio is 100%, and the second color power ratio is 0, meaning the cool white light is used as the reference white light.

[0080] When the first determination coordinate is greater than the second determination coordinate and less than the third determination coordinate, the reference chromaticity coordinate, reference brightness, first color power ratio, and second color power ratio are determined based on the target chromaticity coordinate, the source chromaticity coordinates of cool white light and warm white light, and the source brightness of cool white light and warm white light, respectively. As shown in Figure 2, when all determination coordinates are horizontal coordinates, if the horizontal coordinate of the target chromaticity coordinate is greater than the horizontal coordinate of cool white light and less than the horizontal coordinate of warm white light, the target chromaticity coordinate is located in region Z_B. In this case, the reference chromaticity coordinate, reference brightness, first color power ratio, and second color power ratio are determined based on the target chromaticity coordinate, the source chromaticity coordinates of cool white light and warm white light, and the source brightness of cool white light and warm white light, respectively. That is, the mixture of cool white light and warm white light according to the first color power ratio and the second color power ratio is used as the reference white light.

[0081] Specifically, the first determination coordinate is determined as the first reference coordinate of the reference chromaticity coordinate. Both the first determination coordinate and the first reference coordinate are horizontal coordinates or both are vertical coordinates. Taking the example that both the first determination coordinate and the first reference coordinate are horizontal coordinates, the horizontal coordinate of the target chromaticity coordinate is set as the horizontal coordinate of the reference chromaticity coordinate, which gives the following formula: x m =x T (1).

[0082] Based on the first reference coordinate of the reference chromaticity coordinate and the source chromaticity coordinates of cool white light and warm white light respectively, the second reference coordinate of the reference chromaticity coordinate is determined. Taking the first reference coordinate as the horizontal coordinate as an example, the second reference coordinate is the vertical coordinate. In this embodiment, the formula for determining the vertical coordinate of the reference chromaticity coordinate is as follows.

[0083] Based on the first reference coordinates of the reference chromaticity coordinates, the source chromaticity coordinates of cool white light and warm white light respectively, and the source brightness of cool white light and warm white light respectively, the reference brightness is determined. In this embodiment, the formula for determining the reference brightness is as follows.

[0084] Based on the reference brightness and the source brightness of cool white light and warm white light respectively, the first color power ratio and the second color power ratio are determined. In this embodiment, the formula for determining the first color power ratio and the second color power ratio is as follows. P mW =1-P mC (5).

[0085] Among them, (x T ,y T (x) represents the target chromaticity coordinates. C ,y C ) and (x W ,y W The coordinates of the source chromaticity of cool white light and warm white light are L and L, respectively. m L C and L W These represent the reference luminance, the source luminance of cool white light, and the source luminance of warm white light, respectively. (P) mC and P mW These are the first color power ratio and the second color power ratio, respectively.

[0086] When the first determination coordinate is greater than or equal to the third determination coordinate, the reference chromaticity coordinate is determined to be the source chromaticity coordinate of the warm white light, the reference brightness is the source brightness of the warm white light, the second color power ratio is 100%, and the first color power ratio is 0. As shown in Figure 2, when all determination coordinates are horizontal coordinates, if the horizontal coordinate of the target chromaticity coordinate is greater than or equal to the horizontal coordinate of the warm white light, the target chromaticity coordinate is located in region Z_C. In this case, the reference brightness is the source brightness of the warm white light, the first color power ratio is 0%, and the second color power ratio is 100%, meaning the warm white light is used as the reference white light.

[0087] It should be noted that the reference white light can also be determined by comparing the first ordinate of the target chromaticity coordinates with the second ordinate of the source chromaticity coordinates of cool white light and the third ordinate of the source chromaticity coordinates of warm white light. That is, in Figure 2, the coordinates of the source chromaticity coordinates of cool white light and warm white light are plotted with straight lines perpendicular to the vertical axis of the color gamut coordinate system to divide the region and determine the reference white light. The principle is the same as the principle of determining the reference white light by comparing the magnitude of the horizontal coordinates, and will not be repeated here.

[0088] In the field of light mixing, for a single target colored light (i.e., the target chromaticity coordinates are determined), and the chromaticity coordinates of three source colored lights (e.g., RGB) are also determined, a unique set of color power ratios can be obtained for the three source colored lights. Controlling the output brightness of the three source colored lights according to this set of color power ratios allows for the mixing of the target colored light. However, with four or more source lights, theoretically there are multiple sets of color power ratios, i.e., multiple sets (P... C ,P W ,P R ,P G ,P B ), according to each group (P C ,P W ,P R ,P G ,P B Controlling the five corresponding source lights can mix them to obtain the target colored light, and the process of solving the power ratio of each group of colors is relatively complex. Therefore, in some embodiments, as shown in FIG3, step S140 specifically includes the following steps S310 to S330.

[0089] Step S310: Determine the target color gamut where the target chromaticity coordinates are located. The reference chromaticity coordinates and the source chromaticity coordinates of any two source colored lights form a sub-color gamut, for a total of three sub-color gamuts. The target color gamut is one of the three sub-color gamuts.

[0090] Specifically, taking the five colors RGBCW as an example, the sub-gamut division methods corresponding to the three different cases of determining the reference white light in Table 2 are shown in Figures 4, 5, and 6, respectively. For example, in Figure 4, when the reference chromaticity coordinates of the reference white light are the source chromaticity coordinates of the cool white light, the source chromaticity coordinates of the cool white light, the source chromaticity coordinates of the green light, and the source chromaticity coordinates of the blue light form sub-gamut I; the source chromaticity coordinates of the cool white light, the source chromaticity coordinates of the blue light, and the source chromaticity coordinates of the red light form sub-gamut II; the source chromaticity coordinates of the cool white light, the source chromaticity coordinates of the red light, and the source chromaticity coordinates of the green light form sub-gamut III; and the target chromaticity coordinate T is located in the target gamut, which is sub-gamut I.

[0091] Step S320: Determine the two source colored lights corresponding to the target color gamut as two candidate colored lights. As shown in Figure 4, since the target chromaticity coordinates are located in sub-color gamut I, the green and blue light corresponding to sub-color gamut I can be determined as candidate colored lights; as shown in Figures 5 and 6, since the target chromaticity coordinates are located in sub-color gamut II, the blue and red light corresponding to sub-color gamut II can be determined as candidate colored lights.

[0092] Step S330: Based on the target chromaticity coordinates, reference chromaticity coordinates, the source chromaticity coordinates of each of the two candidate colored lights, the reference brightness, and the source brightness of each of the two candidate colored lights, determine the reference color power ratio and the actual color power ratio of each of the two candidate colored lights. That is, the actual color power ratio of the other non-candidate source colored light is 0. As shown in Figure 4, based on the target chromaticity coordinates, the source chromaticity coordinates of cool white light, blue light, and green light, and the source brightness of each of cool white light, blue light, and green light, determine the reference color power ratio of cool white light, the actual color power ratio of blue light and green light, while the actual color power ratio of red light is 0.

[0093] In this embodiment, since the target chromaticity coordinates are within a certain sub-color gamut, the three source lights (two colored lights and a reference white light) that make up the sub-color gamut can be used to mix the colored light corresponding to the target chromaticity coordinates. Moreover, the target colored light can be obtained by mixing the three source lights, and the unique color power ratio of the three source lights can be obtained, and the calculation is simple.

[0094] In some embodiments, determining the target color gamut where the target chromaticity coordinates are located includes: determining the target color gamut where the target chromaticity coordinates are located through geometric calculation based on the positional relationship between the target chromaticity coordinates, the reference chromaticity coordinates, and the source chromaticity coordinates of the three source colored lights.

[0095] As shown in Figure 6, the target chromaticity coordinates T in sub-gamut II can be determined using various geometric calculation methods. For example, a first linear function can be determined using points B and W, and a second linear function using points R and W. The positional relationship between the target chromaticity coordinates T and the first and second linear functions can then be determined, thus identifying the target gamut T as sub-gamut II. Another example is the determination of six reference linear functions using points B and G, G and R, R and B, B and W, G and W, and R and W respectively. A target linear function parallel to the x-axis can then be determined through point T. The target linear function intersects all the reference lines. By comparing the positional relationship between the coordinates of point T and the coordinates of each intersection point, the target chromaticity coordinates T can be identified as sub-gamut II.

[0096] In some embodiments, as shown in FIG7, the target color gamut where the target chromaticity coordinates are located is determined by geometric calculation based on the positional relationship between the target chromaticity coordinates, the reference chromaticity coordinates, and the source chromaticity coordinates of the three source colored lights, including steps S710 to S740.

[0097] Step S710: Determine a ray that starts from the reference chromaticity coordinates and is parallel to the horizontal axis of the color gamut coordinate system. As shown in Figure 8, taking the five source lights RGBCW as an example, determine a ray l that starts from the reference chromaticity coordinates of the reference white light and is parallel to the horizontal axis of the color gamut coordinate system.

[0098] Step S720: Using the ray as the 0-degree starting line, and the three line segments from the coordinates of the three source chromaticity coordinates of the three source colored lights to the coordinates of the reference chromaticity coordinates as the ending lines, determine three reference vector angles. As shown in Figure 8, using l as the 0-degree starting line and line segment GM as the ending line, determine the first reference vector angle θ. G Using line segment BM as the termination line, determine the second reference vector angle θ. B Using line segment RM as the termination line, determine the third reference vector angle θ. R .

[0099] Step S730: Using the ray as the 0-degree starting line and the line segment from the target chromaticity coordinate point to the reference chromaticity coordinate point as the ending line, determine the target vector angle θ. As shown in Figure 8, using l as the 0-degree starting line and line segment TM as the ending line, determine the target vector angle θ. T .

[0100] Step S740: Based on the relationship between the target vector angle and the three reference vector angles, locate the target color gamut where the target chromaticity coordinates are located. For example: in Figure 8, the target vector angle θ T It is greater than θ B And less than θ R Therefore, the target color gamut where the target chromaticity coordinate T of the target colored light is located can be determined as sub-color gamut II.

[0101] Specifically, the target color gamut where the target chromaticity coordinate T of the target colored light is located can be determined by referring to Table 3 below.

[0102] Table 3. Reference Table for Determining the Target Color Gamut

[0103] It should be noted that this embodiment uses a counterclockwise vector angle, but a clockwise vector angle can also be used.

[0104] In this embodiment, the vector angle comparison method can quickly and accurately determine the target color gamut where the target chromaticity coordinates are located.

[0105] In some embodiments, step S330 includes: calculating the reference color power ratio and the actual color power ratio of each of the two candidate colored lights according to the following formula. b = a*(y2-y1)-x1y2+x2y1.

[0106] Among them, P m The reference color power ratio is defined as P1 and P2, which are the actual color power ratios of the two candidate colored lights, respectively. m Let L1 and L2 be the source luminances of the two candidate colored lights, respectively, and (x) represent the reference luminance. m ,y m (x1, y1) and (x2, y2) are the reference chromaticity coordinates and the source chromaticity coordinates of the two candidate colored lights, respectively. T ,y T ) represents the target chromaticity coordinates, where a, b, and c are intermediate variables.

[0107] Since the reference white light is obtained by comparing cool white light and warm white light according to their respective first color power ratios P mC The power ratio of the second color P mW The light is obtained by mixing, therefore, the reference color power ratio P of the reference white light is calculated. m Finally, the actual color power ratio of cool white light and warm white light was obtained as P. m ×P mC and P m ×P mW When mixing light based on the source brightness, the brightness L of the target colored light after mixing can be determined. T For: L T =P1×L1+P2×L2+P m ×P mC ×L C +P m ×P mW ×L W .

[0108] The actual color power ratios of the aforementioned cool white light, warm white light, and the two candidate colored lights are P. m ×P mC P m ×P mW Under the control of P1 and P2, and with light mixing based on source brightness, the target brightness emitted by the light sources of cool white light, warm white light, and the two candidate colored lights are respectively: and Meanwhile, relative to P m For P1 and P2, the actual color power ratio of another color not included in the vertex calculation is 0.

[0109] For example, as shown in Figure 8, the target color gamut where the target chromaticity coordinate T of the target colored light is located is sub-gamut II. In this case, the source chromaticity coordinates of the red light can be determined as (x1, y1), and the source chromaticity coordinates of the blue light can be determined as (x2, y2). L1 and L2 are the source luminances of the red and blue light, respectively, and thus P can be calculated. m P1 and P2.

[0110] It should be noted that after obtaining the actual color power ratios of cool white light, warm white light, and the two candidate colored lights, the brightness of the target colored light can be adjusted by changing the brightness of the cool white light, warm white light, and the two candidate colored lights. Specifically, based on the power supply drive power corresponding to the source brightness, the power supply drive power can be increased or decreased (ensuring that the power supply drive power of each light source is equal). This allows for the adjustment of the L... T The adjustment thereby adjusts the brightness of the target colored light, that is:

[0111] L T =P1×L′1+P2×L′2+P m ×P mC ×L′ C +P m ×P mW ×L′ w .

[0112] Among them, L′ C L′ w L′1 and L′2 represent the brightness of cool white light, warm white light, and two candidate colored lights before mixing, after adjusting their respective power supply drive power. Furthermore, while keeping the power supply drive power of each light source constant, P can be adjusted... m P1 and P2, as long as P m The ratio between P1 and P2 can be kept constant to adjust the brightness of the target colored light.

[0113] The actual color power ratio P calculated in the above embodiments m ×P mC P m ×P mW P1 and P2 may be relatively large, for example: in L m When L1 and L2 are relatively large, the actual color power is greater than P. m ×P mC P m ×P mW P1 and P2 are relatively large, resulting in P m ×P mC P m ×P mWThe sum of P1, P2, and P3 is greater than 1, resulting in a very high brightness of the final target colored light, which puts significant stress on the power supply after light mixing. Therefore, in some embodiments, the colored light mixing control method further includes: normalizing the actual color power ratios so that the sum of the normalized actual color power ratios is 1. After normalization, the proportional relationship between the actual color power ratios remains unchanged, but the sum of the four will not exceed 1, i.e., P1 + P2 + P3. m ×P mC +P m ×P mW =100%, thereby controlling the brightness of the target colored light after mixing within a certain range and reducing the pressure on the power supply.

[0114] Of course, the actual color power ratio P calculated in the above embodiments m ×P mC P m ×P mW P1 and P2 may be small, resulting in P m ×P mC P m ×P mW The sum of P1, P2, and P2 is less than 1, resulting in a lower brightness of the final target colored light. To improve the brightness of the target colored light, the power ratios of each color can be normalized so that the sum of the normalized power ratios of each color is 1.

[0115] As shown in Figure 9, there are four target colored lights. The target chromaticity coordinates A for target colored light Col1 are (0.232, 0.213), B for target colored light Col2 are (0.423, 0.345), C for target colored light Col3 are (0.336, 0.459), and D for target colored light Col4 are (0.556, 0.395). Taking five light sources (RGBCW) from Table 4—three source colored lights (RGB), cool white light with a color temperature of 2000K-3000K, and warm white light with a color temperature of 6500K-10000K—as an example, the following comparison of the results of mixing these five RGBCW light sources to obtain the four target colored lights in Figure 9 with the results of mixing the traditional three RGB light sources is provided.

[0116] Table 4 Source Color Light RGB Specifications

[0117] As shown in Table 5 and Figure 10, Table 5 shows the result of mixing the target colored light corresponding to the target chromaticity coordinate A, where the target chromaticity coordinate A is (0.232, 0.213). The first row of Table 5 shows the color power ratio of each of the RGB source lights required by the traditional RGB mixing method, as well as the CQS of the target colored light obtained by mixing. The following four rows show the color power ratio of each source light required by the method of the above embodiments of this application under the conditions of RGB, cool white light C and warm white light W, as well as the CQS of the target colored light obtained by mixing. In Figure 9, the target chromaticity coordinate A is in the Z_A region, and the reference white light is cool white light. Therefore, the actual color power ratio of warm white light is 0. The target chromaticity coordinate A is in the sub-color gamut I region in Figure 4. Therefore, the candidate colored lights are blue light and green light, and the actual color power ratio of red light is 0. For example, in row 1a, the actual color power ratios of green light, blue light and cool white light are 21.1%, 29.2% and 49.7% respectively, and their CQS is 87, which is significantly better than the CQS of 52 corresponding to the traditional light mixing method.

[0118] Figure 10 shows the spectrum of the target colored light corresponding to each row of the light mixing results in Table 5. It can be seen that the spectral continuity of the target colored light mixed by the color light mixing control method of this application is significantly better than that of the target colored light mixed by the traditional three-color light mixing.

[0119] Similarly, Table 6 and Figure 11 show the mixing results of the target colored light corresponding to the target chromaticity coordinate B, Table 7 and Figure 12 show the mixing results of the target colored light corresponding to the target chromaticity coordinate C, and Table 8 and Figure 13 show the mixing results of the target colored light corresponding to the target chromaticity coordinate D. In Tables 6-8, the first row shows the actual color power ratio of each RGB source light required by the traditional RGB mixing method, and the CQS of the mixed target colored light. The following four rows show the actual color power ratio of each source light required for mixing under RGB, cool white light, and warm white light conditions using the method described in the above embodiments of this application, and the CQS of the mixed target colored light. Figures 11-13 are the spectral diagrams of the target colored light corresponding to each row of the mixing results in Tables 6-8.

[0120] Table 5 shows the results of target color light mixing corresponding to target chromaticity coordinate A.

[0121] Table 6 shows the results of target colored light mixing corresponding to target chromaticity coordinate B.

[0122] Table 7 shows the results of target color light mixing corresponding to the target chromaticity coordinate C.

[0123] Table 8 shows the results of target colored light mixing corresponding to the target chromaticity coordinate D.

[0124] As can be seen from Figures 10-13, the spectral continuity of the target colored light produced by the color light mixing control method of this application is significantly better than that of the target colored light produced by traditional three-color light mixing. Data from Tables 5 (1a-1d), 6 (2a-2d), 7 (3a-3d), and 8 (4a-4d) show that the color quality (CQS) of the target colored light produced by the color light mixing control method of this application is better than that of the target colored light produced by traditional three-color light mixing, especially the CQS of the target colored light after mixing at the target chromaticity coordinate B, which is significantly better than that of the target colored light produced by traditional three-color light mixing.

[0125] The color light mixing control device provided in this application is described below. The color light mixing control device described below can be referred to in correspondence with the color light mixing control method described above.

[0126] The color light mixing control device of this application embodiment, as shown in FIG14, includes the following modules.

[0127] The source chromaticity coordinate acquisition module 1410 is configured to acquire the source chromaticity coordinates and source brightness of cool white light, warm white light and three source colored light, respectively. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored light as vertices. The source brightness of the cool white light, warm white light and three source colored light is the brightness under the same power supply driving power condition.

[0128] The target chromaticity coordinate acquisition module 1420 is configured to acquire the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut.

[0129] The reference white light determination module 1430 is configured to determine the reference chromaticity coordinates and reference brightness of the reference white light based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, and to determine the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light.

[0130] The first power ratio determination module 1440 is configured to determine the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights based on the target chromaticity coordinates, the reference chromaticity coordinates, the source chromaticity coordinates of the three source colored lights, the reference brightness, and the source brightness of each of the three source colored lights.

[0131] The second power ratio determination module 1450 is configured to determine the actual color power ratio of cool white light and warm white light based on the reference color power ratio, the first color power ratio and the second color power ratio. Each actual color power ratio is used to control the light source of the corresponding color to output the corresponding target brightness in order to mix the target colored light.

[0132] In some embodiments, the reference white light determination module 1430 is specifically configured to compare the first determination coordinate of the target chromaticity coordinate with the second determination coordinate of the source chromaticity coordinate of cool white light and the third determination coordinate of the source chromaticity coordinate of warm white light, respectively. The first determination coordinate, the third determination coordinate, and the third determination coordinate can all be abscissas, or the first determination coordinate, the third determination coordinate, and the third determination coordinate can all be ordinates. If the first determination coordinate is less than or equal to the second determination coordinate, the reference chromaticity coordinate is determined to be the source chromaticity coordinate of the cool white light, the reference brightness is determined to be the source brightness of the cool white light, and the first color power ratio... The first color power ratio is 100%, and the second color power ratio is 0. When the first determination coordinate is greater than the second determination coordinate and less than the third determination coordinate, the reference chromaticity coordinate, reference brightness, first color power ratio and second color power ratio are determined based on the target chromaticity coordinate, the source chromaticity coordinates of cool white light and warm white light and the source brightness of cool white light and warm white light, respectively. When the first determination coordinate is greater than or equal to the third determination coordinate, the reference chromaticity coordinate is determined to be the source chromaticity coordinate of warm white light, the reference brightness is determined to be the source brightness of warm white light, the second color power ratio is 100%, and the first color power ratio is 0.

[0133] In some embodiments, the reference white light determination module 1430 is specifically configured to: determine a first reference coordinate for the first determination coordinate as a reference chromaticity coordinate, wherein both the first determination coordinate and the first reference coordinate are horizontal coordinates or both are vertical coordinates; determine a second reference coordinate for the reference chromaticity coordinate based on the first reference coordinate of the reference chromaticity coordinate and the source chromaticity coordinates of each of the cool white light and warm white light; determine the reference brightness based on the first reference coordinate of the reference chromaticity coordinate, the source chromaticity coordinates of each of the cool white light and warm white light, and the source brightness of each of the cool white light and warm white light; and determine the first color power ratio and the second color power ratio based on the reference brightness and the source brightness of each of the cool white light and warm white light.

[0134] In some embodiments, the first power ratio determination module 1440 specifically includes the following modules.

[0135] The target color gamut determination module is configured to determine the target color gamut where the target chromaticity coordinates are located. The reference chromaticity coordinates and the source chromaticity coordinates of any two source colored lights form a sub-color gamut, for a total of three sub-color gamuts. The target color gamut is one of the three sub-color gamuts.

[0136] The candidate color light determination module is configured to determine the two source color lights corresponding to the target color gamut as two candidate color lights.

[0137] The actual power ratio determination module is configured to determine the reference color power ratio and the actual color power ratio of each of the two candidate colored lights based on the target chromaticity coordinates, the reference chromaticity coordinates, the source chromaticity coordinates of each of the two candidate colored lights, the reference brightness, and the source brightness of each of the two candidate colored lights.

[0138] In some embodiments, the target color gamut determination module is specifically configured to determine the target color gamut where the target chromaticity coordinates are located through geometric calculation based on the positional relationship between the target chromaticity coordinates, the reference chromaticity coordinates, and the source chromaticity coordinates of the three source colored lights.

[0139] In some embodiments, the target color gamut determination module specifically includes the following modules.

[0140] The ray determination module is configured to determine a ray that originates from the reference chromaticity coordinates and is parallel to the horizontal axis of the gamut coordinate system.

[0141] The reference vector angle determination module is configured to determine three reference vector angles, with the ray as the 0-degree starting line and the three line segments from the coordinate points of the three source chromaticity coordinates of the three source colored lights to the coordinate points of the reference chromaticity coordinates as the termination lines.

[0142] The target vector angle determination module is configured to determine the target vector angle by taking the ray as the 0-degree starting line and the line segment from the coordinate point of the target chromaticity coordinates to the coordinate point of the reference chromaticity coordinates as the ending line.

[0143] The target color gamut positioning module is configured to locate the target color gamut where the target chromaticity coordinates are located based on the relationship between the target vector angle and the three reference vector angles.

[0144] In some embodiments, the actual power ratio determination module is specifically configured to calculate the reference color power ratio and the actual color power ratio of each of the two candidate colored lights according to the following formula. b = a*(y2-y1)-x1y2+x2y1.

[0145] Among them, P mThe reference color power ratio is defined as P1 and P2, which are the actual color power ratios of the two candidate colored lights, respectively. m Let L1 and L2 be the source luminances of the two candidate colored lights, respectively, and (x) represent the reference luminance. m ,y m (x1, y1) and (x2, y2) are the reference chromaticity coordinates and the source chromaticity coordinates of the two candidate colored lights, respectively. T ,y T ) represents the target chromaticity coordinates, where a, b, and c are intermediate variables.

[0146] In some embodiments, the color light mixing control device further includes: a color power ratio normalization module, configured to normalize each actual color power ratio so that the sum of the normalized actual color power ratios is 1.

[0147] Figure 15 illustrates a schematic diagram of the physical structure of an electronic device. As shown in Figure 15, the electronic device may include: a processor 1510, a communications interface 1520, a memory 1530, and a communication bus 1540. The processor 1510, communications interface 1520, and memory 1530 communicate with each other via the communication bus 1540. The processor 1510 can call logical instructions in the memory 1530 to execute a color light mixing control method, which includes the following steps.

[0148] Obtain the source chromaticity coordinates and source brightness of each of the cool white light, warm white light, and three source colored lights. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored lights as vertices. The source brightness of each of the cool white light, warm white light, and three source colored lights is the brightness under the same power supply driving power condition.

[0149] Obtain the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut.

[0150] Based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, the reference chromaticity coordinates and reference brightness of the reference white light are determined, and the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light are determined.

[0151] Based on the target chromaticity coordinates, reference chromaticity coordinates, source chromaticity coordinates of the three source colored lights, reference brightness, and the source brightness of each of the three source colored lights, the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights are determined.

[0152] Based on the reference color power ratio, the first color power ratio, and the second color power ratio, the actual color power ratios of cool white light and warm white light are determined. Each of the actual color power ratios is used to control the output of the corresponding target brightness of the light source of the corresponding color in order to mix the target colored light.

[0153] Furthermore, the logical instructions in the aforementioned memory 1530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to conventional technology, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0154] This application also provides a lighting fixture, including: a light source and the aforementioned color light mixing control device. The light source includes: a cool white sub-light source, a warm white sub-light source, and color sub-light sources that emit three source color lights respectively. The color light mixing control device is configured to drive the corresponding sub-light sources to emit light according to the power ratio of each actual color, so as to mix the target color light. It is understood that the aforementioned color light mixing control device can be deployed in the aforementioned electronic device, which may include a microcontroller or a control chip with a processor and memory.

[0155] The cool white sub-light source is a cool white LED, the warm white sub-light source is a warm white LED, and the three colored sub-light sources are red LED, green LED, and blue LED.

[0156] Specifically, the color light mixing control device determines the actual color power ratio of each sub-light source by running the above-mentioned color light mixing control method, and then drives each sub-light source to emit light according to the actual color power ratio, so as to mix the target color light.

[0157] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the color light mixing control method provided by the above methods, which includes the following steps.

[0158] Obtain the source chromaticity coordinates and source brightness of each of the cool white light, warm white light, and three source colored lights. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored lights as vertices. The source brightness of each of the cool white light, warm white light, and three source colored lights is the brightness under the same power supply driving power condition.

[0159] Obtain the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut.

[0160] Based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, the reference chromaticity coordinates and reference brightness of the reference white light are determined, and the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light are determined.

[0161] Based on the target chromaticity coordinates, reference chromaticity coordinates, source chromaticity coordinates of the three source colored lights, reference brightness, and the source brightness of each of the three source colored lights, the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights are determined.

[0162] Based on the reference color power ratio, the first color power ratio, and the second color power ratio, the actual color power ratios of cool white light and warm white light are determined. Each of the actual color power ratios is used to control the output of the corresponding target brightness of the light source of the corresponding color in order to mix the target colored light.

[0163] In another aspect, this application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the color light mixing control method provided by the above methods, the method comprising the following steps.

[0164] Obtain the source chromaticity coordinates and source brightness of each of the cool white light, warm white light, and three source colored lights. The source chromaticity coordinates of the cool white light and warm white light are both located within the basic color gamut formed by the three source chromaticity coordinates of the three source colored lights as vertices. The source brightness of each of the cool white light, warm white light, and three source colored lights is the brightness under the same power supply driving power condition.

[0165] Obtain the target chromaticity coordinates of the target colored light, wherein the target chromaticity coordinates are located within the basic color gamut.

[0166] Based on the positional relationship between the target chromaticity coordinates of the target colored light, the source chromaticity coordinates of the cool white light and the warm white light, and the source brightness of the cool white light and the warm white light, the reference chromaticity coordinates and reference brightness of the reference white light are determined, and the first color power ratio and the second color power ratio of the reference white light produced by mixing the cool white light and the warm white light are determined.

[0167] Based on the target chromaticity coordinates, reference chromaticity coordinates, source chromaticity coordinates of the three source colored lights, reference brightness, and the source brightness of each of the three source colored lights, the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights are determined.

[0168] Based on the reference color power ratio, the first color power ratio, and the second color power ratio, the actual color power ratios of cool white light and warm white light are determined. Each of the actual color power ratios is used to control the output of the corresponding target brightness of the light source of the corresponding color in order to mix the target colored light.

[0169] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0170] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to conventional technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A color light mixing method, comprising: obtaining source chromaticity coordinates and source luminance of a cool white light, a warm white light and three source color lights respectively, the source chromaticity coordinates of the cool white light and the warm white light are located in a base gamut formed by three source chromaticity coordinates of the three source color lights as vertices, the source luminance of the cool white light, the warm white light and the three source color lights respectively are luminance under the condition of the same power supply driving power; obtaining target chromaticity coordinates of a target color light, the target chromaticity coordinates are located in the base gamut; determining reference chromaticity coordinates and reference luminance of a reference white light, and determining a first color power ratio and a second color power ratio of the cool white light and the warm white light mixing the reference white light based on the position relationship of the target chromaticity coordinates, the source chromaticity coordinates of the cool white light and the warm white light respectively, and the source luminance of the cool white light and the warm white light respectively; determining the reference color power ratio of the reference white light and the actual color power ratio of the three source color lights respectively based on the target chromaticity coordinates, the reference chromaticity coordinates, the source chromaticity coordinates of the three source color lights, the reference luminance and the source luminance of the three source color lights respectively; determining the actual color power ratio of the cool white light and the warm white light respectively based on the reference color power ratio, the first color power ratio and the second color power ratio, each of the actual color power ratio is used to control the light source of the corresponding color to output the corresponding target luminance, so as to mix the target color light.

2. The color light mixing method of claim 1, wherein, determining reference chromaticity coordinates and reference luminance of a reference white light, and a first color power ratio and a second color power ratio of the cool white light and the warm light mixing the reference white light based on the position relationship of the target chromaticity coordinates, source chromaticity coordinates of the cool white light and the warm white light respectively, and source luminance of the cool white light and the warm white light respectively, comprising: comparing the size of the first determination coordinates of the target chromaticity coordinates with the second determination coordinates of the source chromaticity coordinates of the cool white light and the third determination coordinates of the source chromaticity coordinates of the warm white light respectively, the first determination coordinates, the third determination coordinates and the third determination coordinates can all be horizontal coordinates, or the first determination coordinates, the third determination coordinates and the third determination coordinates can all be vertical coordinates; in the case that the first determination coordinates is less than or equal to the second determination coordinates, the reference chromaticity coordinates is the source chromaticity coordinates of the cool white light, the reference luminance is the source luminance of the cool white light, the first color power ratio is 100%, and the second color power ratio is 0; in the case that the first determination coordinates is greater than the second determination coordinates and less than the third determination coordinates, the reference chromaticity coordinates, the reference luminance, the first color power ratio and the second color power ratio are determined based on the target chromaticity coordinates, the source chromaticity coordinates of the cool white light and warm white light respectively, and the source luminance of the cool white light and the warm white respectively; in the case that the first determination coordinates is greater than or equal to the third determination coordinates, the reference chromaticity coordinates is the source chromaticity coordinates of the warm white light, the reference luminance is the source luminance of the warm white light, the second color power ratio is 100%, and the first color power ratio is 0.

3. The color light mixing method of claim 2, wherein, In a case where the first determination coordinate is greater than the second determination coordinate and less than the third determination coordinate, the reference tristimulus coordinate, the reference luminance, the first color power ratio, and the second color power ratio are determined based on the target tristimulus coordinate, source tristimulus coordinates of the cool white light and the warm white light, and source luminances of the cool white light and the warm white light, including: determining the first determination coordinate as a first reference coordinate of the reference tristimulus coordinate, the first determination coordinate and the first reference coordinate being both horizontal coordinates or both vertical coordinates; determining a second reference coordinate of the reference tristimulus coordinate based on the first reference coordinate of the reference tristimulus coordinate and the source tristimulus coordinates of the cool white light and the warm white light; determining the reference luminance based on the first reference coordinate of the reference tristimulus coordinate, the source tristimulus coordinates of the cool white light and the warm white light, and the source luminances of the cool white light and the warm white light; determining the first color power ratio and the second color power ratio based on the reference luminance and the source luminances of the cool white light and the warm white light.

4. The color light mixing method of claim 1, wherein, determining the reference color power ratio of the reference white light and the actual color power ratio of each of the three source colored lights based on the target tristimulus coordinate, the reference tristimulus coordinate, source tristimulus coordinates of the three source colored lights, the reference luminance, and source luminances of the three source colored lights, including: determining a target color gamut in which the target tristimulus coordinate is located, each of the reference tristimulus coordinate and source tristimulus coordinates of any two source colored lights forming a sub-color gamut, a total of three sub-color gamuts, the target color gamut being one of the three sub-color gamuts; determining two candidate colored lights corresponding to the target color gamut; determining the reference color power ratio and the actual color power ratio of each of the two candidate colored lights based on the target tristimulus coordinate, the reference tristimulus coordinate, source tristimulus coordinates of the two candidate colored lights, the reference luminance, and source luminances of the two candidate colored lights.

5. The color light mixing control method according to claim 4, wherein determining the target color gamut in which the target tristimulus coordinate is located, including: determining the target color gamut in which the target tristimulus coordinate is located through geometric calculation based on a positional relationship among the target tristimulus coordinate, the reference tristimulus coordinate, and source tristimulus coordinates of the three source colored lights.

6. The color light mixing control method according to claim 5, wherein determining the target color gamut in which the target tristimulus coordinates is located through geometric calculation based on a positional relationship among the target tristimulus coordinate, reference tristimulus coordinate, and source tristimulus coordinates of the three source colored light, including: determining a ray parallel to a horizontal axis of a color gamut coordinate system and having the reference tristimulus coordinate as a starting point; determining three reference vector angles with the ray as a 0-degree starting line and three line segments from coordinate points of three source tristimulus coordinates of the three source colored lights to a coordinate point of the reference tristimulus coordinate as terminal lines; determining a target vector angle with the ray as a 0-degree starting line and a line segment from a coordinate point of the target tristimulus coordinate to the coordinate point of the reference tristimulus coordinate as a terminal line; positioning the target color gamut in which the target tristimulus coordinate is located based on a size relationship among the target vector angle and the three reference vector angles.

7. The color light mixing control method according to claim 4, wherein The determining the reference color power ratio and the actual color power ratio of the two candidate chromatic light respectively based on the target color coordinate, the reference color coordinate, the source color coordinate of the two candidate chromatic light respectively, the reference brightness and the source brightness of the two candidate chromatic light respectively comprises: calculating the reference color power ratio and the actual color power ratio of the two candidate chromatic light respectively according to the following formula: b = a * (y2 - y1) - x1y2 + x2y1; where P m is the reference color power ratio, P1 and P2 are the actual color power ratios of the two candidate colored lights, L m is the reference luminance, L1 and L2 are the source luminances of the two candidate colored lights, (x m ,y m ), (x1, y1) and (x2, y2) are the reference tristimulus coordinates and the source tristimulus coordinates of the two candidate colored lights, respectively, (x T ,y T ) is the target tristimulus coordinates, and a, b and c are intermediate variables.

8. The color light mixing control method according to any one of claims 1 to 7, further comprising: normalizing each actual color power ratio so that a sum of the normalized actual color power ratios is 1.

9. A colored light mixing control device, comprising: The source chromaticity coordinate acquisition module is configured to acquire source chromaticity coordinates and source luminance of a cool white light, a warm white light and three source color lights respectively, the source chromaticity coordinates of the cool white light and the warm white light are located in a basic color gamut formed by three source chromaticity coordinates of the three source color lights as vertices, and the source luminance of the cool white light, the warm white light and the three source color lights respectively is luminance under the condition of the same power supply driving power; The target chromaticity coordinate acquisition module is configured to acquire a target chromaticity coordinate of a target color light, the target chromaticity coordinate is located in the basic color gamut; The reference white light determination module is configured to determine a reference chromaticity coordinate and a reference luminance of a reference white light, and determine a first color power ratio and a second color power ratio of the cool white light and the warm white light mixed to the reference white light, based on a positional relationship among the target chromaticity coordinate of the target color light, the source chromaticity coordinates of the cool white light and the warm white light respectively, and the source luminance of the cool white light and the warm white light respectively; The first power ratio determination module is configured to determine a reference color power ratio of the reference white light and actual color power ratios of the three source color lights respectively, based on the target chromaticity coordinate, the reference chromaticity coordinate, the source chromaticity coordinates of the three source color lights, the reference luminance and the source luminance of the three source color lights respectively; The second power ratio determination module is configured to determine actual color power ratios of the cool white light and the warm white light respectively, based on the reference color power ratio, the first color power ratio and the second color power ratio, each of the actual color power ratios is used to control a light source of a corresponding color to output a corresponding target luminance, so as to mix the target color light.

10. A luminaire comprising: The light source and the color light mixing control device of claim 9, the light source comprises a cool white sub-light source, a warm white sub-light source and color sub-light sources respectively emitting the three source color lights, and the color light mixing control device is configured to drive corresponding sub-light sources to emit light according to the actual color power ratios, so as to mix the target color light.