RS485相关学习
| TIA-485-A (Revision of EIA-485) | |
|---|---|
| Standard | ANSI/TIA/EIA-485-A-1998 Approved: March 3, 1998 Reaffirmed: March 28, 2003 |
| Physical media | Balanced interconnecting cable |
| Network topology | Point-to-point, multi-dropped, multi-point |
| Maximum devices | At least 32 unit loads |
| Maximum distance | Not specified |
| Mode of operation | Different receiver levels: binary 1 (OFF) (Voa–Vob < −200 mV) binary 0 (ON) (Voa–Vob > +200 mV) |
| Available signals | A, B, C |
| Connector types | Not 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 star, ring, 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
RS485相关学习的更多相关文章
- 数论算法 剩余系相关 学习笔记 (基础回顾,(ex)CRT,(ex)lucas,(ex)BSGS,原根与指标入门,高次剩余,Miller_Rabin+Pollard_Rho)
注:转载本文须标明出处. 原文链接https://www.cnblogs.com/zhouzhendong/p/Number-theory.html 数论算法 剩余系相关 学习笔记 (基础回顾,(ex ...
- Oracle OCI操作UDT相关学习(二)
沿用 Oracle OCI操作UDT相关学习 一文中定义的类型和表. 1.更改数据 在sqldeveloper 中更新数据, update dxl.cust set addr.street='a11' ...
- ReentrantLock 相关学习笔记
ReentrantLock 相关学习笔记 标签(空格分隔): Java多线程 Java接口Lock有三个实现类:ReentrantLock.ReentrantReadWriteLock.ReadLoc ...
- springCloud相关学习资料
SpringCloud相关学习资料 SpringCloud资料参考: 1. 史上最简单的 SpringCloud 教程 | 终章 2. Spring Cloud基础教程 SpringCloud相关: ...
- 自然语言处理(NLP)相关学习资料/资源
自然语言处理(NLP)相关学习资料/资源 1. 书籍推荐 自然语言处理 统计自然语言处理(第2版) 作者:宗成庆 出版社:清华大学出版社:出版年:2013:页数:570 内容简介:系统地描述了神经网络 ...
- SVG相关学习(一)SVG基础
SVG 相关学习 SVG SVG 指可伸缩矢量图形 (Scalable Vector Graphics) SVG viewBox <svg width="500" heigh ...
- cesium相关学习网址
cesium相关学习网址: cesium资料大全网址:https://www.cnblogs.com/cesium1/p/10062942.html http://192.168.101. ...
- Yii2的相关学习记录,下载Yii2(一)
原先学习过Yii1的相关知识,虽然也是半懂不懂的,但稍微的结构是了解的.现在利用晚上的时间学习下Yii2的使用,打算建一个后台管理系统,这里记录下,以免自己以后忘记. 目前已看一部分Yii2的权威指南 ...
- Linux相关学习笔记-文件系统
在Linux的文件系统中, 相应的文件都按其作用分门别类地放在相关的目录中 以下是最近整理学习的一些, linux中的文件存放 /bin 二进制可执行命令 /dev 设备特殊文件 // 外部设备文件 ...
随机推荐
- JavaScript继承与聚合
一,继承 第一种方式:类与被继承类直接耦合度高 1,首先,准备一个可以被继承的类(父类),例如 //创建一个人员类 function Person(name) {//现在Person里面的域是由Per ...
- linux命令-vim编辑模式
按 i 键 进去编辑模式 左下角显示 插入 按 I 键 进入编辑模式 光标到行首 按 a 键 在光标的后一位 按A 键 光标在行尾 按 o 键 在光标下面另起一行 按O 键 在光标上面另起一行 ...
- Matlab零碎知识
1.不定积分的求取 int syms x;%为自变量 f=x.^2; s=int(f,x); 其中显示辅助函数simple()和pretty()
- 菜鸟攻城狮2(JAVA开发环境)
1.JDK下载路径:www.oracle.com/technetwork/java/javase/downloads 2.安装案例:最后一步认证操作 win+R 或者 点击开始--〉运行 输入“cmd ...
- linux压缩包安装jdk
1.下载jdk压缩包 $ wget http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa00 ...
- redis 有用 Sorted-Set 应用场景
1.1.1Set数据类型的 使用场景 1.可以使用Redis的Set数据类型跟踪一些唯一性数据,比如访问某一博客的唯一IP地址信息.对于此场景,我们仅需在每次访问该博客时将访问者的IP存入Redis中 ...
- 【机器学习】EM最大期望算法
EM, ExpectationMaximization Algorithm, 期望最大化算法.一种迭代算法,用于含有隐变量(hidden variable)的概率参数模型的最大似然估计或极大后验概率估 ...
- 微信小程序自学第二课:app及页面的生命周期、使用setData绑定数据
一.App声明周期 1.App() app.js中的App() 函数用来注册一个小程序.接受一个 object 参数,其指定小程序的生命周期函数等. 示例代码: App({ onLaunch: fun ...
- Haproxy+Keepalived高可用配置
基本实验 参考文档 博文地址 环境拓扑 下面使我们要实现的负载均衡集群图示 主节点地址: 92.0.0.11 从节点地址: 92.0.0.12 共享虚拟地址:92.0.0.8 下面是负载均衡集群可能出 ...
- CTS/APIO后文化课游记
根据ghj1222的尿性,干什么事都要写一个游记划水记啥的...然后就写嘛... 现在是5.30微机课,先开个坑,学校6.5放假,我将于6.5后开始更新本文 APIO回来后发生的事真的特别多...有的 ...