4-way CAN bridge design using LPC2194 - Power Circuit - Circuit Diagram
The 4-way CAN bridge designed in this paper can extend the CAN transmission distance and expand the CAN communication network. At the same time, it has the routing function, which can realize the conversion of different routes and different communication rates between different CAN networks, and can play a key role in large CAN networks. effect.
1 4 way CAN bridge design
1.1 Advantages of CAN Bridge
The use of 4-way CAN bridges is of great help to the improvement of network performance. It has the following advantages in the networking of large networks:
1 can extend the transmission distance of the network, especially after the relay of several CAN bridges, can greatly extend the transmission distance, can reach several kilometers or even tens of kilometers.
2 can increase the size of the CAN network, the 4-way CAN bridge has 4 CAN branches, and each branch can add a new CAN bridge, so it can form a large-scale CAN network.
3 can realize the choice of different routes between different networks, and enhance the reliability of the CAN network.
1.2 Design plan
The design scheme of CAN bridge is generally divided into two types: single MCU and multiple MCU. A single MCU is slower and is not suitable for high-speed networks; multiple MCUs have complex structures and poor stability. In view of the above situation, this design uses the ARM microcontroller LPC2194 with its own 4-way CAN controller, while avoiding the situation that the MCU is slow and the MCU network is complicated.
The features of the LPC2194 are as follows:
1 with a 32-bit ARM7 microcontroller with 256 KB of embedded high-speed flash memory. The 32-bit code is capable of running at the highest clock frequency with very low power consumption and extremely fast processing speed.
2 comes with 4-way interconnected CAN controller, fully supports CAN2.0B and ISO1198-1 standards, each CAN controller can achieve 1Mbps rate. Its global acceptance filter recognizes the 11-bit and 29-bit Rx identifiers of all buses and has significant advantages over the SJA1000's CAN controller.
Hardware design of 2 4-way CAN bridge
2.1 Overall design
Because the LPC2194 integrates four CAN controllers, it can easily realize four CAN bus interfaces, which reduces the scale of the system and improves the stability of the system. This design uses LPC2194 as the main control chip, with the isolated and protected CTM8251T as the CAN transceiver. The overall structure of the system is shown in Figure 1.
Power Source,arcade power supply switch,power supply for game,vending power supply
Guangzhou Ruihong Electronic Technology CO.,Ltd , https://www.callegame.com