RS485相关学习

 

 

TIA-485-A (Revision of EIA-485)
StandardANSI/TIA/EIA-485-A-1998
Approved: March 3, 1998
Reaffirmed: March 28, 2003
Physical mediaBalanced interconnecting cable
Network topologyPoint-to-pointmulti-droppedmulti-point
Maximum devicesAt least 32 unit loads
Maximum distanceNot specified
Mode of operationDifferent receiver levels:
binary 1 (OFF)
(Voa–Vob < −200 mV)
binary 0 (ON)
(Voa–Vob > +200 mV)
Available signalsA, B, C
Connector typesNot specified

RS-485, also known as TIA-485(-A)EIA-485, is a standard defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and multipoint systems are supported. The standard is jointly published by the Telecommunications Industry Association and Electronic Industries Alliance (TIA/EIA). Digital communications networks implementing the standard can be used effectively over long distances and in electrically noisy environments. Multiple receivers may be connected to such a network in a linear, multidrop bus. These characteristics make RS-485 useful in industrial control systems and similar applications.

该段大致讲解了RS-485的由来。它定义了一套用于串行通信系统的驱动器和及接收器的电气特性的标准。电気信号是均衡的,和多点支持的系统。该标准由电气行业协会和电子行业联盟(TIA/EIA)联合发布。实现该标准的数字通信网络可有效的用于长距离和电噪环境中。多个接收器可以通过线性,分支总线的网络连接。这些特性使得RS485广泛用于工业控制系统及类似应用中。

 

概述部分

 

RS-485 supports inexpensive local networks and multidrop communications links, using the same differential signaling over twisted pair as RS-422. It is generally accepted that RS-485 can be used with data rates up to 10 Mbit/s[a] or, at lower speeds, distances up to 1,200 m (4,000 ft).[2] As a rule of thumb, the speed in bit/s multiplied by the length in metres should not exceed 108. Thus a 50 meter cable should not signal faster than 2 Mbit/s.[3]

RS-485支持廉价的本地网络和多路传输链路,使用与RS-422相同的在双绞线上的差分信号。人们普遍认为RS-485可以用于数据速率高达10 Mbit/s[a],或者在低速时可以使用到1200米(4000英尺)。根据经验,比特/秒的速率乘以米的长度不应超过108。因此,50米的电缆信号不应超过2mbit /s

In contrast to RS-422, which has a driver circuit which cannot be switched off, RS-485 drivers use three-state logic allowing individual transmitters to be deactivated. This allows RS-485 to implement linear bus topologies using only two wires. The equipment located along a set of RS-485 wires are interchangeably called nodes, stations or devices.[4] The recommended arrangement of the wires is as a connected series of point-to-point (multidropped) nodes, i.e. a line or bus, not a starring, or multiply connected network. Star and ring topologies are not recommended because of signal reflections or excessively low or high termination impedance. If a star configuration is unavoidable, special RS-485 repeaters are available which bidirectionally listen for data on each span and then retransmit the data onto all other spans.

直接上机翻了。不得不说,这里太多的专有名词,啃起来很吃力。

与RS-422具有无法关闭的驱动电路相比,RS-485驱动程序使用三态逻辑,允许单个发射机被停用。这允许RS-485只使用两条线实现线性总线拓扑。位于RS-485线上的设备可互换地称为节点、站或设备。推荐的导线排列方式是作为一系列的点对点(多点)节点,即一条线或总线,而不是星形、环形或多重连接网络。由于信号反射或过低或过高的终端阻抗,不推荐星形和环形拓扑结构。如果无法避免星型配置,可以使用特殊的RS-485中继器,在每个跨上双向侦听数据,然后将数据重新传输到所有其他跨

 
Typical bias network together with termination. Biasing and termination values are not specified in the RS-485 standard.

Ideally, the two ends of the cable will have a termination resistor connected across the two wires. Without termination resistors, reflections of fast driver edges can cause data corruption. Termination resistors also reduce electrical noise sensitivity due to the lower impedance. The value of each termination resistor should be equal to the cable characteristic impedance (typically, 120 ohms for twisted pairs). Somewhere along the set of wires, pull up or pull down resistors are established to fail-safe bias each data wire when the lines are not being driven by any device. This way, the lines will be biased to known voltages and nodes will not interpret the noise from undriven lines as actual data; without biasing resistors, the data lines float in such a way that electrical noise sensitivity is greatest when all device stations are silent or unpowered.

典型的偏置网络和终端。RS-485标准中没有指定偏置和终止值。

理想情况下,电缆的两端将有一个终端电阻连接在两根电线上。如果没有终端电阻,快速驱动边缘的反射会导致数据损坏。终端电阻也降低了由于低阻抗的电噪声灵敏度。每个终端电阻器的值应该等于电缆特性阻抗(通常为双绞线的120欧姆)。在一组电线的某处,当线路没有被任何设备驱动时,拉起或拉下电阻器是建立在故障安全偏差的基础上的。这样,线路就会偏向已知电压,节点就不会把无驱动线路的噪声解释为实际数据;在没有偏置电阻的情况下,当所有的设备站都是静音或无电源时,数据线就会以这样一种方式浮动:当所有的设备站都是静音或无电源时,电噪声灵敏度最高。

 

Standard标准

The EIA once labeled all its standards with the prefix "RS" (Recommended Standard), but the EIA-TIA officially replaced "RS" with "EIA/TIA" to help identify the origin of its standards.[6] The EIA has officially disbanded and the standard is now maintained by the TIA as TIA-485, but engineers and applications guides continue to use the RS-485 designation.

RS-485 only specifies electrical characteristics of the generator and the receiver. It does not specify or recommend any communications protocol, only the physical layer. Other standards define the protocols for communication over an RS-485 link. The foreword to the standard recommends The Telecommunications Systems Bulletin TSB-89 which contains application guidelines, including data signaling rate vs. cable length, stub length, and configurations.

Section 4 defines the electrical characteristics of the generator (transmitter or driver), receiver, transceiver, and system. These characteristics include: definition of a unit load, voltage ranges, open circuit voltages, thresholds, and transient tolerance. It also defines three generator interface points (signal lines); "A", "B" and "C". The data is transmitted on "A" and "B". "C" is a ground reference. This section also defines the logic states 1 (off) and 0 (on), by the polarity between A and B terminals. If A is negative with respect to B, the state is binary 1. The reversed polarity (A +, B −) is binary 0. The standard does not assign any logic function to the two states.

EIA曾经把所有标准都标上“RS”(推荐标准),但EIA-TIA正式将“RS”替换为“EIA/TIA”,以帮助确定其标准的来源。EIA已正式解散,TIA现在将该标准维持为TIA-485,但工程师和应用指南仍在使用RS-485。


RS-485只指定发电机和接收机的电气特性。它不指定或推荐任何通信协议,只指定物理层。其他标准定义了RS-485链路上的通信协议。标准的前言推荐电信系统公告TSB-89,其中包含应用指南,包括数据信令率与电缆长度、存根长度和配置。


第4节定义了发电机(发射机或驱动器)、接收机、收发器和系统的电气特性。这些特性包括:单位负载的定义、电压范围、开路电压、阈值和暂态公差。它还定义了三个发电机接口点(信号线);“A”、“B”和“C”。数据在“A”和“B”上传输。“C”是地面参考。本节还通过A和B终端之间的极性定义逻辑状态1 (off)和0 (on)。如果A对B是负的,状态是二进制1。反极性(A + B−)是二进制0。标准没有为这两种状态分配任何逻辑函数

 

 

 

 

 

 

 

 

 

 

参考资料:https://en.wikipedia.org/wiki/RS-485

转载于:https://www.cnblogs.com/dion-90/p/9163890.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
第1章 MGCP协议 1-1 1.1 概述 1-1 1.1.1 基本概念 1-1 1.1.2 相关术语 1-1 1.1.3 协议栈结构 1-7 1.1.4 MGCP协议的应用 1-8 1.2 协议消息 1-8 1.2.1 消息类型 1-8 1.2.2 消息结构 1-11 1.3 基本控制流程 1-21 1.3.1 网关注册流程 1-21 1.3.2 成功的终端呼叫流程(在同一MG下) 1-22 1.3.3 成功的终端呼叫流程(在不同MG下) 1-35 第2章 H.248协议 2-1 2.1 概述 2-1 2.1.1 基本概念 2-1 2.1.2 相关术语 2-1 2.1.3 协议栈结构 2-6 2.1.4 H.248协议的应用 2-7 2.2 协议消息 2-8 2.2.1 消息类型 2-8 2.2.2 消息结构 2-9 2.3 基本控制流程 2-24 2.3.1 网关注册流程 2-24 2.3.2 网关注销流程 2-25 2.3.3 网关初始化流程 2-26 2.3.4 成功的终端呼叫流程 2-27 2.3.5 成功的中继呼叫流程 2-38 第3章 SIP协议 3-1 3.1 概述 3-1 3.1.1 基本概念 3-1 3.1.2 相关术语 3-2 3.1.3 协议栈结构 3-5 3.1.4 SIP协议的应用 3-6 3.2 协议消息 3-6 3.2.1 消息类型 3-6 3.2.2 消息结构 3-9 3.3 基本消息流程 3-23 3.3.1 SIP用户注册流程 3-23 3.3.2 成功的SIP用户呼叫流程 3-26 3.3.3 成功的SIP中继呼叫流程 3-34 3.3.4 成功的SIP-T中继呼叫流程 3-37 第4章 H.323协议 4-1 4.1 概述 4-1 4.1.1 基本概念 4-1 4.1.2 相关术语 4-1 4.1.3 协议栈结构 4-4 4.1.4 H.323协议的应用 4-5 4.2 RAS协议 4-7 4.2.1 概述 4-7 4.2.2 协议消息 4-7 4.2.3 基本消息流程 4-15 4.3 H.225.0呼叫信令协议 4-17 4.3.1 概述 4-17 4.3.2 协议消息 4-17 4.3.3 基本消息流程 4-25 4.4 H.245协议 4-27 4.4.1 概述 4-27 4.4.2 协议消息 4-30 4.4.3 基本消息流程 4-39 4.5 H.323呼叫流程 4-40 4.5.1 成功的H.323用户呼叫流程(正常启动) 4-40 4.5.2 成功的H.323用户呼叫流程(快速启动) 4-68 4.5.3 成功的H.323中继呼叫流程 4-69 第5章 SIGTRAN协议 5-1 5.1 概述 5-1 5.1.1 SIGTRAN功能 5-1 5.1.2 相关术语 5-1 5.1.3 协议栈结构 5-2 5.1.4 在NGN中的应用 5-2 5.2 SCTP协议 5-3 5.2.1 概述 5-3 5.2.2 SCTP相关术语 5-4 5.2.3 SCTP功能 5-8 5.2.4 SCTP原语 5-11 5.2.5 SCTP协议消息 5-15 5.2.6 SCTP基本信令流程 5-38 5.3 M2UA协议 5-43 5.3.1 概述 5-43 5.3.2 M2UA相关术语 5-43 5.3.3 M2UA业务 5-45 5.3.4 M2UA功能 5-46 5.3.5 M2UA协议栈结构 5-48 5.3.6 M2UA边界原语 5-49 5.3.7 M2UA协议的应用 5-51 5.3.8 M2UA协议消息 5-52 5.3.9 M2UA基本信令流程 5-75 5.4 M3UA协议 5-76 5.4.1 概述 5-76 5.4.2 M3UA相关术语 5-77 5.4.3 M3UA业务 5-86 5.4.4 M3UA功能 5-88 5.4.5 M3UA协议栈结构 5-95 5.4.6 M3UA边界原语 5-95 5.4.7 M3UA协议的应用 5-97 5.4.8 M3UA协议消息 5-101 5.4.9 M3UA基本信令流程 5-134 5.5 IUA协议 5-137 5.5.1 概述 5-137 5.5.2 IUA相关术语 5-137 5.5.3 IUA业务 5-138 5.5.4 IUA功能 5-139 5.5.5 IUA协议栈结构 5-140 5.5.6 IUA边界原语 5-140 5.5.7 IUA协议的应用 5-142 5.5.8 IUA协议消息 5-142 5.5.9 IUA基本信令流程 5-157 5.6 V5UA协议 5-162 5.6.1 概述 5-162 5.6.2 V5UA相关术语 5-163 5.6.3 V5UA功能 5-164 5.6.4 VUA协议栈结构 5-165 5.6.5 V5UA边界原语 5-165 5.6.6 V5UA协议的应用 5-166 5.6.7 V5UA协议消息 5-167 5.6.8 V5UA基本信令流程 5-175 第6章 No.7信令 6-1 6.1 概述 6-1 6.2 MTP 6-2 6.2.1 基本概念 6-2 6.2.2 信令消息 6-4 6.3 ISUP 6-3 6.3.1 概述 6-3 6.3.2 信令消息 6-6 6.3.3 基本信令流程 6-10 6.4 SCCP 6-12 6.4.1 基本概念 6-12 6.4.2 信令消息 6-13 6.5 TCAP 6-3 6.5.1 基本概念 6-3 6.5.2 信令消息 6-5 6.6 INAP 6-8 6.6.1 基本概念 6-8 6.6.2 信令消息 6-11 6.6.3 基本信令流程 6-13 第7章 R2信令 7-1 7.1 基本概念 7-1 7.2 R2信令的应用 7-2 7.3 基本信令流程 7-2 第8章 DSS1信令与V5协议 8-1 8.1 DSS1信令 8-1 8.1.1 基本概念 8-1 8.1.2 DSS1的应用 8-6 8.1.3 DSS1的协议结构 8-7 8.1.4 呼叫控制消息 8-10 8.1.5 基本信令流程 8-12 8.2 V5协议 8-14 8.2.1 基本概念 8-15 8.2.2 V5协议的应用 8-18 8.2.3 V5.2接口的协议结构 8-19 8.2.4 第三层协议消息 8-22 8.2.5 V5.2接口的呼叫控制流程 8-27 附录A 遵循的标准 A-1 A.1 中国标准 A-1 A.2 国际标准 A-1 附录B 缩略语表 B-1

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值