Abstract
Abstract:Aiming at the safety problem of vehicle driving, this thesis studies a machine vision system that can be used by Intelligent Vehicle, which give alarm to the drive when the automobile is to drive from the driveway。 And present a design scheme about machine vision based on DSP。 Then the system is implemented with hardware including DSP video input processor etc。 Above all, this thesis proves the necessity of the research about machine vision of Intelligent Vehicle, the feasibility of the technology and its developing trends, and then introduces the several important elements of the system。 The system hardware take TI TMS320C5410 as the CPU be responsible for the picture processing, the video frequency decoding chip carry on images collect and conversion, the CPLD complete various connecter logic and cycle times to match。 The acquired images of the system are stored in the dual-RAM。 If one frame is finished, an interrupt signal will be sent to the DSP。 Then the DSP reads these data, processes them rapidly and calculates the distance。 If the distance is less than safety distance, the voice alarm unit will be started by the UART。 Interface programs of all section are introduced specially and some source codes are given,also the circuit diagram of the system hardware connectivity。
Keywords:Machine vision, images collect, DSP, video frequency decoding chip, voice alarm
目 录
摘要 1
Abstract 2
1 引言 3
1.1 问题的提出 3
1.2 国内外的研究现状 3
1.3 设计的主要内容 3
2系统基本原理及硬件设计 5
2.1 基本原理 5
2.2 图像采集模块 5
2.2.1 CCD摄像头安装 6
2.2.2 视频解码芯片SAA7111A 6
2.2.3 I2C总线 8
2.2.4 CPLD器件 8
2.2.5 双口RAM 9
2.3 图像处理模块 10
2.3.1 图像处理芯片(DSP) 10
2.3.2 外部存储空间 12
2.3.3 电源和复位电路 12
2.4 语音输出模块 13
2.4.1 语音报警芯片XF1M01 14
2.4.2 UART芯片和电平转换芯片 15
3 系统软件设计 17
3.1 主程序设计 17
3.2 I2C总线写程序 17
3.3 UART输出子程序 20
4 结论 22
谢辞 23
参考文献 24