特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

超聲波測距系統(tǒng)的設(shè)計.doc

約45頁DOC格式手機打開展開

超聲波測距系統(tǒng)的設(shè)計,2.89萬字 45頁 摘要:超聲波是指頻率在20khz以上的聲波,它屬于機械波的范疇。超聲波也遵循一般機械波在彈性介質(zhì)中的傳播規(guī)律,如在介質(zhì)的分界面處發(fā)生反射和折射現(xiàn)象,在進入介質(zhì)后被介質(zhì)吸收而發(fā)生衰減等。正是因為具有這些性質(zhì),使得超聲波可以用于距離的測量中。隨著科技水平的不斷提高,超聲波測距技術(shù)被...
編號:68-89390大小:1.36M
分類: 論文>通信/電子論文

內(nèi)容介紹

此文檔由會員 csfujixie 發(fā)布

超聲波測距系統(tǒng)的設(shè)計
2.89萬字      45頁

   摘要:超聲波是指頻率在20kHz以上的聲波,它屬于機械波的范疇。超聲波也遵循一般機械波在彈性介質(zhì)中的傳播規(guī)律,如在介質(zhì)的分界面處發(fā)生反射和折射現(xiàn)象,在進入介質(zhì)后被介質(zhì)吸收而發(fā)生衰減等。正是因為具有這些性質(zhì),使得超聲波可以用于距離的測量中。隨著科技水平的不斷提高,超聲波測距技術(shù)被廣泛應(yīng)用于人們?nèi)粘9ぷ骱蜕钪小?br />     系統(tǒng)的設(shè)計主要包括兩部分,即硬件電路和軟件程序。硬件電路主要包括單片機電路、發(fā)射電路、接收電路、顯示電路和電源電路,另外還有復(fù)位電路和LED控制電路等。我采用以AT89s52單片機為核心的低成本、高精度、微型化數(shù)字顯示超聲波測距儀的硬件電路。整個電路采用模塊化設(shè)計,由信號發(fā)射和接收、供電、溫度測量、顯示等模塊組成。發(fā)射探頭的信號經(jīng)放大和檢波后發(fā)射出去,單片機的計時器開始計時,超聲波被發(fā)射后按原路返回,在經(jīng)過放大帶通濾波整形等環(huán)節(jié),然后被單片機接收,計數(shù)器停止工作并得到時間。溫度測量后送到單片機,通過程序?qū)λ俣冗M行校正, 結(jié)合兩者實現(xiàn)超聲波測距的功能。軟件程序主要由主程序、預(yù)置子程序、發(fā)射子程序、接收子程序、顯示子程序等模塊組成。它控制單片機進行數(shù)據(jù)發(fā)送與接收,在一定溫度下對超聲波速度的校正,還有實現(xiàn)數(shù)據(jù)正確顯示在LED上。另外程序控制單片機消除各探頭對發(fā)射和接收超聲波的影響。相關(guān)部分附有硬件電路圖、程序流程圖。
    實際的環(huán)境對超聲波有很大的影響,如外部電磁干擾電源干擾信道干擾等等,空氣的溫度對超聲波的速度影響也很大。此外供電電源也會使測量差生很大的誤差。再設(shè)計的過程中考慮了這些因素,并給出了一些解決方案。
   
關(guān)鍵詞:AT89c52;超聲波;測距
  
   

 

 

 

 

Ultrasonic ranging system design
Abstract: ultrasonic frequency in the above 20kHz refers to the sound wave, it belongs to the category. Ultrasonic wave in general also follow the rules of the elastic medium, such as the boundary of the reflection and refraction phenomenon occurring in the media and after absorbing attenuation etc. Because these properties, ultrasonic can be used in measuring the distance. Along with the science and technology unceasing enhancement, ultrasonic technology has been widely applied in People's Daily life and work.
The thesis mainly includes two parts, the design that hardware circuit and software program. The hardware circuit including microcontroller circuit, launch circuit, receiving circuit, display circuit and power circuit, in addition to reset circuit and control circuit LED etc. I used to AT89s52 SCM is the core of low cost, high precision, miniaturization digital display ultrasonic rangefinder hardware circuit. The circuit USES modular design, the signal transmission and reception, power supply, temperature measurement, display module. The launch of the probe signal amplifier and detection after the launch of the timer started out, microcontroller timer, ultrasonic was launched by the way, after the return on amplified bandpass filters orthopedics etc, then received by MCU, counter to stop work and time. After temperature measurement of single-chip microcomputer, through the procedure to speed adjustment, the realization of the ultrasonic ranging function. Software program mainly by the main program, preset subroutines, launch procedure, receiving subroutines, display subroutines etc modules. It control chip, sending and receiving data in a certain temperature of ultrasonic velocity correction, and data displayed correctly in LED. Another program control chip to eliminate the emitting and receiving ultrasonic probe. With the hardware circuit and relevant parts of the program flowchart.
The actual environment has great influence on ultrasonic, such as external electromagnetic interference source channel interference etc, the temperature of the air of ultrasonic velocity are significantly affected. Besides supply power will also make great difference measurement errors. In the process of design to consider these factors, and proposes some solutions.

Keywords: AT89c52, Ultrasonic, distance
目    錄
1    概述............................................................1
2    課題研究背景及意義..............................................1
2.1  課題研究背景....................................................1
2.2  課題研究意義....................................................1
3    方案設(shè)計和選擇..................................................2
3.1  超聲波測距的原理................................................2
3.2  單片機AT89S52...................................................3
3.3  超聲波傳感器....................................................5
3.4  CAD簡介.........................................................7
4    硬件電路設(shè)計....................................................7
4.1  整體電路設(shè)計....................................................7
4.2  超聲波測距系統(tǒng)設(shè)計............................................. 9
4.3  顯示電路設(shè)計....................................................16
4.4  電源電路設(shè)計 ...................................................17
4.5  硬件電路設(shè)計優(yōu)化................................................19
5    軟件設(shè)計........................................................22
5.1  程序完成的功能..................................................23    
5.2  程語言的選擇................................................... 23
5.3 主要部分程序流程圖...............................................24
5.4 實現(xiàn)重要功能的程序的分析.........................................25
6   結(jié)束語 ..........................................................28
致    謝 ..........................................................29
參考文獻............................................................ 30
附錄一 pcb圖........................................................32
附錄二 程序代碼......................................................33