Remote anti-interference serial bus circuit

By introducing a current source and a single-ended-differential conversion circuit into the RS485 bus, the interference problem of the RS485 bus in high real-time situations is solved, the signal stability and anti-interference performance are improved, and the bit error rate and CPU consumption are reduced.

CN221804694UActive Publication Date: 2024-10-01GUANGZHOU JURONG SHANGLIN ELECTROMECHANICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202322814212.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-10-19
Publication Date
2024-10-01
Estimated Expiration
2033-10-19

AI Technical Summary

Technical Problem

The existing RS485 bus is susceptible to interference in situations with high real-time and synchronization requirements, resulting in frequent signal errors, consuming CPU processing time, and degrading system operation.

Method used

Design a long-distance anti-interference serial bus circuit. By introducing a first current source and a second current source at both ends of the RS485 bus, the bus is in an unbalanced state when idle, and combined with a single-ended-differential conversion circuit and a resistor , capacitors and other components to improve anti-interference performance.

Benefits of technology

The anti-interference threshold is increased, the signal stability and anti-interference performance are enhanced, the bit error rate is reduced, and the consumption of CPU processing time is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221804694U_ABST
    Figure CN221804694U_ABST
Patent Text Reader

Abstract

The utility model provides a remote anti-interference serial bus circuit which comprises an RS485 bus, two ends of the RS485 bus are respectively a port A and a port B, the port A is connected with a first current source in series, the first current source is externally connected with a first voltage source in series, the port B is connected with a second current source in series, and the first voltage source is externally connected with a second voltage source in series. The second current source is externally connected in series with a second voltage source, and the RS485 bus is connected with a single-ended-differential conversion circuit. According to the bus circuit, the first current source and the second current source are additionally arranged in the RS485 bus, the RS485 bus is in an unbalanced state when being idle, the anti-interference threshold value can be increased, due to the fact that the alternating-current impedance of the ideal current source is infinite, the dynamic characteristic of the circuit is better than that of a resistor, the differential voltage of the bus is pulled to be larger in the static state, the stability is better, and the anti-interference performance is improved. Therefore, the anti-interference performance is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to an anti-interference circuit, in particular to a long-distance anti-interference serial bus circuit. Background Art

[0002] Industrial applications often use 485 bus to transmit data over long distances. It has good reliability when operating at low speeds, but due to the complexity of the site, it is still interfered with, resulting in frame and packet loss. When real-time requirements are not high, it can be achieved by repeated call transmissions. When real-time and synchronization requirements are high, it will lead to control decoupling.

[0003] Traditional anti-interference methods include but are not limited to the following methods:

[0004] Ground wire isolation: Use isolators at both ends of the RS485 bus to isolate the ground wire to eliminate ground wire interference.

[0005] Increase line impedance: By adding resistors at both ends of the bus, the impedance of the bus is increased, signal reflection is reduced, and signal quality is improved.

[0006] The RS485 bus usually requires a 120-ohm terminal resistor to be connected at both ends of the bus (that is, at the interface). The function of this terminal resistor is to suppress signal reflection and improve the reliability and stability of signal transmission. If the terminal resistor is not connected correctly, signal interference may occur, resulting in communication failure.

[0007] Resonance suppression: By adding terminal resistance and resonant circuit, the resonance on the bus can be suppressed to avoid interference.

[0008] Signal shielding: Use electromagnetic shielding materials to shield the bus to prevent external electromagnetic interference from entering the bus.

[0009] Normal mode suppression: By differentially driving the bus, common mode interference is suppressed during signal transmission.

[0010] Signal amplification: Amplify the signal at the receiving end of the bus to increase signal strength and improve anti-interference capabilities.

[0011] Although the above methods are commonly used, they are often of limited use. They are described as follows:

[0012] The standard 485 bus is a differential balanced transmission. By default, when the voltage of the two buses to the ground is equal, the receiving end is 1. This leads to a problem that instantaneous interference can easily break the balance. The higher the sensitivity of the receiving end, the higher the probability of signal error in the interfered output when there is no signal transmission on the bus. These output errors will seriously consume the CPU processing time and degrade the system operation.

[0013] Therefore, it is necessary to design a long-distance anti-interference serial bus circuit. Utility Model Content

[0014] In view of the technical defects existing in the background technology, the utility model proposes a long-distance anti-interference serial bus circuit, which solves the above technical problems and meets the actual needs. The specific technical solution is as follows:

[0015] A long-distance anti-interference serial bus circuit comprises an RS485 bus, wherein the two ends of the RS485 bus are respectively an A port and a B port, the A port is connected in series with a first current source, a first voltage source is connected in series with the first current source, the B port is connected in series with a second current source, a second voltage source is connected in series with the second current source, and the RS485 bus is connected with a single-end-to-differential conversion circuit.

[0016] A first resistor is connected in series between the first current source and the second current source.

[0017] A capacitor is connected in series between the second current source and the second voltage source, and one end of the second current source and one end of the capacitor are both grounded.

[0018] Port No. 1 of the single-ended-to-differential conversion circuit is connected to a TTL level receiving end.

[0019] A second resistor and a third voltage source are respectively connected in series between the No. 1 port and the TTL level receiving end.

[0020] The second port and the third port of the single-ended-to-differential conversion circuit are both connected to the control end.

[0021] The single-ended-to-differential conversion circuit is connected to the TTL level transmitting end via port No. 4.

[0022] The fifth port of the single-ended-to-differential conversion circuit is grounded.

[0023] The sixth port of the single-end-to-differential conversion circuit is connected to the A port of the RS485 bus, and the seventh port of the single-end-to-differential conversion circuit is connected to the B port of the RS485 bus.

[0024] The eighth port of the single-ended-to-differential conversion circuit is connected to a second voltage source.

[0025] Compared with the prior art, the long-distance anti-interference serial bus circuit provided by the utility model has the following beneficial effects:

[0026] The long-distance anti-interference serial bus circuit in the utility model adds a first current source and a second current source to the RS485 bus, so that the RS485 bus is in an unbalanced state when idle, which can improve the anti-interference threshold. Since the AC impedance of an ideal current source is infinite, this circuit has better dynamic characteristics than resistors, and can pull the bus differential voltage larger in static state, with better stability, resulting in higher anti-interference performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 The utility model is a circuit schematic diagram of a long-distance anti-interference serial bus circuit.

[0028] Among them, 1. a first current source, 2. a first voltage source, 3. a second current source, 4. a second voltage source, 5. a single-ended-to-differential conversion circuit, 6. a first resistor, 7. a second resistor, and 8. a third voltage source. DETAILED DESCRIPTION

[0029] In the description of the present utility model, it should be understood that the terms "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "middle", "inside", etc. indicate the orientation or position relationship based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying 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 limiting the present utility model. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present utility model, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present utility model can be understood by specific circumstances.

[0030] The implementation methods of the present invention are described below in conjunction with the accompanying drawings and relevant embodiments. The implementation methods of the present invention are not limited to the following embodiments, and the present invention involves relevant necessary components in this technical field, which should be regarded as common knowledge in this technical field and can be known and mastered by technical personnel in this technical field.

[0031] See also Figure 1A long-distance anti-interference serial bus circuit is used to improve the anti-interference performance of the RS bus. The circuit includes an RS485 bus, wherein the two ends of the RS485 bus are respectively an A port and a B port, the A port is connected in series with a first current source 1, the first current source 1 is externally connected in series with a first voltage source 2, the B port is connected in series with a second current source 3, the second current source 3 is externally connected in series with a second voltage source 4, and the RS485 bus is connected to a single-ended-to-differential conversion circuit 5 for transmitting data.

[0032] In an embodiment of the present invention, a first resistor 6 is connected in series between the first current source 1 and the second current source 3 to limit the current and prevent the current from being too large.

[0033] A capacitor is connected in series between the second current source 3 and the second voltage source 4 , and one end of the second current source 3 and one end of the capacitor are both grounded.

[0034] Port No. 1 of the single-ended-to-differential conversion circuit 5 is connected to a TTL level receiving end.

[0035] A second resistor 7 and a third voltage source 8 are respectively connected in series between the No. 1 port and the TTL level receiving end.

[0036] In another embodiment of the present invention, the second port and the third port of the single-ended-to-differential conversion circuit 5 are both connected to the control end.

[0037] The single-ended-to-differential conversion circuit 5 is connected to the TTL level transmitting end via port No. 4.

[0038] The fifth port of the single-ended-to-differential conversion circuit 5 is grounded.

[0039] The sixth port of the single-ended-to-differential conversion circuit 5 is connected to the A port of the RS485 bus, and the seventh port of the single-ended-to-differential conversion circuit 5 is connected to the B port of the RS485 bus.

[0040] The eighth port of the single-ended-to-differential conversion circuit 5 is connected to the second voltage source 4 .

[0041] The long-distance anti-interference serial bus circuit in the utility model adds a first current source 1 and a second current source 3 to the RS485 bus, so that the RS485 bus is in an unbalanced state when idle, which can improve the anti-interference threshold. Since the AC impedance of an ideal current source is infinite, this circuit has better dynamic characteristics than resistors, and the bus differential voltage is pulled larger in static state, with better stability, resulting in higher anti-interference performance.

[0042] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention.

Claims

1. A long-distance anti-interference serial bus circuit, characterized in that: The invention comprises an RS485 bus, wherein the two ends of the RS485 bus are respectively an A port and a B port, the A port is connected in series with a first current source (1), the first current source (1) is externally connected in series with a first voltage source (2), the B port is connected in series with a second current source (3), the second current source (3) is externally connected in series with a second voltage source (4), and the RS485 bus is connected to a single-end-to-differential conversion circuit (5).

2. A long-distance anti-interference serial bus circuit according to claim 1, characterized in that: A first resistor (6) is connected in series between the first current source (1) and the second current source (3).

3. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: A capacitor is connected in series between the second current source (3) and the second voltage source (4), and one end of the second current source (3) and one end of the capacitor are both grounded.

4. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: Port No. 1 of the single-ended-to-differential conversion circuit (5) is connected to a TTL level receiving end.

5. A long-distance anti-interference serial bus circuit according to claim 4, characterized in that: A second resistor (7) and a third voltage source (8) are respectively connected in series between the No. 1 port and the TTL level receiving end.

6. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: The second port and the third port of the single-ended-to-differential conversion circuit (5) are both connected to the control end.

7. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: The single-ended-to-differential conversion circuit (5) is connected to the TTL level transmitting end via port No.

4.

8. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: The fifth port of the single-ended-to-differential conversion circuit (5) is grounded.

9. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: The sixth port of the single-ended-to-differential conversion circuit (5) is connected to the A port of the RS485 bus, and the seventh port of the single-ended-to-differential conversion circuit (5) is connected to the B port of the RS485 bus.

10. The long-distance anti-interference serial bus circuit according to claim 1, characterized in that: Port No. 8 of the single-ended-to-differential conversion circuit (5) is connected to the second voltage source (4).