摘要
USB接口具有即插即用、热插拔、易扩展等优点,而编码器是一种应用较广的传感器,因此为集成两者优点设计了一种基于USB总线的增量式编码器数据采集系统;采用微控制器加专用USB接口芯片的设计方式,利用单片机AT89C55作为下位机,实现了对USB接口芯片ISP1581的控制和初始化,以及采用中断的方式实现了对编码器数据的实时采集功能,并完成了上位机应用软件和相应的固件程序设计;该系统已成功应用于某手脚盘数据采集系统中,实现了实时、并行对3个增量式编码器的数据采集,在输入转速小于5000r/min的条件下,采集数据准确无误,满足功能要求,性能稳定,便于广泛应用。
Abstract: USB interface has advantages of plug and play, hot plugging and easy expandability, and the encoder is an universal sensor. So a kind of data acquisition system of increment encoder based on USB is designed with above advantages. The system is composed of microehip and USB interface chip. The single--chip AT89C55 is used as a controller, which initializes the USB interface chip ISP1581 and acquires the data of increment encoder by interrupt as real time. The application program and firmware have been designed. The system is successfully ap- plied in some hand--foot circle data acquisition system to acquire three increment encoders with good performance, which meets the function needs and is facility to use abroad under rotate speed of 5000r/min.
出处
《计算机测量与控制》
CSCD
北大核心
2012年第7期1999-2001,共3页
Computer Measurement &Control
基金
国家自然科学基金项目(61008046)
作者简介
作者简介:郑亮亮(1982-),男,黑龙江哈尔滨人,助理研究员,主要从事光学遥感器成像技术方向的研究。