工学学士论文摘要摘要随着科技的发展,机器人越来越广泛的应用于工业和生活。本课题是工业机器人遥操作控制系统设计之嵌入式伺服控制器的设计,通过对上位机命令和反馈信号的处理,实现对其进行有线遥控及运动轨迹的示教再现。本设计主要由硬件设计和软件设计两方面组成。在硬件方面,微处理器采用TI公司的MSP430系列超低功耗的混合信号控制器MSP430F449,采用CAN总线与上位机通讯,并经过隔离放大信号实现对驱动器的控制并采集光电编码器反馈的信号。软件部分也主要包括主程序,总线通讯程序和自动控制程序等。本设计综合了多方面的专业知识,利用嵌入式系统发展了机器人的控制性能,用硬件实现控制算法,同时完成任务的合理调度、实时控制和通信功能,促进机器人和工业的全面接轨。关键词:工业机器人;控制器;嵌入式工学学士论文摘要ABSTRACTWiththedevelopmentofscienceandtechnology,robotsareappliedtoindustryandlifemoreandmorewidely.Thistaskisonthedesignofembeddedservocontrolleroftheteleoperationcontrolsystemofaindustrialrobot.Throughdealingwiththecommandfromthehostmicroprocessorandthefeedbacksignal,itrealizesthewiredremotecontrolandthereoccurrenceoftheoriginalorbit.Thedesignmainlyconsistsoftwoparts:hardwareandsoftwaredesign.Intermsofhardware,theultra-lowpoweredmixedsignalcontrollerMSP430oftheMSP430seriesproducedbyTIIncischosenasthemainmicroprocessor,CANbusisusedtocommunicatewiththehostmicroprocessor,forthegoalofcontrollingthedrivethroughisolatingandamplifyingthesignalandcollectingthefeedbacksignalfromtheopticalencoder.Intermsofsoftware,itconsistsofthemainprogram,buscommunicationprogram,automaticcontrolprogramandsoon.Thisdesigncombinesavarietyofprofessionalknowledge,embeddedsystemisusedtodevelopthecontrolperformanceoftherobot,hardwareisusedtocompletethecontrolalgorithmandallaboveisfordispatchingthetasksreasonably,real-timecontrollingandcommunicating,promotingthefullintegrationofrobotsandindustry.Keywords:industrialrobot;controller;embedded工学学士论文目录目录1绪论................................................................................................11.1机器人和机器人学.....................................................................................11.2机器人的分类.............................................................................................11.3工业机器人的发展.....................................................................................22设计概述......................................................................................82.1工业机器人的基本组成.............................................................................82.2机器人的自由度.......................................................................................102.3课题组总框架...........................................................................................102.4控制器的功能及设计思路.......................................................................113硬件设计与选型...........................................................................133.1MPS430单片机概述................................................................................133.2CAN总线接口设计..................................................................................163.3光电编码器的反馈信号...........................................................................353.4伺服驱动器的控制...................................................................................384系统软件设计............................................................