基于stm32的智能小车设计毕业设计论文.doc
上传人:邻家****66 上传时间:2024-09-12 格式:DOC 页数:47 大小:7.8MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

基于stm32的智能小车设计毕业设计论文.doc

基于stm32的智能小车设计毕业设计论文.doc

预览

免费试读已结束,剩余 37 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

海南大学毕业论文(设计)题目:基于stm32的智能小车设计学号:姓名:年级:2011级学院:应用科技学院学部:工学部专业:电子科学与技术指导教师:完成日期:2014年12月1日基于stm32的智能小车设计PAGE\*MERGEFORMAT-46-摘要本次试验主要分析了基于STM32F103微处理器的智能小车控制系统的系统设计过程。此智能系统的组成主要包括STM32F103控制器、电机驱动电路、红外探测电路、超声波避障电路。本次试验采用STM32F103微处理器为核心芯片,利用PWM技术对速度以及舵机转向进行控制,循迹模块进行黑白检测,避障模块进行障碍物检测并避障功能,其他外围扩展电路实现系统整体功能。小车在运动时,避障程序优先于循迹程序,用超声波避障电路进行测距并避障,在超声波模块下我们使用舵机来控制超声波的发射方向,用红外探测电路实现小车循迹功能。在硬件设计的基础上提出了实现电机控制功能、智能小车简单循迹和避障功能的软件设计方案,并在STM32集成开发环境Keil下编写了相应的控制程序,并使用mcuisp软件进行程序下载。关键词:stm32;红外探测;超声波避障;PWM;电机控制AbstractThisexperimentmainlyanalyzesthecontrolsystemofsmartcarbasedonmicroprocessorSTM32F103systemdesignprocess.ThecompositionoftheintelligentsystemmainlyincludingSTM32F103controller,motordrivecircuit,infrareddetectioncircuit,circuitofultrasonicobstacleavoidance.ThisexperimentadoptsSTM32F103microprocessorasthecorechip,usingPWMtechniquetocontrolspeedandsteeringgearsteering,trackingmoduleisusedtodetecttheblackandwhite,obstacleavoidancemoduleforobstacledetectionandobstacleavoidancefunction,otherperipheralextendedcircuittorealizethewholesystemfunction.Whenthecarismoving,obstacleavoidanceprogrampriortotracking,usingultrasonicrangingandobstacleavoidanceobstacleavoidancecircuit,weusesteeringgearunderultrasonicmoduletocontroltheemissiondirectionofultrasonic,infrareddetectioncircuitisusedtoimplementthecartrackingfunction.Onthebasisofthehardwaredesignisproposedformotorcontrolfunction,simpleintelligentcartrackingandobstacleavoidancefunctionofsoftwaredesign,andintheSTM32integrateddevelopmentenvironmentundertheKeil.Writethecorrespondingcontrolprogram,anduseMcUispprogramdownloadsoftware.Keywords:STM32;Infrareddetection;Ultrasonicobstacleavoidance;PWM;Motorcontrol目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc418710985"1.绪论PAGEREF_Toc418710985\h-4-HYPERLINK\l"_Toc418710986"1.1研究概况PAGEREF_Toc418710986\h-4-HYPERLINK\l"_Toc418710987"1.2研究思路PAGEREF_Toc418710987\h-4-HYPERLINK\l"_Toc418710988"2.软硬件设计PAGEREF_Toc418710988\h-5-