An intelligent lighting control method based on scene matching

Through the intelligent lighting control system, the lighting mode is dynamically adjusted through the intelligent lighting control system, the existing system's shortcomings in complex scenes and user behavior recognition are solved, and accurate lighting control and personalized needs are achieved.

CN119629810BActive Publication Date: 2025-08-22DANYANG CHANGQIN LIGHTING CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411933037.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-08-22
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

The existing intelligent lighting control system is difficult to accurately identify lighting parameters based on complex scenarios and user behavior, which makes it difficult to meet personalized needs, and the recommendation algorithm is inefficient and cannot meet real-time control needs.

Method used

By presetting the lighting mode, collecting environmental and historical data to calculate the recommendation index, combining user activity intensity and external light source data to correct the matching degree, dynamically adjust the lighting mode to achieve accurate matching.

Benefits of technology

Improve user experience, simplify operational processes, reduce energy consumption, protect vision, improve energy utilization efficiency, and provide personalized lighting control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629810B_ABST
    Figure CN119629810B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of intelligent lighting control, and discloses an intelligent lighting control method based on scene matching, comprising the following steps: presetting lighting modes and setting lighting parameters for each lighting mode; collecting environmental parameters, collecting historical lighting data, and calculating a recommendation index for each lighting mode based on the environmental parameters and historical lighting data; calculating a comprehensive recommendation index for each lighting mode based on the recommendation index, and generating a recommendation table for lighting modes; setting the lighting mode to the lighting mode with the highest comprehensive recommendation index in the recommendation table; collecting a user's activity intensity index, and calculating the degree of match between each lighting mode in the recommendation table and the current scene; and setting the lighting mode to the lighting mode with the highest degree of match between the current scene and the recommendation table. The present invention achieves precise matching and personalized customization of lighting modes, improves user experience, and reduces energy consumption and lighting costs.
Need to check novelty before this filing date? Find Prior Art

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 homes, offices, commercial spaces, and other fields. In the home, intelligent lighting control systems can automatically adjust lighting according to different scenarios (such as reading, watching movies, and resting), creating a suitable lighting atmosphere and improving living quality. In offices and commercial spaces, intelligent lighting control systems can automatically adjust lighting according to different time periods and work needs, improving work efficiency and energy savings. However, despite the significant application results of intelligent lighting control systems in various fields, existing technologies still have some shortcomings.

[0003] Most 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 scenarios, preset scene modes often fail to meet users' personalized needs. In addition, existing systems have limited ability to recognize complex scenes, making it difficult to automatically adjust lighting parameters according to scene changes. To provide a more personalized lighting experience, intelligent lighting control systems need to accurately identify user behavior patterns. However, existing systems still have shortcomings in user behavior recognition. Intelligent lighting control systems need 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 imperfect, 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 their computational efficiency is low and cannot meet the needs of real-time control.

[0004] For example, patent application publication number CN114630472A discloses a lighting control method and device. This method includes detecting environmental characteristics of a target space, including one or more first environmental characteristics independent of the target space and one or more second environmental characteristics dependent on the target space; determining an atmosphere pattern for the target space based on the first and second environmental characteristics; and matching a lighting plan based on the atmosphere pattern to drive the atmosphere lights to produce ambient lighting consistent with the atmosphere pattern. This invention thus provides a solution for controlling ambient lighting based on the scene environment, intelligently adapting to changing scenes.

[0005] For example, the patent application with publication number CN114449710A discloses a lighting control and intelligent adjustment matching system in scene linkage and its construction method. The system includes a lighting unit, a main control unit, a photosensitive unit, a dimming lampshade, a drive unit and an infrared sensing unit. The main control unit writes the scene linkage relationship according to the needs. The main control unit determines whether the lighting unit needs to respond to the scene linkage based on 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 under the system logic based on the natural lighting environment. 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. The main control unit controls the dimming lampshade with the drive unit to realize the lighting range adjustment of the lighting unit.

[0006] The above patents all have the problems raised by this background technology: limited recognition capabilities for complex scenes, making it difficult to automatically adjust lighting parameters according to scene changes; and there are still deficiencies in user behavior recognition.

[0007] The information disclosed in this background section is only intended to enhance understanding of the overall background of the invention and should not be considered as an admission or any form of suggestion that the information constitutes the prior art already known to a person of ordinary skill in the art. Summary of the Invention

[0008] The technical problem to be solved by the present invention is to overcome the defects of the existing technology 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, collect historical lighting data, and calculate the recommended index for 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 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 recommended 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, wherein: any piece of historical lighting data includes a set of environmental parameters and corresponding lighting modes;

[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 jth recommendation index of any lighting mode is calculated as follows: the selection frequency of the lighting mode under the corresponding environmental parameters in the historical lighting data is counted 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 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;

[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 s 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: 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;

[0029] The calculation formula for the matching degree between the lighting mode and the current scene is as follows:

[0030]

[0031] Among them, 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 lighting 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 for correcting the matching degree between the lighting mode and the current scene based on the external light source data is as follows:

[0035] Calculating a first offset index and a second offset index of the lighting mode based on the external light source data;

[0036] Calculating a 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 offset 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 offset rate is as follows:

[0045] P=w L ΔL+w T ΔT;

[0046] Where P represents the parameter offset 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] Where M' represents the corrected matching degree; C represents the correction coefficient, which is assigned based on the parameter offset rate P, as follows:

[0050]

[0051] 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 of the term in the brackets.

[0052] In a second aspect, the present invention provides an electronic device, comprising: a memory for storing instructions; and 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 present invention has the following beneficial effects:

[0055] This invention can intelligently recommend the lighting mode that best matches the user's needs based on current environmental parameters and historical lighting data, thereby improving user comfort. Based on historical lighting data, the system can learn the user's lighting habits and further optimize lighting control strategies to achieve more efficient energy utilization.

[0056] Intelligent lighting control avoids unnecessary light waste and effectively reduces energy consumption. Reasonable lighting parameter settings, such as color temperature and brightness, can reduce eye fatigue and protect vision. It also influences people's emotions and physiological responses, helping to improve users' physical and mental health.

[0057] This invention also provides for the collection and analysis of user activity intensity indicators, enabling the system to more accurately understand the user's current activity status and thus provide more precise lighting control. The system can automatically recommend appropriate lighting modes based on environmental parameters and historical data, eliminating the need for manual adjustment by the user, 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 those skilled in the art, other drawings can be derived from these drawings without inventive effort. 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 the method for correcting the matching degree between the lighting mode and the current scene provided by the present invention;

[0061] Figure 3 A flow chart of the method for collecting external light source data provided by the present invention;

[0062] Figure 4 This is a flowchart of a specific method provided by the present invention for correcting the matching degree between the lighting mode and the current scene based on the parameter offset rate. 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. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[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] Each lighting mode includes lighting parameters such as brightness, color temperature, color saturation, color brightness, and color rendering index. Brightness indicates the brightness of the light. Different activities require different brightness levels. For example, reading requires higher brightness, while resting requires lower brightness. Color temperature indicates the color temperature of the light. Different color temperatures can affect people's emotions and physiological responses. For example, warm colors are suitable for relaxation, while cool colors are good for concentration. Color saturation indicates the purity of the light color. Different color saturations can create an atmosphere. For example, highly saturated colors are suitable for entertainment, while low saturation colors are suitable for quiet environments. Color brightness indicates the brightness of the light color. Different color brightness can affect visual comfort. For example, high-brightness colors are suitable for situations requiring high concentration, while low-brightness colors are suitable for relaxation and rest. The color rendering index indicates how well the light reproduces the color of objects. It is usually expressed as a CRI value, with a maximum value of 100. Light with a high CRI value makes objects appear more realistic, making it suitable for artistic creation and exhibition.

[0070] Preferably, a preset scheme of a lighting mode is as follows:

[0071] The preset lighting modes include the first lighting mode, the second lighting mode, the third lighting mode, the fourth lighting mode, the fifth lighting mode, and the sixth lighting mode; among which:

[0072] The first lighting mode is Reading Mode, designed for reading. Its lighting parameters are as follows: Brightness 1000 lumens; Color Temperature 5000K (Kelvin); Color Saturation 20%; Color Brightness 90%; and Color Rendering Index (CRI) 90. This lighting parameter setting provides ample light, reduces eye fatigue, and improves reading comfort. This mode is suitable for places where long reading sessions are required, such as study rooms and libraries.

[0073] The second lighting mode is Work Mode, designed for work scenarios. Its lighting parameters are set as follows: Brightness 1200lm; Color Temperature 6500K; Color Saturation 20% Low; Color Brightness 100%; and Color Rendering Index (CRI) 95. This lighting parameter setting provides bright light, improving 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, designed for restful use. Its lighting parameters are as follows: Brightness 500lm; Color Temperature 3000K; Color Saturation 10%; Color Brightness 50%; and Color Rendering Index (CRI) 80. This set of lighting parameters provides soft light to help with relaxation and stress relief. This mode is suitable for relaxing spaces like bedrooms and living rooms.

[0075] The fourth lighting mode is Entertainment mode, designed for entertainment. Its lighting parameters are as follows: Brightness 800lm; Color Temperature 4000K; Color Saturation 80%; Color Brightness 80%; and Color Rendering Index (CRI) 85. This lighting parameter setting provides a rich and colorful light, creating a relaxing and enjoyable 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 Conference Mode, designed for meetings. Its lighting parameters are as follows: 1000 lumens brightness, 6500K color temperature, 20% color saturation, 90% color brightness, and a Color Rendering Index (CRI) of 90. This lighting setting provides bright, even light, ensuring clarity and professionalism in meetings. This mode is suitable for conference rooms, training rooms, and other spaces requiring professional lighting.

[0077] The sixth lighting mode is Party Mode, designed for gatherings. Its lighting parameters are as follows: 800lm brightness, 4000K color temperature, 90% color saturation, 100% color brightness, and a Color Rendering Index (CRI) of 85. This lighting setting provides warm and vibrant light, creating a joyful atmosphere. This mode is suitable for living rooms, dining rooms, and other places where a festive atmosphere is desired.

[0078] S2: Collect environmental parameters, collect historical lighting data, and calculate the recommended index for each lighting mode based on the environmental parameters and historical lighting data;

[0079] Any piece of historical lighting data includes a set of 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 represents the frequency of light mode selection for the current day. It's calculated by counting the number of times a light mode was selected on the same day (e.g., Monday) in the past, based on historical lighting data, and dividing that number by the total number of times all light modes were selected on the same day. The current day is represented by the day of the week. Environmental conditions and activity patterns can vary significantly between days; for example, weekdays and weekends have significantly different ambient lighting conditions and activity patterns.

[0083] The second recommendation index indicates how often a lighting mode is selected during the current time period. This is calculated based on historical lighting data by counting the number of times a lighting mode was selected during the same time period (e.g., 8:00-8:30 AM) and dividing it by the total number of times all lighting modes were selected during the same time period. The current time period is measured in half-hour increments. Ambient light levels and activity patterns may vary between time periods; for example, ambient light levels in the morning and evening can differ significantly.

[0084] The third recommendation index represents the current indoor light intensity level, corresponding to the frequency of light mode selection. This is calculated by counting the number of times a light mode was selected within the same indoor light intensity range based on historical lighting data, and dividing this number by the total number of times all light modes were selected within the same indoor light intensity range. The indoor light intensity level refers to the light intensity range corresponding to the indoor light intensity. Light intensity is divided into several ranges (e.g., 0-100 lux, 100-500 lux, 500-1000 lux, etc., where lux is the unit of light intensity, i.e., lux). The indoor light intensity level corresponds to each range. Different indoor light intensities can affect user lighting requirements.

[0085] The fourth recommendation index represents the current outdoor light intensity level, corresponding to the frequency of light mode selection. This is calculated based on historical light data by counting the number of times a light mode was selected within the same outdoor light intensity range in the past, divided by the total number of times all light modes were selected within the same outdoor light intensity range. The outdoor light intensity level refers to the light intensity range corresponding to the outdoor light intensity. Outdoor light intensity directly affects indoor natural lighting, thus influencing user lighting requirements.

[0086] The fifth recommendation index represents the frequency of light mode selections corresponding to the current noise level. This is calculated based on historical lighting data, counting the number of times a light mode was selected at the same noise level in the past and dividing it by the total number of selections for all light modes at the same noise level. The noise level represents the noise range corresponding to the ambient noise level. Noise intensity is divided into several ranges (e.g., 0-30dB, 30-50dB, 50-70dB, etc.), and the range corresponding to the ambient noise level represents the noise level. Different noise levels may reflect different activity states, thus affecting user lighting requirements.

[0087] S3: Based on the recommendation index, calculate the comprehensive recommendation index of each lighting mode and generate a recommendation table of 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, where j is a positive integer ranging from 1 to 5; w ij Indicates s 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 the weight adjustment factor, which can be set by those skilled in the art 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 recommendation index. You can select the lighting mode that best suits the current environment 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. Each activity intensity indicator corresponds to an activity of the user. Preferably, an activity intensity indicator is configured 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 duration. The page turning frequency is the number of times a page is turned within a fixed time window (e.g., 10 minutes). The camera captures an image of a page at fixed time intervals (e.g., 1 second). An edge detection algorithm (e.g., Canny edge detection) is used to detect changes in the page edge, with each change in the page edge being considered a page turn. By monitoring the page turning frequency, it is possible to determine whether the user is reading. The keyboard tapping frequency is the number of times a user taps the keyboard within a time window. The duration of each keyboard tap can be recorded using a built-in sensor in the keyboard or an external keyboard and mouse recorder. High keyboard tapping frequency may indicate that the user is busy working. The eye closure time is the cumulative duration of the user's eyes closed within a time window. The camera captures the user's facial image, and facial recognition technology is used to detect the eye closure state. By monitoring the duration of a user's eye closure, it's possible to determine whether the user is resting or napping. Light change frequency indicates the number of times the color of the indoor light changes within a time window. Light color changes can be detected using a photosensor. A high frequency of light changes may indicate that the user is engaging in recreational activities such as watching a movie or playing games. Voice intensity is the average sound intensity of human voices within a time window. The user's voice can be captured using a microphone, and the sound intensity calculated using an audio processing algorithm. Monitoring human voice intensity can reflect the atmosphere and liveliness of a gathering. Continuous speaking duration is the length of time a user speaks uninterruptedly within a time period. A microphone is used to record the user's voice, and a speech recognition algorithm is used to detect the duration of the continuous speech. Prolonged, continuous speaking may indicate a meeting is in progress.

[0099] The calculation formula for the matching degree between the lighting mode and the current scene is as follows:

[0100]

[0101] Among them, 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; The expected value of the hth activity intensity index corresponding to the lighting mode is set by those skilled in the art based on actual needs. For example, in rest mode, the expected value of eye closure time is 8 minutes, and the expected value of book turning frequency is 0. Before calculating the matching degree, p h and All are normalized. Based on the above matching degree calculation formula, the greater the cumulative difference 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 for collecting external light source data is as follows:

[0105] Determine the target light's illumination range and monitor external light sources within that range. Define the boundaries of the target light's illumination range, including its length, width, height, and specific spatial location. Within the defined illumination range, investigate and identify all external light sources that could affect the area's illumination, such as sunlight, other lamps, and illuminated signs.

[0106] Use brightness detection equipment to detect the brightness of external light sources within the illumination range of the target light according to a predetermined sampling strategy (such as evenly distributed sampling points or stratified sampling based on regional importance, etc.), and record the brightness value of the external light source;

[0107] Use color temperature measurement equipment to detect the color temperature of external light sources within the illumination range of the target light according to a predetermined sampling strategy (such as evenly distributed sampling points or stratified sampling based on regional importance, etc.), and record the color temperature value of the external light source;

[0108] The average brightness value of the external light sources within the illumination range of the target light is calculated as the ambient brightness; the average color temperature value 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 lighting mode are calculated based on the external light source data. 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 brightness value and the preset value within the lighting range 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 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 lights 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 offset index; T e represents the ambient color temperature; T represents the color temperature set in the lighting mode. The second offset index indicates the degree of deviation between the actual color temperature within the lighting range and the preset value when using that lighting mode, after the interaction between the brightness of the external light source and the brightness of the target lighting mode. The color temperature deviation is reflected by the ratio of the difference between the external light source color temperature and the target lighting mode color temperature to the sum of the two. Different light sources in the environment have different color temperatures. For example, the color temperature of sunlight varies significantly at different times of the day (warmer in the early morning and evening, cooler at noon), and different indoor lamps may also have different color temperatures. When light from these external sources mixes with the lighting range of the target light, it significantly alters the originally set color temperature of the target light. For example, in an indoor scene with a predominantly warm color temperature, if a large amount of cool natural light from outside the window enters, the warm color temperature of the 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 offset 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 needs.

[0119] Based on the parameter offset rate, the matching degree between the lighting mode and the current scene is corrected. The formula is as follows:

[0120] M'=M·C;

[0121] Where M' represents the corrected matching degree; C represents the correction coefficient, which is assigned based on the parameter offset 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 of the term 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] One threshold setting scheme for the 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 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 impact on the target lighting parameters, and the lighting pattern can basically maintain its original matching degree with the current scene, so only minor corrections are 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 linearly decreasing manner. As the parameter offset rate increases, it indicates that the external light source begins to have a significant impact on the lighting pattern, and it is necessary to appropriately reduce the matching correction coefficient to make some corrections to the matching degree between the lighting pattern and the scene. For example, when brighter streetlights shine into the target lighting range indoors, causing deviations in parameters such as brightness and color temperature, the calculated offset rate is used to derive the corresponding correction coefficient using the formula above, adjusting the lighting mode's matching accuracy to better suit the current scene. When the comprehensive parameter offset rate P exceeds 0.3, C continues to change at a steeper decreasing rate to reflect the significant correction required for matching, with a minimum value of C set to 0.2. At this point, the external light source significantly impacts the target lighting, severely disrupting the original matching effect between the lighting mode and the scene. Therefore, the matching correction coefficient must be significantly reduced, prompting a significant adjustment to the lighting mode or prompting the user to switch to a more appropriate lighting mode to suit the scene.

[0125] S7: Set the lighting mode to the lighting mode in the recommended table that best matches the current scene.

[0126] Selecting the lighting mode with the highest degree of match from the recommendation table can determine whether the current lighting mode matches the user's actual activity mode and ambient lighting based on the user's activity level. If so, there is no need to adjust the lighting mode. If not, the lighting mode is adjusted to the lighting mode with the highest degree of match for 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 described in this embodiment is an electronic device used to implement the scene matching-based intelligent lighting control method in the embodiment of this application, based on the scene matching-based intelligent lighting control method described in the embodiment of this application, those skilled in the art 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 will not be described in detail here. As long as the electronic device used by those skilled in the art to implement the scene matching-based intelligent lighting control method in the embodiment of this application falls within the scope of protection to be provided by 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 scene matching-based intelligent lighting control method provided in the above embodiments is implemented.

[0132] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, 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 magnetic 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 protected by the present invention.

Claims

1. An intelligent lighting control method based on scene matching, characterized by: The following steps are involved: S1: Preset lighting modes and set lighting parameters for each lighting mode; S2: Collect environmental parameters, collect historical lighting data, and calculate the recommended index for 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 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; There are n activity intensity indicators in total, where n is a positive integer; each 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: Among them, 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 lighting mode; 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; 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: Calculating a first offset index and a second offset index of the lighting mode based on the external light source data; The first offset index is used to quantify the brightness deviation caused by the external light source to the target light. 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 offset index; T e Indicates the ambient color temperature; T indicates the color temperature set in the lighting mode; Calculating a parameter shift rate of the lighting mode based on the first shift index and the second shift index; Based on the parameter offset rate, the matching degree between the lighting mode and the current scene is corrected as follows: Setting a first threshold value of a parameter shift 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 for 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 of the term in the brackets; The matching degree between the lighting mode and the current scene is corrected based on the correction coefficient. The formula is as follows: M'=M·C; Among them, M' represents the corrected matching degree; S7: Set the lighting mode to the lighting mode in the recommended 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 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 jth recommendation index of any lighting mode is calculated as follows: the selection frequency of the lighting mode under the corresponding environmental parameters in the historical lighting data is counted 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 s 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: 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 an illumination range of a target light and monitoring external light sources within the illumination range; Through the brightness detection equipment, the brightness of the external light source is detected according to the predetermined sampling strategy within the illumination range of the target light, and the brightness value of the external light source is recorded; Using a color temperature measuring device, the color temperature of the external light source is detected according to a predetermined sampling strategy within the illumination range of the target light, and the color temperature value of the external light source is recorded; The average brightness value of the external light sources within the illumination range of the target light is calculated as the ambient brightness; the average color temperature value of the external light sources within the illumination range of the target light is calculated as the ambient color temperature.

6. The intelligent lighting control method based on scene matching according to claim 5, characterized in that: The parameter offset rate comprehensively quantifies the brightness and color temperature deviation caused by the external light source to the target light. The calculation formula is as follows: P=w L ·ΔL+w T ·ΔT; Where P represents the parameter offset rate; w L represents the first offset coefficient, w T Represents the second offset coefficient.

7. An electronic device, characterized in that: include: a memory for storing instructions; The processor is configured 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 6.

8. 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 6 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