Multipath dimming method and device, controller, storage medium and program product
By expanding the two light control signals of the second controller into five channels through the first controller, the mixed spectrum formed by the five groups of light sources on the chromaticity diagram is controlled to be located on the Planck curve, which solves the problem of poor white light effect of the existing dimming controller and achieves a lighting effect close to natural white light.
Patent Information
- Application Number
- CN202510755068.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-09-09
AI Technical Summary
The existing dimming controller produces poor white light effect after adjusting the mixed light of two light sources with different color temperatures, which cannot meet the demand for natural white light.
The first controller receives two light control signals from the second controller, determines the mixing ratio of the five spectra, and outputs five light control signals to control the five groups of light sources to form a mixed spectrum whose coordinates on the chromaticity diagram are on the Planck curve.
It achieves a lighting effect close to natural white light, meeting the needs of users.
Smart Images

Figure CN120614731A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of dimming technology, and in particular to a multi-channel dimming method and device, a controller, a storage medium, and a program product. Background Art
[0002] With the development of technology and the improvement of people's requirements for quality of life, lighting equipment with adjustable color temperature has gradually attracted people's attention. Since people are still most accustomed to natural white light, making the lighting emitted by lighting equipment close to natural white light has always been the goal pursued by the lighting industry.
[0003] Lighting equipment uses dimming controllers, such as microcontroller units (MCUs), to adjust the lighting. Current dimming controllers mostly achieve this by adjusting two light sources with different color temperatures. However, when mixing these two light sources, the resulting spectrum often deviates from the Planck curve for white light. Consequently, the resulting white light is suboptimal, differing significantly from natural white light and failing to meet user requirements. Summary of the Invention
[0004] The present application provides a multi-channel dimming method and device, a controller, a computer-readable storage medium, and a computer program product, specifically as follows:
[0005] In one aspect, the present application provides a multi-channel dimming method, which is applied to a first controller connected to a second controller, and includes:
[0006] receiving a first light control signal and a second light control signal output by the second controller, wherein the first light control signal corresponds to a first spectrum having a first color temperature, and the second light control signal corresponds to a second spectrum having a second color temperature;
[0007] Based on the first light control signal and the second light control signal, a first mixing ratio of five spectra is determined, and five light control signals are output according to the first mixing ratio of the five spectra; wherein the five light control signals are used to control five groups of light sources to irradiate the five spectra according to the first mixing ratio, and the five spectra irradiated according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve; the five groups of light sources include a first light source, a second light source, a third light source, a fourth light source and a fifth light source, the first light source is used to irradiate a red primary spectrum, the second light source is used to irradiate a green primary spectrum, the third light source is used to irradiate a blue primary spectrum, the fourth light source is used to irradiate a first spectrum with a first color temperature, and the fifth light source is used to irradiate a second spectrum with a second color temperature; wherein the horizontal axis on the chromaticity diagram represents the proportion of the red primary color in the spectrum, the vertical axis on the chromaticity diagram represents the proportion of the green primary color in the spectrum, and the proportion of the blue primary color in the spectrum is related to the proportion of the red primary color and the proportion of the green primary color.
[0008] On the other hand, the present application provides a multi-channel dimming device, comprising:
[0009] an input module, configured to receive a first light control signal and a second light control signal output by the second controller, wherein the first light control signal corresponds to a first spectrum having a first color temperature, and the second light control signal corresponds to a second spectrum having a second color temperature;
[0010] a processing module, configured to determine a first mixing ratio of five optical spectra based on the first optical control signal and the second optical control signal;
[0011] An output module is used to output five light control signals according to a first mixing ratio of the five light spectra; wherein the five light control signals are used to control five groups of light sources to irradiate the five light spectra according to the first mixing ratio, and the five light spectra irradiated according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve; the five groups of light sources include a first light source, a second light source, a third light source, a fourth light source and a fifth light source, the first light source is used to irradiate a red primary spectrum, the second light source is used to irradiate a green primary spectrum, the third light source is used to irradiate a blue primary spectrum, the fourth light source is used to irradiate a first spectrum with a first color temperature, and the fifth light source is used to irradiate a second spectrum with a second color temperature; wherein the horizontal axis on the chromaticity diagram represents the proportion of the red primary color in the spectrum, the vertical axis on the chromaticity diagram represents the proportion of the green primary color in the spectrum, and the proportion of the blue primary color in the spectrum is related to the proportion of the red primary color and the proportion of the green primary color.
[0012] On the other hand, the present application provides a controller, which includes a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the above-mentioned multi-channel dimming method.
[0013] On the other hand, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program enables a computer to execute the above-mentioned multi-channel dimming method.
[0014] On the other hand, the present application provides a computer program product, which includes computer program instructions, and the computer program instructions enable a computer to execute the above-mentioned multi-channel dimming method.
[0015] According to the technical solution of the present application, the output of the second controller includes two light control signals (i.e., a first light control signal and a second light control signal). These two light control signals can only realize the adjustment of two light sources with different color temperatures to realize the adjustment of the lighting light. The first controller is connected to the second controller. The first controller determines the first mixing ratio of the five light spectra based on the two light control signals (i.e., the first light control signal and the second light control signal) output by the first controller, and outputs five light control signals according to the first mixing ratio of the five light spectra. These five light control signals can realize the adjustment of the five groups of light sources to realize the adjustment of the lighting light. The five spectra emitted by the five groups of light sources form a first mixed spectrum. The coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve, thereby ensuring that the obtained first mixed spectrum is close to natural white light. By using the first mixed spectrum as the lighting light, a very good lighting effect is achieved, which meets the user's usage needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a diagram of the dimming architecture provided in an embodiment of the present application;
[0017] Figure 2 This is a flow chart of a multi-channel dimming method provided in an embodiment of the present application;
[0018] Figure 3 This is a schematic diagram of a chromaticity diagram provided in an embodiment of the present application;
[0019] Figure 4 is a schematic diagram of a controller for five optical control signals provided in an embodiment of the present application;
[0020] Figure 5 This is a structural diagram of a multi-channel dimming device provided in an embodiment of the present application;
[0021] Figure 6 This is a schematic structural diagram of a controller provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will describe the technical solutions in the embodiments of this application in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0023] It should be noted that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated with each other are in an "or" relationship. It should also be understood that the "corresponding" mentioned in the embodiments of the present application can indicate that there is a direct or indirect correspondence between the two, or it can indicate that there is an association relationship between the two. It should also be understood that the "first" and "second" mentioned in the embodiments of the present application are only used for the purpose of convenience of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. The meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0024] Figure 1 This is a dimming architecture diagram provided by an embodiment of the present application, such as Figure 1 As shown, the dimming architecture provided in the embodiment of the present application includes a first controller 10 and a second controller 11 , wherein the first controller 10 is connected to the second controller 11 .
[0025] The second controller 11 receives alternating current (AC) as input for providing electrical energy. In some scenarios, the AC voltage is 100 to 240 V. The second controller 11 outputs one positive output and two negative outputs. The two negative outputs are a first light control signal and a second light control signal, respectively. The first light control signal corresponds to a first spectrum having a first color temperature, and the second light control signal corresponds to a second spectrum having a second color temperature.
[0026] The input of the first controller 10 is the output of the second controller 11, which includes one positive output and two negative outputs. The output of the first controller 10 includes one positive output and N negative outputs, where the N negative outputs are N light control signals, where N ≥ 3. The N light control signals are used to control N groups of light sources to illuminate N spectra, which form a first mixed spectrum. The coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve.
[0027] The technical solution of the embodiment of the present application does not impose any specific restrictions on the models of the first controller and the second controller, as long as the input and output relationship of the first controller and the second controller described above is satisfied. In specific implementation, both the first controller and the second controller can be implemented by an MCU.
[0028] It should be noted that the "light control signal" described in the embodiments of the present application may be a pulse width modulation (PWM) signal. For example, the first / second / third / fourth / fifth / sixth / seventh / eighth light control signal may be the first / second / third / fourth / fifth / sixth / seventh / eighth PWM signal.
[0029] Figure 2 1 is a flow chart of a multi-channel dimming method provided in an embodiment of the present application. The multi-channel dimming method is applied to a first controller, and the first controller is connected to a second controller, such as Figure 2 As shown, the multi-channel dimming method includes the following steps:
[0030] Step 201: receiving a first light control signal and a second light control signal output by a second controller, wherein the first light control signal corresponds to a first spectrum with a first color temperature, and the second light control signal corresponds to a second spectrum with a second color temperature.
[0031] In some embodiments, the first spectrum is warm white light, for example, a spectrum with a color temperature of 2700 K. The second spectrum is pure white light / cool white light, for example, a spectrum with a color temperature of 6500 K.
[0032] In the embodiment of the present application, the input of the second controller further includes a second setting operation. The second controller obtains the second setting operation, and the second setting operation is used to set a second mixing ratio of the first spectrum and the second spectrum.
[0033] Here, the mixing ratio can also be referred to as a luminous flux ratio. Accordingly, the second mixing ratio is a second luminous flux ratio, which includes the luminous flux ratio corresponding to the first spectrum having the first color temperature and the luminous flux ratio corresponding to the second spectrum having the second color temperature. As an example, Table 1 below shows the luminous flux ratio corresponding to the first spectrum having the first color temperature and the luminous flux ratio corresponding to the second spectrum having the second color temperature.
[0034] A first spectrum having a first color temperature A second spectrum with a second color temperature 100% 0% 80% 20% 60% 40% 40% 60% 20% 80% 0% 100%
[0035] Table 1
[0036] The luminous flux corresponding to the spectrum is equal to the total luminous flux multiplied by the luminous flux ratio corresponding to the spectrum. The total luminous flux can be set as required.
[0037] The second controller outputs a first light control signal and a second light control signal based on a second setting operation, wherein the first light control signal corresponds to a first spectrum having a first color temperature and the second light control signal corresponds to a second spectrum having a second color temperature.
[0038] Assume that the first light control signal and the second light control signal are connected to the fourth light source and the fifth light source, respectively. The first light control signal controls the fourth light source to emit a first spectrum having a first color temperature, and the second light control signal controls the fifth light source to emit a second spectrum having a second color temperature. Mixing the first spectrum having the first color temperature and the second spectrum having the second color temperature can produce a second mixed spectrum, where the coordinates of the second mixed spectrum on the chromaticity diagram are (x1, y1). Here, the coordinates of the second mixed spectrum on the chromaticity diagram vary depending on the second mixing ratio. Adjusting the second mixing ratio and forming the trajectory of the coordinates of the second mixed spectrum on the chromaticity diagram is called the original dimming curve. The dimming curve (i.e., the original dimming curve) corresponding to the second mixed spectrum obtained through the above process is located below the Planck curve. Since there is a certain gap between the dimming curve and the Planck curve, if the second mixed spectrum is used as lighting light, it will be very different from natural sunlight. Therefore, the technical solution of the embodiment of the present application expands the first controller on the basis of the second controller, and expands the two light control signals of the second controller (i.e., the first light control signal and the second light control signal) into five light control signals through the first controller. The five light control signals are used to control five groups of light sources to emit five spectra. The coordinates of the first mixed spectrum obtained by mixing the five spectra on the chromaticity diagram overlap with the coordinates of the sunlight spectrum, so that the first mixed spectrum is used as lighting light to simulate a lighting effect that is almost consistent with natural sunlight.
[0039] It should be noted that the fourth and fifth light sources are both white light sources. For ease of distinction, the fourth light source is referred to as the first white light source, and the fifth light source is referred to as the second white light source. In some embodiments, the fourth light source is a warm white light source, such as one with a color temperature of 2700K. The fifth light source is a true white light source / cold white light source, such as one with a color temperature of 6500K. It should be understood that the color temperature of a light source is also the color temperature of the spectrum (or light) emitted by the light source.
[0040] It should be noted that the chromaticity diagram refers to the CIE1931 chromaticity diagram. The horizontal axis of the chromaticity diagram represents the proportion of the red primary color in the spectrum, and the vertical axis of the chromaticity diagram represents the proportion of the green primary color in the spectrum. The proportion of the blue primary color in the spectrum is related to the proportion of the red primary color and the proportion of the green primary color. In an example, Figure 3As shown in the chromaticity diagram, the x-coordinate represents the ratio of the red primary, the y-coordinate represents the ratio of the green primary, and the z-coordinate, representing the ratio of the blue primary, can be deduced from x+y+z=1. On the chromaticity diagram, there is a special curve, the Planck curve (also called the blackbody curve).
[0041] In the embodiment of the present application, the coordinates of the first spectrum with the first color temperature on the chromaticity diagram and the coordinates of the second spectrum with the second color temperature on the chromaticity diagram are both located on the Planck curve.
[0042] Step 202: Determine a first mixing ratio of the five light spectra based on the first light control signal and the second light control signal, and output the five light control signals according to the first mixing ratio of the five light spectra; wherein the five light control signals are used to control five groups of light sources to illuminate the five light spectra according to the first mixing ratio, and the five light spectra illuminated according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve.
[0043] The five spectra emitted according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are (x2, y2); wherein the coordinates (x2, y2) are located on the Planck curve (or overlap with the coordinates of the sunlight spectrum).
[0044] Here, the coordinates of the first mixed spectrum on the chromaticity diagram vary depending on the first mixing ratio. The trajectory formed by the coordinates of the first mixed spectrum on the chromaticity diagram after adjusting the first mixing ratio is called a target dimming curve. Because the coordinates of the first mixed spectrum on the chromaticity diagram lie on the Planckian curve, the target dimming curve coincides with or nearly coincides with the Planckian curve.
[0045] In order to ensure that the coordinates of the first mixed spectrum on the chromaticity diagram are on the Planck curve (or overlap with the coordinates of the sunlight spectrum), it is necessary to determine the first mixing ratio of the five-way spectrum. Here, the first mixing ratio of the five-way spectrum includes the luminous flux ratio of the red primary spectrum, the green primary spectrum, the blue primary spectrum, the first spectrum, and the second spectrum. The luminous flux corresponding to the spectrum is equal to the total luminous flux multiplied by the luminous flux ratio corresponding to the spectrum. Among them, the total luminous flux can be set as required. The following are two ways to determine the first mixing ratio of the five-way spectrum.
[0046] Method 1
[0047] A second mixing ratio of the first spectrum and the second spectrum is determined based on the first light control signal and the second light control signal; coordinates of a second mixed spectrum formed by the first spectrum and the second spectrum on a chromaticity diagram are determined based on the second mixing ratio; coordinates of a corresponding reference point on a Planck curve on the chromaticity diagram are determined based on the coordinates of the second mixed spectrum on the chromaticity diagram; and a first mixing ratio of the five-way spectrum is determined based on the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram.
[0048] Here, since the first light control signal and the second light control signal are generated based on the second setting operation, and the second setting operation is used to set the second mixing ratio of the first spectrum and the second spectrum, the second mixing ratio of the first spectrum and the second spectrum can be determined based on the first light control signal and the second light control signal.
[0049] In some embodiments, a correspondence table can be preset, containing correspondences between the coordinates of various points on the original dimming curve and the coordinates of various points on the Planckian curve. Based on this correspondence table and in combination with the coordinates of the second mixed spectrum, the coordinates of the corresponding reference point on the Planckian curve can be determined.
[0050] In some embodiments, a predetermined correspondence rule may be used, whereby the coordinates of a point on the original dimming curve are mapped to the coordinates of a point on the Planckian curve according to the principle of horizontal coordinate invariance. Based on this correspondence rule and in combination with the coordinates of the first mixed spectrum, the coordinates of the corresponding reference point on the Planckian curve can be determined.
[0051] Furthermore, in some embodiments, when the second mixing ratio changes, the coordinates of the second mixed spectrum on the chromaticity diagram change accordingly; according to the coordinates of the changed second mixed spectrum on the chromaticity diagram, the coordinates of the corresponding reference point on the Planck curve on the chromaticity diagram are re-determined; based on the coordinates of the changed second mixed spectrum on the chromaticity diagram and the coordinates of the re-determined reference point on the chromaticity diagram, the first mixing ratio of the five-way spectrum is updated.
[0052] Method 2
[0053] A second mixing ratio of the first spectrum and the second spectrum is determined based on the first light control signal and the second light control signal; the coordinates of a second mixed spectrum formed by the first spectrum and the second spectrum on a chromaticity diagram are determined based on the second mixing ratio; a first setting operation is obtained, and the first setting operation is used to set a reference point on the Planck curve; based on the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram, the first mixing ratio of the five-way spectrum is determined.
[0054] In a specific embodiment, the relationship between the coordinates of the reference point on the Planck curve and the color temperature is shown in Table 2 below:
[0055] Color temperature x2 coordinates y2 coordinate 2700K 0.4578 0.4101 3000K 0.4339 0.4033 3500K 0.4073 0.393 4000K 0.3818 0.3797 4500K 0.3613 0.367 5000K 0.3446 0.3551 5700K 0.3287 0.3425 6500K 0.3123 0.3284
[0056] Table 2
[0057] In an embodiment of the present application, the five groups of light sources include a first light source, a second light source, a third light source, a fourth light source and a fifth light source. The first light source is used to illuminate the red primary color spectrum, the second light source is used to illuminate the green primary color spectrum, the third light source is used to illuminate the blue primary color spectrum, the fourth light source is used to illuminate the first spectrum with a first color temperature, and the fifth light source is used to illuminate the second spectrum with a second color temperature.
[0058] In some embodiments, reference Figure 4 The five light control signals include a third light control signal, a fourth light control signal, a fifth light control signal, a sixth light control signal, and a seventh light control signal; wherein the third light control signal is used to control the first light source to irradiate a red primary color spectrum, the fourth light control signal is used to control the second light source to irradiate a green primary color spectrum, the fifth light control signal is used to control the third light source to irradiate a blue primary color spectrum, the sixth light control signal is used to control the fourth light source to irradiate a first spectrum with a first color temperature, and the seventh light control signal is used to control the fifth light source to irradiate a second spectrum with a second color temperature.
[0059] Here, the third light control signal, the fourth light control signal, the fifth light control signal, the sixth light control signal and the seventh light control signal are respectively connected to the first light source, the second light source, the third light source, the fourth light source and the fifth light source. The third light control signal is used to control the first light source to irradiate the red primary color spectrum, the fourth light control signal is used to control the second light source to irradiate the green primary color spectrum, the fifth light control signal is used to control the third light source to irradiate the blue primary color spectrum, the sixth light control signal is used to control the fourth light source to irradiate the first spectrum with the first color temperature, and the seventh light control signal is used to control the fifth light source to irradiate the second spectrum with the second color temperature.
[0060] Here, the first light source, the second light source, and the third light source are respectively a red (R) light source, a green (G) light source, and a blue (B) light source. These three light sources can be collectively referred to as RGB light sources. The spectrum (or light) emitted by the first light source is a red primary color spectrum (referred to as red light for short), the spectrum (or light) emitted by the second light source is a green primary color spectrum (referred to as green light for short), and the spectrum (or light) emitted by the third light source is a blue primary color spectrum (referred to as blue light for short).
[0061] Here, the fourth light source and the fifth light source are both white light sources. For ease of distinction, the fourth light source is referred to as the first white light source, and the fifth light source is referred to as the second white light source. In some embodiments, the fourth light source is a warm white light source, such as a light source with a color temperature of 2700K. The fifth light source is a true white light source, such as a light source with a color temperature of 6500K.
[0062] The first controller controls the five groups of light sources to illuminate five spectra according to a first mixing ratio. Here, the first mixing ratio includes the luminous flux ratio of the first light source, the second light source, the third light source, the fourth light source, and the fifth light source, or in other words, the first mixing ratio includes the luminous flux ratio of the red primary color spectrum, the green primary color spectrum, the blue primary color spectrum, the first spectrum, and the second spectrum.
[0063] In the embodiment of the present application, the coordinates of the second mixed spectrum on the chromaticity diagram are (x1, y1), the coordinates of the red primary color spectrum on the chromaticity diagram are (xR, yR), the coordinates of the green primary color spectrum on the chromaticity diagram are (xG, yG), the coordinates of the blue primary color spectrum on the chromaticity diagram are (xB, yB), and the coordinates of the reference point on the chromaticity diagram are (x2, y2);
[0064] The determining, based on the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram, a first mixing ratio of the five spectra includes:
[0065] The luminous flux ratio of the second mixed spectrum, the red primary spectrum, the green primary spectrum, and the blue primary spectrum is determined according to the following formula:
[0066]
[0067] Wherein, Y1 is the luminous flux ratio of the second mixed spectrum, Y2 is the luminous flux ratio of the red primary spectrum, Y3 is the luminous flux ratio of the green primary spectrum, and Y4 is the luminous flux ratio of the blue primary spectrum;
[0068] The luminous flux ratio of the first spectrum and the luminous flux ratio of the second spectrum are determined based on the luminous flux ratio of the second mixed spectrum and the second mixing ratio of the first spectrum and the second spectrum in the second mixed spectrum.
[0069] It can be seen from the above formula that as long as the coordinates of the second mixed spectrum, the coordinates of the red primary spectrum, the coordinates of the green primary spectrum, the coordinates of the blue primary spectrum and the coordinates of the sunlight spectrum are obtained, the luminous flux ratio of the second mixed spectrum, the red primary spectrum, the green primary spectrum and the blue primary spectrum can be obtained.
[0070] It should be noted that after obtaining the luminous flux ratio Y1 of the second mixed spectrum through the above scheme, the luminous flux ratios of the first spectrum and the second spectrum can be derived based on the second mixing ratio of the first spectrum and the second spectrum in the second mixed spectrum. For example, if the second mixing ratios of the first spectrum and the second spectrum in the second mixed spectrum are S1 and S2, respectively, then the luminous flux ratio of the first spectrum is S1*Y1, and the luminous flux ratio of the second spectrum is S2*Y1.
[0071] It should be noted that the above mixing ratio meets the following principles:
[0072] When the first mixing ratio corresponding to the red primary color spectrum increases, the abscissa of the first mixed spectrum increases; and / or, when the first mixing ratio corresponding to the green primary color spectrum increases, the ordinate of the first mixed spectrum increases.
[0073] Through the above scheme, five groups of light sources are controlled by five light control signals to emit five spectra in a specific mixing ratio. The coordinates of the first mixed spectrum obtained by mixing these five spectra on the chromaticity diagram overlap with the coordinates of the sunlight spectrum. By using the first mixed spectrum as the lighting light, a very good lighting effect is achieved, which meets the user's usage needs.
[0074] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all fall within the scope of protection of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will no longer describe the various possible combinations separately. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the idea of the present application, they should also be regarded as the contents disclosed in the present application. For another example, under the premise of no conflict, the various embodiments and / or the technical features in each embodiment described in the present application can be arbitrarily combined with the prior art, and the technical solution obtained after the combination should also fall within the scope of protection of the present application.
[0075] It should also be understood that in the various method embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0076] Figure 5 This is a schematic diagram of the structure of a multi-channel dimming device provided in an embodiment of the present application. The device is applied to a first controller, such as Figure 5 As shown, the device includes:
[0077] An input module 501 is configured to receive a first light control signal and a second light control signal output by the second controller, wherein the first light control signal corresponds to a first spectrum having a first color temperature, and the second light control signal corresponds to a second spectrum having a second color temperature;
[0078] A processing module 502 is configured to determine a first mixing ratio of five optical spectra based on the first optical control signal and the second optical control signal;
[0079] An output module 503 is configured to output five light control signals according to a first mixing ratio of the five light spectra; wherein the five light control signals are configured to control five groups of light sources to illuminate the five light spectra according to the first mixing ratio, and the five light spectra illuminated according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve; the five groups of light sources include a first light source, a second light source, a third light source, a fourth light source, and a fifth light source, wherein the first light source is configured to illuminate a red primary spectrum, the second light source is configured to illuminate a green primary spectrum, the third light source is configured to illuminate a blue primary spectrum, the fourth light source is configured to illuminate a first spectrum having a first color temperature, and the fifth light source is configured to illuminate a second spectrum having a second color temperature; wherein the horizontal axis on the chromaticity diagram represents the proportion of the red primary color in the spectrum, the vertical axis on the chromaticity diagram represents the proportion of the green primary color in the spectrum, and the proportion of the blue primary color in the spectrum is related to the proportions of the red primary color and the green primary color.
[0080] In some embodiments, the processing module 502 is used to determine a second mixing ratio of the first spectrum and the second spectrum based on the first light control signal and the second light control signal; determine the coordinates of a second mixed spectrum formed by the first spectrum and the second spectrum on the chromaticity diagram based on the second mixing ratio; determine the coordinates of a corresponding reference point on the Planck curve on the chromaticity diagram based on the coordinates of the second mixed spectrum on the chromaticity diagram; and determine the first mixing ratio of the five-way spectrum according to the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram.
[0081] In some embodiments, the processing module 502 is used to determine a second mixing ratio of the first spectrum and the second spectrum based on the first light control signal and the second light control signal; determine the coordinates of a second mixed spectrum formed by the first spectrum and the second spectrum on the chromaticity diagram based on the second mixing ratio; obtain a first setting operation, the first setting operation being used to set a reference point on the Planck curve; and determine the first mixing ratio of the five-way spectrum based on the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram.
[0082] In some embodiments, the coordinates of the second mixed spectrum on the chromaticity diagram are (x1, y1), the coordinates of the red primary color spectrum on the chromaticity diagram are (xR, yR), the coordinates of the green primary color spectrum on the chromaticity diagram are (xG, yG), the coordinates of the blue primary color spectrum on the chromaticity diagram are (xB, yB), and the coordinates of the reference point on the chromaticity diagram are (x2, y2);
[0083] The processing module 502 is configured to determine the luminous flux ratio of the second mixed spectrum, the red primary spectrum, the green primary spectrum, and the blue primary spectrum according to the following formula:
[0084]
[0085] Wherein, Y1 is the luminous flux ratio of the second mixed spectrum, Y2 is the luminous flux ratio of the red primary spectrum, Y3 is the luminous flux ratio of the green primary spectrum, and Y4 is the luminous flux ratio of the blue primary spectrum;
[0086] determining a luminous flux ratio of the first spectrum and a luminous flux ratio of the second spectrum based on the luminous flux ratio of the second mixed spectrum and a second mixing ratio of the first spectrum and the second spectrum in the second mixed spectrum;
[0087] The first mixing ratio of the five spectrums includes a luminous flux ratio of the red primary spectrum, the green primary spectrum, the blue primary spectrum, the first spectrum, and the second spectrum.
[0088] In some embodiments, when the second mixing ratio changes, the coordinates of the second mixed spectrum on the chromaticity diagram change accordingly; the processing module 502 is used to redetermine the coordinates of the corresponding reference point on the Planck curve on the chromaticity diagram according to the changed coordinates of the second mixed spectrum on the chromaticity diagram; and update the first mixing ratio of the five-way spectrum based on the changed coordinates of the second mixed spectrum on the chromaticity diagram and the redetermined coordinates of the reference point on the chromaticity diagram.
[0089] In some embodiments, the five light control signals include a third light control signal, a fourth light control signal, a fifth light control signal, a sixth light control signal, and a seventh light control signal; wherein the third light control signal is used to control the first light source to irradiate a red primary color spectrum, the fourth light control signal is used to control the second light source to irradiate a green primary color spectrum, the fifth light control signal is used to control the third light source to irradiate a blue primary color spectrum, the sixth light control signal is used to control the fourth light source to irradiate a first spectrum having a first color temperature, and the seventh light control signal is used to control the fifth light source to irradiate a second spectrum having a second color temperature.
[0090] In some embodiments, when the first mixing ratio corresponding to the red primary color spectrum increases, the horizontal coordinate of the first mixed spectrum increases; and / or, when the first mixing ratio corresponding to the green primary color spectrum increases, the vertical coordinate of the first mixed spectrum increases.
[0091] In some embodiments, the coordinates of the first spectrum having the first color temperature on the chromaticity diagram and the coordinates of the second spectrum having the second color temperature on the chromaticity diagram are both located on the Planck curve.
[0092] Those skilled in the art should understand that the relevant description of the above-mentioned multi-channel dimming device in the embodiment of the present application can be understood with reference to the relevant description of the multi-channel dimming method in the embodiment of the present application.
[0093] The processing module in the multi-channel dimming device described above can be implemented by a processor. It should be understood that the processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above-described method embodiment can be completed by hardware integrated logic circuits within the processor or by software instructions. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software module can be located in a storage medium known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. The storage medium is located in a memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above-described method.
[0094] Figure 6 This is a schematic structural diagram of a controller provided in an embodiment of the present application. Figure 6 The controller shown includes a processor 610, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0095] Alternatively, as Figure 6 As shown, the controller may further include a memory 620. The processor 610 may call and run a computer program from the memory 620 to implement the method in the embodiment of the present application.
[0096] The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .
[0097] Alternatively, as Figure 6As shown, the controller may further include a transceiver 630 , and the processor 610 may control the transceiver 630 to communicate with other devices. Specifically, the transceiver 630 may send information or data to other devices, or receive information or data sent by other devices.
[0098] The transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include an antenna, and the number of antennas may be one or more.
[0099] The present invention also provides a computer-readable storage medium for storing a computer program. The computer-readable storage medium can be applied to the first controller in the present invention, and the computer program causes a computer to execute the corresponding processes implemented by the first controller in the various methods of the present invention. For the sake of brevity, these procedures are not further described here.
[0100] The present application also provides a computer program product, including computer program instructions. This computer program product can be applied to the first controller in the present application, and the computer program instructions cause a computer to execute the corresponding processes implemented by the first controller in the various methods of the present application. For the sake of brevity, these instructions are not further described here.
[0101] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A multi-channel dimming method, characterized in that: Applied to a first controller, the first controller being connected to a second controller, the method includes: receiving a first light control signal and a second light control signal output by the second controller, wherein the first light control signal corresponds to a first spectrum having a first color temperature, and the second light control signal corresponds to a second spectrum having a second color temperature; Based on the first light control signal and the second light control signal, a first mixing ratio of five spectra is determined, and five light control signals are output according to the first mixing ratio of the five spectra; wherein the five light control signals are used to control five groups of light sources to irradiate the five spectra according to the first mixing ratio, and the five spectra irradiated according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve; the five groups of light sources include a first light source, a second light source, a third light source, a fourth light source and a fifth light source, the first light source is used to irradiate a red primary spectrum, the second light source is used to irradiate a green primary spectrum, the third light source is used to irradiate a blue primary spectrum, the fourth light source is used to irradiate a first spectrum with a first color temperature, and the fifth light source is used to irradiate a second spectrum with a second color temperature; wherein the horizontal axis on the chromaticity diagram represents the proportion of the red primary color in the spectrum, the vertical axis on the chromaticity diagram represents the proportion of the green primary color in the spectrum, and the proportion of the blue primary color in the spectrum is related to the proportion of the red primary color and the proportion of the green primary color.
2. The method according to claim 1, characterized in that The determining a first mixing ratio of five optical spectra based on the first optical control signal and the second optical control signal includes: determining a second mixing ratio of the first spectrum and the second spectrum based on the first light control signal and the second light control signal; determining coordinates of a second mixed spectrum formed by the first spectrum and the second spectrum on a chromaticity diagram based on the second mixing ratio; Determining the coordinates of the reference point corresponding to the second mixed spectrum on the chromaticity diagram based on the coordinates of the second mixed spectrum on the chromaticity diagram; A first mixing ratio of the five spectra is determined according to the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram.
3. The method according to claim 1, characterized in that The determining a first mixing ratio of five optical spectra based on the first optical control signal and the second optical control signal includes: determining a second mixing ratio of the first spectrum and the second spectrum based on the first light control signal and the second light control signal; determining coordinates of a second mixed spectrum formed by the first spectrum and the second spectrum on a chromaticity diagram based on the second mixing ratio; Obtaining a first setting operation, wherein the first setting operation is used to set a reference point on a Planck curve; Based on the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram, a first mixing ratio of the five spectra is determined.
4. The method according to claim 2 or 3, characterized in that The coordinates of the second mixed spectrum on the chromaticity diagram are (x1, y1), the coordinates of the red primary color spectrum on the chromaticity diagram are (xR, yR), the coordinates of the green primary color spectrum on the chromaticity diagram are (xG, yG), the coordinates of the blue primary color spectrum on the chromaticity diagram are (xB, yB), and the coordinates of the reference point on the chromaticity diagram are (x2, y2); The determining, based on the coordinates of the second mixed spectrum on the chromaticity diagram and the coordinates of the reference point on the chromaticity diagram, a first mixing ratio of the five spectra includes: The luminous flux ratio of the second mixed spectrum, the red primary spectrum, the green primary spectrum, and the blue primary spectrum is determined according to the following formula: Wherein, Y1 is the luminous flux ratio of the second mixed spectrum, Y2 is the luminous flux ratio of the red primary spectrum, Y3 is the luminous flux ratio of the green primary spectrum, and Y4 is the luminous flux ratio of the blue primary spectrum; determining a luminous flux ratio of the first spectrum and a luminous flux ratio of the second spectrum based on the luminous flux ratio of the second mixed spectrum and a second mixing ratio of the first spectrum and the second spectrum in the second mixed spectrum; The first mixing ratio of the five spectrums includes a luminous flux ratio of the red primary spectrum, the green primary spectrum, the blue primary spectrum, the first spectrum, and the second spectrum.
5. The method according to claim 2 or 3, characterized in that When the second mixing ratio changes, the coordinates of the second mixed spectrum on the chromaticity diagram change accordingly; the method further includes: Re-determining the coordinates of the corresponding reference point on the Planck curve on the chromaticity diagram according to the changed coordinates of the second mixed spectrum on the chromaticity diagram; The first mixing ratio of the five-way spectrum is updated according to the changed coordinates of the second mixed spectrum on the chromaticity diagram and the re-determined coordinates of the reference point on the chromaticity diagram.
6. The method according to claim 1, characterized in that The five light control signals include a third light control signal, a fourth light control signal, a fifth light control signal, a sixth light control signal, and a seventh light control signal; wherein the third light control signal is used to control the first light source to irradiate a red primary color spectrum, the fourth light control signal is used to control the second light source to irradiate a green primary color spectrum, the fifth light control signal is used to control the third light source to irradiate a blue primary color spectrum, the sixth light control signal is used to control the fourth light source to irradiate a first spectrum having a first color temperature, and the seventh light control signal is used to control the fifth light source to irradiate a second spectrum having a second color temperature.
7. The method according to claim 6, characterized in that When the first mixing ratio corresponding to the red primary spectrum increases, the horizontal coordinate of the first mixed spectrum increases; and / or, When the first mixing ratio corresponding to the green primary color spectrum increases, the vertical coordinate of the first mixed spectrum increases.
8. The method according to any one of claims 1 to 3, characterized in that The coordinates of the first spectrum with the first color temperature on the chromaticity diagram and the coordinates of the second spectrum with the second color temperature on the chromaticity diagram are both located on the Planck curve.
9. A multi-channel dimming device, characterized in that: The device comprises: an input module, configured to receive a first light control signal and a second light control signal output by the second controller, wherein the first light control signal corresponds to a first spectrum having a first color temperature, and the second light control signal corresponds to a second spectrum having a second color temperature; a processing module, configured to determine a first mixing ratio of five optical spectra based on the first optical control signal and the second optical control signal; An output module is used to output five light control signals according to a first mixing ratio of the five light spectra; wherein the five light control signals are used to control five groups of light sources to irradiate the five light spectra according to the first mixing ratio, and the five light spectra irradiated according to the first mixing ratio form a first mixed spectrum, and the coordinates of the first mixed spectrum on the chromaticity diagram are located on the Planck curve; the five groups of light sources include a first light source, a second light source, a third light source, a fourth light source and a fifth light source, the first light source is used to irradiate a red primary spectrum, the second light source is used to irradiate a green primary spectrum, the third light source is used to irradiate a blue primary spectrum, the fourth light source is used to irradiate a first spectrum with a first color temperature, and the fifth light source is used to irradiate a second spectrum with a second color temperature; wherein the horizontal axis on the chromaticity diagram represents the proportion of the red primary color in the spectrum, the vertical axis on the chromaticity diagram represents the proportion of the green primary color in the spectrum, and the proportion of the blue primary color in the spectrum is related to the proportion of the red primary color and the proportion of the green primary color.
10. A controller, characterized in that: The controller includes a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to perform the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 8.
12. A computer program product, characterized in that The method comprises computer program instructions for causing a computer to execute the method according to any one of claims 1 to 8.