本科毕业论文基于飞思卡尔 16 位单片机电磁型智能小车的设计BASED ON FREESCALE 16-BITMICROCONTROLLER SMART CAR DESIGN学院(部): 机械工程学院 专业班级: 机设 09-12 2025 年 月 日基于飞思卡尔 16 位单片机电磁型智能小车的设计摘要 本文是以飞思卡尔智能车竞赛为背景设计的一个智能小车运行系统。本系统是以飞思卡尔 MC9S12XS128 单片机为核心通过传感器识别道路的智能车控制系统。本文着重阐述了道路信息的猎取,处理和识别过程,并设计出 PID 控制器,运用有效的控制算法对智能小车进行控制,使智能小车能准确快速地对道路进行跟踪。该系统通过光电传感器猎取当前道路信息,通过有效的数字图像处理算法对原始图像进行处理,对主要的有用信息进行分析和提取。在智能小车运动的控制中,对小车的转向和速度采纳 PID 控制算法,控制表来对智能小车进行转向和速度控制。关键词:单片机,智能小车,PID 控制算法Based on Freescale 16-bit microcontroller smart car designAbstractIt is based on freescale intelligence car competition 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 target 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 information 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 generated according to the requirement of the path tr...