吉林大学学报(信息科学版) ›› 2026, Vol. 44 ›› Issue (3): 729-738.

• • 上一篇    下一篇

基于物联网的便携式光栅光谱仪的设计

王海朋a, 张沛潇a, 吕佳琦b, 郝欣然a, 张晓茜c, 贺 媛a, 王 蕊a   

  1. 吉林大学a. 电子科学与工程学院;b. 机械与航空航天工程学院;c. 商学与管理学院,长春130012
  • 收稿日期:2025-11-04 出版日期:2026-06-02 发布日期:2026-06-02
  • 通讯作者: 贺媛(1983— ), 女, 陕西榆林人, 吉林大学正高级工程师, 主要从事传感 器件应用及教学研究,(Tel)86-13596436318(E-mail)heyuan@ jlu. edu. cn。 E-mail:heyuan@ jlu. edu. cn
  • 作者简介:王海朋(2004— ), 男, 长春人, 吉林大学本科生, 主要从事数学模型建立与软件开发研究, (Tel)86-19990581410 (E-mail)wanghp1922@ jlu. edu. cn
  • 基金资助:
    吉林省科技发展计划基金资助项目(20220402010GH);吉林大学大学生创新创业训练计划基金资助项目 (X202510183277); 吉林大学实验技术基金资助项目(SYXM2024a008); 吉林大学本科教学改革研究基金资助项目 (2023XYB095) 

Design of Portable Grating Spectrometer Based on Internet of Things

WANG Haipenga, ZHANG Peixiaoa, Lü Jiaqib, HAO Xinrana, ZHANG Xiaoxic, HE Yuana, WANG Ruia   

  1. a. College of Electronic Science and Engineering; b. College of Mechanical and Aerospace Engineering; c. College of Business and Management, Jilin University, Changchun 130012, China
  • Received:2025-11-04 Online:2026-06-02 Published:2026-06-02

摘要: 为实现在本科实践教学中直观展示光栅光谱仪的工作原理, 设计了一款基于物联网的便携式光栅光谱仪。系统硬件以 STM32 为主控制器, 片外电路包括阵列光电二极管光强信号采集、模数转换、步进电机驱动和 Wi-Fi 通信模块。并运用光学设计软件 Zemax 对光谱仪光学系统进行仿真分析与优化设计。软件部分采用 JAVA C/C++语言进行开发, 依托 Keil 开发环境, 完成了硬件系统底层程序的编写, 并配套开发了基于微信小程序的光谱分析平台。为验证系统性能, 选用标准汞灯光源进行光谱测试, 将所得光谱数据与商用光谱仪的参考光谱进行对比。 结果表明, 该系统测量结果可靠, 性能满足教学演示需求, 为实现低成本、高演示性的教学用光栅光谱仪的开发提供了可行方案, 具有一定的推广应用价值。

关键词: 光谱仪, 光栅,  Zemax软件,   微信小程序, 物联网 

Abstract: A portable grating spectrometer based on the Internet of Things is designed to visually demonstrate the working principle of the grating spectrometer in the undergraduate practical teaching process. The STM32 is used as the main controller. The off-chip circuits include the array photodiode light intensity signal acquisition module, the analog-to-digital conversion module, the stepper motor drive module and the Wi-Fi communication module. The optical system of the spectrometer is simulated, analyzed and optimized by using the optical design software Zemax. The software part is developed using JAVA and C/ C + + languages. Relying on the Keil development environment, the underlying program of the hardware system is written, and a spectral analysis platform based on wechat mini-program was developed as a supporting tool. To verify the system performance, a standard mercury lamp light source is selected for spectral testing, and the obtained spectral data is compared with the reference spectra of commercial spectrometers. The experimental results show that the measurement of this system are reliable and its performance meets the requirements of teaching demonstrations. This research provides a feasible solution for the development of a low-cost and highly demonstrable grating spectrometer for teaching purposes, which has certain value for promotion and application. 

Key words: spectrometer, grating, Zemax software, WeChat mini programs, internet of things

中图分类号: 

  • TP212