文档详情

超声波身高测量仪(自己写的)doc.doc

发布:2018-07-11约1.35万字共29页下载文档
文本预览下载声明
目录 摘 要 2 引 言...................................................................4 第一章 系统方案设计 5 §1.1 设计要求 5 §1.2 设计思路 5 §1.2.1 超声波的接收与处理 5 §1.2.2 身高测量算法构思 5 §1.2.3 硬件部分调试分析构思 6 §1.2.4 设计思路总结 6 第二章 设计原理及设计框图 7 §2.1 设计原理 7 §2.2 设计框图 7 第三章 传感器和电源的比较与选择 9 §3.1 传感器设计的方案选择 9 §3.1.1超声波T/R40-10传感器设计电路 9 §3.1.2超声波LM1812传感器设计电路 9 §3.2 电源电路设计的方案选择 10 §3.2.1采用二极管稳压电路设计: 10 §3.2.2采用7805三端稳压器电源: 11 第四章 系统硬件电路设计 12 §4.1 单片机系统及显示电路 12 §4.2 超声波发射电路 14 §4.3 超声波检测接收电路 14 §4.4 共阴极七段LED数码管 15 第五章 系统软件设计 16 §5.1 程序流程图 16 §5.2 主程序设计 17 §5.3 超声波发射子程序和接收中断程序设计 17 §5.3.1 超声波发射子程序 17 §5.3.2 超声波接收中断程序 18 第六章 电路调试与分析 20 §6.1硬件部分调试与分析 20 §6.2程序调试与分析 20 参考文献.... 21 附 录 22 附录 A 主要原理图 22 附录 B 产品及市场成品图 23 附录 C C语言程序 24 超声波身高测量仪 摘 要:论文首先介绍了超声波测的基本原理,随后对几种可性的方案进行了方案论证,确定最后的设计方案,并对整个的设计方案作了详细的介绍。由主程序、超声波发生子程序、超声波接收中断程序及显示子程序等部分。在此基础上设计了系统的总体方案,最后通过硬件和软件实现了各个功能模块。相关部分附有硬件电路图、程序流程图。Ultrasonic height measuring instrument Abstract:Paper first introduces the basic principle of ultrasonic distance measurement, then the solution of several can be carried out of the demonstration program to determine the final design, and design a whole were described in detail. In this design, hardware design of the circuit mainly by the SCM system and the display circuit, ultrasonic transmitter and ultrasonic testing to accept circuit. Software design from the main program, subroutine ultrasound, ultrasound receiver interrupt program and display routines and other parts. The design of ultrasonic sound reflection properties, the use of echo ranging method to achieve. Higher efficiency in air using a center frequency of 40KHz ultrasound probe to complete transmit and receive functions, with four figures in order to achieve a resolution of 0.1cm and 1-3cm of the measuring range. The following formula: d = s / 2 = (c * t) / 2. d for the measured object and measuring the distance between generator, s is the sound of the round-trip distance, c is the speed of sound, t is the sound back and forth the time s
显示全部
相似文档