I第十届“飞思卡尔”杯全国大学生智能汽车竞赛技术报告学校:南通大学队伍名称:南通大学e芯一队参赛队员:孔令东袁凯东韩增龙带队教师:杨永杰II关于技术报告和研究论文使用授权的说明本人完全了解第十届“飞思卡尔”杯全国大学生智能汽车竞赛关保留、使用技术报告和研究论文的规定,即:参赛作品著作权归参赛者本人,比赛组委会和飞思卡尔半导体公司可以在相关主页上收录并公开参赛作品的设计方案、技术报告以及参赛模型车的视频、图像资料,并将相关内容编纂收录在组委会出版论文集中。参赛队员签名:带队教师签名:日期:III摘要本文设计的智能车系统以MK60FN512VLQ150微控制器为核心控制单元,通过OV7725摄像头检测赛道信息,对图像进行硬件二值化,提取黑色引导线,用于赛道识别;通过编码器检测模型车的实时速度,使用PID控制算法调节驱动电机的转速和转向舵机的角度,实现了对模型车运动速度和运动方向的闭环控制。为了提高模型车的速度和稳定性,使用虚拟示波器、Labview上位机、SD卡模块、键盘模块等调试工具,进行了大量硬件与软件测试。实验结果表明,该系统设计方案确实可行。关键字:MK60FN512VLQ15,PID,OV7725IVAbstractInthispaperwewilldesignasmartcarsystembasedonMK60FN512VLQ15asthemicro-controllerunit.WeuseaOV7725imagesensortoobtainlaneimageinformation.Thenconverttheoriginalimageintothebinaryimagebytheanalogcomparatorcircuitinordertoextractblackguidelinefortrackidentification.Aninferredsensorisusedtomeasurethecar`smovingspeed.WeusePIDcontrolmethodtoadjusttherotatespeedofdrivingelectromotoranddirectionofsteeringelectromotor,toachievetheclosed-loopcontrolforthespeedanddirection.Inordertoincreasethespeedandthereliabilityofthecar,agreatnumberofthehardwareandsoftwaretestsarecarriedonandtheadvantagesanddisadvantagesofthedifferentschemesarecomparedbyusingthe、MFCsimulationplatform,SDcardmoduleandthekeyboardmodule.Theresultsindicatethatourdesignschemeofthesmartcarsystemisfeasible.Keywords:MK60FN512VLQ15,PID,OV7725V目录摘要.........................................................................................................................IIIAbstract.........................................................................................