第八届“飞思卡尔”杯全国大学生智能汽车竞赛技 术 报 告学 校:北京科技大学队伍名称:北京科技大学摄像头一队参赛队员:周 尧 顿海洋 罗林聪带队老师:杨 珏 马 飞关于技术报告和讨论论文使用授权的说明本人完全了解第八届“飞思卡尔”杯全国大学生智能汽车竞赛关保留、使用技术报告和讨论论文的规定,即:参赛作品著作权归参赛者本人,竞赛组委会和飞思卡尔半导体公司可以在相关主页上收录并公开参赛作品的设计方案、技术报告以及参赛模型车的视频、图像资料,并将相关内容编纂收录在组委会出版论文集中。参赛队员签名: 带队老师签名: 日 期: 摘 要本文设计的智能车系统以 MK60N512VMD100 微控制器为核心控制单元,通过 CMOS 摄像头检测赛道信息,使用模拟比较器对图像进行硬件二值化,提取黑色引导线,用于赛道识别;通过光电编码器检测模型车的实时速度,使用 PID控制算法调节驱动电机的转速和转向舵机的角度,实现了对模型车运动速度和运动方向的闭环控制。为了提高模型车的速度和稳定性,使用 C#、MFC 上位机、SD 卡模块、键盘模块等调试工具,进行了大量硬件与软件测试。实验结果表明,该系统设计方案确实可行。关键字:MK60N512VMD100,CMOS,PID,C#,SD 卡AbstractIn this paper we will design a smart car system based on MK60N512VMD100as the micro-controller unit. We use a CMOS image sensor to obtain lane image information. Then convert the original image into the binary image by the analog comparator circuit in order to extract black guide line for track identification. An inferred sensor is used to measure the car`s moving speed. We use PID control method to adjust the rotate speed of driving electromotor and direction of steering electromotor, to achieve the closed-loop control for the speed and direction. In order to increase the speed and the reliability of the car, a great number of the hardware and software tests are carried on and the advantages and disadvantages of the different schemes are compared by using the C# 、 MFC simulation platform, SD card module and the keyboar...