基于 AT89S51 单片机的单轴步进电机控制器设计
目 录
摘要................................................................................................................................................I
Abstract.......................................................................................................................................II
引言 ...............................................................................................................................................1
第一章 设计背景..................................................................................................................2
1.1 步进电机发展史 ..........................................................................................................2
1.2 我国步进电机的发展 .................................................................................................2
1.3 步进电机的发展趋势 .................................................................................................3
第二章 方案设计..................................................................................................................4
2.1 提出设计课题...............................................................................................................4
2.2 步进电机的工作原理 .................................................................................................5
2.3 步进电机的控制 ..........................................................................................................6
2.3.1 步进电机的驱动......................................................................................................6
2.3.2 步进电机的调速......................................................................................................9
2.3.3 步进电机的开环控制 ..........................................................................................11
2.4 确定设计方案 ............................................................................................................11
第三章 硬件设计................................................................................................................14
3.1 单片机最小系统........................................................................................................14
3.2 步进电机驱动电路 ...................................................................................................14
3.3 显示电路 .....................................................................................................................19
3.4 独立按键电路 ............................................................................................................21
第四章 软件设计................................................................................................................23
4.1 系统主程序.................................................................................................................23
4.2 系统初始化子程序 ...................................................................................................25
4.3 按键子程序.................................................................................................................27
4.4 显示子程序.................................................................................................................30