Hybrid lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps
By using location recognition and user identity recognition technology in public dormitories, combining the light color scoring table and multi-objective optimization algorithm, the light color parameters of ceiling lights and work desk lamps are automatically adjusted, the contradiction between learning and sleeping lighting needs is solved, personalized lighting optimization is achieved, and user experience is improved.
Patent Information
- Application Number
- CN202110138892.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-30
- Filing Date
- 2019-04-03
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2039-04-03
AI Technical Summary
The different needs of lights in the two activities of learning and falling asleep in public dormitories lead to contradictions and troubles between different individuals, and it is difficult for the existing technology to effectively coordinate these needs.
The user's work and rest activities are identified through the position recognition unit and the user identity recognition unit. The light color parameters of the isotropic symmetric ceiling light and work table lamp are automatically adjusted to realize personalized lighting optimization.
The lighting needs of different users are coordinated, the contradictions on light in public dormitories are reduced, learning efficiency and sleep quality are improved, and the lighting needs of different working and rest time are met.
Smart Images

Figure CN112566332B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent with application number 201910287131.5, application date April 3, 2019, and invention name "Hybrid lighting system, method and optimization method for public dormitories based on isotropically symmetrical ceiling lamps". Technical Field
[0002] The present invention relates to the field of intelligent lighting, and in particular to a mixed lighting optimization method for a public dormitory based on an isotropically symmetrical ceiling lamp. Background Art
[0003] In my country's schools, government agencies, enterprises and institutions, there are a large number of public dormitories or collective dormitories for single employees and students. The number of people living in these dormitories varies from double rooms, triple rooms, quad rooms, six rooms, and eight rooms. With economic development, social progress, and the embodiment of people-oriented, the hardware of the current collective dormitories is constantly updated, the facilities are constantly improved, and the environment is constantly optimized.
[0004] Take the school's student dormitories as an example. Dormitories are one of the places where most students spend the most time every day. Generally speaking, in addition to sleeping, students also read books, study, surf the Internet, watch TV, etc. In university dormitories, with the increasing number of elective courses under the requirements of national policies, the personal training plans of different students in the same dormitory are very different. For example, some students have classes in the first and second classes in the morning, while others do not. In addition, in the era of personalization, everyone's time arrangement is unique. Therefore, compared with the relatively monotonous and consistent time in the past, the schedule has become more and more uneven.
[0005] In public dormitories, differences in work and rest time and routines bring a lot of troubles to different individuals who share the same dormitory environment. Among these troublesome factors, sound can be alleviated by wearing headphones, but the contradiction of light is difficult to coordinate. For example, some people go to bed early and get up early, while some people have to study for one or two hours after the nominal unified lights-out time. People who want to study always need to turn on the lights, and the unadjustable lights will suppress the sleepiness of those who want to fall asleep, or even wake them up and make it difficult for them to continue sleeping.
[0006] In existing research, the research on public dormitory lighting mainly focuses on structural design and lighting survey. For example, Nanjing University's 2015 master's thesis "Research on Natural Lighting and Illumination in Nanjing University Dormitories" analyzed the lighting conditions and existing problems of Nanjing university dormitories through field measurements and questionnaire surveys, providing a reference for improving the dormitory lighting environment. The "Survey and Analysis of the Current Lighting Status of Beijing Universities" published in the 2010 Vol. 12, No. 3 of the "Power Demand Side Management" magazine provides basic data for lighting energy saving through a survey of the use of lighting products in classrooms, libraries, canteens and dormitories in 55 universities in Beijing and a test of the illumination of typical classrooms.
[0007] The light environment has a significant impact on people's physiology and psychology. First of all, light is a necessary condition for normal people to have vision. Without sufficient light, people cannot play their visual function and cannot recognize the environment, which affects their judgment and behavior. This shows that poor light environment conditions will lead to visual errors and affect normal learning or operation. Therefore, the light environment is directly related to people's survival and personal safety. In the light environment, light stimulation also has a great impact on human blood pressure, pulse, breathing, muscle tension, etc., and can cause activities of the autonomic nervous system and cerebral cortex.
[0008] Secondly, on the basis of the influence of light stimulation on human physiological activities, light color also affects people's physiological feelings by combining with people's visual experience and life experience. For example, soft and warm light makes people feel calm, while cool and blue light makes people concentrate and think actively.
[0009] In public dormitories, the different lighting requirements for two important daily activities, studying and sleeping, lead to conflicts between different individuals over lighting control issues.
[0010] At night, when users are ready to rest, they often do some transitional activities, such as work planning and reading before bed. Currently, more young people use smartphones or tablets to watch some relaxing content. In this stage before falling asleep, using low color temperature and low brightness lamps or equipment backlights can help the body relax until it becomes drowsy and falls asleep. But for learning users, to ensure learning efficiency, higher brightness and high color temperature light are required.
[0011] Although this kind of conflict can be alleviated by turning on small lights such as desk lamps, wearing eye masks, etc., large lights, such as ceiling lamps that emit light symmetrically in all directions, may intensify conflicts between different individuals if they can only be controlled by simple switch switching.
[0012] On the contrary, if in a public dormitory with mixed lighting of symmetrical ceiling lamps and table lamps, the light output of the symmetrical ceiling lamps can be automatically adjusted according to activities such as studying and sleeping to take into account the feelings of different individuals, different lighting needs can be coordinated and the contradiction of light needs in public dormitories can be greatly reduced.
[0013] Based on the above factors, there is currently a need for a lighting optimization method and lighting system that can coordinate the needs of dormitory users according to their different work and rest activities and automatically adjust the light output of lamps. Summary of the invention
[0014] Ambient lighting has a direct impact on human life, study, and sleep. People obtain information from the outside world through vision and respond quickly. The efficiency of work and study is directly subject to the lighting conditions of the environment, and maintaining basic visual functions also depends on lighting. At the same time, the human body, like other organisms, is affected by the natural rhythm of day and night. Comparative studies have shown that arranging a daily routine for a day, a week, a month, or a year according to the biological rhythm can improve work efficiency and academic performance, reduce fatigue, prevent diseases, and prevent accidents.
[0015] After the discovery of the third type of photoreceptor cells on the human retina, the intrinsically photosensitive retinal ganglion cells, it has been proven that they can control human physiological rhythms by producing a series of chemical and biological reactions to visible light radiation entering the human eye. Medical research shows that the visual system not only transmits light signals to the brain, but also transmits the brightness and darkness information of the external light environment to the pineal gland of the brain. The pineal gland produces melatonin to control the level of human wakefulness.
[0016] A dark environment stimulates the pineal gland to synthesize and release melatonin into the blood, while a bright environment inhibits the production of melatonin. The blue light in the light can inhibit the pineal gland from secreting melatonin. The blue light is strongest during the day, and people are energetic; the blue light is weakest at night, and the pineal gland in the brain secretes melatonin. The melatonin that enters the blood promotes drowsiness, falling asleep, and deep sleep.
[0017] There are many factors that affect learning efficiency and sleeping, among which the more important ones are: illumination level, illumination distribution, color appearance, light and shadow, etc. These factors have different effects on learning and sleeping for different individuals.
[0018] What kind of constraint relationship exists between the lighting environment and learning efficiency and falling asleep speed is a multi-factor mapping problem. To describe the relationship between them, we can calculate the learning efficiency and falling asleep efficiency scores of individuals under each light color combination condition through offline data recording and statistics, and store these scores in a table form.
[0019] The patent of the present invention first identifies the daily activities of each user in the public dormitory based on the position identification unit and the user identity identification unit, searches for the light color rating table corresponding to the current activity, calculates the evaluation value of each individual in the multi-objective optimization process, and optimizes based on the evaluation value, and finally maps the light color parameters represented by the optimal individual to the driving current value of the lamp. Among them, the individuals in the optimization process are the color temperature or color, brightness and other light color parameters of the mixed lighting group composed of the isotropic symmetrical ceiling lamps for global illumination and the workbench lamps for local illumination as the parameter set to be optimized; the multi-objective optimization process includes two stages, the first stage optimizes the parameters of the isotropic symmetrical ceiling lamps, and the second stage optimizes the parameters of the workbench lamps based on the optimization results of the first stage.
[0020] The evaluation function F based on which the optimization is based is the weighted sum of the evaluation values of each user in the public dormitory. Since the optimization of light color parameters involves multiple factors, this is a multi-objective optimization problem. For multi-objective optimization problems, the optimal solution is called the Pareto solution. The problem is solved by the multi-objective genetic optimization algorithm, namely MOGA.
[0021] After optimization and solution, light color parameters with high total evaluation values are obtained. Then, the dimming mapping unit maps the optimized light color parameters into driving current values of each driving current channel of the lamp group, and transmits the current values to the drivers in the lamp group, thereby realizing automatic optimization of lighting for multiple needs in the public dormitory.
[0022] The dimming mapping unit can convert the light color parameters into the mapping of the lamp group driving current based on a variety of means. First, it can be based on a pre-generated lookup table from the light color space to the driving current space; second, it can be based on a transformation polynomial from the light color space to the driving current space generated by least squares regression.
[0023] The technical solution of the present invention is to provide a mixed lighting optimization method for a public dormitory based on an isotropically symmetrical ceiling lamp, which comprises the following steps:
[0024] S1. Determine the evaluation criteria.
[0025] Assume that there are m1 sleeping users, m2 studying users, 1 isotropically symmetrical ceiling lamp and m2 work table lamps in a public dormitory, and for each user in the public dormitory, a light color rating table is preset in the memory, and the light color rating table records the rating values of various combinations of light color parameters such as color temperature and illumination at the work and rest positions of the user in the work and rest modes such as sleeping or studying.
[0026] Establish the overall evaluation function F of public dormitory lighting based on isotropically symmetrical ceiling lamps.
[0027] Among them, w iis the set weighting coefficient, f i is the evaluation value of each factor,
[0028] For example, for an isotropically symmetrical ceiling lamp, f i for:
[0029] When the isotropically symmetrical ceiling lamp is illuminated alone, its light brightness corresponds to the illuminance at the position of each sleeping user according to the lighting distribution table, and the combination of two light color parameters, the light color temperature, and the corresponding score value is obtained by looking up the sleeping mode subtable of the light color rating table for the i-th sleeping user.
[0030] For work desk lamps, f i for:
[0031] When the lamp set consists of m2 work table lamps and the mixed lighting of the isotropic symmetrical ceiling lamps, the combination of the two light color parameters of the total light output illuminance and the total light output color temperature corresponds to the score value obtained by looking up the table in the learning mode subtable of the light color score table of the i-th learning user;
[0032] S2. Initialize the parameters such as the size of the evolutionary population, crossover probability, and mutation probability, determine the value range and encoding strategy of the color temperature, brightness, and color parameters of the isotropic symmetrical ceiling lamps and work table lamps, and the number N of the population replaced by the global Pareto optimal solution in each generation. rp ,
[0033] In the first stage, the current optimal lamp is set to be an isotropically symmetrical ceiling lamp;
[0034] S3, generation number k = 0, randomly generate the initial population P(0) for the current lamp or lamp set to be optimized;
[0035] S4, let k=k+1; if the end condition is met, go to S11, otherwise go to the next step;
[0036] S5. Decode all individuals in the current generation group P(k-1) to obtain light color parameters, and calculate the evaluation value of each factor of each individual f i , compare and obtain the Pareto optimal solution set PT of this generation k , and update the global Pareto optimal solution set PT g ;
[0037] S6. If PT k The number of individuals in the set N(PT k ) is an odd number, randomly select an individual to join the PT k Sets, so that they can be paired with each other, calculate the PT in this generation of population kThe overall evaluation function F value of each individual outside the set is used, and the other (N(gp)-N(PT) is selected by the roulette method based on the F value of each individual. k )) / 2 pairs of parents; the resulting parent population is P′(k);
[0038] S7. Perform crossover and mutation operations on the individuals in P′(k) to generate a population P″(k);
[0039] S8. For PT in P″(k) k If the overall evaluation function F value of the offspring individuals of the set is not better than that of their parents, their parents are used for back generation to obtain the population P″′(k);
[0040] S9. Replace the non-PT in P″′(k) k N of the offspring rp Each individual is randomly replaced with the global Pareto optimal solution individual to generate the next generation population P(k);
[0041] S10, go to step S4;
[0042] S11, the search is finished, based on the Pareto optimal solution set finally obtained, the solution with the optimal value of the overall evaluation function F is selected and saved; if both the isotropically symmetrical ceiling lamp and the work table lamp have been optimized, go to S13;
[0043] S12, the second stage, let the current lamp to be optimized be a lamp set consisting of m2 working lamps, and go to step S3;
[0044] S13: After the optimization is completed, the obtained optimal solution is output.
[0045] Preferably, the total light illumination and total light color temperature in step S1 are calculated and processed as follows:
[0046] T1. Based on the conversion relationship from color temperature to color coordinates, the color temperature of the isotropically symmetrical ceiling lamp and work table lamp is converted into xyz color coordinates.
[0047] After the color coordinates xyz and brightness of the isotropic symmetrical ceiling lamp are converted into XYZ tristimulus values, the brightness Y is converted into the first illuminance at the i-th learning user position according to the lighting distribution table of the isotropic symmetrical ceiling lamp. At the same time, X and Z are changed in the same proportion to obtain the first XYZ tristimulus corresponding to the position.
[0048] T3, a lamp set consisting of m2 work lamps including the kth work lamp, each lamp in the set converts its color coordinates xyz and brightness into respective XYZ tristimulus values, and then according to its respective lighting distribution table, converts its respective brightness Y into the illuminance at the i-th learning user position, and at the same time, changes its respective X and Z in the same proportion to obtain the XYZ tristimulus transformation value corresponding to the position, the sum of the illuminances corresponding to all lamps in the set is the second illuminance, and all X, Y, and Z tristimulus transformation values are added respectively to obtain the second XYZ tristimulus value,
[0049] T4. Add the first and second illuminances to obtain a total illuminance, add the first and second XYZ tristimulus values to obtain a total XYZ tristimulus value, convert the total XYZ tristimulus value into a total xyz color coordinate, and further convert it into a total color temperature, and search the light color rating table of the i-th learning user according to the total illuminance and the total color temperature to obtain a rating value.
[0050] Preferably, the weighting coefficient in step S1 is also adjusted as follows:
[0051] The total score value is adjusted according to the position of the cursor after the user operates the sliding input device:
[0052] F′=F·(1+η·Δ),
[0053]
[0054]
[0055] Where L is the brightness of the light to be rated, L0 is the brightness of the current light and corresponds to the middle position on the sliding input device. When the cursor slides to the left and right sides of the sliding input device, the left and right ends correspond to 0.9 and 1.1 times the brightness of L0 respectively. n is the brightness corresponding to the cursor position after the user's operation, Δ is the set threshold for score adjustment according to brightness, η is the adjustment coefficient, and F and F′ are the score values before and after adjustment, respectively.
[0056] Preferably, the weighting coefficient in step S1 is also adjusted as follows:
[0057] According to the continuous learning time length t and the color temperature value K, the total score value is adjusted:
[0058] F′=F·η′,
[0059]
[0060] Among them, t is in minutes, K is the color temperature of the light to be rated, K Sis the set intermediate color temperature value, η′ is the adjustment coefficient, and F and F′ are the score values before and after adjustment, respectively.
[0061] Preferably, the weighting coefficient in step S1 is also adjusted as follows:
[0062] If the current time is between 8 am and 5 pm, the total score value is also adjusted according to the similarity between the light color parameter to be rated and the current daylight color:
[0063] F′=F·(1+η),
[0064] η=α·sim(K, Know)+(1-α)·sim(L, Lnow),
[0065] Among them, α is the setting coefficient, K and L are the color temperature value of the light to be scored and the ratio of the brightness to the maximum brightness, respectively, Know and Lnow are the color temperature and relative brightness of the daylight at the current time, respectively, and the relative brightness is the ratio of the daylight brightness at the current time to the daylight brightness at noon, the similarity function sim(,) adopts a normal distribution function or a triangular distribution function centered on the second parameter, and the amplitude of its distribution is set according to the value range of the first parameter, η is the adjustment coefficient, and F and F′ are the score values before and after adjustment, respectively.
[0066] Preferably, the light color rating table further includes a time period field to reflect the difference in ratings of light color for studying or sleeping in different time periods;
[0067] The light color rating table includes light color rating sub-tables for different work and rest modes such as studying and sleeping;
[0068] When the bed has a bed curtain, the lighting distribution table also includes two situations: whether the bed curtain is drawn or not.
[0069] Preferably, at a certain time at night, such as after 22:00, when optimizing parameters of the isotropically symmetrical ceiling lamp, the weight of the non-sleeping user is set to 0.
[0070] Preferably, when the work desk lamp has a significant effect on the sleeping user in the actual environment, the isotropically symmetrical ceiling lamp can be processed with the same light mixing method as the work desk lamp parameter optimization, that is, the optimization of the first and second stages is combined into one stage, and the light color score value is the weighted sum of the evaluation values of all sleeping users and learning users on the total light output after mixing.
[0071] Preferably, the sleeping users and the learning users are distinguished by the following methods:
[0072] At least one bed operation terminal and a photoelectric sensor corresponding to each bed position are provided, and a sleep button, a time knob, a minute knob and a mode key are provided in the bed operation terminal; the time to get up is set by using the time knob, minute knob and mode key, and the photoelectric sensor is used to detect whether the bed curtain is drawn;
[0073] During the optimization process, when it is detected that a user's sleep button is pressed or the bed curtain is drawn, the user is judged to be a sleeping user.
[0074] A waking mode light color scoring table is also set for each user. When it is time for a user to get up, the light color parameters to be optimized are scored based on the established waking mode light color scoring table for the user and the sleeping mode subtable in the light color scoring table of other sleeping users. When calculating the total score, the weight corresponding to the waking user is set higher than the weight corresponding to the sleeping user.
[0075] Compared with the prior art, the scheme of the present invention has the following advantages: the present invention aims at the conflicting demands for lighting of two important work and rest activities, namely, studying and sleeping, in public dormitories. Based on the user's ratings of light color conditions under different work and rest modes, the control unit first optimizes the parameters of the isotropic symmetrical ceiling lamp with a wide illumination range through a multi-objective optimization algorithm, and then optimizes the parameters of the work desk lamp that only illuminates a local range based on the equivalent transformation of the lighting effect. The optimization result is converted into the driving current of each lamp in the lamp group through the dimming mapping unit and adjusted through the driver, thereby realizing automatic optimization of the lighting needs of different work and rest activities in the public dormitory, and the optimization result can be adjusted through the operation of the user interface unit or the comparison with the daylight color, so that the lighting effect better meets the user's needs.
[0076] It should be understood that all combinations of the aforementioned concepts and the additional concepts discussed in more detail below (provided that such concepts are not mutually inconsistent) can be considered as part of the inventive subject matter disclosed herein. In particular, all combinations of the claimed subject matter appearing in the disclosed solution can be considered as part of the inventive subject matter disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 This is a structural diagram of a mixed lighting system for a public dormitory based on isotropically symmetrical ceiling lamps;
[0078] Figure 2 Provide a structural diagram for the control unit;
[0079] Figure 3 This is a schematic diagram of lighting parameter mapping;
[0080] Figure 4 Schematic diagram of lighting environment;
[0081] Figure 5 is a schematic diagram of another lighting environment;
[0082] Figure 6 It is a schematic diagram of the BP neural network structure;
[0083] Figure 7 It is a schematic diagram of the user operation terminal structure;
[0084] Figure 8 It is a schematic diagram of the local structure of the user operation terminal;
[0085] Fig. 9 This is a schematic diagram of the bed operation terminal structure;
[0086] Fig.10 This is a schematic diagram of the lamp group driving structure;
[0087] Fig.11 Optimize the flow chart of mixed lighting in public dormitories based on isotropically symmetrical ceiling lamps;
[0088] Fig.12 This is a workflow diagram of the mixed lighting method for public dormitories based on isotropically symmetrical ceiling lamps.
[0089] in:
[0090] 100 a public dormitory hybrid lighting system based on an isotropically symmetrical ceiling lamp, 110 a light color sensing unit, 120 a position recognition unit, 130 a user identification unit, 140 a user interface unit, 150 a control unit, 160 a dimming mapping unit, 170 a work table lamp, 180 an isotropically symmetrical ceiling lamp,
[0091] 151 input and output module, 152 processing module, 153 memory, 154 neural network,
[0092] 21 workbench, 22 bed, 23 bed curtain, 24 photoelectric sensor, 25 position sensor, 26 user operation terminal, 27 bed operation terminal,
[0093] 261 bottom plate, 262 keyboard, 263 fingerprint input device, 264 display screen, 265 sliding input device, 2651 cursor,
[0094] 271 upper cover plate, 272 lower cover plate, 273 sleep button, 274 hour knob, 275 minute knob, 276 mode button. DETAILED DESCRIPTION
[0095] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments. The present invention covers any substitution, modification, equivalent method and scheme made within the spirit and scope of the present invention.
[0096] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. It should be noted that the accompanying drawings are all simplified and not in exact proportion, and are only used for the purpose of conveniently and clearly assisting in explaining the embodiments of the present invention.
[0097] Example 1
[0098] like Figure 1 As shown, the public dormitory hybrid lighting system 100 based on the isotropic symmetrical ceiling lamp of the present invention includes a position recognition unit 120, a user identification unit 130, a user interface unit 140, a lighting lamp group, a dimming mapping unit 160 and a control unit 150. The lamp group includes a work table lamp 170 and an isotropic symmetrical ceiling lamp 180, which are used to realize hybrid lighting in the public dormitory.
[0099] The user identification unit 130 identifies the user to collect and operate data for a unique individual. Preferably, the user identification unit 130 can use one or more of the following identification methods: fingerprint recognition, iris recognition, voice recognition, and face recognition.
[0100] The user interface unit 140 includes a main switch and a plurality of user operation terminals distributed at different dormitory user locations. The dimming mapping unit 160 maps the light color parameters of the work table lamp and the isotropically symmetrical ceiling lamp optimized by the control unit 150 to their respective driving currents.
[0101] Combination Figure 1 , Fig.12 As shown, the mixed lighting method for public dormitories based on isotropically symmetrical ceiling lamps in the present invention comprises the following steps:
[0102] S1. Initialization: Establishing the light distribution model and light color scoring model in the control unit.
[0103] The lighting set in the public dormitory is composed of an isotropically symmetrical ceiling lamp that provides global basic lighting, and a plurality of work table lamps that provide local supplementary lighting. The work table lamps and the isotropically symmetrical ceiling lamps have the characteristics of adjustable light properties of at least one of color temperature and color, and adjustable brightness.
[0104] The light distribution model is the correspondence between the brightness of each lamp in the public dormitory and the illumination of the work and rest position, and the work and rest position is the work and rest position of each user in the public dormitory, such as study and sleep.
[0105] The light color rating model is a set of light color rating tables, and each user in the public dormitory has a light color rating table, which records the user's rating of the illumination and color temperature / color of the light irradiated at the work and rest position under different work and rest modes;
[0106] S2, send dimming signals to each lamp in the lighting group through the input and output module of the control unit,
[0107] When each lamp is illuminated individually, samples are collected for each lighting environment after dimming changes. At the same time, the brightness of the lamp and the illuminance of each user's work and rest position are obtained and recorded and saved in the light distribution model.
[0108] When the lights are mixed, each user in the public dormitory will rate the lighting environment after the dimming changes, and record the work and rest mode, light illumination, color temperature / color and rating in the light color rating table;
[0109] S3. During online control, a multi-objective optimization algorithm is used to optimize the light color parameters of each lamp.
[0110] First, determine the strategy for encoding and decoding the brightness, color temperature / color and other light color parameters of each lamp, and determine their respective value ranges.
[0111] Determine the parameters such as population size, crossover probability, mutation probability, etc. in the optimization calculation.
[0112] Let the current optimal lamp to be found be an isotropically symmetrical ceiling lamp;
[0113] S4, randomly generate the initial population;
[0114] S5. For each individual in the evolutionary population in the search space, decode and obtain its corresponding light color parameter, and calculate the evaluation value of each individual according to the light color parameter, based on the established light distribution model and light color scoring model:
[0115] For isotropically symmetrical ceiling lamps, the brightness in the light color parameters is converted into the illuminance at the current resting position of each sleeping user according to the light distribution model, and the user's score is calculated by lookup and interpolation according to the user's light color rating table, and then the total score value is calculated by weighted summation of the scores of all sleeping users currently in the public dormitory.
[0116] For work desk lamps, when the work desk lamps to be optimized and the optimized isotropic symmetrical ceiling lamps are mixed together for lighting, the total light output illuminance and total light output color temperature at the current work and rest position of each learning user are calculated based on the light color rating table of the user by searching and interpolating, and then the weighted sum of the ratings of all learning users currently in the public dormitory is used to calculate the total rating value;
[0117] S6. Based on the total score, perform crossover genetics and mutation operations to update the evolution population;
[0118] S7, go to step S5, iterate repeatedly until the search is completed, and output the Pareto optimization solution;
[0119] S8, if the optimization of all lamps has not been completed, the lamp to be optimized is set to be the lamp set consisting of all working lamps, and go to S4; otherwise, go to S9;
[0120] S9. The dimming mapping unit maps the optimization result to the driving current value of each driving current channel of the lamp group, and transmits the current value to the respective drivers of the work table lamps and the isotropically symmetrical ceiling lamps in the lamp group for dimming.
[0121] Combination Figure 1 , Figure 7 As shown, the user operation terminal 26 includes a bottom plate 261, a keyboard 262, a display screen 264 and a sliding input device 265. Among them, the keyboard 262 is used for the public dormitory user to input the user ID, identity and other registration information and various parameters including the light color rating table, and the display screen is used to assist in the display of the parameters.
[0122] The user operation terminal 26 is also provided with a fingerprint input device 263 included in a user identification unit, and the fingerprint input device is used to perform user identification.
[0123] The work table lamps 170 corresponding to the number of dormitory users and the isotropic symmetrical ceiling lamps 180 both have the characteristics of adjustable light properties of at least one of color temperature and color and adjustable brightness. Among them, the light output of the symmetrical ceiling lamp is isotropic symmetrical, and a light source with bat-wing-shaped light distribution can be used.
[0124] Figure 4 , Figure 5 This is a schematic diagram of the lighting environment in a public dormitory. Figure 4 The arrangement of a bed and workbench of a user in a public dormitory is shown, and the workbench 21 is located below the bed 22. There is a workbench lamp 170 on the upper left of the table surface of the workbench 21, a position sensor 25 belonging to the position identification unit in the middle, and a user operation terminal 26 in the upper right corner. There is a bed operation terminal 27 belonging to the user interface unit at the head of the bed 22, and a bed curtain 23 is arranged on the edge of the bed. The photoelectric sensor fixed on the bed curtain pull line can detect the user's operation of pulling up the bed curtain. The position sensor 25 can use an infrared sensor to detect whether the user is studying at the workbench position. When the user pulls up the bed curtain or presses the sleep button in the bed operation terminal 27, the control unit sets the current work and rest mode of the user to sleep; and when all users in the public dormitory are not in the learning mode, the control unit issues a dimming command to turn off the symmetrical ceiling lights and all workbench lamps.
[0125] Preferably, the anisotropic symmetrical ceiling lights can be turned off according to a preset light-off time; preferably, the anisotropic symmetrical ceiling lights can be turned off when a preset number of users are in sleeping mode.
[0126] Figure 4In the embodiment, the isotropically symmetrical ceiling lamp 180 is located on the ceiling at the center of the beds of multiple users, providing basic global lighting, while the workbench lamp provides local lighting for the workbench of each user. The local lighting range of each workbench lamp is limited, and when the distance between learners is far enough, the impact of their respective workbench lamps on the positions of other users can be ignored.
[0127] Preferably, the colors of the lamps in the lighting lamp group are represented by color coordinates xyz.
[0128] See also Figure 1 Preferably, the lamp group uses LED strings 172 / 182 as light sources, and the anisotropically symmetrical ceiling lamp 180 and the work table lamp 170 both adjust the driving current values of the internal LED strings through drivers 181 / 171. The dimming signal sent to the lamp group by the control unit 150 and the dimming mapping unit 160 is the PWM wave duty cycle value of the driving current of each LED string.
[0129] Figure 5 The arrangement of beds and workbenches Figure 4 There is some difference. Figure 5 In the dormitory, four workbenches 21 are placed together, with a workbench lamp 170 on the upper left of the workbench 21 and a user operation terminal 26 in the middle. Position sensors 25 belonging to the position recognition unit are located on the ceiling corresponding to the seats next to each workbench, and four beds are located in the four corners of the dormitory.
[0130] exist Figure 5 In the layout, due to the small distance between each workbench, the working surfaces of different workbenches will be significantly affected by the lighting of the workbench lamps of adjacent workbenches.
[0131] Combination Figure 1 , Figure 2 As shown, the control unit 150 is connected to the user interface unit, the lighting unit, the position identification unit and the user identification unit respectively. The control unit 150 includes a processing module 152, a memory 153, an input and output module 151, and is configured as follows:
[0132] In the offline state, the registration of dormitory users is accepted through the user interface unit and the user identification unit, and the user registration table is stored in the memory 153, wherein the user registration table includes the user identification number, the user identification feature, the workbench position number, and the bed number;
[0133] For each registered user, a light color rating table is input through the user interface unit and saved in the memory. Each record of the light color rating table includes work and rest mode, color temperature, color, illumination, and rating value, wherein one of the color temperature and color fields can be empty.
[0134] In the memory, a lighting distribution table is pre-set for each symmetrical ceiling lamp and each work table lamp in the lamp group as a lighting distribution model to reflect the conversion relationship between the brightness of each lamp and the illumination of each sleeping position or learning position.
[0135] The lighting distribution table may be a list of transformations from brightness to illumination, in which the different brightness of each lamp and the illumination of each workbench and bed in the dormitory corresponding to the brightness are recorded;
[0136] During online control, the processing module 152 uses a multi-objective optimization algorithm based on the work and rest mode input by the user from the user operation terminal and the user position detected by the position recognition unit, the lighting distribution table of each lamp in the lamp group, and the user's light color rating table.
[0137] First, for all sleeping users in the current dormitory, the light output of each work lamp in the lamp group is set to zero, and the brightness, color temperature or color of the isotropic symmetrical ceiling lamp is optimized within the spatial range of the light color parameters of the isotropic symmetrical ceiling lamp.
[0138] Then, for all the study users in the current dormitory, after deducting the light output corresponding to the optimization result of the isotropic symmetrical ceiling lamp, the brightness, color temperature or color of the work desk lamp is optimized within the spatial range of the light color parameters of the work desk lamp.
[0139] Finally, the processing module 152 transmits the optimization result to the dimming mapping unit 160. The dimming mapping unit 160 maps the optimization result to the driving current values of the work table lamp 170 and the isotropically symmetrical ceiling lamp 180 respectively, and transmits the current values to the drivers of the corresponding lamps.
[0140] As a preference, a time period field may be added to the light color rating table to reflect the difference in ratings of light color for studying or sleeping at different time periods;
[0141] As an advantage, the light color scoring table can also be split or screened to obtain light color scoring sub-tables for different work and rest modes such as learning and sleeping;
[0142] Preferably, when the bed has a curtain, the lighting distribution table should distinguish between two situations: whether the curtain is drawn or not;
[0143] As a preferred method, the multi-objective optimization algorithm adopts the MOGA multi-objective genetic algorithm. When calculating the single user score of the light color parameter during the optimization process, the brightness in the light color parameter is first calculated according to the lighting distribution table to obtain the illuminance at the current position of each user in the public dormitory, and then based on the illuminance and the color temperature or color in the light color parameter, the score is calculated according to the light color score table of the user;
[0144] The total score of the optimal light color parameter to be found is the weighted sum of the scores of each single user in the public dormitory. As a preferred method, the weights can be taken as the inverse of the number of users. As a preferred method, the weights of sleeping users are increased at a certain time at night, such as after 22:00, and the weights of learning users are increased at other times.
[0145] Preferably, at a certain time at night, such as after 22:00, when optimizing parameters of the isotropically symmetrical ceiling lamp, the weight of the non-sleeping user is set to 0.
[0146] Preferably, the control unit 150 uploads the data in the memory to an external cloud server via a network connection. When the user changes dormitories, the light color rating table can be automatically read into the memory of the control unit of the new dormitory through the user identification unit.
[0147] Combination Figure 1 , Figure 3 , Figure 4 and Figure 5 As shown, since the illumination range of the desk lamp is limited to the corresponding workbench range, for sleeping users, only the light output of the isotropically symmetrical ceiling lamp can be considered; while for learning users, their work surface is the result of mixed lighting of the isotropically symmetrical ceiling lamp and the desk lamp, so the light color parameters of the work surface should be scored based on the lighting effect after mixing the two light sources.
[0148] like Figure 3 As shown, the corresponding relationship between the brightness of the work table lamp and the illumination of the work surface is the second mapping, and the corresponding relationship between the brightness of the isotropic ceiling lamp and the illumination of the work surface is the first mapping. The brightness can be measured from the center of the work surface toward the light source.
[0149] For the total light output of mixed lighting, the current learning user is based on the light color combination of the illuminance, color or color temperature of his work surface, and the light color rating table of the user is searched to obtain the score of the combination. The score is used in the process of optimizing the light color parameters by the MOGA optimization algorithm.
[0150] Combination Figure 3 As shown, the first mapping and the second mapping are the relationship between the brightness of each lamp and the illuminance of a certain position when the lamp is illuminated alone. Since the three stimulus values of XYZ are proportional to the brightness, they are also proportional to the illuminance corresponding to the brightness. Therefore, based on the principle of equal illumination, a third mapping can be established between the brightness of the isotropic symmetrical ceiling lamp and the brightness of the work table lamp. Thus, through the third mapping, the three stimulus values X, Y, and Z of the isotropic symmetrical ceiling lamp can be converted into the three stimulus values X, Y, and Z of the work table lamp respectively.
[0151] After the optimization of the color parameters of the isotropically symmetrical ceiling light is completed in the first stage, the color parameters of the workbench light are optimized in the second stage. The light output of the isotropically symmetrical ceiling light is deducted according to the following process:
[0152] After converting the color coordinates xyz and brightness of the optimized isotropically symmetrical ceiling lamp into XYZ tristimulus values, the XYZ tristimulus values are converted into XYZ tristimulus equivalent values of the work table lamp at the same learning user position according to the third mapping;
[0153] Then, when optimizing the light color parameters of the work lamp at each learning user's position, the brightness and xyz color coordinates to be optimized are also converted into XYZ tristimulus values, and mixed with the XYZ tristimulus equivalent values, that is, after adding the three stimulus values of X, Y, and Z respectively, the XYZ tristimulus values are converted back to the brightness and xyz color coordinates of the work lamp; the brightness is then calculated through the illuminance distribution table of the work lamp to obtain the corresponding illuminance at the learning user's position, so as to obtain the score of the light color combination composed of the brightness and xyz color coordinates of the work lamp to be optimized by indexing and interpolating the light color score table.
[0154] Alternatively, when the colors of the lamps in the lamp group are expressed in color temperature, the color temperature may be converted into color coordinates xyz first.
[0155] During the processing of the multi-objective optimization algorithm, the light color parameter conditions are scored based on the light color scoring table of each user, and then the scores are weighted and summed to calculate the total score value. Preferably, if the current time is within the range of 8 am to 5 pm, the total score value is also adjusted according to the similarity between the light color parameter to be scored and the current daylight color:
[0156] f′=f·(1+η),
[0157] η=α·sim(K, Know)+(1-α)·sim(L, Lnow),
[0158] Among them, α is the setting coefficient, K and L are the color temperature value of the light to be scored and the ratio of the brightness to the maximum brightness, respectively, Know and Lnow are the color temperature and relative brightness of the current daylight, respectively, and the relative brightness is the ratio of the current daylight brightness to the noon daylight brightness. The similarity function sim(,) adopts a normal distribution function or a triangular distribution function centered on the second parameter, and the amplitude of its distribution is set according to the value range of the first parameter, η is the adjustment coefficient, and f and f′ are the score values before and after adjustment, respectively.
[0159] After optimization and solution, the light color parameters that take into account the lighting requirements of both sleeping users and learning users are obtained. Then, the dimming mapping unit maps the optimized light color parameters to the driving current values of each driving current channel of the lamp group, and transmits the current values to the drivers in the lamp group, thereby realizing automatic optimization of mixed lighting in the public dormitory.
[0160] The dimming mapping unit converts the light color parameters into the mapping of the lamp group driving current based on various means, for example, based on a pre-generated lookup table from the light color space to the driving current space.
[0161] For the sake of simplicity and without loss of generality, the color parameter in the above light color parameters is removed, and only the two parameters of light brightness and color temperature are considered.
[0162] Combination Fig.10 As shown in FIG. 1 , as a commonly used dimmable lamp, it is assumed that the isotropically symmetrical ceiling lamp and the work table lamp each include two LED strings of high color temperature and low color temperature, and each LED string corresponds to a driving current channel, such as Fig.10 As shown in 10a, assuming n = 2. For each lamp, the dimming mapping unit contains a lookup table from the light color space composed of the light brightness and color temperature of the lamp to the dual-channel driving current space. For the optimization result (L0, K0), the dual-channel driving current value is obtained by interpolating in the lookup table.
[0163] First, find four points around P(L0, K0) in the light color space: A(L1, K1), B(L2, K1), C(L1, K2) and D(L2, K2), where L1≤L0≤L2, K1≤K0≤K2.
[0164] Dual channel current value (i 01 ,i 02 ) Use distance as weighted value for interpolation,
[0165]
[0166]
[0167] Among them, d1 represents the shortest distance from P to the four points, d2 is the second shortest point, and so on. T is the sum of the four distances; i 11 and i 21 They are the current values of the two channels at the point with the shortest distance respectively; the four points closest to the point P to be found are given different weights according to the length of the distance, and the point with the shortest distance has the heaviest weight.
[0168] The interpolation method may also be used when scoring the light color parameters based on the light color scoring table.
[0169] like Fig.10 As shown in 10b, assuming that the lamp group uses a three-primary color LED lamp string, its driving current includes three channels of RGB. At this time, for each lamp, the dimming mapping unit contains a lookup table from the light color space composed of the light brightness and color temperature of the lamp to the three-channel driving current space. At this time, changing the driving current value of one of the channels can change the light color of the lamp. When starting from a certain state, when the currents of the three channels increase or decrease synchronously, the lamp can show that the color remains unchanged while the brightness gradually brightens or dims.
[0170] Example 2
[0171] Different from the first embodiment, the present embodiment adopts BP neural network to replace the light color scoring table as the basis for light color scoring.
[0172] like Figure 1 As shown, a public dormitory hybrid lighting system 100 based on an isotropically symmetrical ceiling lamp also includes a light color sensing unit 110. For each user in the public dormitory, an artificial neural network is established in the control unit corresponding to the two work and rest modes of study and sleep. Figure 6 As shown, the neural network adopts BP neural network, its input variables include color temperature and illumination, and the output variable is the light color score value.
[0173] The control unit is further configured to:
[0174] When collecting neural network training samples, the processing module processes the signals collected by the light color sensing unit. For the two work and rest modes of learning and sleeping, the module obtains two light color parameters, namely, the illumination of the workbench during learning and the illumination of the sleeping position during sleeping, and the color temperature. The user then scores the light color parameters.
[0175] After the processing module sends a dimming signal to the lighting lamp group through the input and output module, the processing module repeatedly obtains a training sample set based on the light color sensing unit for the changed light environment, and performs offline training on the neural network based on the sample set.
[0176] During online control, in the process of multi-objective optimization algorithm processing, the trained neural network replaces the light color score table to calculate the light color score value under different light color parameter conditions.
[0177] The BP neural network model is:
[0178] The output of the jth node in the hidden layer is
[0179] The output layer node output is
[0180] Among them, the f() function is taken as the sigmoid function, w ij and v jare the connection weights from the input layer to the hidden layer and from the hidden layer to the output layer, respectively. j and b are the hidden layer and output layer thresholds respectively, k is the number of hidden layer nodes, and the gradient descent method is used for network training.
[0181] Example 3
[0182] Based on Example 1, this example adjusts the scores in the optimization process to obtain a lighting effect that is closer to the user's requirements.
[0183] Combination Figure 7 , Figure 8 As shown, there is a cursor 2651 on the sliding input device 265 of the user operation terminal, and the user adjusts the rating of the light color by moving the cursor.
[0184] When the cursor is located in the middle of the sliding input device, it means that the score in the light color rating table will not be changed; when the cursor moves to the left, it means that the user wants the lamp to emit light that is a little darker than the current brightness, and the score of the light color combination with a lower brightness than the current brightness will be increased; otherwise, when the cursor moves to the right, it means that the user wants the lamp to emit light that is a little brighter than the current brightness, and the score of the light color combination with a higher brightness than the current brightness will be increased.
[0185] Accordingly, the control unit is further configured to:
[0186] In the multi-objective optimization process, after calculating the light color score values for different light color parameter conditions according to the light color score table, the score values are adjusted according to the position of the cursor after the user operates the side of the sliding input device:
[0187] f′=f·(1+η·Δ),
[0188]
[0189]
[0190] Where L is the brightness of the light to be rated, L0 is the brightness of the current light and corresponds to the middle position on the sliding input device. When the cursor slides to the left and right sides of the sliding input device, the left and right ends correspond to 0.9 and 1.1 times the brightness of L0 respectively. n is the brightness corresponding to the cursor position after the user's operation, Δ is the set threshold for score adjustment based on brightness, for example, Δ can be set to 0.1 times, η is the adjustment coefficient, and f and f are the score values before and after adjustment, respectively.
[0191] In addition, experiments show that long-term study can easily make people tired and sleepy, and high color temperature light has a high blue component, which helps users stay focused. For this reason, the accumulated study time and color temperature factors are reflected in the light color rating.
[0192] The position sensor is used to continuously detect whether the user is at the workbench position, and the continuous learning time of the user is obtained by accumulation. Accordingly, the control unit is further configured as follows:
[0193] In the multi-objective optimization process, after calculating the light color score values for different light color parameter conditions according to the light color score table, the score values are adjusted according to the continuous learning time length t and the color temperature value K:
[0194] f′=f·η,
[0195]
[0196] Among them, t is in minutes, K is the color temperature of the light to be rated, K S For the set intermediate color temperature value, such as K S The value is taken as 4500K, η is the adjustment coefficient, and f and f′ are the score values before and after adjustment, respectively.
[0197] As a further improvement, this embodiment also helps the user to gradually wake up from sleep in the morning through light with a lower color temperature.
[0198] like Fig. 9 As shown, the bed operation terminal includes an upper cover plate 271, a lower cover plate 272, a sleep button 273, an hour knob 274, a minute knob 275, and a mode button 276. The user sets the wake-up time for the next day by rotating the hour knob and the minute knob. And when the mode button is pressed, the wake-up lighting mode is activated in the morning of the next day, otherwise, the wake-up mode lighting is canceled.
[0199] Accordingly, the control unit is further configured to:
[0200] A waking mode light color rating table is also set for each user in the memory. When a user's waking mode light color rating table is established, based on the established waking mode light color rating table and the sleeping mode sub-table in the light color rating table of other sleeping users, the light colors of the isotropically symmetrical ceiling lamps and work table lamps are optimized through a multi-objective optimization algorithm, and the dimming mapping unit performs dimming according to the optimization result;
[0201] Preferably, when the getting-up time arrives, the driving current of the work desk lamp is set to zero.
[0202] Preferably, during the morning waking stage, the score weight of the waking user can be set higher than the score weight of the sleeping user during the multi-objective optimization algorithm processing.
[0203] Preferably, when waking up in the morning, the control unit can also reconcile the optimization result with the light color parameters of the morning daylight, that is, based on the position 1 meter away from the window in the dormitory, the XYZ tristimulus values of the daylight are multiplied by the coefficient, and then the daylight component is added to the total light output by subtracting the light output of the isotropically symmetrical ceiling lamps according to the method of Example 1.
[0204] Preferably, when waking up in the morning, the light gradually brightens and reaches the light color corresponding to the optimization result after a certain period of time.
[0205] Example 4
[0206] In this embodiment, a method for optimizing mixed lighting in a public dormitory based on isotropically symmetrical ceiling lamps is provided.
[0207] Combination Fig.11 As shown, a mixed lighting optimization method for a public dormitory based on an isotropically symmetrical ceiling lamp comprises the following steps:
[0208] Y1. Determine the evaluation criteria.
[0209] Assume that there are m1 sleeping users, m2 studying users, 1 isotropically symmetrical ceiling lamp and m2 work table lamps in a public dormitory, and for each user in the public dormitory, a light color rating table is preset in the memory, and the light color rating table records the rating values of various combinations of light color parameters such as color temperature and illumination at the work and rest positions of the user in the work and rest modes such as sleeping or studying.
[0210] Establish the overall evaluation function F of public dormitory lighting based on isotropically symmetrical ceiling lamps.
[0211] Among them, w i is the set weighting coefficient, f i is the evaluation value of each factor,
[0212] For example, for an isotropically symmetrical ceiling lamp, f i for:
[0213] When the isotropically symmetrical ceiling lamp is illuminated alone, its light brightness corresponds to the illumination at each sleeping user's position according to the lighting distribution table, and the combination of its light color temperature, two light color parameters. The corresponding table is looked up in the sleeping mode subtable of the light color rating table for the i-th sleeping user, and the score value obtained is
[0214] For work desk lamps, f i for:
[0215] When the lamp set consists of m2 work table lamps and the mixed lighting of the isotropic symmetrical ceiling lamps, the combination of the two light color parameters of the total light output illuminance and the total light output color temperature corresponds to the score value obtained by looking up the table in the learning mode subtable of the light color score table of the i-th learning user;
[0216] Among them, without loss of generality, w i It can be 1 / N, where N is the number of factors; or during the specified rest period, the weight of sleeping users relative to learning users is increased, and the opposite operation is performed in other time periods;
[0217] Y2. Initialize the evolutionary population size, crossover probability, mutation probability and other parameters, determine the value range and encoding strategy of the color temperature, brightness and color parameters of the isotropic symmetrical ceiling lamps and work table lamps, and the number N replaced by the global Pareto optimal solution in each generation rp ,
[0218] In the first stage, the current optimal lamp is set to be an isotropically symmetrical ceiling lamp;
[0219] Y3, generation number k = 0, for the current lamp or lamp set to be optimized, randomly generate the initial population P(0);
[0220] Y4, let k = k + 1; if the end condition is met, go to Y11, otherwise go to the next step;
[0221] Y5. Decode all individuals in the current generation group P(k-1) to obtain light color parameters, and calculate the evaluation value of each factor of each individual f i , compare and obtain the Pareto optimal solution set PT of this generation k , and update the global Pareto optimal solution set PT g ;
[0222] Y6. If PT k The number of individuals in the set N(PT k ) is an odd number, randomly select an individual to join the PT k Sets, so that they can be paired with each other, calculate the PT in this generation of population k The overall evaluation function F value of each individual outside the set is used, and the other (N(gp)-N(PT) is selected by the roulette method based on the F value of each individual. k )) / 2 pairs of parents; the resulting parent population is P′(k);
[0223] Y7. Perform crossover and mutation operations on the individuals in P′(k) to generate a population P″(k);
[0224] Y8. For PT in P″(k) k If the overall evaluation function F value of the offspring individuals of the set is not better than that of their parents, their parents are used for back generation to obtain the population P″′(k);
[0225] Y9. Replace the non-PT in P″′(k) k N of the offspring rp Each individual is randomly replaced with the global Pareto optimal solution individual to generate the next generation population P(k);
[0226] Y10, go to step Y4;
[0227] Y11. After the search is finished, based on the final Pareto optimal solution set, select the solution with the best overall evaluation function F value and save the optimal solution; if both the isotropically symmetrical ceiling lamp and the work table lamp have been optimized, go to Y13;
[0228] Y12, in the second stage, let the current lamp to be optimized be a lamp set consisting of m2 working lamps, and go to step Y3;
[0229] Y13. Optimization is completed and the obtained optimal solution is output.
[0230] Combination Figure 5 As shown, when the intervals between the workstations of the learning users are small, if their respective workstation lamps have a significant impact on the positions of other learning users, then when scoring the workstation lamps in the optimization process, at each learning user position, the light from the isotropically symmetrical ceiling lamps and all the working workstation lamps must be mixed before scoring.
[0231] Preferably, the total light illumination and total light color temperature in step Y1 are calculated and processed as follows:
[0232] T1. Based on the conversion relationship from color temperature to color coordinates, the color temperature of the isotropically symmetrical ceiling lamp and work table lamp is converted into xyz color coordinates.
[0233] After the color coordinates xyz and brightness of the isotropic symmetrical ceiling lamp are converted into XYZ tristimulus values, the brightness Y is converted into the first illuminance at the i-th learning user position according to the lighting distribution table of the isotropic symmetrical ceiling lamp. At the same time, X and Z are changed in the same proportion to obtain the first XYZ tristimulus corresponding to the position.
[0234] T3, a lamp set consisting of m2 work lamps including the kth work lamp, each lamp in the set converts its color coordinates xyz and brightness into respective XYZ tristimulus values, and then according to its respective lighting distribution table, converts its respective brightness Y into the illuminance at the i-th learning user position, and at the same time, changes its respective X and Z in the same proportion to obtain the XYZ tristimulus transformation value corresponding to the position, the sum of the illuminances corresponding to all lamps in the set is the second illuminance, and all X, Y, and Z tristimulus transformation values are added respectively to obtain the second XYZ tristimulus value,
[0235] T4, adding the first and second illuminances to obtain a total illuminance, adding the first and second XYZ tristimulus values to obtain a total XYZ tristimulus value, converting the total XYZ tristimulus value into a total xyz color coordinate, and further converting it into a total color temperature, searching the light color rating table of the i-th learning user according to the total illuminance and the total color temperature to obtain a rating value;
[0236] The weighting coefficient in step Y1 is also adjusted as follows:
[0237] According to the position of the cursor after the user operates the sliding input device, the continuous learning time length t and the color temperature value K, the total score value is adjusted:
[0238] F′=F·(1+η·Δ)·η′,
[0239]
[0240]
[0241]
[0242] Where L is the brightness of the light to be rated, L0 is the brightness of the current light and corresponds to the middle position on the sliding input device. When the cursor slides to the left and right sides of the sliding input device, the left and right ends correspond to 0.9 and 1.1 times the brightness of L0 respectively. n is the brightness corresponding to the cursor position after the user's operation, Δ is the set threshold for adjusting the score according to the brightness, the unit of t is minutes, K is the color temperature of the light to be scored, K S is the set intermediate color temperature value, η and η′ are the adjustment coefficients, and F and F′ are the score values before and after adjustment, respectively.
[0243] As a preferred method, the effect of work desk lamps on sleeping users is temporarily ignored. When the work desk lamps have a significant effect on sleeping users in the actual environment, the isotropically symmetrical ceiling lamps can be processed with the same light mixing method as the work desk lamp parameter optimization method, that is, the optimization of the first and second stages is combined into one stage, and the light color score value is the weighted sum of the evaluation values of all sleeping users and learning users on the total light output after mixing.
[0244] The present invention is applied to lighting of public dormitories, wherein all-directional symmetrical ceiling lamps provide global basic lighting, and work table lamps provide local supplementary lighting. Based on the illumination distribution model of each lamp and the evaluation of light color parameters by each user in sleeping, studying and other work and rest modes, the control unit optimizes the light output parameters of each lamp through a multi-objective optimization method, and finally converts the optimization result into a driving current value through a dimming mapping unit and sends it to the driver to execute dimming, thereby coordinating the illumination requirements of different users and different work and rest modes in the public dormitory, and realizing automatic optimized mixed lighting of the public dormitory.
[0245] Several embodiments of the present invention are described above, but these embodiments are presented as examples and do not limit the scope of the invention. These embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the scope of the main purpose of the invention. These embodiments or their modifications are included in the scope or main purpose of the invention, and are also included in the invention described in the claims and their equivalents.
Claims
1. A mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps, comprising the following steps: S1. Determine the evaluation criteria. Assume that there are m1 sleeping users, m2 studying users, 1 isotropically symmetrical ceiling lamp and m2 working table lamps in a public dormitory, and for each user in the public dormitory, a light color rating table is preset in the memory, and the light color rating table records the rating values of various color temperature, illuminance and light color parameter combinations of the user's work and rest position in the sleeping or studying work and rest mode. Establish the overall evaluation function F of public dormitory lighting based on isotropically symmetrical ceiling lamps. F=∑w i ·f i , where w i is the set weighting coefficient, f i is the evaluation value of each factor; S2. Initialize the evolution population size, crossover probability, and mutation probability parameters, determine the value range and encoding strategy of the color temperature, brightness, and color parameters of the isotropic symmetrical ceiling lamps and work table lamps, and the number N of the population replaced by the global Pareto optimal solution in each generation. rp , In the first stage, the current optimal lamp is set to be an isotropically symmetrical ceiling lamp. The overall evaluation function of illumination is taken as f i for: When the isotropically symmetrical ceiling lamp is illuminated alone, its light brightness corresponds to the illumination at each sleeping user's position according to the lighting distribution table, and the combination of its light color temperature, two light color parameters, and the corresponding score value is obtained by looking up the sleeping mode subtable in the light color rating table of the i-th sleeping user; S3, generation number k = 0, randomly generate the initial population P(0) for the current lamp or lamp set to be optimized; S4, let k=k+1; if the end condition is met, go to S11, otherwise go to the next step; S5. Decode all individuals in the current generation group P(k-1) to obtain light color parameters, and calculate the evaluation value of each factor of each individual f i , compare and obtain the Pareto optimal solution set PT of this generation k , and update the global Pareto optimal solution set PT g ; S6. If PT k The number of individuals in the set N(PT k ) is an odd number, randomly select an individual to join the PT k Sets, so that they can be paired with each other, calculate the PT in this generation of population k The overall evaluation function F value of each individual outside the set is used, and the other (N(gp)-N(PT) is selected by the roulette method based on the F value of each individual. k )) / 2 pairs of parents; the resulting parent population is P′(k); S7. Perform crossover and mutation operations on the individuals in P′(k) to generate a population P″(k); S8. For PT in P″(k) k If the overall evaluation function F value of the offspring individuals of the set is not better than that of their parents, their parents are used for back generation to obtain the population P″′(k); S9. Replace the non-PT in P″′(k) k N of the offspring rp Each individual is randomly replaced with the global Pareto optimal solution individual to generate the next generation population P(k); S10, go to step S4; S11, the search is finished, based on the Pareto optimal solution set finally obtained, the solution with the optimal value of the overall evaluation function F is selected and saved; if both the isotropically symmetrical ceiling lamp and the work table lamp have been optimized, go to S13; S12, the second stage, let the current lamp to be optimized be a lamp set consisting of m2 working lamps, The overall lighting evaluation function is replaced by f i for: The lamp set consisting of m2 work table lamps and the optimized isotropic symmetrical ceiling lamp mixed lighting, the total light illuminance and the total light color temperature are combined, and the corresponding score value is obtained by looking up the learning mode subtable of the light color rating table of the i-th learning user. Go to step S3; S13, after the optimization is completed, the obtained optimal solution is output; based on the mapping from the light color space to the driving current space, the light color parameters corresponding to the optimal solution are mapped to the driving current values of each driving current channel of the lamp group.
2. The mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps according to claim 1 is characterized in that: The total illumination and total color temperature of the light in step S12 are calculated and processed as follows: T1. Based on the conversion relationship from color temperature to color coordinates, the color temperature of the isotropically symmetrical ceiling lamp and work table lamp is converted into xyz color coordinates. After the color coordinates xyz and brightness of the isotropic symmetrical ceiling lamp are converted into XYZ tristimulus values, the brightness Y is converted into the first illuminance at the i-th learning user position according to the lighting distribution table of the isotropic symmetrical ceiling lamp. At the same time, X and Z are changed in the same proportion to obtain the first XYZ tristimulus corresponding to the position. T3, a lamp set consisting of m2 work lamps including the kth work lamp, each lamp in the set converts its color coordinates xyz and brightness into respective XYZ tristimulus values, and then according to its respective lighting distribution table, converts its respective brightness Y into the illuminance at the i-th learning user position, and at the same time, changes its respective X and Z in the same proportion to obtain the XYZ tristimulus transformation value corresponding to the position, the sum of the illuminances corresponding to all lamps in the set is the second illuminance, and all X, Y, and Z tristimulus transformation values are added respectively to obtain the second XYZ tristimulus value, T4. Add the first and second illuminances to obtain a total illuminance, add the first and second XYZ tristimulus values to obtain a total XYZ tristimulus value, convert the total XYZ tristimulus value into a total xyz color coordinate, and further convert it into a total color temperature, and search the light color rating table of the i-th learning user according to the total illuminance and the total color temperature to obtain a rating value.
3. The mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps according to claim 1 is characterized in that: The overall evaluation function in step S1 is also adjusted as follows: According to the continuous learning time length t and the color temperature value K, the overall evaluation function is adjusted: F′=F·η′, Among them, t is in minutes, K is the color temperature of the light to be rated, K S is the set intermediate color temperature value, η′ is the adjustment coefficient, and F and F′ are the overall evaluation functions before and after adjustment, respectively.
4. The mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps according to claim 1 is characterized in that: The overall evaluation function in step S1 is also adjusted as follows: If the current time is between 8 am and 5 pm, the overall evaluation function should be adjusted according to the similarity between the light color parameter to be evaluated and the current daylight color: F′=F·(1+η), η=α·sim(K, Know)+(1-α)·sim(L, Lnow), Among them, α is the setting coefficient, K and L are the color temperature value of the light to be rated and the ratio of the brightness to the maximum brightness, respectively, Know and Lnow are the color temperature and relative brightness of the daylight at the current time, respectively, and the relative brightness is the ratio of the daylight brightness at the current time to the daylight brightness at noon, the similarity function adopts a normal distribution function or a triangular distribution function centered on the second parameter, and the amplitude of its distribution is set according to the value range of the first parameter, η is the adjustment coefficient, and F and F′ are the overall evaluation functions before and after the adjustment, respectively.
5. The mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps according to claim 1 is characterized in that: The light color rating table also has a time period field to reflect the difference in the light color ratings for studying or sleeping in different time periods; The light color scoring table includes light color scoring sub-tables for different work and rest modes such as learning and sleeping; When the bed has a bed curtain, the lighting distribution table also includes two situations: whether the bed curtain is drawn or not.
6. The mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps according to claim 1 is characterized in that: After a certain time at night, when optimizing the parameters of the isotropically symmetrical ceiling lamps, the weights of non-sleeping users are set to 0.
7. The mixed lighting optimization method for public dormitories based on isotropically symmetrical ceiling lamps according to claim 1 is characterized in that: The sleeping users and learning users are distinguished by the following methods: At least one bed operation terminal and a photoelectric sensor corresponding to each bed position are provided, and a sleep button, a time knob, a minute knob and a mode key are provided in the bed operation terminal; the time to get up is set by using the time knob, minute knob and mode key, and the photoelectric sensor is used to detect whether the bed curtain is drawn; During the optimization process, when it is detected that a user's sleep button is pressed or the bed curtain is drawn, the user is judged to be a sleeping user. A waking mode light color scoring table is also set for each user. When it is time for a user to get up, the light color parameters to be optimized are scored based on the established waking mode light color scoring table for the user and the sleeping mode subtable in the light color scoring table of other sleeping users. When calculating the total score, the weight corresponding to the waking user is set higher than the weight corresponding to the sleeping user.
Citation Information
Patent Citations
Lighting control method and device
CN104066220A
Lighting control apparatus
CN107439056A
Light environment intelligent control method based on neural network
CN108712809A