Illumination control method and system using human body infrared induction
By using human infrared sensing technology, the functions of obtaining environmental data, making lighting control decisions and generating control instructions in the existing lighting control system are realized, which solves the problem that the existing system cannot promptly notify relevant personnel of safety accidents, and improves the accuracy and adaptability of the lighting system.
Patent Information
- Application Number
- CN202510237860.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-06-27
AI Technical Summary
The existing lighting control system can only simply implement lighting control during operation, and cannot promptly notify relevant personnel in case of safety accidents.
The lighting control method using infrared sensing of the human body is adopted to obtain environmental data, make lighting control decisions based on the data, generate control instructions and control lighting equipment, and trigger an alarm response when abnormal data is detected.
It realizes the accuracy and adaptability of lighting control decisions, can effectively capture indoor environment changes, reduce control errors, improve the online monitoring and energy management efficiency of lighting systems, reduce energy consumption and enhance the adaptability of lighting systems.
Smart Images

Figure CN120224537A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lighting control, and particularly to a lighting control method and system using human body infrared sensing. Background Art
[0002] A lighting controller is a device used to control and adjust lighting. It is commonly used in various industrial plants, tunnels, and underground cavern groups for lighting applications to ensure that the illuminance remains within a set range. The basic principle of a lighting controller is to measure the illuminance of the environment or system and perform feedback control based on the set illuminance range. When the actual illuminance exceeds or falls below the set illuminance range, the illuminance controller will take corresponding control actions to adjust the lighting system so that the illuminance returns to the set range. A lighting control system is a system that uses traditional power and control technologies to control lighting devices. It generally consists of switches, controllers, sensors, actuators, etc., and is connected by wired or wireless means to achieve remote or local control of lighting devices. The main functions of a lighting control system include switch control, dimming control, scene setting, etc. The basic principle of a lighting controller is to measure the illuminance of the environment or system and perform feedback control based on the set illuminance range. When the actual illuminance exceeds or falls below the set illuminance range, the illuminance controller will take corresponding control actions to adjust the lighting system so that the illuminance returns to the set range. When a living being enters, the infrared induction lighting system automatically identifies and turns on (within a certain range) the lighting fixtures.
[0003] However, during the operation of common lighting control systems, they can only simply achieve lighting control, and thus when a safety accident occurs, relevant personnel cannot be notified in a timely manner. Summary of the Invention
[0004] In view of the above problems, the present invention is proposed.
[0005] Therefore, the present invention provides a lighting control method using human body infrared sensing, which can solve the problems mentioned in the background art.
[0006] To solve the above technical problems, the present invention provides the following technical solution: A lighting control method using human body infrared sensing, comprising: obtaining environmental data;
[0007] Making a lighting control decision based on the environmental data, and generating a lighting control instruction according to the decision result to control lighting devices;
[0008] Monitoring whether the environmental data is abnormal, and if abnormal data is detected, triggering an alarm response.
[0009] As a preferred solution of the lighting control method using human body infrared sensing according to the present invention, wherein: Making a lighting control decision based on the environmental data includes:
[0010] Preprocess the environmental data and construct a control strategy model based on the preprocessed data;
[0011] Use a weight assignment algorithm to comprehensively analyze the environmental data, generate a first decision content and a second decision content, and combine the first decision content and the second decision content to form a lighting control instruction.
[0012] As a preferred embodiment of the lighting control method using human body infrared sensing according to the present invention, wherein: the lighting control device has multiple control modes, including:
[0013] In the first control mode, the lighting device is controlled by a manual switch, and in the second control mode, the lighting device is automatically controlled according to illuminance data and human presence data;
[0014] If abnormal environmental safety data is detected, it will automatically switch to the third control mode.
[0015] As a preferred embodiment of the lighting control method using human body infrared sensing according to the present invention, wherein: the alarm response includes:
[0016] The first alarm method transmits abnormal data through text information;
[0017] The second alarm method transmits alarm content through voice information.
[0018] To further solve the above technical problems, the present invention provides the following technical solution: a lighting control system using human body infrared sensing, including:
[0019] A power supply module, a control center module, a data acquisition module, a communication module, a processor module, a user interface module, and an alarm module;
[0020] The data acquisition module is used to obtain environmental data, the processor module is used to make lighting control decisions based on the environmental data, and the alarm module is used to trigger an alarm response when environmental abnormalities are detected.
[0021] As a preferred embodiment of the lighting control system using human body infrared sensing according to the present invention, wherein: the lighting control method using human body infrared sensing, characterized by including,
[0022] A power supply module, a control center module, a data acquisition module, a communication module, a processor module, a user interface module, and an alarm module;
[0023] The data acquisition module is used to obtain environmental data, the processor module is used to make lighting control decisions based on the environmental data, and the alarm module is used to trigger an alarm response when environmental abnormalities are detected.
[0024] As a preferred solution of the lighting control system using human body infrared induction according to the present invention, wherein: the processor module includes:
[0025] Adopt an adaptive algorithm to analyze lighting requirements;
[0026] Generate lighting control instructions according to the comprehensive evaluation of environmental data.
[0027] As a preferred solution of the lighting control system using human body infrared induction according to the present invention, wherein: the communication module adopts a double-layer communication architecture:
[0028] The first-layer communication is used for internal data transmission of the system, and the second-layer communication is used for networking of terminal devices;
[0029] The alarm module includes a first alarm unit and a second alarm unit.
[0030] A computer device includes a memory and a processor, the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of the lighting control method using human body infrared induction as described above are realized.
[0031] A computer-readable storage medium stores a computer program, and is characterized in that when the computer program is executed by a processor, the steps of the lighting control method using human body infrared induction as described above are realized.
[0032] The beneficial effects of the present invention: The present invention organically combines the first decision content and the second decision content of lighting control decision-making to achieve joint control, and there are various flexible methods for establishing and implementing control rules, improving adaptability and generalization ability; it can effectively capture the complex characteristics of indoor environment changes, including illuminance changes, human activity characteristics and environmental safety status, and reduce control errors through the organic integration of various decision contents; the accurate control result can improve the online monitoring and energy management efficiency of the lighting system, reduce energy consumption, and also enhance the adaptability of the lighting system to indoor environment changes, reduce unnecessary lighting power consumption, and improve lighting comfort. Description of the Drawings
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.
[0034] Figure 1 It is a schematic diagram of the overall process of a lighting control method using human body infrared induction proposed by the present invention;
[0035] Figure 2 It is a diagram of a computer device in an illumination control method using human body infrared sensing proposed by the present invention. Specific implementation manners
[0036] To make the above objects, features, and advantages of the present invention more obvious and understandable, the following will describe the specific implementation manners of the present invention in detail with reference to the accompanying drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Those skilled in the art can make similar extensions without departing from the connotation of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
[0038] Example 1, referring to Figure 1 This is an embodiment of the present invention, which provides an illumination control method using human body infrared sensing.
[0039] Figure 1 It shows an overall flow schematic diagram of an illumination control method using human body infrared sensing, including the following steps:
[0040] S100: Obtain environmental data, where the environmental data includes illuminance data, human presence data, and environmental safety data;
[0041] S102: Make an illumination control decision based on the environmental data;
[0042] S104: Generate an illumination control instruction, and control the illumination device according to the illumination control instruction;
[0043] S106: Monitor whether the environmental data is abnormal. If abnormal data is detected, trigger an alarm response.
[0044] It should be noted that the present invention establishes a dynamic association between the illumination requirements and environmental variables in the indoor illumination system; by constructing a joint control strategy for environmental data analysis and decision-making, it realizes the precise control of indoor space illumination, solves the influence of complex dynamic changes of environmental factors on the illumination effect in the traditional illumination control process, and improves the accuracy and efficiency of the online monitoring and energy management of the illumination system.
[0045] In the embodiments of the present application, the above step S102 includes the following sub-steps A1 - A2:
[0046] In A1: Preprocess the environmental data.
[0047] In the embodiments of the present application, the environmental data includes illuminance data, human presence data, and environmental safety data.
[0048] In a possible embodiment, the illuminance data may include historical illuminance data, real-time illuminance data, environmental natural light illuminance data, artificial light source illuminance data, etc.
[0049] In a possible embodiment, the human presence data may include human presence status data, human quantity data, human position data, human activity area data, etc.
[0050] In a possible embodiment, the environmental safety data may include smoke concentration data, gas leakage data, temperature anomaly data, circuit fault data, etc.
[0051] In a possible embodiment, the environmental data may further include environmental variables such as indoor light intensity, indoor temperature, outdoor light intensity, etc.
[0052] In a possible embodiment, the preprocessing may include outlier processing, missing value processing, feature extraction, and data standardization, etc.; the outlier processing methods may be the Z-score method, the method based on the interquartile range, the isolation forest method, etc.; the missing value processing methods may be the mean / median / mode filling method, the multiple imputation method, the neighboring value filling method, etc.; the feature extraction methods may be the principal component analysis method, the linear discriminant analysis method, the autoencoder method, etc.; the data standardization methods may be the min-max standardization method, the Z-score standardization method, the decimal scaling standardization method, etc.
[0053] In the embodiments of the present application, the preprocessing includes outlier processing and data standardization operations;
[0054] Specifically, the interquartile range method is used to identify and process outliers. After the outlier processing, the dimension of the data remains unchanged and is still represented as D, where M represents the number of environmental data and n represents the number of samples;
[0055] Specifically, the Z-standardization method is used. The value of each feature is subtracted by its mean and then divided by its standard deviation, so that the mean of the standardized data is 0 and the standard deviation is 1. The dimension of the standardized data is still D.
[0056] It should be noted that after the standardization processing, the environmental data will have better adaptability, which helps to improve the convergence speed and control accuracy of the method of the present invention.
[0057] In A2: A control strategy model is constructed using the preprocessed environmental data.
[0058] Specifically, the historical data of indoor lighting can be regarded as a dynamic data structure; each node represents different influencing factors, such as indoor light intensity, human presence status, environmental safety status, etc., and the relationships between nodes represent the dependencies between these factors.
[0059] In one possible embodiment, multiple methods can be used to construct the control strategy model, including but not limited to: rule model method, statistical model method, machine learning model method, and deep learning model method, etc.
[0060] In one possible embodiment, the rule model method can establish a logical rule set based on expert knowledge; the statistical model method can establish a regression model or a time series model based on historical data; the machine learning model method can adopt algorithms such as support vector machine, random forest, or gradient boosting decision tree; the deep learning model method can adopt algorithms such as convolutional neural network, recurrent neural network, or graph neural network.
[0061] In the embodiment of the present application, by comprehensively analyzing the environmental data using the weight assignment algorithm, the first decision content and the second decision content are generated.
[0062] In one possible embodiment, the weight assignment algorithm can include a fixed weight assignment algorithm, a dynamic weight assignment algorithm, and an adaptive weight assignment algorithm, etc.
[0063] In one possible embodiment, the fixed weight assignment algorithm determines the weights of each factor according to preset rules; the dynamic weight assignment algorithm adjusts the weights of each factor in real-time according to the changes in environmental data; the adaptive weight assignment algorithm can automatically optimize the weights of each factor according to the historical control effects.
[0064] It should be noted that through this dynamic optimization, the dependencies can be dynamically adjusted during the training process, the complex dependencies in the time series data can be captured, and the control accuracy can be improved.
[0065] In the embodiment of the present application, generating the lighting control instruction in the above step S104 includes the following steps B1:
[0066] In B1: Combine the first decision content and the second decision content to form the lighting control instruction.
[0067] In one possible embodiment, the ways to combine the first decision content and the second decision content can include linear combination method, weighted average method, priority sorting method, and conditional selection method, etc.
[0068] In a possible embodiment, the linear combination method linearly combines two decision contents in proportion; the weighted average method dynamically adjusts the weights of the two decision contents according to the current environmental conditions; the priority sorting method processes conflicting decisions according to the preset priorities; the conditional selection method switches between different decision contents according to specific conditions.
[0069] In the embodiments of the present application, the illuminance and human presence in the indoor environment are evaluated in real time to generate the first decision content, and the environmental safety data is analyzed to generate the second decision content.
[0070] In a possible embodiment, the first decision content is mainly judged based on a preset threshold: when the environmental illuminance is lower than the preset threshold and a human presence is detected, it is determined that lighting needs to be turned on; when the environmental illuminance is higher than the preset threshold or no human presence is detected, it is determined that lighting needs to be turned off.
[0071] In a possible embodiment, the preset threshold can be a fixed threshold, a time-varying threshold, or an adaptive threshold. The fixed threshold is a preset unchanging value; the time-varying threshold is automatically adjusted according to the time period; the adaptive threshold can be dynamically adjusted according to user behavior and environmental conditions.
[0072] In the embodiments of the present application, in order to improve the judgment accuracy and process various influencing factors such as indoor light intensity and human presence status, the weighted judgment method is adopted to process the complex and changeable indoor environmental conditions. Specifically, by assigning different weights to the illuminance data and human presence data respectively, the comprehensive score is calculated. When the comprehensive score exceeds the preset threshold, the first decision content to turn on the lighting is generated; otherwise, the first decision content to turn off the lighting is generated.
[0073] In a possible embodiment, the weight assignment of the weighted judgment method can be automatically generated based on historical data analysis, expert knowledge rules, or machine learning algorithms.
[0074] In the embodiments of the present application, the second decision content is generated based on the environmental safety data. When the environmental safety data is abnormal, the corresponding processing decision is generated.
[0075] In a possible embodiment, the abnormality of the environmental safety data can be divided into multiple levels, including the warning level, the mild abnormality level, the moderate abnormality level, and the severe abnormality level, etc. Different abnormality levels correspond to different processing decisions.
[0076] In the embodiments of the present application, monitoring whether the environmental data is abnormal in step S106 above includes the following steps C1:
[0077] In C1: By establishing environmental safety assessment rules, the environmental safety data is analyzed and processed; the analysis and processing results are integrated to obtain the environmental abnormality judgment result.
[0078] In a possible embodiment, the environmental safety assessment rules may include threshold monitoring rules, rate-of-change monitoring rules, pattern recognition rules, comprehensive assessment rules, etc.
[0079] In a possible embodiment, the threshold monitoring rules detect whether the environmental data exceeds the safe range; the rate-of-change monitoring rules detect whether the change rate of the environmental data is abnormal; the pattern recognition rules detect whether abnormal patterns appear in the environmental data; the comprehensive assessment rules make a comprehensive judgment by combining multiple rules.
[0080] In the embodiment of the present application, by establishing environmental safety assessment rules, dynamic analysis of indoor environmental data is carried out, enabling the system to adapt to environmental changes and detect abnormalities in a timely manner.
[0081] In the embodiment of the present application, the environmental safety assessment rules include analysis methods for multiple environmental factors to ensure the safety of the indoor environment.
[0082] Finally, these environmental analysis information is integrated into a complete abnormal judgment result for triggering an alarm response.
[0083] In the embodiment of the present application, the control of lighting devices has multiple control modes, including a first control mode, a second control mode, and a third control mode:
[0084] Under the first control mode, the lighting devices are controlled by a manual switch.
[0085] In a possible embodiment, the first control mode may include multiple sub-modes, such as a standard manual mode, a timed manual mode, and a scene manual mode, etc. The standard manual mode is directly controlled by a physical switch; the timed manual mode allows users to set switch timing; the scene manual mode allows users to preset multiple lighting scene schemes.
[0086] Under the second control mode, the lighting devices are automatically controlled according to illuminance data and human presence data.
[0087] In a possible embodiment, the second control mode may include multiple sub-modes, such as a standard automatic mode, an intelligent learning mode, and an energy-saving optimization mode, etc. The standard automatic mode is automatically controlled according to fixed rules; the intelligent learning mode can learn user habits; the energy-saving optimization mode gives priority to energy conservation while meeting the basic lighting needs.
[0088] If abnormal environmental safety data is detected, it will automatically switch to the third control mode.
[0089] In a possible embodiment, the third control mode may include multiple sub - modes, such as the standard emergency mode, the zoned emergency mode, and the evacuation guidance mode, etc. The standard emergency mode turns on all lighting devices; the zoned emergency mode selectively turns on lighting according to the abnormal area; the evacuation guidance mode guides the safe evacuation route through specific lighting methods.
[0090] In the embodiment of the present application, the alarm response includes:
[0091] The first alarm method transmits abnormal data through text information;
[0092] In a possible embodiment, the text information can be transmitted in multiple forms, including text messages, application push notifications, emails, and system interface prompts, etc.
[0093] The second alarm method transmits the alarm content through voice information.
[0094] In a possible embodiment, the voice information can be played in multiple ways, including the system - built - in speaker, smart speakers, mobile applications, and networked broadcast systems, etc.; the voice content can be preset standard voice or customized voice dynamically generated according to the abnormal type.
[0095] It should be noted that the present invention organically combines the first decision content and the second decision content of the lighting control decision to achieve joint control, and there are multiple flexible methods for establishing and implementing control rules, improving the adaptability and generalization ability; it can effectively capture the complex characteristics of the indoor environment change, including illuminance change, human activity characteristics, and environmental safety status, and reduce the control error through the organic integration of multiple decision contents; the accurate control result can improve the online monitoring and energy management efficiency of the lighting system, reduce energy consumption, and also enhance the adaptability of the lighting system to the indoor environment change, reduce unnecessary lighting power consumption, and improve lighting comfort.
[0096] The above is a schematic solution of a lighting control method using human sensing in this embodiment. It should be noted that the technical solution of this lighting control system and the technical solution of the above - mentioned lighting control method belong to the same concept. For the details not described in detail in the technical solution of the lighting control system in this embodiment, reference can be made to the description of the technical solution of the above - mentioned lighting control method.
[0097] Embodiment 2 is an embodiment of the present invention, which provides another lighting control method using human sensing. This method is further improved on the basis of Embodiment 1 to adapt to a more complex lighting environment. Specifically, the lighting control method in this embodiment includes the following steps:
[0098] S200: Obtain environmental data, where the environmental data includes illuminance data, human presence data, environmental safety data, and activity type data;
[0099] S202: Make an advanced lighting control decision based on environmental data;
[0100] S204: Generate a refined lighting control instruction and control lighting equipment according to the refined lighting control instruction;
[0101] S206: Conduct multi-dimensional monitoring on environmental data. If abnormal data is detected, trigger a multi-level alarm response.
[0102] In the embodiment of the present application, the advanced lighting control decision in the above step S202 conducts lighting demand analysis based on an adaptive algorithm and generates a lighting control instruction according to the comprehensive evaluation of environmental data. The adaptive algorithm can dynamically adjust the control strategy according to environmental changes, improving the system response speed and accuracy.
[0103] In a possible embodiment, the adaptive algorithm can include various types, such as feedback regulation algorithm, predictive control algorithm, reinforcement learning algorithm, and neural network algorithm, etc. The feedback regulation algorithm adjusts control parameters according to real-time feedback results; the predictive control algorithm can predict future environmental changes and make adjustments in advance; the reinforcement learning algorithm continuously optimizes the control strategy through interaction with the environment; the neural network algorithm can simulate the human brain to process complex environmental information.
[0104] It should be noted that compared with Embodiment 1, this embodiment further improves the adaptability and control accuracy of the lighting control system to complex environments by introducing an adaptive algorithm and a multi-level alarm response. Especially in the case of diverse human activity types, it can provide more personalized lighting solutions according to different activity types (such as reading, meeting, resting, etc.).
[0105] In the embodiment of the present application, the activity type data in environmental data is obtained by extracting from human motion features through a deep learning model. This deep learning model has been trained with a large number of indoor activity scenarios, can accurately identify different types of human activities, and uses them as an important reference basis for lighting control.
[0106] In the embodiment of the present application, the refined lighting control instruction is generated by fusing the first decision content and the second decision content, and automatically adjusts the importance of each decision content according to the complexity of the current environment, so as to generate the lighting control instruction most suitable for the current scene.
[0107] In a possible embodiment of the present application, this embodiment also includes an adaptive learning function, which can record the user's manual adjustment behavior of automatic lighting control, and continuously optimize the control strategy through an algorithm, so that the lighting system gradually adapts to the user's personal preferences.
[0108] The above is a schematic solution of another lighting control method using human body sensing in this embodiment. It should be noted that the technical solution of this lighting control system belongs to the same concept as the technical solution of the above lighting control method. For the details not described in the technical solution of this lighting control system in this embodiment, reference can be made to the description of the technical solution of the above lighting control method.
[0109] Embodiment 3 provides a lighting control system using human body infrared sensing, including:
[0110] A power supply module for supplying power to the system;
[0111] A control center module for macroscopically regulating the lighting system;
[0112] A data acquisition module for acquiring environmental data, where the environmental data includes illuminance data, human presence data, and environmental safety data;
[0113] A communication module for internal data transmission of the system;
[0114] A processor module for making lighting control decisions based on environmental data;
[0115] A user interface module for providing user interaction functions;
[0116] An alarm module for triggering an alarm response when detecting environmental abnormalities.
[0117] In a possible embodiment, the power supply module may include multiple power supply methods, such as mains power supply, battery backup power supply, and solar auxiliary power supply, etc. Mains power supply is used as the main energy source; battery backup power supply provides temporary power when the mains power is interrupted; solar auxiliary power supply can reduce the system's dependence on mains power and improve energy utilization efficiency.
[0118] In a possible embodiment, the control center module may have multiple regulation functions, including system parameter configuration function, operation status monitoring function, fault diagnosis function, and remote management function, etc. The system parameter configuration function is used to set the basic parameters of the system; the operation status monitoring function is used to monitor the system operation in real time; the fault diagnosis function is used to identify and handle system faults; the remote management function supports remote access and control of the system.
[0119] In the embodiment of this application, the data acquisition module includes an illuminance sensor, a human body induction sensor, a first environmental safety sensor, and a second environmental safety sensor.
[0120] In a possible embodiment, the illuminance sensor can be of various types, such as photodiode type, photoresistor type, digital integration type, and spectral analysis type, etc. The photodiode type has fast response characteristics; the photoresistor type has a simple structure and low cost; the digital integration type has high precision; the spectral analysis type can analyze the light components.
[0121] In a possible embodiment, the human body induction sensor can be of various types, such as passive infrared type, microwave type, ultrasonic type, and composite type, etc. The passive infrared type senses the presence of a human body by detecting the body's thermal radiation; the microwave type detects moving objects through the Doppler effect; the ultrasonic type detects objects through sound wave reflection; the composite type combines multiple technologies to improve the detection accuracy.
[0122] In a possible embodiment, the first environmental safety sensor and the second environmental safety sensor can be of different types, such as smoke sensors, gas leakage sensors, temperature sensors, and circuit fault detection sensors, etc.
[0123] In the embodiment of the present application, the processor module uses an adaptive algorithm for lighting demand analysis and generates lighting control instructions based on the comprehensive evaluation of environmental data.
[0124] In a possible embodiment, the processor module can adopt various hardware architectures, such as single-chip microcomputer architecture, embedded processor architecture, multi-core processor architecture, and cloud-edge collaboration architecture, etc. The single-chip microcomputer architecture is suitable for simple control scenarios; the embedded processor architecture provides stronger computing power; the multi-core processor architecture supports parallel processing; the cloud-edge collaboration architecture combines the advantages of local processing and cloud computing.
[0125] In the embodiment of the present application, the communication module adopts a two-layer communication architecture:
[0126] The first layer of communication is used for internal data transmission within the system;
[0127] In a possible embodiment, the first layer of communication can adopt various communication protocols, such as I2C protocol, SPI protocol, CAN bus protocol, and RS485 protocol, etc. The I2C protocol is suitable for short-distance and low-speed communication; the SPI protocol provides a higher data transmission rate; the CAN bus protocol has good anti-interference ability; the RS485 protocol supports longer-distance communication.
[0128] The second layer of communication is used for networking of terminal devices;
[0129] In a possible embodiment, the second-layer communication can adopt various wireless or wired communication technologies, such as Wi-Fi technology, Bluetooth technology, ZigBee technology, and Ethernet technology, etc. Wi-Fi technology provides high-speed wireless connection; Bluetooth technology is suitable for short-distance communication; ZigBee technology features low power consumption; Ethernet technology provides a stable and reliable wired connection.
[0130] The alarm module includes a first alarm unit and a second alarm unit. The first alarm unit transmits abnormal data through text information, and the second alarm unit transmits alarm content through voice information.
[0131] In a possible embodiment, the alarm module can also include a visual alarm unit, a remote alarm unit, and a cascaded alarm unit, etc. The visual alarm unit provides visual warnings through flashing lights; the remote alarm unit sends alarm information to a remote terminal; the cascaded alarm unit can trigger the linkage of an external security system.
[0132] In a possible embodiment, the user interface module can include various interaction methods, such as a touch screen interface, a mobile application interface, a voice interaction interface, and a gesture control interface, etc. The touch screen interface provides intuitive operation; the mobile application interface supports remote control; the voice interaction interface enables hands-free operation; the gesture control interface is suitable for specific scenario requirements.
[0133] In the embodiment of the present application, the lighting control system supports multiple control modes, including:
[0134] The first control mode: The lighting device is controlled by a manual switch;
[0135] The second control mode: Automatically control the lighting device according to illuminance data and human presence data;
[0136] The third control mode: An emergency control mode started when abnormal environmental security data is detected.
[0137] In the embodiment of the present application, the lighting control system adopts a modular design, and data transmission between each functional module is carried out through a standardized interface, which is convenient for system maintenance, upgrade, and expansion. At the same time, the system supports remote access and control, and the administrator can adjust system parameters or view the system operation status at any time through a mobile terminal.
[0138] It should be noted that the lighting control system in this embodiment realizes all the functions and technical effects of the lighting control method in the foregoing embodiment, and has good adaptability and reliability in practical applications.
[0139] The above is an embodiment of the lighting control system using human body sensing in the present invention, which realizes the intelligent and precise control of the lighting system, and greatly improves the lighting comfort and energy utilization efficiency. Practical applications show that compared with the traditional lighting control system, the system of the present invention can reduce energy consumption by more than 30%, and at the same time increase user satisfaction by about 25%, having significant economic and social benefits.
[0140] Embodiment 4 is an embodiment of the present invention. On the basis of Embodiment 3, it provides another implementation manner of a lighting control system using human body infrared sensing, including:
[0141] A lighting control system using human body infrared sensing includes a power supply module, a host computer module, an environmental data acquisition module, a communication module, a processor module, a software terminal module, a multi-dimensional alarm module, an illuminance acquisition module, an infrared human body sensing module, a temperature sensor module, and a smoke sensor module. The output end of the power supply module is connected to the input end of the host computer module, the output end of the host computer module is connected to the input end of the environmental data acquisition module, the output end of the environmental data acquisition module is connected to the input end of the communication module, the output end of the communication module is connected to the input end of the processor module, the output end of the processor module is connected to the input end of the software terminal module, and the output end of the software terminal module is connected to the input end of the multi-dimensional alarm module.
[0142] The environmental data acquisition module is internally provided with an illuminance acquisition module, an infrared human body sensing module, a temperature sensor module, and a smoke sensor module. The overall output ends of the illuminance acquisition module, the infrared human body sensing module, the temperature sensor module, and the smoke sensor module are connected to the input end of the environmental data acquisition module.
[0143] The power supply module is connected to the commercial power of 220V. The 220V alternating current input into the system is first processed by a transformer, stepped down to 12V, then filtered through 2 capacitors, and the voltage is stabilized by a three-terminal voltage regulator chip LM7805, and then a voltage of 5V is output to the lower computer system;
[0144] The host computer module uses a PC host computer management system to conduct macro-control on the lighting fixtures in all holes and chambers, providing a supplement to the microprocessor control function. The host computer has powerful functions such as data processing, storage, and logical judgment, providing subsequent development space for the development of lighting control strategies. The lower computer receives the mode control signal from the host computer. After initialization and mode detection, if it is in the manual mode, the host computer makes the relay J1 disconnect and J2 pull in, so that the lights in the hole and chamber are only controlled by the indoor manual lighting switch; if it is in the automatic mode, the host computer makes the relay J2 always disconnect. When the illuminance meets the lighting-on condition and a person is detected, the relay J1 is made to pull in to turn on the lights in the corresponding area.
[0145] The illuminance acquisition module consists of a photosensitive resistor of 10K and a voltage comparator LM393. Among them, the photosensitive resistor is a variable resistor whose resistance value changes with the intensity of ambient light, and is used to realize the system's response to the ambient light around. When the intensity of ambient light changes, the resistance value of the photosensitive resistor also changes accordingly, thereby changing the voltage division ratio in the circuit. The LM393 voltage comparator controls the switching and brightness adjustment operations of the LED lamp through a series of voltage values obtained by comparison.
[0146] The infrared human body sensing module uses an HP-208 pyroelectric infrared sensor to complete the acquisition of human body signals in the cave and indoors. This sensor can complete the acquisition of human body signals within a cone angle with an angle < 140° and a radius < 7m. In theory, as long as the human body signal is within 7m of the sensor, regardless of the position, the sensor can automatically identify it. When the sensor detects a human body signal, a high level will be generated, otherwise it is a low level. This sensor has three pins: the first pin is used as the power signal terminal, the second pin collects the signal and serves as the output terminal, and the third pin is the ground terminal. If a triode is added to the acquisition circuit of "whether a person exists", it can not only improve the working reliability, but also drive the pyroelectric infrared sensor to make the received signal more obvious. Using the HP-208 pyroelectric infrared sensor to realize the acquisition of human body signals in the cave and room can realize the acquisition of human body signals within a cone angle with an angle < 140° and a radius < 7m. In theory, as long as it is within 7m of the pyroelectric infrared sensor, no matter where you sit, the human body signal will be automatically detected. In addition, when a human body signal appears, a high level will appear, and vice versa, a low level will appear. The pyroelectric infrared sensor has three pins: the first pin is the power signal terminal, the second pin is used to collect the signal, and the third pin is used for grounding. A triode can be added to the acquisition circuit of "whether a person exists", which can not only make its work more reliable, but also drive the pyroelectric infrared sensor to make the signal reception more stable.
[0147] The temperature sensor module selects the DHT11 sensor, and the DHT11 temperature and humidity sensor is connected to the PB5 pin of the single-chip microcomputer; the DATA port of the sensor is connected to a 4.7kΩ pull-up resistor. The function of the pull-up resistor is to make the state of the DATA port a high level when the single-chip microcomputer does not output and the sensor is on standby.
[0148] The smoke sensor module selects the MQ2 smoke gas sensor. When the sensor detects the presence of combustible gas in the environment, the conductivity of the sensor will be affected by the increase in the concentration of combustible gas in the air and will also increase accordingly. When the smoke exceeds a certain concentration, an audible and visual alarm will occur.
[0149] The communication module uses the MQTT protocol. The transmission path of the internal data of the overall system is as follows: The control end sends data to the proxy server, and the proxy server transmits the received data to the processor module within the system. The processor module serves as the instruction transmission transfer station for the entire lighting system. Finally, the data is sent to other terminals by CC2530 based on the ZigBee protocol. ZigBee is a low-speed short-distance wireless transmission protocol. Within a certain range, devices using this protocol will automatically form a network, which will form a star topology. Based on the characteristics of the ZigBee protocol, the communication module installs a router of the MQTT protocol to forward data instructions to an STM32 single-chip microcomputer in the hardware end. STM32 serves as a transfer station to parse the instructions. After the parsing is completed, if it is determined that the instruction is not required by the single-chip microcomputer, the STM32 single-chip microcomputer transmits the instruction to the CC2530 communication board through the serial port. CC2530, as a router in the ZigBee network, sends instructions to other terminals in the ZigBee network. After receiving the instructions, other terminals operate according to the instructions.
[0150] The software-side module uses the QT framework to visually design the entire set of software, constituting the graphical user interface of the software side. The visual interface mainly realizes the lighting device monitoring interface and the lighting device switch control view. Among them, the monitoring interface mainly takes the monitoring view as the form, and the management personnel can observe the working status of the lighting devices; in the lighting device switch control view, it includes all classroom lighting device control controls, the classroom main power control control, and the individual lamp tube control controls. This interface can also be displayed separately and has a one-key switch function. The database construction and data reception and transmission parts are for simulation experiments. In the experiment, after the software runs, it uses adaptive matching and finally realizes the connection with the corresponding classroom router. The data signal is transmitted to the specified STM32 single-chip microcomputer through the Ethernet, and the single-chip microcomputer automatically completes the task of controlling the lighting system switch.
[0151] The multi-dimensional alarm module is internally provided with a short message alarm module and a call alarm module;
[0152] The short message alarm module defines the frame format of the setting short message sent by the temperature or smoke alarm responsible person as: "frame header + information type + data + frame tail". The frame header uses "@@@", and the frame tail uses "%%%". There are three types of information types, namely: location, responsible person's name, and mobile phone number. The processor module parses the short message content in the manner of a finite state machine. Spam messages usually cannot meet this custom frame format and are easily recognized. There is no check item in the frame format to facilitate the on-site responsible person to complete the setting using the mobile phone short message. If there is a check item, the mobile phone APP needs to be provided to calculate the check item, which will cause inconvenience to the on-site responsible person. After the short message is correctly parsed, the useful setting information will be stored in the E2PROM24C16 for the short message sending task to read;
[0153] When the call alarm module receives the signal of temperature or smoke alarm from the front-end module, it will start call alarm. The temperature sensor module of the two-way call alarm module selects the DTMF two-way transceiver integrated circuit MT8880, which is specially designed for the reception and transmission of dual-tone multi-frequency signals. It can not only generate and send dual-tone signals, but also receive and decode dual-tone signals, and can judge various signal tones such as dial tone, ringback tone, and busy tone. The chip is set to dual-tone mode and interrupt mode, and it can judge whether it receives DTMF dual-tone signals through the IRQ pin. The dual-tone multi-frequency instruction enters MT8880 through T1, C1, and R3 for decoding, and the decoded instruction is input to the P2 port of the single-chip microcomputer U4 for processing. When the temperature or smoke alarm signal is valid, the system picks up the phone, the P2 port outputs the phone number and control signal, which is converted into DTMF dual-tone multi-frequency signal through U3 and output from the 8th pin, and is amplified through R17, R16, C4, R12, and Q2 and coupled to the telephone line through T1 to dial the phone, and dial two phones in turn according to the "alarm method" for temperature or smoke alarm.
[0154] In the present invention, after the internal integration of the smoke alarm and temperature alarm systems in the environmental data acquisition module, the lighting control system can not only provide lighting functions, but also monitor the environmental conditions in real time, and timely discover potential safety hazards such as fires or overheating. Traditional safety monitoring systems require separate installation of equipment such as smoke detectors and temperature sensors, while the integrated system can share the installation locations and wiring of lighting equipment, saving space and installation costs. The integrated system is more convenient to maintain because all detection and control functions are concentrated in one system. Maintenance personnel do not need to check different systems separately and can conduct inspections and repairs more efficiently. When the smoke or temperature exceeds the safety threshold, the integrated system can immediately trigger an alarm, quickly notify personnel to evacuate through the lighting control system, and at the same time can automatically execute safety measures such as power-off to slow down the spread of the fire. The integrated system can control lighting and other safety functions more intelligently, automatically turn off unnecessary lighting equipment during a fire alarm, reducing energy waste. The integrated system can collect environmental data such as smoke and temperature, and data analysis can help predict and prevent potential safety problems, improving the overall safety performance.
[0155] Example 5, refer to Figure 2, which is an embodiment of the present invention and is different from the previous embodiment in that: if the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0156] The logic and / or steps represented in the flowchart or described in other ways herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
[0157] More specific examples (nonexhaustive list) of computer-readable media include the following: an electrical connection portion (electronic device) having one or more wirings, a portable computer diskette case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, then editing, interpreting, or otherwise processing it as appropriate, and then storing it in a computer memory.
[0158] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following techniques known in the art or a combination thereof can be used: discrete logic circuits having logic gate circuits for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0159] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered by the scope of the claims of the present invention.
Claims
1. A lighting control method using human infrared sensing, characterized in that: include: Obtain environmental data; Making lighting control decisions based on the environmental data, and generating lighting control instructions to control lighting equipment according to the decision results; Monitor whether the environmental data is abnormal, and if abnormal data is detected, trigger an alarm response.
2. The lighting control method using human infrared sensing as claimed in claim 1, characterized in that: Making lighting control decisions based on the environmental data, including: Preprocessing the environmental data, and building a control strategy model based on the preprocessed data; A weight distribution algorithm is used to comprehensively analyze environmental data to generate a first decision content and a second decision content, and the first decision content and the second decision content are combined to form a lighting control instruction.
3. The lighting control method using human infrared sensing as claimed in claim 2, characterized in that: The control lighting device has multiple control modes, including: In the first control mode, the lighting device is controlled by a manual switch, and in the second control mode, the lighting device is automatically controlled based on the illumination data and the human presence data; If an abnormality in environmental safety data is detected, it will automatically switch to the third control mode.
4. The lighting control method using human infrared sensing as claimed in claim 3, characterized in that: The alarm response includes: The first alarm method transmits abnormal data through text messages; The second alarm mode transmits the alarm content through voice information.
5. A lighting control system using human infrared sensing, based on the lighting control method using human infrared sensing according to any one of claims 1 to 4, characterized in that: include, Power module, control center module, data acquisition module, communication module, processor module, user interface module and alarm module; The data acquisition module is used to acquire environmental data, the processor module is used to make lighting control decisions based on the environmental data, and the alarm module is used to trigger an alarm response when an environmental anomaly is detected.
6. The lighting control system using human infrared sensing as claimed in claim 5, characterized in that: The data acquisition module comprises: Illuminance sensor, human body sensing sensor; a first environmental safety sensor and a second environmental safety sensor; The environmental data includes illumination data, human presence data and environmental safety data.
7. The lighting control system using human infrared sensing as claimed in claim 6, characterized in that: The processor module comprises: Adopt adaptive algorithms to analyze lighting needs; Generate lighting control instructions based on a comprehensive evaluation of environmental data.
8. The lighting control system using human infrared sensing as claimed in claim 7, characterized in that: The communication module adopts a two-layer communication architecture: The first layer of communication is used for data transmission within the system, and the second layer of communication is used for terminal device networking; The alarm module includes a first alarm unit and a second alarm unit.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the lighting control method using human infrared sensing as described in any one of claims 1 to 4 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the lighting control method using human infrared sensing as described in any one of claims 1 to 4 are implemented.