CN-122028250-A - Target decomposition and rhythm illumination-based linked dimming control method and system for desk lamp and street lamp
Abstract
The invention relates to the technical field of illumination control, in particular to a linkage dimming control method and a system of a desk lamp and a street lamp based on target decomposition and rhythm illumination, wherein the method comprises the steps of generating a time sequence change curve of target illumination and target color temperature of a working surface based on a rhythm illumination prediction model; generating a first illumination sub-target of the desk lamp and a second illumination sub-target of the street lamp based on a self-adaptive target decomposition algorithm, and calculating the PWM duty ratio of the cold and warm light channels of the desk lamp and the street lamp by adopting a lamp control calculation method based on chromaticity projection. The invention solves the technical problems that the desk lamp and the street lamp are lack of optical coordination and cannot adapt to personalized human rhythms, and the control model is simplified, so that the precision is insufficient.
Inventors
- LIN YAN
- ZHU LIYI
- CHEN XINGDA
- XIAO HU
Assignees
- 广东三雄极光照明股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260330
Claims (10)
- 1. A linked dimming control method of a desk lamp and a street lamp based on target decomposition and rhythm illumination is characterized by comprising the following steps: Step S100, acquiring historical light data of a user, and generating a time sequence change curve of a target illuminance value and a target color temperature value of a working surface in a future period of time based on a preset rhythmic illumination prediction model; Step 200, detecting the ambient illumination parameters generated by ambient light on a working surface in real time, and acquiring a target illuminance value and a target color temperature value corresponding to the current moment according to the time sequence change curve; step 300, taking the target illumination value, the target color temperature value and the environment illumination parameter corresponding to the current moment as inputs, and generating a first illumination sub-target of a desk lamp and a second illumination sub-target of a street lamp based on a preset self-adaptive target decomposition algorithm; and step 400, calculating the PWM duty ratio of the cold and warm light channels of the desk lamp and the street lamp according to the first illumination sub-target and the second illumination sub-target by adopting a lamp control calculation method based on chromaticity projection.
- 2. The method for controlling the coordinated dimming of a desk lamp and a street lamp based on target decomposition and rhythm illumination according to claim 1, wherein the step S100 comprises: Step S110, acquiring historical light data of a user, wherein the historical light data comprises an illumination value and a color temperature value; Step 120, inputting the historical light data into a preset rhythmic illumination prediction model, wherein the rhythmic illumination prediction model is a long-term and short-term memory network model based on a local attention mechanism, extracting time sequence characteristics of the historical light data through an encoder to obtain a hidden state sequence, and selecting a window adjacent in time from the hidden state sequence at each prediction moment through the local attention mechanism to calculate attention weight so as to generate a context vector concentrated with local historical information; And S130, generating a target illumination prediction sequence and a target color temperature prediction sequence in a future period of time step by step in an autoregressive mode by combining the context vector through a decoder of the rhythmic illumination prediction model, and generating the time sequence change curve.
- 3. The coordinated dimming control method of a desk lamp and a street lamp based on target decomposition and rhythmic lighting as claimed in claim 2, wherein the rhythmic lighting prediction model is trained by minimizing the following total loss function: In the formula, Representing the total loss function value; representing a time step index in the predicted sequence; representing the total length of the predicted time series; representing a prediction error loss for measuring a deviation between a model predicted value and a true value; The weight coefficient representing the rhythmic health loss is used for balancing the prediction precision and the rhythmic health requirement; representing the healthy rhythm loss, wherein the healthy rhythm loss is used for constraining the predicted color temperature value to meet the healthy requirement of the circadian rhythm of the human body; is shown at the moment Is a true value of the target illuminance; is shown at the moment Target illuminance prediction value of (2); a weight coefficient representing a color temperature error for balancing the contribution of the illuminance error and the color temperature error in the prediction error loss; is shown at the moment Is a true value of the target color temperature of (a); is shown at the moment Target color temperature predicted value of (2); is shown at the moment The reference value of the healthy rhythm color temperature is preset according to a human body physiological rhythm model.
- 4. The method for controlling the coordinated dimming of a desk lamp and a street lamp based on target decomposition and rhythm illumination according to claim 1, wherein the step S300 comprises: Step S310, analyzing an ambient light illuminance value and an ambient light color temperature value from the ambient light parameter, and respectively converting the target color temperature value and the ambient light color temperature value corresponding to the current moment into a target chromaticity coordinate and an ambient light chromaticity coordinate corresponding to the current moment on a CIE 1931 chromaticity diagram; Step 320, determining a first target chromaticity coordinate of a desk lamp and a second target chromaticity coordinate of a street lamp according to the target chromaticity coordinate and the ambient light chromaticity coordinate based on a preset self-adaptive transition strategy; Step S330, based on a working surface total illumination model, constructing a linear equation set about the illumination contribution of the desk lamp and the illumination contribution of the street lamp according to the target illumination value, the target chromaticity coordinate, the first target chromaticity coordinate of the desk lamp, the second target chromaticity coordinate of the street lamp, the ambient light illumination value and the ambient light chromaticity coordinate; Step S340, solving the equation set to obtain a first illumination sub-target of the table lamp and a second illumination sub-target of the street lamp, combining the first target chromaticity coordinate of the table lamp and the first illumination sub-target of the table lamp to serve as the first illumination sub-target, and combining the second target chromaticity coordinate of the street lamp and the second illumination sub-target of the street lamp to serve as the second illumination sub-target.
- 5. The method for controlling the coordinated dimming of a desk lamp and a street lamp based on target decomposition and rhythmic lighting as claimed in claim 4, wherein the step S320 comprises: step S321, obtaining a scene weight coefficient corresponding to a current scene mode, a preference weight coefficient corresponding to a user history preference, and an optical optimization weight coefficient obtained by calculation according to the difference between the target chromaticity coordinate and the ambient light chromaticity coordinate; Step S322, dynamically fusing the scene weight coefficient, the preference weight coefficient and the optical optimization weight coefficient to generate a multidimensional weight factor; step S323, performing weighted interpolation on the target chromaticity coordinate and the ambient light chromaticity coordinate by utilizing the multidimensional weight factor, and calculating to obtain a second target chromaticity coordinate of the street lamp; Step S324, determining a first target chromaticity coordinate of the desk lamp according to the target chromaticity coordinate and a preset color temperature offset.
- 6. The method for controlling the coordinated dimming of a desk lamp and a street lamp based on target decomposition and rhythm illumination according to claim 5, wherein the calculation formula for generating the multidimensional weight factor in the step S322 is as follows: In the formula, Representing the scene weight coefficients; representing the preference weight coefficient; Representing the optically optimized weight coefficient; 、 、 respectively represents the corresponding fusion weights, satisfies ; In the step S323, the calculation formula for performing weighted interpolation on the target chromaticity coordinate and the ambient light chromaticity coordinate by using the multi-dimensional weight factor is as follows: In the formula, An abscissa representing a second target chromaticity coordinate of the street lamp; an ordinate representing a second target chromaticity coordinate of the street lamp; An abscissa representing chromaticity coordinates of the target; an ordinate representing the chromaticity coordinates of the target; an abscissa representing chromaticity coordinates of the ambient light; an ordinate representing chromaticity coordinates of the ambient light; Representing the multi-dimensional weighting factor.
- 7. The method for controlling the coordinated dimming of a desk lamp and a street lamp based on target decomposition and rhythm illumination according to claim 1, wherein the step S400 comprises: Step S410, analyzing a first target chromaticity coordinate and a first illuminance sub-target of a table lamp from the first illuminance sub-target, and analyzing a second target chromaticity coordinate and a second illuminance sub-target of a street lamp from the second illuminance sub-target; step S420, obtaining chromaticity coordinates of respective cold light channels and warm light channels of the desk lamp and the street lamp, and maximum illuminance contribution coefficients of the respective cold light channels and warm light channels; and S430, calculating PWM duty ratios of respective cold and warm light channels of the desk lamp and the street lamp by adopting an inverse solution method based on chromaticity projection according to the first target chromaticity coordinate of the desk lamp and the second target chromaticity coordinate of the street lamp.
- 8. The coordinated dimming control method of a desk lamp and a street lamp based on target decomposition and rhythmic lighting according to claim 7, wherein in step S430, the inverse solution method based on chromaticity projection comprises performing the following steps for each of the desk lamp and the street lamp: step S431, orthographic projection is carried out on the target chromaticity coordinate of the current lamp to a mixed color straight line formed by the chromaticity coordinate of the cold light channel and the chromaticity coordinate of the warm light channel of the current lamp, so as to obtain a projection point and calculate a projection coefficient; Step S432, dynamically calculating the maximum achievable illuminance of the current lamp under the current target color temperature according to the projection coefficient and the maximum illuminance contribution coefficient of the cold light channel and the warm light channel of the current lamp, and carrying out feasibility verification and clipping on the illuminance sub-target of the current lamp to obtain the actually executed illuminance; Step S433, calculating the illumination contribution of the cold light channel and the warm light channel of the current lamp according to the projection coefficient and the actual execution illumination, and converting the illumination contribution into a corresponding PWM duty ratio.
- 9. The method for controlling the coordinated dimming of a desk lamp and a street lamp based on target decomposition and rhythmic lighting as claimed in claim 8, wherein the step S431 comprises: in the CIE 1931 chromaticity coordinate system, connecting a cold light channel chromaticity coordinate point and a warm light channel chromaticity coordinate point of a current lamp to form a mixed color straight line, orthogonally projecting a target chromaticity coordinate point of the current lamp to the mixed color straight line to obtain a homeotropic point, and calculating a projection coefficient according to the following formula: In the formula, The projection coefficients are represented by a set of coefficients, Representing a direction vector from a chromaticity coordinate point of a cold light channel of the current lamp to a chromaticity coordinate point of a warm light channel; Representing a direction vector pointing from a cold light channel chromaticity coordinate point of a current lamp to a target chromaticity coordinate point; The abscissa and the ordinate of CIE 1931 chromaticity coordinates of the warm light channel of the current lamp are represented; the abscissa and ordinate of CIE 1931 chromaticity coordinates of the cold light channel of the current lamp are represented; an abscissa and an ordinate representing the target chromaticity coordinate of the current lamp; For the projection coefficient Boundary truncation is carried out to restrict the boundary truncation to be in the range of [0,1 ]: then the projected point (foot drop) coordinates are: In the formula, And the abscissa and the ordinate of the chromaticity coordinates of the projection point of the current lamp are represented.
- 10. A linked dimming control system of a desk lamp and a street lamp based on target decomposition and rhythm illumination is characterized by comprising: The rhythm illumination prediction module is used for acquiring historical light data of a user and generating a time sequence change curve of a target illumination value and a target color temperature value of the working surface in a future period of time based on a preset rhythm illumination prediction model; The environment sensing and target determining module is used for detecting environment illumination parameters generated by the environment light on the working surface in real time and acquiring a target illuminance value and a target color temperature value corresponding to the current moment according to the time sequence change curve; The self-adaptive target decomposition module is used for taking the target illumination value, the target color temperature value and the environment illumination parameter corresponding to the current moment as input, and generating a first illumination sub-target of the desk lamp and a second illumination sub-target of the street lamp based on a preset self-adaptive target decomposition algorithm; and the lamp control resolving module is used for calculating the PWM duty ratio of the cold and hot light channels of the desk lamp and the street lamp according to the first illumination sub-target and the second illumination sub-target by adopting a lamp control resolving method based on chromaticity projection.
Description
Target decomposition and rhythm illumination-based linked dimming control method and system for desk lamp and street lamp Technical Field The invention relates to the technical field of illumination control, in particular to a linkage dimming control method and system of a desk lamp and a street lamp based on target decomposition and rhythm illumination. Background With the development of intelligent lighting technology, independent or simple networking control of a desk lamp and a street lamp is common. However, the problems generally exist in the schemes that the desk lamp and the street lamp are usually controlled independently or only are subjected to simple brightness synchronization, so that the key illumination of a working face and the integral illumination of the environment are split in light intensity and color temperature, the synergy based on the final optical effect is lacking, visual fatigue is easy to cause, meanwhile, the conventional schemes mostly adopt a fixed illumination mode or simple time control, the full-period and personalized rhythmic healthy illumination adaptation cannot be realized according to the personal work and rest habits of users, in addition, the control model is often too simplified, the nonlinear characteristics of the light-color mixing of the double light sources and the real-time influence of the ambient light cannot be fully considered, and the actual illumination effect of the working face is deviated from the expected target. Therefore, a coordinated dimming control method and system capable of realizing intelligent coordination of a desk lamp and a street lamp, matching individual rhythm requirements and achieving a target light environment of a working face with high precision are needed. Disclosure of Invention The invention mainly aims to provide a linked dimming control method and system for a desk lamp and a street lamp based on target decomposition and rhythm illumination, and aims to solve the technical problems that in the prior art, the desk lamp and the street lamp are lack of optical coordination in control, cannot adapt to personalized human rhythms, and the control model is simplified, so that the accuracy is insufficient. In order to achieve the above objective, a first aspect of the present invention provides a method for controlling linked dimming of a desk lamp and a street lamp based on target decomposition and rhythm illumination, including: Step S100, acquiring historical light data of a user, and generating a time sequence change curve of a target illuminance value and a target color temperature value of a working surface in a future period of time based on a preset rhythmic illumination prediction model; Step 200, detecting the ambient illumination parameters generated by ambient light on a working surface in real time, and acquiring a target illuminance value and a target color temperature value corresponding to the current moment according to the time sequence change curve; step 300, taking the target illumination value, the target color temperature value and the environment illumination parameter corresponding to the current moment as inputs, and generating a first illumination sub-target of a desk lamp and a second illumination sub-target of a street lamp based on a preset self-adaptive target decomposition algorithm; and step 400, calculating the PWM duty ratio of the cold and warm light channels of the desk lamp and the street lamp according to the first illumination sub-target and the second illumination sub-target by adopting a lamp control calculation method based on chromaticity projection. Preferably, the step S100 includes: Step S110, acquiring historical light data of a user, wherein the historical light data comprises an illumination value and a color temperature value; Step 120, inputting the historical light data into a preset rhythmic illumination prediction model, wherein the rhythmic illumination prediction model is a long-term and short-term memory network model based on a local attention mechanism, extracting time sequence characteristics of the historical light data through an encoder to obtain a hidden state sequence, and selecting a window adjacent in time from the hidden state sequence at each prediction moment through the local attention mechanism to calculate attention weight so as to generate a context vector concentrated with local historical information; And S130, generating a target illumination prediction sequence and a target color temperature prediction sequence in a future period of time step by step in an autoregressive mode by combining the context vector through a decoder of the rhythmic illumination prediction model, and generating the time sequence change curve. Preferably, the rhythmic lighting prediction model is trained by minimizing the following total loss function: In the formula, Representing the total loss function value; representing a time step index in the predicted sequence; representin