介绍了一种应用于光辐射测量系统光栅转动装置的步进电机控制系统,该系统在LabVIEW8.2平台上开发,实现对三相步进电机顺序扫描、定步长扫描控制,升降速过程的离散控制,具有步进电机升降速参数、细分参数界面弹出、运行参数保存等功能。系统采用计算机通过软件编程的方法实现,取代传统硬件,实验证明系统易修改、易升级、运行稳定,对于以虚拟仪器为开发平台的其他测试系统具有通用性和移植性。
A stepper motor control system that used in an optical measurement grating system is introduced.The control system is designed on LabVIEW8.2 platform.It can implement multiplex stepper motor control function such as ordinal scan,appointed step scan,the rise and fall parameter setting,the subdivision parameter setting and so on.All parameter setting programs are subVIs, they can be saved and reused,they only show their front panel when called.It makes the main panel simple.Remarkably the control system is designed by software ,it can substitute for traditional hardware ,it is easy to modify,upgrade and to use as a subVI.