CN111711564A - a gateway circuit - Google Patents
a gateway circuit Download PDFInfo
- Publication number
- CN111711564A CN111711564A CN202010662708.9A CN202010662708A CN111711564A CN 111711564 A CN111711564 A CN 111711564A CN 202010662708 A CN202010662708 A CN 202010662708A CN 111711564 A CN111711564 A CN 111711564A
- Authority
- CN
- China
- Prior art keywords
- module
- lora
- power supply
- signal
- gateway circuit
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/165—Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明揭示了一种网关电路,包括:电源模块,用于给网关电路各功能模块供电;单片机,用于控制网关电路各功能模块,以及网络数据处理;以太网模块,用于实现与服务器的数据交互;LORA发射模块,用于发送射频信号;LORA接收模块,用于接收射频信号。与现有技术相比,本发明在满足网关性能的前提下,将网关电路的控制模块从高规格的芯片,替换成单片机,极大地降低了网关的生产成本。
The invention discloses a gateway circuit, comprising: a power supply module for supplying power to each functional module of the gateway circuit; a single-chip microcomputer for controlling each functional module of the gateway circuit and network data processing; an Ethernet module for realizing communication with a server Data interaction; LORA transmitter module, used to send radio frequency signals; LORA receiver module, used to receive radio frequency signals. Compared with the prior art, on the premise of satisfying the performance of the gateway, the present invention replaces the control module of the gateway circuit from a high-standard chip with a single-chip microcomputer, which greatly reduces the production cost of the gateway.
Description
技术领域technical field
本发明涉及到网关领域,特别是涉及到一种网关电路。The present invention relates to the field of gateways, in particular to a gateway circuit.
背景技术Background technique
LORA通信技术是一种超远距离无线通信技术,具有低功耗、传输距离远等优点。随着5G的出现,物联网技术得到了广泛的普及,万物互联逐渐走进人们的生活。网关是一种网间连接器,是网络节点设备与网络服务器之间的通信桥梁,现有的LORA网关将路由器专用方案、MCU(Microcontroller Unit,微控制单元)和LORA WAN(Wide Area Network,广域网)方案相结合,该方案需使用价格高昂的路由器芯片,部分芯片价格甚至高达一百多美金,成本高昂,造成了严重的软件和硬件资源浪费。因此,在满足性能的前提下,如何降低现有网关的生产成本,显得十分重要。LORA communication technology is an ultra-long-distance wireless communication technology, which has the advantages of low power consumption and long transmission distance. With the emergence of 5G, the Internet of Things technology has been widely popularized, and the Internet of Everything has gradually entered people's lives. The gateway is a kind of network connector, which is the communication bridge between the network node device and the network server. The existing LORA gateway combines the router-specific solution, MCU (Microcontroller Unit, micro control unit) and LORA WAN (Wide Area Network, wide area network) ) solution, which requires the use of expensive router chips, some of which are even more than 100 US dollars in price, resulting in a serious waste of software and hardware resources. Therefore, under the premise of satisfying performance, it is very important to reduce the production cost of the existing gateway.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的为提供一种网关电路,旨在实现降低现有网关的生产成本的技术问题。The main purpose of the present invention is to provide a gateway circuit, aiming at realizing the technical problem of reducing the production cost of the existing gateway.
本发明提出一种网关电路,包括:The present invention provides a gateway circuit, comprising:
电源模块,用于给网关电路各功能模块供电;The power module is used to supply power to each functional module of the gateway circuit;
单片机,用于控制网关电路各功能模块,以及网络数据处理;Single-chip microcomputer, used to control the functional modules of the gateway circuit and network data processing;
以太网模块,用于实现与服务器的数据交互;Ethernet module for data interaction with the server;
LORA发射模块,用于发送射频信号;LORA transmitter module, used to transmit radio frequency signals;
LORA接收模块,用于接收射频信号。The LORA receiving module is used to receive radio frequency signals.
优选的,单片机的型号包括STM32F107RCT6。Preferably, the model of the microcontroller includes STM32F107RCT6.
优选的,以太网模块包括以太网控制模块、网络变压器和接口模块;Preferably, the Ethernet module includes an Ethernet control module, a network transformer and an interface module;
LORA接收模块的信号输出端与单片机的第一信号输入端连接;The signal output end of the LORA receiving module is connected with the first signal input end of the single-chip microcomputer;
单片机的第一信号输出端与以太网控制模块的第一信号输入端连接;The first signal output end of the single-chip microcomputer is connected with the first signal input end of the Ethernet control module;
以太网控制模块的第一信号输出端与网络变压器的第一信号输入端连接;The first signal output end of the Ethernet control module is connected with the first signal input end of the network transformer;
网络变压器的第一信号输出端与接口模块的信号输入端连接。The first signal output end of the network transformer is connected with the signal input end of the interface module.
优选的,接口模块的信号输出端与网络变压器的第二信号输入端连接;Preferably, the signal output end of the interface module is connected to the second signal input end of the network transformer;
网络变压器的第二信号输出端与以太网控制模块的第二信号输入端连接;The second signal output end of the network transformer is connected with the second signal input end of the Ethernet control module;
以太网控制模块的第二信号输出端与单片机的第二信号输入端连接;The second signal output end of the Ethernet control module is connected with the second signal input end of the microcontroller;
单片机的第二信号输出端与LORA发射模块的信号端输入连接。The second signal output end of the single-chip microcomputer is connected to the signal end input of the LORA transmitting module.
优选的,电源模块包括变压模块、第一线性稳压管和第二线性稳压管;Preferably, the power module includes a transformer module, a first linear regulator and a second linear regulator;
变压模块分别与第一线性稳压管和第二线性稳压管连接,其中,变压模块用于将输入电压从12V降成5V;The transformer module is respectively connected with the first linear regulator tube and the second linear regulator tube, wherein the transformer module is used to reduce the input voltage from 12V to 5V;
第一线性稳压管将5V电压降至3.3V,以给LORA发射模块供电;The first linear regulator reduces the 5V voltage to 3.3V to power the LORA transmitter module;
第二线性稳压管将5V电压降至3.3V,以给电路中除LORA发射模块外的功能模块供电。The second linear regulator reduces the 5V voltage to 3.3V to supply power to the functional modules in the circuit except the LORA transmitter module.
优选的,变压模块的型号包括SY8120B1ABC,第一线性稳压管和第二线性稳压管的型号包括ME6210A33PG。Preferably, the model of the transformer module includes SY8120B1ABC, and the model of the first linear regulator and the second linear regulator includes ME6210A33PG.
优选的,网关电路还包括第一滤波模块和第二滤波模块;Preferably, the gateway circuit further includes a first filtering module and a second filtering module;
第一滤波模块一端与电源模块的第一供电输出端连接,另一端与单片机的供电输入端连接;One end of the first filter module is connected to the first power supply output end of the power supply module, and the other end is connected to the power supply input end of the microcontroller;
第二滤波模块一端与电源模块的的第二供电输出端连接,另一端与以太网控制模块的供电输入端连接。One end of the second filter module is connected to the second power supply output end of the power supply module, and the other end is connected to the power supply input end of the Ethernet control module.
优选的,网关电路包括:Preferably, the gateway circuit includes:
第一时钟模块,用于给单片机提供频率为25MHz的时钟信号;The first clock module is used to provide a clock signal with a frequency of 25MHz to the single-chip microcomputer;
第二时钟模块,用于给以太网控制模块提供频率为50MHz的时钟信号;The second clock module is used to provide a clock signal with a frequency of 50MHz to the Ethernet control module;
第三时钟模块,用于给LORA发射模块提供频率为32MHz的时钟信号;The third clock module is used to provide a clock signal with a frequency of 32MHz to the LORA transmitting module;
第四时钟模块,用于给LORA接收模块提供频率为32MHz的时钟信号。The fourth clock module is used to provide the LORA receiving module with a clock signal with a frequency of 32MHz.
优选的,网关电路还包括指示灯模块;Preferably, the gateway circuit further includes an indicator light module;
电源模块的第三供电输出端与指示灯模块的供电输入端连接;The third power supply output end of the power supply module is connected with the power supply input end of the indicator light module;
单片机的第三信号输出端与指示灯模块的信号输入端连接。The third signal output end of the single-chip microcomputer is connected with the signal input end of the indicator light module.
优选的,LORA发射模块以471MHz的频率发送射频信号,LORA接收模块以434MHz的频率接收射频信号。Preferably, the LORA transmitting module transmits the radio frequency signal at a frequency of 471MHz, and the LORA receiving module receives the radio frequency signal at a frequency of 434MHz.
本发明的有益效果在于:在满足性能的前提下,将网关电路的控制模块从高规格的芯片,替换成单片机,极大地降低了网关的生产成本。具体的,通过单片机(运行FreeRTOS系统)、端口物理层和双LORA(收、发分离)的方案,此网关电路方案的芯片采用LQFP、QFN封装,大大降低软、硬件开发难度。在软件方面也实现了拨号、服务器地址修改等简单功能,从而简化了路由器的功能,也能实现LORA WAN的功能,使其成为专职专用的产品,大大降低了产品的功耗,也同时提高了产品的稳定性。The beneficial effects of the present invention are: on the premise of satisfying performance, the control module of the gateway circuit is replaced from a high-standard chip to a single-chip microcomputer, which greatly reduces the production cost of the gateway. Specifically, through the scheme of single chip (running FreeRTOS system), port physical layer and dual LORA (separation of receiver and transmitter), the chips of this gateway circuit scheme are packaged in LQFP and QFN, which greatly reduces the difficulty of software and hardware development. In terms of software, it also realizes simple functions such as dial-up and server address modification, which simplifies the function of the router, and also realizes the function of LORA WAN, making it a full-time dedicated product, which greatly reduces the power consumption of the product and improves the product stability.
附图说明Description of drawings
图1为本发明一种网关电路的第一实施例的第一局部结构示意图;1 is a schematic diagram of a first partial structure of a first embodiment of a gateway circuit of the present invention;
图2为本发明一种网关电路的第一实施例的第二局部结构示意图;FIG. 2 is a second partial structural schematic diagram of the first embodiment of a gateway circuit of the present invention;
图3为图1中的网关电路的电源模块的结构示意图;3 is a schematic structural diagram of a power module of the gateway circuit in FIG. 1;
图4为图1中的网关电路的单片机的结构示意图;FIG. 4 is a schematic structural diagram of the single-chip microcomputer of the gateway circuit in FIG. 1;
图5为图1中的网关电路的以太网模块的结构示意图;Fig. 5 is the structural representation of the Ethernet module of the gateway circuit in Fig. 1;
图6为图2中的LORA发射模块的结构示意图;FIG. 6 is a schematic structural diagram of the LORA transmitting module in FIG. 2;
图7为图2中的LORA接收模块的结构示意图;Fig. 7 is the structural representation of the LORA receiving module in Fig. 2;
图8为图1中的指示灯模块。FIG. 8 is the indicator light module in FIG. 1 .
标号说明:Label description:
1、电源模块; 11、变压模块; 12、第一线性稳压管; 13、第二线性稳压管;1. Power supply module; 11. Transformer module; 12. The first linear regulator; 13. The second linear regulator;
2、单片机; 21、第一滤波模块; 22、第一时钟模块;2. Single chip microcomputer; 21. The first filter module; 22. The first clock module;
3、以太网模块; 31、以太网控制模块; 32、网络变压器; 33、接口模块; 34、第二滤波模块;3. Ethernet module; 31. Ethernet control module; 32. Network transformer; 33. Interface module; 34. Second filter module;
4、LORA发射模块; 41、第三时钟模块;4. LORA transmitter module; 41. The third clock module;
5、LORA接收模块; 51、第四时钟模块;5. LORA receiving module; 51. Fourth clock module;
6、指示灯模块。6. Indicator light module.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
参照图1至图8,本发明提供一种网关电路,包括:1 to 8, the present invention provides a gateway circuit, including:
电源模块1,用于给网关电路各功能模块供电;The
单片机2,用于控制网关电路各功能模块,以及网络数据处理;The
以太网模块3,用于实现与服务器的数据交互;
LORA发射模块4,用于发送射频信号;
LORA接收模块5,用于接收射频信号。The
在本发明实施例中,图1和图2构成一个完整的网关电路图,网关电路包括电源模块1、单片机2、以太网模块3、LORA发射模块4和LORA接收模块5。电源模块1用于将外部输入的12V直流电压降压到5V,再通过线性稳压管,分别给LORA发射模块4和其它功能模块供电。单片机2主要实现底层驱动和网络数据处理。单片机2通过SPI1(Serial PeripheralInterface,串行外设接口)通信接口与LORA接收模块5进行初始化配置和数据处理;通过SPI3通信接口与LORA发射模块5进行初始化配置和数据处理;通过RMII接口驱动以太网物理层芯片,从而实现网关连接网络的功能。以太网模块3的控制芯片型号包括DP83848x,实现与服务器进行数据交互。LORA发射模块4,网关收到服务器数据后,通过匹配电路和天线将射频信号以预设频率发送出去。LORA接收模块5,在天线接收到射频信号时,通过接收电路过滤出相对应的射频信号发送到射频芯片进行处理,单片机2通过SPI1将射频数据取出进行处理。通过上述功能模块配合,通过LORA射频技术,可以实现远程管理门锁设备。用户可以实现远程开门、远程发密码/取消密码、开门日志实时上传、设置门锁状态(长关/长开/正常)等实用性功能。综上,在满足性能的前提下,将网关电路的控制模块从高规格的芯片,替换成单片机,极大地降低了网关的生产成本。具体的,通过单片机(运行FreeRTOS系统)、端口物理层和双LORA(收、发分离)的方案,此网关电路方案的芯片采用LQFP、QFN封装,大大降低软、硬件开发难度。在软件方面也实现了拨号、服务器地址修改等简单功能,从而简化了路由器的功能,也能实现LORA WAN的功能,使其成为专职专用的产品,大大降低了产品的功耗,也同时提高了产品的稳定性。In the embodiment of the present invention, FIG. 1 and FIG. 2 constitute a complete gateway circuit diagram. The gateway circuit includes a
参照图4,单片机的型号包括STM32F107RCT6。Referring to Figure 4, the model of the microcontroller includes STM32F107RCT6.
在本发明实施例中,STM32F107RCT6系统自带MAC层,减少了软件方面的开发难度,只要外挂简单的端口物理层和接口电路就能实现TCP/IP网络连接,芯片还要支持多路SPI接口实现LORA收、发分离不冲突,芯片IO口资源和内部ROM、RAM资源也满足性能需求。综上,本款单片机的性价比高,降低软、硬件开发难度,且能满足网关的性能需求。In the embodiment of the present invention, the STM32F107RCT6 system has its own MAC layer, which reduces the difficulty of software development. As long as a simple port physical layer and interface circuit are plugged in, the TCP/IP network connection can be realized, and the chip also supports multi-channel SPI interface implementation. The separation of LORA receiving and sending does not conflict, and the chip IO port resources and internal ROM and RAM resources also meet the performance requirements. To sum up, this single-chip microcomputer is cost-effective, reduces the difficulty of software and hardware development, and can meet the performance requirements of the gateway.
参照图5,以太网模块3包括以太网控制模块31、网络变压器32和接口模块33;5, the
LORA接收模块5的信号输出端与单片机1的第一信号输入端连接;The signal output end of the
单片机2的第一信号输出端与以太网控制模块31的第一信号输入端连接;The first signal output end of the single-
以太网控制模块31的第一信号输出端与网络变压器32的第一信号输入端连接;The first signal output end of the
网络变压器32的第一信号输出端与接口模块33的信号输入端连接。The first signal output end of the
在本发明实施例中,太网控制模块31用于控制以太网模块3的工作,网络变压器32用于保护以太网控制模块31,接口模块33用于网关与服务器进行数据交互。网关电路接收外部射频信号的流程如下:外部射频信号通过天线ANT_LF_RX进入LORA接收模块5,LORA接收模块5的型号包括SX1278IMLTRT,外部射频信号通过RFI_LF引脚进入LORA接收模块5。LORA接收模块5以SCK、MISO、MOSI和NSS引脚作为信号输出端连接单片机1的第一信号输入端(PA4、PB3至PB5引脚)。单片机2的PB12和PB13引脚作为单片机2的第一信号输出端连接以太网控制模块31的第一信号输入端(TXD_0和TXD_1引脚),其中,以太网控制模块31的型号包括DP83848x;以太网控制模块31以TD+和TD-引脚作为第一信号输出端连接网络变压器32的第一信号输入端(TD+和TD-引脚),其中,网络变压器的型号包括H1102NL;网络变压器32以TX+和TX-引脚作为第一信号输出端连接接口模块33的信号输入端(TX+和TX-),其中,接口模块33的型号包括RJ45。综上,外部射频信号经LORA接收模块5、单片机2和以太网模块3发送至服务器。In the embodiment of the present invention, the
参照图5,接口模块33的信号输出端与网络变压器32的第二信号输入端连接;5, the signal output end of the
网络变压器32的第二信号输出端与以太网控制模块31的第二信号输入端连接;The second signal output end of the
以太网控制模块31的第二信号输出端与单片机2的第二信号输入端连接;The second signal output end of the
单片机2的第二信号输出端与LORA发射模块5的信号端输入连接。The second signal output end of the single-
在本发明实施例中,网关电路发送射频信号的流程如下:接口模块33的RX+和RX-引脚作为信号输出端连接网络变压器32的第二信号输入端(RX+和RX-引脚);网络变压器32以(RD+和RD-引脚)作为第二信号输出端连接以太网控制模块31的第二信号输入端(RD+和RD-引脚);以太网控制模块31以36号和37号引脚作为第二信号输出端连接单片机2的第二信号输入端(PC4和PC5引脚)。单片机2以PA15、PC10、PC11和PC12引脚作为第二信号输出端连接LORA发射模块5的信号输入端(NSS引脚),然后通过天线将射频信号发射出去。综上,射频信号由以太网模块3、单片机2和LORA发射模块4将射频信号发射出去。In the embodiment of the present invention, the process of sending radio frequency signals by the gateway circuit is as follows: the RX+ and RX- pins of the
参照图3,电源模块1包括变压模块11、第一线性稳压管12和第二线性稳压管13;Referring to FIG. 3 , the
变压模块11分别与第一线性稳压管12和第二线性稳压管13连接,其中,变压模块11用于将输入电压从12V降成5V;The
第一线性稳压管12将5V电压降至3.3V,以给LORA发射模块4供电;The first
第二线性稳压管13将5V电压降至3.3V,以给电路中除LORA发射模块4外的功能模块供电。The second
在本发明实施例中,外部输入电压经变压模块11降压后,分为两路给网关电路上的功能模块供电,其中,一路专门用于给LORA发射模块4供电,另一路用于给除LORA发射模块4外的功能模块供电。这种设计的好处在于:一是保证LORA发射模块4的发射功率达到最佳,保证射频发射信号时电压和电流保持稳定;二是电源模块4给除LORA发射模块4外的功能模块供电时,串入铁氧体磁珠滤波器,滤除主电源上因每一个功能模块内、外部产生的高频噪声,使每一功能模块的供电不会相互干扰,达到最佳的电源供给状态,也提高了本网关电路整体稳定性。In the embodiment of the present invention, after the external input voltage is stepped down by the
本发明的供电过程如下所述:外部输入电压通过DC的1号引脚进入电源模块1,输入至变压模块11(即U2)的WIN引脚,在由U2的的SW引脚输出,将电压由12V降至5V;5V电压输入至第一线性稳压管12(即U7)的Vin引脚,在由U7的Vout引脚输出至LORA发射模块4的供电输入端(即芯片U5的3号引脚、14号引脚和24号引脚),从而完成电源模块1对LORA发射模块4的供电。The power supply process of the present invention is as follows: the external input voltage enters the
本发明又一实施例中,部输入电压通过DC的1号引脚进入电源模块1,输入至变压模块11(即U2)的WIN引脚,在由U2的的SW引脚输出,将电压由12V降至5V;5V电压经第二线性稳压管13(即U9)的Vin引脚输入,降压至3.3V后,由Vout引脚输出分别经滤波后输出至单片机3的供电输入端(VBAT、VDDA、VDD_4、VDD_1和VDD_3引脚),输出至以太网控制模块31的供电输入端(1号、18号和26号引脚),以及以太网控制模块31的外围电路;输出至LORA接收模块5的供电输入端(3号、14号和25号引脚)。In yet another embodiment of the present invention, the partial input voltage enters the
参照图3,变压模块11的型号包括SY8120B1ABC,第一线性稳压管12和第二线性稳压管13的型号包括ME6210A33PG。3 , the model of the
在本发明实施例中,变压模块11的型号包括SY8120B1ABC,其优点在于,宽电压输入(4.5至18V),效率高达96%,2A大电流输出,外围电路简单,封装小。第一线性稳压管12和第二线性稳压管13的型号包括ME6210A33PG,其优点在于超低静态工作电流,宽输入电压,低压差(11mV@Iout=10mA),2%的高输出精度及500mA大电流输出保证各模块电路工作时不会引起电压跌落,使LORA发射模块4因电压和电流不足造成LORA发射模块4发射功率不足和工作异常。In the embodiment of the present invention, the model of the
参照图4和图5,网关电路还包括第一滤波模块21和第二滤波模块34;4 and 5, the gateway circuit further includes a
第一滤波模块21一端与电源模块1的第一供电输出端连接,另一端与单片机2的供电输入端连接;One end of the
第二滤波模块34一端与电源模块1的的第二供电输出端连接,另一端与以太网控制模块31的供电输入端连接。One end of the
在本发明实施例中,通过第一滤波模块21和第二滤波模块34分别滤除单片机2和以太网控制模块31内、外部产生的高频噪声,以提高网关电路的稳定性。In the embodiment of the present invention, the
参照图1至图7,网关电路包括:1 to 7, the gateway circuit includes:
第一时钟模块21,用于给单片机2提供频率为25MHz的时钟信号;The
第二时钟模块,用于给以太网控制模块31提供频率为50MHz的时钟信号;The second clock module is used to provide a clock signal with a frequency of 50MHz to the
第三时钟模块41,用于给LORA发射模块4提供频率为32MHz的时钟信号;The
第四时钟模块51,用于给LORA接收模块5提供频率为32MHz的时钟信号。The
在本发明实施例中,各时钟模块分别给各功能模块提供时钟信号,以保证网关电路的正常运行。In the embodiment of the present invention, each clock module provides a clock signal to each functional module, so as to ensure the normal operation of the gateway circuit.
参照图3、图4和图8,网关电路还包括指示灯模块6;3, 4 and 8, the gateway circuit further includes an indicator
电源模块1的第三供电输出端与指示灯模块6的供电输入端连接;The third power supply output end of the
单片机2的第三信号输出端与指示灯模块6的信号输入端连接。The third signal output end of the
在本发明实施例中,电源模块1的第三供电输出端连接指示灯模块6的5号引脚,单片机2的第三信号输出端(37号至40号引脚)传输至(1号至8号引脚)。指示灯模块6通过单片机2控制,单片机2输出PWM波形控制,具体为以太网模块连上网络时指示灯模块6常亮,没连上网络时指示灯模块6呼吸。In the embodiment of the present invention, the third power supply output terminal of the
进一步地,LORA发射模块4以471MHz的频率发送射频信号,LORA接收模块5以434MHz的频率接收射频信号。Further, the
在本发明实施例中,网关采用双频率单通道收发机制,发送数据时使用频率为434MHz的频段,接收数据时使用频率为471MHz的频段。这样可以有效避免数据发送碰撞,从而提高数据发送成功率,保证通信链路的可靠性,稳定性。In the embodiment of the present invention, the gateway adopts a dual-frequency single-channel transceiver mechanism, using a frequency band of 434 MHz when sending data, and using a frequency band of 471 MHz when receiving data. In this way, the collision of data transmission can be effectively avoided, thereby improving the success rate of data transmission and ensuring the reliability and stability of the communication link.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied to other related All technical fields are similarly included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010662708.9A CN111711564A (en) | 2020-07-10 | 2020-07-10 | a gateway circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010662708.9A CN111711564A (en) | 2020-07-10 | 2020-07-10 | a gateway circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111711564A true CN111711564A (en) | 2020-09-25 |
Family
ID=72545606
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010662708.9A Pending CN111711564A (en) | 2020-07-10 | 2020-07-10 | a gateway circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111711564A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013032298A2 (en) * | 2011-09-01 | 2013-03-07 | Lg Innotek Co., Ltd. | Gateway module |
| CN206249548U (en) * | 2016-12-16 | 2017-06-13 | 宁夏计算机软件与技术服务有限公司 | Environmental detection set based on low power loss communication network Yu sensor integration technology |
| CN208424796U (en) * | 2018-08-08 | 2019-01-22 | 成都格米利科技有限公司 | A kind of LORA gateway of internet of things |
| CN110888381A (en) * | 2019-12-25 | 2020-03-17 | 唐山永进科技有限公司 | Integrated data acquisition system of gas station |
| CN212543799U (en) * | 2020-07-10 | 2021-02-12 | 安安(深圳)智能电子有限公司 | Gateway circuit |
-
2020
- 2020-07-10 CN CN202010662708.9A patent/CN111711564A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013032298A2 (en) * | 2011-09-01 | 2013-03-07 | Lg Innotek Co., Ltd. | Gateway module |
| CN206249548U (en) * | 2016-12-16 | 2017-06-13 | 宁夏计算机软件与技术服务有限公司 | Environmental detection set based on low power loss communication network Yu sensor integration technology |
| CN208424796U (en) * | 2018-08-08 | 2019-01-22 | 成都格米利科技有限公司 | A kind of LORA gateway of internet of things |
| CN110888381A (en) * | 2019-12-25 | 2020-03-17 | 唐山永进科技有限公司 | Integrated data acquisition system of gas station |
| CN212543799U (en) * | 2020-07-10 | 2021-02-12 | 安安(深圳)智能电子有限公司 | Gateway circuit |
Non-Patent Citations (1)
| Title |
|---|
| 毕经存: "《计算机安装维护与维修技术教程》", 31 August 2019, 西安工业大学出版社, pages: 113 - 114 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105785958A (en) | Smart factory-based multi-function data acquisition device, acquisition system and method | |
| CN210867765U (en) | Remote control network switch | |
| CN101201619B (en) | General module for bus vehicle mounted network and information integration control system | |
| CN107370014A (en) | A kind of laser control circuit and laser | |
| CN106850375A (en) | A kind of CAN receive-transmit system | |
| CN108233991B (en) | RS 485-based direct current carrier communication system | |
| CN221081344U (en) | USB changes on-vehicle ethernet device | |
| CN108667541A (en) | A Train Digital Broadcasting Controller Based on HomePlug | |
| CN114679821A (en) | Light control system | |
| CN111711564A (en) | a gateway circuit | |
| CN212543799U (en) | Gateway circuit | |
| CN101355589B (en) | Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment | |
| CN207560032U (en) | The network device of annular differential communication | |
| CN109448160B (en) | A vehicle information collection system | |
| CN207884652U (en) | A kind of Ethernet and high-speed CAN bus interface converter | |
| JP2004080766A (en) | Wireless communication system for at least one control unit in a vehicle | |
| CN215990784U (en) | A lora wireless module | |
| CN211018834U (en) | Photoelectric isolation bidirectional repeater circuit and waterproof repeater | |
| CN202713348U (en) | Communication module of breaker | |
| CN209103511U (en) | A kind of improved electric energy meter | |
| CN110347091A (en) | Mark peripheral equipment management device and its management method in portion | |
| CN220820228U (en) | Ultrasonic radar signal receiving and processing system and vehicle | |
| CN221010145U (en) | CAN signal conversion device | |
| CN210899210U (en) | Anti-interference CAN communication circuit | |
| CN221354343U (en) | In-vehicle Ethernet data conversion device and in-vehicle 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200925 |