基于51单片机小车的循迹避障系统

基于51单片机小车的循迹避障系统

ID:854299

大小:2.79 MB

页数:40页

时间:2017-09-20

基于51单片机小车的循迹避障系统_第1页
基于51单片机小车的循迹避障系统_第2页
基于51单片机小车的循迹避障系统_第3页
基于51单片机小车的循迹避障系统_第4页
基于51单片机小车的循迹避障系统_第5页
资源描述:

《基于51单片机小车的循迹避障系统》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、毕业论文(设计)题目:基于51单片机的小车循迹避障系统学院:电气工程学院学号:姓名:专业年级:指导老师:基于51单片机的小车循迹避障系统专业:电子信息工程姓名:指导教师:摘要随着社会的发展,智能化越来越受到人们的关注。本设计通过模拟汽车的自动行驶及避障功能,来实现智能化。在此设计中,用STC89C52单片机作为主控芯片,处理接收到的各种信号,并作出相应的反馈;用红外对管来进行黑线检测,从而达到循迹的目的;用超声波传感器来感知障碍物,实现避障功能;用L298N芯片来进行驱动,通过编写的程序,保证了电机的左右转动,从而达到小车设计时预定的目标。在本小车的设计中,有着严格的设计过程,

2、采用了模块结构框图设计、程序流程图设计、程序设计以及电路图设计等多个设计步骤。这样就可以保证在设计过程中的严密性,不会因为单一设计体系而使整个系统功能出现错误。由于小车在设计过程中,采用了模块化的设计思路,所以在进行调试时非常方便。我们可以分别对每一个功能部分来进行调试,驱动部分调试时,只要给电机向前或者向后的信号,就可以调试出其功能。循迹部分调试时,只要通过检测到黑线,判断是否沿黑线行驶,即可以调试出。在进行避障调试中,我们可以把障碍物放在小车前方,然后看小车两个轮子的转向。这种模块化的设计思想不仅简化了设计过程,而且对我们以后的设计也会有一定启发。关键词智能化,单片机,红外

3、对管,超声波传感器ABSTRACTAlongwiththedevelopmentofsociety,moreandmoreintelligentattention.Thisdesignbysimulatingacardrivingandautomaticobstacleavoidance,toachieveintelligent.Inthisdesign,withSTC89C52SCMasthemasterchip,processingvarioussignalsreceived,andmakecorrespondingfeedback;usingInfraredtotubet

4、odetecttheblackline,soastoachievethepurposeoftracking;usingultrasonicsensorstoperceiveobstaclesthingtorealizeobstacleavoidancefunction;usingL298Nchiptobedrivenbywrittenprocedurestoensurethatthemotorisrotatingaroundtoachievethedesiredgoalwhendesigningthecar.Incardesign,arigorousdesignprocess,

5、usingablockdiagramofthemoduledesign,programflowchartdesign,programmingandmultipledesignstepsSchematicdesign.Thisensuresthatthedesignprocessrigor,theerrordoesnotoccurbecauseofasingledesignsystemandmaketheentiresystemfunctions.Asthecarinthedesignprocess,usingamodulardesignconcept,soveryconveni

6、entduringdebugging.Wewerepartofeachfunctionfordebugging,debuggingdrivingpart,aslongasthemotorforwardorbackwardsignal,youcandebugthefunctionality.Whendebuggingtrackingpart,simplybydetectingtheblackline,todeterminewhethertheblacklinerunningalong,thatyoucandebuga.Avoidanceduringcommissioning,we

7、canputanobstacleinfrontofthecar,andthenlookatthecartwosteeringwheels.Thismodulardesignnotonlysimplifiesthedesign,butalsoforourfuturedesignsalsohavesomeinspiration.KeyWords:Intelligent,SCM,Infraredtotube,Ultrasonicsensors目录第1章绪论11.1智能小车的研究意义11.2智能小车

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。