RS485 interface circuit

By using a dual digital isolator chip and a common mode filter in the RS485 interface circuit, combined with a transient voltage suppression diode, the problems of limited isolation effects and noise interference in the prior art are solved, and communication quality and speed are improved.

CN222107953UActive Publication Date: 2024-12-03DONGFANG ELECTRIC AUTOMATIC CONTROL ENG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202323345803.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-12-03
Estimated Expiration
2033-12-08

AI Technical Summary

Technical Problem

The existing RS485 interface circuit is easily disturbed during the communication between chip and microcontroller, especially common mode noise, electrostatic discharge, surge and pulse. The isolation effect is limited and the communication quality cannot be effectively guaranteed.

Method used

Dual digital isolator chips and common mode filters are used, combined with transient voltage suppression diodes, to improve isolation effect and signal filtering capabilities, and reduce interference impact.

Benefits of technology

It significantly improves the isolation effect and communication rate, effectively filters out noise on the signal line, enhances communication quality, and reduces the impact of electrostatic discharge, surge and pulse.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222107953U_ABST
    Figure CN222107953U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of interface circuits, in particular to an RS485 interface circuit, which comprises a first digital isolator chip, a second digital isolator chip, an RS485 transceiving chip and a common-mode filter. A second pin and a third pin of the first digital isolator core are respectively connected with a receiving end and a transmitting end of an external USART module, and a sixth pin and a seventh pin of the first digital isolator core are respectively connected with a fourth pin and a first pin of the RS485 transceiver chip; a second pin and a third pin of the RS485 transceiver chip are connected with a seventh pin of the second digital isolator chip; the seventh pin and a sixth pin of the RS485 transceiver chip are respectively connected with a second pin and a third pin of the common mode filter; a second pin of the second digital isolator chip is connected with a control register end of the external USART module; and a first pin and a fourth pin of the common mode filter are respectively connected with the two signal output ends. According to the technical scheme, the double digital isolator chips are arranged, so that the isolation effect is improved, and the communication quality is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of interface circuits, in particular to an RS485 interface circuit. Background Art

[0002] RS485 is a common communication interface. It defines the electrical characteristics of drivers and receivers in balanced digital multi-point systems. When the communication barrier distance is required to be from tens of meters to thousands of meters, the RS-485 serial bus standard is widely used. RS-485 uses balanced transmission and differential reception, so it has the ability to suppress common-mode interference. In addition, the bus transceiver has high sensitivity and can detect voltages as low as 200mV. RS-485 uses half-duplex operation. Only one point can be in the transmission state at any time. Therefore, the transmission circuit must be controlled by an enable signal. RS-485 is very convenient for interconnecting multiple objects such as points, and many signal lines can be saved. RS-485 can be used to form a distributed system, which allows up to 32 drivers and 32 receivers to be connected in parallel. However, it is easy to be interfered during the communication between the chip and the microcontroller.

[0003] The existing RS485 interface circuit, such as the RS485 interface circuit disclosed in CN212256075U, includes a high-speed optocoupler isolator, a low-power transceiver U4 and an isolated power supply IC21, the CATHODE pin of IC8 is connected to the RO pin of U4 through R90, RS485-1 is connected to the CATHODE pin of IC20 through R96, and is connected to the / RE and DE pins of U4 through the OUT pin after being isolated by IC20, TXD0 is connected to the CATHODE pin of IC18 through R100, and is connected to the DI pin of U4 through the OUT pin after being isolated by IC18, the B pin of U4 is filtered by C86, pulled down by R63, connected to the B-1-IC interface through R65, and the A pin of U4 is filtered by C88, pulled up by R64, and connected to the A+1-IC interface through R66. This solution can effectively avoid interference.

[0004] However, this solution uses optocoupler isolation, which has limited isolation effect. Lacking a filtering module, this solution cannot filter out common-mode noise on the signal line. At the same time, this solution is also susceptible to ESD (Electro-Static discharge), surges and pulses. Utility Model Content

[0005] The utility model aims to overcome the shortcomings of the prior art and provide an RS485 interface circuit, which improves the isolation effect, filters out noise and ensures the communication quality.

[0006] This is achieved specifically through the following technical solutions:

[0007] A RS485 interface circuit comprises a first digital isolator chip U3, a second digital isolator chip U5, an RS485 transceiver chip U4 and a common mode filter L3; a second pin VOA of the first digital isolator chip U3 is connected to a receiving end USART1_RX of an external USART module, a third pin VIB of the first digital isolator chip U3 is connected to a transmitting end USART1_TX of the external USART module, a sixth pin VOB of the first digital isolator chip U3 is connected to a fourth pin DI of the RS485 transceiver chip U4, a seventh pin VIA of the first digital isolator chip U3 is connected to a first pin RO of the RS485 transceiver chip U4; a second pin VOB of the RS485 transceiver chip U4 is connected to a receiving end USART1_RX of an external USART module, a third pin VIB of the first digital isolator chip U3 is connected to a transmitting end USART1_TX of the external USART module, a sixth pin VOB of the first digital isolator chip U3 is connected to a fourth pin DI of the RS485 transceiver chip U4, a seventh pin VIA of the first digital isolator chip U3 is connected to a first pin RO of the RS485 transceiver chip U4 and the third pin DE are connected to the seventh pin VOA of the second digital isolator chip U5, the seventh pin VOA of the second digital isolator chip U5 is connected to ground through the first boost resistor R37, and the second pin VIA of the second digital isolator chip U5 is connected to the control register terminal USART_CTL of the external USART module; the sixth pin A of the RS485 transceiver chip U4 is connected to the third pin of the common mode filter L3, and the eighth pin VCC of the RS485 transceiver chip U4 is connected to the third pin of the common mode filter L3 through the step-down resistor R33; the seventh pin B of the RS485 transceiver chip U4 is connected to the second pin of the common mode filter L3, and the second pin of the common mode filter L3 is grounded through the second boost resistor R36; the first pin and the fourth pin of the common mode filter L3 are respectively connected to the signal output terminal DS_RS485A_B and the signal output terminal DS_RS485A_A.

[0008] Preferably, the RS485 interface circuit also includes a transient voltage suppression diode array TVS4, a first pin of the transient voltage suppression diode array TVS4 is connected to the seventh pin B of the RS485 transceiver chip U4, a second pin of the transient voltage suppression diode array TVS4 is connected to the sixth pin A of the RS485 transceiver chip U4, and a third pin of the transient voltage suppression diode array TVS4 is grounded.

[0009] Preferably, the RS485 interface circuit further includes a third transient suppression diode TVS3, one end of the third transient suppression diode TVS3 is connected to the first pin of the common mode filter L3, and the other end of the third transient suppression diode TVS3 is connected to the fourth pin of the common mode filter L3.

[0010] Preferably, a first thermistor RT1 is further connected between the fourth pin of the common mode filter L3 and the signal output terminal DS_RS485A_A.

[0011] Preferably, a second thermistor RT2 is connected between the first pin of the common mode filter L3 and the signal output terminal DS_RS485A_B.

[0012] Preferably, the RS485 interface circuit further includes a fifth transient suppression diode TVS5, and one end of the fifth transient suppression diode TVS5 is connected to the first pin of the common mode filter L3, and the other end of the fifth transient suppression diode TVS5 is grounded.

[0013] Preferably, the RS485 interface circuit further includes a sixth transient suppression diode TVS6, and one end of the sixth transient suppression diode TVS6 is connected to the fourth pin of the common mode filter L3, and the other end of the sixth transient suppression diode TVS6 is grounded.

[0014] Beneficial technical effects brought by the utility model:

[0015] The utility model adopts dual digital isolator chips to improve the isolation effect. The maximum communication rate of the isolation chip is 10Mbps, which improves the bus communication rate; the noise on the signal line is filtered out by the common mode filter, which improves the communication quality; the transient voltage suppression diode array and other transient suppression diodes greatly reduce the impact of ESD, surge and pulse. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a schematic diagram of the structure of an RS485 interface circuit provided by an embodiment of the utility model;

[0017] Figure 2 This is a schematic diagram of a power module circuit structure provided by an embodiment of the utility model;

[0018] Figure 3 This is a schematic diagram of a filter module circuit structure provided by an embodiment of the utility model;

[0019] In the figure:

[0020] U3 is the first digital isolator chip, U5 is the second digital isolator chip, U4 is the RS485 transceiver chip, L3 is the common mode filter, TVS4 is the transient voltage suppression diode array, TVS3 is the third transient voltage suppression diode, TVS5 is the fifth transient voltage suppression diode, TVS6 is the sixth transient voltage suppression diode, RT1 is the first thermistor, and RT2 is the second thermistor. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the utility model clearer, the technical solution of the utility model will be clearly and completely described below in conjunction with the drawings in the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, rather than all of the embodiments.

[0022] Therefore, the following detailed description of the present invention provided in the accompanying drawings is not intended to limit the scope of the present invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] Example 1

[0024] This embodiment discloses an RS485 interface circuit as a preferred implementation of the utility model. Figure 1 As shown, it includes a first digital isolator chip U3, a second digital isolator chip U5, an RS485 transceiver chip U4 and a common mode filter L3. Among them, the second pin VOA of the first digital isolator chip U3 is connected to the receiving end USART1_RX of the external USART module, the third pin VIB of the first digital isolator chip U3 is connected to the transmitting end USART1_TX of the external USART module, the sixth pin VOB of the first digital isolator chip U3 is connected to the fourth pin DI of the RS485 transceiver chip U4, and the seventh pin VIA of the first digital isolator chip U3 is connected to the first pin RO of the RS485 transceiver chip U4. The second pin VOB of the RS485 transceiver chip U4 is connected to the RS485 transceiver chip U4. and the third pin DE are connected to the seventh pin VOA of the second digital isolator chip U5, the seventh pin VOA of the second digital isolator chip U5 is connected to ground through the first boost resistor R37, and the second pin VIA of the second digital isolator chip U5 is connected to the control register terminal USART_CTL of the external USART module; the sixth pin A of the RS485 transceiver chip U4 is connected to the third pin of the common mode filter L3, and the eighth pin VCC of the RS485 transceiver chip U4 is connected to the third pin of the common mode filter L3 through the step-down resistor R33; the seventh pin B of the RS485 transceiver chip U4 is connected to the second pin of the common mode filter L3, and the second pin of the common mode filter L3 is grounded through the second boost resistor R36; the first pin and the fourth pin of the common mode filter L3 are respectively connected to the signal output terminal DS_RS485A_B and the signal output terminal DS_RS485A_A.

[0025] In actual use, it is necessary to connect the first pin VDD1 of the first digital isolator chip U3 to the voltage output terminal VCC_3V3, connect the eighth pin VDD2 of the first digital isolator chip U3 to the voltage terminal RS_5V, and ground the fourth pin GND1 and the fifth pin GND2 of the first digital isolator chip U3. Further, connect the first pin VDD1 of the second digital isolator chip U5 to the voltage output terminal VCC_3V3, connect the eighth pin VDD2 of the second digital isolator chip U5 to the voltage terminal RS_5V, and ground the fourth pin GND1 and the fifth pin GND2 of the second digital isolator chip U5. Further, connect the eighth pin VCC of the RS485 transceiver chip U4 to the voltage terminal RS_5V, and ground the fifth pin GND of the RS485 transceiver chip U4.

[0026] Furthermore, in actual application, the first digital isolator chip U3 with model number 122M31 can be selected. 122M31 is a digital isolator chip used for CAN communication isolation and compatible with ADuM7241ARZ. Ultra-low power consumption is 0.58mA / channel (at 1Mbps), high speed rate is 200Mbps, and high CMTI value is typically 120kV / μs. It has high anti-interference ability to radiated and conducted noise, low transmission delay typical delay is 9ns, isolation voltage is AC 5000Vrms, and level conversion range is 3V to 5.5V. It meets the RoHS requirements of NB SOIC-8 package, and its application areas include general multi-channel isolation, industrial fieldbus isolation, industrial automation system, isolated switching power supply, isolated ADC, DAC and motor control.

[0027] Furthermore, in actual use, the second digital isolator chip U5 with model number 120M30 can be selected. 120M30 is a digital isolator chip compatible with ADuM3210TRZ, with excellent performance characteristics and reliability, and overall performance is better than optocouplers and digital isolator products based on other principles. Its transmission channels are independent of each other, and multiple transmission directions can be configured, achieving 3.0kV rms isolation withstand voltage level and DC to 10Mbps signal transmission.

[0028] Compared with optocoupler isolation, the technical solution can greatly improve the isolation effect by providing a dual digital isolator chip of a first digital isolator chip U4 and a second digital isolator chip U5 and by reasonably selecting chip models.

[0029] Example 2

[0030] This embodiment discloses an RS485 interface circuit, as a preferred implementation of the utility model, that is, in Example 1, the RS485 interface circuit also includes a transient voltage suppression diode array TVS4, the first pin of the transient voltage suppression diode array TVS4 is connected to the seventh pin B of the RS485 transceiver chip U4, the second pin of the transient voltage suppression diode array TVS4 is connected to the sixth pin A of the RS485 transceiver chip U4, and the third pin of the transient voltage suppression diode array TVS4 is grounded. On this basis, the transient voltage suppression diode array TVS4 of model PSM712-LF-T7 can be selected.

[0031] Example 3

[0032] This embodiment discloses an RS485 interface circuit, which is a preferred implementation of the utility model. That is, in Embodiment 1 or 2, the RS485 interface circuit further includes a third transient suppression diode TVS3, one end of the third transient suppression diode TVS3 is connected to the first pin of the common mode filter L3, and the other end of the third transient suppression diode TVS3 is connected to the fourth pin of the common mode filter L3.

[0033] Example 4

[0034] This embodiment discloses an RS485 interface circuit, as a preferred implementation of the utility model, that is, in Embodiment 1, 2 or 3, a first thermistor RT1 is further connected between the fourth pin of the common mode filter L3 and the signal output terminal DS_RS485A_A. Further, a second thermistor RT2 is further connected between the first pin of the common mode filter L3 and the signal output terminal DS_RS485A_B.

[0035] Example 5

[0036] This embodiment discloses an RS485 interface circuit, as a preferred implementation of the utility model, that is, in Embodiment 1, 2, 3 or 4, the RS485 interface circuit further includes a fifth transient suppression diode TVS5, and one end of the fifth transient suppression diode TVS5 is connected to the first pin of the common mode filter L3, and the other end of the fifth transient suppression diode TVS5 is grounded. Further, the RS485 interface circuit further includes a sixth transient suppression diode TVS6, and one end of the sixth transient suppression diode TVS6 is connected to the fourth pin of the common mode filter L3, and the other end of the sixth transient suppression diode TVS6 is grounded.

[0037] Based on the technical solution, the transient voltage suppression diode array TVS4, the third transient suppression diode TVS3, the fifth transient suppression diode TVS5 and the sixth transient suppression diode TVS6 can greatly reduce the impact of ESD, surge and pulse, and improve the stability of the RS485 interface.

[0038] like Figure 2 As shown, a power module circuit structure based on an RS485 interface circuit design of the present technical solution. In the power module circuit structure, the first pin GND of the DC-DC converter chip DC1 is grounded; the second pin VCC is connected to the voltage terminal VCC_5V; the first pin GND and the second pin VCC are connected through a capacitor C32; the fourth pin + of the DC-DC converter chip DC1 is connected to the voltage terminal RS_5V, the third pin - is grounded, and the third pin - and the fourth pin + are connected respectively through a resistor R39, a capacitor C33, and a capacitor C34, specifically, the resistor R39, the capacitor C33, and the capacitor C34 are connected in parallel between the third pin - and the fourth pin +.

[0039] like Figure 3 As shown, a filter module circuit structure based on an RS485 interface circuit design of the present technical solution is shown. In the filter module circuit structure, after the power supply terminal RS_5V is connected in parallel through capacitors C27, C28 and C29, one end is connected to the power supply terminal RS_5V and the other end is grounded, so as to filter the power supply.

[0040] When the DIR signal (Direction, direction signal) of the utility model is at a low level, RS485 is in a receiving state.

[0041] The working principle of this utility model:

[0042] The power module of the utility model isolates the power supply of the system side and the field side, and the digital isolator chip isolates the signal of the system side and the field side; the circuit is in a receiving state by default, and always receives external input data; when there is data to be sent, the DIR direction signal is driven to a high level, and the data is sent to the outside. After the sending is completed, the DIR signal is driven to a low level, and the data is continued to be received; the field side adds a common mode inductor, a TVS and a thermistor to the external signal line to filter out external interference such as ESD, surge and pulse.

[0043] The above is only a preferred embodiment of the utility model. It should be understood that the utility model is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not deviate from the spirit and scope of the utility model, and should be within the scope of protection of the claims attached to the utility model.

Claims

1. An RS485 interface circuit, characterized in that: It includes a first digital isolator chip U3, a second digital isolator chip U5, an RS485 transceiver chip U4 and a common mode filter L3; The second pin VOA of the first digital isolator chip U3 is connected to the receiving end USART1_RX of the external USART module, the third pin VIB of the first digital isolator chip U3 is connected to the transmitting end USART1_TX of the external USART module, the sixth pin VOB of the first digital isolator chip U3 is connected to the fourth pin DI of the RS485 transceiver chip U4, and the seventh pin VIA of the first digital isolator chip U3 is connected to the first pin RO of the RS485 transceiver chip U4; The second pin of the RS485 transceiver chip U4 and the third pin DE are both connected to the seventh pin VOA of the second digital isolator chip U5, the seventh pin VOA of the second digital isolator chip U5 is connected to ground through the first boost resistor R37, and the second pin VIA of the second digital isolator chip U5 is connected to the control register terminal USART_CTL of the external USART module; the sixth pin A of the RS485 transceiver chip U4 is connected to the third pin of the common mode filter L3, and the eighth pin VCC of the RS485 transceiver chip U4 is connected to the third pin of the common mode filter L3 through the dropper resistor R33; the seventh pin B of the RS485 transceiver chip U4 is connected to the second pin of the common mode filter L3, and the second pin of the common mode filter L3 is grounded through the second boost resistor R36; the first pin and the fourth pin of the common mode filter L3 are respectively connected to the signal output terminal DS_RS485A_B and the signal output terminal DS_RS485A_A.

2. A RS485 interface circuit according to claim 1, characterized in that: The RS485 interface circuit also includes a transient voltage suppression diode array TVS4, a first pin of the transient voltage suppression diode array TVS4 is connected to the seventh pin B of the RS485 transceiver chip U4, a second pin of the transient voltage suppression diode array TVS4 is connected to the sixth pin A of the RS485 transceiver chip U4, and a third pin of the transient voltage suppression diode array TVS4 is grounded.

3. A RS485 interface circuit according to claim 1, characterized in that: The RS485 interface circuit further includes a third transient suppression diode TVS3, one end of which is connected to the first pin of the common mode filter L3, and the other end of which is connected to the fourth pin of the common mode filter L3.

4. A RS485 interface circuit according to claim 1, characterized in that: A first thermistor RT1 is further connected between the fourth pin of the common mode filter L3 and the signal output terminal DS_RS485A_A.

5. A RS485 interface circuit according to claim 1, characterized in that: A second thermistor RT2 is further connected between the first pin of the common mode filter L3 and the signal output terminal DS_RS485A_B.

6. A RS485 interface circuit according to claim 1, characterized in that: The RS485 interface circuit further includes a fifth transient suppression diode TVS5, one end of the fifth transient suppression diode TVS5 is connected to the first pin of the common mode filter L3, and the other end of the fifth transient suppression diode TVS5 is grounded.

7. A RS485 interface circuit according to claim 1, characterized in that: The RS485 interface circuit further includes a sixth transient suppression diode TVS6, one end of the sixth transient suppression diode TVS6 is connected to the fourth pin of the common mode filter L3, and the other end of the sixth transient suppression diode TVS6 is grounded.

Citation Information

Patent Citations

  • RS485 interface circuit

    CN212256075U