Main Page
RS-485 Standard Overview
Introduction
RS-485 (also known as TIA-485-A or EIA-485) is a balanced differential serial communication standard introduced in 1983 by the Telecommunications Industry Association (TIA). It defines only the physical layer (electrical characteristics), making it protocol-agnostic and highly flexible.
RS-485 is widely adopted in industrial automation, embedded systems, building management, and instrumentation networks due to its robustness, long-distance capability, and resilience to electromagnetic interference (EMI).
Unlike higher-level communication protocols, RS-485 does not define data framing, addressing, or error handling — these are implemented by protocols such as Modbus, BACnet, or proprietary systems.
Core Principles
Differential signaling over twisted pair Multi-drop bus architecture Half-duplex dominant communication (full-duplex optional) Shared medium with controlled access (via protocol)
Key Features
Balanced Differential Signaling Uses two lines (A and B) Signal is represented as voltage difference (Vdiff = VA − VB) Rejects common-mode noise Multipoint Capability Standard supports 32 unit loads Modern ICs allow 128, 256 or more nodes Depends on receiver input impedance (1/8 UL, 1/4 UL, etc.) Data Rate vs Distance Tradeoff 10 Mbps up to ~10–15 meters 1 Mbps up to ~100 meters 100 kbps up to ~1200 meters Topology Linear bus (daisy chain) is REQUIRED for stability Stub length should be minimized (< 30 cm typical) Star topology causes reflections and is strongly discouraged Termination 120 Ω resistors at BOTH ends of the bus Matches cable impedance → reduces reflections
Electrical Characteristics
Differential Voltage Logic 1 (MARK): Vdiff > +200 mV Logic 0 (SPACE): Vdiff < -200 mV Typical driver output: ±1.5V to ±5V Common-Mode Voltage Range -7 V to +12 V (receiver must tolerate this range) Receiver Sensitivity Must detect signals as low as ±200 mV Driver Output Must provide at least 1.5 V across 54 Ω load Three-State Drivers High-Z (tri-state) allows bus sharing Enables multiple transmitters without conflict
Bus Biasing (Failsafe)
Biasing ensures a defined logic state when no driver is active.
Typical implementation:
Pull-up resistor on line A Pull-down resistor on line B
Example:
680 Ω – 4.7 kΩ resistors depending on system
Without biasing:
Bus floats → noise → false triggering
Modern transceivers often include failsafe receivers internally.
Transmission Line Effects
At higher speeds or longer distances, RS-485 behaves as a transmission line:
Signal reflections occur if impedance mismatch exists Propagation delay matters (~5 ns/m typical cable) Ringing and overshoot can corrupt data
Best practices:
Always terminate correctly Avoid stubs Use controlled impedance cable (~120 Ω)
Grounding and Isolation
RS-485 is differential but NOT fully immune to ground differences.
Options:
Shared signal ground (recommended for small systems) Isolated transceivers for: Industrial environments Long-distance links Different power domains
Isolation methods:
Optocouplers Digital isolators (e.g., ADuM series)
Half-Duplex vs Full-Duplex
Half-Duplex Single pair (A/B) One device transmits at a time Most common implementation Full-Duplex Two differential pairs Simultaneous TX/RX Less common due to extra wiring
Collision Avoidance
RS-485 does NOT include collision detection.
Handled by protocol:
Master-slave (e.g., Modbus RTU) Token passing Time-slot scheduling
Incorrect handling leads to:
Bus contention Signal corruption Potential driver damage
Cable Selection
Recommended:
Twisted pair (mandatory) Characteristic impedance: 100–120 Ω Shielded cable for noisy environments
Examples:
CAT5e / CAT6 (works well) Industrial RS-485 cable
Connectors
Common connector types:
Screw terminals DB9 (industrial legacy) RJ45 (structured cabling reuse)
Pinout is NOT standardized → always verify documentation.
Advantages
High immunity to EMI/RFI Long cable lengths Multi-drop capability Low cost implementation Widely supported hardware
Limitations
No built-in protocol Requires careful wiring Sensitive to topology errors No automatic arbitration Ground potential differences can cause issues
Applications
Industrial automation (Modbus RTU, PROFIBUS DP) PLC and SCADA systems Building automation (HVAC, lighting, access control) Energy meters and smart grids CNC machines and robotics Remote sensor networks Elevator and security systems
Comparison with Other Standards
| Feature | RS-232 | RS-422 | RS-485
Signaling - Max Distance - Nodes - Noise Immunity - Duplex } Common MistakesMissing termination resistors Using star topology Long stubs No biasing resistors Mixing A/B polarity Ignoring grounding Using wrong cable (non-twisted) Design Best PracticesUse termination ONLY at bus ends Keep stubs as short as possible Add biasing resistors if needed Use isolated transceivers in harsh environments Validate signal with oscilloscope Label A/B clearly (vendors may swap naming!) Typical Network LayoutLinear bus Termination at both ends Devices connected along the line Optional biasing at one location Debugging TipsMeasure differential voltage (A-B) Check idle state (should be stable) Look for reflections on oscilloscope Verify polarity consistency Disconnect nodes to isolate faults ConclusionRS-485 remains one of the most reliable and widely used physical layer standards for industrial and embedded communication. Its simplicity, robustness, and flexibility ensure its continued relevance even in modern systems alongside Ethernet and wireless technologies. Proper design — especially topology, termination, and grounding — is critical to achieving stable and high-performance communication. This page serves as the central reference for RS-485 on RS-485.COM and links to detailed subtopics such as termination, biasing, isolation, and protocol implementations. |
|---|
