LED lamp color modulation control implementation method
By obtaining the lighting space boundary information and lamp bead distribution information of LED lamps, generating color rendering strategies and controlling lamp beads, the problem of poor color rendering effect of LED lamps in the lighting space boundary area in the existing technology is solved, and good display is achieved Color effect.
Patent Information
- Application Number
- CN202411343510.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-11-12
AI Technical Summary
The existing multi-channel LED control scheme fails to ensure good color rendering effect on the boundary area of the lighting space, and does not consider the distribution position of the lamp beads and the impact of the lighting space on the LED lamp.
By obtaining the lighting space boundary information and lamp bead distribution information of LED lamps, a lamp bead color mixing strategy with better color rendering effect is generated, and all lamp beads are controlled based on this to ensure that the LED lamp has a good color rendering effect in the lighting space boundary area. .
It achieves good color rendering effect within the boundary area of the lighting space, ensuring that the multi-channel control scheme of the LED lamp has excellent illumination color performance.
Smart Images

Figure CN118945932A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lighting control, and in particular to a method for realizing color adjustment control of an LED lamp. Background Art
[0002] At present, LED (light-emitting diode) has the advantages of small size, long life, high luminous efficiency, low power consumption, etc., and has been widely used in various lighting fixtures. In different use environments and scenarios, people have different requirements for the brightness and color temperature of lamps. Especially with the rise of full-spectrum lighting and rhythmic lighting in recent years, the combination of LED lamp beads of different colors and color temperatures can simulate a lighting system close to the sunlight spectrum, which can not only bring users a better lighting experience but also be more beneficial to eye health. The brightness of LED is mainly determined by its power. Its current is one-to-one with the voltage Vf at both ends. Therefore, the current can be determined by detecting the voltage at both ends of the LED, and the pulse width can be adjusted by detecting the voltage at both ends of the LED to achieve the power and brightness adjustment of the LED. At the same time, multiple lamp beads of different colors and color temperatures are connected in parallel, and the brightness ratio of each string of lamp beads is adjusted to adjust the color temperature and achieve dimming and color adjustment.
[0003] However, most of the currently commonly used multi-channel LED control solutions only stop at determining the number of LED lamp beads that display each color or basic color temperature in the LED lamp, and do not take into account the influence of the distribution position of the LED lamp beads that display each color or basic color temperature and the lighting space where the LED lamp is located on the lighting color effect of the LED lamp. It is impossible to ensure that the multi-channel control solution of the LED lamp has a good lighting color effect in the boundary area of the lighting space.
[0004] Therefore, the present invention proposes a method for implementing color adjustment control of an LED lamp. Summary of the invention
[0005] The present invention provides a method for realizing color adjustment control of an LED lamp, which is used to generate a lamp bead color mixing strategy of an LED lamp with better color rendering effect under the premise of considering the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, and control all the lamp beads in the LED lamp based on the lamp bead color mixing strategy of the LED lamp, so as to realize reasonable color adjustment control of the LED lamp and ensure that the multi-channel control scheme of the LED lamp has a good lighting color rendering effect in the boundary area of the lighting space.
[0006] The present invention provides a method for realizing color adjustment control of an LED lamp, comprising:
[0007] S1: Obtaining the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp;
[0008] S2: Generate a color mixing strategy for LED lamp beads based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads, and the lighting requirements;
[0009] S3: Based on the LED lamp bead color mixing strategy, all the lamp beads in the LED lamp are controlled to obtain the LED lamp color adjustment control implementation result.
[0010] Preferably, S1: obtaining the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, including:
[0011] S101: using a standard three-dimensional coordinate system with the physical center position of the LED lamp as the origin to represent the spatial positions of all lamp beads of the LED lamp, and obtaining lamp bead distribution information of the LED lamp;
[0012] S102: Using a three-dimensional coordinate system with the physical center position of the LED lamp as the origin to represent the positions of all boundary points of the lighting space of the LED lamp, and obtaining the lighting space boundary information of the LED lamp.
[0013] Preferably, S2: generating a lamp bead color mixing strategy for the LED lamp based on the lighting space boundary information of the LED lamp, the lamp bead distribution information of the LED lamp, and the lighting demand, including:
[0014] S201: generating a lamp bead distribution array of the LED lamp based on the lamp bead distribution information of the LED lamp;
[0015] S202: Based on the lighting space boundary information of the LED lamp, the lamp bead distribution information of the LED lamp and the lighting demand, all boundary points of the lighting space of the LED lamp and all the lamp beads of the LED lamp are associated and clustered to generate a lamp bead color mixing strategy for the LED lamp.
[0016] Preferably, generating a lamp bead distribution array of an LED lamp based on the lamp bead distribution information of the LED lamp includes:
[0017] Based on the bead distribution information of the LED lamp, the maximum number of bead lights of the LED lamp in the extension direction of the horizontal axis of the standard three-dimensional coordinate system and the maximum number of bead lights of the LED lamp in the extension direction of the vertical axis of the standard three-dimensional coordinate system are counted, which are used as the total number of columns and the total number of rows of the bead distribution array of the LED lamp respectively;
[0018] Based on the lamp bead distribution information of the LED lamp and the total number of columns and the total number of rows of the lamp bead distribution array of the LED lamp, a lamp bead distribution array of the LED lamp is generated.
[0019] Preferably, based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads and the lighting requirements, all the boundary points of the lighting space of the LED lamp and all the LED lamp beads are clustered and divided to generate the LED lamp bead color mixing strategy, including:
[0020] Based on the lighting requirements, determine all the color rendering parameters and the proportion of color rendering lamp beads for each color rendering parameter. Based on the proportion of color rendering lamp beads for all the color rendering parameters and the total number of LED lamp beads, determine the number of lamp beads for each color rendering parameter.
[0021] Perform multiple point proximity divisions on all boundary points of the lighting space of the LED lamp to obtain multiple boundary areas in each point proximity division process. At the same time, perform multiple lamp bead proximity divisions on all lamp beads of the LED lamp based on the lamp bead distribution array of the LED lamp to obtain lamp bead areas corresponding to all kinds of color rendering parameters in each lamp bead proximity division process;
[0022] Based on the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, determine the distance between the physical center position of each boundary area obtained in each point proximity division process and the physical center position of each lamp bead area obtained in each lamp bead proximity division process, as the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process;
[0023] Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is obtained;
[0024] Generate LED lamp bead color mixing strategy based on the optimal LED lamp bead division result.
[0025] Preferably, based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is obtained, including:
[0026] Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best lamp bead proximity division process is selected from all lamp bead proximity division processes;
[0027] All the lamp bead areas obtained in the optimal lamp bead proximity division process are regarded as the optimal LED lamp bead division results.
[0028] Preferably, based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best lamp bead proximity division process is selected from all lamp bead proximity division processes, including:
[0029] Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, determine the actual color mixing ratio of each boundary area obtained in each point proximity division process for all lamp bead areas obtained in each lamp bead proximity division process;
[0030] The initial color mixing ratio of all display parameters is determined based on the ratio of the number of color rendering lamp beads of all color rendering parameters;
[0031] Based on the initial color mixing ratio of all display parameters and the actual color mixing ratio of each boundary area obtained by all lamp bead areas in all point proximity division processes obtained by all lamp bead proximity division processes, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes.
[0032] Preferably, based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the actual color mixing ratio of all lamp bead areas obtained in each lamp bead proximity division process in each boundary area obtained in each point proximity division process is determined, including:
[0033] The product of the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process and the unit distance attenuation coefficient of the corresponding color rendering parameter is regarded as the color rendering attenuation index of each color rendering parameter in the corresponding boundary area in the corresponding lamp bead proximity division process;
[0034] Determining a color rendering index of each color rendering parameter in each boundary area based on a color rendering attenuation index of each color rendering parameter in each boundary area;
[0035] Based on the color rendering index of each boundary area obtained in each point proximity division process of all color rendering indices in each lamp bead proximity division process, the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process is determined.
[0036] Preferably, based on the initial color mixing ratio of all display parameters and the actual color mixing ratio of each boundary area obtained by all lamp bead areas in all point proximity division processes obtained by all lamp bead proximity division processes, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes, including:
[0037] Calculate the deviation between the actual color mixing ratio of each boundary area obtained by the neighboring division process of each lamp bead area at each point and the initial color mixing ratio of all display parameters;
[0038] The average value of the deviation between the actual color mixing ratio of all boundary areas of all lamp bead areas obtained in each lamp bead proximity division process and the initial color mixing ratio of all display parameters obtained in each point proximity division process is taken as the correlation division performance value between each lamp bead proximity division process and each point proximity division process;
[0039] Among all the secondary point proximity division processes and all the lamp bead proximity division processes, the lamp bead proximity division process corresponding to the maximum correlation division performance value is regarded as the optimal lamp bead proximity division process.
[0040] Preferably, calculating the deviation between the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process and the initial color mixing ratio of all display parameters includes:
[0041] Based on the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process, an actual color mixing ratio vector of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process is generated. At the same time, an initial color mixing ratio vector of all display parameters is generated based on the initial color mixing ratio of all display parameters.
[0042] Based on the cosine similarity between the actual color mixing ratio vector of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio vector of all display parameters, the deviation between the actual color mixing ratio of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters is calculated.
[0043] The beneficial effects of the present invention compared to the prior art are as follows: taking into account the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, a lamp bead color mixing strategy for the LED lamp with better color rendering effect is generated, and based on the lamp bead color mixing strategy of the LED lamp, all the lamp beads in the LED lamp are controlled to achieve reasonable color adjustment control of the LED lamp, thereby ensuring that the multi-channel control scheme of the LED lamp has good lighting and color rendering effect in the boundary area of the lighting space.
[0044] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0045] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0047] Figure 1 This is a flow chart of a method for implementing color adjustment control of an LED lamp in an embodiment of the present invention;
[0048] Figure 2 This is a flowchart of specific implementation steps of step S1 in an embodiment of the present invention;
[0049] Figure 3 This is a flowchart of specific implementation steps of step S2 in an embodiment of the present invention;
[0050] Figure 4 This is a schematic diagram of a circuit for implementing color adjustment control of an LED lamp in an embodiment of the present invention;
[0051] Figure 5 This is an example diagram of a unit time sequence controlled by the LED light color adjustment software in an embodiment of the present invention;
[0052] Figure 6 This is an example diagram of the actual application time sequence of the LED light color adjustment software control in the embodiment of the present invention. DETAILED DESCRIPTION
[0053] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0054] Embodiment 1:
[0055] The present invention provides a method for realizing color adjustment control of LED lamps, referring to Figure 1 and 4 ,include:
[0056] S1: Obtaining the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp;
[0057] S2: Generate a color mixing strategy for LED lamp beads based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads, and the lighting requirements;
[0058] S3: Based on the LED lamp bead color mixing strategy, all the lamp beads in the LED lamp are controlled to obtain the LED lamp color adjustment control implementation result.
[0059] In this embodiment, the lighting space boundary information of the LED lamp is the space boundary information of the closed lighting space where the LED lamp is currently located.
[0060] In this embodiment, the lamp bead distribution information of the LED lamp is information on the distribution status of multiple lamp beads in the LED lamp.
[0061] In this embodiment, the LED lamp bead color mixing strategy refers to the strategy of which lamp beads in the LED lamp display which color rendering parameters.
[0062] In this embodiment, all the lamp beads in the LED lamp are controlled based on the lamp bead color mixing strategy of the LED lamp to obtain the LED lamp color adjustment control implementation result, which is:
[0063] refer to Figure 4 By controlling the voltage PWM value at both ends of the LED lamp beads, multiple lamp bead areas in the LED lamp are controlled to illuminate according to multiple color rendering parameters in the LED lamp bead mixing strategy, which is the result of LED lamp color adjustment control;
[0064] Figure 4 include:
[0065] 1. The driving power supply part provides stable DC power supply for the lamps;
[0066] 2. LED lamp beads, the system can be connected in parallel by multiple strings of lamp beads, each string contains a number of lamp beads, and the distribution of lamp beads can be determined according to actual needs;
[0067] 3. Switch unit, used to control the on and off of each string of lamp beads;
[0068] 4. Control module, which controls the conduction time and timing of each string of lamp beads;
[0069] The switch components include but are not limited to MOS, GaN, thyristor, etc. This part is mainly used to control the switch of each string of lamp beads. The voltage acquisition is used to collect the voltage across the LED to control the pulse width output;
[0070] For example: Reference Figure 5 and 6 Each group of lamp beads corresponds to a different conduction time T1, T2...Tn. When the ratio of the conduction time of one string of lamp beads to the total conduction time is less than 0.5, the unit time is set as T1, and the other times are T2, T3...Tn respectively;
[0071] Split the group of relatively large time from T2 to Tn into time t. Assuming that time is T2, let the string of lamp beads continue to be turned on for t time after T1 time ends, and the ratio of T1+t to the total conduction time is equal to 0.5. The rest of the channels are turned on in the order of T2-t, T3, T4, ... Tn;
[0072] According to this sequence, at any time, there are always two continuous conduction paths at the output end, thereby stabilizing the clamping drive power supply output voltage, so that each string of lamp beads works in a constant current state. At any time, the voltage of each string of lamp beads is the same as Vo, and the current flowing through each string of lamp beads is Io. Then the color mixing ratio of each string of lamp beads is the luminous energy of each string of lamp beads per unit time:
[0073] Q = T (opening time) * Vo * Io;
[0074] The color mixing ratio can be determined according to the power consumption ratio of each string of lamp beads, and its value is:
[0075] Q1:Q2:Q3:……Qn=T1*Vo*Io:T2*Vo*Io:T3*Vo*Io:……Tn*Vo*Io;
[0076] For different lamp beads, the voltage across the LED is collected and the pulse width ratio in the timing is changed to achieve the color temperature ratio required by the LED lamp (i.e. the lighting requirement of the LED lamp).
[0077] In actual applications, the T1 line is set to the normally open state, and the other lines are opened in sequence according to the ratio of T1 unit time;
[0078] The advantage of this design is that the output end of the driving power supply is in a fixed conduction state of two strings of lamp beads at any time, which can stably clamp the output voltage of the driving power supply and make the power supply work in a constant current state. The current passing through each string of lamp beads is constant and the voltage is stable, which is more conducive to the calculation and design of the color temperature ratio. At the same time, compared with the traditional PWM modulation color adjustment method, there is no current zero crossing and the whole lamp has no flicker.
[0079] The beneficial effects of the above technology are: taking into account the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, a lamp bead color mixing strategy for the LED lamp with better color rendering effect is generated, and all the lamp beads in the LED lamp are controlled based on the lamp bead color mixing strategy of the LED lamp to achieve reasonable color control of the LED lamp, thereby ensuring that the multi-channel control scheme of the LED lamp has good lighting and color rendering effect in the boundary area of the lighting space.
[0080] Embodiment 2:
[0081] Based on Example 1, S1: Obtain the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, refer to Figure 2 ,include:
[0082] S101: using a standard three-dimensional coordinate system with the physical center position of the LED lamp as the origin to represent the spatial positions of all lamp beads of the LED lamp, and obtaining lamp bead distribution information of the LED lamp;
[0083] S102: Using a three-dimensional coordinate system with the physical center position of the LED lamp as the origin to represent the positions of all boundary points of the lighting space of the LED lamp, and obtaining the lighting space boundary information of the LED lamp.
[0084] In this embodiment, the physical center position of the LED lamp specifically refers to the physical center position of the coverage plane range formed by all lamp beads in the LED lamp on the LED lamp cover.
[0085] In this embodiment, the standard three-dimensional coordinate system with the physical center position of the LED lamp as the origin is a three-dimensional coordinate system with the physical center position of the LED lamp as the origin and the horizontal axis direction, vertical axis direction and vertical axis direction correspond to the horizontal axis direction, vertical axis direction and vertical axis direction of the world coordinate system.
[0086] In this embodiment, the spatial positions of all the lamp beads of the LED lamp represent the positions of all the lamp beads of the LED lamp in the actual three-dimensional space.
[0087] In this embodiment, the positions of all boundary points of the lighting space of the LED lamp (ie, the boundary points of the lighting space) represent the positions of all boundary points of the lighting space of the LED lamp in the actual three-dimensional space.
[0088] The beneficial effects of the above technology are: achieving three-dimensional representation of the spatial positions of all lamp beads of the LED lamp and the positions of all boundary points of the lighting space of the LED lamp, and obtaining the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp.
[0089] Embodiment 3:
[0090] On the basis of Example 1, S2: Generate a color mixing strategy for LED lamp beads based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads, and the lighting requirements, referring to Figure 3 ,include:
[0091] S201: generating a lamp bead distribution array of the LED lamp based on the lamp bead distribution information of the LED lamp;
[0092] S202: Based on the lighting space boundary information of the LED lamp, the lamp bead distribution information of the LED lamp and the lighting demand, all boundary points of the lighting space of the LED lamp and all the lamp beads of the LED lamp are associated and clustered to generate a lamp bead color mixing strategy for the LED lamp.
[0093] In this embodiment, the lamp bead distribution array of the LED lamp represents an array of distribution states of all the lamp beads in the LED lamp.
[0094] In this embodiment, the lighting requirement requires, for example, a lighting color temperature of 3000K.
[0095] The beneficial effect of the above technology is: under the premise of taking into account the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, a lamp bead color mixing strategy for the LED lamp with better color rendering effect is generated.
[0096] Embodiment 4:
[0097] On the basis of Example 3, generating a lamp bead distribution array of an LED lamp based on the lamp bead distribution information of the LED lamp includes:
[0098] Based on the bead distribution information of the LED lamp, the maximum number of bead lights of the LED lamp in the extension direction of the horizontal axis of the standard three-dimensional coordinate system and the maximum number of bead lights of the LED lamp in the extension direction of the vertical axis of the standard three-dimensional coordinate system are counted, which are used as the total number of columns and the total number of rows of the bead distribution array of the LED lamp respectively;
[0099] Based on the lamp bead distribution information of the LED lamp and the total number of columns and the total number of rows of the lamp bead distribution array of the LED lamp, a lamp bead distribution array of the LED lamp is generated.
[0100] In this embodiment, the maximum number of LED lamp beads in the extension direction of the horizontal axis of the standard three-dimensional coordinate system is the total number of columns of the LED lamp bead distribution array, and the maximum number of LED lamp beads in the extension direction of the vertical axis of the standard three-dimensional coordinate system is the total number of rows of the LED lamp bead distribution array.
[0101] In this embodiment, based on the lamp bead distribution information of the LED lamp and the total number of columns and the total number of rows of the lamp bead distribution array of the LED lamp, the lamp bead distribution array of the LED lamp is generated, including:
[0102] Based on the distribution information of the LED beads and the standard three-dimensional coordinate system, the row number and column number of each bead in the LED lamp are determined;
[0103] Generate an empty matrix based on the total number of columns and rows of the LED lamp bead distribution array;
[0104] And set the values of the corresponding positions of the row numbers and column numbers of all the lamp beads in the LED lamp in the empty matrix to 1 to obtain a non-empty matrix;
[0105] Delete the positions with values of 0 in the non-empty matrix to form the LED bead distribution array.
[0106] The beneficial effect of the above technology is that a lamp bead distribution array of the LED lamp is generated based on the lamp bead distribution information of the LED lamp and a standard three-dimensional coordinate system.
[0107] Embodiment 5:
[0108] On the basis of Example 4, based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads, and the lighting requirements, all the boundary points of the lighting space of the LED lamp and all the LED lamp beads are clustered and divided to generate the LED lamp bead color mixing strategy, including:
[0109] Based on the lighting requirements, determine all the color rendering parameters and the proportion of color rendering lamp beads for each color rendering parameter. Based on the proportion of color rendering lamp beads for all the color rendering parameters and the total number of LED lamp beads, determine the number of lamp beads for each color rendering parameter.
[0110] Perform multiple point proximity divisions on all boundary points of the lighting space of the LED lamp to obtain multiple boundary areas in each point proximity division process. At the same time, perform multiple lamp bead proximity divisions on all lamp beads of the LED lamp based on the lamp bead distribution array of the LED lamp to obtain lamp bead areas corresponding to all kinds of color rendering parameters in each lamp bead proximity division process, wherein the number of all lamp bead areas obtained in each lamp bead proximity division process is equal to the total number of types of color rendering parameters of the LED lamp, and the total number of lamp beads in each lamp bead area obtained in each lamp bead proximity division process is equal to the number of lamp beads displayed for each color rendering parameter;
[0111] Based on the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, determine the distance between the physical center position of each boundary area obtained in each point proximity division process and the physical center position of each lamp bead area obtained in each lamp bead proximity division process, as the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process;
[0112] Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is obtained;
[0113] Generate LED lamp bead color mixing strategy based on the optimal LED lamp bead division result.
[0114] In this embodiment, all kinds of color rendering parameters (such as the color coordinates (R, GB) and brightness W of each color) and the proportion of the number of color rendering lamp beads for each color rendering parameter are determined based on the lighting requirements, that is:
[0115] Based on the existing mixed light calculation method, the proportion of color rendering lamp beads required to display each color rendering parameter is calculated, and then the PWM output value of the lamp beads is controlled to make different LED lights display different color rendering parameters.
[0116] In this embodiment, based on the proportion of the number of color rendering lamp beads of all color rendering parameters and the total number of lamp beads of the LED lamp, the number of lamp beads displayed for each color rendering parameter is determined, that is:
[0117] The product of the proportion of the number of color rendering lamp beads for each color rendering parameter and the total number of lamp beads in the LED lamp is taken as the number of lamp beads displayed for each color rendering parameter.
[0118] In this embodiment, the boundary area is an area formed by a plurality of adjacent LED lamps in the boundary of the lighting space of the LED lamp.
[0119] In this embodiment, point proximity division refers to dividing mutually adjacent boundary points into a boundary region during the division process, and there is no boundary point in each boundary region whose adjacent boundary point does not exist in the boundary region.
[0120] In this embodiment, the adjacent division of lamp beads refers to dividing mutually adjacent lamp beads into a lamp bead zone during the division process, and there is no lamp bead in each lamp bead zone that "does not have an adjacent lamp bead in this lamp bead zone".
[0121] In this embodiment, the lamp bead area is an area formed by a plurality of adjacent lamp beads in the LED lamp.
[0122] In this embodiment, based on the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, the distance between the physical center position of each boundary area obtained in each point proximity division process and the physical center position of each lamp bead area obtained in each lamp bead proximity division process is determined, including:
[0123] Based on the lighting space boundary information of the LED lamp, determine the three-dimensional coordinate value of the physical center position of each boundary area obtained in each point proximity division process in the standard three-dimensional coordinate system;
[0124] Based on the distribution information of the LED lamp beads, determine the three-dimensional coordinate value of the physical center position of each lamp bead area obtained in each lamp bead proximity division process in the standard three-dimensional coordinate system;
[0125] Based on the three-dimensional coordinate value of the physical center position of each boundary area obtained in each point proximity division process in the standard three-dimensional coordinate system and the three-dimensional coordinate value of the physical center position of each lamp bead area obtained in each lamp bead proximity division process in the standard three-dimensional coordinate system, the distance between the physical center position of each boundary area obtained in each point proximity division process and the physical center position of each lamp bead area obtained in each lamp bead proximity division process is determined.
[0126] In this embodiment, a color mixing strategy for LED lamp beads is generated based on the optimal LED lamp bead division result, that is: the color rendering parameters of all lamp beads in the lamp bead area where the total number of lamp beads is equal to the number of lamp beads displaying the corresponding color rendering parameters are set to the corresponding color rendering parameters.
[0127] The beneficial effects of the above technology are: by performing multiple point proximity divisions on all boundary points of the LED lamp's lighting space, and performing multiple lamp bead proximity divisions on all lamp beads of the LED lamp based on the LED lamp bead distribution array, and determining the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is screened out from the results obtained in all lamp bead proximity division processes.
[0128] Embodiment 6:
[0129] On the basis of Example 5, based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is obtained, including:
[0130] Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best lamp bead proximity division process is selected from all lamp bead proximity division processes;
[0131] All the lamp bead areas obtained in the optimal lamp bead proximity division process are regarded as the optimal LED lamp bead division results.
[0132] The beneficial effect of the above technology is: all the lamp bead areas obtained in the best lamp bead proximity division process in all the lamp bead proximity division processes are regarded as the best LED lamp bead division results.
[0133] Embodiment 7:
[0134] On the basis of Example 6, based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best lamp bead proximity division process is screened out from all lamp bead proximity division processes, including:
[0135] Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, determine the actual color mixing ratio of each boundary area obtained in each point proximity division process for all lamp bead areas obtained in each lamp bead proximity division process;
[0136] The initial color mixing ratio of all display parameters is determined based on the ratio of the number of color rendering lamp beads of all color rendering parameters;
[0137] Based on the initial color mixing ratio of all display parameters and the actual color mixing ratio of each boundary area obtained by all lamp bead areas in all point proximity division processes obtained by all lamp bead proximity division processes, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes.
[0138] In this embodiment, the actual color mixing ratio of each boundary area obtained in the process of neighboring division of all lamp bead areas at each point represents the actual color mixing ratio achieved by the LED lamp in the lighting of each boundary area obtained in the process of neighboring division of each point when the LED lamp is color-controlled according to the lamp bead color mixing strategy corresponding to the corresponding lamp bead division process.
[0139] In this embodiment, the initial color mixing ratio of all display parameters is determined based on the ratio of the number of color rendering lamp beads of all color rendering parameters, that is:
[0140] The ratio between the number of color rendering lamp beads of all color rendering parameters is regarded as the initial color mixing ratio of all display parameters.
[0141] The beneficial effect of the above technology is: by determining the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process and the initial color mixing ratio of all display parameters, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes.
[0142] Embodiment 8:
[0143] On the basis of Example 7, based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the actual color mixing ratio of all lamp bead areas obtained in each lamp bead proximity division process in each boundary area obtained in each point proximity division process is determined, including:
[0144] The product of the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process and the unit distance attenuation coefficient of the corresponding color rendering parameter is regarded as the color rendering attenuation index of each color rendering parameter in the corresponding boundary area in the corresponding lamp bead proximity division process;
[0145] Determining a color rendering index of each color rendering parameter in each boundary area based on a color rendering attenuation index of each color rendering parameter in each boundary area;
[0146] Based on the color rendering index of each boundary area obtained in each point proximity division process of all color rendering indices in each lamp bead proximity division process, the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process is determined.
[0147] In this embodiment, the unit distance attenuation coefficient of each color rendering parameter is the value of the color rendering index attenuation per propagation unit distance when the lighting light wave propagates in the air, determined according to the lighting performance of the LED lamp, when the lamp bead provides lighting according to a single color rendering parameter;
[0148] Among them, the color rendering index is an index that represents the color rendering performance of LED lamps. The better the color rendering performance, the higher the color rendering index.
[0149] In this embodiment, the color attenuation index of each color rendering parameter in the corresponding boundary area during the proximity division of the lamp beads indicates that when the lamp beads of the LED lamp provide lighting according to a single color rendering parameter, the color rendering index of the LED lamp attenuates when the light wave reaches the boundary area.
[0150] In this embodiment, based on the color rendering attenuation index of each color rendering parameter in each boundary area, the color rendering index of each color rendering parameter in each boundary area is determined, that is:
[0151] The difference between 1 and the color rendering attenuation index of each color rendering parameter in each boundary area is regarded as the color rendering index of each color rendering index in each boundary area.
[0152] The beneficial effects of the above technology are: determining the color attenuation index of each color rendering parameter in the corresponding boundary area during the proximity division of each lamp bead, and by further calculating the color rendering index of each color rendering parameter in each boundary area, accurately determining the actual color mixing ratio of each boundary area obtained in the proximity division process of each point for all lamp bead areas obtained in the proximity division process of each lamp bead.
[0153] Embodiment 9:
[0154] On the basis of Example 7, based on the initial color mixing ratio of all display parameters and the actual color mixing ratio of each boundary area obtained by all lamp bead areas in all point proximity division processes obtained by all lamp bead proximity division processes, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes, including:
[0155] Calculate the deviation between the actual color mixing ratio of each boundary area obtained by the neighboring division process of each lamp bead area at each point and the initial color mixing ratio of all display parameters;
[0156] The average value of the deviation between the actual color mixing ratio of all boundary areas of all lamp bead areas obtained in each lamp bead proximity division process and the initial color mixing ratio of all display parameters obtained in each point proximity division process is taken as the correlation division performance value between each lamp bead proximity division process and each point proximity division process;
[0157] Among all the secondary point proximity division processes and all the lamp bead proximity division processes, the lamp bead proximity division process corresponding to the maximum correlation division performance value is regarded as the optimal lamp bead proximity division process.
[0158] In this embodiment, the correlation division performance value between each lamp bead adjacent division process and each point adjacent division process is
[0159] The beneficial effects of the above technology are: by calculating the deviation between the actual color mixing ratio of each boundary area of all lamp bead areas obtained in each point proximity division process in each lamp bead proximity division process and the initial color mixing ratio of all display parameters, the associated division performance value between each lamp bead proximity division process and each point proximity division process is further obtained. According to the calculated associated division performance value, in all sub-point proximity division processes and all lamp bead proximity division processes, the optimal lamp bead proximity division process is screened out so that the multi-channel control scheme of the LED lamp has a good lighting and color matching effect in the boundary area of the lighting space.
[0160] Embodiment 10:
[0161] Based on Example 9, the deviation between the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process and the initial color mixing ratio of all display parameters is calculated, including:
[0162] Based on the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process, an actual color mixing ratio vector of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process is generated. At the same time, an initial color mixing ratio vector of all display parameters is generated based on the initial color mixing ratio of all display parameters.
[0163] Based on the cosine similarity between the actual color mixing ratio vector of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio vector of all display parameters, the deviation between the actual color mixing ratio of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters is calculated.
[0164] In this embodiment, based on the actual color mixing ratio of each boundary area obtained by each point neighboring division process of all lamp bead areas obtained by each lamp bead neighboring division process, the actual color mixing ratio vector of each boundary area obtained by each point neighboring division process of all lamp bead areas obtained by each lamp bead neighboring division process is generated. At the same time, based on the initial color mixing ratio of all display parameters, the initial color mixing ratio vector of all display parameters is generated, that is:
[0165] Arrange the values of the actual color mixing ratio of each boundary area obtained in each point proximity division process of all the lamp bead areas obtained in each lamp bead proximity division process into row vectors in order, that is, obtain the actual color mixing ratio vector of each boundary area obtained in each point proximity division process of all the lamp bead areas obtained in each lamp bead proximity division process;
[0166] For example, if the actual color mixing ratio is: a:b:c, then the actual color mixing ratio vector generated is (a,b,c);
[0167] Arrange the values of the initial color mixing ratios of all display parameters in order into a row vector, that is, obtain the initial color mixing ratio vector of all display parameters;
[0168] For example, if the initial color mixing ratio is A:B:C, the generated initial color mixing ratio vector is (A, B, C).
[0169] In this embodiment, based on the cosine similarity between the actual color mixing ratio vector of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio vector of all display parameters, the deviation between the actual color mixing ratio of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters is calculated, that is:
[0170] The difference between 1 and the cosine similarity between the actual color mixing ratio vector of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio vector of all display parameters is taken as the deviation between the actual color mixing ratio of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters.
[0171] The beneficial effect of the above technology is: by vectorizing the actual color mixing ratio of each boundary area obtained by each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters and calculating the cosine similarity between the two, the deviation between the actual color mixing ratio of each boundary area obtained by each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters is accurately calculated.
[0172] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for implementing color adjustment control of LED lamps, characterized in that: include: S1: Obtaining the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp; S2: Generate a color mixing strategy for LED lamp beads based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads, and the lighting requirements; S3: Based on the LED lamp bead color mixing strategy, all the lamp beads in the LED lamp are controlled to obtain the LED lamp color adjustment control implementation result.
2. The method for realizing color adjustment control of LED lamp according to claim 1, characterized in that: S1: Obtain the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, including: S101: using a standard three-dimensional coordinate system with the physical center position of the LED lamp as the origin to represent the spatial positions of all lamp beads of the LED lamp, and obtaining lamp bead distribution information of the LED lamp; S102: Using a three-dimensional coordinate system with the physical center position of the LED lamp as the origin to represent the positions of all boundary points of the lighting space of the LED lamp, and obtaining the lighting space boundary information of the LED lamp.
3. The method for realizing color adjustment control of LED lamp according to claim 1, characterized in that: S2: Generate a color mixing strategy for LED lamp beads based on the lighting space boundary information of the LED lamp, the distribution information of the LED lamp beads, and the lighting requirements, including: S201: generating a lamp bead distribution array of the LED lamp based on the lamp bead distribution information of the LED lamp; S202: Based on the lighting space boundary information of the LED lamp, the lamp bead distribution information of the LED lamp and the lighting demand, all boundary points of the lighting space of the LED lamp and all the lamp beads of the LED lamp are associated and clustered to generate a lamp bead color mixing strategy for the LED lamp.
4. The LED lamp color adjustment control implementation method according to claim 3, characterized in that: A lamp bead distribution array of an LED lamp is generated based on the lamp bead distribution information of the LED lamp, including: Based on the bead distribution information of the LED lamp, the maximum number of bead lights of the LED lamp in the extension direction of the horizontal axis of the standard three-dimensional coordinate system and the maximum number of bead lights of the LED lamp in the extension direction of the vertical axis of the standard three-dimensional coordinate system are counted, which are used as the total number of columns and the total number of rows of the bead distribution array of the LED lamp respectively; Based on the lamp bead distribution information of the LED lamp and the total number of columns and the total number of rows of the lamp bead distribution array of the LED lamp, a lamp bead distribution array of the LED lamp is generated.
5. The LED lamp color adjustment control implementation method according to claim 3, characterized in that: Based on the lighting space boundary information of LED lamps, the distribution information of LED lamp beads and the lighting requirements, all boundary points of the lighting space of LED lamps and all lamp beads of LED lamps are associated and clustered to generate the lamp bead color mixing strategy of LED lamps, including: Based on the lighting requirements, determine all the color rendering parameters and the proportion of color rendering lamp beads for each color rendering parameter. Based on the proportion of color rendering lamp beads for all the color rendering parameters and the total number of LED lamp beads, determine the number of lamp beads for each color rendering parameter. Perform multiple point proximity divisions on all boundary points of the lighting space of the LED lamp to obtain multiple boundary areas in each point proximity division process. At the same time, perform multiple lamp bead proximity divisions on all lamp beads of the LED lamp based on the lamp bead distribution array of the LED lamp to obtain lamp bead areas corresponding to all kinds of color rendering parameters in each lamp bead proximity division process; Based on the lighting space boundary information of the LED lamp and the lamp bead distribution information of the LED lamp, determine the distance between the physical center position of each boundary area obtained in each point proximity division process and the physical center position of each lamp bead area obtained in each lamp bead proximity division process, as the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process; Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is obtained; Generate LED lamp bead color mixing strategy based on the optimal LED lamp bead division result.
6. The method for realizing color adjustment control of LED lamp according to claim 5, characterized in that: Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best LED lamp bead division result is obtained, including: Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best lamp bead proximity division process is selected from all lamp bead proximity division processes; All the lamp bead areas obtained in the optimal lamp bead proximity division process are regarded as the optimal LED lamp bead division results.
7. The method for realizing color adjustment control of LED lamp according to claim 6, characterized in that: Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the best lamp bead proximity division process is selected from all lamp bead proximity division processes, including: Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, determine the actual color mixing ratio of each boundary area obtained in each point proximity division process for all lamp bead areas obtained in each lamp bead proximity division process; The initial color mixing ratio of all display parameters is determined based on the ratio of the number of color rendering lamp beads of all color rendering parameters; Based on the initial color mixing ratio of all display parameters and the actual color mixing ratio of each boundary area obtained by all lamp bead areas in all point proximity division processes obtained by all lamp bead proximity division processes, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes.
8. The method for realizing color adjustment control of LED lamp according to claim 7, characterized in that: Based on the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process, the actual color mixing ratio of all lamp bead areas obtained in each lamp bead proximity division process in each boundary area obtained in each point proximity division process is determined, including: The product of the center distance between each boundary area obtained in each point proximity division process and each lamp bead area obtained in each lamp bead proximity division process and the unit distance attenuation coefficient of the corresponding color rendering parameter is regarded as the color rendering attenuation index of each color rendering parameter in the corresponding boundary area in the corresponding lamp bead proximity division process; Determining a color rendering index of each color rendering parameter in each boundary area based on a color rendering attenuation index of each color rendering parameter in each boundary area; Based on the color rendering index of each boundary area obtained in each point proximity division process of all color rendering indices in each lamp bead proximity division process, the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process is determined.
9. The method for realizing color adjustment control of LED lamp according to claim 7, characterized in that: Based on the initial color mixing ratio of all display parameters and the actual color mixing ratio of each boundary area obtained by all lamp bead areas in all point proximity division processes obtained by all lamp bead proximity division processes, the best lamp bead proximity division process is screened out in all lamp bead proximity division processes, including: Calculate the deviation between the actual color mixing ratio of each boundary area obtained by the neighboring division process of each lamp bead area at each point and the initial color mixing ratio of all display parameters; The average value of the deviation between the actual color mixing ratio of all boundary areas of all lamp bead areas obtained in each lamp bead proximity division process and the initial color mixing ratio of all display parameters obtained in each point proximity division process is taken as the correlation division performance value between each lamp bead proximity division process and each point proximity division process; Among all the secondary point proximity division processes and all the lamp bead proximity division processes, the lamp bead proximity division process corresponding to the maximum correlation division performance value is regarded as the optimal lamp bead proximity division process.
10. The LED lamp color adjustment control implementation method according to claim 9, characterized in that: Calculate the deviation between the actual color mixing ratio of each boundary area obtained by the neighboring division process of each lamp bead area at each point and the initial color mixing ratio of all display parameters, including: Based on the actual color mixing ratio of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process, an actual color mixing ratio vector of each boundary area obtained in each point proximity division process of all lamp bead areas obtained in each lamp bead proximity division process is generated. At the same time, an initial color mixing ratio vector of all display parameters is generated based on the initial color mixing ratio of all display parameters. Based on the cosine similarity between the actual color mixing ratio vector of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio vector of all display parameters, the deviation between the actual color mixing ratio of each boundary area obtained in each point neighboring division process of all lamp bead areas obtained in each lamp bead neighboring division process and the initial color mixing ratio of all display parameters is calculated.
