# EtherCAT

**EtherCAT**（Ethernet for Control Automation Technology，控制自动化技术以太网）是一种实时工业以太网技术，最初由[倍福自动化](https://www.edgepedia.org/zh/beckhoff-automation)（Beckhoff Automation）开发。在该技术中，单个以太网帧穿过网络中的每一个节点，而每个设备在帧经过时读取发往自己的数据并“飞读飞写”地插入自身数据。该技术已纳入 IEC 61158 标准，由 EtherCAT 技术协会（ETG）管理，目标循环时间为 100 µs 或更短，同步抖动为 1 µs 或更小。<sup>[1](https://www.ethercat.org/en/technology.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由倍福自动化开发；2003 年 4 月推出；ETG 于 2003 年 11 月成立<sup>[1](https://www.ethercat.org/en/technology.html)</sup> |
| 标准化 | 2007 年被采纳为 IEC 标准（IEC 61158）；规范在不破坏兼容性的前提下不断扩展，因此 2003 年的设备仍可与当前设备互操作<sup>[2](https://download.beckhoff.com/download/document/catalog/Beckhoff_EtherCAT_e.pdf)</sup> |
| 性能目标 | 循环时间 ≤ 100 µs，同步抖动 ≤ 1 µs，硬件成本低<sup>[1](https://www.ethercat.org/en/technology.html)</sup> |
| 网络规模 | 每段最多 65,535 台设备；在 100BASE-TX 模式下，节点间使用廉价的工业以太网电缆，距离可达 100 m<sup>[3](https://www.ethercat.org/en/technology.html?trk=public_post_comment-text)</sup> |
| 安全 | Safety over EtherCAT（FSoE），按 IEC 61508 开发，在 IEC 61784-3 中标准化，经 TÜV 认证，适用于 SIL 3 及以下<sup>[4](https://www.ethercat.org/en/safety.html)</sup> |
| 安装基数 | 截至 2025 年统计，累计节点达 1.052 亿个，当年新增 1,690 万个节点<sup>[5](https://www.ethercat.org/en/press/etg_DDEE0A28621348B5A8D92BE519412B2E.htm)</sup> |
| 扩展 | EtherCAT P 在一根电缆中同时传输电力和数据；EtherCAT G 将数据速率提升至千兆级别，同时与 100 Mbit/s 设备完全兼容<sup>[6](https://www.ethercat.org/en/ethercat-p.html)</sup><sup> • </sup><sup>[7](https://www.ethercat.org/en/ethercat-g.html)</sup> |

## 工作原理

EtherCAT 主设备（MainDevice，主站）是网段中唯一被允许主动发送 EtherCAT 帧的节点；所有其他节点仅向下游转发帧。每个子设备（SubDevice，从站）使用 EtherCAT 子设备控制器（ESC）完全在硬件中处理帧，在帧经过时提取发往自己的数据并插入自身数据。帧仅因硬件传播延迟而被延迟，网段中的最后一个节点利用以太网的全双工能力将报文返回给主设备。这种飞读飞写处理将有效数据速率提升至可用带宽的 90% 以上。<sup>[1](https://www.ethercat.org/en/technology.html)</sup>

主设备仅需一个标准以太网媒体访问控制器（MAC），无需额外的通信处理器，因此主站可运行在任何带有以太网端口的硬件平台上。EtherCAT 将其有效载荷嵌入标准以太网帧中，通过 [EtherType](https://www.edgepedia.org/zh/ethertype) 值 0x88A4 标识，从而消除了实时路径中对 TCP/IP 或 UDP/IP 协议栈的需求；TCP/IP 连接可选地通过邮箱通道隧道传输，不影响实时流量。<sup>[1](https://www.ethercat.org/en/technology.html)</sup>

在启动过程中，主设备配置并映射子设备的过程数据，因此主站将新的输出数据填入单个帧，并通过直接内存访问发送，无需 CPU 拷贝。子设备可按逻辑地址、网络中的位置或配置的节点地址进行寻址，即使运行过程中拓扑发生变化，也支持定向访问。<sup>[1](https://www.ethercat.org/en/technology.html)</sup>

## 分布式时钟同步

对于需要多台伺服轴执行协调运动的应用，EtherCAT 使用分布式时钟（DC）同步节点，而非依赖完全同步的通信。时钟校准完全基于硬件：来自第一个 DC 子设备的时间被循环分发给所有其他设备，传播延迟在网络启动时测量或在运行中连续测量。由此产生的抖动显著小于 1 µs。由于本地时钟触发位置测量等动作，主设备在发送帧方面面临的要求不那么严格。<sup>[1](https://www.ethercat.org/en/technology.html)</sup>

## 拓扑与布线

EtherCAT 支持线形、树形、星形、菊花链和环形拓扑及其组合，不受传统工业以太网系统中交换机和集线器所施加的级联限制。许多 I/O 模块直接集成分支端口，因此无需额外的有源基础设施组件。热连接（Hot Connect）功能允许在运行过程中连接和断开网段或单个节点，检测时间低于 15 µs；将线路扩展为环形可利用主设备上的第二个以太网端口提供电缆冗余。<sup>[3](https://www.ethercat.org/en/technology.html?trk=public_post_comment-text)</sup><sup> • </sup><sup>[8](https://www.ethercat.org/en/why_use_ethercat.htm)</sup>

电缆选项包括在 100BASE-TX 模式下节点间最长达 100 m 的廉价工业以太网电缆、用于更长距离的 100BASE-FX 等光纤，以及模块化设备内部基于 LVDS 的物理层。EtherCAT P 协议扩展将两路电源电压——用于系统和传感器供电的 Us 以及用于外围执行器的 Up——直接耦合到 100 Mbit/s 通信线路中，减少了布线和设备占用空间。<sup>[3](https://www.ethercat.org/en/technology.html?trk=public_post_comment-text)</sup><sup> • </sup><sup>[6](https://www.ethercat.org/en/ethercat-p.html)</sup>

## Safety over EtherCAT

Safety over EtherCAT（FSoE，FailSafe over EtherCAT）在同一网络上与标准数据并行传输安全关键的控制数据。通信系统充当黑通道（Black Channel），即不被视为数据安全保护的一部分；安全数据作为带有附加完整性数据的容器嵌入标准过程数据中。每个安全周期检查安全帧的校验和、连接 ID 以及每个 FSoE 帧传输的看门狗时间。<sup>[4](https://www.ethercat.org/en/safety.html)</sup><sup> • </sup><sup>[9](https://www.ethercat.org/safetyflyer/)</sup>

该协议按照 [IEC 61508](https://www.edgepedia.org/zh/iec-61508) 构建，经 TÜV 南德意志铁路（TÜV Süd Rail）认证，并编入 IEC 61784-3 标准，可用于达到安全完整性等级 SIL 3 的安全应用。它支持整机紧急停止或机器部件定向停机的功能，即使这些部件与其他通信系统耦合。FSoE 对设备资源要求很少；机器人应用使用它在 8 kHz 闭环中进行安全运动控制，工厂范围的安全数据可通过 EtherCAT 自动化协议（EAP）路由。<sup>[4](https://www.ethercat.org/en/safety.html)</sup>

## 与其他工业以太网系统的性能比较

EtherCAT 与 Sercos III 同属求和帧（summation-frame）协议族：单个帧在每个周期承载所有节点的数据，帧被飞读飞写地处理。在包含 50 台设备的线形拓扑比较中，对于所有测试的有效载荷大小和两种测试带宽，EtherCAT 的实测循环时间均短于 PROFINET IRT，因为 PROFINET 向每个节点发送单独的[以太网帧](https://www.edgepedia.org/zh/ethernet-frame)，因此开销更大。这一优势在小有效载荷和少量从站设备时最为显著。代价是错误行为：在单独帧协议中，传输错误仅影响一个设备的周期，而在求和帧协议中，它影响该周期内所有连接的从站。<sup>[10](https://www.net.in.tum.de/fileadmin/TUM/NET/NET-2024-04-1/NET-2024-04-1_06.pdf)</sup>

一项对五种实时以太网现场总线的比较报告称，EtherCAT 在 100 Mbit/s 下同步控制 100 轴时响应时间为 0.1 ms，抖动小于 0.1 ms，而 [EtherNet/IP](https://www.edgepedia.org/zh/ethernet-ip)、Ethernet Powerlink 和 PROFINET IRT 的响应时间为 1 ms 或 1 ms 以下，Sercos III 为 0.5 ms 以下。同一论文将 EtherCAT 的采用部分归因于从站硬件成本低，因为从站 ASIC 费用保持较低。<sup>[11](https://www.automate.org/tech-papers/5-real-time-ethernet-based-fieldbuses-compared)</sup>

与 Sercos III 的差异仍然存在：Sercos 支持一个周期内任意设备之间的直接交叉通信，而 EtherCAT 帧仅沿前向处理，因此从站到从站的数据通常经过主站，需要额外时间。Sercos 直接从其循环协议中获取同步，而 EtherCAT 的分布式时钟需要消耗一定带宽的时间同步协议。EtherCAT 使用 CANopen 的设备行规，如 DS402 驱动行规，或者也可使用 Sercos 驱动行规（SoE）。<sup>[12](https://www.sercos.org/downloads/studies/)</sup>

## 治理、采用与安全

EtherCAT 的所有权利归倍福所有；EtherCAT 技术协会是一个不拥有该技术权利但负责标准化和维护的协会。ETG 会员资格免费，且是获取技术规范的强制条件，Sercos 用户组织将此列为 ETG 会员规模庞大的主要原因；截至 2019 年，该组织拥有超过 5,000 名会员，并自称是全球最大的工业以太网和现场总线组织。<sup>[12](https://www.sercos.org/downloads/studies/)</sup><sup> • </sup><sup>[2](https://download.beckhoff.com/download/document/catalog/Beckhoff_EtherCAT_e.pdf)</sup><sup> • </sup><sup>[1](https://www.ethercat.org/en/technology.html)</sup>

应用规模持续增长：节点计数基于芯片制造商报告的数量，采用刻意保守的方法（多协议芯片按比例计算，FPGA 实现按 10% 计算，模块化 I/O 模块不计入），在 2025 年数据中突破 1 亿，达到 1.052 亿个节点，仅当年就新增 1,690 万个。<sup>[5](https://www.ethercat.org/en/press/etg_DDEE0A28621348B5A8D92BE519412B2E.htm)</sup>

安全研究已识别出现场层面的结构性缺陷。由于 EtherCAT 通过标准以太网帧通信，不使用 IP 寻址，且仅支持到数据链路层，它在主站和从站之间不包含加密、认证或授权；已演示的攻击向量包括 MAC 欺骗、中间人攻击和拒绝服务攻击、数据注入以及从站地址扫描。一种应对措施是被动监控：研究人员扩展了开源 Snort 入侵检测系统，增加了 EtherCAT 预处理器和信任节点方法，根据网络配置文件检查每个数据包的地址、命令和数据大小，在不中断实时通信的情况下检测攻击。<sup>[13](https://onlinelibrary.wiley.com/doi/10.1155/2018/2639750)</sup>

## 扩展

**EtherCAT G** 将该技术提升至千兆速率，适用于每台设备需要传输的过程数据量特别大的应用，如机器视觉、高端测量技术和复杂运动应用。它与核心技术完全兼容：100 Mbit/s 设备无缝集成，因为 EtherCAT G 设备在 100 Mbit/s 系统中表现得像传统 EtherCAT 设备。EtherCAT 分支控制器（EBC）将千兆段与 100 Mbit/s 段组合在一个网络中，并支持所连接段的并行处理，显著减少传播延迟。<sup>[7](https://www.ethercat.org/en/ethercat-g.html)</sup>

一致性通过 ETG 的一致性测试工具（CTT）、互操作性联合测试活动以及欧洲、亚洲和北美的认证 EtherCAT 测试中心进行管理；EtherCAT 一致性测试证书仅颁发给在官方测试中心测试的设备，不适用于内部测试。<sup>[14](https://www.ethercat.org/en/conformance.html)</sup>

## References

1. [EtherCAT Technology Group – EtherCAT: the Ethernet Fieldbus (technology)](https://www.ethercat.org/en/technology.html)
2. [Beckhoff – EtherCAT: global standard for real-time Ethernet (catalog)](https://download.beckhoff.com/download/document/catalog/Beckhoff_EtherCAT_e.pdf)
3. [EtherCAT Technology Group – EtherCAT technology (topology and cabling)](https://www.ethercat.org/en/technology.html?trk=public_post_comment-text)
4. [EtherCAT Technology Group – Safety over EtherCAT (FSoE)](https://www.ethercat.org/en/safety.html)
5. [EtherCAT Technology Group – Press release: Over 100 million nodes (April 2026)](https://www.ethercat.org/en/press/etg_DDEE0A28621348B5A8D92BE519412B2E.htm)
6. [EtherCAT Technology Group – EtherCAT P](https://www.ethercat.org/en/ethercat-p.html)
7. [EtherCAT Technology Group – EtherCAT G](https://www.ethercat.org/en/ethercat-g.html)
8. [EtherCAT Technology Group – Why use EtherCAT?](https://www.ethercat.org/en/why_use_ethercat.htm)
9. [Safety over EtherCAT (FSoE) Introduction flyer](https://www.ethercat.org/safetyflyer/)
10. [Industrial Ethernet: Challenges and Advantages, TUM NET report 2024-04-1](https://www.net.in.tum.de/fileadmin/TUM/NET/NET-2024-04-1/NET-2024-04-1_06.pdf)
11. [IntervalZero / A3 – 5 Real-Time, Ethernet-Based Fieldbuses Compared](https://www.automate.org/tech-papers/5-real-time-ethernet-based-fieldbuses-compared)
12. [Sercos International – A comparison: Sercos and EtherCAT](https://www.sercos.org/downloads/studies/)
13. [Ovaz Akpinar (2018). Development of the ECAT Preprocessor with the Trust Communication Approach. Security and Communication Networks, Wiley.](https://onlinelibrary.wiley.com/doi/10.1155/2018/2639750)
14. [EtherCAT Technology Group – Conformance](https://www.ethercat.org/en/conformance.html)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Ethernet › Carrier and specialized Ethernet › Industrial Ethernet

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/ethercat

English original: https://www.edgepedia.org/ethercat
