摘要:本文主要研究了利用MCS-51系列单片机控制PWM信号从而实现对直流电机转速进行控制的方法。文系统采用了特殊的芯片组成了PWM信号的调制系统,并且对PWM信号的原理、产生方法以及如何通过软件编程对PWM信号占空比进行调节,进而控制其输入信号波形等均作了详尽的阐述。另外,本文中还采用了芯片L9110H作为直流电机的正反转驱动模块,并且把它与控制电路相结合完成了在主电路中对直流电机的控制。本系统中使用了槽型光电开关对直流电机的转速进行测量,并由单片机的计数器对单位时间内的脉冲数量进行计数,从而实现了对直流电机速度的测量。在软件方面,文章中详细介绍了PWM占空比调节程序,数码管显示程序经及按键描述程序等的编写思路和具体的程序实现。本系统基于AT89C51单片机来对直流电机的转速快慢进行调控。仿真和实验结果验证了设计的正确性。93395

毕业论文关键词:单片机,直流电机,调速

Abstract:This paper mainly studies the method of controlling the PWM signal by MCS-51 series single chip microcomputer to realize the control of the DC motor speed。 The system uses a special chip to form the PWM signal modulation system, and the PWM signal principle, the method and how to program the PWM signal duty cycle to adjust, and then control the input signal waveforms are made detailed Elaborated。 In addition, this article also uses the chip L9110H as a DC motor forward and reverse drive module, and it is combined with the control circuit to complete the main circuit in the DC motor control。 In this system, the slot type photoelectric switch is used to measure the speed of the DC motor, and the number of pulses per unit time is counted by the single counter to realize the measurement of the DC motor speed。 In the software, the article details the PWM duty cycle adjustment procedures, digital display program and the key description of the preparation of ideas and specific procedures to achieve。 The system based on AT89C51 microcontroller to speed the DC motor speed regulation。 Simulation and experimental results verify the correctness of the design。

Keywords: microcontroller,DC motor,speed regulation

目录

1 绪论 4

1。1 本文研究的背景与意义 4

1。2 国内研究的发展与现状 4

1。3 本文研究的内容与安排 5

2 直流电机调速系统总体方案设计 5

2。1 直流电机调速系统控制要求 5

2。2 系统组成框图设计 5

2。3 电机调速原理 6

2。4 PWM调速原理 7

2。5 霍尔元件测速原理 8

3 直流电机调速系统硬件设计 8

3。1 单片机最小系统设计 8

3。2 PWM信号发生电路设计 12

3。3 液晶电路 14

3。4 按键电路 15

3。5 霍尔元件电路 15

3。6 系统原理图 16

4 软件设计 17

4。1 主程序设计及流程图 19

4。2 按键扫描程序设计及流程图 19

4。3 电机PWM驱动程序设计及流程图

上一篇:STC89C51单片机的音乐盒系统设计
下一篇:SG3525半桥式开关电源设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

AT89S52单片机车内空气检测系统设计+源代码

LABVIEW+AT89C51单片机智能药箱系统设计+源代码

大规模MIMO系统的发展研究现状

《水浒传》中血腥暴力研...

MNL模型历史城区居民活动...

PCI+PID算法直流力矩电机速...

遥感土地用变化监测国内外研究现状

高效课堂教师问卷调查表

提高小學语文課堂朗读教...

浅析施工企业保理融资成...

小型通用机器人控制系统设计任务书

从企业eHR建设谈管理信息...