资源描述:
《毕业设计(论文):基于单片机的步进电机控制系统设计与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、基于单片机的步进电机控制系统设计与实现摘要步进电机是一种纯粹的数字控制电动机,是一种受电脉冲信号控制的无刷式直流电动机,是现代定位驱动装置的核心,广泛应用在机械、电力、纺织、电子、仪表、印刷以及航空航天、船舶、兵器等国防工业等领域。基于单片机的步进电机控制系统具有稳定度高、成本低、控制方便、应用范围广等特点。本系统是由STC89C52单片机核心处理模块,遥控器命令输入模块,ULN2003及28BYJ-48步进电机组成的电机模块,12864液晶输出模块共同组成的基于单片机的步进电机控制系统。本设计以载波为38KHZ的红外遥控器作为用户的控制端,它的功能是把用户的命令转换为红外信号。红外
2、信号由TL1838接收,它可以将光信号转换为电信号,并将其发送给微控制器STC89C52。STC89C52对电信号进行相应处理即可获得用户所发出的指令,并依此来控制28BYJ48型四相八拍电机并以12864液晶作为当前状态的显示器。用户可以对步进电机进行加速、减速、正转、反转的控制。本步进电机控制系统具有精度高、运行稳定、控制方便、维护简单、应用范围广等特点。关键词:STC89C5212864液晶步进电机红外遥控DesignandImplementationofStepperMotorControlSystemBasedonMCUAbstractSteppermotorisakind
3、ofpuredigitalcontrolmotorandbrushlessdcmotorcontrolledbyelectricpulsesignaltype.Steppermotoristhecoreofthemodernorientationdrive,widelyusedinmachinery,electricpower,textile,electronics,instruments,printingandaerospace,ships,weapons,andotherareasofthedefenseindustry,etc.Thecharacteristicsofthest
4、eppingmotorcontrolsystembasedonsinglechipmicrocomputerincludehighstability,lowcost,convenientcontrolandwideapplication,etc.Thesteppermotorcontrolsystemconsistsofcoreprocessorusingthesinglechipprocessor,commandinputcontrolmoduleusingIRremotecontrol,displaymoduleusing12864LCDand28BYJ48steppingmot
5、ormodulewhichusingULN2003asdriver.Theinfraredremotecontrolwithcarrierfor38KHZisusedasthecontrolendoftheuser,whichcanconverttheusers’commandsintotheinfraredsignal.TheTL1838canreceivetheinfraredsignalandconvertitintoelectricalsignal,whichinputtotSTC89C52.TheMCUcanobtaininstructionsofusersbyproces
6、singtheincomingsignalandcontrolsteppingmotorofthe28BYJ48type,thecurrentstatuscanbeshownby12864LCD.Userscouldcontrolacceleration,deceleration,forward,inversionforthesteppingmotor.Thefeaturesofthecontrolsystemofsteppermotorincludeshighprecision,stablerunning,convenientcontrolandsimplemaintenancea
7、ndwideapplication,etc.Keyword:MCU;12864LCD;StepperMotor;Infraredremotecontrol目录1引言.................................................................................................................................12总体设计方案...........