LED lamp debugging method based on multi-light-color fitting spectrum
Through the debugging method based on multi-light color fitting spectrum, MOEA search current ratio is used to solve the problem of light color parameter deviation of multi-primary color LED lamps, and the unified light color parameter and set indicators of each lamp are achieved.
Patent Information
- Application Number
- CN202510445453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-06-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing multi-primary LED lamps use the same current parameter uniformly, causing the light and color parameters of each lamp to deviate from the setting indicators, resulting in the problems of the same temperature and different colors and different temperatures.
The LED lamp debugging method based on multi-photochrome fitting spectrum is adopted. By collecting the measured spectra and power of each monochrome LED chip within the preset current range, the mixed light compensation coefficient is calculated, and the multi-object evolution algorithm (MOEA) is used to search for appropriate current ratios, and the monochrome spectrum and power are adjusted until the light color parameters of the set index are met.
The unified light and color parameters of each multi-primary LED lamp are achieved, and the setting indicators are met, avoiding the problems of the same temperature and different colors and the same color and different temperature.
Smart Images

Figure CN120152093A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of dimming, and particularly to a debugging method for LED lamps based on a multi-color fitting spectrum. Background Art
[0002] Multi-primary color LED lamps generate the required optoelectronic effects by mixing multiple different color LED chips. These LED chips may include monochromatic LED chips of red (R), green (G), blue (B), yellow (Y), or other colors. By adjusting the brightness and ratio of the monochromatic LED chips, various colors and brightness of light can be generated. In the prior art, a batch of multi-primary color LED lamps uniformly use the same current parameter.
[0003] In the process of implementing the debugging method for LED lamps based on a multi-color fitting spectrum according to an embodiment of the present invention by the inventor of this patent, at least the following technical problems in the prior art are found: Since each component that makes up the lamp, such as LED chips, circuit boards, lenses, etc., will have certain tolerances during the production process, that is, there are differences between the actual size or performance and the target value. These tolerances will cause differences in the light color parameters, such as color temperature, chromaticity coordinates, etc., when each multi-primary color LED lamp uniformly uses the same current parameter. Even if they are designed to have the same optoelectronic characteristics, problems of the same color temperature but different colors and the same color but different color temperatures will occur.
[0004] Same color temperature but different colors means that the color temperatures are the same but the colors are different. For example: two or more lamps seem similar in color temperature, but there are differences in color. This difference may be manifested as differences in color saturation, hue, or brightness.
[0005] Same color but different color temperatures means that the colors are the same but the color temperatures are different. For example: two or more lamps seem similar in color, but there are differences in color temperature.
[0006] In summary, since the existing multi-primary color LED lamps uniformly use the same current parameter, the light color parameters of each multi-primary color LED lamp deviate from the set indicators. Summary of the Invention
[0007] The present invention provides a debugging method for LED lamps based on a multi-color fitting spectrum, which solves the problem that the light color parameters of each multi-primary color LED lamp deviate from the set indicators because the existing multi-primary color LED lamps uniformly use the same current parameter.
[0008] The present invention provides a debugging method for LED lamps based on a multi-color fitting spectrum, including: Step S1: Collect the measured monochromatic spectra and measured monochromatic powers corresponding to different currents of each monochromatic color of the multi-primary color LED lamp within a preset current range; Step S2: Calculate the mixing light compensation coefficient based on the measured mixing light spectrum and measured mixing light power of the multi-primary-color LED lamp under the same set of current ratios and the theoretical mixing light spectrum and theoretical mixing light power. Step S3: The MOEA searches for the current ratio. Based on the measured single-color spectra and measured single-color powers corresponding to different currents in Step S1 and the mixing light compensation coefficient in Step S2, determine whether the current ratio that meets the set index is obtained. If so, end the search; otherwise, repeat the search until the current ratio that meets the set index is obtained.
[0009] Optionally, Step S1 specifically includes: Collect the measured single-color spectra and measured single-color powers corresponding to the lower limit current of each single color of the multi-primary-color LED lamp within the preset current range. With a current step amplitude of 1 mA, sequentially collect the measured single-color spectra and measured single-color powers corresponding to other currents of each single color of the multi-primary-color LED lamp within the preset current range until the measured single-color spectra and measured single-color powers corresponding to the upper limit current of each single color of the multi-primary-color LED lamp within the preset current range are collected.
[0010] Optionally, Step S1 specifically includes: Collect the measured single-color spectra and measured single-color powers corresponding to multiple different discrete currents of each single color of the multi-primary-color LED lamp within the preset current range. Use the spectral curve smoothing function to supplement the measured single-color spectra and measured single-color powers corresponding to other currents within the preset current range.
[0011] Optionally, Step S2 specifically includes: Randomly select a set of current ratios and input them into the multi-primary-color LED lamp to test the measured mixing light spectrum and measured mixing light power of the multi-primary-color LED lamp. Based on the measured single-color spectra and measured single-color powers corresponding to different currents in Step S1, use the general spectral calculation function and the tristimulus function to calculate the theoretical mixing light spectrum and theoretical mixing light power under this set of current ratios. Calculate the mixing light compensation coefficient based on the measured mixing light spectrum and measured mixing light power, and the theoretical mixing light spectrum and theoretical mixing light power.
[0012] Optionally, Step S3 specifically includes: First step, the MOEA randomly searches for a set of simulated current ratios. Second step, based on the simulated current ratios and the measured single-color spectra and measured single-color powers corresponding to different currents in Step S1, calculate the first simulated mixing light spectrum and the first simulated mixing light power. Step 3: Calculate the second simulated mixed-light spectrum and the second simulated mixed-light power based on the first simulated mixed-light spectrum, the first simulated mixed-light power, and the mixed-light compensation coefficient in Step S2. Step 4: When the second simulated mixed-light spectrum and the second simulated mixed-light power match the set indicators, input the simulated current ratio into the multi-primary-color LED lamp to obtain the actual mixed-light spectrum and the actual mixed-light power; when the second simulated mixed-light spectrum and the second simulated mixed-light power do not match the set indicators, jump to Step 1 until the second simulated mixed-light spectrum and the second simulated mixed-light power match the set indicators. Step 5: Determine whether the actual mixed-light spectrum and the actual mixed-light power match the set indicators. If so, determine the simulated current ratio as the current ratio that meets the set indicators and end the search; otherwise, jump to Step 1 until a current ratio that reaches the set indicators is obtained.
[0013] Optionally, after the above Step S3, the following is further included: Save the current ratio that reaches the set indicators to the power supply MCU.
[0014] Optionally, the preset current range is 0 mA - 150 mA.
[0015] Optionally, the single colors of the multi-primary-color LED lamp include: red, green, yellow, blue, cyan, and purple.
[0016] Optionally, the multi-primary-color LED lamp is specifically a four-primary-color LED lamp, and its single colors are specifically red, green, blue, and yellow.
[0017] One or more technical solutions provided by the present invention have at least the following technical effects or advantages: Since the spectrum is the physical carrier of the light color parameters, and the light color parameters are the quantization indicators obtained by analyzing the spectrum, the present invention can adjust the light color by adjusting the mixed-light spectrum and the mixed-light power of the multi-primary-color LED lamp. Since the mixed-light spectrum and the mixed-light power are composed of the single-color spectrum and the single-color power, the present invention adjusts the single-color spectrum and the single-color power by adjusting the current ratio of the multi-primary-color LED lamp, and further adjusts the mixed-light spectrum and the mixed-light power. The present invention searches for the current ratio through MOEA. When the mixed-light spectrum and the mixed-light power meet the set indicators, the corresponding current ratio is the current ratio that reaches the set indicators. By inputting the corresponding current ratio that reaches the set indicators into each multi-primary-color LED lamp, different multi-primary-color LED lamps can have unified light color parameters, so that the light color parameters of each multi-primary-color LRD lamp meet the set indicators, that is, the light color parameters of the multi-primary-color LED lamp reach the set indicators. Description of the Drawings
[0018] Figure 1The figure is a flowchart of a debugging method for an LED lamp based on a multi - color - fitting spectrum in an embodiment of the present invention. Detailed implementation manners
[0019] The present invention provides a debugging method for an LED lamp based on a multi - color - fitting spectrum, which solves the problem that due to the same current parameter being uniformly used for existing multi - primary - color LED lamps, the color - light parameters of each multi - primary - color LED lamp deviate from the set indicators.
[0020] To better understand the above - mentioned debugging method for an LED lamp based on a multi - color - fitting spectrum, the following will be described in detail in combination with the accompanying drawings of the specification and specific implementation manners. Obviously, the embodiments described in the present invention are some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without creative efforts belong to the scope of protection of the present invention.
[0021] As Figure 1 shown, a debugging method for an LED lamp based on a multi - color - fitting spectrum provided by an embodiment of the present invention includes steps S1 to S3.
[0022] Step S1: Collect the measured monochromatic spectra and measured monochromatic powers corresponding to different currents of each monochromatic color of the multi - primary - color LED lamp within a preset current range.
[0023] Step S1 has two different implementation manners. The first manner is the continuous - current collection method, and the second is the discrete - current collection method.
[0024] When the continuous - current collection method is adopted, step S1 specifically includes: collecting the measured monochromatic spectra and measured monochromatic powers corresponding to the lower - limit current of each monochromatic color of the multi - primary - color LED lamp within a preset current range; with a current step amplitude of 1 mA, successively collecting the measured monochromatic spectra and measured monochromatic powers corresponding to other currents of each monochromatic color of the multi - primary - color LED lamp within a preset current range until the measured monochromatic spectra and measured monochromatic powers corresponding to the upper - limit current of each monochromatic color of the multi - primary - color LED lamp within a preset current range are collected.
[0025] In the specific implementation process, for example: when the preset current range is 1 mA - 10 mA, its lower - limit current is 1 mA, and its upper - limit current is 10 mA. Successively collect the measured monochromatic spectra and measured monochromatic powers corresponding to the currents of 1 mA, 2 mA, 3 mA, 4 mA, 5 mA, 6 mA, 7 mA, 8 mA, 9 mA, and 10 mA of each monochromatic color of the multi - primary - color LED lamp.
[0026] When the discrete current acquisition method is adopted, step S1 specifically includes: acquiring the measured monochromatic spectra and measured monochromatic powers corresponding to multiple different discrete currents within a preset current range for each primary color of the multi-primary color LED lamp; using a spectral curve smoothing function to supplement the measured monochromatic spectra and measured monochromatic powers corresponding to other currents within the preset current range.
[0027] Among them, the spectral curve smoothing function is specifically a cubic interpolation function. The cubic interpolation function constructs a cubic polynomial (third-order polynomial) to connect adjacent data points. By dividing the known numbers into small intervals one by one and fitting them to the curve, the spectral data at the positions between two known points is supplemented, making the spectral curve between the two known points smoother.
[0028] In the specific implementation process, for example: when the preset current range is 1 mA - 10 mA, acquire the measured monochromatic spectra and measured monochromatic powers corresponding to 1 mA, 5 mA, 7 mA, and 10 mA currents for each primary color of the multi-primary color LED lamp. Next, use the cubic interpolation function to supplement the measured monochromatic spectra and measured monochromatic powers corresponding to 2 mA, 3 mA, 4 mA, 6 mA, 8 mA, and 9 mA currents for each primary color of the multi-primary color LED lamp.
[0029] In step S1, the preset current range is 0 mA - 150 mA. Of course, in practical applications, other preset current ranges can be selected according to specific situations, such as 1 mA - 100 mA, which is not limited in the present invention.
[0030] In step S1, the primary colors of the multi-primary color LED lamp include: red, green, yellow, blue, cyan, purple, etc. In practical applications, according to specific situations, a combination of two or more of the above primary colors can be selected, for example: a combination of red, green, and blue, a combination of red, green, yellow, and blue, etc., which is not limited in the present invention.
[0031] In step S1, the multi-primary color LED lamp is specifically a four-primary color LED lamp, and its primary colors are specifically red, green, blue, and yellow.
[0032] Step S2: Calculate the mixing compensation coefficient based on the measured mixed light spectrum and measured mixed light power and the theoretical mixed light spectrum and theoretical mixed light power of the multi-primary color LED lamp under the same set of current ratios.
[0033] Step S2 specifically includes: randomly selecting a set of current ratios and inputting them into the multi-primary color LED lamp, testing the measured mixed light spectrum and measured mixed light power of the multi-primary color LED lamp; based on the measured single-color spectra and measured single-color powers corresponding to different currents in Step S1, using the general spectral calculation function and the tristimulus function to calculate the theoretical mixed light spectrum and theoretical mixed light power under this set of current ratios; calculating the mixed light compensation coefficient based on the measured mixed light spectrum and measured mixed light power, and the theoretical mixed light spectrum and theoretical mixed light power.
[0034] Among them, the spectral calculation function refers to the mathematical expression that describes the radiation intensity of the light source at different wavelengths.
[0035] The tristimulus function (also known as the standard observer color matching function) is a set of standard functions defined by the International Commission on Illumination (CIE), which simulates the spectral responses of the three types of cone cells in the human eye, denoted as , , , and is the core tool for calculating the tristimulus values (X, Y, Z). It decomposes colors into three basic components (X, Y, Z) based on the responses of the three types of cone cells on the human retina to light, so as to objectively describe colors numerically through values. The tristimulus values (X, Y, Z) are calculated by the following formula: , Among them, k is the coefficient, P(λ) represents the spectral power distribution of the light source, , , are the CIE 1931 color matching functions; λ represents the visible light wavelength, and its wavelength range is 380nm - 780nm; X represents the response of the human eye to red light (long wave); Y represents the response of the human eye to green light (medium wave) and also represents brightness (luminance); Z represents the response of the human eye to blue light (short wave).
[0036] Next, the chromaticity coordinates are obtained through normalization, and its mathematical expression is as follows: , Among them, x, y, and z represent the normalized chromaticity coordinates.
[0037] In the specific implementation process, for example: when the multi-primary-color LED lamp is specifically a four-primary-color LED lamp including red, green, blue, and yellow, first randomly select a set of current ratios RGBY = (84, 44, 107, 150), indicating that the current of the red (R) single lamp is 84 mA, the current of the green (G) single lamp is 44 mA, the current of the blue (B) single lamp is 107 mA, and the current of the yellow (Y) single lamp is 150 mA. Input this set of current ratios RGBY = (84, 44, 107, 150) into the four-primary-color LED lamp, and test the measured mixed-light spectrum and measured mixed-light power of the four-primary-color LED lamp. Next, based on the measured single-color spectra and measured single-color powers corresponding to different currents in step S1, use the general spectral calculation function and the tristimulus function to calculate the theoretical mixed-light spectrum and theoretical mixed-light power of the four-primary-color LED lamp under the current ratio RGBY = (84, 44, 107, 150). Finally, based on the measured mixed-light spectrum and measured mixed-light power, and the theoretical mixed-light spectrum and theoretical mixed-light power, calculate the mixed-light compensation coefficient.
[0038] It should be noted that the mixed-light compensation coefficient of the same multi-primary-color LED lamp will change under different current ratios. This mixed-light compensation coefficient is used to roughly correct the mixed-light spectrum and mixed-light power in the subsequent process of finding the current ratio that meets the set index.
[0039] Step S3: The MOEA searches for the current ratio. Based on the measured single-color spectra and measured single-color powers corresponding to different currents in step S1 and the mixed-light compensation coefficient in step S2, determine whether the current ratio that meets the set index is obtained. If so, end the search; otherwise, repeat the search until the current ratio that meets the set index is obtained.
[0040] Step S3 is subdivided into the first step to the fifth step.
[0041] In the first step, the MOEA randomly searches for a set of simulated current ratios.
[0042] Continuing with the previous embodiment, in the specific implementation process, for example: the MOEA randomly searches for a set of simulated current ratios RGBY = (130, 36, 106, 147) of the four-primary-color LED lamp.
[0043] In the second step, based on the simulated current ratio, and the measured single-color spectra and measured single-color powers corresponding to different currents in step S1, calculate the first simulated mixed-light spectrum and the first simulated mixed-light power.
[0044] Continuing with the previous embodiment, in the specific implementation process, for example: based on the simulated current ratio RGBY = (130, 36, 106, 147) obtained in the first step, the measured monochromatic spectra and measured monochromatic powers corresponding to different currents in step S1, the first simulated mixed-light spectrum and the first simulated mixed-light power of the four-primary-color LED lamp are calculated using the general spectral calculation function and the tristimulus function under the current ratio RGBY = (130, 36, 106, 147).
[0045] In the third step, based on the first simulated mixed-light spectrum and the first simulated mixed-light power, and the mixed-light compensation coefficient in step S2, the second simulated mixed-light spectrum and the second simulated mixed-light power are calculated.
[0046] Continuing with the previous embodiment, in the specific implementation process, for example: based on the first simulated mixed-light spectrum and the first simulated mixed-light power obtained in the second step, and the mixed-light compensation coefficient obtained in step S2, the second simulated mixed-light spectrum and the second simulated mixed-light power of the four-primary-color LED lamp are calculated under the current ratio RGBY = (130, 36, 106, 147).
[0047] In the fourth step, when the second simulated mixed-light spectrum and the second simulated mixed-light power match the set indicators, the simulated current ratio is input into the multi-primary-color LED lamp to obtain the actual mixed-light spectrum and the actual mixed-light power; when the second simulated mixed-light spectrum and the second simulated mixed-light power do not match the set indicators, jump to the first step until the second simulated mixed-light spectrum and the second simulated mixed-light power match the set indicators.
[0048] Continuing with the previous embodiment, in the specific implementation process, for example: the set indicators include light color parameters such as color temperature, Ra, R9, SDCM, power, etc. Taking the color temperature of 5000K, that is, K5000_Tempeure = 5000K as an example, the lower limit value of the color temperature is 4950K, and the upper limit value is 5050K. When the color temperature value is within the color temperature range of 4950K - 5050K, it meets the set indicators; when the color temperature value exceeds the color temperature range of 4950K - 5050K, it does not meet the set indicators. Denote the mixed light spectrum and mixed light power corresponding to the set indicators as the set mixed light spectrum and set mixed light power. When the error between the second simulated mixed light spectrum and the second simulated mixed light power and the set mixed light spectrum and set mixed light power is within the preset range, it indicates that the second simulated mixed light spectrum and the second simulated mixed light power match the set indicators. Input the simulated current ratio RGBY = (130, 36, 106, 147) into the four-primary-color LED lamp, and obtain the actual mixed light spectrum and actual mixed light power through testing. When the error between the second simulated mixed light spectrum and the second simulated mixed light power and the set mixed light spectrum and set mixed light power exceeds the preset range, it indicates that the second simulated mixed light spectrum and the second simulated mixed light power do not match the set indicators, and it will jump to the first step to search for a new current ratio again until the error between the second simulated mixed light spectrum and the second simulated mixed light power and the set mixed light spectrum and set mixed light power is within the preset range.
[0049] Step 5, determine whether the actual mixed light spectrum and actual mixed light power match the set indicators. If so, determine the simulated current ratio as the current ratio that meets the set indicators and end the search; otherwise, jump to the first step until a current ratio that reaches the set indicators is obtained.
[0050] Continuing with the previous embodiment, in the specific implementation process, for example: determine whether the error between the actual mixed light spectrum and actual mixed light power and the set mixed light spectrum and set mixed light power is within the preset range. When the error between the actual mixed light spectrum and actual mixed light power and the set mixed light spectrum and set mixed light power is within the preset range, it indicates that the actual mixed light spectrum and actual mixed light power match the set indicators, end the search, and the current ratio that reaches the set indicators is RGBY = (130, 36, 106, 147); when the error between the actual mixed light spectrum and actual mixed light power and the set mixed light spectrum and set mixed light power exceeds the preset range, it indicates that the actual mixed light spectrum and actual mixed light power do not match the set indicators, jump to the first step, search for a new current ratio again until the error between the actual mixed light spectrum and actual mixed light power and the set mixed light spectrum and set mixed light power is within the preset range to obtain a current ratio that reaches the set indicators.
[0051] In order to be able to save the current ratio that reaches the device indicators for subsequent burning into the multi-primary-color LED lamp, after the step S3, it further includes: saving the current ratio that reaches the set indicators to the power supply MCU.
[0052] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims
1. A LED lamp debugging method based on multi-color fitting spectrum, characterized in that: include: Step S1: collecting the measured monochromatic spectra and measured monochromatic powers corresponding to different currents of each monochromatic color of the multi-primary color LED lamp within a preset current range; Step S2: calculating a mixed light compensation coefficient based on the measured mixed light spectrum and the measured mixed light power of the multi-primary color LED lamp under the same current ratio and the theoretical mixed light spectrum and the theoretical mixed light power; Step S3: MOEA searches for current ratios. Based on the measured monochromatic spectra and measured monochromatic powers corresponding to different currents in step S1 and the mixed light compensation coefficient in step S2, it is determined whether a current ratio that meets the set index is obtained. If so, the search is terminated; otherwise, the search is repeated until a current ratio that meets the set index is obtained.
2. The method according to claim 1, characterized in that The step S1 specifically includes: Collect the measured monochromatic spectrum and measured monochromatic power corresponding to the lower limit current of each monochromatic color within the preset current range of the multi-primary color LED lamp; With a current step amplitude of 1mA, the measured monochromatic spectra and the measured monochromatic powers corresponding to other currents of each monochromatic color of the multi-primary color LED lamp within the preset current range are collected in sequence until the measured monochromatic spectra and the measured monochromatic powers corresponding to the upper limit current of each monochromatic color of the multi-primary color LED lamp within the preset current range are collected.
3. The method according to claim 1, characterized in that The step S1 specifically includes: Collecting the measured monochromatic spectra and measured monochromatic powers corresponding to a plurality of different discrete currents of each monochromatic color of the multi-primary color LED lamp within a preset current range; The spectrum curve smoothing function is used to fill in the measured monochromatic spectra and measured monochromatic powers corresponding to other currents within the preset current range.
4. The method according to claim 1, characterized in that The step S2 specifically includes: A group of current ratios are randomly selected and input into the multi-primary color LED lamps to test the measured mixed light spectrum and measured mixed light power of the multi-primary color LED lamps; Based on the measured monochromatic spectra and measured monochromatic powers corresponding to different currents in step S1, a general spectrum calculation function and a three-stimulus function are used to calculate the theoretical mixed light spectrum and theoretical mixed light power under this set of current ratios; The light mixing compensation coefficient is calculated based on the measured light mixing spectrum and the measured light mixing power, the theoretical light mixing spectrum and the theoretical light mixing power.
5. The method according to claim 1, characterized in that The step S3 specifically includes: In the first step, MOEA randomly searches for a set of simulated current ratios; The second step is to calculate a first simulated mixed light spectrum and a first simulated mixed light power based on the simulated current ratio, the measured monochromatic spectra and the measured monochromatic powers corresponding to the different currents in step S1; Step 3: Calculate the second simulated light mixing spectrum and the second simulated light mixing power based on the first simulated light mixing spectrum and the first simulated light mixing power and the light mixing compensation coefficient in step S2; In the fourth step, when the second simulated mixed light spectrum and the second simulated mixed light power match the set index, the simulated current ratio is input into the multi-primary color LED lamp to obtain the actual mixed light spectrum and the actual mixed light power; and when the second simulated mixed light spectrum and the second simulated mixed light power do not match the set index, jump to the first step until the second simulated mixed light spectrum and the second simulated mixed light power match the set index; The fifth step is to determine whether the actual mixed light spectrum and the actual mixed light power match the set indicators. If so, the simulated current ratio is determined to be the current ratio that meets the set indicators and the search ends; otherwise, jump to the first step until the current ratio that meets the set indicators is obtained.
6. The method according to claim 1, characterized in that After step S3, the method further includes: The current ratio that reaches the set index is saved in the power supply MCU.
7. The method according to claim 1, characterized in that The preset current range is 0mA-150mA.
8. The method according to claim 1, characterized in that The single colors of the multi-primary color LED lamp include: red, green, yellow, blue, cyan and purple.
9. The method according to claim 1, characterized in that The multi-primary color LED lamp is specifically a four-primary color LED lamp, and its single colors are specifically red, green, blue and yellow.