1、 本科毕业论文本科毕业论文 基于飞思卡尔基于飞思卡尔 1616 位单片机电磁型智能小车的设计位单片机电磁型智能小车的设计 BASED ON FREESCALE 16-BITMICROCONTROLLER SMART CAR DESIGN 学院(部) : 机械工程学院 专业班级: 机设 09-12 2013 年 月 日 基于飞思卡尔 16 位单片机电磁型智能小车的设计 摘要 本文是以飞思卡尔智能车竞赛为背景设计的一个智能小车运行系统。 本系统 是以飞思卡尔 MC9S12XS128 单片机为核心通过传感器识别道路的智能车控制 系统。本文着重阐述了道路信息的获取,处理和识别过程,并设计出 PID 控
2、制器, 运用有效的控制算法对智能小车进行控制,使智能小车能准确快速地对道路进行 跟踪。该系统通过光电传感器获取当前道路信息,通过有效的数字图像处理算法 对原始图像进行处理,对主要的有用信息进行分析和提取。在智能小车运动的控 制中,对小车的转向和速度采用 PID 控制算法,控制表来对智能小车进行转向和 速度控制。 关键词:单片机,智能小车,PID 控制算法 Based on Freescale 16-bit microcontroller smart car design Abstract It is based on freescale intelligence car competition
3、 as the background design of a smart car running system in this article. This system is based on freescale MC9S12XS128 single-chip microcomputer as the core through the sensors to identify road intelligent car control system.The article focuses on the acquisition,processing and recognition of the ta
4、rget path information.The Fuzzy controller using an effective controlling algorithm for intelligent vehicle control makes the smart car track the road fast and accurate.With the CCD camera the system obtains the current road information and deal with the original image,the main useful analysis and i
5、nformation extraction through effective digital image processing algorithms.According to the motion rules of the intelligent vehicle,fuzzy control algorithm and fuzzy PID algorithm can be applied to control the steering and speed of the intelligent vehicle separately.Fuzzy control rules can be gener
6、ated according to the requirement of the path tracking,which is followed by the generation of the fuzzy control table,then the steering and motion speed of the intelligent vehicle can be regulated after querying the fuzzy control table according to the path information which is already inquired. KEYWORDS:mcu, smart car , PID, 目录 摘要(中文) -2 摘要(外文) -3 1、绪