CAN bus HUB module
By designing the CAN bus HUB module and adding multiple CAN bus interfaces and control nodes, the problem of insufficient driving capabilities of the traditional CAN bus is solved, and more efficient data transmission and network topology flexibility are achieved.
Patent Information
- Application Number
- CN202420123582.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2034-01-18
AI Technical Summary
The single bus topology of the traditional CAN bus limits the number of connected units, resulting in insufficient driving capabilities and inability to meet high load requirements.
A CAN bus HUB module is designed, which includes multiple CAN bus interfaces, FPGA chips, CAN controllers and CAN isolation transceivers. By changing the bus topology and increasing the number of control nodes, the bus driving capability is improved.
It realizes the accessibility of any two control nodes in the network, improves the bus driving capability, and adapts to the working parameters of different scenarios through independent and redundant channel configuration to ensure the reliability and flexibility of data transmission.
Smart Images

Figure CN221726530U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of data transmission control, in particular to a CAN bus HUB module. Background Art
[0002] Most traditional CAN buses are single-bus topology structures, and multiple unit buses can be connected to the CAN bus during operation. However, in practice, the total number of units connected to the CAN bus is limited by the time delay and electrical load on the bus, resulting in low CAN bus driving capacity. Utility Model Content
[0003] In order to solve the above-mentioned technical problems, the utility model provides a CAN bus HUB module, which is provided with multiple CAN bus interfaces, changes the bus topology, increases the number of control nodes, and improves the bus driving capability.
[0004] The technical solution provided by the utility model is as follows:
[0005] A CAN bus HUB module comprises a HUB module body respectively connected to a host and an external device, the HUB module body comprises an FPGA chip, a CAN controller, a CAN isolation transceiver and a plurality of CAN bus interfaces, the plurality of CAN bus interfaces are connected to the FPGA chip in sequence via the CAN isolation transceiver, the CAN controller and a level conversion unit; the CAN bus interface is provided with m channels, two of which are provided at the front end of the HUB module body and are respectively connected to the host through the CAN bus, and the two CAN bus interfaces are both configured with independent channels and redundant channels; (m-2) channels of the CAN bus interface are provided at the rear end of the HUB module body and are respectively connected to the external device through a control node; a power supply module is integrated in the HUB module body, the FPGA chip, the CAN isolation transceiver and the CAN controller are respectively connected to the power supply module.
[0006] Furthermore, the FPGA chip is provided with an RGMII interface, a UART interface and an IO interface, the IO interface is connected to the level conversion unit, the FPGA chip is externally connected with a storage chip via a serial bus, and the storage chip is connected to the power module.
[0007] Furthermore, the RGMII interface is connected to the PHY chip and the network transformer in sequence; and the UART interface is connected to the serial port transceiver.
[0008] Furthermore, the FPGA chip is provided with a BPI configuration mode.
[0009] Furthermore, the FPGA chip adopts a JFMK325T chip.
[0010] Furthermore, the storage chip adopts an EEPROM storage chip to prevent data from being lost after power failure.
[0011] Furthermore, the level conversion unit includes an address data conversion unit, a control conversion unit and a transmission unit.
[0012] Furthermore, the CAN isolation transceiver adopts a TDA51SCANHC chip, and the CAN controller adopts an XL1000 chip.
[0013] Furthermore, the HUB module bodies are provided in plurality, and are respectively connected to the host through a CAN bus for communication.
[0014] Furthermore, the value range of m is greater than or equal to 10.
[0015] The beneficial effects of the utility model are:
[0016] 1) The RGMII interface is used to perform network communication through the PHY chip and the network transformer to configure the HUB module parameters such as the interface and the CAN interface address; the UART interface is used to perform serial communication through the serial transceiver to configure the HUB module parameters such as the interface and the CAN interface address; the IO interface is connected to the level conversion unit to realize its level conversion;
[0017] 2) The EEPROM storage chip is used to realize the power-off saving function;
[0018] 3) The set CAN isolation transceiver sends the CAN signal to the FPGA chip through the CAN controller, and the FPGA chip completes the data forwarding between the uplink network connected to the host communication and the downlink network connected to the control node;
[0019] 4) The FPGA chip is set as the main control chip to transmit the host transmission data information to the control node;
[0020] 5) The multi-channel CAN bus interface is set up so that the trunk network has no branch line length limit, changing the bus topology; increasing the number of control nodes to ensure that any two control nodes in the network can reach the protocol distance, improving the bus driving ability;
[0021] 6) The two CAN bus interfaces at the front end of the HUB module are equipped with independent channels and redundant channels, which facilitates the configuration and selection of working modes through working parameters according to different usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a schematic diagram of the overall structure of the utility model;
[0023] Figure 2 It is a structural schematic diagram of the HUB module body in the utility model.
[0024] In the figure: 1. Host; 2. CAN bus; 3. HUB module body; 301. FPGA chip; 3011. RGMII interface; 3012. UART interface; 3013. IO interface; 3014. Storage chip; 302. CAN isolation transceiver; 303. CAN controller; 304. Level conversion unit; 305. CAN bus interface; 4. Control node; 5. Power module; 6. PHY chip; 7. Network transformer connection; 8. Serial port transceiver. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0026] It should be noted that in the description of the present invention, the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicating orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0027] Example
[0028] like Figure 1 to Figure 2 As shown, a CAN bus 2 HUB module includes a HUB module body 3 connected to a host 1 and an external device respectively, the HUB module body 3 includes an FPGA chip 301, a CAN controller 303, a CAN isolation transceiver 302 and a plurality of CAN bus interfaces 305, and the plurality of CAN bus interfaces 305 are connected to the FPGA chip 301 via the CAN isolation transceiver 302, the CAN controller 303 and a level conversion unit 304 in sequence; the CAN bus interface 305 is provided with m channels, wherein two of the CAN bus interfaces 305 are provided at the front end of the HUB module body 3 and are respectively connected to the host 1 through the CAN bus 2, and the two CAN bus interfaces 305 are both configured with independent channels and redundant channels; (m-2) channels of the CAN bus interfaces 305 are provided at the rear end of the HUB module body 3 and are respectively connected to the external device through the control node 4; a power module 5 is integrated in the HUB module body 3, and the FPGA chip 301, the CAN isolation transceiver 302 and the CAN controller 303 are respectively connected to the power module 5.
[0029] As a further feature of this embodiment, the FPGA chip 301 is provided with an RGMII interface 3011, a UART interface 3012 and an IO interface 3013, the IO interface 3013 is connected to the level conversion unit 304, the FPGA chip 301 is externally connected with a storage chip 3014 via a serial bus, and the storage chip 3014 is connected to the power module 5.
[0030] As a further step of this embodiment, the RGMII interface 3011 is connected to the PHY chip 6 and the network transformer 7 in sequence to configure the HUB module parameters such as the interface and CAN interface address through network communication; the UART interface 3012 is connected to the serial port transceiver 8 to configure the HUB module parameters such as the interface and CAN interface address through serial port communication.
[0031] As a further feature of this embodiment, the FPGA chip 301 is provided with a BPI configuration mode.
[0032] As a further feature of this embodiment, the FPGA chip 301 adopts a JFMK325T chip.
[0033] As a further feature of this embodiment, the storage chip 3014 uses an EEPROM storage chip 3014 to prevent data from being lost after power failure.
[0034] As a further feature of this embodiment, the level conversion unit 304 includes an address data conversion unit, a control conversion unit and a transmission unit to ensure normal data transmission.
[0035] As a further feature of this embodiment, the CAN isolation transceiver 302 uses a TDA51SCANHC chip, and the CAN controller 303 uses an XL1000 chip.
[0036] As a further feature of this embodiment, the HUB module bodies 3 are provided in plurality, which are respectively connected to the host 1 through the CAN bus 2 for communication, thereby further improving the overall driving capability.
[0037] As a further feature of this embodiment, the value range of m is greater than or equal to 10, multiple CAN bus interfaces 305 are added, and the bus topology structure is changed.
[0038] The working principle of this utility model:
[0039] The CAN-HUB module body 3 of the utility model is provided with multiple CAN bus interfaces 305, which changes the bus topology, increases the number of control nodes 4, has data receiving, storage, and forwarding functions, filters and screens the data stream, reduces the subnet transceiver load, and improves the bus driving ability; the two CAN bus interfaces 305 are both configured with independent channels and redundant channels: when configured as independent channels, the CAN-HUB module body 3 directly forwards the host 1 message to the corresponding control node 4 after receiving it; when configured as redundant channels, the CAN-HUB module body 3 simultaneously receives the message from the control node 4 corresponding to the two CAN bus interfaces 305 and makes a judgment, and only forwards it once if the message is the same. The independent channels and redundant channels configured by the two CAN bus interfaces 305 can be configured and selected through parameters, that is, the working parameter information is read through the debugging network port or serial port and saved to the local memory. When started, the working parameters are read and work is performed, wherein the working parameters include communication baud rate, filtering parameters and redundant working mode.
[0040] The embodiments described above are merely descriptions of preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the principles and essence of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should fall within the scope of protection determined by the claims of the present invention.
Claims
1. A CAN bus HUB module, comprising a HUB module body (3) connected to a host (1) and an external device respectively, characterized in that: The HUB module body (3) comprises an FPGA chip (301), a CAN controller (303), a CAN isolation transceiver (302) and a plurality of CAN bus interfaces (305); the plurality of CAN bus interfaces (305) are connected to the FPGA chip (301) in sequence via the CAN isolation transceiver (302), the CAN controller (303) and a level conversion unit (304); The CAN bus interface (305) is provided with m channels, wherein two channels of the CAN bus interface (305) are provided at the front end of the HUB module body (3) and are respectively connected to the host (1) through the CAN bus (2), and both channels of the CAN bus interface (305) are configured with independent channels and redundant channels; (m-2) channels of the CAN bus interface (305) are provided at the rear end of the HUB module body (3) and are respectively connected to the external device through the control node (4); The HUB module body (3) is integrated with a power module (5), and the FPGA chip (301), the CAN isolation transceiver (302) and the CAN controller (303) are respectively connected to the power module (5).
2. A CAN bus HUB module according to claim 1, characterized in that: The FPGA chip (301) is provided with an RGMII interface (3011), a UART interface (3012) and an IO interface (3013); the IO interface (3013) is connected to a level conversion unit (304); the FPGA chip (301) is externally connected to a storage chip (3014) via a serial bus; and the storage chip (3014) is connected to the power module (5).
3. A CAN bus HUB module according to claim 2, characterized in that: The RGMII interface (3011) is connected to the PHY chip (6) and the network transformer (7) in sequence; and the UART interface (3012) is connected to the serial port transceiver (8).
4. A CAN bus HUB module according to claim 1 or 2, characterized in that: The FPGA chip (301) is provided with a BPI configuration mode.
5. A CAN bus HUB module according to claim 3, characterized in that: The FPGA chip (301) adopts a JFMK325T chip.
6. A CAN bus HUB module according to claim 2, characterized in that: The storage chip (3014) adopts an EEPROM storage chip (3014) to prevent data from being lost after power failure.
7. A CAN bus HUB module according to claim 2, characterized in that: The level conversion unit (304) includes an address data conversion unit, a control conversion unit and a transmission unit.
8. A CAN bus HUB module according to claim 1, characterized in that: The CAN isolation transceiver (302) adopts a TDA51SCANHC chip, and the CAN controller (303) adopts an XL1000 chip.
9. A CAN bus HUB module according to claim 1, characterized in that: The HUB module bodies (3) are provided in plurality and are respectively connected to the host computer (1) for communication via a CAN bus (2).
10. A CAN bus HUB module according to claim 1, characterized in that: The value range of m is greater than or equal to 10.
Citation Information
Cited By
CAN (Controller Area Network) interface expansion system and expansion method based on FPGA (Field Programmable Gate Array)
CN121098646A
An FPGA-based CAN interface expansion system and expansion method
CN121098646B
