Lighting control method, apparatus, system, and storage medium
By acquiring personnel identification information and illuminance in the industrial intelligent lighting system, the system controls the on/off state and brightness of the lighting devices, solving the problem of high energy consumption in all-weather lighting mode and achieving precise control and extended lifespan of the lighting devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2026-04-07
AI Technical Summary
In existing industrial intelligent lighting systems, workshop lighting systems adopt an all-weather lighting mode, which leads to increased power consumption and shortens the lifespan of lighting devices.
By acquiring personnel identification information within the target area, it is determined whether there are workers present. Based on the illuminance of the target floor, the target power is determined, and the lighting devices are controlled to turn on and operate at the target power. Through-beam switches and image recognition devices are used to identify personnel entering and exiting, and the brightness and power of the lighting devices are adjusted accordingly.
It improves the accuracy of lighting device control, reduces the power consumption of lighting devices when unattended, extends the service life of lighting devices, and reduces energy consumption and production costs.
Smart Images

Figure CN116614921B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of industrial intelligent lighting technology, and more specifically, to a lighting control method, device, system, and storage medium. Background Technology
[0002] In existing industrial intelligent lighting systems, workshop lighting systems typically adopt an all-weather lighting mode and still rely on manual control of the lighting fixtures, which increases energy consumption and shortens the lifespan of the lighting fixtures. Summary of the Invention
[0003] The purpose of this disclosure is to provide a lighting control method, apparatus, system, and storage medium to solve problems in the related art.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] Firstly, a lighting control method is provided, the method comprising:
[0006] Obtain personnel identification information within the target area, where the target area includes N floors, and N is an integer greater than 0;
[0007] Based on personnel identification information, determine whether there are workers in the target area;
[0008] If it is determined that there are workers in the target area, and the illuminance of the target floor where the workers are located is less than the preset illuminance threshold, then the target power is determined based on the illuminance of the target floor.
[0009] Control the lighting fixtures corresponding to the target floor to turn on, and control the lighting fixtures to operate at the target power.
[0010] Optionally, adjacent first and second photoelectric switches are installed in the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the entrance of the floor is greater than the distance between the second photoelectric switch and the floor.
[0011] Based on personnel identification information, determine whether there are workers in the target area, including:
[0012] Determine the trigger status of the first and second photoelectric switches on each floor.
[0013] For each floor, if based on the triggering states of the first and second photoelectric switches, it is determined that the first photoelectric switch is triggered first, and the second photoelectric switch is triggered within a first preset time after the first photoelectric switch is triggered, then it is determined that there are workers on the floor.
[0014] If, based on the triggering states of the first and second photoelectric switches, it is determined that the second photoelectric switch is triggered first, and the first photoelectric switch is triggered within a second preset time after the second photoelectric switch is triggered, then it is determined that there are workers leaving the floor.
[0015] Based on the number of workers entering and leaving each floor, determine whether there are workers in the target area.
[0016] Optionally, the presence of workers in the target area can be determined based on the number of workers entering and leaving each floor, including:
[0017] If the difference between the number of workers entering and leaving the Nth floor is greater than zero, it is determined that there are workers on the Nth floor, and the difference is determined as the number of workers on the Nth floor.
[0018] If the difference between the number of workers entering and leaving the Mth floor, minus the number of workers on each floor from the (M+1)th floor to the Nth floor, results in a value greater than zero, it is determined that there are workers on the Mth floor, and this value is determined as the number of workers on the Mth floor, where M is an integer greater than 0 and less than N.
[0019] Optionally, image recognition devices are installed in the work areas corresponding to the floors;
[0020] Based on personnel identification information, determine whether there are workers in the target area, including:
[0021] Image recognition is performed on the images of the work area obtained by the floor's image recognition device to obtain recognition results;
[0022] If personnel information is identified in the identification results, it is determined that there are workers on the floor.
[0023] If it is determined that there are no workers on any floor, then there are no workers in the target area.
[0024] Optionally, the target power is determined based on the illuminance of the target floor, including:
[0025] The system queries the corresponding relationship based on the illuminance of the target floor and determines the power obtained from the corresponding relationship as the target power. The corresponding relationship contains the relationship between the pre-set illuminance range and the power. The smaller the illuminance range, the greater the power corresponding to it.
[0026] Optionally, the illuminance of the target floor is determined in the following way:
[0027] Obtain the first illuminance under natural conditions and the second illuminance within the target floor;
[0028] If the difference between the first illuminance and the second illuminance of the target floor exceeds the illuminance threshold, the sum of the second illuminance and the compensated illuminance corresponding to the target floor is determined as the illuminance of the target floor. The larger the floor number corresponding to the target floor, the smaller the compensated illuminance value.
[0029] If the difference between the first illuminance and the second illuminance of the target floor does not exceed the illuminance threshold, then the second illuminance of the target floor is determined as the illuminance of the target floor.
[0030] Secondly, a lighting control device is provided, the device comprising:
[0031] The acquisition module is configured to acquire personnel identification information within a target area, where the target area includes N floors, and N is an integer greater than 0.
[0032] The first determination module is configured to determine whether there are workers in the target area based on personnel identification information;
[0033] The second determining module is configured to determine the target power based on the illuminance of the target floor if there are workers in the target area and the illuminance of the target floor where the workers are located is less than a preset illuminance threshold.
[0034] The control module is configured to turn on the lighting fixtures corresponding to the target floor and to control the lighting fixtures to operate at the target power.
[0035] Thirdly, a lighting control system is provided, the system comprising:
[0036] An information collection device is used to collect personnel identification information within a target area, where the target area includes N floors, and N is an integer greater than 0.
[0037] Lighting devices used to illuminate the target area;
[0038] A lighting control device for performing the lighting control method of the first aspect, to control the lighting device based on personnel identification information collected by the information acquisition device.
[0039] Optionally, the information collection device includes:
[0040] A first and a second photoelectric switch are installed adjacent to each other within the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the floor entrance is greater than the distance between the second photoelectric switch and the floor; and / or
[0041] An image recognition device is installed in the corresponding work area on each floor to collect images of the work area.
[0042] Fourthly, a computer-readable storage medium is provided having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0043] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0044] In the above technical solution, the presence of workers in the target area can be determined based on the acquired personnel identification information. If workers are present and the illuminance of the target floor is less than a preset illuminance threshold, a target power is determined based on the illuminance of the target floor. The lighting devices corresponding to the target floor are then controlled to turn on and operate at the target power. Therefore, this technical solution allows for control of lighting devices on floors with workers present in the target area, improving the accuracy of lighting control and preventing situations where lighting is on even when no workers are present, thus reducing power consumption to some extent. Furthermore, determining the target power based on the illuminance of the target floor ensures that the lighting control matches the lighting conditions, further reducing power consumption and guaranteeing a good user experience. Additionally, automatic control of the lighting devices allows for brightness adjustment, reducing energy consumption, extending the lifespan of the lighting devices, and lowering production costs.
[0045] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description
[0046] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings:
[0047] Figure 1 This is a schematic flowchart illustrating a lighting control method according to an exemplary embodiment;
[0048] Figure 2 This is a schematic diagram illustrating the installation positions of a first and a second through-beam switch according to an exemplary embodiment.
[0049] Figure 3 This is a schematic diagram of the structure of a lighting control device according to an exemplary embodiment;
[0050] Figure 4This is a schematic diagram of the structure of a lighting control system according to an exemplary embodiment;
[0051] Figure 5 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment. Detailed Implementation
[0052] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.
[0053] This disclosure provides a lighting control method. Please refer to [link to relevant documentation]. Figure 1 , Figure 1 This is a flowchart illustrating a lighting control method according to an exemplary embodiment, such as... Figure 1 As shown, the lighting control method may include:
[0054] In step S101, personnel identification information within the target area is obtained, wherein the target area includes N floors, where N is an integer greater than 0.
[0055] In this embodiment of the disclosure, the target area can be the entire area included in an industrial workshop, wherein the industrial workshop may include at least one floor, and entrances and exits are provided between floors to monitor the movement of workers between different floors.
[0056] In this embodiment of the disclosure, the method for obtaining personnel identification information within the target area can be to receive personnel identification information sent by the information acquisition device through a PLC (Programmable Logic Controller) or DCS (Distributed Control System). The personnel identification information can be used to characterize whether there are workers in the target area and / or the location information of workers in the target area.
[0057] In step S102, based on personnel identification information, it is determined whether there are any workers in the target area, wherein the workers can be any person in the target area.
[0058] In the embodiments of this disclosure, the presence of workers in the target area can be determined based on personnel entry and exit information in personnel identification information, or it can be determined based on image recognition methods. This disclosure does not impose any limitations on this.
[0059] In step S103, if it is determined that there are workers in the target area and the illuminance of the target floor where the workers are located is less than the preset illuminance threshold, then the target power is determined based on the illuminance of the target floor.
[0060] In this embodiment, it can be first determined whether there are workers in the target area, thereby identifying the floor where workers are located as the target floor, and monitoring the illuminance of the target floor. When the illuminance changes over time and causes the illuminance of the target floor where workers are located to fall below a preset illuminance threshold, it indicates that the target floor where workers are located needs to have its lights turned on to increase the illuminance. In order to match the illuminance of the target floor with the brightness of the lighting device, the target power can be further determined based on the current illuminance of the target floor.
[0061] In step S104, the lighting device corresponding to the target floor is turned on and the lighting device is controlled to operate at the target power.
[0062] In this embodiment of the disclosure, if it is determined from the above steps that the lighting device needs to be turned on under the current conditions, then the lighting device corresponding to the target floor is controlled to be turned on, and the lighting device is controlled to operate at the target power, so that the brightness of the lighting device matches the illuminance of the target floor. The maximum target power is the rated power of the lighting device.
[0063] As one possible implementation, a predetermined number of lighting devices within a preset area can be defined as a lighting circuit based on their installation positions. Within a lighting circuit, the on / off states and illumination levels of all lighting devices are consistent, meaning each lighting device in the circuit can be controlled by a single control command. For example, each floor within the target area can include at least one lighting circuit, with consistent illumination states across all circuits on that floor. These illumination states include the on / off state information of the lighting circuit and the illumination state information corresponding to the lighting devices within the circuit. In this embodiment, the number of lighting devices included in a lighting circuit does not exceed 15.
[0064] In the above technical solution, the presence of workers in the target area can be determined based on the acquired personnel identification information. If workers are present and the illuminance of the target floor is less than a preset illuminance threshold, a target power is determined based on the illuminance of the target floor. The lighting devices corresponding to the target floor are then controlled to turn on and operate at the target power. Therefore, this technical solution allows for control of lighting devices on floors with workers present in the target area, improving the accuracy of lighting control and preventing situations where lighting is on even when no workers are present, thus reducing power consumption to some extent. Furthermore, determining the target power based on the illuminance of the target floor ensures that the lighting control matches the lighting conditions, further reducing power consumption and guaranteeing a good user experience. Additionally, automatic control of the lighting devices allows for brightness adjustment, reducing energy consumption, extending the lifespan of the lighting devices, and lowering production costs.
[0065] In one exemplary embodiment, to obtain accurate personnel identification information, adjacent first and second photoelectric switches can be installed in the target location area corresponding to the entrance of each floor. The distance between the first photoelectric switch and the floor entrance is greater than the distance between the second photoelectric switch and the floor. This set of photoelectric switches (first and second) can not only identify whether workers are passing by, but also whether workers are entering or leaving the floor.
[0066] For example, within the target area, following the direction from floor K to floor K+1, the location between floor K and floor K+1, and at a first preset distance from floor K+1, is determined as the target location area corresponding to the entrance of floor K+1, where K is an integer greater than 0 and less than or equal to N-1, and the value of the first preset distance can be determined according to the actual application.
[0067] For example, the location corresponding to the entrance of the target area can be used to determine the location corresponding to the entrance to the first floor outside the target area, and adjacent first and second photoelectric switches can be installed at the entrance of the target area to determine whether the worker is leaving or entering the first floor.
[0068] It should be noted that the installation distance between the adjacent first and second photoelectric switches installed at the entrance of each floor is not limited in this disclosure. In the embodiments of this disclosure, the first and second photoelectric switches are installed adjacent to each other with a second preset distance between them. Thus, the distance between the installation position of the second photoelectric switch and its corresponding floor is the first distance, and the distance between the installation position of the first photoelectric switch and its corresponding floor is the sum of the first distance and the second preset distance.
[0069] Based on this, step S102 may further include:
[0070] Determine the trigger status of the first and second photoelectric switches on each floor.
[0071] For each floor, if based on the triggering states of the first and second photoelectric switches, it is determined that the first photoelectric switch is triggered first, and the second photoelectric switch is triggered within a first preset time after the first photoelectric switch is triggered, then it is determined that there are workers on the floor.
[0072] If, based on the triggering states of the first and second photoelectric switches, it is determined that the second photoelectric switch is triggered first, and the first photoelectric switch is triggered within a second preset time after the second photoelectric switch is triggered, then it is determined that there are workers leaving the floor.
[0073] Based on the number of workers entering and leaving each floor, determine whether there are workers in the target area.
[0074] For example, please refer to Figure 2 , Figure 2This is a schematic diagram illustrating the installation positions of a first and second photoelectric switches according to an exemplary embodiment. For example, there are four floors in total. Adjacent first and second photoelectric switches A and B are installed in the target location area corresponding to the entrance of each floor. When neither A nor B is triggered, the signals of A and B remain at 0. Scanning A and B determines if there is a triggering action. If a person passes by A, it is determined that A has been triggered. The signal of A after being triggered is then maintained at 1, and scanning continues to determine if B has been triggered within a first preset time period after A is triggered. If the person passes by B, then B has been triggered within the first preset time period after A is triggered. At this point, it can be assumed that the person passed by A first and then by B to enter that floor. Therefore, it can be determined that there are workers entering the floors corresponding to the first and second photoelectric switches A and B. Accordingly, if a person passes by B first, indicating that B is triggered first, the signal of B after being triggered is kept at 1, and the system continues to scan whether A is triggered within the second preset time period after B is triggered. If the person then passes by A, indicating that A is triggered within the second preset time period after B is triggered, it can be assumed that the person passed by B first and then A, thus leaving the floor. Therefore, it is determined that there is a worker leaving the floor corresponding to the first and second photoelectric switches A and B. If it is determined that neither A nor B is triggered, the scanning of A and B continues to determine if there is a triggering action. By collecting the state signals of the first and second photoelectric switches A and B, it is possible to determine whether a worker has entered or left. Furthermore, by statistically analyzing the changes in the state signals of the first and second photoelectric switches A and B within a preset time period, it is possible to determine whether there are workers in the target area.
[0075] The above scheme allows for accurate and rapid identification of whether the personnel triggering the first and second photoelectric switches are entering or leaving a floor, based on the order in which adjacent first and second photoelectric switches installed in the target area corresponding to the entrance of each floor are triggered.
[0076] As one possible implementation, determining whether there are workers in the target area based on the number of workers entering and leaving each floor includes:
[0077] If the difference between the number of workers entering and leaving the Nth floor is greater than zero, it is determined that there are workers on the Nth floor, and the difference is determined as the number of workers on the Nth floor.
[0078] If the difference between the number of workers entering and leaving the Mth floor, minus the number of workers on each floor from the (M+1)th floor to the Nth floor, results in a value greater than zero, it is determined that there are workers on the Mth floor, and this value is determined as the number of workers on the Mth floor, where M is an integer greater than 0 and less than N.
[0079] As another possible implementation, if there are no workers on each floor, it is determined that there are no workers in the target area.
[0080] In practical applications, when workers leave a high floor, they may enter a lower floor rather than leave the target area. Therefore, in this embodiment, the presence of workers can be determined from the highest floor. For the highest floor in the target area, the Nth floor, the number of workers entering and leaving can be obtained simply by statistically analyzing the changes in the state signals of the first and second photoelectric switches within the target location area corresponding to the Nth floor entrance over a preset time period. Therefore, the presence of workers on the Nth floor can be determined based on the changes in the state signals of the first and second photoelectric switches within the target location area corresponding to the Nth floor entrance. It is easy to understand that when the number of workers entering is greater than the number of workers leaving, it can be determined that workers exist on the current floor; when the number of workers entering is equal to the number of workers leaving, it can be determined that no workers exist on the current floor.
[0081] In this embodiment of the disclosure, workers entering through the entrance of the Mth floor within the target area can stay on the Mth floor, leave the Mth floor and enter the M-1th floor, or enter the M+1th floor through the entrance of the M+1th floor. Therefore, the first number of workers present on the highest floor (Nth floor) within the target area can be determined first. Then, the number of workers entering the N-1th floor and the number of workers leaving the N-1th floor can be determined. The second number of workers present on the Nth and N-1th floors can be determined by the difference between the number of workers entering the N-1th floor and the number of workers leaving the N-1th floor. Finally, the third number of workers present on the N-1th floor can be determined by the difference between the second number and the first number. Based on this, to calculate the number of workers on the (N-2)th floor, we can first determine the first number of workers on the Nth floor and the third number of workers on the (N-1)th floor. Then, we determine the number of workers entering and leaving the (N-2)th floor. The difference between these two numbers allows us to determine the fourth number of workers on the Nth, N-1th, and N-2th floors in total. Finally, subtracting the third number from the fourth number gives us the total number of workers on the (N-2)th floor. Using this method, we can sequentially determine the number of workers on floors N-1 through N-2.
[0082] By using the above method, the presence of workers on each floor can be determined simply, quickly, and accurately by observing the status signal changes of adjacent first and second photoelectric switches installed on each floor. This allows for the accurate determination of control commands related to the lighting devices on each floor.
[0083] In another exemplary embodiment, in order to obtain accurate personnel identification information, an image recognition device can be installed in the corresponding work area on each floor. The image recognition device can identify personnel based on video images.
[0084] Based on this, step S102 may further include:
[0085] Image recognition is performed on the images of the work area obtained by the floor's image recognition device to obtain recognition results;
[0086] If personnel information is identified in the identification results, it is determined that there are workers on the floor.
[0087] If it is determined that there are no workers on any floor, then there are no workers in the target area.
[0088] Based on the above method, it is possible to quickly and accurately determine whether there are workers in the target area.
[0089] In this embodiment of the disclosure, personnel identification information within a target area can be used to identify whether there are workers on a particular floor based on image information collected by an image recognition device on that floor. After collecting image information within the target area, the image recognition device can perform image processing, such as image filtering and image sharpening, and then extract features from the processed image information. A pre-trained neural network model can then be used to determine whether the extracted features are human figures. If the image recognition device's identification result is that the extracted features are human figures, then it is determined that workers exist within the identification range, and that workers exist on the floor corresponding to the image recognition device. If the image recognition device's identification result is that no human figures are detected, then it is determined that no workers exist within the identification range, and real-time personnel detection continues on that floor.
[0090] By installing image recognition devices, it is possible to efficiently and accurately identify whether there are workers on each floor, thereby accurately determining the control commands related to the lighting equipment on each floor.
[0091] In one exemplary embodiment, determining the target power based on the illuminance of the target floor may include:
[0092] The system queries the corresponding relationship based on the illuminance of the target floor and determines the power obtained from the corresponding relationship as the target power. The corresponding relationship contains the relationship between the pre-set illuminance range and the power. The smaller the illuminance range, the greater the power corresponding to it.
[0093] Since the height of each floor is different, the corresponding illuminance is also different. The higher the illuminance within a floor, the lower the brightness of the lighting equipment required in that scenario; conversely, the lower the illuminance within a floor, the higher the brightness of the lighting equipment required in that scenario. Therefore, the illuminance query correspondence can be pre-determined based on the relationship between the illuminance of different floors and the power of the lighting equipment.
[0094] In this embodiment of the disclosure, the correspondence can be represented as follows:
[0095] If the illuminance is determined to be within the first illuminance range, control the lighting control circuit corresponding to the floor where workers are present to output 30% of its rated power;
[0096] If the illuminance is determined to be within the second illuminance range, control the lighting control circuit corresponding to the floor where workers are present to output 50% of its rated power;
[0097] If the illuminance is determined to be within the third illuminance range, control the lighting control circuit corresponding to the floor where workers are present to output 80% of its rated power;
[0098] If the illuminance is determined to be within the fourth illuminance range, the lighting control circuit corresponding to the floor where workers are located is controlled to output its rated power, wherein the illuminance values corresponding to the first, second, third, and fourth illuminance ranges decrease sequentially.
[0099] Once the illuminance of the target floor is determined, the corresponding power can be directly queried based on that illuminance, and the power obtained from the query is then set as the target power, improving processing efficiency. Determining the target power based on the illuminance of the target floor ensures that the control of the lighting device matches the lighting conditions, further reducing the power consumption required by the lighting device while guaranteeing a good user experience.
[0100] In one exemplary implementation, the illuminance of the target floor is determined in the following manner:
[0101] Obtain the first illuminance under natural conditions and the second illuminance within the target floor;
[0102] If the difference between the first illuminance and the second illuminance of the target floor exceeds the illuminance threshold, the sum of the second illuminance and the compensated illuminance corresponding to the target floor is determined as the illuminance of the target floor. The larger the floor number corresponding to the target floor, the smaller the compensated illuminance value.
[0103] If the difference between the first illuminance and the second illuminance of the target floor does not exceed the illuminance threshold, then the second illuminance of the target floor is determined as the illuminance of the target floor.
[0104] In this embodiment of the disclosure, a first illuminance sensor is installed outside the target area to collect the first illuminance under natural conditions. The installation position of the first illuminance sensor should avoid the influence of lighting devices and surrounding buildings in the target area on the illuminance, and avoid direct sunlight to prevent large measurement errors.
[0105] To obtain the second illuminance within each floor, a second illuminance sensor can be installed on each floor to collect the second illuminance within each floor; alternatively, a movable illuminance sensor can be used to move sequentially between each floor to measure and collect the second illuminance of each floor.
[0106] Due to factors such as building obstruction of the target area, there may be a difference between the first illuminance and the second illuminance. Furthermore, the obstruction effect varies between floors; higher floors experience less light loss due to obstruction, while lower floors experience more. Therefore, the required illuminance compensation differs for each floor, and correspondingly, the higher the floor number corresponding to the target floor, the lower the compensation illuminance value. In this embodiment, a compensation illuminance can be pre-set for each floor based on measurement results, thus establishing a one-to-one correspondence between floor numbers and compensation illuminance. When the difference between the first illuminance and the second illuminance of the target floor exceeds a illuminance threshold, the sum of the second illuminance and the pre-determined compensation illuminance corresponding to the target floor is determined as the illuminance of the target floor.
[0107] As one possible implementation, when the illumination threshold is 0, the illumination of the target floor can be determined directly based on the first illumination, the floor number corresponding to the target floor, and the compensated illumination.
[0108] Please see Figure 3 This disclosure also provides a lighting control device 10, which may include:
[0109] The acquisition module 110 is configured to acquire personnel identification information within a target area, wherein the target area includes N floors, where N is an integer greater than 0;
[0110] The first determining module 120 is configured to determine whether there are workers in the target area based on personnel identification information;
[0111] The second determining module 130 is configured to determine the target power based on the illuminance of the target floor if there are workers in the target area and the illuminance of the target floor where the workers are located is less than a preset illuminance threshold.
[0112] The control module 140 is configured to control the lighting device corresponding to the target floor to turn on and control the lighting device to operate at the target power.
[0113] In the above technical solution, the presence of workers in the target area can be determined based on the acquired personnel identification information. If workers are present and the illuminance of the target floor is less than a preset illuminance threshold, a target power is determined based on the illuminance of the target floor. The lighting devices corresponding to the target floor are then controlled to turn on and operate at the target power. Therefore, this technical solution allows for control of lighting devices on floors with workers present in the target area, improving the accuracy of lighting control and preventing situations where lighting is on even when no workers are present, thus reducing power consumption to some extent. Furthermore, determining the target power based on the illuminance of the target floor ensures that the lighting control matches the lighting conditions, further reducing power consumption and guaranteeing a good user experience. Additionally, automatic control of the lighting devices allows for brightness adjustment, reducing energy consumption, extending the lifespan of the lighting devices, and lowering production costs.
[0114] Optionally, adjacent first and second photoelectric switches are installed in the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the floor entrance is greater than the distance between the second photoelectric switch and the floor. The first determining module 120 may further include:
[0115] The first determining submodule is configured to determine the trigger state of the first and second photoelectric switches on each floor, respectively.
[0116] The second determination submodule is configured to determine, for each floor, if based on the triggering states of the first and second photoelectric switches, that the first photoelectric switch is triggered first, and the second photoelectric switch is triggered within a first preset time after the first photoelectric switch is triggered, then it is determined that there are workers on the floor.
[0117] The third determining submodule is configured to determine that if, based on the triggering states of the first and second photoelectric switches, the second photoelectric switch is triggered first, and the first photoelectric switch is triggered within a second preset time after the second photoelectric switch is triggered, then it is determined that there are workers leaving the floor.
[0118] The fourth determination submodule is configured to determine whether there are workers in the target area based on the number of workers entering and leaving each floor.
[0119] Optionally, the fourth determining submodule can be further configured as follows:
[0120] If the difference between the number of workers entering and leaving the Nth floor is greater than zero, it is determined that there are workers on the Nth floor, and the difference is determined as the number of workers on the Nth floor.
[0121] If the difference between the number of workers entering and leaving the Mth floor, minus the number of workers on each floor from the (M+1)th floor to the Nth floor, results in a value greater than zero, it is determined that there are workers on the Mth floor, and this value is determined as the number of workers on the Mth floor, where M is an integer greater than 0 and less than N.
[0122] Optionally, an image recognition device is installed in the work area corresponding to the floor; the first determining module 120 may further include:
[0123] The first acquisition submodule is configured to perform image recognition based on the image of the work area acquired by the floor's image recognition device, and obtain the recognition result.
[0124] The fifth determination submodule is configured to determine that there are workers on the floor if the identification results show that personnel information has been identified.
[0125] The sixth determination submodule is configured to determine that if no workers are found on any floor, then no workers are found in the target area.
[0126] Optionally, the second determining module 130 may be further configured to query the corresponding relationship based on the illuminance of the target floor, and determine the power queried from the corresponding relationship as the target power, wherein the corresponding relationship includes a pre-set relationship between illuminance range and power, and the power corresponding to the illuminance range with smaller illuminance is larger.
[0127] Optionally, the second determining module 130 may further include:
[0128] The second acquisition submodule is configured to acquire the first illuminance under natural conditions and the second illuminance within the target floor.
[0129] The seventh determining submodule is configured to determine the illuminance of the target floor by the sum of the second illuminance and the compensated illuminance corresponding to the target floor if the difference between the first illuminance and the second illuminance of the target floor exceeds the illuminance threshold, wherein the larger the number of floors corresponding to the target floor, the smaller the compensated illuminance value.
[0130] The eighth determining submodule is configured to determine the second illuminance of the target floor as the illuminance of the target floor if the difference between the first illuminance and the second illuminance of the target floor does not exceed the illuminance threshold.
[0131] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0132] Please see Figure 4 This disclosure also provides a lighting control system 20, which may include:
[0133] Information collection device 210 is used to collect personnel identification information within a target area, wherein the target area includes N floors, where N is an integer greater than 0;
[0134] Lighting device 220, used to illuminate the target area;
[0135] The lighting control device 230 is used to execute the above-described lighting control method to control the lighting device based on the personnel identification information collected by the information acquisition device.
[0136] Optionally, the information collection device 210 may include:
[0137] A first and a second photoelectric switch are installed adjacent to each other within the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the floor entrance is greater than the distance between the second photoelectric switch and the floor; and / or
[0138] An image recognition device is installed in the corresponding work area on each floor to collect images of the work area.
[0139] This disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the lighting control method provided in this disclosure.
[0140] Figure 5 This is a block diagram illustrating an electronic device 700 according to an exemplary embodiment. For example... Figure 5 As shown, the electronic device 700 may include a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0141] The processor 701 controls the overall operation of the electronic device 700 to complete all or part of the steps in the aforementioned lighting control method. The memory 702 stores various types of data to support the operation of the electronic device 700. This data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. Multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory 702 or transmitted via communication component 705. The audio component also includes at least one speaker for outputting audio signals. I / O interface 704 provides an interface between processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual or physical buttons. Communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IoT, eMTC, or other 5G technologies, or combinations thereof, is not limited here. Therefore, the corresponding communication component 705 may include: a Wi-Fi module, a Bluetooth module, an NFC module, etc.
[0142] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the lighting control method described above.
[0143] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the lighting control method described above. For example, the computer-readable storage medium may be the memory 702 including program instructions described above, which may be executed by the processor 701 of the electronic device 700 to complete the lighting control method described above.
[0144] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.
[0145] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.
[0146] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.
Claims
1. A lighting control method, characterized in that, The method includes: Obtain personnel identification information within a target area, wherein the target area includes N floors, where N is an integer greater than 0; adjacent first and second photoelectric switches are installed in the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the entrance of the floor is greater than the distance between the second photoelectric switch and the floor; Based on the personnel identification information, determine whether there are any workers in the target area; If it is determined that there are workers in the target area, and the illuminance of the target floor where the workers are located is less than a preset illuminance threshold, then the target power is determined based on the illuminance of the target floor. The illuminance of the target floor is determined as follows: First illuminance under natural conditions and second illuminance within the target floor are obtained; if the difference between the first illuminance and the second illuminance of the target floor exceeds the illuminance threshold, then the sum of the second illuminance and the compensated illuminance corresponding to the target floor is determined as the illuminance of the target floor, wherein the larger the floor number corresponding to the target floor, the smaller the compensated illuminance; if the difference between the first illuminance and the second illuminance of the target floor does not exceed the illuminance threshold, then the second illuminance of the target floor is determined as the illuminance of the target floor. Control the lighting device corresponding to the target floor to turn on, and control the lighting device to operate at the target power; The step of determining whether there are workers in the target area based on the personnel identification information includes: Determine the trigger state of the first and second photoelectric switches on each floor. For each floor, if based on the triggering states of the first and second photoelectric switches, it is determined that the first photoelectric switch is triggered first, and the second photoelectric switch is triggered within a first preset time after the first photoelectric switch is triggered, then it is determined that there are workers on that floor. If, based on the triggering states of the first and second photoelectric switches, it is determined that the second photoelectric switch is triggered first, and the first photoelectric switch is triggered within a second preset time period after the second photoelectric switch is triggered, then it is determined that there are workers leaving the floor. If the difference between the number of workers entering and leaving the Nth floor is greater than zero, it is determined that there are workers on the Nth floor, and the difference is determined as the number of workers on the Nth floor. If the difference between the number of workers entering and leaving the Mth floor, minus the number of workers on each floor from the (M+1)th floor to the Nth floor, results in a value greater than zero, it is determined that there are workers on the Mth floor, and this value is determined as the number of workers on the Mth floor, where M is an integer greater than 0 and less than N.
2. The lighting control method according to claim 1, characterized in that, The work areas corresponding to the floors are equipped with image recognition devices. The step of determining whether there are workers in the target area based on the personnel identification information also includes: Image recognition is performed on the image of the work area obtained by the image recognition device of the floor to obtain the recognition result; If personnel information is identified in the identification results, it is determined that there are workers on that floor; If it is determined that there are no workers on any of the aforementioned floors, then it is determined that there are no workers in the target area.
3. The lighting control method according to claim 1, characterized in that, Determining the target power based on the illuminance of the target floor includes: The corresponding relationship is queried based on the illuminance of the target floor, and the power retrieved from the corresponding relationship is determined as the target power. The corresponding relationship includes a pre-set relationship between illuminance range and power, where the power corresponding to the illuminance range with smaller illuminance is larger.
4. A lighting control device, characterized in that, The device includes: The acquisition module is configured to acquire personnel identification information within a target area, wherein the target area includes N floors, where N is an integer greater than 0; adjacent first and second photoelectric switches are installed in the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the entrance of the floor is greater than the distance between the second photoelectric switch and the floor; The first determining module is configured to determine whether there are workers in the target area based on the personnel identification information; The second determining module is configured to determine the target power based on the illuminance of the target floor if it is determined that there are workers in the target area and the illuminance of the target floor where the workers are located is less than a preset illuminance threshold. The control module is configured to control the lighting device corresponding to the target floor to turn on, and to control the lighting device to operate at the target power; The first determining module includes: The first determining submodule is configured to determine the trigger state of the first and second photoelectric switches on each of the floors respectively; The second determining submodule is configured to determine, for each floor, that if, based on the triggering states of the first and second photoelectric switches, the first photoelectric switch is triggered first, and the second photoelectric switch is triggered within a first preset time after the first photoelectric switch is triggered, then it is determined that there are workers on that floor. The third determining submodule is configured to determine that if, based on the triggering states of the first and second photoelectric switches, the second photoelectric switch is triggered first, and the first photoelectric switch is triggered within a second preset time after the second photoelectric switch is triggered, then the floor is determined to have personnel leaving. The fourth determination submodule is configured to determine that if the difference between the number of workers entering and leaving the Nth floor is greater than zero, the Nth floor has workers, and the difference is determined as the number of workers on the Nth floor; if the difference between the number of workers entering and leaving the Mth floor minus the number of workers on each floor from the (M+1)th floor to the Nth floor is greater than zero, the Mth floor has workers, and the value is determined as the number of workers on the Mth floor, where M is an integer greater than 0 and less than N. The second determining module includes: The second acquisition submodule is configured to acquire the first illuminance under natural conditions and the second illuminance within the target floor. The seventh determining submodule is configured to determine the illuminance of the target floor as the sum of the second illuminance and the compensated illuminance corresponding to the target floor if the difference between the first illuminance and the second illuminance of the target floor exceeds the illuminance threshold, wherein the larger the number of floors corresponding to the target floor, the smaller the compensated illuminance. The eighth determining submodule is configured to determine the second illuminance of the target floor as the illuminance of the target floor if the difference between the first illuminance and the second illuminance of the target floor does not exceed the illuminance threshold.
5. A lighting control system, characterized in that, The system includes: An information collection device is used to collect personnel identification information within a target area, wherein the target area includes N floors, where N is an integer greater than 0, and the information collection device includes: a first photoelectric switch and a second photoelectric switch installed adjacent to each other in the target location area corresponding to the entrance of each floor, wherein the distance between the first photoelectric switch and the entrance of the floor is greater than the distance between the second photoelectric switch and the floor. A lighting device for illuminating the target area; A lighting control device is used to execute the lighting control method according to any one of claims 1-3, so as to control the lighting device based on the personnel identification information collected by the information collection device.
6. The lighting control system according to claim 5, characterized in that, The information collection device also includes: An image recognition device is installed in the work area corresponding to the floor level to collect images of the work area.
7. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, they implement the steps of the method according to any one of claims 1-3.
Citation Information
Patent Citations
Intelligent corridor lamp light control system
CN109788619A
Intelligent lighting control method, system and device and medium
CN112616229A
Building stair illumination control method and system, and readable storage medium
CN112638011A
Walking stair light intelligent control system and control method thereof
CN114501748A