Disclosure of Invention
The invention aims to provide an ultra-low power consumption multimode Internet of things wireless module, which forms a multimode Internet of things module and can meet various application scenes.
To achieve these objects and other advantages in accordance with the present invention, there is provided an ultra low power consumption multi-mode internet of things wireless module, including an MCU control unit, a GPRS module, an NB-IOT module, an EMTC module, an L ORA module, and a Sigfox module;
the GPRS module is connected with the MCU control unit through a UART, and the MCU control unit carries out control, command or data interaction on the GPRS module through AT instructions or instruction sets of the GPRS module; the MCU control unit passes GPIO for power-off, power-off and dormancy of the GPRS module;
l ORA module is connected with the MCU control unit through UART, the MCU control unit controls, commands or data interaction to the L ORA module through AT command or according to the support command table of L ORA module;
the NB-IOT module is connected with the MCU control unit through UART or IIC;
the EMTC module is connected with the MCU through a PCM interface and an SPI interface;
and the Sigfox module is connected with the MCU control unit through a UART.
Preferably, the device further comprises a SIM card and a buffer switch; the SIM card is connected with the buffer switch through an SIM bus, the EMTC module, the GPRS module and the NB-IOT module are all connected with the buffer switch, and the MCU control unit controls the buffer switch to be communicated with any one of the EMTC module, the GPRS module and the NB-IOT module in a switching mode.
Preferably, the method further comprises the following steps: a first antenna and a first radio frequency switch; the first antenna is connected with the first radio frequency switch, the EMTC module, the GPRS module and the NB-IOT module are all connected with the first radio frequency switch, the first radio frequency switch is set to be four-in and one-out, and the MCU control unit controls the first radio frequency switch to be communicated with any one of the EMTC module, the GPRS module and the NB-IOT module in a switching mode.
Preferably, the frequency band of the first antenna is 800-1000MHz frequency band.
Preferably, when the L ORA module and the Sigfox module adopt high frequency bands, the high frequency bands are 800-1000MHz, the L ORA module and the Sigfox module are connected with the first radio frequency switch through microstrip lines or coaxial cables, and the MCU control unit controls the first radio frequency switch to be in switching communication with any one of the EMTC module, the GPRS module, the NB-IOT module, the L ORA module and the Sigfox module.
Preferably, when the L ORA module and the Sigfox module adopt a low frequency band, the low frequency band is 429-510MHz, and the device further includes a second antenna and a second radio frequency switch;
the second radio frequency switch is connected with the first radio frequency switch in series, the L ORA module and the Sigfox module are both connected with the second radio frequency switch, the second antenna is connected with the second radio frequency switch, and the second radio frequency switch is set to be two-in and two-out.
Preferably, the interface unit of the MCU control unit includes: SPI interface, GPIO interface, UART interface, I2C interface, USB interface.
The invention at least has the following beneficial effects that a novel hardware architecture is adopted to combine L ORA, NB-IOT, EMTC and GPRS together to form a multi-mode Internet of things module, so that various application scenes can be met, various network modes can be adapted to, and the smooth evolution supports future application requirements.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Detailed Description
The present invention is further described in detail below with reference to the attached drawings so that those skilled in the art can implement the invention by referring to the description text.
As shown in fig. 1 to 3, the ultra-low power consumption multi-mode internet of things wireless module provided by the invention comprises an MCU control unit, a GPRS module, an NB-IOT module, an EMTC module, an L ORA module, and a Sigfox module;
the GPRS module is connected with the MCU control unit through a UART, and the MCU control unit carries out control, command or data interaction on the GPRS module through AT instructions or instruction sets of the GPRS module; the MCU control unit passes GPIO for power-off, power-off and dormancy of the GPRS module;
l ORA module is connected with the MCU control unit through UART, the MCU control unit controls, commands or data interaction to the L ORA module through AT command or according to the support command table of L ORA module;
the NB-IOT module is connected with the MCU control unit through UART or IIC;
the EMTC module is connected with the MCU through a PCM interface and an SPI interface;
and the Sigfox module is connected with the MCU control unit through a UART.
In the technical scheme, the MCU control unit serves as a master controller of the whole module, manages and controls the working state of the whole module, exchanges data between the sensor and the wireless module, and is connected with the sensor or the data interface of a client in a mode of an SPI (serial peripheral interface), a GPIO (general purpose input/output) or a UART (universal asynchronous receiver/transmitter), an I2C or a USB (universal serial bus) or other through holes, stamp holes, connectors or patch pads, and the like, in most of the time when no data is transmitted or received, the whole module controls other GPRS, L ORA, EMTC and NB-IOT modules to enter a standby sleep or power-off mode, specifically, the state of each module is determined depending on the network condition used by the client, if the EMTC and GPRS modules are not used AT all, the power supply loop of the module can be completely closed, other used NB-IOT modules or L ORA modules are in the standby state, if data is transmitted or received, the MCU control unit wakes up the MCU control module through GPIO signals between the MCU control unit and the SIM or the SIM is connected with the MCU control module in series with AT least one antenna according to a certain baud rate, so that the antenna module and the radio frequency band can be connected with AT least one antenna module to realize that the same high-frequency communication protocol is connected with the EMTC antenna, and the same antenna, and the antenna module, so that the antenna module, the antenna module can be connected with the antenna module, and the antenna module can be connected with the antenna module in a special frequency band of the antenna module, and the antenna module.
The GPRS module is used as a data mode of a 2.5G network, has small volume and low cost, the power consumption is much smaller than that of other 3G or 4G systems, the power consumption is only 0.13mA when the GPRS module is turned off, and the current reaches about 300mA when data is received and sent and is less than half of that of 3G or 4G. The module is connected with a main MCU through a UART (asynchronous receiver transmitter), and the main MCU performs control, command or data interaction with the module through AT instructions or an instruction set of a GPRS module. The MCU completes power-off, power-off and dormancy of the GPRS module through GPIO according to specific conditions. If the power supply of the GPRS module is turned off to realize power-off, the power consumption of the GPRS module can be within a few uA, and only Iq current of the power supply is provided. The antenna port is matched with the antenna with the corresponding frequency band of 50 omega, namely the 900M or 1800M frequency band.
L ORA Internet of things can be a private network or a general L ORAWAN network, and a corresponding protocol module or a software configuration version is selected according to the needs of customers, in addition, the module also has a configuration IO interface used as a configuration function and a wake-up module, the standby power consumption of the L ORA module is extremely low, usually within 3uA, the L ORA working frequency band is usually in sub1G, the domestic common 433MHz, 470MHz-510MHz and 780MHz frequency bands, and corresponding antennas are required to be matched according to the corresponding frequency bands.
The NB-IOT module is a built-in protocol and a radio frequency circuit, the outside is connected with a 50-ohm antenna, the data interface protocol is UART or IIC and the like, and the NB-IOT module has standby modes, shutdown modes and the like.
The module can be connected with the MCU by using the PCM, and the data of the customer sensor can be read out through the MCU interface or other interfaces of the SPI or USB connection module and sent to a corresponding network through the GPRS, or L ORA, or EMTC, or NB-IOT module.
The Sigfox module can be a mature module product of a Sigfox module manufacturer, and can also be a single SOC Sigfox chip, such as a chip-level product of NXP or Onsemi. Usually, these chips have built-in Sigfox protocol libraries and transceivers. If the Sigfox finished product module is used, the Sigfox finished product module is usually connected with a master control MCU through a UART bus; if the SOC chip is used, the spi or UART is used for connecting the master control MCU, and the resource consumption of the master control is basically almost the same. The physical layer and link layer protocols of Sigfox are also contained in the module or SOC chip, and the master MCU is only used as a data forwarding channel.
In another technical scheme, the device also comprises a SIM card and a buffer switch; the SIM card is connected with the buffer switch through an SIM bus, the EMTC module, the GPRS module and the NB-IOT module are all connected with the buffer switch, and the MCU control unit controls the buffer switch to be communicated with any one of the EMTC module, the GPRS module and the NB-IOT module in a switching mode. When a customer uses the GPRS module, the MCU control unit has a user interface for the customer, application equipment or a sensor of the customer end can send an instruction to the user interface, and the MCU control unit controls the corresponding module to be opened and controls the sim card to be connected with the corresponding module.
In the technical scheme, the SIM card is connected, and only one of NB-IOT, EMTC and GPRS modules is used, so that the three modules can share the SIM card, the connection is realized through a buffer, and the switching path switching is realized through a main control MCU (micro control unit). the SIM card can be an eSIM chip or an SIM card and is specifically determined by a user.A SIM card is not needed in the other two systems L ORA and Sigfox, the ID number can be built in the module, and the board area can be saved to the maximum extent by acquiring legal ID. shared SIM card during module production.
In another technical solution, the method further comprises: a first antenna and a first radio frequency switch; the first antenna is connected with the first radio frequency switch, the EMTC module, the GPRS module and the NB-IOT module are all connected with the first radio frequency switch, the first radio frequency switch is set to be four-in and one-out, and the MCU control unit controls the first radio frequency switch to be communicated with any one of the EMTC module, the GPRS module and the NB-IOT module in a switching mode.
The four-in one-out mode means that only one in is connected with one out, and particularly, which connection is controlled through the GPIO by the MCU control unit.
In the above technical solution, the GPRS, NB-IOT, EMTC frequency bands are currently widely used in the 800-plus-1000 MHz frequency band, so according to the characteristics of this frequency band, the existing antenna in this frequency band can be used in a unified manner, only one radio frequency switch in this frequency band can be used to implement the switching from 3 to 1, and similarly, the control is implemented by the main control MCU, L ORA and Sigfox, if both use 868 or 915MHz frequency band, can also be connected to the same 800-plus-1000 MHz frequency band antenna shared with GPRS, NB-IOT, EMTC by using microstrip lines or coaxial cables, and then the switch of this antenna needs to implement the switching function from 4 to 1, if both L ORA and Sigfox use 470 frequency band modules, the antenna must be separated independently, because the frequency band below 1G is more difficult to implement the antenna in the 470-1GHz frequency band, as shown in detail in fig. 3.
In another technical solution, the frequency band of the first antenna is 800-1000MHz frequency band.
In another technical scheme, when the L ORA module and the Sigfox module adopt high frequency bands, the high frequency bands are 800-plus-1000 MHz, the L ORA module and the Sigfox module are connected with the first radio frequency switch through microstrip lines or coaxial cables, and the MCU control unit controls the first radio frequency switch to be in switching communication with any one of the EMTC module, the GPRS module, the NB-IOT module, the L ORA module and the Sigfox module.
In another technical solution, when the L ORA module and the Sigfox module adopt a low frequency band, the low frequency band is 429-510MHz, and the device further includes a second antenna and a second radio frequency switch;
the second radio frequency switch is connected with the first radio frequency switch in series, the L ORA module and the Sigfox module are both connected with the second radio frequency switch, the second antenna is connected with the second radio frequency switch, and the second radio frequency switch is set to be two-in and two-out.
Two-in and two-out means that the Sigfox module is connected to any outgoing channel, but the two paths are all in a 1:1 relationship, for example, the L ORA module may also be connected to the second antenna, the L ORA module may also be connected to another output channel, the Sigfox module may also be connected to the second antenna, the Sigfox module may also be connected to another output channel, these four cases are only one at a time,
in another technical solution, an interface unit of the MCU control unit includes: SPI interface, GPIO interface, UART interface, I2C interface, USB interface.
While embodiments of the invention have been described above, it is not limited to the applications set forth in the description and the embodiments, which are fully applicable in various fields of endeavor to which the invention pertains, and further modifications may readily be made by those skilled in the art, it being understood that the invention is not limited to the details shown and described herein without departing from the general concept defined by the appended claims and their equivalents.