基于飞思卡尔单片机自动循迹小车控制的设计.doc

基于飞思卡尔单片机自动循迹小车控制的设计.doc

  1. 1、本文档共36页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于飞思卡尔单片机自动循迹小车控制的设计

摘 要 随着我国的电子科技的不断发展,我们生活中的自动化设备越来越多,也为嵌入式在智能化上的研究提供了一个广阔的平台。 本系统以MK60DN512VMD100微控制器为核心控制单元,选用OV7620 CMOS模拟摄像头检测赛道信息, 高速AD转换芯片选用 TCL5510,将提取后的灰度图像进行软件二值化,进而提取赛道信息;用光电编码器实时检测小车的速度,采用PID控制算法调节电机的速度以及舵机转向,从而实现速度和方向的 关键字:MK60DN512VMD100,OV7620 CMOS,软件二值化,PID Abstract With the continuous development of electronic technology, more and more automation equipment into the production life of the people, the rapid development of embedded intelligent study provides a broader platform. In this paper, the design of intelligent vehicle system MK60DN512VMD100 microcontroller as the core control unit, the selection of OV7620 CMOSanalog cameras to detect the track information, to using TCL5510 high-speed AD converter chip, software binarization image, extract the white guide line for identification of the track information; optical encoder to detect the real-time speed of the model car, using the PID control algorithm to adjust the speed of the drive motor and steering the angle of the steering gear, in order to achieve closed-loop control of velocity and direction of the model car. Keywords: MK60DN512VMD100,OV7620 CMOS,software binarization, PID 目 录 摘 要 I Abstract II 1前言 1 1.1 设计的背景以及意义 1 1.2 智能小车国内外概况 1 1.2.1国内研究的概况 1 1.2.2 国外研究概况 2 1.3智能小车的发展前景 2 2 飞思卡尔单片机自动循迹小车系统设计总方案 3 2.1 系统硬件部分 3 2.2 系统软件部分 4 3 智能车硬件系统 5 3.1 单片机最小系统 5 3.1.1 PIT定时器模块 6 3.1.2 PWM 模块 6 3.1.3 I/O模块 7 3.1.4 时钟电路 7 3.1.5 复位电路 7 3.1.6 JTAG接口电路 8 3.2 电机驱动模块 8 3.3路径识别摄像头检测模块 9 3.3.1 摄像头的选择 9 3.3.2 摄像头简介 10 3.4 速度检测模块 10 3.5 舵机模块 10 3.6电源管理模块 10 3.6.1 3.3V电源 11 3.6.2 5V电源 11 4 软件系统的设计与实现 12 4.1赛道信息的提取 12 4.2 PID算法介绍 12 4.2.1 位置式 PID 13 4.2.2 增量式 PID 14 4.2.3 PID 参数整定 14 4.3转向舵机的控制方法 15 4.3.1 舵机的工作原理 15 4.3.2 舵机的 PID 控制 15 5 开发平台介绍 19 5.1 IAR Embedded Workbench IDE简介 19 5.2 IAR Embedded Workbench的功能及特点 19 5.3 硬件开发平台Altium Designer 22 6结 论 23 参 考 文 献 24 致 谢 25 附录1电路原理图 26 附录2 PCB图 27 附录3 元件清单 28 附录5 部分程序源代码 29 1前言 1.1 设计背景 在现代社会,汽车逐渐走进每个平民的家庭生活中,汽车行业发展迅速,同时交通事故也大大增多,每一分钟都有人死于车祸。近几年智能系统的发展迅速,智能车的研究成为了当下的研

文档评论(0)

2017ll + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档