直流电机远程测控系统的设计学士学位.doc
文本预览下载声明
北方民族大学
学士学位论文
论文题目: 直流电机远程测控系统的设计
院(部)名 称: 电气信息工程学院
学 生 姓 名: 杨 智
专 业: 电气工程及其自动化
学 号:
指导教师姓名: 张 新 闻
论文提交时间: 2010年5月20号
论文答辩时间: 2010年5月29号
学位授予时间:
北方民族大学教务处制
摘 要
本文的设计任务是实现直流电机的远程测控,主要从一下几方面进行设计:
1、89C51单片机为控制器对直流电动机进行控制和监测。
89C51单片机主要是对直流电动机进行正转、反转、加速、减速、停止等控制,并对电机的转速随时进行监测,等上位机需要时随时发送给上位机。直流电动机的驱动电路是采用H型桥式可逆PWM变换器,通过脉宽调制技术来控制电机的转速。
2、利用VB编写上位机与单片机的串口通信程序。
为了实现更加远距离的通信,本文采用RS-485串行通信口实现上位机与单片机进行通信,从而达到电机远程测控的目的。由于一般的上位机机只有RS-232串行通信,所以这里需要进行RS-232与RS-485转换。还用VB编写驱动监控界面,对电机的运行状态进行显示、监控、报警等。
3、用VB、Proteus实现串口通信的联调仿真
利用Serialnull软件建立虚拟串口,把上位机中的通信串口与单片机中的通信串口连接起来,实现仿真。
关键词:直流调速;单片机;串口通信;RS-485
ABSTRACT
This design task is to realize remote control of DC motors, mainly about the design aspects:
1、89C51 Single chip microcomputer of the DC motor control and monitoring。
8951 monolithic integrated circuits is in a direct motor, back, with the accelerating, decelerating, stop and wait for the control of the motor drive any monitoring as needed, such upper machines are sent to the upper machine.A direct motor driven circuit from the h the reciprocal change in patterns of pwm, through the wide modulation control motors techniques to speed.
2、The use of VB with the upper machine monolithic integrated circuits of the serial communication procedures.
In order to achieve greater distance, and in the RS -485 of work had begun to implement a computer communicate with monolithic integrated circuits, and so achieve the purpose of the tracking control.Because of the upper machine only RS-232 the serial communication, so it will require RS-232 and RS-485 transformation.With VB write a driver of the interface to monitor, electrical performance of the state on display, monitoring and alarm.
3、Using VB, Proteus joint simulation Serial Communication
Use serialnull software set up a virt
显示全部