# RS-232

**RS-232** 是一种单端、点对点、全双工或半双工串行接口标准，用于连接数据终端设备（DTE）与数据电路终接设备（DCE），最初由电子工业联盟（EIA）于20世纪60年代初制定，用以连接调制解调器。现行版本为TIA-232-F，标题为《采用串行二进制数据交换的数据终端设备与数据电路终接设备之间的接口》，于2012年重新确认，未作技术变更。<sup>[1](https://www.normsplash.com/Samples/TIA/127475168/TIA-232-F-1997-(R2012)-en.pdf)</sup> 这一常见名称中的“RS”代表“推荐标准”（recommended standard），该前缀后来被EIA/TIA取代，以标明标准制定机构。<sup>[2](https://www.analog.com/en/resources/technical-articles/fundamentals-of-rs232-serial-communications.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 电压电平 | 逻辑0（空号）驱动为+5 V至+15 V；逻辑1（传号）驱动为−5 V至−15 V；接收器阈值为±3 V，提供最低2 V的噪声容限<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> |
| 速度与距离 | 标准最大速率为20 kbit/s，压摆率限制为30 V/µs；电缆长度受2500 pF容性负载限制约束，约80英尺（24米）<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> |
| 连接器 | 标准规定为25位D-sub；大多数PC使用9针DE-9；25个引脚中有22个具有指定功能<sup>[1](https://www.normsplash.com/Samples/TIA/127475168/TIA-232-F-1997-(R2012)-en.pdf)</sup><sup> • </sup><sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> |
| 拓扑 | 点对点、单端，每条线路一个驱动器和一个接收器，接收器输入阻抗为3 kΩ至7 kΩ<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> |
| 流控制 | 硬件RTS/CTS或软件XON/XOFF字符；硬件更可靠，但需要额外线路<sup>[5](https://www.ti.com/lit/an/slla544/slla544.pdf)</sup> |
| 收发器 | MAX232等单电源芯片使用片上电荷泵（一个倍压器和一个反相器），从+5 V生成约±10 V的驱动器电源<sup>[6](https://www.mfgchips.de/datasheets/0a/MAX3232EEWE-T.pdf)</sup> |
| 2025年现状 | 现代笔记本电脑自约2012年起不再配备DB9连接器，但RS-232端口在工业机器、医疗设备、实验室仪器和销售点系统中仍然常见<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)</sup><sup> • </sup><sup>[8](https://tech.yahoo.com/computing/articles/everyone-thinks-usb-killed-66-150018202.html)</sup> |

## 历史与标准化

其谱系可追溯至1969年修订的RS-232-C，经1986年的EIA-232-D，到TIA/EIA-232-E，后者使标准与ITU建议V.24和V.28以及ISO IS2110保持一致。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> 1997年发布的F版未引入会对符合早期版本的设备造成兼容性问题的技术变更。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> 该标准由TR-30.2委员会制定，取代EIA TSB 26（2004年7月）；1997年版于2012年重新确认。<sup>[9](https://shop.standards.ie/en-ie/standards/tia-232-f1997-r2012--1066346_saig_tia_tia_2479477/)</sup><sup> • </sup><sup>[1](https://www.normsplash.com/Samples/TIA/127475168/TIA-232-F-1997-(R2012)-en.pdf)</sup> RS-232-C在其时代被描述为美国最常用的数据终端设备到数据电路终接设备的接口，支持全双工或半双工、同步或异步操作。<sup>[10](http://bitsavers.informatik.uni-stuttgart.de/pdf/datapro/communications_standards/2740_EIA_RS-232-C.pdf)</sup>

## 电气特性

**反相负逻辑。** 原始标准定义于1962年，早于TTL逻辑，因此不使用5 V和地电平。驱动器输出高电平为+5 V至+15 V，低电平为−5 V至−15 V；在接收器端，+3 V至+15 V读作0，−3 V至−15 V读作1，±3 V之间的电压未定义。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup><sup> • </sup><sup>[11](https://hallaweb.jlab.org/tech/Detectors/public%5Fhtml/manuals/chip_specs/M-Z/maxim/lvds_maxim/AN83.pdf)</sup> 低电平即逻辑1，历史上称为“传号”（marking），因此极性相对于TTL是反相的：空闲线路处于负电压，逻辑0或“空号”为正电压。<sup>[11](https://hallaweb.jlab.org/tech/Detectors/public%5Fhtml/manuals/chip_specs/M-Z/maxim/lvds_maxim/AN83.pdf)</sup><sup> • </sup><sup>[12](https://advantech-bb.com/wp-content/uploads/2014/12/RS-422-RS-485-eBook.pdf)</sup> 由于驱动器带载摆幅为±5 V，而接收器在±3 V处判定，该接口具有最低2 V的噪声容限；开路驱动器输出可达±25 V。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup><sup> • </sup><sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup>

**电荷泵为何存在。** [微控制器](https://www.edgepedia.org/zh/microcontroller)和PC的通用异步收发器（UART）工作在TTL或CMOS逻辑电平，与RS-232不兼容，因此需要电平转换收发器进行双向转换。<sup>[13](https://cw.fel.cvut.cz/b231/_media/courses/be2m37mam/lectures/mam8_enua.pdf)</sup> 早期RS-232集成电路需要双电源轨（+15 V和−15 V）；20世纪80年代末，Maxim将电荷泵集成到收发器中，创造了第一款单电源RS-232芯片MAX232。<sup>[6](https://www.mfgchips.de/datasheets/0a/MAX3232EEWE-T.pdf)</sup> 其第一个电荷泵作为[倍压器](https://www.edgepedia.org/zh/voltage-doubler)，从5 V电源生成+10 V；第二个转换器配置为反相器，从+10 V生成−10 V，为发送器供电。<sup>[6](https://www.mfgchips.de/datasheets/0a/MAX3232EEWE-T.pdf)</sup> 后来的MAX3232等器件使用低压差输出级，电荷泵输出稳压在±5.5 V以节省功耗。<sup>[6](https://www.mfgchips.de/datasheets/0a/MAX3232EEWE-T.pdf)</sup>

## 连接器、引脚定义与DTE/DCE

标准规定使用25位接口连接器，25个引脚中有22个具有指定功能，尽管实际实现中很少全部使用。<sup>[1](https://www.normsplash.com/Samples/TIA/127475168/TIA-232-F-1997-(R2012)-en.pdf)</sup><sup> • </sup><sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> 实践中大多数PC使用9针连接器。DCE连接器为公外壳配母针，DTE为母外壳配公针，因此直通电缆即可连接两者。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> E版规定了带键位的25针连接器，上排13针、下排12针，以防止不当连接，并将公连接器与DTE关联。<sup>[14](https://www.bitsavers.org/pdf/datapro/communications_standards/2741_EIA_RS-232-E.pdf)</sup>

**DTE与DCE。** 两种端口类型互补：DTE端口的输出是DCE端口的输入，反之亦然，引脚名称和编号相同但信号流向相反。除调制解调器外，大多数设备为DTE；调制解调器为DCE。<sup>[15](https://advantechfiles.blob.core.windows.net/cms/e7e269e7-78b9-4848-96d1-aa7b6acca0d4/Whitepaper%20%20PDF%20File/RS-232_ConnectionsThatWork-ModemStraightCrossDTE-DCE_3518faq.pdf)</sup><sup> • </sup><sup>[16](https://files.comtrol.com/tech_misc/cabling/customcables.pdf)</sup> 连接DTE与DCE时，用直通电缆匹配信号名称；连接两个DTE或两个DCE设备时，使用交叉（零调制解调器）电缆，将TD交叉到RD、RTS交叉到CTS、DTR交叉到DSR。<sup>[15](https://advantechfiles.blob.core.windows.net/cms/e7e269e7-78b9-4848-96d1-aa7b6acca0d4/Whitepaper%20%20PDF%20File/RS-232_ConnectionsThatWork-ModemStraightCrossDTE-DCE_3518faq.pdf)</sup> 连接两台计算机（均为DTE）的电缆还模拟了调制解调器到CD/DSR的连接，这就是它被称为零调制解调器电缆的原因。<sup>[15](https://advantechfiles.blob.core.windows.net/cms/e7e269e7-78b9-4848-96d1-aa7b6acca0d4/Whitepaper%20%20PDF%20File/RS-232_ConnectionsThatWork-ModemStraightCrossDTE-DCE_3518faq.pdf)</sup> 使用3线电缆时，如需控制则必须使用软件流控制。<sup>[16](https://files.comtrol.com/tech_misc/cabling/customcables.pdf)</sup>

## 协议、时序与流控制

标准规定最大数据速率为20 kbit/s，驱动器最大压摆率为30 V/µs，以限制串扰。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> 实践中速率限制常被突破：一些收发器保证250 kbps，通常可达350 kbps，同时保持压摆率限制。<sup>[11](https://hallaweb.jlab.org/tech/Detectors/public%5Fhtml/manuals/chip_specs/M-Z/maxim/lvds_maxim/AN83.pdf)</sup>

**握手。** 流控制的存在是为了防止接收器过载，让接收器告知发送器暂停发送数据，可通过软件、硬件或两者兼施实现。<sup>[5](https://www.ti.com/lit/an/slla544/slla544.pdf)</sup> [软件](https://www.edgepedia.org/zh/software)握手沿数据线发送控制字符：Xon启动传输，Xoff停止传输，省去了硬件流控制所需的额外线路。<sup>[5](https://www.ti.com/lit/an/slla544/slla544.pdf)</sup> 硬件流控制（RTS/CTS）被描述为优于软件流控制，代价是额外线路：DTE通过使RTS有效来发起传输，DCE通过使CTS有效来作出响应。<sup>[5](https://www.ti.com/lit/an/slla544/slla544.pdf)</sup>

## 数据一览

| 参数 | 数值 |
|---|---|
| 驱动器输出，带载（3–7 kΩ） | 最低±5 V，最高±15 V<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> |
| 接收器阈值 | ±3 V；之间未定义<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup> |
| 接收器输入电阻 | 3 kΩ至7 kΩ<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> |
| 负载电容 | 20 kbaud以下为2500 pF；以上为1000 pF<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup><sup> • </sup><sup>[17](https://www.semiconductor-electronics.com/files/0c/lt1381cs-pbf(2).pdf)</sup> |
| 压摆率 | 4至30 V/µs<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> |
| 速度与距离（思科） | 2400 baud：200英尺（60米）；9600 baud：50英尺（15米）；57600 baud：25英尺（7.6米）；115200 baud：12英尺（3.7米）<sup>[18](https://www.farnell.com/datasheets/1856199.pdf)</sup> |

容性负载限制取代了RS-232-C最初的15米电缆长度规则；在典型电缆和接收器电容下，实际最大距离约为80英尺，对于长电缆或重负载，压摆率受驱动器输出电流对容性负载充电的限制。<sup>[3](https://www.ti.com/lit/an/slla037a/slla037a.pdf)</sup><sup> • </sup><sup>[11](https://hallaweb.jlab.org/tech/Detectors/public%5Fhtml/manuals/chip_specs/M-Z/maxim/lvds_maxim/AN83.pdf)</sup><sup> • </sup><sup>[5](https://www.ti.com/lit/an/slla544/slla544.pdf)</sup> 典型传输很少超过100英尺，因为最小驱动电压与接收器阈值之间仅有2 V噪声容限。<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> 超出电容预算会减慢边沿并侵蚀噪声容限，因此一般规则是数据速率越慢，距离越远。<sup>[18](https://www.farnell.com/datasheets/1856199.pdf)</sup>

## 与RS-422、RS-485及USB转串口的比较

RS-232设计为点对点而非多点接口，因此其驱动器规定用于单个3 kΩ至7 kΩ负载。<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> RS-422则使用平衡输出和差分输入，以获得更好的抗噪性，允许更远的距离和最多十个接收器，发送与接收路径独立，无需方向控制。<sup>[4](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)</sup> RS-422/485设备在需要中继器前可相距达4000英尺（1220米），而EIA-232在20 kbps下限制为50英尺，且最多32个RS-485收发器可共享一条总线。<sup>[12](https://advantech-bb.com/wp-content/uploads/2014/12/RS-422-RS-485-eBook.pdf)</sup> RS-485在RS-422基础上将设备数从10提升到32，并将共模范围从±7 V拓宽至−7 V至+12 V。<sup>[19](https://www.farnell.com/datasheets/2301129.pdf)</sup>

USB已取代RS-232成为PC上的标准串行接口，以差分方式传输，支持总线供电和热插拔。<sup>[12](https://advantech-bb.com/wp-content/uploads/2014/12/RS-422-RS-485-eBook.pdf)</sup> 现代笔记本电脑自约2012年起不再配备DB9连接器，因此现代笔记本电脑的许多串行连接使用USB转RS232或USB转RS485/RS422转换器。<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)</sup> 常见的USB-UART桥接芯片包括FTDI FT232系列（FT232H最高3 Mbaud）、南京沁恒CH340/CH341最高2 Mbaud，以及旺玖科技PL2303 TA/TB最高6 Mbaud。<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)</sup>

**3.3 V合规性。** RS-232线路驱动器必须在规定负载下提供至少±5 V才符合TIA/EIA-232-F；仅3.3 V且无电荷泵的UART不符合合规要求，无法驱动长电缆，因此即使逻辑侧运行在3.3 V，仍需合适的收发器芯片。<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)</sup>

## 遗留与持续使用

RS-232历史上用于连接计算机与调制解调器、打印机、键盘、操纵杆和鼠标，其中大多数后来已转为USB。它仍存在于GPS接收器、销售点终端、血糖仪、条码扫描器、汽车远程信息处理和机顶盒中，这些应用需要低成本、低速（低于1 Mbps）的串行通信。<sup>[6](https://www.mfgchips.de/datasheets/0a/MAX3232EEWE-T.pdf)</sup> 在工业机器、医疗设备、实验室仪器以及全球数百万家商店的销售点系统中，该端口仍然常见。<sup>[8](https://tech.yahoo.com/computing/articles/everyone-thinks-usb-killed-66-150018202.html)</sup>

**现场问题与诊断。** 接地环路是反复出现的隐患；在USB地与RS-232地之间具有1.5 kV RMS隔离屏障的隔离适配器有助于打破驱动器和带接地热电偶的过程控制器上的接地环路。<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)</sup> 廉价适配器有时在连接器处将DCD/DTR/DSR环回并短接RTS/CTS，这会破坏罗克韦尔自动化设备上使用硬件流控制的DF1等协议。<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)</sup> 实际诊断从分线分析仪开始：检查预期指示灯是否亮起、意外指示灯是否指示短路、电压是否处于合理水平、降低波特率是否有帮助，以及计算机与设备是否在流控制上达成一致。<sup>[20](https://www.aplawrence.com/Unixart/serial.art.html)</sup> 在同一侧将CTS连接到RTS、DTR连接到DSR的[环回](https://www.edgepedia.org/zh/loopback)实现，可在诊断目的下绕过硬件握手。<sup>[5](https://www.ti.com/lit/an/slla544/slla544.pdf)</sup>

## References

1. [TIA-232-F-1997 (R2012): Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, Telecommunications Industry Association](https://www.normsplash.com/Samples/TIA/127475168/TIA-232-F-1997-(R2012)-en.pdf)
2. [Fundamentals of RS-232 Serial Communications, Analog Devices](https://www.analog.com/en/resources/technical-articles/fundamentals-of-rs232-serial-communications.html)
3. [Interface Circuits for TIA/EIA-232-F (Rev. A), Texas Instruments application report](https://www.ti.com/lit/an/slla037a/slla037a.pdf)
4. [Guide to Selecting and Using RS-232, RS-422, and RS-485 Serial Data Standards, Analog Devices](https://www.analog.com/en/resources/technical-articles/guide-to-selecting-and-using-rs232-rs422-and-rs485-serial-data-standards.html)
5. [RS-232 Frequently Asked Questions, Texas Instruments application report](https://www.ti.com/lit/an/slla544/slla544.pdf)
6. [The evolution of the RS-232 transceiver, Maxim Integrated application note](https://www.mfgchips.de/datasheets/0a/MAX3232EEWE-T.pdf)
7. [USB to RS232 Converter: Windows 10/11 Industrial Selection, Industrial Monitor Direct knowledge base](https://industrialmonitordirect.com/blogs/knowledgebase/selecting-usb-to-serial-rs232-converters-for-windows-10-and-11)
8. [Everyone thinks USB killed this 66-year-old PC port (but it secretly runs the modern world), Yahoo Tech](https://tech.yahoo.com/computing/articles/everyone-thinks-usb-killed-66-150018202.html)
9. [TIA 232 : F1997(R2012), NSAI standards catalog entry](https://shop.standards.ie/en-ie/standards/tia-232-f1997-r2012--1066346_saig_tia_tia_2479477/)
10. [Datapro report: RS-232-C Interface, archived at bitsavers](http://bitsavers.informatik.uni-stuttgart.de/pdf/datapro/communications_standards/2740_EIA_RS-232-C.pdf)
11. [Fundamentals of RS-232 Serial Communications, Maxim Integrated AN83](https://hallaweb.jlab.org/tech/Detectors/public%5Fhtml/manuals/chip_specs/M-Z/maxim/lvds_maxim/AN83.pdf)
12. [RS-422 and RS-485 Applications eBook, Advantech B+B SmartWorx](https://advantech-bb.com/wp-content/uploads/2014/12/RS-422-RS-485-eBook.pdf)
13. [RS232 (TIA/EIA-232-F) lecture notes, Czech Technical University](https://cw.fel.cvut.cz/b231/_media/courses/be2m37mam/lectures/mam8_enua.pdf)
14. [EIA RS-232-E Interface Standard, Datapro report archived at bitsavers](https://www.bitsavers.org/pdf/datapro/communications_standards/2741_EIA_RS-232-E.pdf)
15. [RS-232 Connections That Work, B+B SmartWorx FAQ](https://advantechfiles.blob.core.windows.net/cms/e7e269e7-78b9-4848-96d1-aa7b6acca0d4/Whitepaper%20%20PDF%20File/RS-232_ConnectionsThatWork-ModemStraightCrossDTE-DCE_3518faq.pdf)
16. [Comtrol Cables User Guide](https://files.comtrol.com/tech_misc/cabling/customcables.pdf)
17. [RS232 Quick Guide, LT1381 datasheet](https://www.semiconductor-electronics.com/files/0c/lt1381cs-pbf(2).pdf)
18. [CAB-232 MT and CAB-232 FC EIA/TIA-232 Serial Cable Specifications, Cisco](https://www.farnell.com/datasheets/1856199.pdf)
19. [RS-485: Still the Most Robust Communication, Farnell/Maxim](https://www.farnell.com/datasheets/2301129.pdf)
20. [Serial Wiring and Communications for the Confused, A.P. Lawrence](https://www.aplawrence.com/Unixart/serial.art.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Boards, peripherals & form factors › Peripherals & expansion hardware › External peripheral connectivity and adapters

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/rs-232

English original: https://www.edgepedia.org/rs-232
