JIMI 发表于 20:50

基于单片的超声波的测距设计

论文编号:DZXX190  论文字数:11225,页数:33
摘要
 本课题主要是为了解决由单片机控制超声波的发射、接收。通过计算超声波发射和接收之间的时间差来计算实测距离。
 本文主要介绍系统的构成、电路原理及程序设计。系统由AT89C52单片机、超声波发射电路、超声波接收电路及显示电路组成。分析了超声波测距误差的主要来源。
 该电路设计合理、工作稳定、性能良好、计算简单、易于做到实时控制。稍做修改可以应用于汽车雷达系统。
关键词:超声波,测距,AT89C52单片机

ABSTRACT
 This project primarily deals with the matter of the microcontroller ultrasonic transmitter and receiver. By counting the time difference between the ultrasonic transmitting and receiving, the measured distance is calculated.
 This article focuses on the formation of the system, the circuitous philosophy, and the program design. The system consists of a AT89C52 MCU, ultrasonic transmitter circuit, ultrasonic receiver circuit and show circuit. 10mm-700mm. Measurement The paper also analyzes the major cause of the error in ultrasonic ranging.
The circuit design is reasonable, the system works stably, and performs well. The calculation is simple and the whole system is easy to do real-time control. Slight modification can be applied to automotive radar systems.
 
Key words: Ultrasound , Distance, AT89C52 Microcontroller
 
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1 背景 1
1.2 研究内容 2
1.3 国内外研究现状 2
第2章 设计方案 4
2.1 超声波测距原理 4
2.2 系统整体方案的论证 5
2.3 器件的选择 5
2.4 KEIL开发环境简介 6
2.4.1 基本知识 6
2.4.2 KEIL优点 7
2.5 设计目标 7
2.6 误差分析 7
2.6.1 数据测量与分析 7
2.6.2 误差来源 8
第3章 系统硬件设计 10
3.1 系统电路 10
3.2 单片机电路 10
3.3 超声波的发射和接收装置 11
3.3.1 超声波产生机理 11
3.3.2 超声波的发射电路 11
3.3.3超声波接收 12
3.4 显示电路 13
第4章 系统软件的设计 14
4.1系统的软件设计 14
第5章 系统的调试 17
5.1 软件的调试 17
5.2 硬件的调试 17
5.2.1 硬件调试技巧 17
结束语 19
致谢 20
参考文献 21
附录1程序 22
附录2 原理图 27
附录3 元件清单 28
附录4 实物图 29
页: [1]
查看完整版本: 基于单片的超声波的测距设计