# SSI（同步串行接口）

同步串行接口（Synchronous Serial Interface，SSI）是一种点对点串行通信协议，用于将绝对值编码器的位置数据传送至控制器，其中控制器（主站）提供时钟信号，编码器（从站）在每个时钟脉冲返回一个数据位。该协议由 Max Stegmann GmbH 于 1984 年开发，用于传输绝对值编码器的位置数据，因其简单性和长期服务历史，至今仍广泛应用于工业自动化领域。<sup>[1](https://www.sick.com/media/content/hc6/h9d/9692994437150.pdf)</sup><sup> • </sup><sup>[2](https://stigab.se/en/attributes/ssi/)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由 Max Stegmann GmbH（现属 SICK）于 1984 年为绝对值编码器位置数据传输而开发<sup>[1](https://www.sick.com/media/content/hc6/h9d/9692994437150.pdf)</sup> |
| 架构 | 主站/从站，点对点；控制器为编码器提供时钟，编码器每个时钟脉冲返回一位<sup>[3](https://www.encoder.com/ssi)</sup> |
| 接线 | 两对差分线，一对用于时钟，一对用于数据，取代了并行输出中每位一根线的布置<sup>[1](https://www.sick.com/media/content/hc6/h9d/9692994437150.pdf)</sup> |
| 数据格式 | 最高位在前，多圈位在单圈位之前；格雷码或二进制码，主站必须配置为匹配的格式<sup>[4](https://www.encoder.com/hubfs/tech-bulletin-500s/TB529-understanding-epcs-ssi-encoders.pdf?hsLang=en)</sup> |
| 典型帧 | 帧长度和内容因编码器而异，数据位可能附带可选的错误/状态位和奇偶校验位；时钟频率从 100 kHz 到 2 MHz<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup><sup> • </sup><sup>[9](https://www.sick.com/media/docs/9/79/079/technical_information_ssi_interface_description_en_im0100079.pdf)</sup> |
| 电缆长度 | 在 1 MHz 下，使用差分 RS-422 线驱动器时，电缆长度通常可达 100 米<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup> |
| 方向 | 单向，仅从编码器到控制器；不支持参数写入、扩展诊断或数据完整性校验<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup><sup> • </sup><sup>[6](https://www.renishaw.com/en/optical-encoders-frequently-asked-questions--34674)</sup> |

## 传输工作原理

主站通过向编码器的时钟输入端发送时钟序列来控制数据流。当编码器检测到时钟序列的第一个下降沿时，其电子电路锁存当前位置值，并开始串行发送数据位；此后每来一个时钟上升沿，就发送一个数据位。<sup>[4](https://www.encoder.com/hubfs/tech-bulletin-500s/TB529-understanding-epcs-ssi-encoders.pdf?hsLang=en)</sup> 由于主站同时设定位置采集的时序和时钟频率，因此控制器决定了位置被记录的时刻以及传输的速度。<sup>[7](https://www.sick.com/at/en/glossary/ssi/g/p555349)</sup>

在时钟的最后一个下降沿之后，编码器将数据线拉低一段时间，称为暂停时间（t<sub>p</sub>），然后将数据线恢复至空闲高电平状态，并加载更新后的位置数据。主站必须至少等待 30 µs（t<sub>m</sub>）后才能发送更多时钟信号。如果时钟信号过早到达，编码器会重发之前的数据而非新数据；这种行为称为多路传输，可以被有意利用来读取两次数据并验证两次读数是否一致。<sup>[4](https://www.encoder.com/hubfs/tech-bulletin-500s/TB529-understanding-epcs-ssi-encoders.pdf?hsLang=en)</sup>

## 数据格式与编码

数据位以最高位在前的方式发送，多圈位置位（圈数）在适用时位于单圈位置位之前。<sup>[4](https://www.encoder.com/hubfs/tech-bulletin-500s/TB529-understanding-epcs-ssi-encoders.pdf?hsLang=en)</sup> 对于 25 位编码器，帧长度和内容各不相同，因为没有标准的起始位，帧可以由[格雷码](https://www.edgepedia.org/zh/gray-code)或二进制码的数据位以及可选的奇偶校验位或报警位组成，报警位通常取反以表示故障。有些编码器使用 12 位或 13 位位置数据，后跟八位或更多诊断信息。<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup> 格雷码在相邻位置之间只有一位发生变化，传输时用以最大限度地减少转换期间的错误，不过也使用二进制格式。<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup>

控制器的支持情况反映了这种格式。西门子（Siemens）定位模块（如 FM 351）仅接受格雷码 SSI 编码器，支持 13 位或 25 位帧；25 位多圈帧在“树形”排列中携带 12 位圈数和 13 位每圈步数。<sup>[8](https://support.industry.siemens.com/cs/attachments/1108705/Fm351v4_e.pdf)</sup>

## 工作模式

SICK 编码器区分两种 SSI 模式。在异步 SSI 模式下，位置每 125 µs 持续生成一次，与主站时钟无关；两个时钟脉冲串之间的等待时间必须保持恒定，允许的偏差为 ±20%，且不得超过 600 ms，主站必须容忍同一位置值被传输两次。在同步 SSI 模式下，位置生成与主站时钟绑定：在脉冲串最后一个时钟结束后 20 µs 开始生成，125 µs 后可用，时钟串之间的等待时间至少为 150 µs。不可编程编码器以异步模式工作；可编程编码器可选择任一模式，默认为异步模式。<sup>[9](https://www.sick.com/media/docs/9/79/079/technical_information_ssi_interface_description_en_im0100079.pdf)</sup>

## 优势与局限

**优势。** [差分信号](https://www.edgepedia.org/zh/differential-signaling)使 SSI 对电气噪声具有很强的抗扰性，与并行输出相比，简单的两线数据总线降低了接线成本——并行输出需要每位一根输出线，例如 12 位位置需要 12 根输出线。<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup><sup> • </sup><sup>[10](https://www.ifm.com/us/en/us/learn-more/motion-control/encoders/absolute-encoders)</sup> 许多控制器内置 SSI 接口，且该协议为点对点接口，将一个编码器连接到一个主站。<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup><sup> • </sup><sup>[3](https://www.encoder.com/ssi)</sup>

**局限。** SSI 是单向的：数据仅从编码器流向控制器，因此不借助制造商的专用扩展就无法写入配置参数或读取扩展诊断信息。与更新的协议相比，其数据速率有限，固定的帧大小在需要较少位数时可能浪费带宽。<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup> SSI 也不提供数据完整性校验；雷尼绍（Renishaw）指出，其 RESOLUTE 编码器系列转而提供 BiSS C（单向），这是一种类似的协议，增加了错误和警告信息，并通过循环冗余校验（CRC）保护位置数据。<sup>[6](https://www.renishaw.com/en/optical-encoders-frequently-asked-questions--34674)</sup> 由于 SSI 仅限于主站/从站点对点架构，需要将许多编码器和设备集中在一个控制器下的大型设施通常改用现场总线协议。<sup>[1](https://www.sick.com/media/content/hc6/h9d/9692994437150.pdf)</sup>

## 与 BiSS C 的关系

BiSS C（单向）协议在硬件上与 SSI 兼容：在点对点配置中，它使用相同的两条单向差分线，一条是从主站到从站的时钟线（MA），另一条是回传传感器数据的数据线（SL）。<sup>[11](https://biss-interface.com/wp-content/uploads/2024/07/BiSS_C_unidirectional_protocol_A3en.pdf)</sup> BiSS 增加了启动/确认结构、可配置数据通道和 CRC 保护，一些接口芯片同时支持两者，允许 BiSS 实现降级为 SSI 运行。<sup>[12](https://biss-interface.com/product/ic-mcb/)</sup> BiSS 是一种开放协议，无需许可费，SSI 亦然。<sup>[13](https://inelso.ru/library/statyi/sravnenie-interfeysov-absolyutnykh-enkoderov-ssi-i-biss-c/)</sup>

## 应用

SSI 用于任何需要在通电后无需回参考点运行即可读取绝对位置的场合，这是绝对值编码器的定义性特性。<sup>[9](https://www.sick.com/media/docs/9/79/079/technical_information_ssi_interface_description_en_im0100079.pdf)</sup> 典型应用包括线性执行器和螺旋千斤顶、输送系统和物料搬运、通用机床，以及带绝对位置反馈的自动导引车。<sup>[5](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)</sup> 编码器制造商在同一产品系列上提供 SSI 以及 CANopen、模拟量和其他接口，专用 SSI 主站模块（如 Allen-Bradley 1734-SSI）将这些编码器连接到 PLC 平台。<sup>[14](https://www.hengstler.com/products/rotary-encoders/absolute-encoders/ar60)</sup><sup> • </sup><sup>[15](https://www.rockwellautomation.com/en-us/products/details.1734-SSI.html)</sup>

## References

1. [Absolute Encoder Evolution: Three Absolute Advantages for OEMs, SICK](https://www.sick.com/media/content/hc6/h9d/9692994437150.pdf)
2. [SSI, STIGAB](https://stigab.se/en/attributes/ssi/)
3. [SSI Encoder | Synchronous Serial Interface Absolute Encoders, Encoder Products Company](https://www.encoder.com/ssi)
4. [TB-529: Understanding EPC's Absolute Series SSI Encoders, Encoder Products Company](https://www.encoder.com/hubfs/tech-bulletin-500s/TB529-understanding-epcs-ssi-encoders.pdf?hsLang=en)
5. [Encoder Interface Protocols: Understanding SSI, BiSS, EnDat, and Other Communication Standards, Engineering Niche](https://engineeringniche.com/article/encoder-interface-protocols-understanding-ssi-biss-endat-and-other-communication-standards/)
6. [Optical encoders frequently asked questions, Renishaw](https://www.renishaw.com/en/optical-encoders-frequently-asked-questions--34674)
7. [Definition for SSI, SICK Glossary](https://www.sick.com/at/en/glossary/ssi/g/p555349)
8. [FM 351 Positioning Function Module manual, Siemens](https://support.industry.siemens.com/cs/attachments/1108705/Fm351v4_e.pdf)
9. [SSI Interface Description 8027422, SICK](https://www.sick.com/media/docs/9/79/079/technical_information_ssi_interface_description_en_im0100079.pdf)
10. [Encoders | Absolute encoders, ifm](https://www.ifm.com/us/en/us/learn-more/motion-control/encoders/absolute-encoders)
11. [BiSS C (unidirectional) Protocol Description, BiSS Interface / iC-Haus](https://biss-interface.com/wp-content/uploads/2024/07/BiSS_C_unidirectional_protocol_A3en.pdf)
12. [iC-MCB SPI-to-BiSS Bridge, BiSS Interface](https://biss-interface.com/product/ic-mcb/)
13. [Сравнение интерфейсов абсолютных энкодеров: SSI и BISS-C, ИНЕЛСО](https://inelso.ru/library/statyi/sravnenie-interfeysov-absolyutnykh-enkoderov-ssi-i-biss-c/)
14. [ACURO AR60 Absolute Encoder Series, Hengstler](https://www.hengstler.com/products/rotary-encoders/absolute-encoders/ar60)
15. [1734-SSI SSI Absolute Encoder Interface, Rockwell Automation / Allen-Bradley](https://www.rockwellautomation.com/en-us/products/details.1734-SSI.html)

---
*Initially written Oct 15, 2026 · Edited: Oct 25, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Mechanical foundations of robotics › Sensors, encoders, and feedback components

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/ssi-synchronous-serial-interface

English original: https://www.edgepedia.org/ssi-synchronous-serial-interface
