CN210609213U - Configurable protocol conversion gateway - Google Patents
Configurable protocol conversion gateway Download PDFInfo
- Publication number
- CN210609213U CN210609213U CN201921552091.4U CN201921552091U CN210609213U CN 210609213 U CN210609213 U CN 210609213U CN 201921552091 U CN201921552091 U CN 201921552091U CN 210609213 U CN210609213 U CN 210609213U
- Authority
- CN
- China
- Prior art keywords
- controller
- mcu
- transmission module
- gateway
- file transmission
- 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
Links
Images
Abstract
The utility model discloses a configurable protocol conversion gateway, which comprises a MCU, a CAN controller, a transceiver and a file transmission module; the MCU is a main control chip and is connected with the CAN controller through a parallel port eim; writing the external configuration file into the MCU through the file transmission module; the CAN controller is a CAN message receiving and sending chip and receives and sends an external message through a transceiver; the file transmission module comprises WIFI, Ethernet, USB, an SD card, EMC and QSPI. The remarkable effects are as follows: the gateway with more paths of CAN signals CAN import dbc files to automatically generate corresponding codes; the analysis of the CAN signal CAN be realized through the script; signal interaction between different network segments and different network protocols is realized; the data can be updated online through the FTP; function customization supporting relevant requirements of USB, TF, Ethernet and the like; and realizing gateway routing related functions. And makes it simpler to configure the routing information table.
Description
Technical Field
The utility model relates to a bus conversion technology field, concretely relates to can dispose protocol conversion gateway.
Background
At present, the automobile industry is rapidly developed, the number of the ECUs on the automobile is dozens, the number of the passenger cars is more, the number of the commercial cars is less, but is twenty-thirty, although SAE J1939 protocol stipulates that 30 ECUs CAN be used on at most one CAN using a shielded twisted pair, in the actual use process, network load and message delay are considered, too many nodes cannot be used on one CAN, generally, ten node ECUs are used on at most one CAN, and only seven eight nodes are placed on one CAN of a plurality of whole automobiles, so that one CAN cannot meet the requirement of the number of the ECUs, and the gateway is applied to the CAN.
Most gateways on the market only have 4 or less than 4 CAN channels, and are difficult to configure routing information, so that the existing requirements cannot be met.
Disclosure of Invention
To the defect among the prior art, the utility model provides a can dispose protocol conversion gateway to realize quick gateway configuration information.
In order to realize the purpose, the adopted technical scheme is as follows:
a configurable protocol conversion gateway is characterized in that: the gateway comprises an MCU, a CAN controller, a transceiver and a file transmission module; the MCU is a main control chip and is connected with the CAN controller through a parallel port eim; writing the external configuration file into the MCU through the file transmission module; the CAN controller is a CAN message receiving and transmitting chip and receives and transmits external messages through a transceiver.
Optionally, the file transmission module includes WIFI, ethernet, USB, SD card, EMC, QSPI.
The utility model discloses a show the effect and be: the data burden of the network can be effectively reduced, and the time delay of the message is reduced. The PC can be separated from the PC to independently operate, and the load of the PC is reduced. Even vehicles with a large number of ECUs can be directly used, configuration of the routing information table is simpler through upper computer software written by the vehicle, and workload is reduced.
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 technical solutions in the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a structural diagram of a configurable protocol conversion gateway according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
This embodiment has realized a configurable protocol conversion gateway, as shown in fig. 1, this configurable protocol conversion gateway includes setting up MCU, CAN controller, transceiver and file transmission module, MCU passes through eim with the CAN controller and is connected, and MCU control the chip selection pin of CAN controller, reads and writes to the CAN controller through parallel port eim to control multichannel CAN controller simultaneous working. The CAN controller is a CAN message receiving and transmitting chip and receives and transmits external messages through a transceiver. And reading the routing table filled by the user by using a file reading function fopen, and storing messages of all routes to the MCU. When the CAN controller receives CAN data, the interrupt pin is triggered, after the MCU detects the interrupt, the CAN message received by the corresponding CAN controller is read by changing the enabling of the chip selection pin, and then is compared with a routing table filled by a user, if routing is needed, the message is split and recombined, and new message information is filled. When the time of the counter reaches, the data can be sent according to the new route.
Because the system adopts the parallel interface eim of the CAN controller to read and write data, the design CAN also expand the CAN bus, each path of CAN only needs to be connected in parallel with one path of CAN controller, and one chip selection pin and one interrupt pin are added, thus saving hardware resources.
To sum up, the utility model discloses possess the gateway of more multichannel CAN signal to CAN lead in the dbc file and automatically generate corresponding code; the analysis of the CAN signal CAN be realized through the script; signal interaction between different network segments and different network protocols is realized; the data can be updated online through the FTP; function customization supporting relevant requirements of USB, TF, Ethernet and the like; and realizing gateway routing related functions. And makes it simpler to configure the routing information table.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the scope of the embodiments of the present invention, and are intended to be covered by the claims and the specification.
Claims (2)
1. A configurable protocol translation gateway, characterized by: the gateway comprises an MCU, a CAN controller, a transceiver and a file transmission module; the MCU is a main control chip and is connected with the CAN controller through a parallel port eim; writing the external configuration file into the MCU through the file transmission module; the CAN controller is a CAN message receiving and transmitting chip and receives and transmits external messages through a transceiver.
2. The configurable protocol translation gateway of claim 1, wherein: the file transmission module comprises WIFI, Ethernet, USB, an SD card, EMC and QSPI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921552091.4U CN210609213U (en) | 2019-09-18 | 2019-09-18 | Configurable protocol conversion gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921552091.4U CN210609213U (en) | 2019-09-18 | 2019-09-18 | Configurable protocol conversion gateway |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210609213U true CN210609213U (en) | 2020-05-22 |
Family
ID=70687852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921552091.4U Active CN210609213U (en) | 2019-09-18 | 2019-09-18 | Configurable protocol conversion gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210609213U (en) |
-
2019
- 2019-09-18 CN CN201921552091.4U patent/CN210609213U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113396565B (en) | Control method and device | |
CN114048164B (en) | Chip interconnection method, system, device and readable storage medium | |
EP2975812A1 (en) | Bus system and computer program | |
CN107622032B (en) | Three-wire expansion method and circuit of I2C bus | |
CN104714907B (en) | A kind of pci bus is converted to ISA and APB bus design methods | |
US20200218215A1 (en) | Circuit for coupling a field bus and a local bus | |
CN105446930A (en) | Single selection end SPI (Serial Peripheral Interface) master-slave multi-machine bidirectional communication method | |
CN109446145A (en) | A kind of channel server master board I2C extended chip, circuit and control method | |
CN105045746A (en) | Interface expanding device | |
CN107992439B (en) | Extensible data interaction method and system | |
CN113075904A (en) | PLC extension system, PLC system communication method and storage medium | |
CN114039808B (en) | CAN/LIN/SENT forwarding protocol of CAN-based multichannel | |
US5724343A (en) | Device for communications between a plurality of functional modules installed in a local unit and an ARINC 629 type external bus | |
CN106657115B (en) | Frequency converter control system and protocol conversion card thereof | |
WO2014141692A1 (en) | Bus control device, relay device, and bus system | |
EP2699030A1 (en) | Route switching device, network switching system and route switching method | |
CN112671936B (en) | Special transmission module adapting method and device for different domestic systems | |
CN210609213U (en) | Configurable protocol conversion gateway | |
CN108132898A (en) | Multiplex communication control method and communication box | |
CN113300984A (en) | Communication method, device, system and storage medium | |
CN113341853B (en) | IP core, FPGA chip, alternating current servo driver and communication method | |
CN102110074B (en) | Multi-core processor and flow classification control device and method thereof | |
KR101361502B1 (en) | Apparatus for ethernet switch | |
CN114979058A (en) | CAN multi-mailbox multiplexing processing method and system | |
CN114567445A (en) | Signature verification data transmission method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |