CN111583570A - Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof - Google Patents

Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof Download PDF

Info

Publication number
CN111583570A
CN111583570A CN201911359688.1A CN201911359688A CN111583570A CN 111583570 A CN111583570 A CN 111583570A CN 201911359688 A CN201911359688 A CN 201911359688A CN 111583570 A CN111583570 A CN 111583570A
Authority
CN
China
Prior art keywords
capacitor
module
resistor
iot
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911359688.1A
Other languages
Chinese (zh)
Inventor
罗良辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Lianxin Internet Of Things Technology Co ltd
Original Assignee
Zhejiang Lianxin Internet Of Things Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Lianxin Internet Of Things Technology Co ltd filed Critical Zhejiang Lianxin Internet Of Things Technology Co ltd
Priority to CN201911359688.1A priority Critical patent/CN111583570A/en
Publication of CN111583570A publication Critical patent/CN111583570A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/10Actuation by presence of smoke or gases, e.g. automatic alarm devices for analysing flowing fluid materials by the use of optical means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/06Investigating concentration of particle suspensions
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B7/00Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00
    • G08B7/06Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00 using electric transmission, e.g. involving audible and visible signalling through the use of sound and light sources
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/06Investigating concentration of particle suspensions
    • G01N15/075Investigating concentration of particle suspensions by optical means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Health & Medical Sciences (AREA)
  • Dispersion Chemistry (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Fire Alarms (AREA)

Abstract

The invention discloses an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform and a communication system thereof, which solve the problems of simple smoke detector function, complex hardware design, difficult development, unstable system and poor safety of the prior art, and comprise an NB-IoT module, a power management module, an MCU module and an SIM card drive circuit module; the input end of the NB-IoT module is connected with the first output end of the power management module, the RI serial port end of the NB-IoT module is connected with the RI serial port end of the MCU module, the input end of the MCU module is connected with the second output end of the power management module, the communication end of the NB-IoT module is connected with the communication end of the SIM card driving circuit module, and the OpenCPU development platform based on the NB-IoT technology is carried in an A-core processor of the NB-IoT module, wherein the A-core processor is integrated with an editable frame. The invention realizes real-time bidirectional data communication between the NB-IoT smoke detector terminal and the operator IoT platform and the intelligent fire safety control platform, and has the advantages of high integration, high safety and intellectualization and easy development.

Description

Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof
Technical Field
The invention relates to the technical field of circuits, in particular to an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform and a communication system thereof, wherein the intelligent smoke detector is high in integration, high in safety degree and easy to develop intelligently.
Background
In recent years, fire disasters frequently occur, great personnel and property losses are caused, the nation pays high attention to the fact that relevant documents are continuously issued, relevant requirements are clarified, and fire safety responsibility is implemented. Meanwhile, the fire fighting consciousness of people is gradually improved, the independent smoke feeling is popularized to a certain degree, and the fire prevention and disaster reduction effects are achieved. The smoke detector realizes fire prevention by monitoring smoke concentration, the ion smoke sensor is adopted in the smoke detector, the ion smoke sensor is a sensor with advanced technology and stable and reliable work, and is widely applied to various fire alarm systems, and the performance of the smoke detector is far superior to that of gas-sensitive resistance type fire alarms. The americium 241 radioactive source is arranged in an inner ionization chamber and an outer ionization chamber, and positive ions and negative ions generated by ionization respectively move towards a positive electrode and a negative electrode under the action of an electric field. Under normal conditions, the current and voltage of the inner ionization chamber and the outer ionization chamber are stable. Once smoke escapes from the outer ionization chamber. The normal motion of charged particles is disturbed, the current and the voltage are changed to some extent, the balance between the inner ionization chamber and the outer ionization chamber is destroyed, and then the wireless transmitter sends out a wireless alarm signal to inform a remote receiving host machine and transmit the alarm information. However, because the independent smoke detector has certain limitations, the quality of the independent smoke detectors on the market is uneven, and the traditional smoke detector is used in the places such as family houses, ancient buildings, industrial parks and the like, and has single function and can only send out audible and visual alarm prompts. The battery is short of electricity and can not know timely, the alarm information can not be received by people on the spot, the working state can not be mastered in real time, and the problems can not be completely solved by independent smoke sense. The 2G/3G/4G smoke feeling introduced in recent years is also influenced by signal coverage and signal penetration, so that the device is not suitable for large-scale and mass installation. Other linkage type smoke alarms, WiFi networking type smoke alarms and host networking type smoke alarms are limited by network factors, are easy to interfere and the like, and are not ideal to deploy. Generally speaking, present smoke detector function is simple, and hardware design is complicated, and the system is unstable, and the security is poor, and the degree of integration is low, and intelligent degree is low.
Traditional smoke detector design is that a special MCU of smoke detector and a smog detection chip are felt to a smoke, and a bottom plate is felt to drive audible-visual annunciator constitution, and a communication board is constituteed to a general MCU and a communication module, through UART serial ports connection smoke between two boards and feels special MCU and general MCU. The special MCU for smoke detection on the smoke detection bottom plate mainly has the functions of detecting a smoke detection chip, driving an audible and visual alarm, processing smoke detection service operation logic and the like. The general MCU on the communication board is mainly used for processing AT instruction distance, sending AT instruction through a UART serial port to control the communication module to be connected with a network, connecting a server, maintaining normal connection between the smoke detector and the IOT platform, and performing packet packing, analysis and the like on reported data packets and downlink data packets. According to the design scheme, a general MCU is used as an intermediate bridge MCU and is respectively connected with the smoke-sensitive special MCU and the communication module at two ends, an MCU is additionally added, a program development flow and control logic are added, the development difficulty is high, the hardware cost is high, and the size of monitoring equipment is increased.
Disclosure of Invention
The invention aims to solve the problems of simple smoke detector function, complex hardware design, difficult development, unstable system and poor safety of the prior art, and provides an intelligent smoke detector based on an OpenCPU development platform of NB-IoT technology and a communication system thereof.
In order to achieve the purpose, the invention adopts the following technical scheme:
an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform is characterized by being applied to a communication system and comprising an NB-IoT module, a power management module, an MCU module and an SIM card drive circuit module; the input end of the NB-IoT module is connected with the first output end of the power management module, the RI serial port end of the NB-IoT module is connected with the RI serial port end of the MCU module, the input end of the MCU module is connected with the second output end of the power management module, and the communication end of the NB-IoT module is connected with the communication end of the SIM card driving circuit module. The invention relates to an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform, wherein the hardware of the intelligent smoke detector mainly comprises an NB-IoT module, a power supply management module, an MCU module and an SIM card driving circuit module, the NB-IoT module adopts an NB86-G module, the interior of the NB-IoT module is based on a Haisi newest NB-IoT platform Hi2115 chip, the BOM cost can be reduced, one MCU cost and the minimum system thereof are removed, the intelligent smoke detector has higher integration level, the product size is reduced, the intelligent smoke detector is more suitable for consumer products, and the power supply management module detects the residual electric quantity of a battery at regular time; the SIM card driving circuit module is used for connecting the NB-IoT module and the SIM card for communication.
Preferably, the smoke detector also comprises a key circuit module, a buzzer module, an LED indicator lamp module and a smoke detection chip; the MCU module is respectively connected with the output end of the key circuit module, the input end of the buzzer module and the input end of the LED indicator lamp module and connected with the controlled end of the smoke detection chip. The circuit module can provide all necessary functions of the photoelectric smoke detector by using a minimum number of external elements, the key circuit module is used for self-checking and silencing of smoke sensation, and the smoke detection chip has 4 working modes: a normal mode, a hysteresis mode, a silence mode and a detection cavity test mode; the normal mode is a standby mode and is in a low power consumption state, the internal gain is a normal gain value set by the register, and the standby current is below 1 muA; when the smoke concentration reaches a certain degree, the smoke detection chip enters a local alarm state and enters a hysteresis mode so as to realize that the entering alarm state and the exiting alarm state are not in the same smoke condition, and the gain of the hysteresis mode is the same as that of the normal mode; the gain of the silent mode is 1/2 of the normal mode, compared with the normal mode, 2 times of smoke concentration is needed to alarm under the condition that the threshold value is set to be the same, so that the function of low sensitivity is realized; under the detection cavity test mode, the gain is 2 times of that of the normal mode, so that a high-gain and high-sensitivity mode is realized and is used for a press test and a smoke cavity test. In a standby state, the smoke detection chip boosts the voltage every 10 s to detect smoke, and the detection cavity test is carried out in 43 s. After the IRED pulse of the infrared transmitting tube externally connected with the smoke detection chip is finished, the output signal of the infrared receiving tube is subjected to integral amplification and converted into a digital signal, and the digital signal is compared with a set limit value. If the result of the integrator is greater than the set limit value, smoke exists, and the smoke detection period is shortened; the smoke condition was detected 3 consecutive times and the device entered the alarm state.
Preferably, the NB-IoT module includes NB-IoT module U2, capacitor C1, capacitor C5, capacitor C6, capacitor C7, capacitor C19, capacitor C20, inductor L2, resistor R3, resistor R5, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, resistor R13, resistor R16, test point TP5, test point TP6, test point TP7, test point TP8, test point TP9, test point TP10, and transistor Q1; the battery voltage NB _ VBAT terminal is respectively connected with one end of a capacitor C1, one end of a capacitor C638 and one end of an inductor L2, the other end of the inductor L2 is connected with the first output terminal NB _3V6 of the power management module, the VDD _ EXT terminal of the NB-IoT module U2 is grounded through a capacitor C5, the DGB _ RXD terminal of the NB-IoT module U2 is grounded through a resistor R7, the NB-IoT module U2RESET terminal is connected with the collector terminal of a triode Q1, the base terminal of the triode Q1 is connected with one end of a resistor R13, the other end of the resistor R13 is connected with a test point TP5NB _ RESET, the NB-IoT module U2RF _ ANT terminal is respectively connected with one end of a capacitor C6 and one end of a resistor R16, the other end of the resistor R16 is respectively connected with one end of a capacitor C7 and a radio frequency antenna ANT2, the RST terminal of the NB-IoT module U53 is respectively connected with a US, the USIM _ CLK terminal of the NB-IoT module U2 is connected with the SIM card driving circuit module clock terminal through a resistor R3, the USIM _ DATA terminal of the NB-IoT module U2 is connected with the SIM card driving circuit module DATA terminal through a resistor R3, the DGB _ TXD terminal of the NB-IoT module U2 is connected with a test point TP6, the DGB _ RXD terminal of the NB-IoT module U2 is connected with a test point TP7 and one end of a resistor R7 respectively, the TXD terminal of the NB-IoT module U2 is connected with a test point TP8 through a resistor R8, the RXD terminal of the NB-IoT module U2 is connected with one end of a resistor R9 and one end of a resistor R10 respectively, the other end of the resistor R9 is connected with a test point TP9, the other end of a capacitor C1, the other end of a capacitor C19, the other end of a capacitor C20, the other end of a capacitor C. The NB-IoT module adopts an NB86-G module, the interior of the NB-IoT module is based on a Haisi latest NB-IoT platform Hi2115 chip, the chip interior comprises an A core, a C core and an S core, the A core processor is used as an application core processor, an OpenCPU development platform based on an NB-IoT technology is carried in the A core processor, RDK + SDK originally opened only to a module manufacturer for secondary development is packaged, the A core of the Haisi Hi2115 chip is opened to a client for use, and an API interface function for the client to develop and package is developed and packaged.
Preferably, the power management module comprises a diode D4, an LDO power supply voltage regulation chip U3, an LDO power supply voltage regulation chip U6, a capacitor C8, a capacitor C11, a capacitor C12, a capacitor C14, a capacitor C18, a capacitor C21, a capacitor C22, a resistor R19, a resistor R20, and a resistor R21; the input end of the power management module (2) is connected with a battery voltage BAT1 and is respectively connected with one end of a capacitor C8, one end of a capacitor C18, the input end of an LDO power voltage stabilization chip U3, the enable end of the LDO power voltage stabilization chip U3 and the input end of the LDO power voltage stabilization chip U6 through a diode D4, the enable end of the LDO power voltage stabilization chip U6 is connected with one end of a resistor R20, the output end of the LDO power voltage stabilization chip U6 is respectively connected with one end of a resistor R19, one end of a capacitor C21, one end of a capacitor C22 and the input end of an NB-IoT module NB _3V6, the other end of the resistor R19 is respectively connected with one end of an LDO power voltage stabilization chip U6BP and the other end of a resistor R21, the output end of the LDO power voltage stabilization chip U3 is grounded through a capacitor C14, the output end of the LDO power voltage stabilization chip U3 is respectively connected with one end of a capacitor C11, one end of, The other end of the capacitor C11, the other end of the capacitor C12, the other end of the capacitor C18, the ground terminal of the LDO power supply voltage stabilization chip U6, the other end of the resistor R21, the other end of the capacitor C21 and the other end of the capacitor C22 are all grounded. The power management module supplies power to the NB-IoT module and the MCU module, and transforms the voltage into input voltage required by each module.
Preferably, the MCU module comprises a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C4, a capacitor C9, a capacitor C23, a capacitor C24, a capacitor C25, an inductor L1, a resistor R2, a resistor R1, a resistor R22, a crystal oscillator X1, a main control chip U1, a test point TP1, a test point TP2, a test point TP3, a test point TP4, a test point TP11, a test point TP12 and a test point TP 18; a second output end VDD _3V3 of the power management module (2) is respectively connected to one end of a capacitor C25, one end of a test point TP12, one end of an inductor L1, one end of a resistor R1, a VDD end of the main control chip U1, and one end of a capacitor C1, the other end of the inductor L1 is grounded through the capacitor C1, an OSC 1 _ IN end of the main control chip U1 is respectively connected to one end of a crystal oscillator X1 and one end of the capacitor C1, an OSC 1 _ OUT end of the main control chip U1 is respectively connected to the other end of the crystal oscillator X1 and one end of the capacitor C1, the other end of the resistor R1 is respectively connected to one end of the capacitor C1, an NRST end of the main control chip U1, and a RESET end of the test point TP1, a BOOT 1 end of the main control chip U1 is grounded through the resistor R1, a PA 1 port of the main control chip U1 is connected to an enable end of the power management module through the capacitor R1, and the other end of the. The MCU module main control chip U1 external component is few, low-power consumption with low costs easily realize, reduce cost, and the MCU module still controls smoke and feels amortization and reset.
Preferably, the SIM card driving circuit module includes a SIM card chip U4, a resistor R18, a resistor R17, a capacitor C13, a test point TP13, and an ESD diode U13, wherein a VDD terminal of the SIM card chip U13 is connected to one end of the resistor R13, one end of the capacitor C13, a 4 pin of the ESD diode U13, and a VREG _ SIM terminal of the test point TP13, the other end of the resistor R13 is connected to one end of the capacitor C13, a 3 pin of the ESD diode U13, one end of the resistor R13 is connected to a 3 pin of the ESD diode U13, an I/O terminal of the SIM card chip U13, and a SIM _ DATA terminal of the test point TP13, the other end of the resistor R13 is connected to an end of the SIM card chip U13, a RST terminal of the SIM card chip U13 is connected to one end of the capacitor C13, an RST terminal of the capacitor C13, an end of the capacitor TP 72, an end of the test point TP 72, and an end of the test point CLK _ DATA, The pin 1 of the ESD diode U5 and the SIM _ CLK terminal of the test point TP15 are connected to the other terminal of the capacitor C16, the other terminal of the capacitor C13, the other terminal of the capacitor C15, the other terminal of the capacitor C17, and the test point TP17, all of which are grounded.
Preferably, the buzzer module comprises a resistor R11, a transistor Q2 and a buzzer BUZ1, the second output end VDD _3V3 of the power management circuit is connected with the positive electrode of the buzzer BUZ1, the negative electrode of the buzzer is connected with the collector of a transistor Q2, the base of the transistor Q2 is connected with the BEEP port of a processor U1 of the MCU module through a resistor R11, and the emitter of the transistor Q2 is grounded.
Preferably, the LED indicator module includes a resistor R4, a resistor R23, a light emitting diode LED1 and a light emitting diode LED2, the second output end VDD _3V3 of the power management circuit is respectively connected to one end of the resistor R4 and one end of the resistor R23, the other end of the resistor R4 is connected to the positive electrode of the light emitting diode LED1, the negative electrode of the light emitting diode LED1 is connected to the MCU module, the other end of the resistor R23 is connected to the positive electrode of the light emitting diode LED2, and the negative electrode of the light emitting diode LED2 is connected to the MCU module.
The communication system comprises an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform, wherein the smoke detector comprises an NB-IoT module, an A-core processor, a C-core processor and an S-core processor, the A-core processor is an application core, the C-core processor is a protocol core, the S-core processor is a safety core, the communication system also comprises an OpenCPU development platform based on the NB-IoT technology, the OpenCPU development platform based on the NB-IoT technology is carried in the A-core processor, the communication system further comprises an operator IoT platform and an intelligent fire safety control platform, and the operator IoT platform and the intelligent fire safety control platform are connected with the A-core processor through an NB-IoT network. In the using process, related API interface functions are directly called, API interface functions provided by an OpenCPU development platform are called on an A-core processor, the NB-IoT network is attached step by step, a core network is registered, PDP is activated, CoAP is connected, an operator IOT platform is connected, and finally the intelligent fire safety control platform is connected, so that real-time bidirectional data communication between the NB-IoT smoke detector terminal and the operator IoT platform and the intelligent fire safety control platform is realized.
Preferably, the A-core processor periodically reports heartbeat data packets to an operator IoT platform and an intelligent fire safety control platform, wherein the heartbeat data packets comprise equipment types, equipment addresses, heartbeat states and residual battery power data, and the operating parameter information RSSI, SINR, ECL and PCI of the NB-IoT module are obtained by calling a signal quality API function of an OpenCPU.
Therefore, the invention has the following beneficial effects:
the invention relates to an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform, wherein the hardware of the intelligent smoke detector mainly comprises an NB-IoT module, a power supply management module, an MCU module and an SIM card driving circuit module, the NB-IoT module adopts an NB86-G module, the interior of the NB-IoT module is based on a Haisi newest NB-IoT platform Hi2115 chip, the BOM cost can be reduced, one MCU cost and the minimum system thereof are removed, the intelligent smoke detector has higher integration level, the product size is reduced, the intelligent smoke detector is more suitable for consumer products, and the power supply management module detects the residual electric quantity of a battery at regular time; the SIM card driving circuit module is used for connecting the NB-IoT module and the SIM card for communication; .
2. The MCU module main control chip U1 has few external elements, low power consumption, low cost, easy implementation and low cost, the MCU module also controls smoke silencing and resetting, the NB-IoT module adopts an NB86-G module, the interior of the NB-IoT module is based on a Haisi newest NB-IoT platform Hi2115 chip, the chip internally comprises an A core, a C core and an S core, the A core processor is used as an application core processor, an OpenCPU development platform based on the NB-IoT technology is carried in the A core processor, and RDK + SDK originally opened to a module manufacturer for secondary development is packaged, so that the A core of the Haisi Hi2115 chip is opened to a client for use, and an API interface function for the client development and use is developed and packaged;
3. in the using process, related API interface functions are directly called, API interface functions provided by an OpenCPU development platform are called on an A-core processor, the NB-IoT network is attached step by step, a core network is registered, PDP is activated, CoAP is connected, an operator IOT platform is connected, and an intelligent fire safety control platform is finally connected, so that real-time bidirectional data communication between an NB-IoT smoke detector terminal and the operator IoT platform and the intelligent fire safety control platform is realized, and the system has the advantages of high integration, high safety and intelligence and easiness in development.
Drawings
FIG. 1 is a block diagram of the smoke detector of the present invention.
Fig. 2 is a circuit diagram of the NB-IoT module of the present invention.
Fig. 3 is a circuit diagram of a power management module of the present invention.
Fig. 4 is a circuit diagram of the MCU module of the present invention.
Fig. 5 is a circuit diagram of a SIM card driving circuit module of the present invention.
Figure 6 is a circuit diagram of a buzzer module of the present invention.
Fig. 7 is a circuit diagram of the LED indicator light module of the present invention.
Fig. 8 is a flow chart of the operation of the present invention.
Fig. 9 is a block diagram of a communication system according to the present invention.
Fig. 10 is a block diagram of the NB-IoT module of the present invention.
In the figure: 1. the intelligent fire-fighting safety control system comprises an NB-IoT module 2, a power management module 3, an MCU module 4, an SIM card driving circuit module 5, a key circuit module 6, a buzzer module 7, an LED indicator light module 8, a battery 9, a smoke detection chip 10, a debugging interface 11, a burning interface 12, an intelligent fire-fighting safety control platform 13, an operator IoT platform 14, an NB-IoT core network 15, an NB-IoT base station 16, an NB-IoT network 17 and an NB-IoT module.
Detailed Description
The invention is further described with reference to the following detailed description and accompanying drawings.
Example (b):
in this embodiment, an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform and a communication system thereof are shown in fig. 1 and 8, where the smoke detector includes an NB-IoT module 1, a power management module 2, an MCU module 3, and an SIM card driving circuit module 4; the input end of the NB-IoT module 1 is connected with the first output end of the power management module 2, the RI serial port end of the NB-IoT module 1 is connected with the RI serial port end of the MCU module 3, the input end of the MCU module 3 is connected with the second output end of the power management module 2, the communication end of the NB-IoT module 1 is connected with the communication end of the SIM card driving circuit module 4, and the NB-IoT module further comprises a key circuit module 5, a buzzer module 6, an LED indicator lamp module 7 and a smoke detection chip 9; the MCU module 3 is respectively connected with the output end of the key circuit module 5, the input end of the buzzer module 6 and the input end of the LED indicator light module 7 and the controlled end of the smoke detection chip 9; the communication system comprises an intelligent fire-fighting safety control platform 12, an operator IoT platform 13, an NB-IoT core network 14, an NB-IoT base station 15 and an NB-IoT network 16 which are sequentially connected, the smoke detector comprises an A-core processor, a C-core processor and an S-core processor, the A-core processor is an application core, the C-core processor is a protocol core, the S-core processor is a safety core, the OpenCPU development platform based on the NB-IoT technology is carried in the A-core processor, the operator IoT platform 13 and the intelligent fire-fighting safety control platform are further included, the operator IoT platform 13 and the intelligent fire-fighting safety control platform are both connected with the A-core processor, the A-core processor periodically reports heartbeat data packets to the operator IoT platform 13 and the intelligent fire-fighting safety control platform, and the heartbeat data packets comprise device types, The method comprises the steps of obtaining operation parameter information RSSI, SINR, ECL and PCI of the NB-IoT module 1 by a device address, a heartbeat state, remaining battery power data and calling a signal quality API function of an OpenCPU.
The NB-IoT module 1, as shown in fig. 2, includes an NB-IoT module U2, a capacitor C1, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C19, a capacitor C20, an inductor L2, a resistor R3, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R13, a resistor R16, a test point TP5, a test point TP6, a test point TP7, a test point TP8, a test point TP9, a test point TP10, and a transistor Q1; the battery voltage NB _ VBAT terminal is respectively connected with one terminal of a capacitor C1, one terminal of a VBAT terminal of an NB-IoT module U2, one terminal of a capacitor C19, one terminal of a capacitor C20 and one terminal of an inductor L2, the other terminal of the inductor L2 is connected with the first output terminal NB _3V6 of the power management module 2, the VDD _ EXT terminal of the NB-IoT module U2 is grounded through a capacitor C5, the DGB _ RXD terminal of the NB-IoT module U2 is grounded through a resistor R7, the NB-IoT module U2RESET terminal is connected with the collector terminal of a triode Q1, the base terminal of the triode Q1 is connected with one terminal of a resistor R13, the other terminal of the resistor R13 is connected with a test point TP5NB _ RESET, the NB-IoT module U2RF _ ANT terminal is respectively connected with one terminal of a capacitor C6 and one terminal of a resistor R16, the other terminal of the resistor R16 is respectively connected with one terminal of a capacitor C7 and a radio frequency antenna 2, the USIM terminal, the USIM _ CLK terminal of the NB-IoT module U2 is connected with the clock terminal of the SIM card driving circuit module 4 through a resistor R3, the USIM _ DATA terminal of the NB-IoT module U2 is connected with the DATA terminal of the SIM card driving circuit module 4 through a resistor R3, the DGB _ TXD terminal of the NB-IoT module U2 is connected with a test point TP6, the DGB _ RXD terminal of the NB-IoT module U2 is connected with a test point TP7 and one end of a resistor R7 respectively, the TXD terminal of the NB-IoT module U2 is connected with a test point TP8 through a resistor R8, the RXD terminal of the NB-IoT module U2 is connected with one end of a resistor R9 and one end of a resistor R10 respectively, the other end of the resistor R9 is connected with a test point TP9, the other end of a capacitor C1, the other end of a capacitor C19, the other end of a capacitor C9, the other end of.
The power management module 2, as shown in fig. 3, includes a diode D4, an LDO power regulation chip U3, an LDO power regulation chip U6, a capacitor C8, a capacitor C11, a capacitor C12, a capacitor C14, a capacitor C18, a capacitor C21, a capacitor C22, a resistor R19, a resistor R20, and a resistor R21; the input end of the power management module 2 is connected with a battery voltage BAT1 and is respectively connected with one end of a capacitor C8, one end of a capacitor C18, the input end of a LDO power voltage stabilization chip U3, the enable end of the LDO power voltage stabilization chip U3 and the input end of the LDO power voltage stabilization chip U6 through a diode D4, the enable end of the LDO power voltage stabilization chip U6 is connected with one end of a resistor R20, the output end of the LDO power voltage stabilization chip U6 is respectively connected with one end of a resistor R19, one end of a capacitor C21, one end of a capacitor C22 and the input end of the NB-IoT module 1 NB 3V6, the other end of the resistor R19 is respectively connected with one end of a LDO power voltage stabilization chip U6, BP and the other end of a resistor R21, the BP end of the LDO power voltage stabilization chip U3 is grounded through a capacitor C14, the output end of the LDO power voltage stabilization chip U3 is respectively connected with one end of a capacitor C11, one end of a, The other end of the capacitor C11, the other end of the capacitor C12, the other end of the capacitor C18, the ground terminal of the LDO power supply voltage stabilization chip U6, the other end of the resistor R21, the other end of the capacitor C21 and the other end of the capacitor C22 are all grounded.
As shown in fig. 4, the MCU module 3 includes a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C4, a capacitor C9, a capacitor C23, a capacitor C24, a capacitor C25, an inductor L1, a resistor R2, a resistor R1, a resistor R22, a crystal oscillator X1, a main control chip U1, a test point TP1, a test point TP2, a test point TP3, a test point TP4, a test point TP11, a test point TP12, and a test point TP 18; a second output end VDD _3V3 of the power management module 2 is respectively connected to one end of a capacitor C25, one end of a test point TP12, one end of an inductor L1, one end of a resistor R1, a VDD end of the main control chip U1, and one end of a capacitor C1, the other end of the inductor L1 is grounded through the capacitor C1, an OSC 1 _ IN end of the main control chip U1 is respectively connected to one end of a crystal oscillator X1 and one end of the capacitor C1, an OSC 1 _ OUT end of the main control chip U1 is respectively connected to the other end of the crystal oscillator X1 and one end of the capacitor C1, the other end of the resistor R1 is respectively connected to one end of the capacitor C1, an NRST end of the main control chip U1, and a RESET end of the test point TP1, a BOOT 1 end of the main control chip U1 is grounded through the resistor R1, a PA 1 port of the main control chip U1 is connected to an enable end of the power management module 2 through the resistor R1, and the other end of the.
As shown in fig. 5, the SIM card driving circuit module 4 includes a SIM card chip U4, a resistor R18, a resistor R17, a capacitor C13, a test point TP13, and an ESD diode U13, wherein a VDD terminal of the SIM card chip U13 is connected to one end of the resistor R13, one end of the capacitor C13, a 4 terminal of the ESD diode U13 and a VREG _ SIM terminal of the test point TP13, the other end of the resistor R13 is connected to one end of the capacitor C13, one end of the ESD diode U13, one end of the resistor R13 is connected to a 3 terminal of the ESD diode U13, an I/O terminal of the SIM card chip U13 and a SIM _ DATA terminal of the test point TP13, one end of the capacitor C13 and a RST terminal of the ESD diode U13 are connected to an NC terminal of the test point CLK terminal of the capacitor C13, an end of the test point RST terminal of the capacitor, The pin 1 of the ESD diode U5 and the SIM _ CLK terminal of the test point TP15 are connected to the other terminal of the capacitor C16, the other terminal of the capacitor C13, the other terminal of the capacitor C15, the other terminal of the capacitor C17, and the test point TP17, all of which are grounded.
The buzzer module 6, as shown in fig. 6, includes a resistor R11, a transistor Q2 and a buzzer BUZ1, the second output terminal VDD _3V3 of the power management circuit 2 is connected to the positive electrode of the buzzer BUZ1, the negative electrode of the buzzer is connected to the collector of the transistor Q2, the base of the transistor Q2 is connected to the BEEP port of the processor U1 of the MCU module 3 through the resistor R11, and the emitter of the transistor Q2 is grounded.
The LED indicator module 7, as shown in fig. 7, includes a resistor R4, a resistor R23, a light emitting diode LED1, and a light emitting diode LED2, wherein a second output terminal VDD _3V3 of the power management circuit 2 is respectively connected to one end of a resistor R4 and one end of a resistor R23, the other end of the resistor R4 is connected to an anode of the light emitting diode LED1, a cathode of the light emitting diode LED1 is connected to the MCU module 3, the other end of the resistor R23 is connected to an anode of the light emitting diode LED2, and a cathode of the light emitting diode LED2 is connected to the MCU module 3.
The working principle of the invention is as follows: after the system is powered on, the MCU module 3 sends an AT + INIT instruction to the NB-IoT module 1 through a serial port, and after the NB-IoT module 1 receives the AT + INIT instruction, an OpenCPU development architecture is adopted on an A-core processor, a LiteOS interface is called to create and start NB-IoT initialization and networking tasks, meanwhile, an NB-IoT networking software timer is created and started, NB-IoT network attachment, core network registration, PDP activation, CoAP connection, operator IoT platform 13 connection and intelligent fire safety control platform connection are achieved step by step; starting timing from the received instruction, within the longest response timeout time (90 s), the NB-IoT module 1 is added with the network and is attached to the network, and is added into the operator IoT platform 13, and then an OK is returned to the MCU module 3, otherwise, an ERROR is returned, and then NB-IoT initialization and network adding tasks are deleted, and an NB-IoT network adding software timer is started; before the NB-IoT initialization and the networking task are not deleted or the longest response timeout time is not reached, the MCU module 3 sends AT + INIT again, the NB-IoT module 1A core processor does not process after receiving the AT + INIT, the NB-IoT module filters the AT + INIT, and the NB networking task which runs before continues; in addition, when the NB86-G module is powered on and restarted or abnormally reset, so that the NB86-G module system is restarted and operated, when another task thread is initialized, the radio frequency shutdown function (i.e., AT + CFUN = 0) is set, so that the NB-IoT module 1 cannot automatically perform the module initialization, attach to the internet, access to the operator IoT platform, and other related processes only by sending the setting AT + INIT through the MCU module 3.
According to the intelligent smoke detector, the MCU module 3 can send an AT + READ instruction event to the NB-IoT module 1 through a serial port, an A core processor in the intelligent smoke detector inquires the IMSI number and the IMEI number of the NB-IoT module 1 through calling an API (application program interface) of an OpenCPU (open Central processing Unit), and after the NB-IoT module 1 receives the IMSI number and the IMEI number, corresponding IMSI and IMEI data frames are returned to the MCU module 3 according to a protocol format.
According to the intelligent smoke detector, an NB-IoT module 1 receives an AT + TYPE = DATA (device TYPE) instruction sent by a serial port of an MCU module 3, an A-core processor saves the DATA by calling a KV interface of an OpenCPU, and the DATA is filled when relevant DATA is sent subsequently.
In the intelligent smoke detector, the NB-IoT module 1 receives an AT + ADDR = DATA (device address) instruction sent by the serial port of the MCU module 3, the A-core processor saves the DATA by calling the KV interface of the OpenCPU, and the DATA is filled when relevant DATA is sent subsequently.
In the intelligent SMOKE detector, the NB-IoT module 1 receives AT + SMOKE = DATA (SMOKE DATA) command transmitted from the MCU module 3 serial port, buffers the DATA, and then fills the DATA when transmitting relevant DATA.
In the intelligent smoke detector, the NB-IoT module 1 receives AT + VOL = DATA (remaining battery power DATA) transmitted from the MCU module 3 serial port, buffers the DATA, and then fills the DATA when transmitting related DATA.
The intelligent smoke detector confirms whether the connection between the intelligent smoke detector and the operator IoT platform 13 is normal or not in order to guarantee the connection effectiveness, and the intelligent smoke detector needs to report heartbeat data packets to the operator IoT platform 13 and the intelligent fire safety control platform periodically. The method comprises the steps that an MCU module 3 periodically sends AT + HEART command events, an NB-IoT module 1 receives commands and then packs protocol data frames in an A-core processor, the heartbeat data packets mainly comprise device types, device addresses, heartbeat states and residual battery power data, a signal quality API function of an OpenCPU is called to obtain operation parameter information RSSI, SINR, ECL, PCI and the like of the NB-IoT module 1, a CoAP protocol data sending API function of the OpenCPU is called to report the heartbeat data packets to an operator IoT platform 13 and an intelligent fire safety control platform, the A-core processor confirms successful sending after receiving response data returned by the operator IoT platform 13, and the NB-IoT module 1 then returns OK to the MCU module 3 through a serial port.
The intelligent smoke detector is characterized in that after the intelligent smoke detector is powered on and restarted every time, the MCU module 3 needs to send an AT + POWERON command event, namely, the power-on event is sent, after the NB-IoT module 1 receives the command, a protocol data frame is packaged in the A-core processor, CoAP protocol data of the OpenCPU is called to send an API function, the API function is reported to the operator IoT platform 13 and the intelligent fire safety control platform, after the A-core processor receives response data returned by the operator IoT platform 13, the successful sending is confirmed, and then the NB-IoT module 1 returns OK to the MCU module 3 through a serial port.
In the operation process, the MCU module 3 detects that a smoke detector is detached, immediately sends an AT + DOWN command event, namely, sends the detachment event, the NB-IoT module 1 packages a protocol data packet in an A-core processor after receiving the command, the fire alarm data packet mainly comprises a device type, a device address, a detachment state bit and the like, then calls a CoAP protocol data sending API function of an OpenCPU, reports the fire alarm data packet to an operator IoT platform 13 and an intelligent fire safety control platform, confirms that the fire alarm data packet is successfully sent after the A-core processor receives response data returned by the operator IoT platform 13, and the NB-IoT module 1 then returns OK to the MCU module 3 through a serial port. After the smoke detector is detached and recovered, the MCU module 3 can send an AT + DISDOWN command event, and the NB-IoT module 1 receives the command and then reports the command to the operator IoT platform 13 and the intelligent fire safety control platform.
In the operation process, the MCU module 3 detects a battery under-voltage event and immediately sends an AT + UNDERVO instruction event, the NB-IoT module 1 receives the instruction and then packages a protocol data packet in the A-core processor, the fire alarm data packet mainly comprises a device type, a device address, a battery under-voltage state bit, the residual battery power and the like, then calls a CoAP protocol data sending API function of an OpenCPU (open CPU), reports the fire alarm data packet to an operator IoT platform 13 and an intelligent fire safety control platform, and then the A-core processor receives response data returned by the operator IoT platform 13 and confirms that the sending is successful, and the NB-IoT module 1 then returns OK to the MCU module 3 through a serial port. After the battery power recovers to normal, the MCU module 3 will send an AT + disunderpol command event, that is, the NB-IoT module 1 receives the command and then reports to the operator IoT platform 13 and the intelligent fire safety management and control platform.
In the operation process of the intelligent smoke detector, when a reporting event is triggered, the NB-IoT module 1 enters a connected state from a PSM state and reports data to the operator IoT platform 13, at the moment, the intelligent fire safety control platform can issue a heartbeat reporting interval and a fire alarm reporting interval for setting the intelligent smoke detector, the NB-IoT module 1 receives the data frame and analyzes the data and then sends the data to the MCU module 3, and the intelligent smoke detector can change the heartbeat reporting interval time and the fire alarm reporting interval time. The intelligent fire safety management and control platform can also send a silencing state and a resetting state for setting the intelligent smoke detector, the NB-IoT module 1 receives the data frame and sends the data frame to the MCU module 3 after analyzing the data, and the MCU module 3 of the intelligent smoke detector can set silencing recovery and then reset.
An intelligent smoke detector of an OpenCPU development platform based on an NB-IoT technology is developed by a software system carried in an A-core processor (application core) in a Hi2115 chip of an NB-IoT module 1, an application program of The intelligent smoke detector is developed by The OpenCPU development platform based on The NB-IoT technology carried in The A-core processor, and an FOTA (Firmware Over-The-Air) upgrading function is further provided.
The method comprises the steps that an OpenCPU scheme FOTA upgrading based on an NB-IoT technology is carried out in a differential upgrading mode, when the same firmware version is upgraded, application codes of a client are in an A core, and the FOTA upgrading only changes the changed place in the A core; when FOTA upgrading is carried out on different firmware versions, the changed parts in the A-core processor, the S-core processor and the C-core processor can be changed at the moment. The FOTA difference packet is stored in an independent memory of 180KB and is independent from the A core code area; the FOTA process can not be used for receiving and transmitting data, downloading firmware, upgrading the firmware and the like, and the intelligent smoke detector can not be reset and restarted and can not be powered off. After the firmware upgrade of the NB-IoT module 1 is completed, the version number of the firmware needs to be read to confirm whether the upgrade is successful. After the firmware of the NB-IoT module 1 is upgraded, a network needs to be attached, and the operator IoT platform 13 is connected to perform communication test and data transceiving test. After the intelligent smoke detector is put into the market and operates, if reasons such as abnormal functions, protocol changes or service function updates exist, when remote FOTA upgrading is needed, the upgrading task can be completed conveniently and quickly.
The MCU module 3 of the intelligent smoke detector completes various configurations of the external smoke detection chip 9 through programming. The smoke detection chip 9 has 4 operating modes: normal mode, hysteresis mode, silent mode and probe chamber test mode. The normal mode is a standby mode, and is in a low power consumption state, the internal gain is a normal gain value set by the register, and the standby current is below 1 muA. When the smoke concentration reaches a certain degree, the smoke detection chip 9 enters a local alarm state and enters a hysteresis mode so as to realize that the entering of the alarm state and the exit of the alarm state are not in the same smoke condition, and the gain of the hysteresis mode is the same as that of the normal mode. The gain of the silent mode is 1/2 of the normal mode, compared with the normal mode, 2 times of smoke concentration is needed to alarm under the condition that the threshold value is set to be the same, so that the function of low sensitivity is realized. Under the detection cavity test mode, the gain is 2 times of that of the normal mode, so that a high-gain and high-sensitivity mode is realized and is used for a press test and a smoke cavity test. In a standby state, the detection chip boosts the voltage every 10 s to detect smoke, and the detection chip performs detection cavity test in 43 s. After the IRED pulse of the infrared transmitting tube externally connected with the smoke detection chip 9 is finished, the output signal of the infrared receiving tube is subjected to integral amplification and converted into a digital signal, and the digital signal is compared with a set limit value. If the integrator result is greater than the set limit value, smoke exists and the smoke detection period is shortened. The smoke condition was detected 3 consecutive times and the device entered the alarm state. The MCU module 3 detects an alarm signal of the smoke detection chip 9, then drives the buzzer and the LED indicator lamp to execute sound and light alarm, and simultaneously sends an AT + FIRE instruction event to the serial port of the NB-IoT module 1, namely, a FIRE alarm event is sent, after the NB-IoT module 1 receives the instruction, the OpenCPU platform in the A-core processor develops a packet protocol data packet, the FIRE alarm data packet mainly comprises a device type, a device address, a FIRE alarm state bit, smoke value data and the like, then calls a CoAP protocol data sending API function of the OpenCPU, reports the FIRE alarm data packet to the IoT platform 13 of an operator, then confirms that the sending is successful after the A-core processor receives response data returned by the IoT platform, and the NB-IoT module 1 then returns OK to the MCU module 3 through the serial port. The intelligent smoke detector transmits the collected alarm information and equipment operation information to an operator IoT platform 13 through an NB-IoT network and then transmits the alarm information and the equipment operation information to a monitoring management system, the perception data convergence operation platform analyzes and processes the received alarm data, all operation information of the equipment is issued to a monitoring end and a mobile phone end, a user can conveniently master the use condition of the equipment in real time, meanwhile, the abnormal information or real-time data information of the equipment is pushed to an intelligent fire safety control platform of a municipal government organization according to a specified format, and the fire information is directly pushed to a 119 alarm receiving platform after the fire is confirmed; when monitoring equipment abnormal conditions, can in time inform relevant responsible person with alarm information through three kinds of modes of voice call, SMS, APP propelling movement according to the mode that presets, the timely processing of the conflagration hidden danger of being convenient for. After the fire alarm state is relieved, the MCU module 3 can send AT + DISFIRE command events, namely relieving the fire alarm, and the NB-IoT module 1 receives the command and then reports to the operator IoT platform 13 and the intelligent fire safety control platform.
The invention relates to an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform, wherein the hardware of the intelligent smoke detector mainly comprises an NB-IoT module, a power supply management module, an MCU module 3 and an SIM card driving circuit module 4, the NB-IoT module adopts an NB86-G module, the interior of the NB-IoT module is based on a Haisi newest NB-IoT platform Hi2115 chip, the BOM cost can be reduced, one MCU cost and the minimum system thereof are removed, the intelligent smoke detector has higher integration level, the product size is reduced, the intelligent smoke detector is more suitable for consumer products, and the power supply management module detects the residual electric quantity of a battery at regular time; the SIM card driving circuit module 4 is used for connecting the NB-IoT module U2 to communicate with the SIM card; the MCU module 3 is provided with few external elements of a main control chip U1, low power consumption, low cost, easy implementation and low cost, the MCU module 3 also controls smoke silencing and resetting, the NB-IoT module adopts an NB86-G module, the inside of the NB-IoT module is based on a Haisi newest NB-IoT platform Hi2115 chip, the chip internally comprises an A core, a C core and an S core, the A core processor is used as an application core processor, an OpenCPU development platform based on an NB-IoT technology is carried in the A core processor, RDK + SDK originally opened to a module manufacturer for secondary development is packaged, the A core of the Haisi Hi2115 chip is opened to a client for use, and an API interface function for the client to develop and package is provided; in the using process, related API interface functions are directly called, API interface functions provided by an OpenCPU development platform are called on an A-core processor, the NB-IoT network is attached step by step, a core network is registered, PDP is activated, CoAP is connected, an operator IoT platform 13 is connected, and finally the intelligent fire safety control platform is connected, so that real-time bidirectional data communication between an NB-IoT smoke detector terminal and the operator IoT platform 13 and the intelligent fire safety control platform is realized, and the system has the advantages of high integration, high safety and intelligence and easy development; the invention has the advantages of easy installation, strong function, low price, simple development, high integration, high intelligence and high safety degree, and is an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform. Compared with the traditional smoke detector, the smoke detector needs an externally-hung MCU as an intermediate communication bridge control unit to connect the smoke detection bottom plate and the communication board. The OpenCPU development platform based on the NB-IoT technology is characterized in that an NB86-G module is adopted as an NB-IoT module U2, a Haisi latest NB-IoT platform Hi2115 chip is internally based on the chip, the chip internally comprises an A core (application core), a C core (protocol core) and an S core (safety core), the A core processor is used as an application core processor, the OpenCPU development platform based on the NB-IoT technology is carried in the A core processor, RDK + SDK originally opened to a module manufacturer for secondary development is packaged, the A core of the Haisi Hi2115 chip is opened to a client for use, an API interface function used for client development is developed and packaged, and the A core processor is integrated with a programmable framework and used for secondary development of a smoke detector application program. The program development tasks of the MCU and the communication module can be completed only by one NB-IoT module U2 for the communication board part on the smoke detector. An API interface function provided by an OpenCPU development platform is called on an A-core processor of the NB-IoT module U2, the NB-IoT network attachment, core network registration, PDP activation, CoAP connection, operator IOT platform connection and intelligent fire safety control platform connection are achieved step by step, and real-time bidirectional data communication between the NB-IoT smoke detector terminal and the operator IoT platform and between the NB-IoT smoke detector terminal and the intelligent fire safety control platform is achieved. And the programmable OpenCPU on the A-core processor develops and packages a reporting data packet, analyzes a downlink data packet, maintains network connection and the like. Compared with the traditional smoke detector, the smoke detector adopts a serial port communication mode between the MCU and the communication module to carry out data interaction, and is easy to steal and monitor the service protocol data interacted between the smoke detector and the IOT platform by people through serial port communication, and the safety is lacked, but the invention can directly develop a smoke detector application program on an A-core processor programmable OpenCPU development framework in the NB-IoT module U2 to complete service protocol data package and analysis, and is communicated with the IoT platform, so that the safety is higher; an OpenCPU development platform based on NB-IoT technology, an NB86-G module is adopted as an NB-IoT module U2, a Haisi latest NB-IoT platform Hi2115 chip is internally based on the chip, the chip internally comprises an A core (application core), a C core (protocol core) and an S core (safety core), the A core processor is used as an application core processor, the OpenCPU development platform based on the NB-IoT technology is carried in the A core processor, and RDK + SDK originally opened only to a module manufacturer for secondary development is packaged, so that the A core of the Haisi Hi2115 chip is opened to a client for use, API interface functions used for client development and packaging are developed and packaged, and the API interface functions comprise an operating system LiteOS interface (task management, queue management, event management, software timer, memory management, interrupt mechanism and the like), common driving interfaces (GPIO, I2C, SPI, ADC, DAC) and UART, The system comprises a KV interface (a flash interface inside a chip), a DNS analysis interface, a data downlink interface callback interface, an event state query interface, a common sensor library interface and the like, and related API interface functions can be directly called in the using process. Calling an API (application programming interface) function provided by an OpenCPU (open Central processing Unit) development platform on an A-core processor, realizing the attachment of an NB-IoT (network b-IoT) network, the registration of a core network, the activation of a PDP (plasma display panel), the connection of CoAP (chip application protocol), the connection of an operator IOT (internet of things) platform and the final connection of an intelligent fire safety control platform in steps, and realizing the real-time bidirectional data communication of an NB-IoT smoke detector terminal, the operator Io.
The above embodiments are described in detail for the purpose of further illustrating the present invention and should not be construed as limiting the scope of the present invention, and the skilled engineer can make insubstantial modifications and variations of the present invention based on the above disclosure. Within the scope of protection of (1).

Claims (10)

1. An intelligent smoke detector based on an NB-IoT technology OpenCPU development platform is characterized by being applied to a communication system and comprising an NB-IoT module (1), a power management module (2), an MCU module (3) and an SIM card drive circuit module (4); the input end of the NB-IoT module (1) is connected with the first output end of the power management module (2), the RI serial port end of the NB-IoT module (1) is connected with the RI serial port end of the MCU module (3), the input end of the MCU module (3) is connected with the second output end of the power management module (2), and the communication end of the NB-IoT module (1) is connected with the communication end of the SIM card driving circuit module (4).
2. The intelligent smoke detector based on the NB-IoT technology OpenCPU development platform is characterized by further comprising a key circuit module (5), a buzzer module (6), an LED indicator light module (7) and a smoke detection chip (9); the MCU module (3) is respectively connected with the output end of the key circuit module (5), the input end of the buzzer module (6) and the input end of the LED indicator lamp module (7) and is connected with the controlled end of the smoke detection chip (9).
3. The intelligent smoke detector based on the NB-IoT technology OpenCPU development platform is characterized in that the NB-IoT module (1) comprises an NB-IoT module U2, a capacitor C1, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C19, a capacitor C20, an inductor L2, a resistor R3, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R13, a resistor R16, a test point TP5, a test point TP6, a test point TP7, a test point 8, a test point TP9, a test point TP10 and a triode Q1; the battery voltage NB _ VBAT terminal is respectively connected with one terminal of a capacitor C1, one terminal of a VBAT terminal of an NB-IoT module U2, one terminal of a capacitor C19, one terminal of a capacitor C20 and one terminal of an inductor L2, the other terminal of the inductor L2 is connected with a first output terminal NB _3V6 of the power management module (2), the VDD _ EXT terminal of the NB-IoT module U2 is grounded through a capacitor C5, the DGB _ RXD terminal of the NB-IoT module U2 is grounded through a resistor R7, the NB-IoT module U2RESET terminal is connected with the collector terminal of a triode Q1, the base terminal of the triode Q1 is connected with one terminal of a resistor R13, the other terminal of the resistor R13 is connected with a TP test point 5NB _ RESET, the NB-IoT module U2RF _ ANT terminal is respectively connected with one terminal of a capacitor C6 and one terminal of a resistor R16, the other terminal of a resistor R16 is respectively connected with one terminal of a capacitor C7 and a radio frequency antenna 2, the RST terminal of the SIM, the USIM _ CLK terminal of the NB-IoT module U2 is connected with the clock terminal of the SIM card driving circuit module (4) through a resistor R3, the USIM _ DATA terminal of the NB-IoT module U2 is connected with the DATA terminal of the SIM card driving circuit module (4) through a resistor R3, the DGB _ TXD terminal of the NB-IoT module U2 is connected with a test point TP6, the DGB _ RXD terminal of the NB-IoT module U2 is connected with one end of a test point TP7 and one end of a resistor R7 respectively, the TXD terminal of the NB-IoT module U2 is connected with a test point TP8 through a resistor R8, the RXD terminal of the NB-IoT module U2 is connected with one end of a resistor R9 and one end of a resistor R10 respectively, the other end of the resistor R9 is connected with a test point TP9, the other end of a capacitor C1, the other end of a capacitor C19, the other end of a capacitor C20.
4. The NB-IoT technology OpenCPU development platform based intelligent smoke detector as claimed in claim 1, wherein the power management module (2) comprises diode D4, LDO power regulation chip U3, LDO power regulation chip U6, capacitor C8, capacitor C11, capacitor C12, capacitor C14, capacitor C18, capacitor C21, capacitor C22, resistor R19, resistor R20 and resistor R21; the input end of the power management module (2) is connected with a battery voltage BAT1 and is respectively connected with one end of a capacitor C8, one end of a capacitor C18, the input end of an LDO power voltage stabilization chip U3, the enable end of the LDO power voltage stabilization chip U3 and the input end of the LDO power voltage stabilization chip U6 through a diode D4, the enable end of the LDO power voltage stabilization chip U6 is connected with one end of a resistor R20, the output end of the LDO power voltage stabilization chip U6 is respectively connected with one end of a resistor R19, one end of a capacitor C21, one end of a capacitor C22 and the input end NB _3V6 of the NB-IoT module (1), the other end of the resistor R19 is respectively connected with one end of an LDO power voltage stabilization chip U6BP and the other end of a resistor 686R 9, the BP end of the LDO power voltage stabilization chip U3 is grounded through a capacitor C14, the output end of the LDO power voltage stabilization chip U3 is respectively connected with one end of a capacitor C11, one end of a capacitor C86, The other end of the capacitor C11, the other end of the capacitor C12, the other end of the capacitor C18, the ground terminal of the LDO power supply voltage stabilization chip U6, the other end of the resistor R21, the other end of the capacitor C21 and the other end of the capacitor C22 are all grounded.
5. The intelligent smoke detector based on the NB-IoT technology OpenCPU development platform is characterized in that the MCU module (3) comprises a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C4, a capacitor C9, a capacitor C23, a capacitor C24, a capacitor C25, an inductor L1, a resistor R2, a resistor R1, a resistor R22, a crystal oscillator X1, a main control chip U1, a test point TP1, a test point TP2, a test point TP3, a test point TP4, a test point TP11, a test point TP12 and a test point TP 18; a second output end VDD _3V3 of the power management module (2) is respectively connected to one end of a capacitor C25, one end of a test point TP12, one end of an inductor L1, one end of a resistor R1, a VDD end of the main control chip U1, and one end of a capacitor C1, the other end of the inductor L1 is grounded through the capacitor C1, an OSC 1 _ IN end of the main control chip U1 is respectively connected to one end of a crystal oscillator X1 and one end of the capacitor C1, an OSC 1 _ OUT end of the main control chip U1 is respectively connected to the other end of the crystal oscillator X1 and one end of the capacitor C1, the other end of the resistor R1 is respectively connected to one end of the capacitor C1, an NRST end of the main control chip U1, and a RESET end of the test point TP1, a BOOT 1 end of the main control chip U1 is grounded through the resistor R1, a PA 1 port of the main control chip U1 is connected to an enable end of the power management module (2) through the resistor R1, and the other ends of the.
6. The smart smoke detector according to claim 1, wherein the SIM driver circuit module (4) comprises a SIM chip U4, a resistor R18, a resistor R17, a capacitor C13, a capacitor C15, a capacitor C16, a capacitor C17, a test point TP13, a test point TP14, a test point TP15, a test point TP16, a test point TP17, and an ESD diode U5, wherein a VDD terminal of the SIM chip U5 is connected to one end of the resistor R5, one end of the capacitor C5, one end of the ESD diode U5, and a VREG _ SIM terminal of the test point TP5, a 4 pin of the ESD diode U5 is connected to one end of the capacitor C5, a 3 pin of the ESD diode U5, one end of the resistor R5 is connected to a 3 pin of the ESD diode U5, an I/O terminal of the SIM chip U5 and a _ DATA terminal of the ESD diode U5 are connected to one end of the capacitor NC chip U5, and a test point RST _ DATA terminal of the capacitor C5 is connected to one end of the SIM chip U5, The 5 pin of ESD diode U5 is connected to the SIM _ RST terminal of test point TP14, the CLK terminal of SIM card chip U4 is connected to one terminal of capacitor C17, the 1 pin of ESD diode U5 and the SIM _ CLK terminal of test point TP15, the other terminal of capacitor C16, the other terminal of capacitor C13, the other terminal of capacitor C15, the other terminal of capacitor C17 and test point TP17, all of which are grounded.
7. The intelligent smoke detector based on the NB-IoT technology OpenCPU development platform as claimed in claim 2, wherein the buzzer module (6) comprises a resistor R11, a transistor Q2 and a buzzer BUZ1, the second output end VDD _3V3 of the power management circuit (2) is connected with the positive pole of the buzzer BUZ1, the negative pole of the buzzer is connected with the collector of the transistor Q2, the base of the transistor Q2 is connected with the BEEP port of the processor U1 of the MCU module (3) through the resistor R11, and the emitter of the transistor Q2 is grounded.
8. The intelligent smoke detector based on the NB-IoT technology OpenCPU development platform as claimed in claim 2, wherein the LED indicator light module (7) comprises a resistor R4, a resistor R23, a light emitting diode LED1 and a light emitting diode LED2, the second output end VDD _3V3 of the power management circuit (2) is respectively connected with one end of a resistor R4 and one end of a resistor R23, the other end of the resistor R4 is connected with the anode of the light emitting diode LED1, the cathode of the light emitting diode LED1 is connected with the MCU module (3), the other end of the resistor R23 is connected with the anode of the light emitting diode LED2, and the cathode of the light emitting diode LED2 is connected with the MCU module (3).
9. The communication system of the intelligent smoke detector based on the NB-IoT technology OpenCPU development platform according to claim 1, is characterized by comprising an intelligent smoke detector based on an NB-IoT technology OpenCPU development platform, the smoke detector comprises an NB-IoT module (1), wherein the NB-IoT module (1) comprises an A-core processor, a C-core processor and an S-core processor, the A-core processor is an application core, the C-core processor is a protocol core, the S-core processor is a security core, the smoke detector further comprises an OpenCPU development platform based on the NB-IoT technology, the OpenCPU development platform based on NB-IoT technology is mounted in an a-core processor, the intelligent fire-fighting safety management and control system is characterized by further comprising an operator IoT platform and an intelligent fire-fighting safety management and control platform, wherein the operator IoT platform and the intelligent fire-fighting safety management and control platform are connected with the A-core processor through an NB-IoT network.
10. The communication system of the intelligent smoke detector based on the NB-IoT technology OpenCPU development platform as claimed in claim 9, wherein the A-core processor periodically reports heartbeat data packets to the operator IoT platform and the intelligent fire safety management and control platform, wherein the heartbeat data packets include device type, device address, heartbeat state, remaining battery power data, and operating parameter information RSSI, SINR, ECL, and PCI of the NB-IoT module are obtained by calling a signal quality API function of the OpenCPU.
CN201911359688.1A 2019-12-25 2019-12-25 Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof Pending CN111583570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911359688.1A CN111583570A (en) 2019-12-25 2019-12-25 Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911359688.1A CN111583570A (en) 2019-12-25 2019-12-25 Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof

Publications (1)

Publication Number Publication Date
CN111583570A true CN111583570A (en) 2020-08-25

Family

ID=72111395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911359688.1A Pending CN111583570A (en) 2019-12-25 2019-12-25 Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof

Country Status (1)

Country Link
CN (1) CN111583570A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113063471A (en) * 2021-03-23 2021-07-02 上海飞奥燃气设备有限公司 NB-IoT intelligent gas meter based on OpenCPU technology
CN113156843A (en) * 2021-01-25 2021-07-23 济南明湖建筑节能技术开发有限公司 Water supply system collector and remote control system
CN113391578A (en) * 2021-03-09 2021-09-14 浙江利尔达物联网技术有限公司 Internet of things test terminal based on LTE-Cat1 technology OpenCPU scheme
CN115035673A (en) * 2022-05-06 2022-09-09 江苏昂内斯电力科技股份有限公司 Intelligent smoke detector based on opencpu mode and dormancy method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945453A (en) * 2017-12-29 2018-04-20 广州紫川电子科技有限公司 A kind of monitoring system and method for the flame information based on arrowband Internet of Things
CN207588918U (en) * 2017-12-08 2018-07-06 上海宝康电子控制工程有限公司 Intelligent traffic signal control system based on NB-IOT networks
CN207676329U (en) * 2017-12-28 2018-07-31 广州信位通讯科技有限公司 A kind of wireless module and device with remote firmware updating function
CN207678006U (en) * 2017-12-29 2018-07-31 上海贝电实业(集团)股份有限公司 A kind of intelligent cigarette sense controller based on NB-IoT networks
US20180375887A1 (en) * 2017-06-27 2018-12-27 Allot Communications Ltd. System, device, and method of adaptive network protection for managed internet-of-things services
CN208752764U (en) * 2018-09-30 2019-04-16 成都安吉斯智能设备有限公司 A kind of stand alone type photoelectric smoke detecting alarm
CN208834459U (en) * 2018-09-30 2019-05-07 成都安吉斯智能设备有限公司 A kind of free-standing photoelectric smoke detecting alarm based on NB-IoT module
CN109828487A (en) * 2018-11-20 2019-05-31 杭州电子科技大学 One kind being based on NB-iot intelligent smog warning system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180375887A1 (en) * 2017-06-27 2018-12-27 Allot Communications Ltd. System, device, and method of adaptive network protection for managed internet-of-things services
CN207588918U (en) * 2017-12-08 2018-07-06 上海宝康电子控制工程有限公司 Intelligent traffic signal control system based on NB-IOT networks
CN207676329U (en) * 2017-12-28 2018-07-31 广州信位通讯科技有限公司 A kind of wireless module and device with remote firmware updating function
CN107945453A (en) * 2017-12-29 2018-04-20 广州紫川电子科技有限公司 A kind of monitoring system and method for the flame information based on arrowband Internet of Things
CN207678006U (en) * 2017-12-29 2018-07-31 上海贝电实业(集团)股份有限公司 A kind of intelligent cigarette sense controller based on NB-IoT networks
CN208752764U (en) * 2018-09-30 2019-04-16 成都安吉斯智能设备有限公司 A kind of stand alone type photoelectric smoke detecting alarm
CN208834459U (en) * 2018-09-30 2019-05-07 成都安吉斯智能设备有限公司 A kind of free-standing photoelectric smoke detecting alarm based on NB-IoT module
CN109828487A (en) * 2018-11-20 2019-05-31 杭州电子科技大学 One kind being based on NB-iot intelligent smog warning system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113156843A (en) * 2021-01-25 2021-07-23 济南明湖建筑节能技术开发有限公司 Water supply system collector and remote control system
CN113391578A (en) * 2021-03-09 2021-09-14 浙江利尔达物联网技术有限公司 Internet of things test terminal based on LTE-Cat1 technology OpenCPU scheme
CN113063471A (en) * 2021-03-23 2021-07-02 上海飞奥燃气设备有限公司 NB-IoT intelligent gas meter based on OpenCPU technology
CN115035673A (en) * 2022-05-06 2022-09-09 江苏昂内斯电力科技股份有限公司 Intelligent smoke detector based on opencpu mode and dormancy method

Similar Documents

Publication Publication Date Title
CN111583570A (en) Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof
US9900737B2 (en) Apparatus and method for locating and updating low-power wireless communication devices
WO2017035928A1 (en) Intelligent alarm system and method
CN110209639B (en) Information processing method, device and system
CN102272630A (en) Earthquake detection apparatus, system, and method
CN103179272A (en) Method and device for controlling mobile terminal
CN203416283U (en) Fire-fighting information remote transmission system based on real-time operation system
CN110363888B (en) Door lock management method and device, electronic equipment and readable storage medium
AU2047301A (en) Network event correlation system using formally specified models of protocol behavior
CN108713173A (en) Smart home early warning system and method
ITTO20120204U1 (en) EXTINGUISHER SIGNALING AND OPERATION SIGNALING EQUIPMENT AND FIRE-FIGHTING SYSTEM INCLUDING SUCH EQUIPMENT
CN105957296A (en) GSM-based automatic fire alarm system
CN104036610B (en) Fire alarm wireless telecommunications base
CN104504836A (en) Data information collecting device and method for natural gas fire alarm system
CN113064384A (en) Intelligent household appliance, cloud server and method for monitoring abnormity
CN112735090A (en) Method, system, storage medium and terminal for old man loss prevention and tumble alarm
JP2019207502A (en) Fire alarm, fire alarm system, abnormality determination method, and program
CN211207455U (en) Intelligent smoke detector based on NB-IoT technology OpenCPU development platform and communication system thereof
CN106389030B (en) A kind of internet intelligent electric wheelchair control system
JP2006270505A (en) Signal transmission system for transmission system
CN207337608U (en) A kind of fire alarm monitoring system based on LoRa communications
CN104715555A (en) Intelligent community fire alarm system
CN110996190A (en) Emergency permission starting communication equipment system and method thereof
CN110363953A (en) A kind of low-consumption wireless smoke alarm unit
CN107484114A (en) The matching method and system of bluetooth equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 100, no.1321, Wencang street, Hangzhou City, Zhejiang Province

Applicant after: ZHEJIANG LIERDA INTERNET OF THINGS TECHNOLOGY Co.,Ltd.

Address before: Room 100, no.1321, Wencang street, Hangzhou City, Zhejiang Province

Applicant before: Zhejiang Lianxin Internet of things Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825