{$cfg_webname}
主页 > 电子信息 > 电子 >

直流电机转速测控系统的设计

来源:56doc.com  资料编号:5D25777 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D25777
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

直流电机转速测控系统的设计(论文13000字)
摘 要:电子技术的不断演进,越来越多的场景下开始使用单片机技术进行产品的革新换代,利用单片机配合相关传感器进行速度测量已经运用在许多行业中。通过速度的测量可以对电子系统进行反馈控制,具有较强的使用价值。本系统是以STC89C52单片机为控制核心,通过按键调节PWM波参数,改变定时器中断参数值,用L298N大功率H桥电路驱动直流电机,用红外光电传感器在测速模块工作来收集速度数据,然后利用单片机定时/计数器通过测定一段时间内的脉冲数数目,根据脉冲数和时间的关系转换成每分钟的转速,并显示到LCD1602液晶屏幕上。通过实际测量的转速来修正电机调速,使电机达到稳定的转速输出的状态。
关键词:单片机;LCD1602;红外;定时器;测速

The Design of DC Motor Speed Control System Based on SCM
Abstract:With the evolvement of Electronic technology,people began to use single-chip technology for product innovation in many cases,single-chip with the relevant sensor for speed measurement has been used in many industries.Through the measurement of the speed can do feedback control to the electronic system,and it has a strong use value.The system is to use STC89C52 microcontrolleras the control core,through thekey toadjust the PWM wave parameters to change the timer interrupt parameter values,use L298N high power H bridge circuit to drive DC motor,use infrared photoelectric sensor in the speed module to collect the speed data,and then use the microcontroller timer/event counter.And then use the microcontroller timer/counter by measuring the number of pulses within a period of time,according to the relationship between the number of pulses and time conversion to the speed per minute,and display to the LCD1602 LCD screen.Through the actual measured speed to correct the motor speed,the motor will achieve a stable speed output status.
Keywords:Single chip microcomputer;LCD1602;infrared;timer;speed measurement
 

直流电机转速测控系统的设计


目录
摘要    I
Abstract    II
第1章绪论    1
1.1 课题研究的背景及意义    1
1.2 国内外研究现状    1
1.3 设计的主要目标任务    2
1.4 本章小结    2
第2章方案论证    2
2.1 方案设计    2
2.2 方案确定    3
2.2.1 确定方案的总设计图    3
2.2.2 整个设计的确定方案    4
2.3 本章小结    4
第3章硬件设计    4
3.1单片机最小系统设计    4
3.1.1 STC89C52单片机介绍    4
3.1.2 52最小系统电路设计    4
3.2 LCD1602液晶显示电路设计    6
3.2.1 LCD1602液晶介绍    6
3.2.2 单片机与LCD1602液晶接口介绍    7
3.3 按键和电源电路设计    7
3.4 测速电路设计    9
3.4.1红外测速的原理    9
3.4.2 红外测速电路设计    9
3.5 L298N驱动电路设计    9
3.5.1 脉宽调制原理    9
3.5.2 电机调速电路设计    10
3.5.3  L298N驱动电路设计    11
3.6 本章小结    11
第4章程序设计    11
4.1 语言介绍    11
4.2 开发工具介绍    12
4.3主程序设计    13
4.3.1 总体软件设计流程图    13
4.3.2电机测速子程序设计    13
4.3.3 电机调速子程序设计    14
4.4 系统子程序设计    14
4.4.1 液晶显示子程序设计    14
4.4.2 按键控制子程序设计    15
4.5 本章小结    15
第5章系统调试    15
5.1 硬件调试    15
5.2 软件调试    16
5.3系统调试结果    16
第6章结论    18
参考文献    18
总结与体会    19
致谢    19
附录一    20
附录二    20

推荐资料