工程师 - RS232通讯介绍

RS232介绍

RS-232是美国电子工业联盟制定的串行数据通信的接口标准,原始编号全稱是EIA-RS-232。它广泛用于计算机串行接口外设连接。 RS-232C标准,其中EIA代表美国电子工业协会,RS代表推荐标准,232是标识号,C代表RS232的第三次修改,在这之前,还有RS232B、RS232A。

目前的最新版本是由美国电信工业协会(TIA, Telecommunications Industry Association,由EIA所分出的一个组织)所发行的TIA-232-F,它同时也是美国国家标准ANSI/TIA-232-F-1997(R2002),此标准于2002年受到再确认。在 1997年由TIA/EIA发行当时的编号则是TIA/EIA-232-F与ANSI/TIA/EIA-232-F-1997。在此之前的版本是TIA/EIA-232-E。

它规定连接电缆和机械、电气特性、信号功能及发送过程。其他常用电气标准还有EIA-RS-422-A、EIA-RS-423A、EIA-RS-485。

目前在IBM PC机上的COM1、COM2接口,就是RS-232C接口。RS-232对电气特性、逻辑电平和各种信号线功能都作了规定。

由于RS-232-C的重大影响,即使自IBM PC/AT开始改用9针连接器起,目前已几乎不再使用RS-232中规定的25针连接器。一般人谈到RS-232此一接口时很有可能指的是RS-232-C。

= = = = = = = = 

在电信领域,RS-232 或建议标准 232 最初是 1960 年推出的一种用于数据串行通信传输的标准。它正式定义了连接计算机终端或 PC 等 DTE(数据终端设备)和调制解调器等 DCE(数据电路终端设备或数据通信设备)的信号。该标准规定了信号的电气特性和定时、信号的含义以及连接器的物理尺寸和引脚。

RS-232 标准常用于串行端口和串行电缆。它目前仍广泛应用于工业通信设备中。

与后来的 RS-422、RS-485 和以太网等接口相比,RS-232 的传输速度较低、最大电缆长度较短、电压摆幅较大、标准连接器较大、不具备多点功能和有限的多路传输能力。在现代个人电脑中,USB 已取代了 RS-232 的大部分外设接口功能。

In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a DTE (data terminal equipment) such as a computer terminal or PC, and a DCE (data circuit-terminating equipment or data communication equipment), such as a modem. The standard defines the electrical characteristics and timing of signals, the meaning of signals, and the physical size and pinout of connectors.

The RS-232 standard had been commonly used with serial ports and serial cables. It is still widely used in industrial communication devices.

Compared with later interfaces such as RS-422, RS-485 and Ethernet, RS-232 has lower transmission speed, shorter maximum cable length, larger voltage swing, larger standard connectors, no multipoint capability and limited multidrop capability. In modern personal computers, USB has displaced RS-232 from most of its peripheral interface roles.

RS232 Max Length

RS232 通常使用 9600bps 的数据波特率。这种波特率较低,电缆长度可达约 150 米(约 500 英尺)。

随着电缆上数据传输速度的增加,数据的物理信号很容易耦合到相邻的导线上。这会在电缆上产生噪声。噪声的形式可能是相邻数据线上的垃圾数据。为了减少相邻数据线的噪声影响,电缆的长度应保持较短。导线之间的绝缘层是电容,高频信号很容易通过。长度越短,电容越小,高频信号就越难耦合到相邻电缆上。

下表是根据波特率计算电缆长度的一般指南。请注意,这只是一般指南。电缆的材料和结构也会影响电缆的长度。为安全起见,最好留出 2% 的余量。 如果您真的想进一步拉长电缆长度,请确保您购买的是高质量的 RS232 电缆,并使用更好的串行数据协议来检测数据损坏并进行必要的数据重传。

The RS232 often uses a data baud-rate of 9600bps. This baud-rate is low and the cable length distance can be up to about 150 meters (about 500ft).

As the speed of data transmission increases on the cable, the physical signal of the data can easily be coupled to the adjacent wire. This induces noise onto the cable. The noise can be in the form of garbage data on the adjacent data wire. To reduce the effect of induced noise from the adjacent wire, the length is kept shorter. The insulation between wires is capacitance which high-frequency signals can easily pass over. The shorter length will keep the capacitance lower which makes it harder for the higher-frequency signal to be coupled over to the adjacent cable.

The following table is a general guide to the cable length base on the baud-rate. Please note that this is only a general guide. The material and the construction of the cable also play a part in the length of the cable. To be safe, it is better to

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

夜流冰

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值