成都工业学院毕 业 设 计 (论 文) 设计(论文)题目: 基于单片机的室内 云台运动控制电路 系 部 名 称: 机电工程系 专 业: 数控技术专业 班 级: 学 生 姓 名: 学 号: 指 导 教 师: 二 O 一二年 6 月摘要 论文在分析了云台结构和控制的而要求上,设计了以 AT89C52 单片机为控制器的云台控制系统,同时通过 RS-232 总线的串口通信实现与 PC 机之间的通信。改控制系统有单片机的控制模块、键盘模块、远程控制模块组成,并进行相应的软件设计、调试和仿真。关键字:AT89C52;云台控制;步进电机;串口通信;仿真ABSTRACT This paper design a Yuntai control system using AT89C52 MCU based on analysis of the yuntai of the structure and it's control requirements.And the same time realize communication of computer through serial communication of RS-485 bus.MCU control module,keyboard module,motor driver module and remote control module comprise the control system.And complete the corresponding software design,testing and simulation.Key word: AT89C52;Yuntai control;Stepper motor;Simulation;serial communication目 录摘 要..............................................................1ABSTRACT...........................................................2第 1 章 引言.........................................................11.1 云台........................................................11.2 单片机......................................................11.3 本设计完成的任务............................................2第 2 章 云台.........................................................32.1 云台概述....................................................32.1.1 云台内部结构..........................................32.1.2 云台的性能指标.........................................42.1.3 云台电机...............................................52.2 步进电机....................................................52.2.1 步进电机的工作原理.....................................62.2.2 步进电机主要技术指标......................