CN216795024U - Protocol conversion gateway - Google Patents

Protocol conversion gateway Download PDF

Info

Publication number
CN216795024U
CN216795024U CN202122819413.0U CN202122819413U CN216795024U CN 216795024 U CN216795024 U CN 216795024U CN 202122819413 U CN202122819413 U CN 202122819413U CN 216795024 U CN216795024 U CN 216795024U
Authority
CN
China
Prior art keywords
pin
chip
module
capacitor
interface module
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
CN202122819413.0U
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.)
Chongqing Longhui Technology Co ltd
Original Assignee
Chongqing Longhui 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 Chongqing Longhui Technology Co ltd filed Critical Chongqing Longhui Technology Co ltd
Priority to CN202122819413.0U priority Critical patent/CN216795024U/en
Application granted granted Critical
Publication of CN216795024U publication Critical patent/CN216795024U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model relates to the technical field of communication, in particular to a protocol conversion gateway, which comprises a mainboard, and a main controller chip module, a serial interface module, a CAN interface module, an LORA wireless interface module, a network communication interface module, a power interface module, wherein the main controller chip module is fixed on the mainboard and is electrically connected with the power interface module, the serial interface module is in electric connection with the main controller chip module, the CAN interface module is electrically connected with the main controller chip module, the LORA wireless interface module is electrically connected with the main controller chip module, and the network communication interface module is electrically connected with the main controller chip module, so that data of two protocols CAN be converted in real time.

Description

Protocol conversion gateway
Technical Field
The utility model relates to the technical field of communication, in particular to a protocol conversion gateway.
Background
With the continuous development of information construction of the campus, the application of the internet of things is more and more, and networking modes of the campus are also diversified at present. The traditional campus network is an Ethernet based on TCP/UDP, is a standard open network, has good system compatibility and interoperability, has strong resource sharing capability, and can easily realize the sharing of data of a control site and resources on an information system; the data transmission distance is long, and the data transmission rate is high; the system is easy to connect with the Internet, has low cost and easy networking, is very convenient for interfaces with computers and servers, and is widely supported by the technology; the existing Internet of things is also networked by adopting a CAN bus, and the data communication of the CAN bus has outstanding reliability, instantaneity and flexibility. Mainly characterized in that the CAN works in a multi-master mode; the nodes of the CAN bus are divided into different priorities; adopting a non-destructive arbitration technology; the message adopts a short frame structure, so that the data error rate is extremely low; the node may automatically turn off the output in case the error is severe.
The network protocol specifications for both ethernet and CAN buses follow the basic hierarchy of the ISO/OSI reference model. Ethernet uses the IEEE802 reference model, which corresponds to the lowest two layers of the OSI model, namely the physical layer and the data link layer, where the data link layer contains the medium access control sublayer (MAC) and the logical link control sublayer (LLC). The ISO/OSI reference model of the CAN bus is also divided into two layers, and is completely the same as the layered structure of the Ethernet, but the two layers have great difference in physical realization and communication mechanism of each layer, and any single networking mode cannot flexibly network for building the campus Internet of things.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide a protocol conversion gateway which CAN convert data of two protocols in real time, CAN adapt to various severe environments by networking through a CAN (controller area network) bus at the bottom layer of a campus network, and CAN ensure high-efficiency transmission of data through an Ethernet from the upper layer to a service layer, thereby solving the problem of singly establishing an Internet of things.
In order to achieve the above object, the present invention provides a protocol conversion gateway, which includes a motherboard, and a main controller chip module, a serial interface module, a CAN interface module, an LORA wireless interface module, a network communication interface module, and a power interface module fixed on the motherboard, wherein the main controller chip module is electrically connected to the power interface module, the serial interface module is electrically connected to the main controller chip module, the CAN interface module is electrically connected to the main controller chip module, the LORA wireless interface module is electrically connected to the main controller chip module, and the network communication interface module is electrically connected to the main controller chip module.
The protocol conversion gateway further comprises a TCP connection indicator lamp module, and the TCP connection indicator lamp module is electrically connected with the network communication interface module.
The protocol conversion gateway also comprises a system operation indicator light module, and the system operation indicator light module is connected with the main controller chip module through a wire.
The protocol conversion gateway further comprises a power indicator light module, and the power indicator light module is electrically connected with the power interface module.
The CAN interface module comprises a CAN capacitance isolation circuit unit, a CAN level conversion circuit unit and a CAN isolation power supply circuit unit;
the CAN capacitive isolation circuit unit comprises a first digital isolator, the model of the first digital isolator is pi 122M31, a capacitor C12 and a capacitor C14, two ends of the capacitor C12 are respectively connected with a pin 1 and a pin 4 of the first digital isolator in series, two ends of a capacitor C14 are respectively connected with a pin 5 and a pin 8 of the first digital isolator in series, a pin 2 of the first digital isolator is connected with a pin CAN _ RX of the CAN interface module, a pin 3 of the first digital isolator is connected with a pin CAN _ TX of the CAN interface module, a pin 6 of the first digital isolator is connected with a pin CAN _ TX 'of the CAN interface module, and a pin 7 of the first digital isolator is connected with a pin CAN _ RX' of the CAN interface module;
the CAN level conversion circuit unit comprises a CAN chip, a capacitor C18, a resistor R7, a socket P3 and an ESD chip, wherein the model of the CAN chip is SN65HVD232DR, the model of the ESD chip is PESD1CAN-U, a pin 1 of the CAN chip is connected with a pin CAN _ TX 'of the CAN interface module, a pin 2 of the CAN chip is in signal grounding, a pin 3 of the CAN chip is connected with one end of a capacitor C18, the other end of the capacitor C18 is in signal grounding, a pin 4 of the CAN chip is connected with a pin CAN _ RX' of the CAN interface module, a pin 6 of the CAN chip, a pin 2 of the ESD chip and a pin 1 of the socket P3 are connected with each other, a pin 7 of the CAN chip is connected with the pin 2 of the socket P3 in series, a pin 7 of the CAN chip, a resistor R7 and a pin 1 of the socket P3 are connected with each other in series, a pin 8 of the CAN chip is in signal grounding, a pin 3 of the ESD chip is in signal grounding, a pin 1 of the ESD chip is connected with the pin 2 of the socket P3 in series, and pin 7 of the CAN chip, resistor R7 and pin 1 of socket P3 are connected in series;
the CAN isolation power supply circuit unit comprises a power supply module chip, a linear voltage regulator, an inductor L1, an inductor L2, an inductor L3, a capacitor C13, a capacitor C15, a capacitor C16, a capacitor C17 and a capacitor C19, wherein the power supply module chip is B0505LS-1WR2, the linear voltage regulator is AS1360-33-T, a pin 1 of the power supply module chip, the inductor L1 and the capacitor C13 are connected in series, a pin 2 of the power supply module chip is grounded, a pin 3 of the power supply module chip is grounded, a pin 4 of the power supply module chip is connected with one end of the inductor L2, the other end of the inductor L2, one end of the capacitor C15, one end of the capacitor C16 and a pin Vin of the linear voltage regulator are connected with each other, the other end of the capacitor C15 is grounded, the other end of the capacitor C16 is GND, the pin of the linear voltage regulator, the capacitor C17 and the capacitor C19 are connected with each other and grounded, the other end of the capacitor C17, the other end of the capacitor C19, and a pin Vout of the linear regulator are connected to each other.
The protocol conversion gateway CAN convert data of two protocols in real time, CAN adapt to various severe environments by networking through the CAN bus at the bottom of the campus network, and CAN ensure efficient transmission of data through the Ethernet from the upper layer to the service, thereby solving the problem of singly building the Internet of things.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a block diagram of a protocol conversion gateway provided by the present invention.
Fig. 2 is a circuit diagram of a CAN capacitive isolation circuit unit of a CAN interface module of the protocol conversion gateway provided by the present invention.
Fig. 3 is a circuit diagram of a CAN level conversion circuit unit of the CAN interface module of the protocol conversion gateway provided by the present invention.
Fig. 4 is a circuit diagram of a CAN isolated power supply circuit unit of a CAN interface module of the protocol conversion gateway provided by the present invention.
100-mainboard, 1-main controller chip module, 2-serial interface module, 3-CAN interface module, 31-CAN capacitance isolation circuit unit, 32-CAN capacitance isolation circuit unit, 33-CAN isolation power supply circuit unit, 4-LORA wireless interface module, 5-network communication interface module, 6-power supply interface module, 7-TCP connection indicator lamp module, 8-system operation indicator lamp module and 9-power supply indicator lamp module.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the utility model and are not to be construed as limiting the utility model.
Referring to fig. 1 to 4, the present invention provides a protocol conversion gateway, which comprises a motherboard 100, and a main controller chip module 1, a serial interface module 2, a CAN interface module 3, a LORA wireless interface module 4, a network communication interface module 5 and a power interface module 6 fixed on the motherboard 1002, the main controller chip module 1 is electrically connected with the power interface module 6, the serial interface module 2 is connected with the main controller chip module 1 through wires, the CAN interface module 3 is electrically connected with the main controller chip module 1, the LORA wireless interface module 4 is electrically connected with the main controller chip module 1, the network communication interface module 5 is electrically connected with the main controller chip module 1, and the main controller chip module 1 is used for adding corresponding data protocol heads to data of different interfaces and sending the data.
The method for defining the data protocol header of the main controller chip module 1 comprises the following steps: adding 6 bytes before the data, defining the 6 th byte of the data received by the CAN interface module 3 as '01', defining the 6 th byte received by the serial interface module 2 as '02', defining the 6 th byte of the data received by the LORA wireless interface module 4 as '03', and then sending the data to a server upper computer through the network communication interface module 5.
The network communication interface module 5 is configured with a TCP client mode, a TCP server mode and a UDP communication mode;
the protocol conversion gateway further comprises a TCP connection indicator light module 7, and the TCP connection indicator light module 7 is electrically connected with the network communication interface module 5;
the protocol conversion gateway also comprises a system operation indicator light module 8, and the system operation indicator light module 8 is in electric wire connection with the main controller chip module 1;
the protocol conversion gateway further comprises a power indicator module 9, and the power indicator module 9 is electrically connected with the power interface module 6;
the serial interface module 2 is an RS485 interface or an RS232 interface;
the CAN interface module 3 comprises a CAN capacitance isolation circuit unit 31, a CAN capacitance isolation circuit unit 32 and a CAN isolation power supply circuit unit 33;
the CAN capacitive isolation circuit unit 31 comprises a first digital isolator, the model of the first digital isolator is pi 122M31, a capacitor C12 and a capacitor C14, two ends of the capacitor C12 are respectively connected in series with a pin 1 and a pin 4 of the first digital isolator, two ends of the capacitor C14 are respectively connected in series with a pin 5 and a pin 8 of the first digital isolator, a pin 2 of the first digital isolator is connected with a pin CAN _ RX of the CAN interface module 3, a pin 3 of the first digital isolator is connected with a pin CAN _ TX of the CAN interface module 3, a pin 6 of the first digital isolator is connected with a pin CAN _ TX 'of the CAN interface module 3, and a pin 7 of the first digital isolator is connected with a pin CAN _ RX' of the CAN interface module 3;
the CAN capacitance isolation circuit unit 32 comprises a CAN chip, a capacitor C18, a resistor R7, a socket P3 and an ESD chip, wherein the model of the CAN chip is SN65HVD232DR, the model of the ESD chip is PESD1CAN-U, a pin 1 of the CAN chip is connected with a pin CAN _ TX 'of the CAN interface module 3, a pin 2 of the CAN chip is in signal grounding, a pin 3 of the CAN chip is connected with one end of a capacitor C18, the other end of the capacitor C18 is in signal grounding, a pin 4 of the CAN chip is connected with a pin CAN _ RX' of the CAN interface module 3, a pin 6 of the CAN chip, a pin 2 of the ESD chip and a pin 1 of the socket P3 are connected with each other, a pin 7 of the CAN chip is connected with the pin 2 of the socket P3 in series, a pin 7 of the CAN chip, a resistor R7 and a pin 1 of the socket P3 are connected with each other in series, a pin 8 of the CAN chip is in signal grounding, a pin 3 of the ESD chip is in signal grounding, a pin 1 of the ESD chip is connected with the socket P3 in series, and pin 7 of the CAN chip, resistor R7 and pin 1 of socket P3 are connected in series;
the CAN isolation power supply circuit unit 33 comprises a power supply module chip, a linear voltage regulator, an inductor L1, an inductor L2, an inductor L3, a capacitor C13, a capacitor C15, a capacitor C16, a capacitor C17 and a capacitor C19, wherein the model of the power supply module chip is B0505LS-1WR2, the model of the linear voltage regulator is AS1360-33-T, a pin 1 of the power supply module chip, an inductor L1 and a capacitor C13 are connected in series, a pin 2 of the power supply module chip is grounded, a pin 3 of the power supply module chip is grounded, a pin 4 of the power supply module chip is connected with one end of an inductor L2, the other end of the inductor L2, one end of the capacitor C15, one end of the capacitor C16 and a pin Vin of the linear voltage regulator are connected with each other, the other end of the capacitor C15 is grounded, the other end of the capacitor C16 is connected with one another end of the linear voltage regulator, a pin of the capacitor C17 and the capacitor C19 are connected with each other and grounded, the other end of the capacitor C17, the other end of the capacitor C19, and a pin Vout of the linear regulator are connected to each other.
When main controller chip module 1 connects CAN interface module 3, serial interface module 2, LORA wireless interface module 4 receive a frame or a packet of data, main controller chip module 1CAN add the data of different interfaces with the data protocol head that corresponds, then passes through network communication interface module 5 sends out, and the locate mode of data protocol head is: adding 6 bytes before the data, defining the 6 th byte of the data received by the CAN interface module 3 as "01", defining the 6 th byte received by the serial interface module 2 as "02", and defining the 6 th byte of the data received by the LORA wireless interface module 4 as "03"; if the CAN interface module 3 receives a frame of data, a head of "AA program version number (1 byte) gateway number (3 bytes) 01" is added in front of the CAN data and sent out through a network interface, the server upper computer receives the network data and judges that the data is received by the CAN interface module 3 through the 6 th byte "01" in a protocol head and performs corresponding data analysis, the 6 th byte is "02" which represents that the data is received by the serial interface module 2, and the 6 th byte is "03" which represents that the data is received by the LORA wireless interface module 4; the network communication interface module 5 can be configured into a TCP client mode, a TCP server mode and a UDP communication mode; the upper computer of the server CAN send data to the gateway equipment by adding the defined data protocol head in front of the data to be sent, and the equipment receives network data, judges the value of the 6 th byte and sends the data out through the CAN interface module 3, the serial interface module 2 and the LORA wireless interface module 4; the circuit part of the serial interface module 2 is designed to be produced into an RS485 interface or an RS232 interface in a welding-selectable mode; the protocol conversion gateway CAN convert data of two protocols in real time, CAN adapt to various severe environments by using the CAN bus networking at the campus network bottom, and CAN ensure high-efficiency transmission of data by passing through the Ethernet from the upper layer to the service, thereby solving the problem of singly establishing the Internet of things.
While the utility model has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the utility model.

Claims (5)

1. A protocol conversion gateway, characterized in that,
protocol conversion gateway includes the mainboard and fixes master controller chip module, serial interface module, CAN interface module, LORA wireless interface module, network communication interface module, power source interface module on the mainboard, master controller chip module with power source interface module electric connection, serial interface module with master controller chip module electric wire connection, CAN interface module with master controller chip module electric connection, LORA wireless interface module with master controller chip module electric connection, network communication interface module with master controller chip module electric connection.
2. The protocol translation gateway of claim 1,
the protocol conversion gateway further comprises a TCP connection indicator lamp module, and the TCP connection indicator lamp module is electrically connected with the network communication interface module.
3. The protocol translation gateway of claim 2,
the protocol conversion gateway also comprises a system operation indicator light module, and the system operation indicator light module is connected with the main controller chip module through a wire.
4. The protocol translation gateway of claim 3,
the protocol conversion gateway further comprises a power indicator light module, and the power indicator light module is electrically connected with the power interface module.
5. The protocol translation gateway of claim 4,
the CAN interface module comprises a CAN capacitance isolation circuit unit, a CAN level conversion circuit unit and a CAN isolation power supply circuit unit;
the CAN capacitive isolation circuit unit comprises a first digital isolator, the model of the first digital isolator is pi 122M31, a capacitor C12 and a capacitor C14, two ends of the capacitor C12 are respectively connected with a pin 1 and a pin 4 of the first digital isolator in series, two ends of a capacitor C14 are respectively connected with a pin 5 and a pin 8 of the first digital isolator in series, a pin 2 of the first digital isolator is connected with a pin CAN _ RX of the CAN interface module, a pin 3 of the first digital isolator is connected with a pin CAN _ TX of the CAN interface module, a pin 6 of the first digital isolator is connected with a pin CAN _ TX 'of the CAN interface module, and a pin 7 of the first digital isolator is connected with a pin CAN _ RX' of the CAN interface module;
the CAN level conversion circuit unit comprises a CAN chip, a capacitor C18, a resistor R7, a socket P3 and an ESD chip, wherein the model of the CAN chip is SN65HVD232DR, the model of the ESD chip is PESD1CAN-U, a pin 1 of the CAN chip is connected with a pin CAN _ TX 'of the CAN interface module, a pin 2 of the CAN chip is in signal grounding, a pin 3 of the CAN chip is connected with one end of a capacitor C18, the other end of the capacitor C18 is in signal grounding, a pin 4 of the CAN chip is connected with a pin CAN _ RX' of the CAN interface module, a pin 6 of the CAN chip, a pin 2 of the ESD chip and a pin 1 of the socket P3 are connected with each other, a pin 7 of the CAN chip is connected with the pin 2 of the socket P3 in series, a pin 7 of the CAN chip, a resistor R7 and a pin 1 of the socket P3 are connected with each other in series, a pin 8 of the CAN chip is in signal grounding, a pin 3 of the ESD chip is in signal grounding, a pin 1 of the ESD chip is connected with the pin 2 of the socket P3 in series, and pin 7 of the CAN chip, resistor R7 and pin 1 of socket P3 are connected in series;
the CAN isolation power supply circuit unit comprises a power supply module chip, a linear voltage regulator, an inductor L1, an inductor L2, an inductor L3, a capacitor C13, a capacitor C15, a capacitor C16, a capacitor C17 and a capacitor C19, wherein the power supply module chip is B0505LS-1WR2, the linear voltage regulator is AS1360-33-T, a pin 1, an inductor L1 and a capacitor C13 of the power supply module chip are connected in series, a pin 2 of the power supply module chip is grounded, a pin 3 of the power supply module chip is grounded in signal mode, a pin 4 of the power supply module chip is connected with one end of the inductor L2, the other end of the inductor L2, one end of the capacitor C15, one end of the capacitor C16 and a pin Vin of the linear voltage regulator are connected with each other, the other end of the capacitor C15 is grounded in signal mode, the other end of the capacitor C16 is GND, the pin of the linear voltage regulator, the capacitor C17 and the capacitor C19 are connected with each other and grounded in signal mode, and the other end of the capacitor C17 is grounded in signal mode, The other end of the capacitor C19 and a pin Vout of the linear regulator are connected to each other.
CN202122819413.0U 2021-11-17 2021-11-17 Protocol conversion gateway Active CN216795024U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122819413.0U CN216795024U (en) 2021-11-17 2021-11-17 Protocol conversion gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122819413.0U CN216795024U (en) 2021-11-17 2021-11-17 Protocol conversion gateway

Publications (1)

Publication Number Publication Date
CN216795024U true CN216795024U (en) 2022-06-21

Family

ID=82002972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122819413.0U Active CN216795024U (en) 2021-11-17 2021-11-17 Protocol conversion gateway

Country Status (1)

Country Link
CN (1) CN216795024U (en)

Similar Documents

Publication Publication Date Title
MXPA01008197A (en) Bridge for can to tcp/ip connection.
CN102684967B (en) Intelligent household network control system
CN106131028B (en) A kind of data transmission method of Free-port communication gateway
CN105404211A (en) Coupling communication plate based on EtherCAT technology
CN216795024U (en) Protocol conversion gateway
CN106657377B (en) A kind of WIA-PA/ interconnects manufacture network information service adapter and implementation method entirely
CN106921660A (en) A kind of method for supporting random communication protocol shared channel resources
CN106506306A (en) A kind of method and apparatus of data-message transmission
CN103618656A (en) Master-slave nodes of networked logging downhole instrument and data processing method thereof
Guohuan et al. Research on designing method of CAN bus and Modbus protocol conversion interface
Terreros-Barreto et al. Systematic Review of Wired Communication’s Technologies for Active Distribution Networks
CN116015988A (en) Gigabit PoE extender
CN211183988U (en) Novel P L C wireless gateway device
WO2022087795A1 (en) Resource mapping method and apparatus, device, and storage medium
CN101895560A (en) Fieldbus DP-NET with open two-stage topological structure
CN209858985U (en) LDN-based distributed control system, device and intelligent furniture
CN209088989U (en) A kind of data acquisition gateway
CN105391666A (en) Multi-service bus transmission system and transmission method based on FSK modem
CN111305830A (en) Cable logging system based on high-temperature and high-speed ADSL technology
CN1777057A (en) Power line carrier network home appliance and its control method
CN219834181U (en) IP adapter of HART instrument and network system thereof
CN219554986U (en) Edge thing allies oneself with proxy access node device of many net gapes
Shen et al. Implementation of Energy Data Acquisition Gateway Based on OPC UA
CN218550204U (en) 86 type intelligent wireless gateway capable of inserting card
CN210666754U (en) Multi-serial-port communication device and Internet of things system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant