Photoelectric smoke detector and low power consumption control device and control method thereof
By dividing the work among the first and second processing units, low-power control of the photoelectric smoke detector is achieved, solving the problem of high power consumption caused by long communication module operation time, extending battery life and improving ease of use.
Patent Information
- Application Number
- CN202211080782.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-05
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-09-05
AI Technical Summary
The communication between the communication module and the smoke sensor chip in the photoelectric smoke detector takes a long time, resulting in high power consumption of the device, which cannot meet the requirements for low power consumption and requires frequent battery replacement.
The system employs a division of labor design between a first processing unit and a second processing unit. The first processing unit is responsible for real-time data detection and enters a low-power state when there are no anomalies. The second processing unit is woken up when there are an anomalies and uploads data through an autonomous communication module. This combination of autonomous and manual wake-up mechanisms reduces network time and power consumption.
It enables rapid response and data upload in low-power mode, reduces the average power consumption of the device, extends battery life, and improves the ease of use and safety of the device.
Smart Images

Figure CN117692996B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smoke detection, and in particular to a photoelectric smoke detector and a low-power control device and a control method thereof. Background Art
[0002] Photoelectric smoke detectors are smoke detection devices developed based on the basic property that smoke generated during a fire can change the propagation characteristics of light. In related technologies, the control part of a photoelectric smoke detector generally includes a smoke sensor chip and a communication module. The smoke sensor chip controls other modules to operate in a low-power mode. When an abnormality occurs, the smoke sensor chip controls the communication module to upload data to the server. However, the communication module and the smoke sensor chip communicate through AT commands, which takes a long time to connect to the Internet. The average power of the device is greater, which cannot meet the requirements of low power consumption, resulting in a high frequency of battery replacement.
[0003] Improvements are therefore needed to address at least one of the above problems. Summary of the invention
[0004] In view of the problems existing in the related art, the present application provides a photoelectric smoke detector and a low-power control device and control method thereof, including the following technical solutions:
[0005] In a first aspect, the present invention discloses a low-power consumption control method for a photoelectric smoke detector, the method comprising: a first processing unit detects real-time data once at a first preset interval, and when the real-time data is normal, the first processing unit enters a low-power consumption state until detection begins again; when the real-time data is abnormal, the first processing unit sends an abnormal data signal to a second processing unit and wakes up the second processing unit from a low-power consumption state; after the second processing unit is awakened, it inquires about the status of the real-time data from the first processing unit at a second preset time, and reports the real-time data to a control platform through a communication module, and when the real-time data is no longer abnormal, the second processing unit re-enters a low-power consumption state.
[0006] Exemplarily, the method also includes: when the real-time data is abnormal, the first processing unit sends a first alarm signal to the alarm and controls the alarm to alarm; when the real-time data is no longer abnormal, the first processing unit sends a stop signal to the alarm and controls the alarm to stop alarming.
[0007] Exemplarily, the method also includes: when there is no abnormality in the real-time data, the second processing unit actively wakes up from the low power consumption state once every third preset time to query the battery power, and if the battery power is not lower than the power threshold, the second processing unit re-enters the low power consumption state; if the battery power is lower than the power threshold, the second processing unit transmits a signal to the first processing unit, the first processing unit sends a second alarm signal to the alarm and controls the alarm to sound, and the second processing unit re-enters the low power consumption state.
[0008] Exemplarily, the second processing unit sends a control signal to the first processing unit to set the flashing frequency and / or alarm duration of the alarm light when the battery power is lower than the power threshold; when the battery power is lower than the power threshold, the first processing unit sends a second alarm signal to the alarm light and controls the alarm light to sound an alarm according to the set flashing frequency and / or alarm duration.
[0009] Exemplarily, the method also includes: when the second processing unit is not actively awakened from the low power consumption state, if the second processing unit receives an interrupt signal from a wake-up button, the second processing unit starts self-testing and uploads self-testing information to the control platform, and the second processing unit re-enters the low power consumption state after the self-testing is completed, wherein the self-testing information includes the working status of the first processing unit and the second processing unit and the battery power.
[0010] Exemplarily, the real-time data includes: smoke concentration, temperature and battery voltage. When at least one of the smoke concentration is higher than a concentration threshold, the temperature is higher than a temperature threshold, and the battery voltage is lower than a voltage threshold, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit.
[0011] Exemplarily, the threshold value of the battery voltage is 2.7V, and the threshold value of the temperature is 57 degrees Celsius.
[0012] Exemplarily, the first processing unit acquires the smoke concentration in the real-time data, including: obtaining a scattered light signal from a detection module; and obtaining the smoke concentration according to the scattered light signal.
[0013] Exemplarily, the acquiring of the temperature and the battery voltage in the real-time data by the first processing unit includes: collecting the measurement data of the measurement module; and obtaining the temperature and the battery voltage according to the measurement data.
[0014] Exemplarily, the first preset time is 8 seconds, and the second preset time is 10 seconds.
[0015] Exemplarily, the third preset time is 24 hours.
[0016] In a second aspect, the present invention discloses a low-power control device for a photoelectric smoke detector, the device comprising: a first processing unit, the first processing unit detecting real-time data once every first preset time, when the real-time data is normal, the first processing unit entering a low-power state until detection begins again; a second processing unit, the second processing unit being electrically connected to the first processing unit, the second processing unit being provided with a communication module, the communication module being communicatively connected to a control platform; when the real-time data is abnormal, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit from the low-power state; after the second processing unit is awakened, it inquires the first processing unit about the status of the real-time data every second preset time, and reports the real-time data to the control platform through the communication module; when the real-time data is no longer abnormal, the second processing unit re-enters the low-power state.
[0017] Exemplarily, the first processing unit is also used for: when the real-time data is abnormal, the first processing unit sends a first alarm signal to the alarm of the photoelectric smoke detector and controls the alarm to alarm; when the real-time data is no longer abnormal, the first processing unit sends a stop signal to the alarm and controls the alarm to stop alarming.
[0018] Exemplarily, the second processing unit is also used for: when there is no abnormality in the real-time data, the second processing unit actively wakes up from the low power consumption state once every third preset time to query the battery power; if the battery power is not lower than the power threshold, the second processing unit re-enters the low power consumption state; if the battery power is lower than the power threshold, the second processing unit transmits a signal to the first processing unit, the first processing unit sends a second alarm signal to the alarm and controls the alarm to sound an alarm, and the second processing unit re-enters the low power consumption state.
[0019] Exemplarily, the alarm is an alarm light, and the second processing unit sends a preset signal to the first processing unit to set the flashing frequency and / or alarm duration of the alarm light when the battery power is lower than a power threshold; when the battery power is lower than the power threshold, the first processing unit sends a second alarm signal to the alarm light and controls the alarm light to sound an alarm according to the set flashing frequency and / or alarm duration.
[0020] Exemplarily, the second processing unit is provided with a wake-up button. When the second processing unit is not actively awakened from the low power consumption state, if the second processing unit receives an interrupt signal from the wake-up button, the second processing unit starts self-test and uploads the self-test information to the control platform. The second processing unit re-enters the low power consumption state after the self-test is completed, wherein the self-test information includes the working status of the first processing unit and the second processing unit and the battery power.
[0021] Exemplarily, the real-time data includes: smoke concentration, temperature and battery voltage. When at least one of the smoke concentration is higher than a concentration threshold, the temperature is higher than a temperature threshold, and the battery voltage is lower than a voltage threshold, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit.
[0022] Exemplarily, the threshold value of the battery voltage is 2.7V, and the threshold value of the temperature is 57 degrees Celsius.
[0023] Exemplarily, the first processing unit acquires the smoke concentration in the real-time data, including: obtaining a scattered light signal from a detection module of the photoelectric smoke detector; and the first processing unit obtains the smoke concentration according to the scattered light signal.
[0024] Exemplarily, the first processing unit obtains the temperature and the battery voltage in the real-time data, including: collecting measurement data of a measurement module of the photoelectric smoke detector; and obtaining the temperature and the battery voltage according to the detection data.
[0025] Exemplarily, the first preset time is 8 seconds and the second preset time is 10 seconds.
[0026] Exemplarily, the third preset time is 24 hours.
[0027] In a third aspect, the present application provides a low-power consumption control device for a photoelectric smoke detector, the device comprising a memory and a processor, the memory storing a computer program executed by the processor, and the computer program, when executed by the processor, enables the processor to execute the above method.
[0028] In a fourth aspect, the present application provides a photoelectric smoke detector, comprising a data acquisition module, a data connection module, an alarm module and the above-mentioned control device; the data acquisition module is used to acquire real-time data; the data connection module is electrically connected to the control module and the data acquisition module, and the control device acquires the real-time data from the data acquisition module through the data connection module, and performs low power consumption control based on the real-time data.
[0029] Exemplarily, the data acquisition module includes a detection module and a measurement module; the detection module includes an optical maze, and the optical maze is used to obtain smoke concentration data in the real-time data; the measurement module includes a battery voltage acquisition module and a temperature acquisition module, and the battery voltage acquisition module is used to obtain battery voltage data in the real-time data; the temperature acquisition module is used to obtain temperature data in the real-time data.
[0030] Exemplarily, the alarm module includes a buzzer chip, an alarm light, and a yellow-green light driving circuit electrically connected to the controlled device, and the yellow-green light driving circuit is used to drive the alarm light to flash; the buzzer chip and the alarm light alarm under the control of the control device.
[0031] Exemplarily, the data connection module includes an anti-reverse connection module and a serial port data level conversion module electrically connected to the control device.
[0032] Exemplarily, a key module is also included, which is electrically connected to the control device and is used to manually wake up the second processing unit of the control device.
[0033] The present invention has at least the following technical effects:
[0034] The second processing unit is configured with a communication module with autonomous networking, which reduces the networking time of the second processing unit, uploads data faster, and reduces the average power consumption of the device; the second processing unit is normally in a low-power state, and is awakened by the first processing unit when the data is abnormal, thereby achieving energy-saving and low-power consumption effects and reducing the frequency of replacement of power supply batteries. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The following drawings of the present application are hereby used as part of the present application for understanding the present application. The drawings show the embodiments of the present application and their descriptions, and are used to explain the device and principle of the present application. In the drawings,
[0036] Figure 1 This is a schematic diagram of a photoelectric smoke detector device in an embodiment of the present application;
[0037] Figure 2 This is a schematic diagram of the connection between the first processing unit and the second processing unit in the embodiment of the present application;
[0038] Figure 3 This is a schematic diagram of the smoke detection principle in the embodiment of the present application;
[0039] Figure 4 This is a schematic diagram of the structure of the detection module in the embodiment of the present application;
[0040] Figure 5 This is a module diagram of the second processing unit module in an embodiment of the present application;
[0041] Figure 6 Flow chart of the control method in the embodiment of the present application. DETAILED DESCRIPTION
[0042] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present application. However, it is apparent to those skilled in the art that the present application can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present application, some technical features well known in the art are not described.
[0043] It should be understood that the present application can be implemented in different forms and should not be construed as being limited to the embodiments presented herein. On the contrary, providing these embodiments will make the disclosure thorough and complete and fully convey the scope of the present application to those skilled in the art. In the accompanying drawings, the sizes and relative sizes of layers and regions may be exaggerated for clarity. The same reference numerals throughout represent the same elements.
[0044] It should be understood that although the terms first, second, third, etc. can be used to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or part from another element, component, region, layer or part. Therefore, without departing from the teachings of the present application, the first element, component, region, layer or part discussed below can be represented as a second element, component, region, layer or part.
[0045] Spatially relative terms such as "under", "beneath", "below", "under", "above", "above", etc., may be used herein for convenience of description to describe the relationship of one element or feature to other elements or features shown in the figures. It should be understood that the spatially relative terms are intended to encompass different orientations of the device in use and operation in addition to the orientation shown in the figures.
[0046] The purpose of the terms used herein is only to describe specific embodiments and is not intended to be limiting of the present application. When used herein, the singular forms "one", "an" and "said / the" are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "consisting of" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.
[0047] Embodiments of the invention are described herein with reference to cross-sectional views as schematic diagrams of ideal embodiments (and intermediate structures) of the present application. Thus, variations from the shapes shown due to, for example, manufacturing techniques and / or tolerances can be expected. Therefore, embodiments of the present application should not be limited to the specific shapes of the zones shown herein, but include shape deviations due to, for example, manufacturing. Therefore, the zones shown in the figures are schematic in nature, and their shapes are not intended to display the actual shapes of the zones of the device and are not intended to limit the scope of the present application.
[0048] The embodiment of the present application provides a low-power control device for a photoelectric smoke detector, comprising a first processing unit, a second processing unit and a detection module. The first processing unit and the second processing unit are electrically connected to transmit signals, and the second processing unit is provided with a communication module connected to a control platform for networking and uploading data. The detection module is used to detect the scattered light signal of smoke and obtain the smoke concentration.
[0049] Please refer to Figure 1-Figure 6 , the low power consumption control device of the embodiment of the present application is introduced exemplarily.
[0050] like Figure 1 and Figure 2 As shown, exemplarily, the first processing unit is a smoke sensor dedicated chip, using a low-power MCU (microcontroller unit), the second processing unit is an OpenMCU with an NB communication module, and the first processing unit and the second processing unit establish a communication connection. The second processing unit is connected to the control platform for communication on the Internet. Exemplarily, the control platform is a telecommunications AEP platform. The second processing unit can upload the collected data to the control platform for confirmation and viewing by the operator.
[0051] The control device of the embodiment of the present application also includes a detection module and an alarm, and the detection module and the alarm are both electrically connected to the first processing unit to realize the transmission of signal data. Exemplarily, the detection module includes an optical maze and two-transmitting and one-receiving optical beam tubes, which can collect scattered light signals when smoke passes through, and the first processing unit obtains the smoke concentration based on the scattered light signals. The alarm is preferably an alarm light, and the first processing unit is electrically connected to the sound and light alarm circuit, and the alarm light is electrically connected to the sound and light alarm circuit. The first processor sends a signal to the alarm light to control the alarm light to alarm in abnormal situations for prompting.
[0052] Exemplarily, the first processing unit is electrically connected to a buzzer, and when the smoke concentration is too high, the first processing unit sends a signal to the buzzer for an alarm prompt. The first processing unit is equipped with a mute button, and the operator can manually mute the mute button by manually pressing it. The first processing unit is equipped with a USART serial port (full-duplex universal synchronous / asynchronous serial transceiver module, which is a highly flexible serial communication device). The first processing unit is equipped with a measurement module, which includes a battery voltage detection module and a temperature detection module. The measurement data obtained by the measurement module can obtain the size of the battery voltage and temperature. When the battery voltage, temperature or smoke concentration is abnormal, it is determined to be in an abnormal working state. Exemplarily, the alarm light is configured as an LED status prompt light, which can be used to flash in an abnormal working state on the one hand, and can be used to prompt that the working state of the first processing unit itself is abnormal. When the working circuits of each part in the first processing unit cannot be normally turned on, its own working state is abnormal, and the LED status prompt light flashes to remind. In addition, the first processing unit is also equipped with a smoke infrared detection module for detecting smoke concentration from fire smoke to avoid false alarms of smoke concentration information caused by water vapor or dust. The first processing unit is internally equipped with a battery voltage detection module and a temperature detection module for detecting battery voltage and temperature. For example, when detecting temperature, the voltage divider voltage at both ends of the voltage divider resistor can be detected, and the temperature can be obtained through the linear relationship between the resistance value and the temperature. When the temperature value exceeds the set threshold or the battery voltage value is lower than the set threshold, it is determined to be data abnormal.
[0053] Exemplarily, the second processing unit is configured with a communication module for connecting to the server to achieve networking and connecting to the control platform. Exemplarily, the MQTI server is connected through the NB communication module (MQTI is a message protocol based on the publish / subscribe paradigm under the ISO standard) for uploading data. The second processing unit is configured with a storage module, and the real-time data detected by the second processing unit can be saved in the storage module. In addition, when the second processing unit is disconnected from the network, the disconnection information will be stored in the storage module for network disconnection abnormality information log preservation. The second processing unit is configured with a software upgrade module, exemplarily, a FOTA module is configured, and the software upgrade package is downloaded through the FOTA module and installed to the terminal.
[0054] Exemplarily, the second processing unit is also configured with an RTC wake-up module, that is, a real-time clock wake-up module. When the second processing unit enters a low-power state, through the RTC wake-up module, it can be configured to wake up autonomously after a period of time, wake up from a low-power sleep state to detect data, upload data online, and other functions. Exemplarily, the first processing unit is configured with an IO wake-up module for waking up the second processing unit when the data is abnormal. Exemplarily, the second processing unit is configured with a wake-up button, and the second processing unit can be manually awakened by manually pressing the wake-up button to realize the awakening of the second processing unit. In summary, three different wake-up methods are configured on the second processing unit. When the first processing unit detects data abnormality, it will send a signal to the second processing unit to wake up the second processing unit; after a preset period of time, the second processing unit will wake up autonomously to detect and upload data, that is, to perform self-test of the first processing unit and the second processing unit, and the self-test time is 30 seconds; when the second processing unit is not awakened autonomously or awakened by the first processing unit, it can be manually awakened by the wake-up button. Through a variety of wake-up methods, the second processing unit can be adapted to different usage scenarios, and the control device has higher applicability.
[0055] Through the above technical solution, the second processing unit can connect to the network autonomously through the communication module, and connect to the network through the communication module after waking up from the low power consumption state, and upload data. Compared with the method of sending AT instructions to the second processing unit through the first processing unit to control the second processing unit to connect to the network, the network speed is faster, the time and power consumed in parsing AT instructions are reduced, and a more energy-saving effect is achieved, and the battery of the smoke detector can last longer.
[0056] like Figure 3 The figure shows the principle diagram of smoke detection. The main principle of smoke detection is to emit infrared light through the A radiating tube, and at the same time start the B infrared receiving tube to receive the light scattered by smoke particles. The signal of the B infrared receiving tube is amplified by the operational amplifier chip and the detection data (i.e. AD value) is output. The indoor temperature during calibration is 24℃, and the calibration is carried out in a clean environment.
[0057] like Figure 4As shown, it is a schematic diagram of the detection module. Exemplarily, the detection module includes two transmitting and one receiving optical tubes. The photoelectric transmitting diode includes a transmitting circuit and an infrared light source, and the photoelectric receiving diode includes a receiving circuit and a photosensitive element. When there is no smoke, the photoelectric receiving diode cannot directly receive the light signal emitted by the infrared light emitting diode. When a fire occurs, the smoke diffuses into the maze of the detector and scatters the emitted light of the infrared light emitting diode, so that the photoelectric receiving diode can receive the scattered light signal. The size of the light signal indicates the smoke concentration and also the degree of fire burning. The first processing unit can obtain the smoke concentration data through the scattered light signal fed back by the detection module, so as to alarm when the smoke concentration is too high. Therefore, when at least one of the battery voltage is lower than the voltage threshold, the smoke concentration is greater than the concentration threshold, and the temperature is higher than the temperature threshold, it is determined that the data is abnormal.
[0058] The present application also provides a low power consumption control method for a photoelectric smoke detector. Figure 6 , the method and the above-mentioned device are introduced exemplarily.
[0059] The method comprises the following steps:
[0060] Step 1: Initialize the first processing unit and the second processing unit. The second processing unit is in a low-power sleep state under normal conditions to reduce energy consumption. The first processing unit detects real-time data once every first preset interval. When there is no abnormality in the real-time data, the first processing unit enters a low-power state until detection begins again.
[0061] The real-time data collected by the first processing unit include temperature, smoke concentration and battery voltage. During the initialization process, the thresholds of temperature, smoke concentration and battery voltage can be set. When at least one of the temperature exceeds the threshold, the smoke concentration is higher than the threshold or the battery voltage is lower than the threshold, it is determined to be data abnormal.
[0062] Exemplarily, the battery voltage detection module and the temperature detection module in the first processing unit are used to detect the battery voltage and temperature. During initialization, the temperature threshold is set to 57 degrees Celsius, the battery voltage threshold is set to 2.7V, and the smoke concentration threshold is set to 0.1-0.5ppm. When the data is abnormal, the first processing unit alarms through an alarm. Exemplarily, a signal is sent to a buzzer to control the buzzer to alarm and a signal is sent to an LED prompt light to control it to flash for prompting.
[0063] Exemplarily, the first preset time is 8 seconds, that is, the first processing unit is in a cyclic working process, detecting real-time data every 8 seconds, and if there is no abnormality, entering a low power consumption mode and waiting for the next data detection.
[0064] Step 2: When the real-time data detected by the first processing unit is abnormal, that is, when at least one of the temperature, battery voltage and smoke concentration exceeds the set threshold, the first processing unit sends a signal to the second processing unit, triggering the NB interrupt signal of the second processing unit to wake up the second processing unit.
[0065] After initialization, the second processing unit is in a low-power sleep state under normal conditions, with an average power consumption of 3uA. When the second processing unit receives a wake-up instruction, it will wake up from sleep and perform detection and data upload. The wake-up methods include manual wake-up, first processing unit wake-up, and clock wake-up (autonomous wake-up). When the real-time data is abnormal, the second processing unit wakes up in the same way as the first processing unit.
[0066] Step three, after the second processing unit is awakened, it inquires the first processing unit about the status of the real-time data every second preset time, and reports the status of the real-time data to the control platform. When the real-time data is no longer abnormal, the second processing unit re-enters the low power consumption state.
[0067] The first processing unit and the control platform are both connected to the second processing unit for communication. When the second processing unit is awakened, it will actively connect to the Internet and establish a connection with the control platform for uploading data. For example, the second preset time is 10 seconds, that is, the second processing unit asks the first processing unit for real-time data once every 10 seconds and reports it. During configuration, the second preset time is selected to be greater than the first preset time to ensure that when inquiring about real-time data, the second processing unit inquires about real-time data after the first processing unit has detected the real-time data at least once.
[0068] When the second processing unit encounters a networking problem, the second processing unit will store the queried real-time data in the log and report it after the networking is successful. The operator can view the real-time data uploaded to the control platform by the second processing unit and compare the difference between the real-time data and the preset value.
[0069] The first processing unit is connected to the alarm. When the first processing unit detects that the real-time data is abnormal, the first alarm signal is sent to the alarm and the alarm is controlled to sound. Exemplarily, the alarm is an acoustic and optical alarm, which is divided into two parts: a buzzer and an alarm light. When the first processing unit sends a signal to the buzzer, the buzzer will be controlled to sound. After the first processing unit sends a signal to the alarm light, the alarm light will be controlled to flash. It can have a warning effect and remind the operator. Exemplarily, the alarm light is an LED prompt light, which can be configured with different flashing frequencies and durations. The first processing unit cyclically detects the real-time data. When the data is no longer abnormal, the first processing unit sends a stop signal to the alarm to control the alarm to stop the alarm.
[0070] The method further includes: when there is no abnormality in the real-time data, the second processing unit will not be awakened by the first processing unit. Exemplarily, a third preset time is configured during initialization, and after the third preset time has passed, the second processing unit performs RTC awakening (clock awakening), and this awakening method does not require a signal from the first processing unit and is an autonomous awakening of the second processing unit.
[0071] Exemplarily, the third preset time is 24 hours. When the first processing unit has not detected any data abnormality, the second processing unit will automatically wake up from sleep once every 24 hours. After automatically waking up, the second processing unit will query the remaining battery power and compare the battery power threshold with the power threshold. When the battery power is greater than or equal to the power threshold, the second processing unit will re-enter the sleep state after reporting the battery power data. When the battery power is less than the power threshold, the first processing unit will send a signal to the alarm light and control the alarm light to alarm.
[0072] During configuration, the second processing unit sends a control signal to the first processing unit to set the flashing frequency and / or alarm duration of the alarm light when the battery power is lower than the power threshold. When the battery power is lower than the power threshold, the first processing unit sends a second alarm signal to the alarm light and controls the alarm light to alarm according to the set flashing frequency and / or alarm duration. Among them, the remaining battery power is represented by the proportion of the existing power in the total power. Exemplarily, the power threshold is 10%, and when the battery power is lower than 10%, the alarm light will flash to alarm. Inform the operator that the remaining power is insufficient and needs to be replaced, but if it is not replaced in the short term, the device can still be used for a period of time. In addition, it also includes a second power threshold, and the second power threshold is set to 5%. When the battery power is less than 5%, the battery needs to be replaced as soon as possible, otherwise the device may not be used normally.
[0073] As can be seen from the above, the first processing unit will detect the battery voltage. When the battery voltage is less than 2.7V, data abnormalities will occur. At this time, an alarm will sound and prompt that the voltage is too low and needs to be replaced. Similarly, when the battery power is less than 5%, an alarm will sound and remind you to replace the battery. The flashing frequency and duration of the alarm light can be configured, so the alarm light can be configured to three different flashing frequencies and durations. When the data is abnormal, the battery power is less than 10%, and the battery power is less than 5%, the alarm light will alarm in different ways to remind the operator of different situations.
[0074] When there is no abnormality in the data, it cannot be guaranteed that the battery power is sufficient. By setting the clock wake-up of the second processing unit, the battery power detection is cyclically performed within 24 hours. When the power is about to be low, an alarm can be issued to remind the staff to replace the battery as soon as possible.
[0075] If the battery power is greater than or equal to the threshold, the second processing unit re-enters the sleep state after querying and uploading data. When the battery power is less than the threshold, the second processing unit controls the first processing unit to send an alarm signal to the alarm light and the alarm light completes the alarm, and then the second processing unit re-enters the sleep state.
[0076] Exemplarily, in addition to being awakened by the first processing unit and awakened autonomously by the clock, the second processing unit can also be awakened manually. A wake-up button is configured on the second processing unit. When the second processing unit is not actively awakened, it can be manually awakened by pressing the wake-up button. The second processing unit receives an interrupt signal from the wake-up button, the second processing unit starts self-testing and uploads the self-test information to the control platform, and the second processing unit re-enters the low-power state after the self-test is completed, wherein the self-test information includes the working status of the first processing unit and the second processing unit and the battery power, the self-test time is 30 seconds, and when the second processing unit completes the 30-second self-test, it will re-enter the low-power sleep state. The working status of the first processing unit and the second processing unit refers to whether each module in the first processing unit and the second processing unit can be powered on and work normally in the power-on state. If it can work normally, the working state is normal, otherwise it is abnormal. The working state and battery power information of the processing unit can be obtained through the data uploaded to the control platform by the second processing unit. Manual wake-up is performed for detection and query when the second processing unit does not wake up autonomously.
[0077] An embodiment of the present application also provides a low-power consumption control device for a photoelectric smoke detector, the device comprising a memory and a processor, the memory storing a computer program executed by the processor, and when the computer program is executed by the processor, the processor executes the above method.
[0078] An embodiment of the present application also provides a photoelectric smoke detector, including a data acquisition module, a data connection module, an alarm module and the above-mentioned control device; the data acquisition module is used to acquire real-time data; the data connection module is electrically connected to the control module and the data acquisition module, and the control device acquires real-time data from the data acquisition module through the data connection module, and performs low power consumption control based on the real-time data.
[0079] The data acquisition module includes a detection module and a measurement module; the detection module includes an optical maze, which is used to obtain smoke concentration data in real-time data; the measurement module includes a battery voltage acquisition module and a temperature acquisition module, the battery voltage acquisition module is used to obtain battery voltage data in real-time data; the temperature acquisition module is used to obtain temperature data in real-time data. The alarm module includes a buzzer sheet, an alarm light, and a yellow-green light driving circuit electrically connected to the control device, the yellow-green light driving circuit is used to drive the alarm light to flash; the buzzer sheet and the alarm light alarm under the control of the control device.
[0080] The photoelectric smoke detector also includes a key module, which is electrically connected to the control device and is used to manually wake up the second processing unit of the control device when the second processing unit does not wake up automatically.
[0081] Exemplarily, the data connection module includes an anti-reverse connection module and a serial port data level conversion module electrically connected to the control device, wherein the serial port data level conversion module adopts a USART serial port module.
[0082] like Figure 5 As shown, exemplarily, the second processing unit is OpenMCU, and the second processing unit is connected to a power module for providing power, a serial port module, a storage module, a NB radio module, an RTC wake-up module (clock wake-up module), a battery detection module, a temp module (temperature detection module), a GPIO module (general input and output module), a buzzer alarm module, a switch module, an LED status display module and a button module. The second processing unit is also configured with drivers for corresponding modules, such as SYS_MD_101: USART driver (serial port module driver) and SYS_MD_104: ADC driver (ADC module driver), which respectively drive the corresponding modules and control the operation of each module in the second processing unit. The storage module is Figure 5The File System module in the system performs the file storage function through the driver of SYS_MD_118:fs driver (file system driver). Among them, the power module provides power to the second processing unit and the second processing unit. When the battery is low, it needs to be replaced in time. The storage module is used to store the real-time data inquired by the second processing unit. After connecting to the network, the data stored in the storage module can be uploaded. The NB radio frequency module is a communication module, which is used to connect to the network and upload data. The RTC wake-up module is used to receive the signal of the first processing unit and wake up the second processing unit from the dormant state. The battery detection module is used to detect the remaining battery power and control the first processing unit to alarm when the power is low. The buzzer chip module is the alarm of the second processing unit and can be configured to alarm when the self-test is abnormal. The switch module is used to control the on and off of the main power supply of the peripheral circuit. The display module is used to display whether the status of the second processing unit is abnormal. The key module is used to manually wake up the second processing unit and perform self-test of the second processing unit after waking up.
[0083] Through the above technical solution, the second processing unit in the present application is provided with an autonomous networking NB module, and the second processing unit can be autonomously networked after being awakened, and the networking speed is faster. The second processing unit can be awakened by the first processing unit, and can be actively awakened within a set time or manually awakened by a button. In addition to the first processing unit being able to detect real-time data, the second processing unit can also detect the battery power after awakening and alarm when the power is low. Through the alarm and the data on the control platform, it is convenient for operators to process abnormal data or replace batteries, which is more convenient to use and improves safety.
[0084] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present application to this. Those of ordinary skill in the art may make various changes and modifications therein without departing from the scope and spirit of the present application. All these changes and modifications are intended to be included within the scope of the present application as required by the appended claims.
[0085] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0087] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0088] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present application should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with features less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0089] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0090] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
[0091] It should be noted that the above embodiments illustrate rather than limit the present application, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
Claims
1. A low power consumption control method for a photoelectric smoke detector, characterized in that: The method comprises: The first processing unit detects the real-time data once every first preset time, and when the real-time data is normal, the first processing unit enters a low power consumption state until the detection is started again; When the real-time data is abnormal, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit from a low power consumption state; After the second processing unit is awakened, it inquires the first processing unit about the state of the real-time data every second preset time, and reports the real-time data to the control platform through the communication module. When the real-time data is no longer abnormal, the second processing unit re-enters the low power consumption state; When the real-time data is normal, the second processing unit actively wakes up from the low power consumption state once every third preset time to query the battery power. If the battery power is not lower than the power threshold, the second processing unit re-enters the low power consumption state; If the battery power is lower than the power threshold, the second processing unit transmits a signal to the first processing unit, the first processing unit sends a second alarm signal to the alarm and controls the alarm to sound, and the second processing unit re-enters the low power consumption state; When the second processing unit is not actively awakened from the low power consumption state, if the second processing unit receives an interrupt signal from a wake-up button, the second processing unit starts self-testing and uploads self-testing information to the control platform, and the second processing unit re-enters the low power consumption state after the self-testing is completed, wherein the self-testing information includes the working status of the first processing unit and the second processing unit and the battery power.
2. The method according to claim 1, characterized in that The method also includes: when the real-time data is abnormal, the first processing unit sends a first alarm signal to the alarm and controls the alarm to alarm; when the real-time data is no longer abnormal, the first processing unit sends a stop signal to the alarm and controls the alarm to stop alarming.
3. The method according to claim 1, characterized in that The alarm is an alarm light, and the second processing unit sends a control signal to the first processing unit to set the flashing frequency and / or alarm duration of the alarm light when the battery power is lower than the power threshold; When the battery power is lower than the power threshold, the first processing unit sends a second alarm signal to the alarm light and controls the alarm light to sound an alarm according to a set flashing frequency and / or alarm duration.
4. The method according to claim 1, characterized in that: The real-time data includes: smoke concentration, temperature and battery voltage. When at least one of the smoke concentration is higher than a concentration threshold, the temperature is higher than a temperature threshold, and the battery voltage is lower than a voltage threshold, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit.
5. The method according to claim 4, characterized in that The threshold of the battery voltage is 2.7V, and the threshold of the temperature is 57 degrees Celsius.
6. The method according to claim 4, characterized in that The first processing unit obtains the smoke concentration in the real-time data, including: Obtaining scattered light signals from a detection module; The smoke concentration is obtained according to the scattered light signal.
7. The method according to claim 4, characterized in that The first processing unit obtains the temperature and battery voltage in the real-time data, including: Collect measurement data of the measurement module; The temperature and the battery voltage are obtained according to the measurement data.
8. The method according to claim 1, characterized in that: The first preset time is 8 seconds, and the second preset time is 10 seconds.
9. The method according to claim 1, characterized in that: The third preset time is 24 hours.
10. A low power consumption control device for a photoelectric smoke detector, characterized in that: The control device comprises: A first processing unit, wherein the first processing unit detects real-time data once every first preset time, and when the real-time data has no abnormality, the first processing unit enters a low power consumption state until detection is started again; a second processing unit, the second processing unit is electrically connected to the first processing unit, a communication module is provided on the second processing unit, and the communication module is communicatively connected to the control platform; when the real-time data is abnormal, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit from a low power consumption state; after the second processing unit is awakened, it inquires the first processing unit about the state of the real-time data every second preset time, and reports the real-time data to the control platform through the communication module; when the real-time data is no longer abnormal, the second processing unit re-enters the low power consumption state; The second processing unit is further configured to: when the real-time data is normal, the second processing unit actively wakes up from the low power consumption state once every third preset time to query the battery power; If the battery power is not lower than the power threshold, the second processing unit re-enters the low power consumption state; If the battery power is lower than the power threshold, the second processing unit transmits a signal to the first processing unit, the first processing unit sends a second alarm signal to the alarm and controls the alarm to sound, and the second processing unit re-enters the low power consumption state; The second processing unit is provided with a wake-up button. When the second processing unit is not actively awakened from the low power consumption state, if the second processing unit receives an interrupt signal from the wake-up button, the second processing unit starts self-test and uploads the self-test information to the control platform. The second processing unit re-enters the low power consumption state after the self-test is completed, wherein the self-test information includes the working status of the first processing unit and the second processing unit and the battery power.
11. The device according to claim 10, characterized in that The first processing unit is further used for: when the real-time data is abnormal, the first processing unit sends a first alarm signal to the alarm of the photoelectric smoke detector and controls the alarm to alarm; When the real-time data is no longer abnormal, the first processing unit sends a stop signal to the alarm and controls the alarm to stop sounding an alarm.
12. The device according to claim 10, characterized in that The alarm is a warning light, and the second processing unit sends a preset signal to the first processing unit to set the flashing frequency and / or alarm duration of the warning light when the battery power is lower than the power threshold; When the battery power is lower than the power threshold, the first processing unit sends a second alarm signal to the alarm light and controls the alarm light to sound an alarm according to a set flashing frequency and / or alarm duration.
13. The device according to claim 10, characterized in that The real-time data includes: smoke concentration, temperature and battery voltage. When at least one of the smoke concentration is higher than a concentration threshold, the temperature is higher than a temperature threshold, and the battery voltage is lower than a voltage threshold, the first processing unit sends an abnormal data signal to the second processing unit and wakes up the second processing unit.
14. The device according to claim 13, characterized in that The threshold of the battery voltage is 2.7V, and the threshold of the temperature is 57 degrees Celsius.
15. The device according to claim 13, characterized in that The first processing unit obtains the smoke concentration in the real-time data, including: Obtaining a scattered light signal from a detection module of the photoelectric smoke detector; The smoke concentration is obtained according to the scattered light signal.
16. The device according to claim 15, characterized in that The first processing unit obtains the temperature and battery voltage in the real-time data, including: Collecting measurement data of the measurement module of the photoelectric smoke detector; The temperature and the battery voltage are obtained according to the measurement data.
17. The device according to claim 10, characterized in that The first preset time is 8 seconds, and the second preset time is 10 seconds.
18. The device according to claim 10, characterized in that The third preset time is 24 hours.
19. A low power consumption control device for a photoelectric smoke detector, characterized in that: The device comprises a memory and a processor, wherein a computer program executed by the processor is stored in the memory, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 9.
20. A photoelectric smoke detector, characterized in that: It comprises a data acquisition module, a data connection module, an alarm module and a control device as claimed in any one of claims 10 to 18; The data acquisition module is used to acquire real-time data; The data connection module is electrically connected to the control module and the data acquisition module. The control device acquires the real-time data from the data acquisition module through the data connection module and performs low power consumption control based on the real-time data.
21. The photoelectric smoke detector according to claim 20, characterized in that: The data acquisition module includes a detection module and a measurement module; the detection module includes an optical maze, and the optical maze is used to obtain the smoke concentration data in the real-time data; the measurement module includes a battery voltage acquisition module and a temperature acquisition module, and the battery voltage acquisition module is used to obtain the battery voltage data in the real-time data; the temperature acquisition module is used to obtain the temperature data in the real-time data.
22. The photoelectric smoke detector according to claim 20, characterized in that: The alarm module includes a buzzer sheet, an alarm light, and a yellow-green light driving circuit electrically connected to the controlled device, wherein the yellow-green light driving circuit is used to drive the alarm light to flash; the buzzer sheet and the alarm light alarm under the control of the control device.
23. The photoelectric smoke detector according to claim 20, characterized in that: The data connection module includes an anti-reverse connection module and a serial port data level conversion module electrically connected to the control device.
24. The photoelectric smoke detector according to claim 20, characterized in that: It also includes a key module, which is electrically connected to the control device and is used to manually wake up the second processing unit of the control device.
