基于瑞萨m16c的步进电机精确控制及基于几类空间中微分概念的研究.pdf
基于瑞萨M16C的步进电机精确控制
摘要
本论文题目是在WINDOWSXP为操作系统的开发平台下,使用瑞萨的
HEW编辑器,瑞萨的NC30编译器和瑞萨的KD30调试器,编写好控制系统
代码,使用瑞萨的M16C系列单片机芯片,来实现
SIHONGMOTOR16H38-0806A二相六线步进电机的基本驱动,键盘的基本
控制,LCD显示器的基本显示。并运用L298N驱动电路作为接受M16C系列
单片机的电脉冲输出信号从而满足二相六线步进电机的基本驱动要求并通
过LCD显示器准确的描述其基本转动内容。通过M16C系列单片机的芯片自
带定时器的PWM输出来构成对二相六线步进电机所需要的时序脉冲的输入,
进而实现对二相六线步进电机的精确和细分的控制。
本文主要论述的是二相六线步进电机应用的背景知识和背景技术外,
另外,还对二相六线步进电机的工作原理进行描述,然后以瑞萨的M16C系
列单片机的芯片为主的控制器提出了整个系统的硬件设计方案及如何利用
瑞萨的M16C系列单片机的芯片来控制二相六线步进电机的运行。
关键词:步进电机,M16C单片机,PWM,细分,精确控制
PRECISECONTROLFORSTEPPERMOTORBASEDONRENESASM16C
ABSTRACT
ThetopicofthispaperisintheWINDOWSXPoperatingsystem
developmentplatform,theuseofRenesasHEWeditor,RenesasNC30compiler
andKD30debugger,towriteagoodcontrolsystemcode,theuseofRenesas
M16Cseriessinglechip,toachieveSIHONGMOTOR16H38-0806Aphasesix
wiresteppermotorbasicdrive,keyboardcontrol,LCDbasicdisplaydisplay.And
theuseofL298NdrivecircuitastoaccepttheM16CSeriesMCUelectricalpulse
outputsignaltomeettwophasesixwiresteppermotorbasicdriverequirements
andthroughtheLCDdisplayaccuratedescriptionofitsbasiccontentsofrotation.
ThroughtheM16CSeriesMCUchipbuilt-intimerPWMoutputoftwophasesix
wiresteppermotorneedtimingpulseinput,andthethetwophasesixwire
steppermotorsubdivisioncontrolprecisionand.
Thisarticlemainelaborationisphasesixwiresteppermotorapplicatio
backgroundandtechnicalbackground,inaddition,alsoontwophasesixwire
steppermotorprinciplearedescribed,andthentoRenesasM16Cseriessinglechip
basedcontrollerispresented.ThesystemhardwaredesignandhowtouseRenesas
M16CSeriesMCUthechiptocontrolthephasesix