为解决DMD型近红外光谱仪采集时间长、光谱实时性较低的问题,提出采用现场可编程门阵列(FPGA)作为主控单元,以DMD为核心的近红外光谱采集系统设计.FPGA控制图案数据通过24 bit 的并行接口实时传输,驱动DMD选通入射光,同时进行A/D转换,实现光谱数据快速采集.对于阿达玛矩阵适配数字微镜面的问题,FPGA 图案显示设计中,将常规阿达玛编码模板拆分为适配DMD微镜面的编码图案.最后通过样品采集实验对系统的性能进行测试验证,结果表明在900~1 700 nm的工作波段内,214 个样本点的平均信噪比达到 4 600∶1;在连续采集模式下,系统单次采集耗时优于0.147 s,满足工作中光谱实时采集的应用需求.
Design of Miniature Near-infrared Spectroscopy Acquisition System Based on FPGA and DMD
To address the issue of long acquisition time and low real-time performance in DMD-based near-infrared spectros-copy,a design proposal was presented for a spectroscopy acquisition system with FPGA as the main control unit,DMD as the core.The FPGA controlled pattern data in real-time through a 24 bit parallel interface,enabling the selection of incident light through the DMD and simultaneous A/D conversion for rapid spectral data acquisition.To address the adaptation of Hadamard matrices to digital micromirrors,the FPGA pattern display design involved breaking down conventional Hadamard encoding tem-plates into patterns suitable for DMD micromirrors.Finally,the system's performance was tested and validated through sample collection experiments.The results indicate that within the 900~1 700 nm operational wavelength range,the average signal-to-noise ratio for 214 spectral elements reaches 4 600∶1.In continuous acquisition mode,the system's single acquisition time is op-timized to be less than 0.147 s,meeting the real-time spectral acquisition requirements.