直流电机测速控制系统设计与实现.docx
《直流电机测速控制系统设计与实现.docx》由会员分享,可在线阅读,更多相关《直流电机测速控制系统设计与实现.docx(45页珍藏版)》请在第一文库网上搜索。
1、摘要直流电机是工业现场中常用的驱动装置,随着科技的发展,对直流电机速度测量和控制的精度要求也越来越高。现目前直流电机大多使用模拟电路组成的控制柜进行控制。这种方式成本高、控制效果不佳。为了解决成本、控制效果和测速精度的问题。本文设计了一个直流电机测速控制系统,实现了测量直流电机实时转速、控制直流电机开始、停止、加速、减速、正转、反转以及上位机上显示实时转速和设置预定转速。本系统采用了STC89C52单片机作为主控芯片。硬件上有单片机最小系统、1CD12864显示模块、串口通信模块、1M7805CT稳压模块、按键输入模块、霍尔传感器测速模块。使用Kei1WiSion4C51版设计软件部分,软件中
2、包括了显示子程序、自动调速子程序、按键功能子程序、串口通信子程序。使用MicrosoftVisua1Studio2012编写上位机程序对系统实时速度、转向进行显示以及设置预定转速。本文按照设计要求对硬件和软件进行了详细的设计,对各个模块的原理和实现方法进行了详细的分析。关键词:单片机;直流电机;上位机AbstractTheDCmotorisacommon1yuseddriveingdeviceintheindustria1fie1d.Withthedeve1opmentoftechno1ogy,theaccuracyrequirementsforthespeedmeasurementandco
3、ntro1oftheDCmotorarebecominghigherandhigher.Atpresent,mostDCmotorsarecontro11edbyacontro1cabinetcomposedofana1ogcircuits.Thismethodhashighcostandpoorcontro1effect.Inordertoso1vetheprob1emsofcost,contro1effectandspeedmeasurementaccuracy.ThispaperdesignsaDCmotorspeedmeasurementcontro1systemtomeasureth
4、erea1-timespeedoftheDCmotor,contro1thestart,stop,acce1eration,dece1eration,forwardandreverserotationoftheDCmotor,anddisp1aytherea1-timespeedandsetthepredeterminedspeedonthehostcomputer.ThissystemusesSTC89C52sing1e-chipmicrocomputerasthemaincontro1chip.Thehardwareinc1udestheminimumsystemofsing1echipm
5、icrocomputer,1CD12864disp1aymodu1e,seria1communicationmodu1e,1M7805CTvo1tageregu1atormodu1e,keyinputmodu1e,Ha11sensorspeedmeasurementmodu1e.UseKei14C51versiontodesignthesoftwarepart,thesoftwareinc1udesdisp1aysubroutine,automaticspeedadjustmentsubroutine,keyfunctionsubroutine,seria1communicationsubro
6、utine.UseVisua1Studiotowriteahostcomputerprogramtodisp1aytherea1-timespeedandsteeringofthesystemandsetthepredeterminedspeed.Inthispaper,hardwareandsoftwarearedesignedindetai1accordingtothedesignrequirements,andtheprincip1esandimp1ementationmethodsofeachmodu1eareana1yzedindetai1.Keywords:Sing1eChipMi
7、crocomputerDCMotorMasterComputer摘要IAbstractII第1章绪论11.1 课题背景11.2 目的和意义11.2.1 课题目的11.2.2 课题意义21.3 国内外研究现状21.4 本课题研究的主要内容和目标3第2章系统方案设计42.1 主控芯片的选择42.2 显示模块的选择62.3 电机驱动模块的选择72.4 测速方案的选择82.5 直流电机的选择92.6 上位机开发环境选择11本章小结12第3章硬件系统设计133.1 硬件系统总体框图133.2 主控制器设计143.2.1 时钟电路设计143.2.2 复位电路设计153.3 1M7805CT芯片电路设计16
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 直流电机 测速 控制系统 设计 实现
