Intelligent dimming method, system and storage medium
Through intelligent dimming methods and systems, a small number of sensors and intelligent algorithms are used to adjust the luminous intensity of the light source, solving the problem of high cost and uneven light in the existing technology, realizing an energy-saving and environmentally friendly uniform lighting environment, and protecting the vision of adolescents.
Patent Information
- Application Number
- CN202111065980.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-10
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2041-09-10
AI Technical Summary
The existing automatic dimming system cannot save costs and achieve uniform light at the same time, and cannot effectively solve the insufficient lighting environment in adolescents' myopia problem.
Using intelligent dimming methods and systems, through a small number of sensors combined with intelligent algorithms, dimming modes and rules are defined according to the information of light collection equipment and human body sensing equipment, adjust the luminous intensity of each light source, and realize uniformity of lighting space and energy-saving and environmental protection. .
Reduce costs, achieve a more uniform lighting environment, protect students' vision, and provide an energy-saving and environmentally friendly learning environment.
Smart Images

Figure CN113891529B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wireless communication, and specifically relates to an intelligent dimming method, system and storage medium. Background Technology
[0002] Currently, research data shows that there are over 600 million people with myopia in my country, and the prevalence of myopia among children and adolescents has exceeded 60%. Myopia has become a major problem affecting the eye health of the nation, especially young people. According to the "Guidelines for the Prevention and Treatment of Myopia," environmental factors such as lighting have become one of the important causes of myopia in adolescents. Therefore, providing teachers and students with a healthier and more suitable intelligent lighting environment has become a common goal.
[0003] In existing automatic dimming systems, each light source controller carries a separate light sensor for light source adjustment. Although this can achieve uniform illumination, it is costly. Alternatively, in existing automatic dimming systems, one light sensor is used for one system / group of light sources. Although the cost is not high, it cannot achieve a more uniform lighting environment.
[0004] The existing technology cannot simultaneously achieve both cost savings and uniform illumination, and no effective technical solution has yet been proposed to address this issue. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this application proposes an intelligent dimming method, system, and storage medium.
[0006] In a first aspect, this application proposes an intelligent dimming method, comprising the following steps:
[0007] Collect dimming data, including: the number and location of light collection devices, the number and location of human body sensing devices, and the number and location of light sources;
[0008] Based on the dimming data and application scenarios, define dimming modes and set dimming rules corresponding to each dimming mode;
[0009] According to the dimming mode and dimming rules, receive information from the light acquisition device and the human body sensing device;
[0010] Based on the dimming mode and dimming rules, light acquisition device information and human body sensing device information, the adjustable luminous intensity of the i-th light source is obtained;
[0011] The luminous intensity of each light source is adjusted according to the luminous intensity of the i-th light source.
[0012] The dimming rules corresponding to each dimming mode include:
[0013] Set all parameters involved in the dimming rules;
[0014] Set the adjustment order for each light source, which includes simultaneous adjustment and sequential adjustment;
[0015] The application time and sequence of all parameters involved in the dimming rules are designed according to the application scenario.
[0016] All parameters involved in the dimming rules include: pre-output luminous intensity, maximum luminous intensity of each light source, adjustment level of each light source, brightness corresponding to each level, time interval for adjusting the light source, duration of unattended state, first deviation threshold of luminous intensity, and second deviation threshold of luminous intensity.
[0017] The adjusted luminous intensity of the i-th light source is obtained by calculating the following steps:
[0018] Based on the number and location of the light acquisition devices, the number and location of the light sources, the illumination space is divided into areas with consistent light intensity.
[0019] Based on the first current luminous intensity collected by the light acquisition device and the regions with consistent light intensity, the luminous intensity of each region with consistent light intensity is determined by the mean value method.
[0020] Calculate the difference between the luminous intensity of each region with consistent light intensity and the pre-output luminous intensity. The difference is the adjusted luminous intensity of the i-th light source.
[0021] The adjusted luminous intensity of the i-th light source is obtained by calculating the following steps:
[0022] Based on the number and location of the light acquisition devices, the number and location of the human body sensing devices, the number of light sources and their locations, the attenuation degree of each light source is calculated;
[0023] The average value of the current luminous intensity is obtained by averaging the first current luminous intensity collected by all light-collecting devices;
[0024] The difference in luminous intensity is obtained by subtracting the current average luminous intensity from the pre-output luminous intensity.
[0025] The difference in luminous intensity is distributed equally or weighted to each light source to obtain the pre-tuning intensity of the i-th light source;
[0026] The adjustable luminous intensity of the i-th light source is obtained based on the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source.
[0027] The adjusted luminous intensity of the i-th light source is obtained based on the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source, and the specific formula is as follows:
[0028]
[0029] The steps for adjusting the luminous intensity of the light source based on the luminous intensity of the i-th light source are as follows:
[0030] Divide the luminous intensity of the i-th light source by the brightness corresponding to each level to obtain the adjustment level of each light source;
[0031] Based on the adjustment level of each light source, the luminous intensity of each light source is adjusted for the first time;
[0032] The current luminous intensity is collected again using a light acquisition device to obtain a second current luminous intensity;
[0033] Based on the first current luminous intensity and the second current luminous intensity, calculate the actual luminous intensity adjustment difference after the first adjustment, which is the difference between the first current luminous intensity and the second current luminous intensity;
[0034] Based on the actual light intensity adjustment difference and the adjustment level of each light source, calculate the actual brightness corresponding to each level, that is, divide the actual light intensity adjustment difference by the adjustment level of each light source.
[0035] Based on the second current luminous intensity, the pre-output luminous intensity, and the actual brightness corresponding to each level, calculate the new adjustment level for each light source, i.e.
[0036]
[0037] Based on the new adjustment level of each light source, the luminous intensity of the light source is readjusted;
[0038] Repeat the above process until the current luminous intensity collected by the light acquisition device for the nth time falls between the first deviation threshold and the second deviation threshold of the luminous intensity, at which point the adjustment process ends.
[0039] Secondly, this application proposes an intelligent dimming system, including: an intelligent light source, a light acquisition device, a human body sensing device, a control panel, a data processing center, a network, and a mobile terminal;
[0040] The intelligent light source, light acquisition device, and human body sensing device are connected to each other via a network. The control panel and data processing center are connected to the mobile terminal via a network. The mobile terminal is connected to the cloud via a network.
[0041] The intelligent light source is used to receive the adjustable luminous intensity of the light source transmitted from the network, and to adjust the luminous intensity of the intelligent light source according to the adjusted luminous intensity of the light source.
[0042] The light acquisition device is used to acquire the current luminous intensity and transmit the current luminous intensity to the data processing center device via the network;
[0043] The human body sensing device is used to collect whether there are people in the current space, and transmits the collected human body sensing device information to the data processing center device through the network;
[0044] The control panel is used to activate different dimming modes according to the application scenario;
[0045] The data processing center is used to receive information from the light acquisition device and the human body sensing device according to the dimming mode and dimming rules, calculate the adjustable luminous intensity of the light source, and send the adjustable luminous intensity of the light source to the intelligent light source through the network.
[0046] The adjustment of the luminous intensity is calculated using the following steps:
[0047] Based on the number and location of the light acquisition devices, the number and location of the human body sensing devices, the number of light sources and their locations, the attenuation degree of each light source is calculated;
[0048] The average value of the current luminous intensity is obtained by averaging the first current luminous intensity collected by all light-collecting devices;
[0049] The difference in luminous intensity is obtained by subtracting the current average luminous intensity from the pre-output luminous intensity.
[0050] The difference in luminous intensity is distributed equally or weighted to each light source to obtain the pre-tuning intensity of the i-th light source;
[0051] The adjustable luminous intensity of the i-th light source is obtained based on the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source.
[0052] The mobile terminal is used to set different dimming modes and corresponding dimming rules, and save the dimming rules to the cloud, or the mobile terminal is used to receive the dimming modes and corresponding dimming rules saved in the cloud, and transmit the dimming rules to the data processing center, and transmit the dimming modes to the control panel;
[0053] The network provides a wireless communication network for each node connected to the network.
[0054] The data processing center exists in, but is not limited to, one of the following devices: intelligent light source, computer, tablet, mobile phone, server, control panel.
[0055] Thirdly, this application proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the intelligent dimming method described in the first aspect or any possible implementation thereof.
[0056] The beneficial effects achieved by this application are:
[0057] This application uses a small number of sensors in conjunction with intelligent algorithms to achieve dimming, which reduces costs compared to a solution where each light source control carries a separate light sensor. Compared to a system or a group of light sources using a single light sensor, it achieves a more uniform lighting environment. At the same time, it also introduces the concept of human body sensing, achieving energy-saving and environmentally friendly effects. Attached Figure Description
[0058] Figure 1 This is a flowchart of an intelligent dimming method according to an embodiment of this application;
[0059] Figure 2 This is a flowchart of a first method for adjusting the luminous intensity of the i-th light source according to an embodiment of this application.
[0060] Figure 3 This is a flowchart of a second method for adjusting the luminous intensity of the i-th light source according to an embodiment of this application;
[0061] Figure 4 This is a flowchart illustrating the multiple adjustments of the light source intensity according to an embodiment of this application.
[0062] Figure 5 This is a block diagram illustrating the principle of an intelligent dimming system according to an embodiment of this application;
[0063] Figure 6 This is a schematic diagram of a classroom scene according to an embodiment of this application. Detailed Implementation
[0064] The present application will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, and should not be construed as limiting the scope of protection of the present application.
[0065] This application proposes an intelligent dimming method, system, and storage medium to address the need for uniform lighting in a classroom. Uniformity means that the light intensity is the same throughout the classroom. However, achieving uniformity is difficult with existing technologies unless each intelligent light source has its own sensor to provide real-time feedback on the illumination value. This inevitably increases the cost of intelligent classroom equipment. Without this approach, it's difficult to find a readily available method that can achieve uniform lighting in the classroom while simultaneously reducing the cost of intelligent equipment. The method and system of this application can achieve uniform lighting in the classroom and significantly reduce costs, providing a better learning environment for students' eyesight protection.
[0066] Example:
[0067] This embodiment uses the lighting control of a school classroom as an example to further illustrate the intelligent dimming method, system, and storage medium proposed in this application. The school classroom in this embodiment, for example... Figure 6 As shown, it includes: 3 blackboard lights (i.e., intelligent light source 1-10, intelligent light source 1-11, intelligent light source 1-12), 9 classroom lights (i.e., intelligent light source 1-1, intelligent light source 1-2, intelligent light source 1-3, intelligent light source 1-4, intelligent light source 1-5, intelligent light source 1-6, intelligent light source 1-7, intelligent light source 1-8, intelligent light source 1-9), 1 control panel 4, and 2 sensors (i.e., light acquisition device 2-1, light acquisition device 2-2). In this embodiment, the sensors are products that combine human body sensing and light sensing functions.
[0068] Firstly, this application proposes an intelligent dimming method, such as... Figure 1 As shown, it includes the following steps:
[0069] Step S1: Collect dimming data information, including: the number and location of light collection devices, the number and location of human body sensing devices, the number of light sources and the location of the light sources;
[0070] Step S2: Based on the dimming data information and application scenario, define dimming modes and set dimming rules corresponding to each dimming mode;
[0071] In this embodiment, the dimming modes are defined on the control panel as: After School, Self-Study, Projection, and Automatic.
[0072] The dimming rules corresponding to each dimming mode include:
[0073] Set all parameters involved in the dimming rules;
[0074] Set the adjustment order for each light source, which includes simultaneous adjustment and sequential adjustment;
[0075] The application time and sequence of all parameters involved in the dimming rules are designed according to the application scenario.
[0076] All parameters involved in the dimming rules include: pre-output luminous intensity, maximum luminous intensity of each light source, adjustment level of each light source, brightness corresponding to each level, time interval for adjusting the light source, duration of unattended state, first deviation threshold of luminous intensity, and second deviation threshold of luminous intensity.
[0077] Example 1: Setting the dimming rules for after-school mode:
[0078] Because the classrooms will be empty after school, the human body sensing device needs to be activated. Since the lighting doesn't need to be as bright as during study time, when the after-school mode is activated, the pre-output luminous intensity is set to 150 lumens. The three blackboard lights (i.e., Smart Light Source 1-10, Smart Light Source 1-11, and Smart Light Source 1-12) are directly turned off. The brightness of each of the nine classroom lights (i.e., Smart Light Source 1-1, Smart Light Source 1-2, Smart Light Source 1-3, Smart Light Source 1-4, Smart Light Source 1-5, Smart Light Source 1-6, Smart Light Source 1-7, Smart Light Source 1-8, and Smart Light Source 1-9) is set to 10 lumens. The time interval for adjusting the light sources is 1.5 seconds (up to 2 seconds depending on the power supply). The duration of the empty classroom is set to 5 minutes. The first deviation threshold for the overall luminous intensity is set to 20 lumens, and the second deviation threshold for the overall luminous intensity is set to 30 lumens.
[0079] The adjustment order for each light source is set to be adjusted simultaneously.
[0080] The application time and sequence of all parameters involved in the dimming rules designed according to the aforementioned application scenario are described in detail below:
[0081] When the after-school mode is activated, the system turns on light acquisition device 2-1, light acquisition device 2-2 and human body sensing device. In this embodiment, the sensor is a product that combines human body sensing and light sensing functions. The system turns off three blackboard lights (i.e., intelligent light source 1-10, intelligent light source 1-11 and intelligent light source 1-12).
[0082] When the human body sensor detects that the period of no human presence is greater than or equal to 5 minutes, it means that all students have left the classroom, and the system will turn off all smart light sources.
[0083] When the human body sensor detects that someone is present or absent for less than 5 minutes, it means that the students are preparing to leave school. The system will then adjust the overall luminous intensity of the current light source to the pre-output overall luminous intensity of 150 lumens; next, proceed to step S3.
[0084] Example 2: Setting the dimming rules for study mode:
[0085] Because students need to read during self-study, the overall luminous intensity should meet the prerequisite of protecting their eyes. Therefore, when the self-study mode is activated, the pre-output luminous intensity is set at 500 lumens. The maximum luminous intensity of the three blackboard lights (i.e., intelligent light source 1-10, intelligent light source 1-11, and intelligent light source 1-12) is 1000 lumens, and the adjustment level of each light source is 100 (the factory-preset adjustment level of the intelligent light source, which is a maximum of 100). Each level corresponds to a brightness of 10 lumens. In this mode, the blackboard lights are in the off state, and their settings will not affect the final adjustment. As a result, the adjustment level of each of the nine classroom lights (i.e., intelligent light source 1-1, intelligent light source 1-2, intelligent light source 1-3, intelligent light source 1-4, intelligent light source 1-5, intelligent light source 1-6, intelligent light source 1-7, intelligent light source 1-8, and intelligent light source 1-9) is 100 (the adjustment level is preset at the factory, and its maximum is 100), each level corresponds to a brightness of 10 lumens, the time interval for adjusting the light source is 1.5 seconds, the first deviation threshold of luminous intensity is set to 10 lumens, and the second deviation threshold of overall luminous intensity is set to 20.
[0086] The adjustment order for each light source is set to be adjusted simultaneously.
[0087] The application time and sequence of all parameters involved in the dimming rules designed according to the aforementioned application scenario are described in detail below:
[0088] When the self-study mode is activated, the system adjusts the current light source intensity to the pre-output light intensity of 1100 lumens; then proceeds to step S3.
[0089] Example 3: Setting the dimming rules for projection mode: (Settings that are the same will not be repeated)
[0090] Due to the special requirements of projection, all lights near the blackboard should be turned off, leaving a row of classroom lights at the back, which should be dimmed to ensure clear projection. When projection mode is activated, the pre-output luminous intensity is set to 100 lumens. All three blackboard lights (i.e., intelligent light sources 1-10, 1-11, and 1-12) are turned off, and the three classroom lights (i.e., intelligent light sources 1-7, 1-8, and 1-9) are turned on. Each light source is adjusted to level 100, with each level corresponding to a brightness of 10 lumens. The time interval for adjusting the light sources is 1.5 seconds. The first deviation threshold of the overall luminous intensity is set to 2 lumens, and the second deviation threshold of the overall luminous intensity is set to 5 lumens.
[0091] The adjustment order of each light source is set to be adjusted simultaneously, that is, the above-mentioned intelligent light sources are dimmed at the same time.
[0092] The application time and sequence of all parameters involved in the dimming rules designed according to the aforementioned application scenario are described in detail below:
[0093] When projection mode is activated, the system shuts down intelligent light sources 1-10, 1-11, 1-12, 1-1, 1-2, 1-3, 1-4, and 1-5.
[0094] Adjust the current light source intensity to the pre-output light intensity of 100 lumens. Only adjust intelligent light sources 1-7, intelligent light sources 1-8, and intelligent light sources 1-9. Then proceed to step S3.
[0095] Example 4: Setting dimming rules for automatic mode:
[0096] The automatic mode should implement two functions: a self-study mode and monitoring for unattended operation. If unattended operation exceeds 5 minutes, all lights should be turned off. Therefore, based on the application scenario, the application time and sequence of all parameters involved in the dimming rules are designed as follows:
[0097] When the automatic mode is activated, the system turns on the light acquisition device 2-1, the light acquisition device 2-2 and the human body sensing device. In this embodiment, the sensor is a product that combines human body sensing and light sensing functions.
[0098] The nine classroom lights (i.e., intelligent light source 1-1, intelligent light source 1-2, intelligent light source 1-3, intelligent light source 1-4, intelligent light source 1-5, intelligent light source 1-6, intelligent light source 1-7, intelligent light source 1-8, and intelligent light source 1-9) each have an adjustment level of 100 (the adjustment level is preset at the factory, and its maximum is 100), each level corresponds to a brightness of 10 lumens, the time interval for adjusting the light source is 1.5 seconds, the first deviation threshold of luminous intensity is set to 20 lumens, and the second deviation threshold of overall luminous intensity is set to 30.
[0099] When the human body sensor detects that the period of no human presence is greater than or equal to 5 minutes, it means that all students have left the classroom, and the system will turn off all smart light sources.
[0100] If the human body sensor detects that someone is in the classroom or that no one is in the classroom for less than 5 minutes, it means that someone is in the classroom. The system will then adjust the current light source intensity to the pre-output light intensity of 500 lumens. The system will then proceed to step S3.
[0101] Step S3: Receive information from the light acquisition device and the human body sensing device according to the dimming mode and dimming rules;
[0102] Step S4: Based on the dimming mode and dimming rules, light acquisition device information and human body sensing device information, obtain the adjustable luminous intensity of the i-th light source;
[0103] Step S5: Adjust the luminous intensity of each light source according to the adjusted luminous intensity of the i-th light source.
[0104] The luminous intensity of the i-th light source can be adjusted in two ways. The first adjustment method is calculated according to the following steps: Figure 2 As shown:
[0105] Step S411: Based on the number and location of the light acquisition devices, the number of light sources, and the location of the light sources, divide the illumination space into areas with consistent light intensity.
[0106] Step S412: Based on the first current luminous intensity collected by the light acquisition device and the regions with consistent light intensity, determine the luminous intensity of each region with consistent light intensity using the mean value method;
[0107] Step S413: Calculate the difference between the luminous intensity of each region with consistent light intensity and the pre-output luminous intensity. The difference is the adjusted luminous intensity of the i-th light source.
[0108] Taking automatic mode as an example, the first adjustment method will be described in detail. First, the classroom... Figure 6 The diagram shows the determination of areas with consistent light intensity. The first row of classroom lights 1-1, 1-4, and 1-7 are considered the first area with consistent light intensity. These three classroom lights are adjusted uniformly, and the current luminous intensity transmitted by the light acquisition device 2-1 is taken as the current luminous intensity of the first area with consistent light intensity. The second row of classroom lights 1-2, 1-5, and 1-8 are considered the second area with consistent light intensity, and the average luminous intensity collected by the light acquisition devices 2-1 and 2-2 is taken as the current luminous intensity of the second area with consistent light intensity. The third row of classroom lights 1-3, 1-6, and 1-9 are considered the third area with consistent light intensity, and the current luminous intensity transmitted by the light acquisition device 2-2 is taken as the current luminous intensity of the third area with consistent light intensity. When the first current luminous intensity transmitted from the light acquisition device 2-1 is 1140 lumens and the first current luminous intensity transmitted from the light acquisition device 2-1 is 1110 lumens, then the first region with consistent luminous intensity is 1140 lumens, the third region with consistent luminous intensity is 1110 lumens, and the second region with consistent luminous intensity is the average of the first and second regions with consistent luminous intensity, which is 1125 lumens.
[0109] The automatic mode outputs a luminous intensity of 500 lumens. Therefore, the luminous intensity of the first row of classroom lights 1-1, 1-4, and 1-7 is adjusted to 1140-500=640 lumens; the luminous intensity of the second row of classroom lights 1-2, 1-5, and 1-8 is adjusted to 1125-500=625 lumens; and the luminous intensity of the third row of classroom lights 1-3, 1-6, and 1-9 is adjusted to 1110-500=610 lumens.
[0110] The second adjustment method is described as follows: The adjusted luminous intensity of the i-th light source is obtained as follows: Figure 3 As shown, the steps are as follows:
[0111] Step S421: Calculate the attenuation degree of the light source based on the number and location of the light acquisition devices, the number and location of the human body sensing devices, the number of light sources and the location of the light sources;
[0112] The formula for the attenuation degree of the light source is:
[0113]
[0114] Where i(d) represents the attenuation level of the light source, and d is an example of a monitoring point for the light source; d min d is the minimum distance at which the light intensity of the current light source does not decrease. max This represents the maximum distance at which the light intensity of the current light source attenuates to zero. Where, when the type and specifications of each light source are determined, d... min d max For the determined technical parameters.
[0115] In this embodiment, the distance d between each light source and the monitoring point can be easily calculated using geometric methods based on the number and location of the light acquisition devices, the number and location of the human body sensing devices, the number of light sources and the location of the light sources. According to the above formula, the attenuation degree i(d) of the light source can be obtained.
[0116] Step S422: Calculate the average value of the current total luminous intensity collected by all light-collecting devices to obtain the current average total luminous intensity;
[0117] Step S423: Subtract the current average total luminous intensity from the pre-output total luminous intensity to obtain the total luminous intensity difference;
[0118] Step S424: Distribute the total luminous intensity difference equally or weightedly to each light source to obtain the pre-tuning intensity of the i-th light source;
[0119] Step S425: Based on the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source, obtain the adjusted luminous intensity of the i-th light source.
[0120] The adjusted luminous intensity of the i-th light source is obtained based on the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source, and the specific formula is as follows:
[0121]
[0122] The luminous intensity of the light source is adjusted according to the luminous intensity of the i-th light source, such as... Figure 4 As shown, the steps are as follows:
[0123] Step S51: Divide the adjusted luminous intensity of the i-th light source by the brightness corresponding to each level to obtain the adjustment level of each light source;
[0124] Step S52: Adjust the luminous intensity of each light source for the first time according to the adjustment level of each light source;
[0125] Step S53: Use a light acquisition device to collect the current luminous intensity again to obtain the second current luminous intensity;
[0126] Step S54: Calculate the actual light intensity adjustment difference after the first adjustment based on the first current light intensity and the second current light intensity, which is the difference between the first current light intensity and the second current light intensity;
[0127] Step S55: Calculate the actual brightness corresponding to each level based on the actual light intensity adjustment difference and the adjustment level of each light source, that is, the actual light intensity adjustment difference divided by the adjustment level of each light source;
[0128] Step S56: Based on the second current luminous intensity, the pre-output luminous intensity, and the actual brightness corresponding to each level, calculate the new adjustment level for each light source, i.e.
[0129]
[0130] Step S57: Adjust the luminous intensity of the light source again according to the new adjustment level of each light source;
[0131] Step S58: Repeat the above process until the current luminous intensity collected by the light acquisition device for the nth time falls between the first deviation threshold and the second deviation threshold of the luminous intensity, and then end the adjustment process.
[0132] The adjustment process in steps S51 to S58 takes the adjustment of the first row of classroom lights 1-1, 1-4, and 1-7 in automatic mode as an example. 1140-64 (adjustment level) × 10 (brightness corresponding to each level). In theory, it should be 500. After the first adjustment, the light acquisition device 2-1 is still collecting the luminous intensity. At this time, let's assume the collected value is 600. Then the actual reduction is 1140-600=540. Divided into each brightness level, it corresponds to 540 / 64=8.4. So at this time, the adjustment should be that the actual 600 is 100 higher than 500, and each level is 8.4. Therefore, the new adjustment level for each light source is (600-500) / 8.4. Adjust according to this step until the luminous intensity collected by the light acquisition device 2-1 is between 520 and 530 lumens, and the adjustment process is completed.
[0133] Secondly, this application proposes a smart dimming system, such as Figure 5 As shown, it includes: intelligent light source, light acquisition device, human body sensing device, control panel, data processing center, network, and mobile terminal;
[0134] The intelligent light source, light acquisition device, and human body sensing device are connected to each other via a network. The control panel and data processing center are connected to the mobile terminal via a network. The mobile terminal is connected to the cloud via a network.
[0135] The intelligent light source is used to receive the adjustable luminous intensity of the light source transmitted from the network, and to adjust the luminous intensity of the intelligent light source according to the adjusted luminous intensity of the light source.
[0136] The light acquisition device is used to acquire the current luminous intensity and transmit the current luminous intensity to the data processing center device via the network;
[0137] The human body sensing device is used to collect whether there are people in the current space, and transmits the collected human body sensing device information to the data processing center device through the network;
[0138] The control panel is used to activate different dimming modes according to the application scenario;
[0139] The data processing center is used to receive information from the light acquisition device and the human body sensing device according to the dimming mode and dimming rules, calculate the adjustable luminous intensity of the light source, and send the adjustable luminous intensity of the light source to the intelligent light source through the network.
[0140] The adjustment of the luminous intensity is calculated using the following steps:
[0141] Based on the number and location of the light acquisition devices, the number and location of the human body sensing devices, the number of light sources and their locations, the attenuation degree of each light source is calculated;
[0142] The average value of the current luminous intensity is obtained by averaging the first current luminous intensity collected by all light-collecting devices;
[0143] The difference in luminous intensity is obtained by subtracting the current average luminous intensity from the pre-output luminous intensity.
[0144] The difference in luminous intensity is distributed equally or weighted to each light source to obtain the pre-tuning intensity of the i-th light source;
[0145] The adjustable luminous intensity of the i-th light source is obtained based on the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source.
[0146] The mobile terminal is used to set different dimming modes and corresponding dimming rules, and save the dimming rules to the cloud, or the mobile terminal is used to receive the dimming modes and corresponding dimming rules saved in the cloud, and transmit the dimming rules to the data processing center, and transmit the dimming modes to the control panel;
[0147] The network provides a wireless communication network for each node connected to the network. Examples 1-4 of this application employ the following methods: Figure 5 The network architecture employs Bluetooth MESH communication between the intelligent light source, light acquisition device, curtains or screens, human body sensing device, and control panel, and connects to the gateway via Bluetooth MESH communication, or to the mobile terminal via BLE / Bluetooth MESH. The network connects to a router via Wi-Fi or a wired network, and the router accesses the cloud server via a public REST API. The mobile terminal accesses the cloud server via a 4G or 5G REST API. Wireless communication networks are well-known to those skilled in the art; this is merely an example of specific network implementations, and all network implementation methods fall within the scope of protection of this application.
[0148] The data processing center exists in, but is not limited to, one of the following devices: intelligent light source, computer, tablet, mobile phone, server, control panel. In this embodiment, the data processing center exists in each intelligent light source, and initially, it is specified which intelligent light source is used as the designated data processing center for this classroom.
[0149] The intelligent dimming system also includes other intelligent devices connected to the network, including but not limited to curtains, fans, and screens. This application can also integrate other intelligent devices; for example, when projection mode is activated, the system can stop the fan, open the screen, and close the curtains, making the mode more user-friendly and improving the projection effect. This eliminates the need for manual operation of these devices, saving teaching waiting time.
[0150] Thirdly, this application proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the intelligent dimming method described in the first aspect or any possible implementation thereof.
[0151] The applicant of this invention has provided a detailed description of the embodiments of the invention in conjunction with the accompanying drawings. However, those skilled in the art should understand that the above embodiments are merely preferred embodiments of the invention. The detailed description is only intended to help readers better understand the spirit of the invention and is not intended to limit the scope of protection of the invention. On the contrary, any improvements or modifications made based on the inventive spirit of the invention should fall within the scope of protection of the invention.
Claims
1. An intelligent dimming method, characterized in that: The steps include: Collect dimming data information, including: the number and location of light collection devices, the number and location of human body sensing devices, the number and location of light sources; According to the dimming data information and the application scenario, define the dimming mode and set the dimming rules corresponding to each dimming mode; According to the dimming mode and the dimming rule, receiving light collection device information and human body sensing device information; According to the dimming mode and dimming rule, light collection device information and human body sensing device information, the adjusted luminous intensity of the i-th light source is obtained; Adjusting the luminous intensity of each light source according to the adjusted luminous intensity of the i-th light source; Among them, all parameters involved in the dimming rule include: pre-output luminous intensity, maximum luminous intensity of each light source, adjustment level of each light source, brightness corresponding to each level, time interval for adjusting the light source, duration of unmanned state, first deviation threshold of luminous intensity, and second deviation threshold of luminous intensity; The adjusted luminous intensity of the i-th light source is obtained by calculation according to the following steps: Calculate the attenuation degree of each light source according to the number and position of the light collection devices, the number and position of the human body sensing devices, the number and position of the light sources, and the position of the light sources; Calculate the average value of the first current luminous intensity collected by all light collection devices to obtain the current luminous intensity average value; Subtract the current average luminous intensity from the pre-output luminous intensity to obtain a luminous intensity difference; Evenly distribute or weightedly distribute the luminous intensity difference to each light source to obtain the pre-dimming intensity of the i-th light source; According to the pre-adjusted light intensity of the ith light source and the attenuation degree of the light source, the adjusted light intensity of the ith light source is obtained.
2. The intelligent dimming method according to claim 1, characterized in that: The dimming rules corresponding to each dimming mode include: Set all parameters involved in dimming rules; Setting the adjustment order of each light source, wherein the adjustment order includes simultaneous adjustment and sequential adjustment; The application time and sequence of all parameters involved in the dimming rule are designed according to the application scenario.
3. The intelligent dimming method according to claim 1, characterized in that: The adjusted luminous intensity of the i-th light source is obtained by calculation according to the following steps: Dividing the lighting space into light intensity consistency areas according to the number and positions of the light collection devices, the number and positions of the light sources; According to the first current luminous intensity collected by the light collection device and the areas with consistent light intensity, the luminous intensity of each area with consistent light intensity is determined by using the mean value method; The difference between the luminous intensity of each area with uniform light intensity and the pre-output luminous intensity is calculated, and the difference is the adjusted luminous intensity of the i-th light source.
4. The intelligent dimming method according to claim 1, characterized in that: The adjusted luminous intensity of the i-th light source is obtained according to the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source. The specific formula is:
5. The intelligent dimming method according to claim 1, characterized in that: The steps of adjusting the luminous intensity of the light source according to the adjusted luminous intensity of the i-th light source are as follows: Dividing the adjusted luminous intensity of the i-th light source by the brightness corresponding to each level to obtain the adjustment level of each light source; According to the adjustment level of each light source, adjusting the luminous intensity of each light source for the first time; Using the light collection device to collect the current luminous intensity again to obtain a second current luminous intensity; Calculate the actual light intensity adjustment difference after the first adjustment according to the first current light intensity and the second current light intensity, that is, the difference between the first current light intensity and the second current light intensity; According to the actual light intensity adjustment difference and the adjustment level of each light source, the actual brightness corresponding to each level is calculated, that is, the actual light intensity adjustment difference is divided by the adjustment level of each light source; According to the second current luminous intensity, the pre-output luminous intensity and the actual brightness corresponding to each level, the new adjustment level of each light source is calculated, that is, According to the new adjustment level of each light source, the luminous intensity of the light source is readjusted; The above process is repeated until the current luminous intensity collected by the light collection device for the nth time falls between the first deviation threshold of the luminous intensity and the second deviation threshold of the luminous intensity, and the adjustment process is terminated.
6. An intelligent dimming system, characterized in that: include: Intelligent light sources, light collection equipment, human body sensing equipment, control panels, data processing centers, networks, and mobile terminals; The intelligent light source, light collection device, and human body sensing device are connected via a network, the control panel and the data processing center are connected to the mobile terminal via a network, and the mobile terminal is connected to the cloud via a network; The intelligent light source is used to receive the adjusted luminous intensity of the light source transmitted from the network, and adjust the luminous intensity of the intelligent light source according to the adjusted luminous intensity of the light source; The light collection device is used to collect the current luminous intensity and transmit the current luminous intensity to the data processing center device through the network; The human body sensing device is used to detect whether there is a person in the current space, and transmit the collected human body sensing device information to the data processing center device through the network; The control panel is used to start different dimming modes according to application scenarios; The data processing center is used to receive the light collection device information and the human body sensing device information according to the dimming mode and the dimming rule, calculate the adjusted luminous intensity of the light source, and send the adjusted luminous intensity of the light source to the intelligent light source through the network; Among them, all parameters involved in the dimming rule include: pre-output luminous intensity, maximum luminous intensity of each light source, adjustment level of each light source, brightness corresponding to each level, time interval for adjusting the light source, duration of unmanned state, first deviation threshold of luminous intensity, and second deviation threshold of luminous intensity; The luminous intensity is adjusted by the following steps: Calculate the attenuation degree of each light source according to the number and position of the light collection devices, the number and position of the human body sensing devices, the number and position of the light sources, and the position of the light sources; Calculate the average value of the first current luminous intensity collected by all light collection devices to obtain the current luminous intensity average value; Subtract the current average luminous intensity from the pre-output luminous intensity to obtain a luminous intensity difference; Evenly distribute or weightedly distribute the luminous intensity difference to each light source to obtain the pre-dimming intensity of the i-th light source; Obtaining the adjusted luminous intensity of the i-th light source according to the pre-adjusted light intensity of the i-th light source and the attenuation degree of the light source; The mobile terminal is used to set different dimming modes and corresponding dimming rules, and save the dimming rules to the cloud, or the mobile terminal is used to receive the dimming mode and corresponding dimming rules saved in the cloud, and transmit the dimming rules to the data processing center, and transmit the dimming mode to the control panel; The network provides a wireless communication network for each node connected in the network.
7. The intelligent dimming system according to claim 6, characterized in that: The data processing center exists in but is not limited to one of the following devices: smart light source, computer, tablet, mobile phone, server, control panel.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the program can be loaded and run by a processor to execute the intelligent dimming method according to any one of claims 1 to 5.