1、 - 1 - 智能小车控制信号的智能小车控制信号的 FPGA 实现实现 课程课程 名称名称 现代电子技术课程实践现代电子技术课程实践 指导指导 教师教师 班班 级级 11 电子二班电子二班 姓姓 名名 学学 号号 日日 期期 2014/12/23 - 2 - 摘要 基于 FPGA(现场可编程门阵列)的智能小车实现对一些危险,环境恶劣,远程处理的一 些施工场地或者研究的时候进行监测、控制、处理相关危险的紧急情况。可以帮助人类在无 法生存的情况下完成一些检测任务。 本论文是研究 SOPC(片上可编程系统)的基础上,提出了基于 FPGA 的智能车能自动采 集赛道信息进行跑动的方案。利用 FPGA 来
2、实现各个模块所需要的信号。 论文主要包括三个部分:在对整个智能车分析需要哪些信号的基础上,设计了相应的软 件程序。通过 Quarters编写相应的软件程序,第一部分是产生驱动 CCD 所需要的信号,这 部分有一组 PWM(脉冲宽度调制)波控制信号,A0(模拟电压输出)信号,SI(串行输入) 输入信号,CLK(时钟信号) ;最核心的是 CCD(电荷耦合元件)信号的处理,这部分如果解 决就基本解决总的问题了。第二部分是电机驱动所需要的信号,这部分需要一组 PWM 波控制 信号;第三部分是舵机信号所需要的信号,这部分需要一组 PWM 波控制信号。 关键词关键词:CCD, FPGA:CCD, FPGA
3、,PWMPWM,Smart carSmart car - 3 - ABSTRACT Based FPGA (field programmable gate array) of the smart car to achieve some dangerous, harsh environment, some of the construction site or remote processing time study to monitor, control, dealing with emergency situations related hazards. You can help peopl
4、e complete the task in the case of some tests can not survive. This thesis is to study the SOPC (system-on-chip programmable), based on the proposed FPGA-based smart car can automatically collect information running track program. Using FPGA to achieve the desired signal for each module. Dissertation consists of three parts: in which signals the need for the smart car based on the analysis, design the corresponding software program. B