Common mistakes made by CAN repeaters
CAN repeaters are commonly used in large CAN networks. They extend the transmission distance, change the topology and isolate interference, but also increase the design cost. Some people say that as long as two CAN transceiver chips can implement CAN relay function. Can't you do it? ISO 11898 is an international standard for high-speed communication in automobiles using the CAN bus protocol. The CAN transceiver is the interface part of the data link layer and the physical layer in the protocol. Common CAN transceiver chips are NXP (formerly Philips) PCA82C250/251, TJA1050/1051 and other models. Since the overall pin and function of the PCA82C250 and TJA1050 are compatible, we will take the TJA1050 as an example. First, a brief introduction to the TJA1050. As shown in Figure 1, TJA1050 has a total of 8 pins, TXD is the transmit data, RXD receives the data, VCC is connected to 5V, and GND is grounded. CANH and CANL are two differential outputs of CAN. 8 feet are selected for CAN bus mode, and 5 feet are reference ground. figure 1 RXD and TXD must be very familiar to everyone. In the RS-232 protocol, as long as the RS-232 TXD and RXD of the two devices are cross-connected and GND is common, the two devices can communicate. So some people thought that if the TXD and RXD of the two TJA1050 chips are also cross-connected, can the relay function be realized? The circuit in Figure 2 seems to work, but in reality this circuit is not available. If this circuit is connected to the CAN bus, when the dominant level enters from TJA1050(A), RXD=0 of TJA1050(A), and TXD=0 of TJA1050(B), CAN output of TJA1050(B) Sex level. Due to the self-feedback of the chip, TJA1050(B) will read the dominant level and RXD=0, while TJA1050(A) has TXD=0, which continues. Since the TJA1050 has the explicit protection function of the TXD pin (the PAC8250 does not have this function), the CAN transceiver will be disabled when the maximum allowable TXD dominant time is exceeded. figure 2 Figure 4 shows the hardware block diagram of the CAN repeater, which is mainly composed of MCU, CAN controller and CAN transceiver. The MCU is responsible for buffering and forwarding data. The CAN controller converts the data into a CAN frame format and finally accesses the CAN network through the CAN transceiver. Most MCUs have integrated CAN controllers on-chip, such as NXP's LPC2119. image 3 The CAN controller and the CAN transceiver are isolated by optocoupler, and the CAN transceiver driver uses an isolated DC-DC module. In this way, not only the electrical isolation between the two CAN interfaces but also the isolation of the repeater and the bus is realized. Although this adds to the complexity and cost of the repeater hardware to a certain extent, it is worthwhile. Or you can use the isolated CAN transceiver represented by Zhiyuan Electronics' CTM1051KT, which includes isolated DC-DC, signal isolation circuit, CAN bus transceiver circuit, and basic bus protection. Compared to traditional designs, the CTM series offers higher integration, higher reliability and competitive pricing, helping users reduce overall design risk and procurement costs. Figure 4 ZLG Zhiyuan Electronic CAN Isolated Bridge Repeater Hub Series, with 2 or 4 electrically isolated CAN bus interfaces, can realize the relay function of CAN-bus network, and can store and store data between CAN networks of different speeds. . The main applications are as follows: (1) The use of this series of products can increase the load node and extend the communication distance, and realize the function of network relay expansion; (2) The communication baud rate of each channel can be arbitrarily configured independently to realize CAN network interconnection with different communication baud rates; (3) This series of products has powerful ID filtering conversion and data conversion functions, and the accurate acceptance ID configuration minimizes the load on the CAN bus. Or change specific IDs and data to achieve the goal of removing interference data and distinguishing between different devices; (4) It has strong anti-interference ability. When the user's equipment CAN is subjected to strong interference, it may cause crash or damage. After connecting this series of products, it can isolate the normal operation of the interference protection equipment. Figure 5 (Original source from ZLG Zhiyuan Electronics)
We provide many kinds of Titanium Diaphragm to meet the different needs of different customers, they are widely used in Hi-Fi speakers,professional audio,horn speakers,car speakers and other high-end products.
We are experienced in manufacturing and have strong capability.
Our products are popular in many countries and areas.
We have professional acoustical testing systems and instruments.
We promise to offer you highest quality and best service! Titanium Diaphragms,Titanium Replacement Diaphragm,Replacement Diaphragms,Tweeter Voice Coils, tweeter diaphragms Taixing Minsheng Electronic Co.,Ltd. , https://www.ms-speakers.com