基于STM8的激光功率计的设计
2018-07-28于宝堃李星宇李玉洁张达强
于宝堃 李星宇 李玉洁 张达强
摘要:设计了一种基于STM8的激光功率计的硬件结构和固件程序,并对系统的误差进行了分析。该功率计采用STM8S208MBT作为微控制器,通过PIN硅光电二极管实现光信号到电信号的转换,并利用运算放大器对信号进行转换、放大和滤波;同时,采用16位模数转换芯片AD7606-4,以保证系统的测量精度。通过LCD显示屏,用户可实时获得测量结果。实际测试结果表明:该功率计成本低,测量精度高,满足工程中对激光测量的要求。
关键词:STM8;PIN硅光电二极管;滤波;AD7606-4
中图分类号:TN98 文献标志码:B 文章编号:1009-3044(2018)15-0266-03
Design of Laser Power Meter Based on STM8
YU Bao-kun,LI Xing-yu,LI Yu-jie,ZHANG Da-qiang
(College of Electronic Information and Automation, Tianjin University of Science & Technology, Tianjin 300457, China)
Abstract: This paper designed the hardware structure and firmware program of a kind of laser power meter based on STM8, and analyzed the system error. The laser power meter used STM8S208MBT as micro-controller, with the use of PIN silicon photodiode to realize photoelectric conversion. By the use of operational amplifiers, it completed the transform, amplification and filter of the signal. At the same time, a 16-bit A/D conversion chip AD7606-4 was used to ensure accuracy of system. User can get measurement result of system in time by LCD display. The actual test results showed: the laser power meter has the advantages of low cost, high precision, which can meet demand of laser measurement in engine.
Key words: STM8; PIN silicon photodiode; filter; AD7606-4
随着半导体工业的快速发展,激光技术已在通信、测量、验钞等领域得到了广泛的应用。而激光功率作为激光源的一项重要参数,决定了激光源的性能,如何快速检测激光源的功率已成为信号检测领域的研究热点。针对目前市场上激光功率计价格高、测量波长范围较小、测试精度低等缺点[1],设计了一款基于STM8的高精度便携式激光功率计,通过LCD显示屏,可实时显示所测激光的功率,能满足用户对激光测量的要求。
1 系统的工作原理
系统主要由光电转换模块、I/V转换模块、滤波电路等七个主要功能单元所组成,如图1所示。光电转换模块将激光信号转换为电流信号并传送给I/V转换模块,而电流信号经过I/V转换模块和滤波电路的电流电压转换、信号放大、滤波等处理后,转变为电压信号,再由A/D转换模块进行模数转换后,将16位数字信号传输给微控制器。微控制器对获得的数据进行计算后,将最终的激光功率值通过LCD显示模块呈現给用户,用户也可以通过LCD显示模块对所测激光波长进行选择。……
