题
目:
基于单片机的步进电机的控制器设计
I
f摘
要
步进电机控制方式的实现有多种可以采用电子电路控制,PLC控制和单片机控制。但是电子电路控制步进电机灵活度不高,PLC控制不能在高频率下进行,控制精度小。而随着科技的飞速发展单片机的应用正在不断深入同时带动传统控制检测的更新,用单片机控制步进电机显得更加灵活和方便。本设计是用AT89C52单片机作为核心部件进行逻辑控制及信号产生,用单片机技术和C语言编程设计来进行步进电机的控制。通过人手动按开关实现步进电机的启动与停止。此外此系统还添加了步进电机的正转反转,加速及减速,屏幕显示功能。同时本文也通过了proteus软件的仿真,在仿真结果中能看出近似真实的效果。整个系统采用模块化设计结构简单可靠通过按键控制操作方便节省成本。
关键词:步进电机
单片机控制
AT89C52
proteus仿真
II
fTitle
Thedesig
oftheco
trolsystemofStepmotor
Abstract
Thestepmotorco
trolhasalotofki
dssuchasElectro
iccircuitco
trolPLCco
trola
dmicroprocessorco
trolledButtheflexibilityoftheelectro
iccircuittoco
trolsteppermotorPLCco
trolathighfreque
ciesasmallco
trolaccuracyWiththerapiddevelopme
tofscie
cea
dtech
ologytheapplicatio
ofSCMisco
sta
tlyi
depthatthesametimeledtheupdateofthetraditio
alco
troltestswithSCMsteppermotorco
trolismoreflexiblea
dco
ve
ie
tThispaperdescribesacorecompo
e
toftheAT89C52asthesig
alge
eratedbylogicco
trola
dmicroco
trollertech
ologya
dassemblyla
guageprogrammi
gdesig
edsteppermotorco
trolsystemStarta
dstopofthesteppi
gmotortoha
dletheswitchma
uallybypeopleI
additio
thissystemalsoaddsasteppermotorforwardreverseacceleratio
a
ddeceleratio
thescree
displayMea
whilethroughsoftwaresimulatio
i
proteustooca
besee
thattheapproximatio
ofthetrueeffectofthesimulatio
results
AT89C52proteussimulatio
Keywordssteppermotor
microco
troller
III
f目次
摘要IIAbstractIII1绪论111课题研究的目的和意义112国内外研究现状113课题主要研究内容和要求22步进电机常见的控制方案论证321基于电子电路的控制322基于PLC的控制323基于单片机的控制43系统硬件r