Method, device and equipment for controlling LED mixed color light and storage medium
Patent Information
- Application Number
- CN202311546193.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2043-11-20
AI Technical Summary
[0004]本发明提供了一种LED混色灯光的控制方法、装置、设备以及存储介质,以解决现有的不同灯具产品在同种CMY数值时,会出现差异明显的出光颜色的技术问题
[0042]本发明提供了一种LED混色灯光的控制方法,获取一选定灯具的选定出光颜色;在预设的数据库中匹配与所述选定灯具的选定出光颜色所对应的出光通道值;控制所述选定灯具根据所述出光通道值进行出光,得到所述选定出光颜色。
Smart Images

Figure CN117545125B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of LED lighting control, and more particularly to a method, apparatus, device, and storage medium for controlling LED color mixing lights. Background Technology
[0002] In existing LED lighting fixtures, white light fixtures have consistently dominated the market due to their high luminous efficacy and high uniformity, suppressing colored light fixtures. However, white light fixtures cannot meet the market's demand for rich colors. Therefore, using CMY color filters to subtractively mix the light emitted by white light fixtures has become an important means of enriching the color mixing of lighting fixtures.
[0003] However, different lighting products may have different light source spectral compositions, different CMY color filters, and different CMY color filters in different positions. Since the color mixing logic of CMY color filters is subtractive, these differences will cause the same CMY value to produce light colors with particularly obvious differences, which will create great difficulties for the application of lighting colors. Summary of the Invention
[0004] This invention provides a method, apparatus, device, and storage medium for controlling LED mixed-color lights, in order to solve the technical problem that different lighting products will have significantly different emitted light colors when they have the same CMY values.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide a method for controlling LED color-mixing lights, comprising:
[0006] Get the selected light color emitted by a selected light fixture;
[0007] Match the light output channel value corresponding to the selected light output color of the selected lamp in the preset database;
[0008] The selected luminaire is controlled to emit light according to the light emission channel value to obtain the selected light emission color;
[0009] The generation of the light emission channel value corresponding to each emitted light color includes:
[0010] For each white light fixture, CMY color filters with different cutoff wavelengths are sequentially cut in, and the white light fixture is controlled to emit light through the CMY color filters respectively. The CMY color filter corresponding to the emitted light color that matches the preset first standard color is selected as the selected color filter. The first standard color is the color corresponding to the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram.
[0011] The selected color chips are mixed in pairs according to different cut-in degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips. The cut-in degree corresponding to the emitted light color being consistent with the preset second standard color is taken as the selected cut-in degree. The second standard color is the color corresponding to the preset standard point on each line after connecting the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram in pairs.
[0012] The light output channel value corresponding to the selected cut-in degree is used as the light output channel value for the corresponding light output color.
[0013] As a preferred embodiment, the step of sequentially cutting in all CMY color filters with different cutoff wavelengths, controlling the white light fixture to emit light through the CMY color filters respectively, and selecting the CMY color filter corresponding to the emitted light color that matches the preset first standard color as the selected color filter includes:
[0014] For the three CMY color filters, several color filters with different cutoff wavelengths are selected for each.
[0015] The C-color filters with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the C-color filters respectively. When the emitted light color is consistent with the color corresponding to the C coordinate point among the six coordinate points, the corresponding C-color filter is selected as the first selected color filter.
[0016] The M-color plates with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the M-color plates respectively. When the emitted light color is consistent with the color corresponding to the M coordinate point among the six coordinate points, the corresponding M-color plate is used as the second selected color plate.
[0017] The Y-color plates with different cutoff wavelengths are sequentially inserted, and the white light fixture is controlled to emit light through the Y-color plates respectively. When the emitted light color is consistent with the color corresponding to the Y coordinate point among the six coordinate points, the corresponding Y-color plate is selected as the third selected color plate.
[0018] As a preferred embodiment, the step of mixing the selected color chips in pairs according to different cut-in degrees, and controlling the white light fixtures to emit light through the mixed selected color chips respectively, and taking the cut-in degree corresponding to when the emitted light color matches the preset second standard color as the selected cut-in degree, includes:
[0019] The selected color chips are mixed in pairs according to different cutting degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips respectively; wherein, when the selected color chips are mixed in pairs, for the two selected color chips to be mixed, one of the selected color chips is cut in completely first, and then the other selected color chip is cut in at different cutting degrees.
[0020] When the emitted light color matches any of the second standard colors, the cut-in degree of the two selected color patches is taken as the selected cut-in degree of the corresponding color.
[0021] As a preferred embodiment, after setting the light-emitting channel value corresponding to the selected cut-in degree as the light-emitting channel value for the corresponding light-emitting color, the method further includes:
[0022] Obtain the initial white light color of each white light fixture; wherein, the initial white light color is the light emitted by each white light fixture without the CMY color filter inserted;
[0023] Within the white light region, the selection of the second standard color is adjusted until the emitted color of each white light fixture is consistent with the initial white light color.
[0024] Based on the above embodiments, another embodiment of the present invention provides a control device for LED color mixing lights, including: a light emission color selection acquisition module, a light emission channel value matching module, a lamp light emission module, and a light emission channel value generation module;
[0025] The selected light emission color acquisition module is used to acquire the selected light emission color of a selected lamp.
[0026] The light output channel value matching module is used to match the light output channel value corresponding to the selected light output color of the selected lamp in a preset database.
[0027] The light-emitting module is used to control the selected light fixture to emit light according to the light-emitting channel value, so as to obtain the selected light color;
[0028] The light emission channel value generation module is used to sequentially cut in all CMY color filters with different cutoff wavelengths for each white light fixture, control the white light fixture to emit light through the CMY color filters respectively, and select the CMY color filter corresponding to the emitted light color that matches the preset first standard color as the selected color filter; mix the selected color filters in pairs according to different cutting-in degrees, and control the white light fixture to emit light through the mixed selected color filters respectively, and select the cutting-in degree corresponding to the emitted light color that matches the preset second standard color as the selected cutting-in degree; and use the light emission channel value corresponding to the selected cutting-in degree as the light emission channel value of the corresponding emitted light color.
[0029] As a preferred embodiment, the step of sequentially cutting in all CMY color filters with different cutoff wavelengths, controlling the white light fixture to emit light through the CMY color filters respectively, and selecting the CMY color filter corresponding to the emitted light color that matches the preset first standard color as the selected color filter includes:
[0030] For the three CMY color filters, several color filters with different cutoff wavelengths are selected for each.
[0031] The C-color filters with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the C-color filters respectively. When the emitted light color is consistent with the color corresponding to the C coordinate point among the six coordinate points, the corresponding C-color filter is selected as the first selected color filter.
[0032] The M-color plates with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the M-color plates respectively. When the emitted light color is consistent with the color corresponding to the M coordinate point among the six coordinate points, the corresponding M-color plate is used as the second selected color plate.
[0033] The Y-color plates with different cutoff wavelengths are sequentially inserted, and the white light fixture is controlled to emit light through the Y-color plates respectively. When the emitted light color is consistent with the color corresponding to the Y coordinate point among the six coordinate points, the corresponding Y-color plate is selected as the third selected color plate.
[0034] As a preferred embodiment, the step of mixing the selected color chips in pairs according to different cut-in degrees, and controlling the white light fixtures to emit light through the mixed selected color chips respectively, and taking the cut-in degree corresponding to when the emitted light color matches the preset second standard color as the selected cut-in degree, includes:
[0035] The selected color chips are mixed in pairs according to different cutting degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips respectively; wherein, when the selected color chips are mixed in pairs, for the two selected color chips to be mixed, one of the selected color chips is cut in completely first, and then the other selected color chip is cut in at different cutting degrees.
[0036] When the emitted light color matches any of the second standard colors, the cut-in degree of the two selected color patches is taken as the selected cut-in degree of the corresponding color.
[0037] As a preferred embodiment, the control device for the LED color mixing light further includes: a white light calibration module;
[0038] The white light calibration block module is used to obtain the initial white light color of each white light fixture; wherein, the initial white light color is the light output color of each white light fixture when no CMY color chip is cut in; within the white light area, the selected cut-in degree of the second standard color is adjusted until the light output color of each white light fixture is consistent with the initial white light color.
[0039] Based on the above embodiments, another embodiment of the present invention provides an electronic device, the device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the LED color mixing light control method described in the above embodiments of the invention.
[0040] Based on the above embodiments, another embodiment of the present invention provides a storage medium, the storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute the LED color mixing light control method described in the above embodiments of the invention.
[0041] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0042] This invention provides a method for controlling LED color mixing lights, which involves obtaining a selected light emission color of a selected luminaire; matching the light emission channel value corresponding to the selected light emission color of the selected luminaire in a preset database; and controlling the selected luminaire to emit light according to the light emission channel value to obtain the selected light emission color.
[0043] In this invention, when generating the light output channel values for each color, for each white light fixture, all CMY color filters with different cutoff wavelengths are sequentially input. The white light fixture is then controlled to emit light through each of the CMY color filters. The CMY color filter corresponding to the emitted light color that matches a preset first standard color is selected. The first standard color is the color corresponding to the six coordinate points with the deepest color saturation and hue in the CIE 1931 standard chromaticity diagram. By filtering the CMY color filters, different white light fixtures can obtain the colors corresponding to the six coordinate points when emitting light through the selected CMY color filters, ensuring that different white light fixtures have a uniform emitted light color when all selected color filters are input individually.
[0044] Then, the selected color chips are mixed in pairs according to different cut-in degrees, and white light fixtures are controlled to emit light through the mixed selected color chips. The cut-in degree corresponding to the emitted light color matching the preset second standard color is taken as the selected cut-in degree. The second standard color is the color corresponding to a preset standard point on each line obtained by connecting the six coordinate points with the deepest color saturation and hue in the CIE 1931 standard colorimetric diagram. When mixing the selected color chips in pairs to obtain mixed-color light, the emitted light color is calibrated to the preset second standard color by switching different cut-in degrees. This ensures that different white light fixtures have a uniform emitted light color when the two selected color chips are mixed according to the selected cut-in degree. Through this invention, a color mixing system composed of different white light sources and different CMY color chips can be corrected to ensure a uniform emitted light color. Attached Figure Description
[0045] Figure 1 This is a flowchart illustrating a method for controlling LED color-mixing lights according to an embodiment of the present invention;
[0046] Figure 2 It is a fictitious color space diagram composed of six points CMYRGB on the CIE1931 standard colorimetric diagram;
[0047] Figure 3 This is a demonstration diagram showing the changes in the CMY color filter coating area;
[0048] Figure 4 This is a schematic diagram of isotone lines in the CIE 1931 standard chromaticity diagram;
[0049] Figure 5 This is a schematic diagram of the structure of a control device for LED color mixing lights provided in an embodiment of the present invention. Detailed Implementation
[0050] 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 of the embodiments. 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.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0052] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0053] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0054] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0055] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0056] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0057] Example 1
[0058] Please refer to Figure 1The following is a flowchart illustrating a method for controlling LED color-mixing lights according to an embodiment of the present invention, comprising the following specific steps:
[0059] S1. Obtain the selected light output color of a selected lamp;
[0060] When performing LED color mixing, first select a light-emitting lamp as the selected lamp, and the corresponding light color of the selected lamp as the selected light color.
[0061] S2. Match the light output channel value corresponding to the selected light output color of the selected lamp in the preset database;
[0062] The generation of the light emission channel value corresponding to each emitted light color includes:
[0063] For each white light fixture, CMY color filters with different cutoff wavelengths are sequentially cut in, and the white light fixture is controlled to emit light through the CMY color filters respectively. The CMY color filter corresponding to the emitted light color that matches the preset first standard color is selected as the selected color filter. The first standard color is the color corresponding to the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram.
[0064] The selected color chips are mixed in pairs according to different cut-in degrees, and the white light lamps are controlled to emit light through the mixed selected color chips. The cut-in degree corresponding to the emitted light color being consistent with the preset second standard color is taken as the selected cut-in degree. The second standard color is the color corresponding to the preset standard point on each line after connecting the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram in pairs.
[0065] The light output channel value corresponding to the selected cut-in degree is used as the light output channel value for the corresponding light output color.
[0066] Preferably, the step of sequentially cutting in all CMY color filters with different cutoff wavelengths, controlling the white light fixture to emit light through the CMY color filters respectively, and selecting the CMY color filter corresponding to the emitted light color that matches the preset first standard color, includes: for each of the three CMY color filters, selecting several color filters with different cutoff wavelengths; sequentially cutting in all C color filters with different cutoff wavelengths, controlling the white light fixture to emit light through the C color filters respectively, and selecting the C color filter when the emitted light color matches the color corresponding to the C coordinate point among the six coordinate points. The corresponding C-color filter is selected as the first selected color filter; all M-color filters with different cutoff wavelengths are sequentially switched in, and the white light fixture is controlled to emit light through the M-color filters respectively. When the emitted light color is consistent with the color corresponding to the M coordinate point among the six coordinate points, the corresponding M-color filter is selected as the second selected color filter; all Y-color filters with different cutoff wavelengths are sequentially switched in, and the white light fixture is controlled to emit light through the Y-color filters respectively. When the emitted light color is consistent with the color corresponding to the Y coordinate point among the six coordinate points, the corresponding Y-color filter is selected as the third selected color filter.
[0067] After selecting a lamp and its corresponding light emission color, the light emission channel value corresponding to the selected light emission color of the lamp is matched in a preset database; the database stores the light emission channel value corresponding to each mixed light emission color of each lamp.
[0068] The light output channel value corresponding to each mixed light color in each lamp is generated through the following steps:
[0069] (1) Screening the CMY color filter for each white light fixture: For each white light fixture, all CMY color filters with different cutoff wavelengths are sequentially cut in, and the white light fixture is controlled to emit light through the CMY color filters respectively. The CMY color filter corresponding to the emitted light color that matches the preset first standard color is selected as the selected color filter; wherein, the first standard color is the color corresponding to the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram.
[0070] Please refer to Figure 2 This is a hypothetical color space diagram composed of six CMYRGB points on the CIE 1931 standard colorimetric diagram. Connecting these six points on the CIE 1931 standard colorimetric diagram results in an irregular hexagonal region. These six points are selected from the six coordinates of the deepest saturation and hue in the CMYRGB colors in the horseshoe diagram of the CIE 1931 standard colorimetric diagram, i.e., the coordinates of six points on the monochromatic light trajectory line. The monochromatic light trajectory line refers to the six line segments formed by connecting these six standard points in the order shown in the diagram, which are the lines connecting the deepest hue points of each wavelength color that can be mixed by the corresponding CMY color mixing system.
[0071] For most LED light sources, the spectral composition consists of light of various continuous wavelengths. Different cutoff wavelengths of color filters can be used to convert different white light into specific CMY colors. Therefore, for different white light fixtures, only different color filters need to be used. By selecting the appropriate CMY color filter for each white light fixture, the same CMY color output can be obtained. That is, when each of the three color filters is 100% applied individually, different white light fixtures can produce the same cyan, magenta, and yellow light colors. Furthermore, because the CMY colors are the same, the RGB colors generated by pairwise filtering of CMY will also exhibit the same RGB values for different white light sources. In short, the first step is to achieve a unified color mixing space for different colored light fixtures through the targeted selection of CMY color filters.
[0072] The specific screening process is as follows: Based on the requirements, determine the output color coordinates of the three CMY colors on the standard chromaticity diagram, that is, the six coordinates with the deepest saturation and hue of the CMYRGB colors in the horseshoe diagram on the CIE1931 standard chromaticity diagram. Then, for white light lamps with different spectra, filter the white light by customizing their corresponding C, M, and Y filters so that different white light lamps can achieve the output color corresponding to the six points, thus enabling different white lights to obtain the same CMY color filter.
[0073] For example, color C is obtained by passing through a color filter through the blue and green bands, removing some of the red band. Similarly, color M is obtained by passing through a color filter through the blue and red bands, removing some of the green band. When both colors C and M are applied to the full color gamut, the red and green bands in the white light spectrum are removed, leaving only a narrow blue band. After two filtering processes, the resulting blue will be at a very high hue point, meeting the requirements of the color mixing system. Likewise, high-hue reds and greens will be similar in color. Thus, by selecting the colors and cutoff wavelengths of the CMY filters, different white light fixtures can be controlled to have the same or very similar six coordinate points.
[0074] Preferably, the step of mixing the selected color patches in pairs according to different cut-in degrees, and controlling the white light fixture to emit light through the mixed selected color patches respectively, and taking the cut-in degree corresponding to the emitted light color being consistent with the preset second standard color as the selected cut-in degree, includes: mixing the selected color patches in pairs according to different cut-in degrees, and controlling the white light fixture to emit light through the mixed selected color patches respectively; wherein, when mixing the selected color patches in pairs, for the two selected color patches to be mixed, one selected color patch is first fully cut in, and then the other selected color patch is cut in at a different cut-in degree; when the emitted light color is consistent with any color in the second standard color, the cut-in degree of the two mixed selected color patches is taken as the selected cut-in degree of the corresponding color.
[0075] (2) After selecting the CMY color chips, select the degree of entry when mixing the CMY color chips of each white light fixture to produce light: mix the selected color chips in pairs according to different degrees of entry, and control the white light fixture to produce light through the mixed selected color chips respectively. The degree of entry corresponding to the output color is consistent with the preset second standard color is taken as the selected degree of entry; wherein, the second standard color is the color corresponding to the preset standard point on each line after connecting the six coordinate points of the color saturation and hue of the CIE1931 standard colorimetric diagram in pairs.
[0076] Please refer to Figure 3 This diagram illustrates the changes in the CMY color filter coating area. The CMY color filters mentioned in this invention are gradient color filters with an increasing amount of coating area, ultimately reaching 100% coating coverage. The gradient area is designed to allow for uniform color changes, while the full-color area is designed to ensure that CMY colors of different brightness levels can ultimately mix to produce the same RGB color.
[0077] Please refer to Figure 4 This is a schematic diagram of isotone lines in the CIE 1931 standard chromaticity diagram. In the CIE 1931 standard chromaticity diagram, hue is defined as the line connecting any point on the trajectory of an equal-energy white light point to a monochromatic light source; this is called an isotone line. After connecting the six coordinate points in pairs using the isotone line definition, a standard point is formed on each of these lines. The color corresponding to the standard point on each line is the second standard color. Then, the selected color patches are mixed in pairs according to different cut-in degrees. First, one selected color patch is fully cut in, and then the other selected color patch is cut in at different cut-in degrees. The white light fixture is controlled to emit light through the mixed selected color patches. When the emitted light color matches any of the second standard colors, the cut-in degree of the two mixed selected color patches is taken as the selected cut-in degree of the corresponding color.
[0078] For example, when M is fully inserted into the light spot, all light emitted by the lamp except for the wavelength of color M is filtered out. At this time, Y is slowly inserted. The uncoated area will directly pass the light from the M part, while the coated area will filter the white light into R light. Therefore, the light emitted by the lamp will eventually become a transition from color M to color R. That is, when the M color chip is fully inserted, the color will transition along the line connecting MR on the chromaticity diagram as the Y color chip is inserted. In this process, when the emitted light color is consistent with any color in the second standard color, the M color chip is fully inserted, and the degree of insertion of the Y color chip at this time is used as the selected degree of insertion of the corresponding color. Similarly, the colors of the lines connecting RYGCBMR in sequence can be formed by mixing two of the CMY color chips. This invention defines six standard points for CMYRGB, and then defines standard points on the lines connecting RYGCBMR in sequence. By cutting all of one piece into the standard points and then adjusting the cutting degree of another piece, the output color of the same channel value is calibrated to the standard points on the line, thus ensuring that the output color of different white light fixtures is consistent when in use.
[0079] Among them, the points on the lines connecting the six standard points are the points with the deepest hues for each wavelength that can be obtained in the color mixing system. These points only require two color filters to mix. For example, when C is fully inserted, the spectrum will have the red band filtered out. When M is inserted at this time, because M is only partially coated, some light passes through according to the original spectrum, and some light is filtered out of the R band and the G band, meaning the light passing through is color B. At this time, the output color is a mixture of color C and color B. According to the color additive mixing logic, the resulting color is on the C-B line and moves along the line as the coating area of M increases.
[0080] Preferably, after taking the light output channel value corresponding to the selected cut-in degree as the light output channel value of the corresponding light output color, the method further includes: obtaining the initial white light color of each white light fixture; wherein, the initial white light color is the light output color of each white light fixture when no CMY color chip is cut in; within the white light area, the selected cut-in degree of the second standard color is adjusted until the light output color of each white light fixture is consistent with the initial white light color.
[0081] (3) White light correction: Obtain the initial white light color of each white light fixture; wherein, the initial white light color is the light output color of each white light fixture when no CMY color chip is cut in; within the white light area, the selected cut-in degree of the second standard color is adjusted until the light output color of each white light fixture is consistent with the initial white light color.
[0082] Because of the color system formed by the gradient color filter, when the three CMY colors are used for color mixing at the same time, due to the problem of different brightness for the same color, although the above steps calibrate the color mixing trend in the high-tone area, they cannot calibrate the low-saturation area, i.e., the white light area. Therefore, it is also necessary to calibrate the output value of each white light point. Theoretically, when the channel values of the three CMY color filters are consistent, the theoretical output light should be white light. Therefore, it is only necessary to test the color coordinates of the initial white light of the lamp. Since one of the three CMY colors cannot be mixed from the other two, it can be regarded as the three primary colors and can be mixed to produce the color in the middle of the three colors. Since the white light is in the middle of the area connecting the three, the cut-in position of CMY corresponding to each standard point obtained by the color calibration in step (2) can be finely adjusted to make the output color consistent with the initial white light color. This calibrates the color mixing output of the low-saturation area. In this way, even if different lamps have different white light, they can obtain the same output color when cutting into the CMY color filter. S3. Control the selected lamp to emit light according to the light emission channel value to obtain the selected light emission color;
[0083] After matching the light emission channel value corresponding to the selected light emission color of the selected lamp, the selected light emission color can be obtained simply by controlling the selected lamp to emit light according to the light emission channel value.
[0084] Therefore, the present invention provides a method for controlling LED color mixing lights. Through the present invention, the color mixing system composed of different white light sources and different CMY color chips can be corrected so that they can have a uniform light output color when emitting light.
[0085] Example 2
[0086] Please refer to Figure 5 This is a schematic diagram of the structure of a control device for LED color mixing lights according to an embodiment of the present invention. The device includes: a light color selection acquisition module, a light channel value matching module, a light emission module, and a light channel value generation module.
[0087] The selected light emission color acquisition module is used to acquire the selected light emission color of a selected lamp.
[0088] The light output channel value matching module is used to match the light output channel value corresponding to the selected light output color of the selected lamp in a preset database.
[0089] The light-emitting module is used to control the selected light fixture to emit light according to the light-emitting channel value, so as to obtain the selected light color;
[0090] The light emission channel value generation module is used to sequentially cut in all CMY color filters with different cutoff wavelengths for each white light fixture, control the white light fixture to emit light through the CMY color filters respectively, and select the CMY color filter corresponding to the emitted light color that matches the preset first standard color as the selected color filter; mix the selected color filters in pairs according to different cutting-in degrees, and control the white light fixture to emit light through the mixed selected color filters respectively, and select the cutting-in degree corresponding to the emitted light color that matches the preset second standard color as the selected cutting-in degree; and use the light emission channel value corresponding to the selected cutting-in degree as the light emission channel value of the corresponding emitted light color.
[0091] Preferably, the step of sequentially cutting in all CMY color filters with different cutoff wavelengths, controlling the white light fixture to emit light through the CMY color filters respectively, and selecting the CMY color filter corresponding to the emitted light color that matches the preset first standard color as the selected color filter includes:
[0092] For the three CMY color filters, several color filters with different cutoff wavelengths are selected for each.
[0093] The C-color filters with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the C-color filters respectively. When the emitted light color is consistent with the color corresponding to the C coordinate point among the six coordinate points, the corresponding C-color filter is selected as the first selected color filter.
[0094] The M-color plates with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the M-color plates respectively. When the emitted light color is consistent with the color corresponding to the M coordinate point among the six coordinate points, the corresponding M-color plate is used as the second selected color plate.
[0095] The Y-color plates with different cutoff wavelengths are sequentially inserted, and the white light fixture is controlled to emit light through the Y-color plates respectively. When the emitted light color is consistent with the color corresponding to the Y coordinate point among the six coordinate points, the corresponding Y-color plate is selected as the third selected color plate.
[0096] Preferably, the step of mixing the selected color chips in pairs according to different cut-in degrees, and controlling the white light fixtures to emit light through the mixed selected color chips respectively, and taking the cut-in degree corresponding to when the emitted light color matches the preset second standard color as the selected cut-in degree, includes:
[0097] The selected color chips are mixed in pairs according to different cutting degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips respectively; wherein, when the selected color chips are mixed in pairs, for the two selected color chips to be mixed, one of the selected color chips is cut in completely first, and then the other selected color chip is cut in at different cutting degrees.
[0098] When the emitted light color matches any of the second standard colors, the cut-in degree of the two selected color patches is taken as the selected cut-in degree of the corresponding color.
[0099] Preferably, the control device for the LED color mixing light further includes: a white light calibration module;
[0100] The white light calibration block module is used to obtain the initial white light color of each white light fixture; wherein, the initial white light color is the light output color of each white light fixture when no CMY color chip is cut in; within the white light area, the selected cut-in degree of the second standard color is adjusted until the light output color of each white light fixture is consistent with the initial white light color.
[0101] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and 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. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0102] Those skilled in the art will clearly understand that, for convenience and simplicity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0103] Example 3
[0104] Accordingly, embodiments of the present invention provide an electronic device, the device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the LED color mixing light control method described in the above embodiments of the invention.
[0105] The electronic device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The device may include, but is not limited to, a processor and a memory.
[0106] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the device, connecting various parts of the device via various interfaces and lines.
[0107] Example 4
[0108] Accordingly, embodiments of the present invention provide a storage medium, the storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the storage medium is located to execute the LED color mixing light control method described in the above embodiments of the invention.
[0109] The memory can be used to store the computer program. The processor implements various functions of the device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0110] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When executed by a processor, the computer program can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0111] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for controlling LED color mixing lights, characterized in that, include: Get the selected light color emitted by a selected light fixture; Match the light output channel value corresponding to the selected light output color of the selected lamp in the preset database; The selected luminaire is controlled to emit light according to the light emission channel value to obtain the selected light emission color; The generation of the light emission channel value corresponding to each emitted light color includes: For each white light fixture, CMY color filters with different cutoff wavelengths are sequentially cut in, and the white light fixture is controlled to emit light through the CMY color filters respectively. The CMY color filter corresponding to the emitted light color that matches the preset first standard color is selected as the selected color filter. The first standard color is the color corresponding to the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram. The selected color chips are mixed in pairs according to different cut-in degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips. The cut-in degree corresponding to the emitted light color being consistent with the preset second standard color is taken as the selected cut-in degree. The second standard color is the color corresponding to the preset standard point on each line after connecting the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram in pairs. The light output channel value corresponding to the selected cut-in degree is used as the light output channel value for the corresponding light output color.
2. The LED color mixing light control method as described in claim 1, characterized in that, The process involves sequentially cutting in all CMY color filters with different cutoff wavelengths, controlling the white light fixture to emit light through each of the CMY color filters, and selecting the CMY color filter whose emitted light color matches a preset first standard color as the selected color filter. For the three CMY color filters, several color filters with different cutoff wavelengths are selected for each. The C-color filters with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the C-color filters respectively. When the emitted light color is consistent with the color corresponding to the C coordinate point among the six coordinate points, the corresponding C-color filter is selected as the first selected color filter. The M-color plates with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the M-color plates respectively. When the emitted light color is consistent with the color corresponding to the M coordinate point among the six coordinate points, the corresponding M-color plate is used as the second selected color plate. The Y-color plates with different cutoff wavelengths are sequentially inserted, and the white light fixture is controlled to emit light through the Y-color plates respectively. When the emitted light color is consistent with the color corresponding to the Y coordinate point among the six coordinate points, the corresponding Y-color plate is selected as the third selected color plate.
3. The LED color mixing light control method as described in claim 2, characterized in that, The process of mixing the selected color chips in pairs according to different cut-in degrees, and controlling the white light fixtures to emit light through the mixed selected color chips, wherein the cut-in degree corresponding to the emitted light color matching the preset second standard color is taken as the selected cut-in degree, includes: The selected color chips are mixed in pairs according to different cutting degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips respectively; wherein, when the selected color chips are mixed in pairs, for the two selected color chips to be mixed, one of the selected color chips is cut in completely first, and then the other selected color chip is cut in at different cutting degrees. When the emitted light color matches any of the second standard colors, the cut-in degree of the two selected color patches is taken as the selected cut-in degree of the corresponding color.
4. The LED color mixing light control method as described in claim 1, characterized in that, After setting the light-emitting channel value corresponding to the selected cut-in degree as the light-emitting channel value for the corresponding light-emitting color, the method further includes: Obtain the initial white light color of each white light fixture; wherein, the initial white light color is the light emitted by each white light fixture without the CMY color filter inserted; Within the white light region, the selection of the second standard color is adjusted until the emitted color of each white light fixture is consistent with the initial white light color.
5. A control device for LED color mixing lights, characterized in that, include: Select the light emission color acquisition module, the light emission channel value matching module, the lamp light emission module, and the light emission channel value generation module; The selected light emission color acquisition module is used to acquire the selected light emission color of a selected lamp. The light output channel value matching module is used to match the light output channel value corresponding to the selected light output color of the selected lamp in a preset database. The light-emitting module is used to control the selected light fixture to emit light according to the light-emitting channel value, so as to obtain the selected light color; The light output channel value generation module is used to sequentially cut in all CMY color filters with different cutoff wavelengths for each white light fixture, control the white light fixture to emit light through the CMY color filters respectively, and select the CMY color filter corresponding to the emitted light color that matches the preset first standard color as the selected color filter; mix the selected color filters in pairs according to different cutting in degrees, and control the white light fixture to emit light through the mixed selected color filters respectively, and select the cutting in degree corresponding to the emitted light color that matches the preset second standard color as the selected cutting in degree; and use the light output channel value corresponding to the selected cutting in degree as the light output channel value of the corresponding emitted light color; wherein, the first standard color is the color corresponding to the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram; the second standard color is the color corresponding to the preset standard point on each line after connecting the six coordinate points with the deepest color saturation and hue in the CIE1931 standard colorimetric diagram in pairs.
6. The LED color mixing light control device as described in claim 5, characterized in that, The process involves sequentially cutting in all CMY color filters with different cutoff wavelengths, controlling the white light fixture to emit light through each of the CMY color filters, and selecting the CMY color filter whose emitted light color matches a preset first standard color as the selected color filter. This includes: For the three CMY color filters, several color filters with different cutoff wavelengths are selected for each. The C-color filters with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the C-color filters respectively. When the emitted light color is consistent with the color corresponding to the C coordinate point among the six coordinate points, the corresponding C-color filter is selected as the first selected color filter. The M-color plates with different cutoff wavelengths are sequentially inserted, and the white light lamp is controlled to emit light through the M-color plates respectively. When the emitted light color is consistent with the color corresponding to the M coordinate point among the six coordinate points, the corresponding M-color plate is used as the second selected color plate. The Y-color plates with different cutoff wavelengths are sequentially inserted, and the white light fixture is controlled to emit light through the Y-color plates respectively. When the emitted light color is consistent with the color corresponding to the Y coordinate point among the six coordinate points, the corresponding Y-color plate is selected as the third selected color plate.
7. The LED color mixing light control device as described in claim 5, characterized in that, The process of mixing the selected color chips in pairs according to different cut-in degrees, and controlling the white light fixtures to emit light through the mixed selected color chips, wherein the cut-in degree corresponding to the emitted light color matching the preset second standard color is taken as the selected cut-in degree, includes: The selected color chips are mixed in pairs according to different cutting degrees, and the white light fixtures are controlled to emit light through the mixed selected color chips respectively; wherein, when the selected color chips are mixed in pairs, for the two selected color chips to be mixed, one of the selected color chips is cut in completely first, and then the other selected color chip is cut in at different cutting degrees. When the emitted light color matches any of the second standard colors, the cut-in degree of the two selected color patches is taken as the selected cut-in degree of the corresponding color.
8. The LED color mixing light control device as described in claim 5, characterized in that, Also includes: White light calibration module; The white light calibration module is used to obtain the initial white light color of each white light fixture; wherein, the initial white light color is the light output color of each white light fixture when no CMY color chip is cut in; within the white light area, the selected cut-in degree of the second standard color is adjusted until the light output color of each white light fixture is consistent with the initial white light color.
9. An electronic device, characterized in that, The device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the LED color mixing light control method as described in any one of claims 1 to 4.
10. A storage medium, characterized in that, The storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the storage medium to perform the LED color mixing light control method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Color calibration device covering complete color gamut
CN103616076A
Colorful gradient CMY color plate specially for stage lighting
CN112178590A