CN217508788U - Multi-network compatible internet of things gateway - Google Patents

Multi-network compatible internet of things gateway Download PDF

Info

Publication number
CN217508788U
CN217508788U CN202220896263.5U CN202220896263U CN217508788U CN 217508788 U CN217508788 U CN 217508788U CN 202220896263 U CN202220896263 U CN 202220896263U CN 217508788 U CN217508788 U CN 217508788U
Authority
CN
China
Prior art keywords
module
network
chip microcomputer
single chip
lora
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.)
Active
Application number
CN202220896263.5U
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.)
Shanghai Saijie Energy Technology Co ltd
Original Assignee
Shanghai Saijie Energy 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 Shanghai Saijie Energy Technology Co ltd filed Critical Shanghai Saijie Energy Technology Co ltd
Priority to CN202220896263.5U priority Critical patent/CN217508788U/en
Application granted granted Critical
Publication of CN217508788U publication Critical patent/CN217508788U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The utility model relates to a multi-network compatible internet-of-things gateway, which adopts a serial port circuit to be in communication connection with a serial port circuit; the singlechip is in communication connection with the plurality of network communication modules; the singlechip regularly samples and selects one of the network communication modules with the best network speed according to the TTL value returned by the ping to be communicated and connected to an external connection network; and the cloud server is connected through an external connection network. The utility model discloses in control through the singlechip, jointly merge wired, wireless, Lora, the networking of the multiple mode combination of WI FI, when the 4G signal is lost, can the automatic switch into WI FI mode, keep the network link unobstructed, the guarantee transmission is stable. The stability and the timeliness of the real-time data are improved. Compared with the prior art: the application scene is increased, the flexibility of data transmission is improved, the off-line rate is reduced, the real-time detection and timely alarm greatly reduce the equipment failure rate and the maintenance cost, and the stability and the data effectiveness of the equipment are improved.

Description

Multi-network compatible internet of things gateway
Technical Field
The embodiment of the utility model relates to a gateway, in particular to thing of many network compatibilities allies with gateway.
Background
The industrial factory areas are remote, the field devices are various in types and wide in distribution, and the production and manufacturing processes are discrete. In the industrial 4.0 era. The rise of the internet of things technology brings great breakthrough to large-scale manufacturing industries and is beneficial to breaking data islands. A new idea is opened up for getting through data. Through interaction of multiple transmission modes, the problem that industrial plants are distributed in different areas is solved, and the expandability of industrial production is improved. And transmitting the collected data to a cloud platform or a local server through analysis by common industrial protocols (modbus, OPC-DA and UA) to respond to the call of 'everything interconnection'. The functions can be achieved, and the constraint of the original circuit needs to be removed; however, in the existing gateways, the internet of things gateways in different networks need to adopt different types of gateways, and real compatibility cannot be achieved, so that the gateways cannot automatically switch different networks under the condition that multiple networks coexist.
SUMMERY OF THE UTILITY MODEL
In order to achieve the above object, the present invention provides an internet of things gateway capable of automatically switching different networks in an unstable state of the network.
The utility model provides a multi-network compatible thing allies oneself with gateway, include:
a serial port circuit;
the serial port circuit is in communication connection with the single chip microcomputer;
the single chip microcomputer is in communication connection with the plurality of network communication modules;
the single chip microcomputer periodically samples and selects one of the network communication modules with the best network speed according to a TTL value returned by the ping to be in communication connection with the external connection network;
and the cloud server is connected with the external connection network.
Further, the singlechip is in parallel communication connection with the network communication module.
Further, an R end, an RE end and a DE end are arranged on the serial port circuit; the RE end and the DE end are connected with the 485CTRL end of the single chip microcomputer after being in short circuit; the R end is connected with a 485RXD end of the single chip microcomputer; and the single chip microcomputer is in bidirectional communication.
Further, the serial port circuit is a 485 serial port module or an RS232 serial port module or an RJ45 module.
Further, the network communication module is a WIFI network module, a 4G module or a Lora communication module; the WI FI network module and the 4G module are connected with the Lora communication module in parallel to the single chip microcomputer.
Further, a data end D1-D4 is arranged on the WI FI network module and is in communication connection with a DA1-DA4 end of the single chip microcomputer; and the WI FI network module is provided with an SD-Do end which is in communication connection with an SD SCK end of the single chip microcomputer and is used for the single chip microcomputer to periodically sample the WI FI network module.
Further, the 4G module is provided with an A0 data end-A3 data end which is in communication connection with the DA5-DA8 end of the single chip microcomputer; the 4G module is provided with an SQ end which is in communication connection with the MOSI end of the single chip microcomputer and used for the single chip microcomputer to carry out periodic sampling on the 4G module.
Further, a TXoN1 end, a TXoP1 end, a TXoN2 end and a TXoP2 end are arranged on the Lora communication module and are in communication connection with a DA9-DA12 end of the single chip microcomputer; the Lora communication module is provided with a text end which is in communication connection with the MISo end of the single chip microcomputer and used for the single chip microcomputer to perform periodic sampling on the Lora communication module.
Further, Lora communication module, still include:
the Lora module is provided with a text end which is in communication connection with the MISo end of the single chip microcomputer;
the Lora module is in communication connection with the Lora base station; and the Lora module transmits the data of the DA9-DA12 end of the singlechip to the Lora base station.
Further, the multi-network compatible internet-of-things gateway selects a WI FI network module or a 4G module or a Lora communication module to perform data transmission or automatically selects the WI FI network module or the 4G module or the Lora communication module to perform guarantee transmission when signal fluctuation occurs through a CPU jumper.
Compared with the prior art, the utility model adopts the serial port circuit to be in communication connection with the singlechip; the singlechip is in communication connection with the network communication modules; the singlechip regularly samples and selects one of the network communication modules with the best network speed according to the TTL value returned by the ping to be communicated and connected to an external connection network; and the cloud server is connected through an external connection network. The utility model discloses in control through the singlechip, jointly merge wired, wireless, Lora, the networking of the multiple mode combination of WI FI, when the 4G signal is lost, can the automatic switch into WI FI mode, keep the network link unobstructed, the guarantee transmission is stable. Or when the signals in the area are unstable, the signals are transmitted to the central switch through the Lora network and are sent uniformly, and the risks of single network and packet loss are greatly reduced. The stability and the timeliness of the real-time data are improved. Compared with the prior art: the application scene is increased, the flexibility of data transmission is improved, the off-line rate is reduced, the real-time detection and timely alarm greatly reduce the equipment failure rate and the maintenance cost, and the stability and the data effectiveness of the equipment are improved.
Drawings
Fig. 1 is a schematic structural view of the present invention;
fig. 2 is a schematic view of the connection structure of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the following describes each embodiment of the present invention in detail with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that in various embodiments of the invention, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the claims of the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
The utility model discloses an embodiment relates to a many compatible thing of network allies oneself with gateway, as shown in fig. 1 and fig. 2, include:
the serial port circuit 10 is mainly used for connecting a data source;
the serial port circuit 10 is in communication connection with the singlechip 20; the single chip microcomputer 20 is a control component in the multi-network compatible internet of things gateway in the embodiment, and is configured to periodically sample one of the network communication modules 30 with the best network speed according to the TTL value returned by the ping, and connect the selected network communication module to the external connection network 40 in a communication manner; and then connects the cloud server 50 through the external connection network 40. The single chip microcomputer 20 and the plurality of network communication modules 30 in the embodiment are in communication connection and controlled through the single chip microcomputer, and are combined and integrated with wired, wireless, Lora and WI FI modes for networking, when a 4G signal is lost, the wireless, Lora and WI FI modes can be automatically switched, so that a network link is kept smooth, and stable transmission is guaranteed. Or when the signals in the area are unstable, the signals are transmitted to a central switch through the Lora network and are sent in a unified mode, and the risks of single network and packet loss are greatly reduced. The stability and the timeliness of the real-time data are improved. Compared with the prior art: the application scene is increased, the flexibility of data transmission is improved, the off-line rate is reduced, the real-time detection and timely alarm greatly reduce the equipment failure rate and the maintenance cost, and the stability and the data effectiveness of the equipment are improved.
In order to achieve the technical effects, as shown in fig. 1 and 2, the single chip microcomputer 20 is in parallel communication connection with the network communication module 30. After the single chip microcomputer 20 is in communication connection with the network communication module 30, the smoothness of a network link of the network communication module 30 can be rapidly detected; the stability of transmission is ensured.
In order to achieve the above technical effect, as shown in fig. 1 and fig. 2, an R terminal, an RE terminal, and a DE terminal are provided on the serial port circuit 10; the RE end and the DE end are connected with the 485CTRL end of the singlechip 20 after being in short circuit; the R end is connected with the 485RXD end of the singlechip; two-way communication is performed with the single chip microcomputer 20; therefore, data transmission is performed between the serial port circuit 10 and the single chip microcomputer 20, and the connected data are transmitted through the serial port circuit 10.
In order to achieve the above technical effect, as shown in fig. 1 and fig. 2, the serial circuit 10 is a 485 serial module, an RS232 serial module, or an RJ45 serial module. After the serial port circuit 10 is connected by adopting a 485 serial port module, an RS232 serial port module or an RJ45 module, bidirectional communication with the singlechip 20 can be realized, so that the application range of the serial port circuit 10 can be enlarged.
In order to achieve the above technical effects, as shown in fig. 1 and fig. 2, the network communication module 30 is a WI FI network module 31, a 4G module 32 or a Lora communication module 33; the WI FI network module 31 and the Lora communication module 33 of the 4G module 32 are connected to the single chip microcomputer 20 in parallel. In the network communication module 30 in this embodiment, the WI-FI network module 31, the 4G module 32, and the Lora communication module 33 are all connected in parallel with the single chip microcomputer 20, and wireless, Lora, WI-FI multiple modes are combined for networking; therefore, the singlechip 20 can be automatically switched, and when the 4G signal of the 4G module is lost, the WI FI mode of the WI FI network module 31 can be automatically switched, so that the network link is kept smooth, and the transmission stability is guaranteed. Or when the signals in the area are unstable, the signals are transmitted to the central switch through the Lora network and are sent uniformly, and the risks of single network and packet loss are greatly reduced. The stability and the timeliness of the real-time data are improved. Compared with the prior art: the application scene is increased, the flexibility of data transmission is improved, the off-line rate is reduced, the real-time detection and timely alarm greatly reduce the equipment failure rate and the maintenance cost, and the stability and the data effectiveness of the equipment are improved.
In order to achieve the technical effects, as shown in fig. 1 and fig. 2, a data end D1-a data end D4 is arranged on the WI FI network module 31 and is in communication connection with a DA 1-a 4 end of the single chip microcomputer; the WI FI network module is provided with an SD-Do end which is in communication connection with an SD SCK end of the single chip microcomputer and used for the single chip microcomputer 20 to conduct periodic sampling on the WI FI network module 31. The single chip microcomputer 20 is used for periodically sampling the WI FI network module 31 to determine whether signals of the WI FI network module 31 are lost or not and whether data transmission is smooth or not. Ready for selection of the WI-FI network module 31.
Similarly, in order to achieve the above technical effects, as shown in fig. 1 and fig. 2, the data end a 0-A3 of the 4G module 32 is communicatively connected with the DA5-DA8 of the single chip microcomputer 20; the 4G module 32 is provided with an SQ end which is in communication connection with the MOSI end of the single chip microcomputer 20 and is used for the single chip microcomputer 20 to perform periodic sampling on the 4G module 32. Similarly, the 4G module 32 is periodically sampled by the single chip microcomputer 20 to determine whether the signal of the 4G module 32 is lost or not and whether the data transmission is smooth or not. Ready for selection of the 4G module 32.
Similarly, in order to achieve the above technical effects, as shown in fig. 1 and fig. 2, a TXoN1 end, a TXoP1 end, a TXoN2 end, and a TXoP2 end are arranged on the Lora communication module 33 and are in communication connection with a DA9-DA12 end of the single chip microcomputer 20; the text end arranged on the Lora communication module 33 is in communication connection with the MISo end of the single chip microcomputer 20, and is used for the single chip microcomputer 20 to perform periodic sampling on the Lora communication module 33. Periodic sampling is carried out on the Lora communication module 33 through the singlechip 20, so that whether signals of the Lora communication module 33 are lost or not and whether data transmission is smooth or not is determined. Provision is made for selecting the Lora communication module 33.
In order to make the Lora communication module 33 normally communicate and normally transmit data, the Lora communication module 33 further includes:
the Lora module 331 is provided with a text end which is in communication connection with the MISo end of the single chip microcomputer;
the Lora base station 332, the Lora module 331 and the Lora base station 332 are connected in a communication mode; the Lora module 331 transmits data of the DA9-DA12 side of the single chip microcomputer 20 to the Lora base station 332.
In this embodiment, the multi-network compatible internet-of-things gateway preferentially selects the WI-FI network module 31, the 4G module 32, or the Lora communication module 33 for data transmission or signal fluctuation through a CPU jumper, and automatically selects the WI-FI network module 31, the 4G module 32, or the Lora communication module 33 for guarantee transmission. The technical effect improves the stability and timeliness of real-time data. Compared with the prior art: the application scene is increased, the flexibility of data transmission is improved, the off-line rate is reduced, the real-time detection and timely alarm greatly reduce the equipment failure rate and the maintenance cost, and the stability and the data effectiveness of the equipment are improved.
It will be understood by those skilled in the art that the foregoing embodiments are specific examples of the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in its practical application.

Claims (10)

1. A multi-network compatible internet of things gateway, comprising:
a serial port circuit;
the serial port circuit is in communication connection with the single chip microcomputer;
the single chip microcomputer is in communication connection with the plurality of network communication modules;
the singlechip periodically samples and selects one of the network communication modules with the best network speed according to TTL values returned by the ping to be communicated and connected to the external connection network;
and the cloud server is connected with the external connection network.
2. The gateway of claim 1, wherein the single-chip microcomputer is in parallel communication connection with the network communication module.
3. The gateway of claim 1, wherein an R terminal, an RE terminal and a DE terminal are disposed on the serial circuit; the RE end and the DE end are connected with the 485CTRL end of the single chip microcomputer after being in short circuit; the R end is connected with a 485RXD end of the single chip microcomputer; and the single chip microcomputer is in bidirectional communication.
4. The gateway of claim 3, wherein the serial circuit is a 485-serial module, an RS 232-serial module, or an RJ45 module.
5. The multi-network compatible internet of things gateway of claim 1, wherein the network communication module is a WIFI network module or a 4G module or a Lora communication module; the WIFI network module and the 4G module are connected to the single chip microcomputer in parallel.
6. The gateway of claim 5, wherein a data end D1-D4 is arranged on the WIFI network module, and is in communication connection with a data end DA1-DA4 of the single chip microcomputer; and the WIFI network module is provided with an SD-Do end which is in communication connection with the SD SCK end of the single chip microcomputer and is used for the single chip microcomputer to periodically sample the WIFI network module.
7. The gateway of claim 5, wherein the 4G module is provided with an A0 data terminal-A3 data terminal in communication connection with the DA5-DA8 terminal of the single chip microcomputer; the 4G module is provided with an SQ end which is in communication connection with the MOSI end of the single chip microcomputer and is used for the single chip microcomputer to carry out periodic sampling on the 4G module.
8. The gateway of claim 7, wherein the Lora communication module is provided with a TXoN1 terminal, a TXoP1 terminal, a TXoN2 terminal, and a TXoP2 terminal, which are in communication connection with the DA9-DA12 terminal of the single chip microcomputer; the Lora communication module is provided with a text end which is in communication connection with the MISo end of the single chip microcomputer and used for the single chip microcomputer to perform periodic sampling on the Lora communication module.
9. The multi-network compatible internet of things gateway of claim 8, wherein the Lora communication module further comprises:
the Lora module is provided with a text end which is in communication connection with the MISo end of the single chip microcomputer;
the Lora module is in communication connection with the Lora base station; and the Lora module transmits the data of the DA9-DA12 end of the singlechip to the Lora base station.
10. The multi-network compatible internet of things gateway of any one of claims 1-9, wherein the multi-network compatible internet of things gateway selects the WIFI network module or the 4G module or the Lora communication module preferentially for data transmission or for signal fluctuation through a CPU jumper, and automatically selects the WIFI network module or the 4G module or the Lora communication module for guarantee transmission.
CN202220896263.5U 2022-04-18 2022-04-18 Multi-network compatible internet of things gateway Active CN217508788U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220896263.5U CN217508788U (en) 2022-04-18 2022-04-18 Multi-network compatible internet of things gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220896263.5U CN217508788U (en) 2022-04-18 2022-04-18 Multi-network compatible internet of things gateway

Publications (1)

Publication Number Publication Date
CN217508788U true CN217508788U (en) 2022-09-27

Family

ID=83350177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220896263.5U Active CN217508788U (en) 2022-04-18 2022-04-18 Multi-network compatible internet of things gateway

Country Status (1)

Country Link
CN (1) CN217508788U (en)

Similar Documents

Publication Publication Date Title
CN106790222B (en) MODBUS/full-interconnection manufacturing network information service adapter and implementation method thereof
CN102082742A (en) Intelligent network protocol conversion and communication control system
CN101452639A (en) Ethernet network data acquisition and transmission method and system
CN104486783A (en) Multi-state wireless gateway system for multi-state wireless monitoring network and control method
CN109067633B (en) Power management system and method based on Ethernet daisy chain communication network topology
CN111224868B (en) Control system and control method of gateway of Internet of things
CN201134815Y (en) Ethernet data collecting and transmitting system
CN108512907A (en) The equipment communication means of half transparent transmission
Zhong et al. Industrial wireless communication protocol WIA-PA and its interoperation with foundation fieldbus
CN217508788U (en) Multi-network compatible internet of things gateway
CN205647567U (en) Thing networking gateway and thing communication network system
CN111770059A (en) System for realizing communication between adaptive serial port communication software and remote GPRS (general packet radio service) equipment
CN213069607U (en) Dual-protocol networking communication temperature controller
CN115208920B (en) Distributed internet of things service unit
KR100494661B1 (en) Protocol converter of electric power watch system and method of protocol conversion
CN102647023A (en) Communication collecting type power distribution substation system and realizing method thereof
CN212935922U (en) Remote centralized alarm system
CN207926824U (en) A kind of cross channel device for Digital Distribution Frame
CN206671863U (en) A kind of bus communication system for power plant auxiliary workshop PLC control system
CN202043143U (en) EtherCAT high-dense digital IO (input/output) interface module
CN214444000U (en) Welding controller with Modbus TCP communication function
CN203251313U (en) Switching control device
CN102902237A (en) Remote monitoring system based on programmable logic controller (PLC) and general packet radio service (GPRS) technology
CN202267869U (en) Navigation station information gatherer with multi-link merging function
CN219554986U (en) Edge thing allies oneself with proxy access node device of many net gapes

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant