Intelligent light regulation and control method based on scene matching
Through intelligent lighting control methods based on scene matching, the shortcomings of existing systems in complex scene recognition and user behavior recognition are solved, and the precise matching and personalized customization of lighting patterns are achieved, which improves user experience and energy utilization efficiency.
Patent Information
- Application Number
- CN202411933037.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-12-26
AI Technical Summary
The existing intelligent lighting control system has shortcomings in complex scene recognition and user behavior recognition, and it is difficult to automatically adjust lighting parameters according to scene changes, and the recommended lighting modes are biased from user needs.
An intelligent lighting control method based on scene matching is adopted, and by presetting the lighting mode, collecting environmental parameters and historical lighting data, calculating recommendation index, generating recommendation tables, and adjusting the lighting mode to match the user's activity intensity and external light source data.
It realizes accurate matching and personalized customization of lighting patterns, improves user experience, reduces energy waste, protects vision, and simplifies operational processes.
Smart Images

Figure CN119629810A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent lighting control, and in particular to an intelligent lighting control method based on scene matching. Background Art
[0002] In recent years, intelligent lighting control systems have been widely used in many fields such as homes, offices, and commercial places. In the home field, the intelligent lighting control system can automatically adjust the lighting according to different scenes (such as reading, watching movies, resting, etc.), create a suitable lighting atmosphere, and improve the quality of living. In offices and commercial places, the intelligent lighting control system can automatically adjust the lighting according to different time periods and work needs, improve work efficiency and energy saving effects. However, although the intelligent lighting control system has achieved remarkable application results in many fields, the existing technology still has some shortcomings.
[0003] Most of the existing intelligent lighting control systems perform lighting control based on preset scene modes. However, due to the large differences in lighting needs among different users and in different scenes, the preset scene modes are often difficult to meet the personalized needs of users. In addition, the existing systems have limited recognition capabilities for complex scenes, and it is difficult to automatically adjust lighting parameters according to scene changes. In order to provide a more personalized lighting experience, the intelligent lighting control system needs to accurately identify the user's behavior patterns. However, the existing systems still have shortcomings in user behavior recognition. The intelligent lighting control system needs to comprehensively recommend the optimal lighting mode based on multiple factors (such as environmental parameters, user behavior, historical usage habits, etc.). However, the comprehensive recommendation algorithms of existing systems are often not perfect, resulting in deviations between the recommended lighting modes and the actual needs of users. For example, some systems only consider a single factor (such as time) for recommendation, while ignoring the influence of other important factors; or the computational efficiency is low and cannot meet the needs of real-time control.
[0004] For example, the patent application with publication number CN114630472A discloses a lighting control method and device. The method includes detecting the environmental characteristics of the target space, wherein the environmental characteristics include one or more first environmental characteristics that are independent of the existence of the target space and one or more second environmental characteristics that are dependent on the existence of the target space; determining the atmosphere mode of the target space based on the first and second environmental characteristics; and matching the lighting plan based on the atmosphere mode to drive the atmosphere light to generate an atmosphere light that conforms to the atmosphere mode. Thus, the invention provides a solution for controlling the atmosphere light according to the scene environment, and can be intelligently changed as the scene changes.
[0005] For example, a patent application with publication number CN114449710A discloses a lighting control and intelligent adjustment matching system in scene linkage and a construction method thereof, the system includes a lighting unit, a main control unit, a photosensitive unit, a dimming lampshade, a driving unit and an infrared sensing unit, the main control unit writes a scene linkage relationship according to demand, the main control unit determines whether the lighting unit needs to respond to the scene linkage according to the linkage relationship, the main control unit establishes system logic according to personal needs, including light brightness, light range, etc., and presets the trigger conditions of the logic command, the photosensitive unit senses the external natural lighting environment and interacts with the main control unit, the main control unit determines whether the lighting unit needs to be turned on according to the natural lighting environment under the system logic, if the lighting unit needs to be turned on, its light brightness corresponds to the system preset value of the main control unit, the main control unit controls the lighting range of the lighting unit according to the system preset, and the main control unit controls the dimming lampshade with the driving unit to realize the lighting range adjustment of the lighting unit.
[0006] The above patents all have the problems raised by this background technology: the recognition ability for complex scenes is limited, and it is difficult to automatically adjust the lighting parameters according to scene changes; there are still deficiencies in user behavior recognition.
[0007] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgement or any form of suggestion that the information constitutes the prior art already known to ordinary technicians in this field. Summary of the invention
[0008] The technical problem to be solved by the present invention is to overcome the defects of the prior art and provide an intelligent lighting control method based on scene matching, which realizes accurate matching and personalized customization of lighting modes and improves user experience.
[0009] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0010] In one aspect, the present invention provides an intelligent lighting control method based on scene matching, comprising the following steps:
[0011] S1: Preset lighting modes and set lighting parameters for each lighting mode;
[0012] S2: Collect environmental parameters, count historical lighting data, and calculate the recommendation index of each lighting mode based on the environmental parameters and historical lighting data;
[0013] S3: Based on the recommendation index, calculate the comprehensive recommendation index of each lighting mode and generate a recommendation table of the lighting modes;
[0014] S4: setting the lighting mode to the lighting mode with the highest comprehensive recommendation index in the recommendation table;
[0015] S5: Collect the user's activity intensity index and calculate the matching degree between each lighting mode in the recommendation table and the current scene;
[0016] S6: Collect external light source data, and correct the matching degree between each lighting mode and the current scene based on the external light source data;
[0017] S7: Set the lighting mode to the lighting mode in the recommendation table that best matches the current scene.
[0018] As a preferred solution of the intelligent lighting control method based on scene matching of the present invention, any piece of historical lighting data includes a set of environmental parameters and a corresponding lighting mode;
[0019] The environmental parameters include date, time, indoor light intensity, outdoor light intensity, and environmental noise;
[0020] The recommendation index of any lighting mode includes N levels of recommendation indexes, namely the 1st recommendation index, the 2nd recommendation index, ..., the Nth recommendation index, where N is a positive integer; wherein, any level of recommendation index is calculated based on a corresponding environmental parameter; the calculation method of the jth recommendation index of any lighting mode is as follows: the selection frequency of the lighting mode under the environmental parameters of the corresponding item in the statistical historical lighting data is taken as the jth recommendation index of the lighting mode; j is a positive integer, and the value range is 1 to N.
[0021] As a preferred solution of the intelligent lighting control method based on scene matching described in the present invention, the method of generating a recommendation table of lighting modes is as follows: adding lighting modes whose comprehensive recommendation index is greater than a preset recommendation threshold to the recommendation table;
[0022] The calculation formula of the comprehensive recommendation index is as follows:
[0023]
[0024] Among them, F i represents the comprehensive recommendation index of the i-th lighting mode, the value range of i is 1, 2, ..., m, where m is the total number of lighting modes; s ij represents the jth recommendation index of the i-th lighting mode, where j is a positive integer ranging from 1 to N; w ij Indicates ij The weight coefficient of .
[0025] As a preferred solution of the intelligent lighting control method based on scene matching described in the present invention, the calculation formula of the weight coefficient is as follows:
[0026]
[0027] Among them, w 0jrepresents the initial weight of the jth recommendation index of any lighting mode, α is the weight adjustment factor; s ik It means that when j is equal to k, s ij The value of k is a positive integer ranging from 1 to N; w 0k It means that when j is equal to k, w 0j The value of .
[0028] As a preferred solution of the scene matching-based intelligent lighting control method of the present invention, wherein: the activity intensity index has n items in total, n is a positive integer; any activity intensity index corresponds to an activity of the user;
[0029] The calculation formula for the matching degree between the lighting mode and the current scene is as follows:
[0030]
[0031] Where M represents the matching degree of any lighting mode to the current scene; p h represents the hth activity intensity index corresponding to the lighting mode, and the value range of h is 1, 2, ..., n; Represents the expected value of the hth activity intensity indicator corresponding to the light mode.
[0032] As a preferred solution of the intelligent lighting control method based on scene matching described in the present invention, wherein: the lighting parameters included in any lighting mode include brightness and color temperature;
[0033] The external light source data includes ambient brightness and ambient color temperature; wherein the ambient brightness represents the average brightness of the external light source within the illumination range of the target light; and the ambient color temperature represents the average color temperature of the external light source within the illumination range of the target light;
[0034] For any lighting mode, the method to correct the matching degree between the lighting mode and the current scene based on the external light source data is as follows:
[0035] Calculate a first offset index and a second offset index of the lighting mode based on the external light source data;
[0036] Calculate the parameter shift rate of the lighting mode based on the first shift index and the second shift index;
[0037] The matching degree between the lighting mode and the current scene is corrected based on the parameter offset rate.
[0038] As a preferred solution of the intelligent lighting control method based on scene matching of the present invention, the calculation formula of the first offset index is as follows:
[0039]
[0040] Wherein, ΔL represents the first offset index; L e Indicates the ambient brightness; L indicates the brightness set in the lighting mode;
[0041] The calculation formula of the second offset index is as follows:
[0042]
[0043] Wherein, ΔT represents the second shift index; T e Indicates the ambient color temperature; T indicates the color temperature set in the lighting mode;
[0044] The calculation formula of the parameter deviation rate is as follows:
[0045] P=w L ΔL+w T ΔT;
[0046] Where P represents the parameter deviation rate; w L represents the first offset coefficient, w T Represents the second offset coefficient.
[0047] As a preferred solution of the intelligent lighting control method based on scene matching of the present invention, the formula for correcting the matching degree between the lighting mode and the current scene based on the parameter offset rate is as follows:
[0048] M'=M·C;
[0049] Wherein, M' represents the corrected matching degree; C represents the correction coefficient, and is assigned based on the parameter shift rate P, as follows:
[0050]
[0051] Wherein, P1 represents the first threshold value of the parameter deviation rate, P2 represents the second threshold value of the parameter deviation rate, C1 represents the first threshold value of the correction coefficient, and C2 represents the second threshold value of the correction coefficient; max(·) represents the maximum value of the term in the brackets.
[0052] In a second aspect, the present invention provides an electronic device, comprising: a memory for storing instructions; a processor for executing the instructions, so that the device performs the operations of the scene matching-based intelligent lighting control method described in the present invention.
[0053] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the intelligent lighting control method based on scene matching described in the present invention is implemented.
[0054] Compared with the prior art, the beneficial effects achieved by the present invention are as follows:
[0055] The present invention can intelligently recommend the lighting mode that best matches the user's needs based on the current environmental parameters and historical lighting data, thereby improving the user's comfort. Based on historical lighting data, the system can learn the user's lighting habits, further optimize the lighting control strategy, and achieve more efficient energy utilization.
[0056] Intelligent lighting control can avoid unnecessary light waste and effectively reduce energy consumption. Reasonable lighting parameter settings, such as color temperature and brightness, can reduce eye fatigue and protect eyesight, while affecting people's emotions and physiological reactions, helping to improve users' physical and mental health.
[0057] The present invention also provides the collection and analysis of user activity intensity indicators, so that the system can more accurately understand the user's current activity status, thereby providing more precise lighting control. The system can automatically recommend appropriate lighting modes based on environmental parameters and historical data, and users do not need to adjust manually, simplifying the operation process. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0059] Figure 1 This is a flow chart of the intelligent lighting control method based on scene matching provided by the present invention.
[0060] Figure 2 A flow chart of a method for correcting the matching degree between a lighting mode and a current scene provided by the present invention;
[0061] Figure 3 A flow chart of a method for collecting external light source data provided by the present invention;
[0062] Figure 4 A flowchart of a specific method for correcting the matching degree between a lighting mode and a current scene based on the parameter offset rate provided by the present invention. DETAILED DESCRIPTION
[0063] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations on the technical solution of the present invention. The embodiments of the present invention and the technical features in the embodiments may be combined with each other unless there is a conflict.
[0064] Example 1
[0065] This embodiment introduces an intelligent lighting control method based on scene matching. Figure 1 , the method comprises the following steps:
[0066] The intelligent lighting control method based on scene matching includes the following steps:
[0067] S1: Preset lighting modes and set lighting parameters for each lighting mode;
[0068] Each lighting mode corresponds to an application scenario; the value of each lighting parameter is set for each lighting mode based on the corresponding application scenario; the value of each lighting parameter of the lighting mode under each application scenario can be set based on expert experience;
[0069] The lighting parameters included in any lighting mode include brightness, color temperature, color saturation, color brightness, and color rendering index; among them, brightness refers to the brightness of the light. Different activities have different requirements for brightness. For example, higher brightness is required for reading, while lower brightness is required for resting. Color temperature refers to the color temperature of the light. Different color temperatures can affect people's emotions and physiological reactions. For example, warm colors are suitable for relaxation, and cool colors are suitable for concentration. Color saturation refers to the purity of the light color. Different color saturations can affect the creation of atmosphere. For example, high-saturation colors are suitable for entertainment occasions, and low-saturation colors are suitable for quiet environments. Color brightness refers to the brightness of the light color. Different color brightness can affect visual comfort. For example, high-brightness colors are suitable for occasions that require high concentration, and low-brightness colors are suitable for relaxation and rest. The color rendering index indicates the ability of the light to restore the color of an object, usually expressed in CRI values, with a maximum of 100. Light with a high CRI value can make the color of an object look more realistic, which is suitable for artistic creation and display occasions.
[0070] Preferably, a preset scheme of a lighting mode is as follows:
[0071] The preset lighting modes include a first lighting mode, a second lighting mode, a third lighting mode, a fourth lighting mode, a fifth lighting mode, and a sixth lighting mode; wherein:
[0072] The first lighting mode is the reading mode, and the corresponding application scenario is reading. Its lighting parameters are set as follows: brightness is 1000lm (lumens); color temperature is 5000K (Kelvin); color saturation is 20%; color brightness is 90%; color rendering index (CRI) is 90; this set of lighting parameter settings can provide sufficient light, reduce eye fatigue, and improve reading comfort. This mode is suitable for places such as study rooms and libraries where long-term reading is required.
[0073] The second lighting mode is the working mode, and the corresponding application scenario is working. Its lighting parameters are set as follows: brightness is 1200lm; color temperature is 6500K; color saturation is low 20%; color brightness is 100%; color rendering index (CRI) is 95; this group of lighting parameter settings can provide bright light, improve work efficiency and concentration. This mode is suitable for offices, studios and other places where efficient work is required.
[0074] The third lighting mode is rest mode, and the corresponding application scenario is rest. Its lighting parameters are set as follows: brightness is 500lm; color temperature is 3000K; color saturation is 10%; color brightness is 50%; color rendering index (CRI) is 80; this group of lighting parameter settings can provide soft light to help relax and relieve stress. This mode is suitable for places where you need to relax, such as bedrooms and living rooms.
[0075] The fourth lighting mode is the entertainment mode, and the corresponding application scenario is entertainment. Its lighting parameters are set as follows: brightness is 800lm; color temperature is 4000K; color saturation is 80%; color brightness is 80%; color rendering index (CRI) is 85; this group of lighting parameter settings can provide colorful light and create a relaxing and pleasant atmosphere. This mode is suitable for places that need to create an atmosphere, such as home theaters and game rooms.
[0076] The fifth lighting mode is the conference mode, and the corresponding application scenario is the conference. Its lighting parameters are set as follows: brightness is 1000lm; color temperature is 6500K; color saturation is 20%; color brightness is 90%; color rendering index (CRI) is 90; this group of lighting parameter settings can provide bright and uniform light to ensure the clarity and professionalism of the meeting. This mode is suitable for places that require professional lighting, such as conference rooms and training rooms.
[0077] The sixth lighting mode is the party mode, and the corresponding application scenario is a party. Its lighting parameters are set as follows: brightness is 800lm; color temperature is 4000K; color saturation is high 90%; color brightness is high 100%; color rendering index (CRI) is 85; this group of lighting parameter settings can provide warm and vibrant light to create a joyful party atmosphere. This mode is suitable for places such as living rooms and restaurants that need to create a joyful atmosphere.
[0078] S2: Collect environmental parameters, count historical lighting data, and calculate the recommendation index of each lighting mode based on the environmental parameters and historical lighting data;
[0079] Any piece of historical lighting data includes a set of the environmental parameters and a corresponding lighting mode;
[0080] The environmental parameters include date, time, indoor light intensity, outdoor light intensity, and environmental noise;
[0081] The recommendation index of any lighting mode includes the first recommendation index, the second recommendation index, the third recommendation index, the fourth recommendation index, and the fifth recommendation index;
[0082] The first recommendation index indicates the selection frequency of the corresponding light mode on the current date. The calculation method is based on the historical light data, counting the number of selections of the light mode on the same date in the past (such as Monday), and dividing it by the total number of selections of all light modes on the same date. The current date is represented by "day of the week". The environmental conditions and activity patterns may be different on different dates. For example, the environmental light conditions and activity patterns on weekdays and weekends are very different.
[0083] The second recommendation index indicates the selection frequency of the corresponding light mode in the current time period. The calculation method is to count the number of selections of the light mode in the same time period in the past (e.g. 8:00-8:30) based on historical light data, and divide it by the total number of selections of all light modes in the same time period. The current time period is based on half an hour as the basic unit. The ambient light and activity patterns may be different in different time periods. For example, the ambient light in the morning and evening is very different.
[0084] The third recommendation index represents the current indoor light intensity level, corresponding to the selection frequency of the light mode; the calculation method is based on historical light data, counting the number of selections of the light mode in the same indoor light intensity interval in the past, divided by the total number of selections of all light modes in the same indoor light intensity interval. Among them, the indoor light intensity level is the light intensity interval corresponding to the indoor light intensity; the light intensity is divided into several intervals (for example, 0-100lx, 100-500lx, 500-1000lx, etc., lx is the unit of light intensity, i.e. lux), and the interval corresponding to the indoor light intensity is the indoor light intensity level; different indoor light intensities will affect the user's demand for light.
[0085] The fourth recommendation index represents the current outdoor light intensity level, corresponding to the frequency of light mode selection; the calculation method is based on historical light data, counting the number of times the light mode was selected in the same outdoor light intensity range in the past, divided by the total number of times all light modes were selected in the same outdoor light intensity range. Among them, the outdoor light intensity level is the light intensity range corresponding to the outdoor light intensity; the outdoor light intensity directly affects the natural light in the room, thereby affecting the user's demand for light.
[0086] The fifth recommendation index represents the frequency of selection of the corresponding light mode at the current noise level. The calculation method is based on historical light data, counting the number of selections of the light mode at the same noise level in the past, and dividing it by the total number of selections of all light modes at the same noise level. Among them, the noise level is the noise range corresponding to the ambient noise; the noise intensity is divided into several ranges (for example, 0-30dB, 30-50dB, 50-70dB, etc.), and the range corresponding to the ambient noise is the noise level. Different noise levels may reflect different activity states, thereby affecting the user's demand for lighting.
[0087] S3: Based on the recommendation index, calculate the comprehensive recommendation index of each lighting mode and generate a recommendation table of the lighting modes;
[0088] The method for generating a recommendation table of lighting modes is as follows: adding lighting modes whose comprehensive recommendation index is greater than a preset recommendation threshold to the recommendation table;
[0089] The calculation formula of the comprehensive recommendation index is as follows:
[0090]
[0091] Among them, F i represents the comprehensive recommendation index of the i-th lighting mode, the value range of i is 1, 2, ..., m, where m is the total number of lighting modes; s ij represents the jth recommendation index of the i-th lighting mode, j is a positive integer ranging from 1 to 5; w ij Indicates ij The weight coefficient is calculated as follows:
[0092]
[0093] Among them, w 0j represents the initial weight of the jth recommendation index of any lighting mode, and α is a weight adjustment factor, which is set by technicians in this field based on actual needs; ik It means that when j is equal to k, s ij The value of k is a positive integer ranging from 1 to 5; w 0k It means that when j is equal to k, w 0j The value of
[0094] Based on the above formula, the weight coefficient of the comprehensive recommendation index is dynamically adjusted so that the comprehensive recommendation index of each lighting mode can reflect its usage frequency as much as possible.
[0095] S4: setting the lighting mode to the lighting mode with the highest comprehensive recommendation index in the recommendation table;
[0096] Prioritize setting the lighting mode to the lighting mode with the highest comprehensive recommended index. The lighting mode that best suits the current environment can be selected based on environmental parameters and historical usage habits, so that the system can quickly adjust the lighting mode to a mode that suits user usage habits.
[0097] S5: Collect the user's activity intensity index and calculate the matching degree between each lighting mode in the recommendation table and the current scene;
[0098] There are n activity intensity indicators, where n is a positive integer; any activity intensity indicator corresponds to an activity of the user; preferably, a setting scheme for an activity intensity indicator is as follows: the activity intensity indicators include page turning frequency, keyboard tapping frequency, eye closure time, light change frequency, human voice intensity, and continuous speaking time; wherein the page turning frequency is the number of times a page is turned within a fixed time window (such as 10 minutes); an image of a page is obtained by a camera at fixed time intervals (such as 1 second); an edge detection algorithm (such as Canny edge detection) is used to detect changes in the edge of the page, and a change in the edge of the page is regarded as a page turning; by monitoring the frequency of page turning, it can be determined whether the user is reading. The keyboard tapping frequency is the number of times a user taps the keyboard within a time window; the time of each keyboard tapping can be recorded by a built-in sensor of the keyboard or an external keyboard and mouse recorder. High-frequency keyboard tapping may mean that the user is processing work. Eye closure time is the cumulative length of time the user closes his eyes within a time window; the user's facial image is collected by a camera, and the closed state of the eyes is detected by facial recognition technology. By monitoring the closing time of the user's eyes, it can be determined whether the user is resting or napping. The frequency of light change indicates the number of times the color of the indoor light changes within a time window. The light color change can be detected by a photosensitive sensor. A high frequency of light change may mean that the user is watching a movie, playing games, or other entertainment activities. The intensity of human voice is the average of the sound intensity of human voice within a time window; the user's voice can be collected through a microphone, and the intensity of the sound can be calculated through an audio processing algorithm. Monitoring the intensity of human voice can reflect the atmosphere and liveliness of the party. The continuous speaking time is the length of time the user speaks uninterruptedly within a time period; the user's voice is recorded using a microphone, and the continuous speaking time is detected through a speech recognition algorithm. Long-term continuous speaking means that a meeting may be in progress.
[0099] The calculation formula for the matching degree between the lighting mode and the current scene is as follows:
[0100]
[0101] Where M represents the matching degree of any lighting mode to the current scene; p h represents the hth activity intensity index corresponding to the lighting mode, and the value range of h is 1, 2, ..., n; represents the expected value of the hth activity intensity index corresponding to the lighting mode, which is set by those skilled in the art based on actual needs; for example, in the rest mode, the expected value of the eye closure time is 8 minutes, and the expected value of the book turning frequency is 0; before calculating the matching degree, p h and All have been normalized. Based on the above matching degree calculation formula, the greater the cumulative gap between all activity intensity indicators and their corresponding expected values, the lower the matching degree.
[0102] S6: Collect external light source data, and correct the matching degree between each lighting mode and the current scene based on the external light source data;
[0103] The lighting parameters included in any lighting mode include brightness and color temperature; the external light source data includes ambient brightness and ambient color temperature;
[0104] Reference Figure 3 , the method to collect external light source data is as follows:
[0105] Determine the lighting range of the target light and monitor the external light sources within the lighting range; define the boundaries of the lighting range covered by the target light, including its length, width, height and specific spatial location. Within the determined lighting range, check and identify all external light sources that may affect the lighting conditions in the area, such as sunlight, other lamps, luminous signs, etc.
[0106] Through the brightness detection equipment, the brightness of the external light source is detected within the lighting range of the target light according to a predetermined sampling strategy (such as evenly distributed sampling points or stratified sampling according to regional importance, etc.), and the brightness value of the external light source is recorded;
[0107] Through the color temperature measuring equipment, the color temperature of the external light source is detected within the lighting range of the target light according to the predetermined sampling strategy (such as evenly distributed sampling points or stratified sampling according to regional importance, etc.), and the color temperature value of the external light source is recorded;
[0108] The average value of the brightness values of the external light sources within the illumination range of the target light is calculated as the ambient brightness; and the average value of the color temperature values of the external light sources within the illumination range of the target light is calculated as the ambient color temperature.
[0109] like Figure 2 As shown, for any lighting mode, the method for correcting the matching degree between the lighting mode and the current scene based on the external light source data is as follows:
[0110] The first offset index and the second offset index of the light mode are calculated based on the external light source data; wherein the calculation formula of the first offset index is as follows:
[0111]
[0112] Wherein, ΔL represents the first offset index; L e Indicates the ambient brightness; L indicates the brightness set in the lighting mode. The first offset index indicates the degree of deviation between the actual value of the brightness within the lighting range and the preset value when the lighting mode is adopted after the interaction between the brightness of the external light source and the brightness of the target lighting mode; the brightness deviation is reflected by calculating the relative change after the brightness of the external light source and the target lighting mode are combined. In various environments, brightness is one of the parameters that is most susceptible to interference from external light sources. For example, when natural light penetrates into the room during the day, strong external light will greatly reduce the brightness effect of the target light. Even at night, if there are other light sources such as street lamps and advertising light boxes around, the overall brightness perception of the target lighting area will change.
[0113] The calculation formula of the second offset index is as follows:
[0114]
[0115] Wherein, ΔT represents the second shift index; T e Indicates the ambient color temperature; T indicates the color temperature set in the lighting mode. The second offset index indicates the degree of deviation between the actual value of the color temperature in the lighting range and the preset value when the lighting mode is adopted after the interaction between the brightness of the external light source and the brightness of the target lighting mode; the deviation of the color temperature is reflected by the proportional relationship between the difference between the color temperature of the external light source and the color temperature of the target lighting mode and the sum of the two. Different light sources in the environment have different color temperatures. For example, the color temperature of sunlight varies greatly at different times (warmer in the early morning and evening, cooler at noon), and different lamps in the room may also have different color temperatures. When the light from these external light sources is mixed into the lighting range of the target light, the color temperature effect originally set for the target light will be significantly changed. For example, in an indoor scene dominated by warm color temperature, if a large amount of cold color temperature natural light outside the window enters, the warm color temperature atmosphere of the indoor target light will be diluted.
[0116] The parameter shift rate of the lighting mode is calculated based on the first shift index and the second shift index, and the formula is as follows:
[0117] P=w L ΔL+w T ΔT;
[0118] Where P represents the parameter deviation rate; w L represents the first offset coefficient, w T represents the second offset coefficient, which is assigned by those skilled in the art based on actual requirements.
[0119] Based on the parameter offset rate, the matching degree between the lighting mode and the current scene is corrected, and the formula is as follows:
[0120] M'=M·C;
[0121] Wherein, M' represents the corrected matching degree; C represents the correction coefficient, and is assigned based on the parameter shift rate P, as follows:
[0122]
[0123] Wherein, P1 represents the first threshold value of the parameter offset rate, P2 represents the second threshold value of the parameter offset rate, C1 represents the first threshold value of the correction coefficient, and C2 represents the second threshold value of the correction coefficient; max(·) represents the maximum value in the brackets. The method flow for correcting the matching degree between the lighting mode and the current scene based on the parameter offset rate is as follows: Figure 4 shown.
[0124] A threshold setting scheme for parameter offset rate and correction coefficient is as follows: P1 is 0.1, P2 is 0.3, C1 is 0.95, and C2 is 0.2; under this value setting scheme, based on the correction coefficient assignment formula, when the parameter offset rate P is less than 0.1, the value of the matching correction coefficient C is close to 1. This means that the external light source has little effect on the various parameters of the target light, and the light mode can basically maintain the original matching degree with the current scene, so only a small correction or almost no correction is required (C is always greater than 0.95). If the parameter offset rate P is in the range of 0.1 to 0.3, C is set in a linear decreasing manner. As the parameter offset rate increases, it means that the external light source begins to have a more obvious impact on the light mode, and it is necessary to appropriately reduce the matching correction coefficient to make a certain degree of correction to the matching degree between the light mode and the scene. For example, when some brighter street lights shine into the indoor target lighting range, the brightness, color temperature and other parameters of the light will deviate to a certain extent. At this time, according to the calculated offset rate, the corresponding correction coefficient is obtained through the above formula, and the matching degree of the light mode is adjusted accordingly to make it more suitable for the current scene. When the comprehensive parameter offset rate P is greater than 0.3, C continues to change in a steeper decreasing trend to reflect the significant correction requirements for the matching degree, and the minimum value of C is limited to 0.2. At this time, the external light source has a great impact on the target light, which seriously damages the matching effect of the original light mode and the scene, so it is necessary to significantly reduce the matching degree correction coefficient, prompting the light mode to make a major adjustment or reminding the user to change to a more suitable light mode to adapt to the scene.
[0125] S7: Set the lighting mode to the lighting mode in the recommendation table that best matches the current scene.
[0126] By selecting the lighting mode with the highest degree of match from the recommendation table, it can be determined whether the current lighting mode matches the user's actual activity mode and ambient light based on the user's activity level. If they match, there is no need to adjust the lighting mode. If they do not match, the lighting mode is adjusted to the lighting mode with the highest degree of match with the current scene, thereby maximizing the user experience.
[0127] Example 2
[0128] Based on the same inventive concept as other embodiments, this embodiment introduces an electronic device, including a memory and a processor, wherein the memory is used to store instructions and the processor is used to execute the instructions, so that the computer device executes the scene matching-based intelligent lighting control method provided in the above embodiments.
[0129] Since the electronic device introduced in this embodiment is an electronic device used to implement the intelligent light control method based on scene matching in the embodiment of this application, based on the intelligent light control method based on scene matching introduced in the embodiment of this application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application is not described in detail here. As long as the electronic device used by the technical personnel of this field to implement the intelligent light control method based on scene matching in the embodiment of this application, it belongs to the scope of protection of this application.
[0130] Example 3
[0131] Based on the same inventive concept as other embodiments, this embodiment introduces a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the intelligent lighting control method based on scene matching provided in the above embodiments is implemented.
[0132] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the purpose and scope of protection of the present invention, which are all within the protection of the present invention.
Claims
1. An intelligent lighting control method based on scene matching, characterized in that: The following steps are involved: S1: Preset lighting modes and set lighting parameters for each lighting mode; S2: Collect environmental parameters, count historical lighting data, and calculate the recommendation index of each lighting mode based on the environmental parameters and historical lighting data; S3: Based on the recommendation index, calculate the comprehensive recommendation index of each lighting mode and generate a recommendation table of the lighting modes; S4: setting the lighting mode to the lighting mode with the highest comprehensive recommendation index in the recommendation table; S5: Collect the user's activity intensity index and calculate the matching degree between each lighting mode in the recommendation table and the current scene; S6: Collect external light source data, and correct the matching degree between each lighting mode and the current scene based on the external light source data; S7: Set the lighting mode to the lighting mode in the recommendation table that best matches the current scene.
2. The intelligent lighting control method based on scene matching according to claim 1, characterized in that: Any piece of historical lighting data includes a set of the environmental parameters and a corresponding lighting mode; The environmental parameters include date, time, indoor light intensity, outdoor light intensity, and environmental noise; The recommendation index of any lighting mode includes N levels of recommendation indexes, namely the 1st recommendation index, the 2nd recommendation index, ..., the Nth recommendation index, where N is a positive integer; wherein, any level of recommendation index is calculated based on a corresponding environmental parameter; the calculation method of the jth recommendation index of any lighting mode is as follows: the selection frequency of the lighting mode under the environmental parameters of the corresponding item in the statistical historical lighting data is taken as the jth recommendation index of the lighting mode; j is a positive integer, and the value range is 1 to N.
3. The intelligent lighting control method based on scene matching according to claim 2, characterized in that: The method for generating a recommendation table of lighting modes is as follows: adding lighting modes whose comprehensive recommendation index is greater than a preset recommendation threshold to the recommendation table; The calculation formula of the comprehensive recommendation index is as follows: Among them, F i represents the comprehensive recommendation index of the i-th lighting mode, the value range of i is 1, 2, ..., m, where m is the total number of lighting modes; s ij represents the jth recommendation index of the i-th lighting mode, where j is a positive integer ranging from 1 to N; w ij Indicates ij The weight coefficient of .
4. The intelligent lighting control method based on scene matching according to claim 3, characterized in that: The calculation formula of the weight coefficient is as follows: Among them, w 0j represents the initial weight of the jth recommendation index of any lighting mode, α is the weight adjustment factor; s ik It means that when j is equal to k, s ij The value of k is a positive integer ranging from 1 to N; w 0k It means that when j is equal to k, w 0j The value of .
5. The intelligent lighting control method based on scene matching according to claim 4, characterized in that: There are n activity intensity indicators in total, where n is a positive integer; any activity intensity indicator corresponds to an activity of the user; The calculation formula for the matching degree between the lighting mode and the current scene is as follows: Where M represents the matching degree of any lighting mode to the current scene; p h represents the hth activity intensity index corresponding to the lighting mode, and the value range of h is 1, 2, ..., n; Represents the expected value of the hth activity intensity indicator corresponding to the light mode.
6. The intelligent lighting control method based on scene matching according to claim 5, characterized in that: The lighting parameters included in any lighting mode include brightness and color temperature; the external light source data includes ambient brightness and ambient color temperature; the method for collecting external light source data is as follows: Determining the illumination range of the target light and monitoring the external light source within the illumination range; Through the brightness detection device, the brightness of the external light source is detected according to the predetermined sampling strategy within the lighting range of the target light, and the brightness value of the external light source is recorded; Using the color temperature measuring device, the color temperature of the external light source is detected according to the predetermined sampling strategy within the lighting range of the target light, and the color temperature value of the external light source is recorded; Calculate the average brightness of the external light sources within the illumination range of the target light as the ambient brightness; Calculate the average color temperature of the external light sources within the illumination range of the target light as the ambient color temperature; For any lighting mode, the method to correct the matching degree between the lighting mode and the current scene based on the external light source data is as follows: Calculate a first offset index and a second offset index of the lighting mode based on the external light source data; Calculate the parameter shift rate of the lighting mode based on the first shift index and the second shift index; The matching degree between the lighting mode and the current scene is corrected based on the parameter offset rate.
7. The intelligent lighting control method based on scene matching according to claim 6, characterized in that: The first offset index is used to quantify the brightness deviation caused by the external light source to the target light, and the calculation formula is as follows: Wherein, ΔL represents the first offset index; L e Indicates the ambient brightness; L indicates the brightness set in the lighting mode; The second offset index is used to quantify the color temperature deviation caused by the external light source to the target light. The calculation formula is as follows: Wherein, ΔT represents the second shift index; T e Indicates the ambient color temperature; T indicates the color temperature set in the lighting mode; The parameter offset rate comprehensively quantifies the brightness and color temperature deviation caused by the external light source to the target light, and the calculation formula is as follows: P=w L ·ΔL+w T ·ΔT; Where P represents the parameter deviation rate; w L represents the first offset coefficient, w T Represents the second offset coefficient.
8. The intelligent lighting control method based on scene matching according to claim 7, characterized in that: The method for correcting the matching degree between the lighting mode and the current scene based on the parameter offset rate is as follows: Setting a first threshold value of a parameter deviation rate and a first threshold value of a parameter offset rate, and setting a first threshold value of a correction coefficient and a second threshold value of a correction coefficient; Based on the parameter offset rate, a correction coefficient of the matching degree between the lighting mode and the current scene is assigned, and the formula is as follows: Wherein, C represents the correction coefficient; P1 represents the first threshold value of the parameter shift rate, P2 represents the second threshold value of the parameter shift rate, C1 represents the first threshold value of the correction coefficient, and C2 represents the second threshold value of the correction coefficient; max(·) represents the maximum value in the brackets; The matching degree between the lighting mode and the current scene is corrected based on the correction coefficient, and the formula is as follows: M'=M·C; Wherein, M' represents the corrected matching degree.
9. An electronic device, characterized in that: include: A memory for storing instructions; The processor is used to execute the instruction so that the device performs the operation of the intelligent lighting control method based on scene matching as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the intelligent lighting control method based on scene matching as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Light control and intelligent adjustment matching system in scene linkage and construction method thereof
CN114449710A
Light control method and equipment
CN114630472A
Intelligent controllable lighting networks and their outline
CN102273323A
Lighting system
CN106051614A
Intelligent interactive energy-saving lamp control platform
CN117156635A
Cited By
Voice table lamp control method and device based on mode memory, equipment and medium
CN120264550A
Scene-adaptive intelligent lighting dimming and color-adjusting control method and system
CN120379116A