AI-based ambient lighting control data analysis system and method
By setting sensors in the lighting control area, collecting environmental data in real time and generating lighting control solutions based on different lighting scenes, the problem that traditional lighting control is difficult to adapt to changes in real-time environmental parameters is solved, intelligent lighting adjustment is realized, and lighting quality and comfort are improved.
Patent Information
- Application Number
- CN202411968529.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-30
AI Technical Summary
Traditional lighting control is difficult to adapt to changes in real-time environmental parameters in different spatial areas, resulting in unsuitable light intensity, affecting the lighting effect and the lighting experience of people.
Using an AI-based environmental lighting control data analysis system, by setting sensors in the lighting control area, collecting environmental data in real time, calculating environmental characteristics, and generating corresponding lighting control schemes based on different lighting scenes, dynamically adjusting the switching state and lighting values of the lighting equipment.
The intelligent level of lighting control areas has been significantly improved, and the lighting is intelligently adjusted according to personnel activities and indoor and outdoor lighting differences, reducing energy consumption, improving lighting quality and personnel comfort.
Smart Images

Figure CN119789273A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of lighting control technology, and specifically relates to an AI-based environmental lighting control data analysis system and method. Background Art
[0002] With the development of smart buildings and smart cities, environmental lighting control has gradually moved from traditional manual adjustment to automation and intelligence. In public areas such as parking lots, lighting control areas, factories and warehouses, reasonable adjustment of lighting intensity and distribution can not only improve user comfort, but also significantly reduce energy consumption.
[0003] Public places such as office buildings and factories have a variety of spatial areas, such as workspaces, meeting rooms, corridors, etc. At present, the lighting in public areas is still controlled manually or according to preset fixed times, ignoring the perception of real-time environmental parameters in different spatial areas. In particular, in public areas where screen equipment such as projection screens or projection screens are installed, traditional lighting control is difficult to adapt to such areas with diversified lighting requirements, resulting in inappropriate light intensity in the area, affecting the lighting effect and lighting experience of people;
[0004] Therefore, people urgently need an AI-based ambient lighting control data analysis system to solve the above problems. Summary of the invention
[0005] The purpose of the present invention is to provide an AI-based environmental lighting control data analysis system to solve the problems raised in the above-mentioned background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] An AI-based ambient lighting control data analysis method, the method comprising the following steps:
[0008] S1. Set up sensors in the lighting control area, collect and store environmental data records of the lighting control area through the sensors; extract real-time environmental data records of the lighting control area, and calculate real-time environmental characteristics of the lighting control area;
[0009] S2. judging the lighting scene of the lighting control area according to the real-time environmental characteristics of the lighting control area, wherein the lighting scene includes a first scene, a second scene, a third scene and a fourth scene;
[0010] S3. When the lighting scene is the first scene, the real-time on / off status of the lighting equipment is obtained, and a lighting control plan for the first scene is generated; when the lighting scene is the second scene, the second scene lighting value of the lighting control area is calculated according to the real-time environmental data record of the lighting control area, and a lighting control plan for the second scene is generated; when the lighting scene is the third scene, the third scene lighting value of the lighting control area is calculated according to the real-time environmental data record of the lighting control area, and a lighting control plan for the third scene is generated; when the lighting scene is the fourth scene, the facial images of the people in the area are obtained by using the image sensor of the lighting control area, the average facial light intensity of the people in the area is calculated, and the fourth scene lighting value of the lighting control area is calculated in combination with the minimum lighting value of the lighting equipment, and a lighting control plan for the fourth scene is generated; the lighting equipment is controlled according to the lighting control plan.
[0011] According to the above technical solution, step S1 includes the following:
[0012] S1-1. Each time the sensor set in the lighting control area collects data, an environmental data record of the lighting control area is generated and stored in the database. The environmental data record includes indoor light intensity value, outdoor light intensity value, number of people in the area, noise intensity and screen light intensity value;
[0013] The lighting control area is a public area with a projection screen or a projection screen, such as a conference room, a projection room, etc.; the sensor is set in the lighting control area, and the collection range of the sensor covers the corresponding lighting control area, and is used to collect environmental data of the lighting control area;
[0014] The indoor light intensity value indicates the light intensity of the current environment within the lighting control area, and the outdoor light intensity value refers to the light intensity outside the lighting control area. It is obtained using light intensity sensors including illuminance sensors or photoelectric sensors. Such sensors are usually based on the photoelectric effect and can sense the light in the environment and output corresponding electrical signals. The size of the signal is proportional to the light intensity. The sensor is installed near the wall, ceiling or outside the window within the lighting control area and can sense the changes in light in real time.
[0015] The screen light intensity value refers to the brightness intensity of the projection screen or projection screen in the lighting control area. The screen image is captured by an image sensor and the brightness data of the image is analyzed to obtain the screen light intensity value.
[0016] S1-2, the environmental characteristics include internal and external difference values, screen impact values and active values; extract the real-time environmental data records of the lighting control area from the database, and use the formula: A1 = |A e -A o|, calculate the real-time inside-outside difference value of the lighting control area, where A1 represents the real-time inside-outside difference value of the lighting control area, A e Indicates the real-time indoor light intensity value of the lighting control area, A o Indicates the real-time outdoor light intensity value of the lighting control area;
[0017] The inside-outside difference value is used to measure the difference between the indoor light intensity value and the outdoor light intensity value. By calculating the inside-outside difference value, the system can determine whether the current indoor light is sufficient and further determine whether the lighting equipment needs to be controlled;
[0018] According to the real-time indoor light intensity value and screen light intensity value of the lighting control area, use the formula: A2 = A s / A e , calculate the real-time screen light intensity value of the lighting control area, where A2 represents the real-time screen impact value of the lighting control area, A s Indicates the real-time screen light intensity value of the lighting control area;
[0019] When the indoor light intensity is too strong, it will cause screen reflection or reduce screen visibility, affecting people's viewing experience. By calculating the screen light intensity value in real time, it can be determined whether the current light intensity distribution has an adverse effect on the screen, so as to dynamically adjust the lighting conditions to ensure that the content displayed in the lighting control area is clearly visible. Especially when people are conducting conference presentations or video conferences in the conference room, lighting control is particularly important.
[0020] According to the real-time number of people and noise intensity in the lighting control area, the formula is used: B = α × N 2 +β×ln(C), calculate the real-time activity value of the lighting control area, where B represents the real-time activity value of the lighting control area, α represents the number of people weight, N represents the real-time number of people in the lighting control area, β represents the noise weight, and C represents the real-time noise intensity of the lighting control area;
[0021] According to the dynamic changes of noise intensity and the number of people in the area, the real-time activity value of the lighting control area is obtained to provide data support for the judgment of the lighting scene, thereby optimizing the lighting environment.
[0022] According to the above technical solution, step S2 includes the following:
[0023] S2-1, if the real-time number of people in the lighting control area is zero, the lighting scene of the lighting control area is the first scene;
[0024] The first scenario is used to ensure that the lighting equipment is turned off when no one is in the lighting control area, so as to achieve energy saving effect, such as when the lighting equipment is still turned on when no one is in the meeting room;
[0025] S2-2, if the real-time number of people in the lighting control area is not zero, and the real-time activity value of the lighting control area is greater than or equal to the first threshold, and the real-time screen light intensity value of the lighting control area is less than the second threshold, then the lighting scene of the lighting control area is the second scene;
[0026] The second scenario can be a scenario where employees are resting in the office, their computer screens are turned off, and they are chatting with each other. It can also be a scenario where they are in a meeting room and there is no need to use a projector for presentations or video conferences, but only for normal work discussions. The system ensures that the ambient light is sufficient based on the activity level.
[0027] S2-3, if the real-time number of people in the lighting control area is not zero, the real-time activity value of the lighting control area is less than the first threshold, and the real-time screen light intensity value of the lighting control area is greater than or equal to the second threshold, then the lighting scene of the lighting control area is the third scene;
[0028] The third scenario can be a conference room or lecture room where relevant personnel are giving a presentation, or a projection room where a movie is being shown. The system will adjust the lighting appropriately according to the screen light intensity value to better focus on the presentation content and reduce unnecessary light interference;
[0029] S2-4, if the real-time number of people in the lighting control area is not zero, the real-time activity value of the lighting control area is greater than or equal to the first threshold, and the real-time screen light intensity value of the lighting control area is greater than or equal to the second threshold, then the lighting scene of the lighting control area is the fourth scene;
[0030] The fourth scenario can be a video conference in a conference room, where both parties discuss the meeting via video, or a shopping mall performance, etc. The system will adjust the lighting appropriately according to the light on the person's face to better improve the lighting quality and avoid affecting the visual experience of the person due to uneven light or shadows.
[0031] According to the above technical solution, step S3 includes the following:
[0032] S3-1, when the lighting scene is the first scene, extracting the real-time switch state of the lighting device and the real-time environmental data record of the lighting control area from the database, wherein the real-time switch state includes on and off;
[0033] The lighting control scheme for the first scene is as follows:
[0034] If the real-time on / off state of the lighting device is on, the lighting device is controlled to set the real-time on / off state of the lighting device to off;
[0035] If the real-time switch state of the lighting device is off, the real-time number of people in the lighting control area is obtained by using the sensor of the lighting control area. When the real-time number of people in the lighting control area obtained by the sensor is not zero, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D sta ; Among them, D sta Indicates the standard lighting value of the lighting device; when the real-time number of people in the lighting control area obtained by the sensor is not zero, and the real-time inside-outside difference value of the lighting control area is less than the third threshold, the lighting device is not controlled; the standard lighting value of the lighting device is a system preset parameter;
[0036] Ensure that the lighting equipment can be controlled according to actual needs in the first scenario to avoid wasting energy. At the same time, through the judgment of light differences, ensure that even when there is no meeting activity, if someone enters the lighting control area, the lighting equipment can be automatically turned on when the light is insufficient, and basic lighting is maintained;
[0037] S3-2, when the lighting scene is the second scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, according to the real-time indoor light intensity value A of the lighting control area e And the real-time outdoor light intensity value A of the lighting control area o , using the formula: D1 = (A e +A o ) / 2+ΔA, calculating the second scene lighting value of the lighting control area, wherein D1 represents the second scene lighting value of the lighting control area, and ΔA represents the lighting compensation value;
[0038] The lighting compensation value ΔA is used to adjust the situation of insufficient or excessive lighting to ensure a comfortable lighting environment. Through intelligent compensation and dynamic calculation, the system can adapt to changes in indoor and outdoor lighting to ensure the light stability of the meeting environment.
[0039] Extract the second scene lighting values of all corresponding lighting control areas from the database, and calculate the average value of the second scene lighting values of the corresponding lighting control areas, which is recorded as D1';
[0040] The lighting control scheme for the second scenario is as follows:
[0041] If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D1;
[0042] If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D1'.
[0043] According to the above technical solution, step S3 includes the following:
[0044] S3-3, when the lighting scene is the third scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, according to the real-time indoor light intensity value A of the lighting control area e And the real-time screen light intensity value A of the conference room s , using the formula: D2 = max{0, A e -A s / 2}, calculate the third scene lighting value of the lighting control area, where D2 represents the third scene lighting value of the lighting control area, max{0, A e -A s / 2} means between 0 and A e -A s / 2 select the maximum value;
[0045] S3-3-1, extracting the third scene lighting values of all corresponding lighting control areas from the database, and calculating the average value of the third scene lighting values of the corresponding lighting control areas, which is recorded as D2';
[0046] S3-3-2. The lighting control scheme for the third scene is as follows:
[0047] If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D2;
[0048] If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D2'.
[0049] According to the above technical solution, step S3 includes the following:
[0050] S3-4. When the lighting scene is the fourth scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, the image sensor of the lighting control area is used to obtain the facial image of the personnel in the area, and the face detection algorithm is used to extract the face contour in the facial image, and the facial image is converted into a grayscale image, and the average grayscale value of all pixel points in the area surrounded by the face contour in the facial image is calculated as the average facial light intensity of the personnel in the corresponding area;
[0051] At present, face detection algorithms such as those based on OpenCV, Haar cascade classifiers, MTCNN or deep learning are already very mature. Existing technologies extract the face contour in facial images;
[0052] S3-4-1. Calculate the average of the facial light intensity of all people in the area, denoted as E; set the fourth threshold, denoted as F;
[0053] If E<F, then use the formula: D3=D sta +δ×(FE), calculating the fourth scene lighting value of the lighting control area, where D3 represents the fourth scene lighting value of the lighting control area, and δ represents the adjustment coefficient;
[0054] If E≥F, then use the formula: D3=D sta +δ×(EF), calculate the fourth scene lighting value of the lighting control area;
[0055] According to the difference between the real-time average facial light intensity and the set threshold, the lighting value of the fourth scene is dynamically adjusted to ensure uniform light, avoid uncomfortable light intensity or shadows, and improve the quality of video conferencing;
[0056] S3-4-2, extracting the fourth scene lighting values of all corresponding lighting control areas from the database, and calculating the average value of the fourth scene lighting values of the corresponding lighting control areas, which is recorded as D3';
[0057] S3-4-3. The lighting control scheme for the fourth scene lighting value is as follows:
[0058] If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D3;
[0059] If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D3'.
[0060] An AI-based environmental lighting control data analysis system, the system includes an information acquisition module, an environmental feature judgment module and a lighting control module;
[0061] The information acquisition module is used to collect and store environmental data of the lighting control area; the environmental feature judgment module is used to judge the current lighting scene based on real-time environmental data; and the lighting control module is used to adjust the switch state and lighting value of the lighting equipment according to the lighting scene.
[0062] According to the above technical solution, the information collection module includes a lighting control area information unit and a lighting equipment information unit;
[0063] The lighting control area information unit is used to collect the indoor light intensity value, outdoor light intensity value, noise intensity, number of people in the area and screen light intensity value of the lighting control area in real time through sensors, and store the environmental data in the database to ensure that the system can continuously update the environmental status; the lighting equipment information unit is used to monitor and record the switch status and lighting value of the lighting equipment in real time to ensure that the system can be dynamically adjusted according to real-time data.
[0064] According to the above technical solution, the information processing module includes an environmental feature calculation unit and a lighting scene judgment unit;
[0065] The environmental feature calculation unit is used to calculate the internal and external difference value, screen impact value and active value as environmental features according to the real-time environmental data of the lighting control area; the lighting scene judgment unit is used to judge the current lighting scene according to the environmental features.
[0066] According to the above technical solution, the lighting control module includes a solution generation unit and a dynamic control unit;
[0067] The solution generation unit is used to generate corresponding lighting control solutions for different lighting scenes; and the dynamic control unit is used to dynamically control lighting equipment.
[0068] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0069] The present invention collects and analyzes environmental data records of the lighting control area in real time, dynamically adjusts the ambient lighting based on AI technology, and can intelligently optimize lighting control according to different lighting scenes, significantly improving the intelligence level of lighting in the lighting control area. Compared with traditional lighting systems that rely on manual control or fixed modes, the present invention can intelligently adjust the switch status and lighting value of lighting equipment according to personnel activities and indoor and outdoor lighting differences, further reducing energy consumption, and can flexibly respond to different meeting needs, ensuring the suitability of light in lighting scenes, and improving personnel comfort and lighting effects. At the same time, the present invention effectively improves the lighting quality through precise facial light intensity mean detection and dynamic adjustment of lighting, avoiding the impact of uneven light or shadows on people's visual experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0071] Figure 1 It is a flow chart of an AI-based environmental lighting control data analysis method of the present invention;
[0072] Figure 2It is a structural schematic diagram of an AI-based environmental lighting control data analysis system of the present invention. DETAILED DESCRIPTION
[0073] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical visitors in this field without creative work are within the scope of protection of the present invention.
[0074] See also Figure 1 , the present invention provides a technical solution:
[0075] An AI-based ambient lighting control data analysis method, the method comprising the following steps:
[0076] S1. Set up sensors in the lighting control area, collect and store environmental data records of the lighting control area through the sensors; extract real-time environmental data records of the lighting control area, and calculate real-time environmental characteristics of the lighting control area;
[0077] According to the above technical solution, step S1 includes the following:
[0078] S1-1. Each time the sensor set in the lighting control area collects data, an environmental data record of the lighting control area is generated and stored in the database. The environmental data record includes indoor light intensity value, outdoor light intensity value, number of people in the area, noise intensity and screen light intensity value;
[0079] The indoor light intensity value indicates the light intensity of the current environment within the lighting control area, and the outdoor light intensity value refers to the light intensity outside the lighting control area. It is obtained using light intensity sensors including illuminance sensors or photoelectric sensors. Such sensors are usually based on the photoelectric effect and can sense the light in the environment and output corresponding electrical signals. The size of the signal is proportional to the light intensity. The sensor is installed near the wall, ceiling or outside the window within the lighting control area and can sense the changes in light in real time.
[0080] The screen light intensity value refers to the brightness intensity of the screens of electronic devices such as monitors, projectors, and televisions in the lighting control area. The screen image is captured using an image sensor and the brightness data of the image is analyzed to obtain the screen light intensity value.
[0081] S1-2, the environmental characteristics include internal and external difference values, screen impact values and active values; extract the real-time environmental data records of the lighting control area from the database, and use the formula: A1 = |A e -A o|, calculate the real-time inside-outside difference value of the lighting control area, where A1 represents the real-time inside-outside difference value of the lighting control area, A e Indicates the real-time indoor light intensity value of the lighting control area, A o Indicates the real-time outdoor light intensity value of the lighting control area;
[0082] The inside-outside difference value is used to measure the difference between the indoor light intensity value and the outdoor light intensity value. By calculating the inside-outside difference value, the system can determine whether the current indoor light is sufficient and further determine whether the lighting equipment needs to be controlled;
[0083] According to the real-time indoor light intensity value and screen light intensity value of the lighting control area, use the formula: A2 = A s / A e , calculate the real-time screen light intensity value of the lighting control area, where A2 represents the real-time screen impact value of the lighting control area, A s Indicates the real-time screen light intensity value of the lighting control area;
[0084] When the indoor light intensity is too strong, it will cause screen reflection or reduce screen visibility, affecting people's viewing experience. By calculating the screen light intensity value in real time, it can be determined whether the current light intensity distribution has an adverse effect on the screen, so as to dynamically adjust the lighting conditions to ensure that the content displayed in the lighting control area is clearly visible. Especially when people are conducting conference presentations or video conferences in the conference room, lighting control is particularly important.
[0085] According to the real-time number of people and noise intensity in the lighting control area, the formula is used: B = α × N 2 +β×ln(C), calculate the real-time activity value of the lighting control area, where B represents the real-time activity value of the lighting control area, α represents the number of people weight, N represents the real-time number of people in the lighting control area, β represents the noise weight, and C represents the real-time noise intensity of the lighting control area;
[0086] According to the dynamic changes of noise intensity and the number of people in the area, the real-time activity value of the lighting control area is obtained to provide data support for the judgment of the lighting scene, thereby optimizing the lighting environment.
[0087] S2. judging the lighting scene of the lighting control area according to the real-time environmental characteristics of the lighting control area, wherein the lighting scene includes a first scene, a second scene, a third scene and a fourth scene;
[0088] According to the above technical solution, step S2 includes the following:
[0089] S2-1, if the real-time number of people in the lighting control area is zero, the lighting scene of the lighting control area is the first scene;
[0090] S2-2, if the real-time number of people in the lighting control area is not zero, and the real-time activity value of the lighting control area is greater than or equal to the first threshold, the lighting scene of the lighting control area is the second scene;
[0091] S2-3, if the real-time number of people in the lighting control area is not zero, the real-time activity value of the lighting control area is less than the first threshold, and the real-time screen light intensity value of the lighting control area is greater than or equal to the second threshold;
[0092] The image sensor in the lighting control area is used to obtain the real-time screen image, and the face detection algorithm is used to analyze whether a face is detected in the real-time screen image;
[0093] When no human face is detected in the real-time screen image, the lighting scene of the lighting control area is the third scene;
[0094] When a human face is detected in the real-time screen image, the lighting scene of the lighting control area is the fourth scene.
[0095] S3. When the lighting scene is the first scene, the real-time on / off state of the lighting device is obtained, and a lighting control scheme for the first scene is generated; when the lighting scene is the second scene, the second scene lighting value of the lighting control area is calculated according to the real-time environmental data record of the lighting control area, and a lighting control scheme for the second scene is generated; when the lighting scene is the third scene, the third scene lighting value of the lighting control area is calculated according to the real-time environmental data record of the lighting control area, and a lighting control scheme for the third scene is generated; when the lighting scene is the fourth scene, the facial image of the personnel in the area is obtained by using the image sensor of the lighting control area, the average facial light intensity of the personnel in the area is calculated, and the fourth scene lighting value of the lighting control area is calculated in combination with the minimum lighting value of the lighting device, and a lighting control scheme for the fourth scene is generated; the lighting device is controlled according to the lighting control scheme;
[0096] According to the above technical solution, step S3 includes the following:
[0097] S3-1, when the lighting scene is the first scene, extracting the real-time switch state of the lighting device and the real-time environmental data record of the lighting control area from the database, wherein the real-time switch state includes on and off;
[0098] The lighting control scheme for the first scene is as follows:
[0099] If the real-time on / off state of the lighting device is on, the lighting device is controlled to set the real-time on / off state of the lighting device to off;
[0100] If the real-time switch state of the lighting device is off, the real-time number of people in the lighting control area is obtained by using the sensor of the lighting control area. When the real-time number of people in the lighting control area obtained by the sensor is not zero, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D sta ; Among them, D sta Indicates the standard lighting value of the lighting device; when the real-time number of people in the lighting control area obtained by the sensor is not zero, and the real-time inside-outside difference value of the lighting control area is less than the third threshold, the lighting device is not controlled;
[0101] For example:
[0102] The system determines that the lighting scene of a lighting control area is the first scene. At this time, the real-time switch state of the lighting equipment in the lighting control area is off, until the system detects that a person enters the lighting control area. The system calculates that the real-time inside-outside difference value of the lighting control area when the person enters is greater than or equal to the third threshold, and then controls the lighting equipment to turn on at the minimum lighting value;
[0103] Ensure that the lighting equipment can be controlled according to actual needs in the first scenario to avoid wasting energy. At the same time, through the judgment of light differences, ensure that even when there is no meeting activity, if someone enters the lighting control area, the lighting equipment can be automatically turned on when the light is insufficient, and basic lighting is maintained;
[0104] S3-2, when the lighting scene is the second scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, according to the real-time indoor light intensity value A of the lighting control area e And the real-time outdoor light intensity value A of the lighting control area o , using the formula: D1 = (A e +A o ) / 2+ΔA, calculating the second scene lighting value of the lighting control area, wherein D1 represents the second scene lighting value of the lighting control area, and ΔA represents the lighting compensation value;
[0105] The lighting compensation value ΔA is used to adjust the situation of insufficient or excessive lighting to ensure a comfortable lighting environment. Through intelligent compensation and dynamic calculation, the system can adapt to changes in indoor and outdoor lighting to ensure the light stability of the meeting environment.
[0106] Extract the second scene lighting values of all corresponding lighting control areas from the database, and calculate the average value of the second scene lighting values of the corresponding lighting control areas, which is recorded as D1';
[0107] The lighting control scheme for the second scenario is as follows:
[0108] If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D1;
[0109] If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D1';
[0110] For example:
[0111] The system determines that the lighting scene of a lighting control area is the second scene. At this time, the real-time switch state of the lighting equipment in the lighting control area is on, and the lighting value of the lighting equipment is D sta ; The system calculates the average value D1' of the second scene lighting value of all lighting control areas, controls the lighting value of the lighting equipment, and sta Adjust to D1'.
[0112] According to the above technical solution, step S3 includes the following:
[0113] S3-3, when the lighting scene is the third scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, according to the real-time indoor light intensity value A of the lighting control area e And the real-time screen light intensity value A of the conference room s , using the formula: D2 = max{0, A e -A s / 2}, calculate the third scene lighting value of the lighting control area, where D2 represents the third scene lighting value of the lighting control area, max{0, A e -A s / 2} means between 0 and A e -A s / 2 select the maximum value;
[0114] S3-3-1, extracting the third scene lighting values of all corresponding lighting control areas from the database, and calculating the average value of the third scene lighting values of the corresponding lighting control areas, which is recorded as D2';
[0115] S3-3-2. The lighting control scheme for the third scene is as follows:
[0116] If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D2;
[0117] If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D2';
[0118] For example:
[0119] The system determines that the lighting scene of a lighting control area is the third scene. At this time, the real-time switch state of the lighting equipment in the lighting control area is off; the system calculates that the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, and further calculates the third scene lighting value D2=A of the lighting control area e -A s / 2, the lighting device is controlled to turn on with the lighting value of D2.
[0120] According to the above technical solution, step S3 includes the following:
[0121] S3-4. When the lighting scene is the fourth scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, the image sensor of the lighting control area is used to obtain the facial image of the personnel in the area, and the face detection algorithm is used to extract the face contour in the facial image, and the facial image is converted into a grayscale image, and the average grayscale value of all pixel points in the area surrounded by the face contour in the facial image is calculated as the average facial light intensity of the personnel in the corresponding area;
[0122] At present, face detection algorithms such as those based on OpenCV, Haar cascade classifiers, MTCNN or deep learning are already very mature. Existing technologies extract the face contour in facial images;
[0123] S3-4-1. Calculate the average of the facial light intensity of all people in the area, denoted as E; set the fourth threshold, denoted as F;
[0124] If E<F, then use the formula: D3=D sta +δ×(FE), calculating the fourth scene lighting value of the lighting control area, where D3 represents the fourth scene lighting value of the lighting control area, and δ represents the adjustment coefficient;
[0125] If E≥F, then use the formula: D3=D sta +δ×(EF), calculate the fourth scene lighting value of the lighting control area;
[0126] According to the difference between the real-time average facial light intensity and the set threshold, the lighting value of the fourth scene is dynamically adjusted to ensure uniform light, avoid uncomfortable light intensity or shadows, and improve the quality of video conferencing;
[0127] S3-4-2, extracting the fourth scene lighting values of all corresponding lighting control areas from the database, and calculating the average value of the fourth scene lighting values of the corresponding lighting control areas, which is recorded as D3';
[0128] S3-4-3. The lighting control scheme for the fourth scene lighting value is as follows:
[0129] If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D3;
[0130] If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D3'.
[0131] See also Figure 2 , an AI-based environmental lighting control data analysis system, the system includes an information acquisition module, an environmental feature judgment module and a lighting control module;
[0132] The information acquisition module is used to collect and store environmental data of the lighting control area; the environmental feature judgment module is used to judge the current lighting scene based on real-time environmental data; and the lighting control module is used to adjust the switch state and lighting value of the lighting equipment according to the lighting scene.
[0133] According to the above technical solution, the information collection module includes a lighting control area information unit and a lighting equipment information unit;
[0134] The lighting control area information unit is used to collect the indoor light intensity value, outdoor light intensity value, noise intensity, number of people in the area and screen light intensity value of the lighting control area in real time through sensors, and store the environmental data in the database to ensure that the system can continuously update the environmental status; the lighting equipment information unit is used to monitor and record the switch status and lighting value of the lighting equipment in real time to ensure that the system can be dynamically adjusted according to real-time data.
[0135] According to the above technical solution, the information processing module includes an environmental feature calculation unit and a lighting scene judgment unit;
[0136] The environmental feature calculation unit is used to calculate the internal and external difference value, screen impact value and active value as environmental features according to the real-time environmental data of the lighting control area; the lighting scene judgment unit is used to judge the current lighting scene according to the environmental features.
[0137] According to the above technical solution, the lighting control module includes a solution generation unit and a dynamic control unit;
[0138] The solution generation unit is used to generate corresponding lighting control solutions for different lighting scenes; and the dynamic control unit is used to dynamically control lighting equipment.
[0139] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention is described in detail with reference to the aforementioned embodiments, for technical visitors in the field, it is still possible to modify the technical solutions recorded in the aforementioned embodiments, or to replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An AI-based ambient lighting control data analysis method, characterized in that: The method comprises the following steps: S1. Set up sensors in the lighting control area, collect and store environmental data records of the lighting control area through the sensors; extract real-time environmental data records of the lighting control area, and calculate real-time environmental characteristics of the lighting control area; S2. judging the lighting scene of the lighting control area according to the real-time environmental characteristics of the lighting control area, wherein the lighting scene includes a first scene, a second scene, a third scene and a fourth scene; S3. When the lighting scene is the first scene, the real-time on / off status of the lighting equipment is obtained, and a lighting control plan for the first scene is generated; when the lighting scene is the second scene, the second scene lighting value of the lighting control area is calculated according to the real-time environmental data record of the lighting control area, and a lighting control plan for the second scene is generated; when the lighting scene is the third scene, the third scene lighting value of the lighting control area is calculated according to the real-time environmental data record of the lighting control area, and a lighting control plan for the third scene is generated; when the lighting scene is the fourth scene, the facial images of the people in the area are obtained by using the image sensor of the lighting control area, the average facial light intensity of the people in the area is calculated, and the fourth scene lighting value of the lighting control area is calculated in combination with the minimum lighting value of the lighting equipment, and a lighting control plan for the fourth scene is generated; the lighting equipment is controlled according to the lighting control plan.
2. The AI-based environmental lighting control data analysis method according to claim 1, characterized in that: The step S1 comprises the following: S1-1. Each time the sensor set in the lighting control area collects data, an environmental data record of the lighting control area is generated and stored in the database. The environmental data record includes indoor light intensity value, outdoor light intensity value, number of people in the area, noise intensity and screen light intensity value; S1-2, the environmental characteristics include internal and external difference values, screen impact values and active values; extract the real-time environmental data records of the lighting control area from the database, and use the formula: A1 = |A e -A o |, calculate the real-time inside-outside difference value of the lighting control area, where A1 represents the real-time inside-outside difference value of the lighting control area, A e Indicates the real-time indoor light intensity value of the lighting control area, A o Indicates the real-time outdoor light intensity value of the lighting control area; According to the real-time indoor light intensity value and screen light intensity value of the lighting control area, use the formula: A2 = A s / A e , calculate the real-time screen light intensity value of the lighting control area, where A2 represents the real-time screen impact value of the lighting control area, A s Indicates the real-time screen light intensity value of the lighting control area; According to the real-time number of people and noise intensity in the lighting control area, the formula is used: B = α × N 2 +β×ln(C), calculate the real-time activity value of the lighting control area, where B represents the real-time activity value of the lighting control area, α represents the number of people weight, N represents the real-time number of people in the lighting control area, β represents the noise weight, and C represents the real-time noise intensity of the lighting control area.
3. The AI-based environmental lighting control data analysis method according to claim 2, characterized in that: The step S2 comprises the following: S2-1, if the real-time number of people in the lighting control area is zero, the lighting scene of the lighting control area is the first scene; S2-2, if the real-time number of people in the lighting control area is not zero, and the real-time activity value of the lighting control area is greater than or equal to the first threshold, and the real-time screen light intensity value of the lighting control area is less than the second threshold, then the lighting scene of the lighting control area is the second scene; S2-3, if the real-time number of people in the lighting control area is not zero, the real-time activity value of the lighting control area is less than the first threshold, and the real-time screen light intensity value of the lighting control area is greater than or equal to the second threshold, then the lighting scene of the lighting control area is the third scene; S2-4. If the real-time number of people in the lighting control area is not zero, the real-time activity value of the lighting control area is greater than or equal to the first threshold, and the real-time screen light intensity value of the lighting control area is greater than or equal to the second threshold, then the lighting scene of the lighting control area is the fourth scene.
4. The AI-based environmental lighting control data analysis method according to claim 3, characterized in that: The step S3 includes the following: S3-1, when the lighting scene is the first scene, extracting the real-time switch state of the lighting device and the real-time environmental data record of the lighting control area from the database, wherein the real-time switch state includes on and off; The lighting control scheme for the first scene is as follows: If the real-time on / off state of the lighting device is on, the lighting device is controlled to set the real-time on / off state of the lighting device to off; If the real-time switch state of the lighting device is off, the real-time number of people in the lighting control area is obtained by using the sensor of the lighting control area. When the real-time number of people in the lighting control area obtained by the sensor is not zero, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D sta Among them, D sta Indicates the standard lighting value of the lighting device; when the real-time number of people in the lighting control area obtained by the sensor is not zero, and the real-time inside-outside difference value of the lighting control area is less than the third threshold, the lighting device is not controlled; S3-2, when the lighting scene is the second scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, according to the real-time indoor light intensity value A of the lighting control area e And the real-time outdoor light intensity value A of the lighting control area o , using the formula: D1 = (A e +A o ) / 2+ΔA, calculating the second scene lighting value of the lighting control area, wherein D1 represents the second scene lighting value of the lighting control area, and ΔA represents the lighting compensation value; Extract the second scene lighting values of all corresponding lighting control areas from the database, and calculate the average value of the second scene lighting values of the corresponding lighting control areas, which is recorded as D1'; The lighting control scheme for the second scenario is as follows: If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D1; If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D1'.
5. The AI-based environmental lighting control data analysis method according to claim 4, characterized in that: The step S3 includes the following: S3-3, when the lighting scene is the third scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, according to the real-time indoor light intensity value A of the lighting control area e And the real-time screen light intensity value A of the conference room s , using the formula: D2 = max{0, A e -A s / 2}, calculate the third scene lighting value of the lighting control area, where D2 represents the third scene lighting value of the lighting control area, max{0, A e -A s / 2} means between 0 and A e -A s / 2 select the maximum value; S3-3-1, extracting the third scene lighting values of all corresponding lighting control areas from the database, and calculating the average value of the third scene lighting values of the corresponding lighting control areas, which is recorded as D2'; S3-3-2. The lighting control scheme for the third scene is as follows: If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D2; If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D2'.
6. The AI-based environmental lighting control data analysis method according to claim 5, characterized in that: The step S3 includes the following: S3-4. When the lighting scene is the fourth scene, the real-time switch state of the lighting device is off, and the real-time inside-outside difference value of the lighting control area is greater than or equal to the third threshold, the image sensor of the lighting control area is used to obtain the facial image of the personnel in the area, and the face detection algorithm is used to extract the face contour in the facial image, and the facial image is converted into a grayscale image, and the average grayscale value of all pixel points in the area surrounded by the face contour in the facial image is calculated as the average facial light intensity of the personnel in the corresponding area; S3-4-1. Calculate the average of the facial light intensity of all people in the area, denoted as E; set the fourth threshold, denoted as F; If E<F, then use the formula: D3=D min +δ×(FE), calculating the fourth scene lighting value of the lighting control area, where D3 represents the fourth scene lighting value of the lighting control area, and δ represents the adjustment coefficient; If E≥F, then use the formula: D3=D min +δ×(EF), calculate the fourth scene lighting value of the lighting control area; S3-4-2, extracting the fourth scene lighting values of all corresponding lighting control areas from the database, and calculating the average value of the fourth scene lighting values of the corresponding lighting control areas, which is recorded as D3'; S3-4-3. The lighting control scheme for the fourth scene lighting value is as follows: If the real-time switch state of the lighting device is off, the lighting device is controlled to set the real-time switch state of the lighting device to on, and the lighting value of the lighting device is set to D3; If the real-time switch state of the lighting device is on, the lighting device is controlled to adjust the lighting value of the lighting device to D3'.
7. An AI-based ambient lighting control data analysis system, such as using an AI-based ambient lighting control data analysis method according to any one of claims 1 to 6, characterized in that: The system includes an information collection module, an environmental feature judgment module and a lighting control module; The information acquisition module is used to collect and store environmental data of the lighting control area; the environmental feature judgment module is used to judge the current lighting scene based on real-time environmental data; and the lighting control module is used to adjust the switch state and lighting value of the lighting equipment according to the lighting scene.
8. The AI-based ambient lighting control data analysis system according to claim 7, characterized in that: The information collection module includes a lighting control area information unit and a lighting equipment information unit; The lighting control area information unit is used to collect the indoor light intensity value, outdoor light intensity value, noise intensity, number of people in the area and screen light intensity value of the lighting control area in real time through sensors, and store the environmental data in a database to ensure that the system can continuously update the environmental status; The lighting equipment information unit is used to monitor and record the switch status and lighting value of the lighting equipment in real time, ensuring that the system can be dynamically adjusted according to real-time data.
9. The AI-based environmental lighting control data analysis system according to claim 7, characterized in that: The information processing module includes an environmental feature calculation unit and a lighting scene judgment unit; The environmental feature calculation unit is used to calculate the internal and external difference value, the screen impact value and the active value as environmental features according to the real-time environmental data of the lighting control area; The lighting scene determination unit is used to determine the current lighting scene according to environmental characteristics.
10. The AI-based environmental lighting control data analysis system according to claim 7, characterized in that: The lighting control module includes a scheme generation unit and a dynamic control unit; The solution generation unit is used to generate corresponding lighting control solutions for different lighting scenes; and the dynamic control unit is used to dynamically control lighting equipment.
Citation Information
Patent Citations
College classroom lighting power saving control system and control method thereof
CN108617062A
Indoor lighting control system
CN108882466A
Information processing apparatus, information processing method, and computer readable medium
CN114780047A
Conference scene automatic switching method and system
CN115453930A
Visual assistance enhancement method and electronic equipment
CN116320367A