基于平板电脑STM32的多波长自动旋光仪软件设计
2014-08-07陈若雷
文章编号: 10055630(2014)03024706
收稿日期: 20131219
作者简介: 陈若雷(1958),男,高级工程师,主要从事精密科学仪器的软件编制方面的研究。
摘要: 旋光度是反映物质旋光性质的指标,通过测定旋光度,可分析物质的浓度、含量、纯度等。SGW5多波长自动旋光仪利用平面偏振光和法拉弟磁光效应测量旋光物质在特定检测波长和温度下的旋光度。为了满足SGW5的功能需要,采用了带WINCE嵌入式系统的平板电脑和STM32单片机相结合的硬件系统,并对该系统进行软件设计。该软件设计在几个方面有一定特点,达到了仪器的性能指标要求。
关键词: WINCE; STM32; 旋光度; 多波长
中图分类号: TH 744文献标志码: Adoi: 10.3969/j.issn.10055630.2014.03.013
Software design for multiwavelength automatic polarimeter
based on a tablet PC and STM32
CHEN Ruolei
(Shanghai Instrument Physical Optics Instrument Co., Ltd., Shanghai 200233, China)
Abstract: Optical rotation is the reflected material optical properties. The substance concentration, content and purity can be analyzed through the determination of optical rotation. SGW5 multiwavelength automatic polarimeter uses a plane polarized light wavelength and measuring optical rotation Faraday magnetooptical effect materials in a particular rotation of the test wavelength and temperature. In order to meet the need of SGW5 function, it adopts hardware system with WINCE embedded system flat computer and STM32 microcontroller combination, and software design of the system. This software design has certain characteristic in several aspects, and achieved the performance requirements of the instrument.
Key words: WINCE; STM32; optical rotation; multiwavelength
引言旋光仪是测定物质旋光度的仪器,通过旋光度的测定,可分析物质的浓度、含量、纯度等,广泛应用于制糖、制药、石油、食品、化工等工业部门及有关高等院校和科研单位。SGW5多波长自动旋光仪利用平面偏振光和法拉弟磁光效应测量旋光物质在特定检测波长和温度下的旋光度。随着技术的发展和人们对旋光仪功能、性能要求的不断提高,研制了SGW5多波长自动旋光仪。为了满足多波长自动旋光仪的设计要求,SGW5采用了带WINCE嵌入式系统平板电脑和STM32单片机结合控制仪器。本文主要探讨基于WINCE嵌入式系统和STM32单片机的软件设计。1测量原理光学零位原理:若使自然光依次经过理想起偏器和检偏器,以起偏器和检偏器的通光方向正交时作为零位,检偏器偏离正交位置的角度与入射检偏器的光强I之间的关系,由……
