SteBeam:送给所有光学人的礼物——一台人人可用的激光光束分析仪

SteBeam: A Gift to Everyone in Optics — a beam profiler you can actually own

2026-09-20·约 6 分钟~6 min read·Stefano

激光科研与教学中,最常被问到的问题总是同一个:光斑到底长什么样、有多大、往哪儿漂。回答它的传统办法,是一台昂贵的商用光束分析仪,或者一套自己搭的粗糙脚本。今天我想给出第三种答案——SteBeam:一台工业相机加上 SteBeam,就是一台专业的光束分析仪。

In laser labs and classrooms, the most frequent question is always the same: what does the spot actually look like, how big is it, and where is it drifting? The traditional answers are an expensive commercial beam profiler, or a home-grown pile of rough scripts. Today I want to offer a third: SteBeam — one industrial camera plus SteBeam equals a professional beam profiler.

SteBeam 由我一个人独立完成:从测量算法到界面渲染全部亲手打磨。束宽计算遵循 ISO 11146 二阶矩标准,测量核对着合成帧的解析真值逐项验证;渲染为纯软件实现,不挑显卡。它不宣称取代专业商用仪器——它想做的是:在你买不起、或不需要买商用仪器的每一天,给你一个值得信赖的答案。

SteBeam is built entirely by one person — measurement algorithms to pixel rendering, all hand-crafted. Beam widths follow the ISO 11146 second-moment standard, with the measurement core verified point by point against analytic ground truth; rendering is pure software with no graphics-hardware requirements. It doesn't claim to replace professional commercial instruments. Its promise is simpler: on every day when a commercial profiler is out of budget — or overkill — it gives you an answer you can trust.

六个特点Six reasons to try it

  1. 标准口径的测量核A standards-based measurement core D4σ 束宽遵循 ISO 11146 二阶矩法;另备 84% 能量宽度(抗杂散光)与 FWHM 两种直径定义,一键切换。椭圆度、长轴方位角、质心、峰值、功率,每帧同步产出。 D4σ beam widths per ISO 11146 second moments, plus 84% encircled-energy (stray-light robust) and FWHM diameter definitions, switchable in one click. Ellipticity, orientation, centroid, peak and power come out on every frame.
  2. 五种实时视图Five live views 2D 伪彩强度图、可拖拽旋转的 3D 光斑曲面、X/Y 剖面曲线、直径-时间滑窗曲线、质心漂移轨迹——从形貌到时域,一扇窗看全。 2D pseudo-color intensity map, mouse-rotatable 3D surface, X/Y line profiles, diameter-over-time sliding windows, and centroid drift tracking — shape and dynamics through one window.
  3. 全幅 44 fps,帧帧全量测量44 fps full-frame, every frame fully measured 1280×1024 全幅采集,每一帧都完成全部参数测量与渲染,切走再切回的视图数据一帧不丢。流畅不是调出来的,是架构出来的。 At full 1280×1024 acquisition, every single frame gets the complete measurement set and rendering; switch a view away and back, and not one frame of data is missing. Smoothness isn't tuned — it's architected.
  4. 纯软件渲染,不挑机器Pure-software rendering, runs anywhere 3D 曲面由自研渲染核逐像素绘制,集成显卡也流畅;一个 U 盘拷过去,插上就能跑。 The 3D surface is drawn pixel by pixel by a custom rasterizer — integrated graphics included. Copy it on a USB stick, plug in, run.
  5. 快门联动,自动背景扣除Shutter-linked automatic background subtraction 配合可选快门附件,一键完成「关快门 → 采暗帧 → 扣除 → 恢复」;没有快门也有手动遮挡采样路径,功能完整不打折。 With the optional shutter accessory, one click runs "close shutter → sample dark frame → subtract → reopen"; without a shutter, a manual occlusion path keeps every feature intact.
  6. 数据自由Your data stays yours 测量结果实时导出 CSV,光斑图像随时保存——数据自动永久保留。 Live CSV export of every measurement and one-click frame saving — your data is stored automatically and kept permanently.

实拍一览See it

SteBeam 主界面(中文) SteBeam main window (English)
主界面:左侧五种视图,右侧实时测量读数Main window: five live views on the left, real-time readouts on the right
3D 光斑曲面(中文) 3D beam surface (English)
3D 光斑曲面:鼠标拖拽任意旋转,纯软件逐像素渲染3D beam surface: drag to rotate, pure-software pixel-level rasterization
2D 伪彩强度图(中文) 2D pseudo-color map (English)
2D 伪彩强度图:测量框与质心实时叠加2D pseudo-color map with live ROI and centroid overlay
X/Y 剖面曲线(中文) Line profiles (English)
X/Y 剖面:沿质心的两条强度曲线Line profiles through the centroid
直径-时间曲线(中文) Size curves (English)
尺寸曲线:光束直径随时间的滑窗监测Size curves: beam diameter over time, sliding window
质心漂移轨迹(中文) Centroid tracking (English)
质心追踪:漂移方向与幅度一图看清Centroid tracking: drift direction and amplitude at a glance

适合谁Who it's for

高校与研究所实验室的公共光斑分析工位;人手可及的激光教学实验平台;激光器与光学装调现场的快速检测;以及自建设备团队的开源参考实现。

A shared beam-analysis bench for research labs; a beam-analysis station every student can actually touch; fast spot checks at laser and optics assembly benches; and an open-source reference for custom-instrument teams.

支持的硬件Supported hardware

SteBeam V0.1 Preview 基于这两款设备开发与标定,目前适用它们:海康机器人 MV-CU013-A0UM 工业面阵相机,以及大恒 GCI-7103M 三通道快门驱动盒(可选,用于自动背景扣除)。

SteBeam V0.1 Preview is developed and calibrated around two devices and currently supports them: the Hikrobot MV-CU013-A0UM industrial area-scan camera, and the optional Daheng GCI-7103M three-channel shutter driver box for automatic background subtraction.

MV-CU013-A0UM
工业面阵相机 MV-CU013-A0UMArea-scan camera MV-CU013-A0UM
GCI-7103M
快门驱动盒 GCI-7103M(可选)Shutter driver box GCI-7103M (optional)

获取方式Get it

SteBeam V0.1 Preview 免费下载,可免费转发给同事与同学;软件同时提供 LGPL-3.0 开源版本,源码见 Gitee / GitHub(见上方按钮)。

SteBeam V0.1 Preview is free to download and free to forward to colleagues and classmates. An LGPL-3.0 open-source edition is also available — see the Gitee / GitHub buttons above.

一个诚实的提示:硅基相机对波长超过约 1000 nm 的光响应极弱——在 1064 nm 等波段,位置、尺寸、形貌测量完全可靠,但绝对功率请外接功率计单点标定。

One honest note: silicon cameras respond very weakly above roughly 1000 nm. At 1064 nm and similar wavelengths, position, size and shape measurements are fully reliable, but calibrate absolute power against an external power meter.

关于作者About the author

我是 Stefano,独立光学仪器开发者,背景横跨激光光学与软件工程。我相信精密测量工具不该是少数实验室的专利。这个博客会持续记录 SteBeam 的成长,以及下一个仪器的诞生过程。

I'm Stefano, an independent optical-instrument developer working across laser optics and software engineering. I believe precision measurement tools shouldn't be a privilege of a few labs. This blog will keep documenting SteBeam's growth — and the birth of the next instrument.

这份作品,送给所有光学人。

This is my gift to everyone in optics.