您好,欢迎来到中国测试科技资讯平台!

首页> 《中国测试》期刊 >本期导读>基于CPLD和MCU的光轨闭环控制系统设计

基于CPLD和MCU的光轨闭环控制系统设计

2429    2016-01-18

免费

全文售价

作者:李鸣

作者单位:中国测试技术研究院, 四川 成都 610021


关键词:CPLD技术; MCU处理器; 模糊算法; 驱动器; 光栅


摘要:

标准光源在光轨上的精确定位是光学测量系统的重要组成部分, 执行机构需要运行平稳、噪音低、定位精度高。根据系统要求, 设计实现了基于CPLD和MCU的位置闭环控制系统。系统以CPLD作为光栅信号采集、步进电机变频输出等辅助数字系统, 在MCU控制和处理下, 实现了由光栅反馈信息, 经模糊算法、变频处理后驱动步进电机的全闭环跟踪过程, 同时系统还设计有与上位机数据交换和无线遥控等功能。实践表明:系统震动小、噪音低、运行平稳、定位精度高, 采用栅距0.05 mm的光栅, 其重复定位不确定度0.1 mm。


Design of closed-loop control system for optical track based on CPLD and MCU

LI Ming

National Institute of Measurement and Testing Technology, Chengdu 610021, China

Abstract: The accurate location of standard light source at the optical track is important for optical measurement system. And the executive agency of the system needs smooth running, low noise, highly accurate positioning. According to the requirements, the authors designed a closed-loop control system for positioning based on CPLD and MCU. The system takes CPLD as auxiliary digital systems for grating signal acquisition, stepping motor output, etc. Under the control and processing of MCU, the grating position information is provided for dive to drive stepping motor after it was treated with fuzzy algorithm and frequency treating, which realized closed-loop tracking process. Meanwhile, the system has the functions of exchanging data with supper-computer and wireless control, etc. Practical application results show the system almost has no vibration, noise, runs smoothly, and positions accurately. When the grating gate is 0.05 mm, the repeat location accuracy is less than 0.1 mm.

Keywords: CPLD technology; MCU processors; fuzzy algorithm; drive; grating

2011, 37(4): 71-74  收稿日期: 2010-12-9;收到修改稿日期: 2011-2-17

基金项目: 

作者简介: 李鸣(1962-),男,陕西绥德县人,工程师,主要从事交通检测设备、自动化控制、仪器仪表的研制开发。

参考文献

[1] 许俊巧,李键,金晶,等.利用单片机形成的速度闭环控制系统[J].自动化与仪表,2005(4):21-25.
[2] 李现勇.Visual C++串口通信技术与工程实践[M].北京:人民邮电出版社,2002.
[3] 李翠敏,高有行.用寄存器实现步进电机速度控制[J].微特电机,2003,31(5):31-32.
[4] 郭军团,高有行,范慧敏,等.基于单片机的光栅测试系统的硬件设计和实现[J].西安工业大学学报,2006(26):423-426.
[5] 刘帅,祖静,张红艳.基于单片机的步进电机控制系统设计[J].电子设计工程,2010,18(4):38-40.
[6] 李颖,张伏生,张志勇.基于X-Y控制平台的步进电机闭环控制系统[J].微电机,2005,38(2):50-52.
[7] 董秀洁,杨艳,周游.FPGA/CPLD选型与设计优化[J].化工自动化及仪表,2009,36(3):60-63.
[8] 高钦和.可编程控制器应用技术与设计实例[M].北京:人民邮电出版社,2004.
[9] 何立民.单片机高级教程应用与设计[M].北京:北京航空航天大学出版社,2002.
[10] 黄向慧.基于高速单片机控制的位移测量系统设计[J].工矿自动化,2006(4):44-45.
[11] 张弘.USB接口设计[M].西安:西安电子科技大学出版社,2002.
[12] 刘森,慕春棣.基于可编程逻辑器件的嵌入式系统硬件原型设计[J].微计算机信息,2006,22(2):20-22.