文档详情

基于单片机的直流电机控制系统设计毕业设计论文.doc

发布:2017-09-17约2.38万字共45页下载文档
文本预览下载声明
毕业设计(论文)说明书 课题名称:基于单片机的直流电机控制系统设计 院 系 专 业 班 级 学 号 姓 名 指导教师 2012 年 5 月 20 日 摘 要 电动机作为最主要的机电能量转换装置,其应用范围已遍及国民经济的各个领域和人们的日常生活。无论是在工农业生产、国防、医疗卫生、交通运输和办公设备中,还是在日常生活的家用电器和消费电子产品中,都大量使用着各种各样的电动机。电动机的调速控制一般采用模拟法,对电动机的简单控制应用比较多。本设计实现了对电动机的简单控制,也就是指对电动机进行启动、制动和正反转控制。 本设计采用了单片机STC89C52与PC串行实现通信,由于单片机输入、输出电平是TTL电平,而PC机配置的是RS232标准串行接口,两者的电气规范不一致,因此要完成单片机与PC机的数据通信,必须对单片机输出的TTL电平进行电平转换。采用的转换电平芯片为MAX232。设计中采用STC89C52微处理器及其RS232通信接口、键盘、12864液晶显示器等外围电路,构成一台直流电机开环在线控制系统。 设计中采用PWM调制技术,实现对直流电机速度的调制,并通过串口实现上位机的在线控制。系统实现了在线调速、正转、反转、加速、减速、停止等多种功能,并能实时显示、键盘设置等,具有一定的实际应用价值。 关键词:单片机 电平转换 直流电机 在线控制 PWM调制 Abstract Motor as the main electromechanical energy conversion device, its application has been throughout all areas of the national economy and peoples daily life. Both in industrial and agricultural production, national defense, medical and health, transportation and office equipment, or in the daily life of household appliances and consumer electronics products, extensive use of various motor. Motor speed control using simulation method, the motor control application more simple. The design and implementation of simple controlling motor, also refers to the motor starting, braking and reverse control. The design introduced AT89C51 single-chip serial communication with the PC method, as the single-chip input and output level is TTL level, and PC-standard configuration is a RS232 serial interface, both the electrical specifications are inconsistent, Therefore to complete PC-SCM and data communications, the need for single-chip output TTL level to level translators. Used in chip-level conversion for the MAX232. Applied to the design of STC89C52 microprocessor and RS232 communication interface, keyboard, 12864 LCD peripheral circuit, constitute a dc motor control system online. Applied to the design of PWM technology to realize the dc motor speed regulation, and through a serial port r
显示全部
相似文档