1、 I 摘摘 要要 半个世纪来,直流伺服控制系统己经在精密数控机床、加工中心、机器人等领域 得到了广泛的应用。随着伺服电动机技术、电力电子技术、计算机控制技术的发展, 使得伺服控制系统朝着控制电路数字化和功率器件的模块化的方向发展。 本文介绍了微机直流伺服系统的硬件、软件设计方案。硬件设计主要包括:总体 方案设计、单片机应用系统设计、驱动电路设计和测量电路设计。单片机用系统采用 了基于总线的模块式单片机通用开发设计方案,配置灵活,可根据需要组合成各种应 用系统。 功率驱动采用 PWM 伺服生成模块, 使系统具有结构简洁、 性能可靠的特点, 可以满足不同结构的直流伺服控制系统的设计要求。软件编制采
2、用模块化的设计方 式,主要包括主程序设计、T0 中断服务(采样定时控制)程序及数字控制算法程序的设 计。 通过系统的整体设计,完成了系统的基本要求,系统可以稳定的运行。 关键词关键词:位置伺服系统;直流电机;单片机 II High Precision Position Servo Microcomputer Control System Design AbstractAbstract For a half of century,the DC servo control system has been widely used in the NC machine tool,machining ce
3、nter,and robot,etc. With the technical development of servo motor,electronies Power and computer control,the servo control system is making towards digitized and modular design. This paper introduces the hardware,software design plan of DC servo control system on microcomputer. The hardware designed
4、 includes mainly: the total project design,single-chip computer application system design,drive circuit design and measure circuit design. The single-chip computer system is a versatile module single-chip computer developing system,It can make up various kinds of application systems according to you
5、r need. The power drives adopts the PWM produce modular,and also meets the designing requirement of the DC servo control system in different structure. The sotfware a dots modular design,includes primarily the main procedure design, the service procedure of T0 break off and increases the design of t
6、he deal type arithmetic figure PID calculation way procedure. Through the integral design of the system, the completion of the basic requirements of the system, the system can stable operation KeywordsKeywords: : Position servo system;Dc motor; microcontroller III 目目 录录 第一章绪论 . 1 1.1 课题研究的目的和意义 1 1.2 国内外研究现状以及发展趋势 2 1.3 设计要求及参数 . 4 第二章 系统总体方案设计 . 6 2.1 系统控制方案的选择 6 2.2 直流伺服电机的数学模型 . 6 2.3 控制器的设计 8 2.3.1 电流调节器的设计 . 8 2.3.2 转速调节器的设计 . 9 2.4 位置控制器设计 . 9 第三章 系统硬件设计 . 11 31 控制单元电路设计 11 3.1.1 引