2026年03月02日 设备通信协议

We Open-Sourced Our SECS/GEM Python Driver for Semiconductor Equipment

核心结论

Open-source SECS/GEM driver: 3 lines of code to connect equipment. Replaces $100K+ commercial licenses. Full SECS-I/HSMS/GEM support on GitHub.

In semiconductor manufacturing, the SECS/GEM protocol (SEMI E4/E5/E30/E37) is the standard interface for equipment-to-host communication. Every major equipment maker — Applied Materials, Lam Research, TEL, KLA — uses HSMS/SECS-II to exchange data with MES, FDC, and R2R systems.

Yet the available options for SECS/GEM communication are either expensive commercial packages (Brooks, Cimetrix) or outdated C/C++ libraries. The Python ecosystem has lacked a production-ready, configuration-driven SECS/GEM driver — until now.

Today we are open-sourcing secsgem-driver — an async Python SECS/GEM driver that powers the communication layer of our NeuroBox edge AI platform, battle-tested in real semiconductor fabs.

Connect to Equipment in 3 Lines

from secsgem import SecsGemDriver

driver = SecsGemDriver("configs/amat_centura.yaml")
await driver.connect()
response = await driver.send("S1F1")  # Are You There

No hardcoded message structures. Equipment messages, variables, events, and commands are all defined in YAML configuration files. Switching equipment? Just swap the YAML file.

Key Features

  • HSMS Protocol (SEMI E37) — Active/Passive modes, Select/Deselect/Linktest, heartbeat
  • SECS-II Codec (SEMI E5) — Full encode/decode for all data types
  • Configuration-Driven — YAML equipment profiles, zero code changes for new tools
  • Async/Await — Built on Python asyncio for non-blocking I/O
  • Auto-Reconnect — Configurable reconnection with backoff
  • Event System — Decorator-based subscription to equipment events (S6F11) and alarms (S5F1)
  • Type-Safe — Pydantic-validated configuration

Why Open Source

The SECS/GEM protocol is a published SEMI standard. The communication layer should not be a barrier to innovation. Our competitive advantage lies in the AI algorithms above it — physics-informed virtual metrology, trust-region R2R optimization, uncertainty-quantified fault diagnosis — not in implementing a well-documented protocol.

By open-sourcing the driver, we help engineers get equipment data flowing faster, which accelerates AI adoption across the industry.

How It Relates to NeuroBox

secsgem-driver is the communication foundation of the NeuroBox E series edge AI platform. NeuroBox adds on top:

  • Physics-Informed Neural Network (PINN) virtual metrology
  • Trust-region constrained R2R optimization
  • Uncertainty quantification for fault diagnosis
  • TensorRT-accelerated inference (<50ms latency on Jetson)

Get Started

pip install secsgem-driver

GitHub: github.com/shensi8312/secsgem-driver

Stars, issues, and contributions are welcome. If you are working on semiconductor equipment communication and have questions, feel free to reach out.

集芯
迈烁集芯技术团队
由迈烁集芯(上海)科技有限公司工程团队撰写。团队成员包括半导体制程工程师、AI/ML研究员和设备自动化专家,在中国、新加坡、台湾及美国的晶圆厂拥有超过50年的累计行业经验。
开始体验
迈烁集芯 AI 平台

AI定义制造——从设备设计到产线智能,一站式半导体AI解决方案。

💬 在线客服 📅 预约演示 📞 021-58717229 contact@ai-mst.com
📱 微信扫码
企业微信客服

扫码添加客服