Full duplex gateway based on LORA

文档序号:1131324 发布日期:2020-10-02 浏览:23次 中文

阅读说明:本技术 一种基于lora的全双工网关 (Full duplex gateway based on LORA ) 是由 张坚浩 于 2020-06-12 设计创作,主要内容包括:本发明公开了一种基于LORA的全双工网关,包括:蜂窝通信单元、SX1278-LORA通信单元、存储器单元、电源管理单元、MCU控制单元,本发明的网关实现了终端接入LoRa物联网的全双工方案;减小了数据丢包率;可以实现异频多路上行同时并发而不影响下行数据的发送;采用单节点小网关降低了大网关各种开销,性能优越,实用性强、推广性强。(The invention discloses a full duplex gateway based on LORA, comprising: the gateway realizes a full-duplex scheme that a terminal is accessed to an LoRa Internet of things; the data packet loss rate is reduced; the pilot frequency multi-path uplink can be simultaneously and concurrently transmitted without influencing the transmission of downlink data; the adoption of the single-node small gateway reduces various expenses of the large gateway, and has the advantages of superior performance, strong practicability and strong popularization.)

1. A LORA-based full-duplex gateway, comprising:

a cellular communication unit for communicating with a server;

the SX1278-LORA communication unit is used for processing sent and received LoRa data;

a memory unit for storing data;

a power management unit for providing proper voltage for the normal operation of the gateway

And the MCU control unit is used for controlling the operation of the cellular communication unit, the SX1278-LORA communication unit and the power management unit.

2. The LORA-based full-duplex gateway of claim 1, wherein the MCU control unit is connected with the SX1278-LORA communication unit through the SPI.

3. The LORA-based full-duplex gateway of claim 1, wherein the number of SX1278-LORA communication units is 2 or more than 2.

4. The LORA-based full-duplex gateway of claim 1, wherein the SX1278-LORA communications unit is divided into an SX1278 receiving unit and an SX1278 sending unit.

5. The LORA-based full-duplex gateway of claim 4, wherein the SX1278 receiving unit is configured to accept only non-transmitted data and the SX1278 transmitting unit is configured to transmit only non-received data.

6. The LORA-based full-duplex gateway of claim 1, wherein the power management unit has a chip model of ETA2831 and the memory unit has a model of FS25Q008F1 SFI.

7. A LORA-based full-duplex gateway according to claim 1, wherein the MCU control unit employs a controller STM32G070 CB.

8. The LORA-based full-duplex gateway of claim 1, wherein the SX1278-LORA communications unit chip model is SX1278 and the cellular communications unit model is EC 20-4G.

9. A gateway as claimed in claims 1 to 8, wherein the method of controlling the gateway comprises:

(1) receiving a downlink data packet sent by a server through a cellular communication unit;

(2) resolving a downlink data packet and a data packet sent by a terminal node by an SX1278 receiving unit through a processor;

(3) the data packet received by the SX1278-LORA communication unit analyzed by the processor is cached by the storage module;

(4) sending data to the terminal node through an SX1278 sending unit;

(5) the data sent by the terminal node is received by the SX1278 receiving unit.

Technical Field

The invention relates to the technical field of Lora gateways, in particular to a full-duplex gateway based on LORA.

Background

LoRa is a wireless communication technology that is special for long-distance low-power consumption that Semtech company proposed, and its modulation mode has greatly increased communication distance relative to other communication modes, is used in the long-distance low-rate thing networking wireless communication field of various occasions by the wide application. Such as automatic meter reading, building automation equipment, wireless security systems, industrial monitoring and control, etc. The device has the characteristics of small volume, low power consumption, long transmission distance, strong anti-interference capability and the like.

The LoRa technology is adopted to construct a low-power-consumption wireless interconnected wide area network, the network architecture is a typical star topology structure, and in the network architecture, a LoRa gateway is a transparent relay, is connected with terminal equipment and a server and is responsible for data interaction between the terminal equipment and the server. However, when receiving data, the existing gateway cannot send data at the same time, which may cause that the requirement cannot be met in a scene with more downlink commands.

Disclosure of Invention

In order to overcome the defects of the prior art, the invention aims to provide a full-duplex gateway based on LORA, which can realize the simultaneous concurrence of pilot frequency multiple uplink channels without affecting the transmission of downlink data.

In order to achieve the purpose, the invention adopts the following technical scheme: a LORA-based full-duplex gateway, comprising:

a cellular communication unit for communicating with a server;

the SX1278-LORA communication unit is used for processing sent and received LoRa data;

a memory unit for storing data;

a power management unit for providing proper voltage for the normal operation of the gateway

And the MCU control unit is used for controlling the operation of the cellular communication unit, the SX1278-LORA communication unit and the power management unit.

Preferably, the MCU control unit is connected with the SX1278-LORA communication unit through the SPI.

Preferably, the number of the SX1278-LORA communication units is 2 or more than 2.

Preferably, the SX1278-LORA communication unit is divided into an SX1278 receiving unit and an SX1278 transmitting unit.

Preferably, the SX1278 receiving unit is configured to accept only non-transmitted data, and the SX1278 transmitting unit is configured to transmit only non-received data.

Preferably, the chip model of the power management unit is ETA2831, and the model of the memory unit is FS25Q008F1 SFI.

Preferably, the MCU control unit adopts a controller STM32G070 CB.

Preferably, the SX1278-LORA communication unit chip is of a type SX1278, and the cellular communication unit is of a type EC 20-4G.

Preferably, the method for controlling the gateway includes:

(1) receiving a downlink data packet sent by a server through a cellular communication unit;

(2) resolving a downlink data packet and a data packet sent by a terminal node by an SX1278 receiving unit through a processor;

(3) the data packet received by the SX1278-LORA communication unit analyzed by the processor is cached by the storage module;

(4) sending data to the terminal node through an SX1278 sending unit;

(5) the data sent by the terminal node is received by the SX1278 receiving unit.

Compared with the prior art, the invention has the beneficial effects that:

1. the gateway realizes a full-duplex scheme that the terminal accesses the LoRa Internet of things;

2. the gateway of the invention reduces the data packet loss rate;

3. the gateway of the invention can realize the simultaneous concurrence of pilot frequency multi-path uplink without influencing the transmission of downlink data;

4. the gateway of the invention adopts the single-node small gateway to reduce various expenses of the large gateway;

5. the gateway has the advantages of excellent performance, strong practicability and strong popularization.

Drawings

FIG. 1 is a schematic structural diagram of a gateway according to the present invention;

Detailed Description

The technical scheme of the invention is further described in detail by combining the drawings and the detailed implementation mode: as shown in fig. 1, a LORA-based full-duplex gateway includes:

a cellular communication unit for communicating with a server;

the SX1278-LORA communication unit is used for processing sent and received LoRa data;

a memory unit for storing data;

a power management unit for providing proper voltage for the normal operation of the gateway

And the MCU control unit is used for controlling the operation of the cellular communication unit, the SX1278-LORA communication unit and the power management unit.

Preferably, the MCU control unit is connected with the SX1278-LORA communication unit through the SPI.

Preferably, the number of the SX1278-LORA communication units is 2 or more than 2.

Preferably, the SX1278-LORA communication unit is divided into an SX1278 receiving unit and an SX1278 transmitting unit.

Preferably, the SX1278 receiving unit is configured to accept only non-transmitted data, and the SX1278 transmitting unit is configured to transmit only non-received data.

Preferably, the chip model of the power management unit is ETA2831, and the model of the memory unit is FS25Q008F1 SFI.

Preferably, the MCU control unit adopts a controller STM32G070 CB.

Preferably, the SX1278-LORA communication unit chip is of a type SX1278, and the cellular communication unit is of a type EC 20-4G.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种满足电磁兼容性要求的安全除螨电热毯控制电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!