节点文献

智能象棋机器人嵌入式运动控制系统的研究

Study of Embedded Motion Control System for Robotic Chess Player

【作者】 李惠平

【导师】 方建军;

【作者基本信息】 北方工业大学 , 机械电子工程, 2008, 硕士

【摘要】 本文介绍基于智能象棋机器人运动控制系统研究,通过对运动控制系统当前发展现状及构成方案比较,确定了智能象棋机器人嵌入式运动控制系统的总体方案构成。本文采用基于单片机加专用运动控制芯片的运动控制系统的实现方案,并用PC机作为系统的调试主机。在运动控制控制系统中阐述了控制系统的硬件组成和工作原理,采用PIC16F877单片机为微处理器、LM629为专用运动控制芯片,通过增量编码器进行实际位置或速度的反馈,组成一个利用PID控制算法进行调节的闭环控制系统。在系统电路部分介绍了基于运动控制专用芯片LM629的直流电机控制电路、驱动电路、串口通讯、PID控制等几个部分的设计,并对相关模块进行分析和研究。本系统采用了软件控制方式进行运动控制开发,充分利用了单片机的优点,提高了运动控制系统通用性。本课题开发了运动控制系统的硬件、软件部分。在控制软件系统的设计中,介绍了运动控制系统中直流电机控制的PID算法,着重分析了数字运动控制器的PID控制原理,自整定PID数字控制器。本系统采用VB6.0作为上位机的开发环境,利用VB的MSComm控件去访问计算机的串行接口,在单片机与上位机之间采用异步通信方式。上位机上层界面用VB6.0设计,所设计的界面能进行显示与处理,操作简单。在控制算法上采用软件编程下扩充临界比例度法进行PID整定,PID算法控制由上位机编程来实现。单片机程序开发采用C语言编程,在下位机中对运动控制系统各个参数进行了初始化,并实现了与上位机交互控制,对运动控制系统进行了调试编程。在课题开发的运动控制卡及象棋机器人模拟手臂的基础上进行了大量的调试工作,完成了对LM629的运动控制芯片的编程和设置,实现了运动控制系统的速度和位置控制功能,所设计的软件系统具有很好的移植性。最后对本文的研究内容做了总结,并对基于单片机的运动控制技术的发展作了展望。

【Abstract】 This paper study chess-based intelligent robot motion control system. This paper first introduce the motion control system and current Status. Through the analysis of motor motion the overall method of system is determined.For the economical and practical purpose, the paper uses serial port for ommunication, a mcu and a motion control chip system form the system . PIC16F877 microcontroller and LM629 is the core of motion control system, the system is formed by software and hardware.This paper includes the introduction ofLM629 and its control circuit, driving circuit, RS232 circuit, PID control, and several other parts. This system uses the digital controlled method and make full use of the advantages of a microcontroller and make it adaptablly.In the part about software , the paper introduces the PID control principle, specially digital PID control principle, self-tuning PID digital controller. the paper use VB6.0 as a PC development environment. VB MSComm control component is used in serial port interface, asynchronous communication is used the PC between the MCU. The PC interface can display and process data simply. In the control algorithm the expansion of the critical ratio of law PID tuning is used, PID algorithm is included in the host computer program. The C programming language is adopted in mcu ,it finish the various parameters initialization of the motion control system, and communicate with the host computer to control movement control system.A lot of experiments are done using the motion control board and the rotor hand,the volecity control and positioncontrol method was finished . Finally the author made the summary to this thesis,and forecast the motion control echnology development based on mcu.

【关键词】 运动控制PIC16F877PID控制算法LM629
【Key words】 motion controlPIC16F877PID controlal gorithmLM629
  • 【分类号】TP242
  • 【被引频次】6
  • 【下载频次】213
节点文献中: