RGB-LED light source mixing method, system and device
By monitoring and adjusting the duty cycle of the red, green and blue three-primary LEDs of the RGB-LED light source in real time, the problem of inconsistent color and brightness of the RGB-LED light source is solved, and the stability and consistency of the target color is achieved. It is suitable for RGBL or RGB Control of color expression form.
Patent Information
- Application Number
- CN202111670242.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-31
AI Technical Summary
There are differences in color and brightness of existing RGB-LED light sources, resulting in inconsistent color and brightness. In particular, red LEDs perform the most significantly and are difficult to meet the requirements of stability and consistency.
By obtaining the junction voltage and junction temperature of the three primary color LEDs in real time, establishing a change trend model of the pressure difference and junction temperature and a change trend model of the color coordinates and brightness with junction temperature, and calculating the LED color coordinates and brightness at the current moment. Combining the color coordinates and brightness of the target color, adjust the duty cycle of the three primary color LEDs for stability and consistency.
Real-time monitoring and adjustment of the target color is achieved, ensuring the stability and consistency of color and brightness, and can achieve control of all colors within the R, G, and B values of 1-255 in the RGBL or RGB color expression form that meet the requirements. .
Smart Images

Figure CN114340080B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lighting mixing technology, and in particular to a light mixing method, system and device for an RGB-LED light source. Background Art
[0002] With the advancement of technology, traditional monochromatic LEDs are no longer able to meet consumer demand. The emergence of tri-color LEDs has addressed these shortcomings, enabling greater color variation and diversification. A tri-color LED light source typically consists of multiple tri-color LED modules, each consisting of a red LED, a green LED, and a blue LED. Based on the principle of tri-color light mixing, red, green, and blue light sources can be mixed to create colors within the color gamut. There are many ways to express color, but the most commonly used method for RGB-LED ambient lighting is the RGBL color representation. RGB represents only color information, while L represents brightness information. In practical applications, the RGB values and brightness information L of the target color are typically given. Three PWM signals are then generated based on these RGB values and brightness information L to control the tri-color LEDs. These three PWM signals then control the red, green, and blue LEDs to emit varying brightnesses, creating a blended color based on the target color.
[0003] Due to the variability between individual LEDs, the color and brightness of each RGB-LED module may vary. Furthermore, as temperature changes, their color coordinates and brightness also shift. This is a common phenomenon with most RGB-LEDs on the market, most notably with red light. Therefore, after the module mixes the actual color, its color and brightness may differ from the target color. This invention addresses this issue, ensuring color and brightness consistency and stability. Furthermore, by addressing the RGBL color representation method, this invention implements a control method where RGB values represent only color information, while L represents brightness information. Summary of the Invention
[0004] In view of the shortcomings of the prior art, the present invention provides a light mixing method, system and device for an RGB-LED light source.
[0005] In order to solve the above technical problems, the present invention is solved by the following technical solutions:
[0006] A light mixing method for an RGB-LED light source comprises the following steps:
[0007] Real-time acquisition of the junction voltage corresponding to each of the three primary colors of red, green, and blue (RGB) when the RGB-LED light source is operating. The junction temperature corresponding to each of the three primary colors of red, green, and blue (RGB) is obtained by combining the voltage difference and the junction temperature variation trend model determined by the current junction voltage and the reference junction voltage. The reference junction voltage is obtained at a calibration temperature, and the reference color coordinates and reference brightness of each of the three primary colors of red, green, and blue (RGB) are also obtained at the calibration temperature.
[0008] Based on the current LED junction temperature, the color coordinates and brightness of the red, green and blue primary colors of the LED are obtained in combination with the trend model of the color coordinates and brightness of the red, green and blue primary colors of the LED with the junction temperature.
[0009] Based on the color coordinates and brightness of the target color, the color coordinates and brightness of the corresponding three primary color LEDs at the current junction temperature, and the light mixing formula, the duty cycle of the red, green, and blue primary color LEDs required to mix the target color at the current junction temperature is obtained;
[0010] The driving current of each of the red, green and blue primary color LEDs in the RGB-LED light source is adjusted based on the duty cycle of each of the red, green and blue primary color LEDs.
[0011] As an implementable embodiment, the variation trend model of the voltage difference and the junction temperature is expressed as follows:
[0012] NTj r (NVj r )=a r ·(NVj r -CVj r ) 2 +b r ·NVj r +c r
[0013] NTj g (NVj g )=a g ·(NVj g -CVj g )2+b g ·NVj g +c g
[0014] NTj b (NVj b )=a b ·(NVj b -CVj b ) 2 +b b ·NVj b +c b
[0015] Among them, NTjr NTj g and NTj b Indicates the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment, CVj r 、CVj g and CVj b Indicates the reference junction voltage, NVj r NVj g and NVj b represents the junction voltage at the current moment, a r 、a g 、a b 、b r 、b g 、b b Indicates different coefficients, c r 、c g 、c b Indicates different constants.
[0016] As an implementation method, the color coordinates and brightness of each of the three primary colors of LEDs (red, green, and blue) changing with junction temperature are expressed as follows:
[0017] Nx r (NTj r )=k rx NTj r 2 +m rx NTj r +n rx , Ny r (NTj r )=k ry NTj r 2 +m ry NTj r +n ry
[0018] Nlv r (NTj r )=k rlv NTj r 2 +m rlv NTj r +n rlv
[0019] Nx g (NTj g )=k gx NTj g 2 +mN gx NTj g +n gx , Nyg (NTj g )=k g y·NTj g 2 +m gy NTj g +n gy
[0020] Nlv g (NTj g )=k glv NTj g 2 +m glv NTj g +n glv
[0021] Nx b (NTj b )=k bx NTj b 2 +m bx NTj b +n bx , Ny b (NTj b )=k by NTj b 2 +m by NTj b +n by
[0022] Nlv b (NTj b )=k blv NTj b 2 +m blv NTj b +n blv
[0023] Among them, Nx r 、Ny r 、Nx g 、Ny g 、Nx b and Ny b Indicates the color coordinates of the red, green and blue primary colors of the LED at the current junction temperature at the current moment, NTj r NTj g and NTj b Indicates the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment, Nlv r 、Nlv g and Nlv bIndicates the brightness value of each LED of the three primary colors of red, green and blue, k rx 、m rx 、k gx 、m gx 、k bx 、m bx 、k ry 、m ry 、k gy 、m gy 、k by 、m by 、k rlv 、m rlv 、k glv 、m glv 、k blv 、m blv Indicates different coefficients, n rx 、n gx 、n bx 、n ry 、n gy 、n by 、n rlv 、n glv 、n blv Indicates different constants.
[0024] As an implementation method, the color coordinates of the target color are obtained by the following steps:
[0025] Get the RGB value of the target color, and use the color space conversion matrix to get the XYZ tristimulus value of the target color, and then get the color coordinates of the target color, as follows;
[0026] The CIE-1931RGB color space and CIE1931-XYZ color space have the following conversion relationship:
[0027] Let the transformation matrix
[0028] Among them, X, Y, Z represent tristimulus values, and R, G, B represent RGB values;
[0029] In the CIE-xyY color space, there are
[0030] Therefore, when the RGB values of any target color are given, the tristimulus values TX, TY, and TZ of the target color are obtained, and then the color coordinates (Tx, Ty) of the target color are obtained.
[0031] As an implementation method, when the color expression is RGBL, the calculation formula for the maximum brightness of the target color is as follows:
[0032]
[0033] Set the maximum brightness LVmax that the LED can light up, and LVmax<=Clv r +Clv g +Clv b , then the brightness coefficient Slv is The target color brightness is Tlv = Tlv(max)·L
[0034] Among them, Tlv(max) represents the maximum brightness of the target color, MAX represents the maximum value of each value of R, G, and B, Slv represents the brightness coefficient, Tlv represents the brightness of the target color, L represents the brightness percentage of the target color, Clv r 、Clv g and Clv b Respectively represent the brightness of the three primary colors of red, green and blue at the calibration temperature.
[0035] As an implementable embodiment, the light mixing formula is as follows:
[0036]
[0037]
[0038]
[0039] Among them, Dr, Dg and Db represent the duty ratio of the three primary colors required for the target color, Tx and Ty represent the color coordinates of the target color, Tlv represents the brightness of the target color, and x r 、y r 、x g 、y g 、x b 、y b Indicates the color coordinates of the three primary colors of red, green and blue LEDs, lv r lv g lv b Indicates the brightness of the three primary colors of red, green and blue LEDs.
[0040] As an implementation method, when the color expression is RGB, the formula for the target color brightness is as follows:
[0041]
[0042] Among them, Tlv represents the target color brightness, Slv represents the brightness coefficient, Clv r 、Clv g and Clv b Respectively represent the brightness of each color at the calibration temperature, and R, G, and B represent RGB values.
[0043] A light mixing system for an RGB-LED light source includes an acquisition module, a first module, a second module, and an adjustment module;
[0044] The acquisition module is used to obtain in real time the junction voltage corresponding to each of the three primary colors of red, green, and blue LEDs when the RGB-LED light source is operating, and to obtain the LED junction temperature corresponding to each of the three primary colors of red, green, and blue LEDs at the current moment by combining the voltage difference and the junction temperature change trend model determined by the current junction voltage and the reference junction voltage, wherein the reference junction voltage is obtained at a calibration temperature, and the reference color coordinates and reference brightness of each of the three primary colors of red, green, and blue LEDs are also obtained at the calibration temperature;
[0045] The first module obtains the color coordinates and brightness of the red, green and blue primary colors at the current junction temperature based on the current LED junction temperature and the color coordinates and brightness of the red, green and blue primary colors at the current junction temperature.
[0046] The second module calculates the duty cycle of each of the red, green, and blue primary color LEDs required to mix the target color at the current junction temperature based on the color coordinates and brightness of the target color, the color coordinates and brightness of each of the three primary color LEDs at the current junction temperature, and the light mixing formula;
[0047] The regulating module regulates the driving current of the respective LEDs of the three primary colors of red, green and blue in the RGB-LED light source based on the duty cycle of the respective LEDs of the three primary colors of red, green and blue.
[0048] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following method steps:
[0049] Real-time acquisition of the junction voltage corresponding to each of the three primary colors of red, green, and blue (RGB) when the RGB-LED light source is operating. The junction temperature corresponding to each of the three primary colors of red, green, and blue (RGB) is obtained by combining the voltage difference and the junction temperature variation trend model determined by the current junction voltage and the reference junction voltage. The reference junction voltage is obtained at a calibration temperature, and the reference color coordinates and reference brightness of each of the three primary colors of red, green, and blue (RGB) are also obtained at the calibration temperature.
[0050] Based on the current LED junction temperature, the color coordinates and brightness of the red, green and blue primary colors of the LED are obtained in combination with the trend model of the color coordinates and brightness of the red, green and blue primary colors of the LED with the junction temperature.
[0051] Based on the color coordinates and brightness of the target color, the color coordinates and brightness of the corresponding three primary color LEDs at the current junction temperature, and the light mixing formula, the duty cycle of the red, green, and blue primary color LEDs required to mix the target color at the current junction temperature is obtained;
[0052] The driving current of each of the red, green and blue primary color LEDs in the RGB-LED light source is adjusted based on the duty cycle of each of the red, green and blue primary color LEDs.
[0053] A light mixing device for an RGB-LED light source includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the following method steps are implemented:
[0054] Real-time acquisition of the junction voltage corresponding to each of the three primary colors of red, green, and blue (RGB) when the RGB-LED light source is operating. The junction temperature corresponding to each of the three primary colors of red, green, and blue (RGB) is obtained by combining the voltage difference and the junction temperature variation trend model determined by the current junction voltage and the reference junction voltage. The reference junction voltage is obtained at a calibration temperature, and the reference color coordinates and reference brightness of each of the three primary colors of red, green, and blue (RGB) are also obtained at the calibration temperature.
[0055] Based on the current LED junction temperature, the color coordinates and brightness of the red, green and blue primary colors of the LED are obtained in combination with the trend model of the color coordinates and brightness of the red, green and blue primary colors of the LED with the junction temperature.
[0056] Based on the color coordinates and brightness of the target color, the color coordinates and brightness of the corresponding three primary color LEDs at the current junction temperature, and the light mixing formula, the duty cycle of the red, green, and blue primary color LEDs required to mix the target color at the current junction temperature is obtained;
[0057] The driving current of each of the red, green and blue primary color LEDs in the RGB-LED light source is adjusted based on the duty cycle of each of the red, green and blue primary color LEDs.
[0058] The present invention has significant technical effects due to the adoption of the above technical solutions:
[0059] The present invention can monitor the junction voltage of each red, green, and blue LED channel in real time, and can promptly calculate the duty cycle of each red, green, and blue primary color LED required to generate the target color when the junction temperature changes, thereby ensuring the stability of the target color and brightness. The target color brightness is added to the algorithm to ensure the consistency of the target color coordinates and brightness. The corresponding target color coordinates and brightness are calculated based on the target RGB value input by the customer, so that all colors within the R, G, and B value range of 1-255 can meet the requirements and control color changes according to the RGBL color expression form or the RGB color expression form. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0061] Figure 1 It is a schematic diagram of the overall process of the method of the present invention;
[0062] Figure 2 It is a schematic diagram of the overall structure of the system of the present invention. DETAILED DESCRIPTION
[0063] The present invention will be further described in detail below with reference to the examples. The following examples are intended to explain the present invention but the present invention is not limited to the following examples.
[0064] Example 1:
[0065] A light mixing method of RGB-LED light source, such as Figure 1 As shown, the following steps are included:
[0066] S100, obtaining in real time the junction voltage corresponding to each of the three primary color LEDs (red, green, and blue) when the RGB-LED light source is operating, and obtaining the current LED junction temperature corresponding to each of the three primary color LEDs (red, green, and blue) by combining the voltage difference and the junction temperature variation trend model determined by the current junction voltage and the reference junction voltage, wherein the reference junction voltage is obtained at a calibration temperature, and reference color coordinates and reference brightness of each of the three primary color LEDs (red, green, and blue) are also obtained at the calibration temperature;
[0067] S200, based on the current LED junction temperature, and in combination with a model of the color coordinates and brightness of each of the red, green, and blue primary color LEDs as a function of junction temperature, obtain the color coordinates and brightness of each of the red, green, and blue primary color LEDs at the current junction temperature;
[0068] S300, based on the color coordinates and brightness of the target color, the color coordinates and brightness of the LEDs corresponding to the three primary colors at the current junction temperature, and in combination with a light mixing formula, calculate the duty ratio of the LEDs of the red, green, and blue primary colors required to mix the target color at the current junction temperature;
[0069] S400 , adjusting the driving current of the respective LEDs of the three primary colors of red, green, and blue in the RGB-LED light source based on the duty ratio of the respective LEDs of the three primary colors of red, green, and blue.
[0070] As we all know, the three primary colors refer to "basic colors" that cannot be obtained by mixing other colors. Since the human eye has cone cells that can perceive three different colors, RGB, the color space can usually be expressed by the three primary colors of RGB. A three-primary color LED, also known as a full-color LED, is composed of three RGB LEDs internally. The three-primary color principle enables the LED to emit different colors. The present invention calculates the corresponding target color coordinates and brightness based on the target RGB values input by the customer. It can achieve all colors within the R, G, and B values range of 1-255 meeting the requirements and controlling color changes according to the RGBL color expression or the RGB color expression. In combination with the related concepts of junction voltage and junction temperature, the junction voltage of the red, green, and blue LED channels is monitored in real time. When the junction temperature changes, the duty cycle of the red, green, and blue primary color LEDs required to generate the target color can be calculated in a timely manner to ensure the stability of the target color and brightness. The target color brightness is added to the algorithm to ensure the consistency of the target color coordinates and brightness.
[0071] In one embodiment, the variation trend model of the voltage difference and the junction temperature is expressed as follows:
[0072] NTj r (NVj r )=a r ·(NVj r -CVj r ) 2 +b r ·NVj r +c r
[0073] NTj g (NVj g )=a g ·(NVj g -CVj g ) 2 +b g ·NVj g +c g
[0074] NTj b (NVj b )=a b ·(NVj b -CVj b ) 2 +b b ·NVj b +c b
[0075] Among them, NTj r NTj g and NTj bIndicates the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment, CVj r 、CVj g and CVj b Indicates the reference junction voltage, NVj r NVj g and NVj b represents the junction voltage at the current moment, a r 、a g 、a b 、b r 、b g 、b b Indicates different coefficients, c r 、c g 、c b Indicates different constants.
[0076] This change trend can be obtained from the LED manual or actual measurement. The voltage difference and junction temperature change trend model is to more accurately calculate the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment through the junction voltage and the reference junction voltage. r 、a g 、a b 、b r 、b g 、b b 、c r 、c g 、c b Alternatively, the constant can be obtained from the LED manual or actual measurement.
[0077] In one embodiment, the color coordinates and brightness of the three primary colors of LEDs (red, green, and blue) are expressed as follows:
[0078] Nx r (NTj r )=k rx NTj r 2 +m rx NTj r +n rx , Ny r (NTj r )=k ry NTj r 2 +m ry NTj r +n ry
[0079] Nlv r (NTj r )=k rlv NTj r2 +m rlv ·NTj r +n rlv
[0080] Nx g (NTj g )=k gx ·NTj g 2 +m gx ·NTj g +n gx ,Ny g (NTj g )=k gy ·NTj g 2 +m gy ·NTj g +n gy
[0081] Nlv g (NTj g )=k glv ·NTj g 2 +m glv ·NTj g +n glv
[0082] Nx b (NTj b )=k bx ·NTj b 2 +m bx ·NTj b +n bx ,Ny b (NTj b )=k by ·NTj b 2 +m by ·NTj b +n by
[0083] Nlv b (NT jb )=k blv ·NTj b 2 +m blv ·NTj b +n blv
[0084] Among them, Nx r 、Ny r 、Nx g 、Nyg 、Nx b and Ny b Indicates the color coordinates of the red, green and blue primary colors of the LED at the current junction temperature at the current moment, NTj r NTj g and NTj b Indicates the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment, Nlv r 、Nlv g and Nlv b Indicates the brightness value of each LED of the three primary colors of red, green and blue, k rx 、m rx 、k gx 、m gx 、k bx 、m bx 、k ry 、m ry 、k gy 、m gy 、k by 、m by 、k rlv 、m rlv 、k glv 、m glv 、k blv 、m blv Indicates different coefficients, n rx 、n gx 、n bx 、n ry 、n gy 、n by 、n rlv 、n glv 、n blv Indicates different constants.
[0085] This change trend can be obtained from LED manuals or actual measurements. The color coordinates and brightness of the three primary colors of LEDs with junction temperature change trend model is to accurately calculate the color coordinates and brightness of the three primary colors of LEDs at the current junction temperature based on the current LED junction temperature. rx 、m rx 、k gx 、m gx 、k bx 、m bx 、k ry 、m ry 、k gy 、m gy 、k by 、m by 、k rlv 、m rlv 、k glv 、m glv 、kblv 、m blv 、n rx 、n gx 、n bx 、n ry 、n gy 、n by 、n rlv 、n glv 、n blv The coefficients or constants are also obtained based on the LED manual or actual measurements.
[0086] In one embodiment, the color coordinates of the target color are obtained by the following steps:
[0087] Get the RGB value of the target color, and get the XYZ tristimulus value of the target color through the color space conversion matrix, and then get the color coordinates of the target color;
[0088] The CIE-1931RGB color space and CIE1931-XYZ color space have the following conversion relationship:
[0089] Let the transformation matrix
[0090] Among them, X, Y, Z represent tristimulus values, and R, G, B represent RGB values;
[0091] In the CIE-xyY color space, there are
[0092] Therefore, when the RGB values of any target color are given, the tristimulus values TX, TY, and TZ of the target color are obtained, and then the color coordinates (Tx, Ty) of the target color are obtained.
[0093] Here, CIE-1931RGB color space and CIE1931-XYZ color space conversion are common technologies in this field, and the conversion matrix is also common. Here, the color coordinates (Tx, Ty) of the target color are obtained by borrowing common knowledge and making relevant improvements.
[0094] In one embodiment, when the color expression is RGBL (that is, the target color brightness is obtained by given R, G, B, and L values), the calculation formula for the maximum brightness of the target color is as follows:
[0095]
[0096] Set the maximum brightness LVmax that the LED can light up, and LVmax<=Clv r +Clv g +Clv b , then the brightness coefficient Slv is The target color brightness is Tlv = Tlv(max)·L
[0097] Among them, Tlv(max) represents the maximum brightness of the target color, MAX represents the maximum value of each value of R, G, and B, Slv represents the brightness coefficient, Tlv represents the brightness of the target color, L represents the brightness percentage of the target color, Clv r 、Clv g and Clv b Respectively represent the brightness of the three primary colors of red, green and blue at the calibration temperature.
[0098] After knowing the target color brightness and color coordinates, we need to find the light mixing formula. Through the light mixing formula, we can get the duty cycle of the three primary colors required for the target color. First, according to the Grassmann law and adding the duty cycle D, we can get the following calculation formula:
[0099]
[0100]
[0101] Tlv=lv r ·D r +lv g ·D g +lv b ·D b (3)
[0102] From formula (1)(2)(3), we can infer:
[0103]
[0104]
[0105]
[0106] Among them, Dr, Dg and Db represent the duty ratio of the three primary colors required for the target color, Tx and Ty represent the color coordinates of the target color, Tlv represents the brightness of the target color, and x r 、y r 、x g 、y g 、x b 、y b Indicates the color coordinates of the three primary colors of red, green and blue LEDs, lv r lv g lv b Indicates the brightness of the three primary colors of red, green and blue LEDs.
[0107] In other embodiments, when the color expression is RGB, the formula for the target color brightness is as follows:
[0108]
[0109] Among them, Tlv represents the target color brightness, Slv represents the brightness coefficient, Clv r 、Clv g and Clv b Respectively represent the brightness of each color at the calibration temperature, and R, G, and B represent RGB values. This embodiment simply replaces the color expression method of RGBL with the color expression method of RGB to ensure the requirements of color brightness stability and consistency.
[0110] Of course, in the present invention, if the target color brightness and color coordinates of the target color and the calibration values of the red, green and blue primary colors color coordinates and brightness are known, D can also be directly used. r 、D g and D b The calculation formula for the duty cycle of the three primary colors required for the target color is used to obtain the duty cycle of the three primary colors required for the target color. This calculation actually assumes that the influence of the junction temperature is almost zero.
[0111] In all the above embodiments, relevant data can be collected in the following ways:
[0112] At the calibration temperature (CTj), the red, green, and blue LEDs are illuminated with a certain current (determined by the required maximum brightness of the three colors) and the CIE1931 color coordinates (Cx r ,Cy r ) and brightness Clv r At the same time, the module reads the current junction voltage CVj r As the calibration parameters of the red LED, the green LED and blue LED are calibrated in the same way to obtain the green LED CIE1931 color coordinates (Cx g ,Cy g ) and brightness Clv g and the green LED junction voltage CVj g , blue light CIE1931 color coordinates (Cx b ,Cy b ) and brightness Clv b and the green LED junction voltage CVj b , and store the calibration parameters.
[0113] Obtain the color coordinates and brightness of the red, green, and blue primary color LEDs at the calibration temperature, as well as the red, green, and blue channel junction voltages, and use these values as calibration values, as shown in the following table:
[0114] Three primary colors RGB value (N = 1-255) <![CDATA[Color coordinate Cx n > <![CDATA[Color coordinate Cy n > <![CDATA[Brightness Clv n > <![CDATA[Section voltage CVj n > red N、0、0 <![CDATA[Cx r ]]> <![CDATA[Cy r ]]> <![CDATA[Clv r ]]> <![CDATA[CVj r ]]> green 0、N、0 <![CDATA[Cx g ]]> <![CDATA[Cy g ]]> <![CDATA[Clv g ]]> <![CDATA[CVj g ]]> blue 0、0、N <![CDATA[Cx b ]]> <![CDATA[Cy b ]]> <![CDATA[Clv b ]]> <![CDATA[CVj b ]]>
[0115] The relevant steps of the present invention are executed by using the above data or values.
[0116] Example 2:
[0117] A mixed light system of RGB-LED light source, such as Figure 2 As shown, it includes an acquisition module 100, a first module 200, a second module 300 and an adjustment module 400;
[0118] The acquisition module 100 is used to obtain, in real time, the junction voltage corresponding to each of the three primary colors of red, green, and blue LEDs when the RGB-LED light source is operating, and to obtain the current junction temperature corresponding to each of the three primary colors of red, green, and blue LEDs by combining a voltage difference and a junction temperature variation trend model determined by the current junction voltage and a reference junction voltage. The reference junction voltage is obtained at a calibration temperature, and reference color coordinates and reference brightness of each of the three primary colors of red, green, and blue LEDs are also obtained at the calibration temperature.
[0119] The first module 200 obtains the color coordinates and brightness of the red, green and blue primary colors at the current junction temperature based on the current LED junction temperature and the color coordinates and brightness of the red, green and blue primary colors at the current junction temperature in combination with the color coordinates and brightness of the red, green and blue primary colors at the current junction temperature.
[0120] The second module 300 calculates the duty ratio of the red, green, and blue primary color LEDs required to mix the target color at the current junction temperature based on the color coordinates and brightness of the target color, the color coordinates and brightness of the corresponding LEDs of the three primary colors at the current junction temperature, and the light mixing formula;
[0121] The regulating module 400 regulates the driving current of the respective LEDs of the three primary colors of red, green and blue in the RGB-LED light source based on the duty cycle of the respective LEDs of the three primary colors of red, green and blue.
[0122] The following embodiments are provided in combination with actual research and development conditions:
[0123] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0124] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0125] The present invention is described with reference to the flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0126] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0128] It should be noted that:
[0129] References in this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Therefore, appearances of the phrases "one embodiment" or "an embodiment" in various places throughout this specification do not necessarily refer to the same embodiment.
[0130] Furthermore, it should be noted that the specific embodiments described in this specification may vary in the shapes and names of their components. Any equivalent or simple variations based on the structure, features, and principles described in the patented concept of this invention are included within the scope of protection of this patent. Persons skilled in the art may make various modifications, additions, or substitutions to the described specific embodiments, and these modifications, as long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, shall fall within the scope of protection of this invention.
Claims
1. A light mixing method for an RGB-LED light source, characterized in that: The following steps are involved: Real-time acquisition of the junction voltage corresponding to each LED of the three primary colors of red, green and blue when the RGB-LED light source is working, and the LED junction temperature corresponding to each LED of the three primary colors of red, green and blue at the current moment is obtained by combining the voltage difference determined by the junction voltage at the current moment and the reference junction voltage and the change trend model of the junction temperature, wherein the reference junction voltage is obtained at the calibration temperature, and the reference color coordinates and reference brightness of each LED of the three primary colors of red, green and blue are also obtained at the calibration temperature; Based on the current LED junction temperature, the color coordinates and brightness of the red, green and blue primary colors of the LED are obtained in combination with the trend model of the color coordinates and brightness of the red, green and blue primary colors of the LED with the junction temperature. Based on the color coordinates and brightness of the target color, the color coordinates and brightness of the LEDs of the three primary colors at the current junction temperature, and the light mixing formula, the duty ratio of the LEDs of the three primary colors of red, green and blue required to mix the target color at the current junction temperature is obtained; The driving current of each LED of the three primary colors of red, green and blue in the RGB-LED light source is adjusted based on the duty cycle of each LED of the three primary colors of red, green and blue.
2. The light mixing method of RGB-LED light source according to claim 1, characterized in that: The variation trend model of the voltage difference and the junction temperature is expressed as follows: Among them, NTj r NTj g and NTj b Indicates the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment, CVj r 、CVj g and CVj b Represents the reference junction voltage, NVj r NVj g and NVj b represents the junction voltage at the current moment, a r 、a g 、a b 、b r 、b g 、b b Represents different coefficients, c r 、c g 、c b Represents different constants.
3. The light mixing method of RGB-LED light source according to claim 2, characterized in that: The variation trend model of the color coordinates and brightness of the three primary colors of red, green and blue LEDs with the junction temperature is expressed as follows: , , , Among them, Nx r 、Ny r 、Nx g 、Ny g 、Nx b Ny b Indicates the color coordinates of the red, green and blue primary colors of the LED at the current junction temperature at the current moment, NTj r NTj g and NTj b Indicates the LED junction temperature corresponding to each of the three primary colors of red, green and blue at the current moment, Nlv r 、Nlv g and Nlv b Indicates the brightness value of the three primary colors of red, green and blue LEDs, k rx 、m rx , k gx 、m gx , k bx 、m bx , k ry 、m ry , k gy 、m gy , k by 、m by , k rlv 、m rlv , k glv 、m glv , k blv 、m blv Represents different coefficients, n rx 、n gx 、n bx 、n ry 、n gy 、n by 、n rlv 、n glv 、n blv Represents different constants.
4. The light mixing method of RGB-LED light source according to claim 1, characterized in that: The color coordinates of the target color are obtained by the following steps: Get the RGB value of the target color, and get the XYZ tristimulus value of the target color through the color space conversion matrix, and then get the color coordinates of the target color, as follows; The conversion relationship between CIE-1931RGB color space and CIE1931-XYZ color space is as follows: , let the transformation matrix , Among them, X, Y, Z represent tristimulus values, and R, G, B represent RGB values; In the CIE-xyY color space, there are , ; Therefore, when the RGB value of any target color is given, the tristimulus values TX, TY and TZ of the target color are obtained, and then the color coordinates (Tx, Ty) of the target color are obtained.
5. The light mixing method of RGB-LED light source according to claim 1 or 4, characterized in that: When the color expression is RGBL, the calculation formula for the maximum brightness of the target color is as follows: Set the maximum brightness LVmax that the LED can light up, and LVmax <= Clv r +Clv g +Clv b , then the brightness coefficient Slv is , the target color brightness is Among them, Tlv(max) represents the maximum brightness of the target color, MAX represents the maximum value of the respective values of R, G, and B, Slv represents the brightness coefficient, Tlv represents the brightness of the target color, L represents the brightness percentage of the target color, and Clv r 、Clv g and Clv b Respectively represent the brightness of the three primary colors of red, green and blue at the calibration temperature.
6. The light mixing method of RGB-LED light source according to claim 5, characterized in that: The light mixing formula is as follows: Among them, Dr, Dg and Db represent the duty ratio of the three primary colors required for the target color, Tx and Ty represent the color coordinates of the target color, Tlv represents the brightness of the target color, and x r ,y r 、x g ,y g 、x b ,y b Indicates the color coordinates of the three primary colors of red, green and blue, respectively. r ,lv g ,lv b Indicates the brightness of the three primary colors of red, green and blue LEDs.
7. The light mixing method of RGB-LED light source according to claim 1 or 4, characterized in that: When the color expression is RGB, the formula for the target color brightness is as follows: Among them, Tlv represents the target color brightness, Slv represents the brightness coefficient, Clv r 、Clv g and Clv b They represent the brightness of each color at the calibration temperature, and R, G, and B represent the RGB values.
8. A light mixing system of RGB-LED light source, characterized in that: It includes an acquisition module, a first module, a second module and an adjustment module; The acquisition module is used to obtain in real time the junction voltage corresponding to each LED of the three primary colors of red, green and blue when the RGB-LED light source is working, and obtain the LED junction temperature corresponding to each LED of the three primary colors of red, green and blue at the current moment by combining the voltage difference determined by the junction voltage at the current moment and the reference junction voltage and the change trend model of the junction temperature, wherein the reference junction voltage is obtained at the calibration temperature, and the reference color coordinates and reference brightness of each LED of the three primary colors of red, green and blue are also obtained at the calibration temperature; The first module obtains the color coordinates and brightness of the red, green and blue primary colors of the LED at the current junction temperature based on the current LED junction temperature and the color coordinates and brightness of the red, green and blue primary colors of the LED at the current junction temperature in combination with the change trend model of the color coordinates and brightness of the red, green and blue primary colors of the LED with the junction temperature; The second module obtains the duty ratio of the LEDs of the three primary colors of red, green and blue required to mix the target color at the current junction temperature based on the color coordinates and brightness of the target color, the color coordinates and brightness of the LEDs of the three primary colors at the current junction temperature, and the light mixing formula; The regulating module regulates the driving current of the respective LEDs of the three primary colors of red, green and blue in the RGB-LED light source based on the duty ratio of the respective LEDs of the three primary colors of red, green and blue.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method steps according to any one of claims 1 to 7 are implemented.
10. A light mixing device for an RGB-LED light source, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method steps according to any one of claims 1 to 7 are implemented.
