摘要
开发了基于USB接口的球杆测控系统以满足研究系统建模及复杂控制算法所提出的更高的、RS232难以满足的通信要求。实现了基于PD IUSBD12芯片的USB接口电路及固件程序的通信模块,基于89C52的下位机数据采集模块,基于L298N的直流伺服电动机控制驱动模块;人机界面基于LabVIEW平台设计,利用其库函数结点建立了上位机应用程序与USB驱动程序之间的函数调用。成功地将USB接口在速度、自供电、设备扩展等突出特点应用于球杆系统中,系统软硬件均在实验室调试通过,运行稳定、可靠。
A measurement and control platform for ball-beam based on USB is developed to meet the higher demand for system modelling and realising more sophisticated measurement and control algorithms which faced difficulties with RS232 interface.The communication module is on PDIUSBD12 with the design of USB hardware circuit and firmware program;the data acquisition module is an embedded system on 89C52;the servo module is based on L298N to drive the DC motor.For the human-machine interface of system based on LabVIEW,a library function node is used to establish the communication between PC application program and Windows driver through function call.The system is successfully used in ball-beam platform featuring high communication speed,self-powered,and equipment expansion based on USB.All the design of hardware and software introduced run stably and reliably in laboratory.
出处
《控制工程》
CSCD
北大核心
2011年第1期109-112,115,共5页
Control Engineering of China
关键词
USB接口
球杆
LABVIEW
测控系统
USB interface
ball and beam
LabVIEW
measurement and control system