Self-adaptive networking lighting system
By designing an adaptive network lighting system integrating PC module, ZigBee coordinator module, ZigBee terminal node module and sensor acquisition module, the limitations of lighting systems in the prior art in terms of multi-scene adaptability and intelligent control are solved, and precise and energy-saving lighting control is achieved.
Patent Information
- Application Number
- CN202510192179.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing adaptive lighting systems still need to be improved in terms of multi-scene adaptability, intelligence and refined control combined with mobile object detection, especially in the comprehensive processing of environmental brightness and mobile object information and the precise generation of lighting control instructions in the automatic control mode.
An adaptive network lighting system is designed, including a PC module, ZigBee coordinator module, ZigBee terminal node module and sensor acquisition module. Through the coordinated work of these modules, they can monitor the environmental brightness and moving object information in real time, calculate and generate accurate lighting control instructions, and dynamically adjust the switches and brightness of the lighting equipment.
More precise and energy-saving lighting control is realized, and the lighting device can be automatically turned on when the ambient brightness is below the preset threshold and a moving object is detected. The lighting device is turned off when the ambient brightness is above the preset threshold or there are no moving objects, reducing unnecessary energy consumption, and improving the response speed and adjustment accuracy of the lighting system.
Smart Images

Figure CN119697844A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent lighting control, and more specifically, to an adaptive networking lighting system. Background Art
[0002] Existing adaptive networking lighting system technologies mainly focus on improving lighting efficiency, energy saving and the level of intelligent lighting. These systems usually include sensors, control units and actuators, which can automatically adjust lighting equipment according to real-time data such as ambient brightness, moving object information and vehicle driving status. For example, in the field of automotive lighting, the adaptive front lighting system (AFS) can automatically adjust the direction and intensity of light according to vehicle speed, steering angle and ambient light to improve the safety and comfort of night driving. In the field of road lighting, the adaptive road lighting system based on ZigBee networking can automatically adjust the brightness and number of street lights according to the flow of vehicles and people, achieving energy saving and improving lighting effects.
[0003] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems or defects in the prior art: although the existing adaptive lighting system can be adjusted according to certain environmental changes, it still needs to be improved in terms of multi-scene adaptability, intelligence, and refined control combined with moving object detection, especially in the comprehensive processing of ambient brightness and moving object information in automatic control mode and the precise generation of lighting control instructions. Summary of the invention
[0004] The present invention provides an adaptive networking lighting system, comprising: The PC module is used to calculate the lighting control instruction according to the ambient brightness and the moving object detection result, and obtain the lighting control amount according to the calculation; A ZigBee coordinator module, used for generating a lighting control instruction according to the lighting control quantity; ZigBee terminal node module, used to receive and execute the lighting control instructions to control the switch and brightness of the lighting equipment; The sensor acquisition module is used to collect ambient brightness information and moving object information and send it to the PC module, which calculates the lighting control quantity.
[0005] Furthermore, the PC module executes the following process to calculate and obtain the lighting control instruction: The lighting control instruction in the lighting process is calculated using formula (1): (1); in, For lighting control instructions, is the ambient brightness, For moving object information, and is the control coefficient.
[0006] Furthermore, the calculation formulas for the ambient brightness and the moving object information are respectively: (2); (3); in, is the ambient brightness value collected by the sensor, is the ambient brightness adjustment coefficient, is the moving object information value collected by the sensor, Adjustment factor for moving object information.
[0007] Furthermore, the PC module executes the following process to calculate the lighting control amount: If the ambient brightness Below the preset threshold and there is a moving object , the lighting device enters the on mode; if the ambient brightness Above the preset threshold or no moving objects , the lighting device enters the off mode; In on mode, the lighting control volume Calculated by formula (4), (4); in, is the control coefficient, is the preset brightness threshold; In off mode, the lighting control volume Set to zero.
[0008] Furthermore, the ZigBee coordinator module calculates the lighting control instruction using the following formula: (5); in, Lighting control commands generated by the ZigBee coordinator module, The lighting control quantity calculated by the PC module, is the coordinator control factor.
[0009] Furthermore, the PC module executes the following process to calculate the lighting control amount: Calculate the control amount of the current cycle according to the PID control algorithm: (6); in, is the deviation, is the scale parameter, is the integration parameter, is the differential parameter; Calculate the lighting control amount of the current cycle: (7); in, It is the lighting control amount of the previous cycle.
[0010] Furthermore, the deviation of the current period is calculated according to the following steps: The ambient brightness data of the current cycle and the ambient brightness data of the previous five cycles are stored, the maximum and minimum values are removed, and the average value of the ambient brightness data of the remaining four cycles is used as the average brightness of the current cycle; The brightness of the first four cycles is recorded as , calculate the average brightness of the current cycle: (8); Using the target brightness of the first four cycles, calculate the average target brightness of the first four cycles: (9); Calculate the deviation of the current cycle: (10); Furthermore, before calculating the lighting control instruction, the PC module first determines the system working mode flag: if it is 0, it enters the manual control mode; if it is 1, it further determines whether the sensor has a moving object detection signal. If there is a moving object detection signal, the system working mode flag is cleared and the manual control mode is entered; otherwise, it enters the automatic control mode, and the PC module calculates the lighting control instruction.
[0011] Furthermore, the ZigBee terminal node module includes a lighting controller, a relay, a brightness sensor, a human infrared sensor and a car detector; When the adaptive networking lighting system is in manual control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to power off through wireless signals, and the human infrared sensor and brightness sensor cooperate to generate control signals and send the control signals to the lighting controller; When the adaptive networking lighting system is in automatic control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to be energized through wireless signals, and the PC module generates an analog control signal and sends the analog control signal to the lighting controller.
[0012] Furthermore, the sensor acquisition module includes: Light intensity sensors, human infrared sensors, and car detectors; When the adaptive networking lighting system is in manual control mode, the ZigBee coordinator module controls the sensor acquisition module through wireless signals and stops it from working. The human infrared sensor and light intensity sensor work together to generate high-voltage signals to drive the lighting equipment to operate. When the adaptive networking lighting system is in automatic control mode, the ZigBee coordinator module controls the sensor acquisition module through wireless signals, and the PC module transmits the lighting control quantity to the ZigBee coordinator module through CAN communication. The ZigBee coordinator module executes the response and establishes the signal, and the high-voltage signal enters the lighting device through the sensor acquisition module.
[0013] The above-mentioned embodiments of the present invention have at least the following beneficial effects: the adaptive networked lighting system monitors the ambient brightness and moving object information in real time through the integrated sensor acquisition module, and can dynamically adjust the switch and brightness of the lighting device, thereby achieving more accurate and energy-saving lighting control. The system can automatically turn on the lighting device when the ambient brightness is lower than the preset threshold and a moving object is detected, and turn off the lighting device when the ambient brightness is higher than the preset threshold or there is no moving object, which can reduce unnecessary energy consumption, especially in an environment without people or cars, and reduce the energy consumption of the lighting system.
[0014] In addition, the system uses PID control algorithm and coordinator control factor to finely adjust the lighting control amount, and can quickly respond to actual lighting needs and environmental changes to provide suitable lighting conditions. This intelligent control method can not only improve the response speed and adjustment accuracy of the lighting system, but also optimize the lighting effect according to actual usage, improve the lighting quality, and provide users with a more comfortable and safe lighting environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which: Figure 1 A schematic diagram of a flow chart of an adaptive networking lighting system method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0016] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0017] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0018] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0019] Reference below Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for adaptively networking a lighting system according to an embodiment of the present invention. Figure 1 As shown, an adaptive networked lighting system method 100 includes: The PC module 101 is used to calculate the lighting control instruction according to the ambient brightness and the moving object detection result, and obtain the lighting control amount according to the calculation; The ZigBee coordinator module 102 is used to generate a lighting control instruction according to the lighting control amount; ZigBee terminal node module 103, used to receive and execute the lighting control instruction to control the switch and brightness of the lighting equipment; The sensor acquisition module 104 is used to collect ambient brightness information and moving object information and send them to the PC module, which calculates the lighting control amount.
[0020] It should be noted that the adaptive networking lighting system includes a PC module, a ZigBee coordinator module, a ZigBee terminal node module and a sensor acquisition module. The PC module here refers to a central processing unit, which is responsible for calculating the lighting control instructions according to the ambient brightness and the detection results of moving objects. The ZigBee coordinator module is responsible for generating lighting control instructions, and the ZigBee terminal node module is the component that actually executes these instructions to control the switch and brightness of the lighting equipment. The sensor acquisition module is responsible for collecting ambient brightness information and moving object information, and sending it to the PC module to calculate the lighting control amount.
[0021] Specifically, the process executed by the PC module includes calculating the lighting control instructions using a specific formula, in which the ambient brightness and moving object information are obtained through the sensor acquisition module and used to calculate the lighting control amount after being processed by the adjustment coefficient. The ambient brightness adjustment coefficient and the moving object information adjustment coefficient are two key parameters, which can be set according to the actual environment and needs to optimize the lighting control effect. The sensor acquisition module includes a light intensity sensor, a human infrared sensor, and a car detector, which can provide detailed information about the ambient brightness and moving objects.
[0022] Preferably, when calculating the lighting control command, the PC module determines the on or off mode of the lighting device according to whether the ambient brightness is lower than a preset threshold and whether there is a moving object. In the on mode, the lighting control amount is calculated by a specific formula that takes into account the control coefficient and the preset brightness threshold. In the off mode, the lighting control amount is set to zero.
[0023] Furthermore, the lighting control instructions generated by the ZigBee coordinator module are also calculated using a specific formula that involves the lighting control quantity calculated by the PC module and the coordinator control factor. This design ensures that the lighting system can be flexibly adjusted according to actual environmental changes to achieve energy saving and improve lighting effects.
[0024] In some embodiments, the PC module executes the following process to calculate and obtain the lighting control instruction: The lighting control instruction in the lighting process is calculated using formula (1): (1); in, For lighting control instructions, is the ambient brightness, For moving object information, and is the control coefficient.
[0025] It should be noted that the system obtains lighting control instructions by executing a specific calculation process through the PC module. In this process, the lighting control instructions in the lighting process are first calculated using formula (1), which involves two key parameters: ambient brightness and moving object information, as well as two control coefficients. Ambient brightness refers to the light intensity of the current environment obtained by the sensor acquisition module, while moving object information refers to the existence and motion state of any moving object detected by the sensor. The control coefficient is a preset parameter used to adjust the calculation result of the lighting control instruction to achieve the desired lighting effect.
[0026] Specifically, the calculation formula (1) in the PC module can be expressed as: lighting control command = control coefficient 1 × ambient brightness + control coefficient 2 × moving object information. In this formula, control coefficient 1 and control coefficient 2 are parameters that can be adjusted according to actual lighting requirements and environmental conditions. The values of ambient brightness and moving object information are provided by the sensor acquisition module. After preliminary processing by the acquisition module, these values are sent to the PC module for further calculation. The specific setting of the control coefficient depends on the design goal of the lighting system and the expected lighting effect. For example, if you want to increase the lighting intensity when the ambient brightness is low, you can increase the value of control coefficient 1 accordingly.
[0027] Preferably, the PC module also takes into account the dynamic changes of the ambient brightness and the moving object information when performing the calculation. For example, a dynamic adjustment mechanism can be set so that the control coefficient 1 and the control coefficient 2 can be automatically adjusted according to the changes of the ambient brightness and the moving object information to achieve more precise lighting control.
[0028] Furthermore, a feedback mechanism can be introduced to further optimize the setting of the control coefficient by monitoring the actual output of the lighting equipment and the feedback of the environment, ensuring that the lighting system can adapt to different environmental conditions and changes in demand. Such a design can improve the adaptability and energy efficiency of the lighting system, while reducing manual intervention and realizing intelligent lighting control.
[0029] In some embodiments, the calculation formulas for the ambient brightness and the moving object information are: (2); (3); in, is the ambient brightness value collected by the sensor, is the ambient brightness adjustment coefficient, is the moving object information value collected by the sensor, Adjustment factor for moving object information.
[0030] It should be noted that the system uses a specific calculation formula to process the ambient brightness value and moving object information value collected by the sensor, and then calculates the lighting control instructions. The ambient brightness adjustment coefficient and the moving object information adjustment coefficient are two key parameters that are used to adjust the raw data collected by the sensor to adapt to the actual lighting needs. The ambient brightness value refers to the current ambient light intensity measured by the sensor, while the moving object information value refers to the presence and activity of moving objects detected by the sensor.
[0031] Specifically, the calculation formulas for ambient brightness and moving object information are: Ambient brightness = ambient brightness value collected by the sensor × ambient brightness adjustment coefficient; Moving object information = moving object information collected by the sensor × moving object information adjustment coefficient; In this process, the ambient brightness value and moving object information value collected by the sensor are the raw data directly obtained from the sensor acquisition module. The ambient brightness adjustment coefficient and the moving object information adjustment coefficient are parameters preset according to the system design and experimental data, and they can be adjusted according to environmental changes and system response requirements. The setting of these parameters directly affects the calculation results of the lighting control instructions, so they need to be fine-tuned according to the actual application scenario and lighting requirements.
[0032] Preferably, the system can further refine the settings of these parameters to adapt to different environments and application requirements. For example, the ambient brightness adjustment coefficient can be dynamically adjusted according to the time of day or seasonal changes to adapt to changes in natural light. The moving object information adjustment coefficient can be adjusted according to the activity level of moving objects in different scenes to ensure that the lighting system can respond to the appearance and disappearance of moving objects in a timely manner.
[0033] Furthermore, the system can also introduce a self-learning mechanism to automatically optimize the settings of these adjustment coefficients by collecting historical data and user feedback to improve the accuracy and efficiency of lighting control. Such a design can make the lighting system more intelligent and better adapt to complex environmental changes.
[0034] In some embodiments, the PC module executes the following process to calculate the lighting control amount: If the ambient brightness Below the preset threshold and there is a moving object , the lighting device enters the on mode; if the ambient brightness Above the preset threshold or no moving objects , the lighting device enters the off mode; In on mode, the lighting control volume Calculated by formula (4), (4); in, is the control coefficient, is the preset brightness threshold; In off mode, the lighting control volume Set to zero.
[0035] It should be noted that the system determines the on or off mode of the lighting device by judging the ambient brightness and moving object information through the PC module. The on mode means that when the ambient brightness is lower than the preset threshold and a moving object is detected, the lighting device will be activated to provide lighting. The off mode means that when the ambient brightness is higher than the preset threshold or no moving object is detected, the lighting device will be turned off to save energy. The preset threshold refers to an ambient brightness value set by the system to determine whether the lighting device needs to be turned on.
[0036] Specifically, the PC module will determine the control mode of the lighting device based on the calculation results of the ambient brightness and the moving object information. In the on mode, the lighting control amount is calculated by formula (4), that is: Lighting control amount = control coefficient × (preset brightness threshold - ambient brightness); The control coefficient here is a parameter that can be adjusted according to actual lighting needs, and the preset brightness threshold is a reference value set by the system to determine when to turn on the lighting equipment. The ambient brightness is the light intensity of the current environment monitored in real time by the sensor acquisition module.
[0037] Preferably, the system can further refine the calculation method of the lighting control amount in the on mode. For example, the control coefficient can be adjusted according to the time period or specific event to adapt to different lighting needs. The preset brightness threshold can also be dynamically adjusted according to seasonal changes, weather conditions or user preferences.
[0038] Furthermore, the system can also introduce an intelligent learning algorithm to automatically optimize the setting of the control coefficient and preset brightness threshold according to historical data and user feedback to achieve a more energy-saving and comfortable lighting effect. Such a design can make the lighting system more flexible and intelligent, and better adapt to various environments and user needs.
[0039] In some embodiments, the ZigBee coordinator module calculates the lighting control instruction using the following formula: (5); in, Lighting control commands generated by the ZigBee coordinator module, The lighting control quantity calculated by the PC module, is the coordinator control factor.
[0040] It should be noted that the ZigBee coordinator module is responsible for generating specific lighting control instructions based on the lighting control quantity calculated by the PC module. In this process, the coordinator control factor is a key parameter, which is used to adjust and optimize the lighting control instructions to ensure that the lighting equipment can accurately respond to environmental changes and control requirements. The coordinator control factor refers to the multiplier used to adjust the control quantity when generating lighting control instructions. It can be adjusted according to the actual lighting effect and system performance.
[0041] Specifically, the process of the ZigBee coordinator module generating lighting control instructions can be expressed by the following formula: Lighting control index = lighting control quantity calculated by PC module × coordinator control factor; In this formula, the lighting control amount calculated by the PC module is based on the ambient brightness and moving object information, while the coordinator control factor is a parameter that can be adjusted according to system performance and lighting requirements. The setting of this parameter directly affects the intensity of the lighting control command, thereby affecting the response behavior of the lighting equipment.
[0042] Preferably, the system can further refine the setting and adjustment mechanism of the coordinator control factor. For example, the coordinator control factor can be dynamically adjusted according to time period, environmental conditions or user preferences to achieve more refined lighting control.
[0043] Furthermore, the system can also introduce a feedback mechanism to automatically adjust the coordinator control factor by monitoring the actual output of the lighting equipment and the feedback of the environment to optimize the lighting effect and energy saving effect. Such a design can make the lighting system more intelligent and better adapt to different environments and user needs, while improving the energy efficiency and response speed of the system.
[0044] In some embodiments, the PC module executes the following process to calculate the lighting control amount: Calculate the control amount of the current cycle according to the PID control algorithm: (6); in, is the deviation, is the scale parameter, is the integration parameter, is the differential parameter; Calculate the lighting control amount of the current cycle: (7); in, It is the lighting control amount of the previous cycle.
[0045] It should be noted that the PC module uses the PID control algorithm to calculate the lighting control amount for the current cycle. The PID control algorithm is a common feedback control mechanism that is used to calculate the deviation in the system and adjust the control amount based on the deviation to achieve the desired system behavior. In this system, the PID control algorithm involves proportional parameters, integral parameters, and differential parameters, which together determine how to respond to the deviation to adjust the lighting control amount. The proportional parameter determines the direct impact of the deviation, the integral parameter considers the cumulative effect of the deviation over time, and the differential parameter predicts the future trend of the deviation.
[0046] Specifically, the process of the PC module calculating the lighting control quantity according to the PID control algorithm is as follows: Control quantity = proportional parameter × deviation + integral parameter × ∫ deviation dt + differential parameter × ; In this formula, the deviation refers to the difference between the actual lighting state and the target lighting state. The proportional parameter, integral parameter and differential parameter are the key parameters of the PID controller, which need to be adjusted according to the specific characteristics of the system and the control objectives. The settings of these parameters directly affect the response speed and stability of the system.
[0047] Preferably, the system can further refine the implementation details of the PID control algorithm. For example, an adaptive mechanism can be introduced to enable the proportional parameter, integral parameter and differential parameter to be dynamically adjusted according to the actual operation of the system to improve the control accuracy and adaptability.
[0048] Furthermore, the system can also adopt advanced control strategies, such as fuzzy logic or neural networks, to handle complex nonlinear system behaviors. These advanced control strategies can provide more flexible and precise lighting control, especially when the environmental conditions are complex or the system response requirements are high. Through these refinements and alternatives, the system can better adapt to different environments and needs, and achieve efficient and intelligent lighting control.
[0049] In some embodiments, the deviation of the current cycle is calculated according to the following steps: The ambient brightness data of the current cycle and the ambient brightness data of the previous five cycles are stored, the maximum and minimum values are removed, and the average value of the ambient brightness data of the remaining four cycles is used as the average brightness of the current cycle; The brightness of the first four cycles is recorded as , calculate the average brightness of the current cycle: (8); Using the target brightness of the first four cycles, calculate the average target brightness of the first four cycles: (9); Calculate the deviation of the current cycle: (10); It should be noted that the system calculates the deviation of the current cycle by storing and processing the ambient brightness data. The deviation refers to the difference between the current ambient brightness and the target brightness, which is a key factor in adjusting the lighting control quantity in the PID control algorithm. The ambient brightness data refers to the actual value of the ambient light intensity collected by the sensor acquisition module, while the target brightness is the ideal light intensity according to the preset conditions or set by the user.
[0050] Specifically, the system first stores the ambient brightness data of the current cycle and the ambient brightness data of the previous five cycles. These data are used to calculate the deviation and then adjust the lighting control amount. In this process, the system removes the maximum and minimum values of these data to reduce the impact of abnormal data on the deviation calculation. Then, the system averages the ambient brightness data of the remaining four cycles to obtain the average brightness of the current cycle. At the same time, the system also calculates the average of the target brightness of the previous four cycles to determine the average target brightness of the current cycle. The deviation is obtained by the difference between the average brightness of the current cycle and the average target brightness.
[0051] Preferably, the system can further refine the calculation method of the deviation. For example, the system can use a weighted average method to calculate the average brightness of the current cycle and the average target brightness, where different cycles can have different weights to reflect their influence on the current lighting state.
[0052] Furthermore, the system can also introduce a prediction model to predict future changes in ambient brightness based on historical data, so as to adjust the lighting control amount in advance to reduce the deviation caused by environmental changes. Such a design can make the lighting system more sensitive and efficient, better adapt to environmental changes, and improve lighting quality and energy efficiency.
[0053] In some embodiments, before calculating the lighting control instruction, the PC module first determines the system working mode flag: if it is 0, it enters the manual control mode; if it is 1, it further determines whether there is a moving object detection signal from the sensor. If there is a moving object detection signal, the system working mode flag is cleared and the manual control mode is entered; otherwise, it enters the automatic control mode, and the PC module calculates the lighting control instruction.
[0054] It should be noted that before the PC module calculates the lighting control command, it will first check the system working mode flag to determine whether to enter the manual control mode or the automatic control mode. The system working mode flag is a variable used to indicate the current working state of the system. Its value determines whether the lighting system operates according to the preset automatic control logic or is manually controlled by the user. The manual control mode allows the user to directly intervene in the switching and brightness adjustment of the lighting equipment, while the automatic control mode relies on sensor data and preset control algorithms.
[0055] Specifically, the system working mode flag bit check process is as follows: First, the PC module reads the current value of the system working mode flag bit. If the flag bit is 0, the system enters the manual control mode, in which the user can directly control the lighting device. If the flag bit is 1, the system further checks whether the sensor detects a signal of a moving object. If the sensor detects a moving object, the system will clear the working mode flag bit and enter the manual control mode again; if no moving object is detected, the system remains in the automatic control mode, and the PC module calculates the lighting control instructions based on the sensor data.
[0056] Preferably, the system can further refine the processing logic of the working mode flag. For example, the system can set a timer or a specific trigger condition so that when there is no moving object signal for a certain period of time, the system working mode flag is automatically set to 1, thereby entering the automatic control mode.
[0057] Furthermore, the system can also provide a user interface that allows users to manually set the system working mode flag as needed, or temporarily switch to manual control mode in automatic control mode according to specific events (such as security alarms). Such a design can improve the flexibility of the system and user experience, while ensuring that it can quickly respond to user control needs when needed.
[0058] In some embodiments, the ZigBee terminal node module includes a lighting controller, a relay, a brightness sensor, a human infrared sensor, and a car detector; When the adaptive networking lighting system is in manual control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to power off through wireless signals, and the human infrared sensor and brightness sensor cooperate to generate control signals and send the control signals to the lighting controller; When the adaptive networking lighting system is in automatic control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to be energized through wireless signals, and the PC module generates an analog control signal and sends the analog control signal to the lighting controller.
[0059] It should be noted that the ZigBee terminal node module contains multiple components that work together to achieve the control of lighting equipment. This module includes a lighting controller, relay, brightness sensor, human infrared sensor, and car detector. The lighting controller is responsible for receiving signals from the ZigBee coordinator module and controlling the lighting equipment; the relay is responsible for connecting or disconnecting the power supply in the circuit; the brightness sensor is used to detect the ambient brightness; the human infrared sensor is used to detect human movement; and the car detector is used to detect the presence of a vehicle. These components work together to achieve automatic control of the lighting system.
[0060] Specifically, when the system is in manual control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to de-energize through wireless signals. At this time, the human infrared sensor and the brightness sensor cooperate to generate control signals and send these signals to the lighting controller. In automatic control mode, the ZigBee coordinator module controls the relay to be powered through wireless signals, and the PC module generates analog control signals and sends these signals to the lighting controller. The manual control mode here allows users to directly control lighting equipment, while the automatic control mode relies on sensor data and preset control algorithms to automatically adjust lighting.
[0061] Preferably, the system can further refine the operation steps of the ZigBee terminal node module. For example, in manual control mode, the system can set a user interface to allow the user to directly control the switch and brightness of the lighting device through buttons or touch screens. In automatic control mode, the system can optimize the response threshold of the sensor to reduce false triggering and improve the accuracy of control.
[0062] Furthermore, the system can also introduce an intelligent learning algorithm to automatically adjust the sensitivity of the sensor and the control logic according to historical data and user behavior patterns to achieve more personalized and efficient lighting control. Such a design can make the lighting system more flexible and intelligent, and better adapt to different environments and user needs.
[0063] In some embodiments, the sensor acquisition module includes: Light intensity sensors, human infrared sensors, and car detectors; When the adaptive networking lighting system is in manual control mode, the ZigBee coordinator module controls the sensor acquisition module through wireless signals and stops it from working. The human infrared sensor and light intensity sensor work together to generate high-voltage signals to drive the lighting equipment to operate. When the adaptive networking lighting system is in automatic control mode, the ZigBee coordinator module controls the sensor acquisition module through wireless signals, and the PC module transmits the lighting control quantity to the ZigBee coordinator module through CAN communication. The ZigBee coordinator module executes the response and establishes the signal, and the high-voltage signal enters the lighting device through the sensor acquisition module.
[0064] It should be noted that the sensor acquisition module includes light intensity sensors, human infrared sensors, and car detectors, which are responsible for collecting information about ambient brightness and moving objects. The light intensity sensor is used to measure the light level of the environment, the human infrared sensor is used to detect the movement of the human body, and the car detector is used to sense the presence of vehicles. The data collected by these sensors is used to control the switch and brightness of lighting equipment to achieve automation and intelligence of the lighting system.
[0065] Specifically, the sensor acquisition module does not work in manual control mode, while in automatic control mode, the ZigBee coordinator module controls the sensor acquisition module to work through wireless signals. In manual control mode, the human infrared sensor and the light intensity sensor work together to generate high-voltage signals to drive the lighting equipment. In automatic control mode, the PC module transmits the lighting control quantity to the ZigBee coordinator module through CAN communication, the ZigBee coordinator module executes the response and establishes the signal, and the high-voltage signal enters the lighting equipment through the sensor acquisition module. The CAN communication here refers to the controller area network communication, a communication protocol commonly used in industrial automation and automotive electronics.
[0066] Preferably, the system can further refine the workflow and parameter settings of the sensor acquisition module. For example, the sensitivity and response time of the light intensity sensor can be set to adapt to changes in different ambient lighting conditions. The detection range and sensitivity of the human infrared sensor and the car detector can also be adjusted according to the actual application scenario.
[0067] Furthermore, the system can also introduce compensation mechanisms for environmental factors, such as the impact of temperature and humidity on sensor performance, to improve the stability and reliability of the system. In automatic control mode, the system can also dynamically adjust the lighting control strategy based on real-time data, such as increasing the lighting brightness when a vehicle or person moves, and reducing the brightness when no activity is detected, to achieve more energy-saving and efficient lighting control.
[0068] The above-mentioned embodiments of the present invention have the following beneficial effects: the adaptive networked lighting system of the present invention can realize the automation and intelligence of lighting control through the coordinated work of the PC module, the ZigBee coordinator module and the sensor acquisition module. The system can automatically adjust the switch and brightness of the lighting equipment according to the ambient brightness and the information of the moving object, which can reduce manual intervention, improve the flexibility and response speed of the lighting system, and reduce energy consumption, thereby achieving the effect of energy saving and environmental protection.
[0069] In addition, the system can more accurately control the brightness and switch status of lighting equipment to adapt to different environmental conditions and lighting needs through the introduction of PID control algorithm and coordinator control factor. This precise control can not only improve the lighting quality, but also further optimize the energy efficiency and reduce unnecessary energy waste. The system can also automatically switch between manual and automatic control modes according to the system working mode flag, enhancing the applicability of the system and the convenience of user operation.
[0070] Example The present invention is further described below in conjunction with specific scenarios and parameters. Application of the Adaptive Networked Lighting System in Large Underground Parking Lots Large underground parking lots have large areas, frequent vehicle and personnel movements, and high requirements for energy saving and intelligence of the lighting system.
[0071] 1. First set the environment parameters: Ambient brightness adjustment factor .
[0072] Since underground parking lots are relatively closed and have less natural light, in order to more accurately adjust the lighting according to the actual lighting conditions, the ambient brightness adjustment coefficient is appropriately increased so that the ambient brightness value collected by the sensor can more reasonably reflect the actual needs in the calculation.
[0073] Moving object information adjustment factor .
[0074] Taking into account the relatively fast movement speed of vehicles and people in the parking lot, in order to enable the lighting system to respond more quickly to the appearance and disappearance of moving objects, the moving object information adjustment coefficient is increased and the weight of the moving object information in the calculation of lighting control instructions is enhanced.
[0075] Control coefficient .
[0076] According to the lighting requirements of the parking lot, it is hoped that when the ambient brightness is low, the presence of moving objects can more significantly affect the lighting control instructions, so The value is relatively large to highlight the impact of moving object information on turning on lighting; It is set according to the basic influence of the ambient brightness on the lighting intensity.
[0077] Preset brightness threshold .
[0078] After investigating the actual usage of parking lots, it was found that when the ambient brightness is lower than 30 lux, lighting equipment needs to be turned on to ensure sufficient visibility; when it is higher than this threshold, lighting equipment can be turned off to save energy.
[0079] Coordinator Control Factor .
[0080] In order to appropriately amplify the lighting control amount calculated by the PC module when the ZigBee coordinator module generates a lighting control instruction and make the lighting equipment more responsive, the coordinator control factor is set according to actual tests.
[0081] PID control parameters are P = 0.5, I = 0.3, D = 0.2.
[0082] The PID control parameters are determined through multiple tests and debugging based on the response characteristics and stability requirements of the parking lot lighting system. The proportional parameter P is used to quickly respond to deviations, the integral parameter I is used to eliminate steady-state errors, and the differential parameter D is used to predict the deviation change trend, which work together to achieve precise lighting control.
[0083] 2. Calculation process: Calculation of ambient brightness and moving object information: At a certain moment, the ambient brightness value collected by the light intensity sensor , the human infrared sensor and the car detector detect a moving object, and the moving object information value (Assume that when a moving object is detected, it is 1, and when it is not detected, it is 0). According to the formula , we can get the ambient brightness , according to the formula Moving object information .
[0084] Lighting control command calculation: According to the formula ,Will Substituting into the formula, we can get the lighting control instruction .
[0085] Lighting control quantity calculation: determine the opening mode and use the formula Available lighting control .
[0086] ZigBee coordinator module lighting control command calculation: using the formula , known ,
[0087] The lighting control instructions generated by the ZigBee coordinator module .
[0088] PID control algorithm calculates the lighting control amount: Assuming the lighting control amount of the previous cycle The calculation process of the deviation e calculated in the previous cycle is as follows: store the ambient brightness data of the current cycle and the previous five cycles, assuming it is [22, 25, 20, 24, 26, 23], remove the maximum value 26 and the minimum value 20, and the remaining data is [22, 25, 24, 23], and the average brightness of the current cycle .
[0089] Assuming that the target brightness of the first four cycles is [25, 26, 24, 25], the average target brightness of the first four cycles is .
[0090] Calculate Deviation According to the PID control algorithm formula , assuming that the integral term , the differential term , ,but The lighting control amount for the current cycle Finally, the ZigBee terminal node module controls the switch and brightness of the lighting equipment according to the received lighting control instructions, providing appropriate lighting for vehicles and people in the parking lot.
[0091] Furthermore, the storage medium of the embodiment of the present application stores program instructions that can implement all the above methods, wherein the program instructions can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.
[0092] The above descriptions are only some preferred embodiments of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present invention is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present invention.
Claims
1. An adaptive network lighting system, characterized in that: include: The PC module is used to calculate the lighting control instruction according to the ambient brightness and the moving object detection result, and obtain the lighting control amount according to the calculation; A ZigBee coordinator module, used for generating a lighting control instruction according to the lighting control quantity; ZigBee terminal node module, used to receive and execute the lighting control instructions to control the switch and brightness of the lighting equipment; The sensor acquisition module is used to collect ambient brightness information and moving object information and send it to the PC module, which calculates the lighting control quantity.
2. The adaptive networked lighting system according to claim 1, characterized in that: The PC module executes the following process to calculate and obtain the lighting control instruction: The lighting control instruction in the lighting process is calculated using formula (1): (1); in, For lighting control instructions, is the ambient brightness, For moving object information, and is the control coefficient.
3. The adaptive networked lighting system according to claim 2, characterized in that: The calculation formulas for the ambient brightness and moving object information are: (2); (3); in, is the ambient brightness value collected by the sensor, is the ambient brightness adjustment coefficient, is the moving object information value collected by the sensor, Adjustment factor for moving object information.
4. The adaptive networked lighting system according to claim 3, characterized in that: The PC module executes the following process to calculate the lighting control amount: If the ambient brightness Below the preset threshold and there is a moving object , the lighting device enters the on mode; if the ambient brightness Above the preset threshold or no moving objects , the lighting device enters the off mode; In on mode, the lighting control volume Calculated by formula (4), (4); in, is the control coefficient, is the preset brightness threshold; In off mode, the lighting control volume Set to zero.
5. The adaptive networked lighting system according to claim 4, characterized in that: The ZigBee coordinator module calculates the lighting control command using the following formula: (5); in, Lighting control commands generated by the ZigBee coordinator module, The lighting control quantity calculated by the PC module, is the coordinator control factor.
6. The adaptive networked lighting system according to claim 5, characterized in that: The PC module executes the following process to calculate the lighting control quantity: Calculate the control amount of the current cycle according to the PID control algorithm: (6); in, is the deviation, is the scale parameter, is the integration parameter, is the differential parameter; Calculate the lighting control amount of the current cycle: (7); in, It is the lighting control amount of the previous cycle.
7. The adaptive networked lighting system according to claim 6, characterized in that: The deviation of the current period is calculated according to the following steps: The ambient brightness data of the current cycle and the ambient brightness data of the previous five cycles are stored, the maximum and minimum values are removed, and the average value of the ambient brightness data of the remaining four cycles is used as the average brightness of the current cycle; The brightness of the first four cycles is recorded as , calculate the average brightness of the current cycle: (8); Using the target brightness of the first four cycles, calculate the average target brightness of the first four cycles: (9); Calculate the deviation of the current cycle: (10)。 8. The adaptive networked lighting system according to any one of claim 7, characterized in that: Before calculating the lighting control instruction, the PC module first determines the system working mode flag: if it is 0, it enters the manual control mode; if it is 1, it further determines whether there is a moving object detection signal from the sensor. If there is a moving object detection signal, the system working mode flag is cleared and the manual control mode is entered; otherwise, it enters the automatic control mode, and the PC module calculates the lighting control instruction.
9. The adaptive networked lighting system according to claim 8, characterized in that: The ZigBee terminal node module includes a lighting controller, a relay, a brightness sensor, a human infrared sensor and a car detector; When the adaptive networking lighting system is in manual control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to power off through wireless signals, and the human infrared sensor and brightness sensor cooperate to generate control signals and send the control signals to the lighting controller; When the adaptive networking lighting system is in automatic control mode, the ZigBee coordinator module controls the relay in the ZigBee terminal node module to be energized through wireless signals, and the PC module generates an analog control signal and sends the analog control signal to the lighting controller.
10. The adaptive networked lighting system according to claim 9, characterized in that: The sensor acquisition module comprises: Light intensity sensors, human infrared sensors, and car detectors; When the adaptive networking lighting system is in manual control mode, the ZigBee coordinator module controls the sensor acquisition module through wireless signals and stops it from working. The human infrared sensor and light intensity sensor work together to generate high-voltage signals to drive the lighting equipment to operate. When the adaptive networking lighting system is in automatic control mode, the ZigBee coordinator module controls the sensor acquisition module through wireless signals, and the PC module transmits the lighting control quantity to the ZigBee coordinator module through CAN communication. The ZigBee coordinator module executes the response and establishes the signal, and the high-voltage signal enters the lighting device through the sensor acquisition module.
Citation Information
Patent Citations
Energy-saving dimming system and method for street lamp network based on microwave or millimeter wave radar array detection method
CN111479359A
LED lamp dynamic control method and system based on Internet of Things
CN118632415A
Intelligent landscape lighting control system based on data fusion of distributed optical sensors
CN119383796A
Blind window curtain intelligent control system
CN203925234U
Tunnel intelligent lighting control system
CN209375992U