【正文】
ity in the medium separating the two points. It is therefore an object of the present invention to provide apparatus utilizing ultrasonic waves to accurately measure the distance between two points. When the medium between the two points whose spacing is being measured is air, the sound velocity is dependent upon the temperature and humidity of the air. It is therefore a further object of the,present invention to provide apparatus of the type described which is independent of temperature and humidity variations. OF THE INVENTION The foregoing and additional objects are attained in accordance with the principles of this invention by providing distance measuring apparatus which includes a reference unit and a measuring unit. The reference and measuring units are the same and each includes an electroacoustic transmitter and an electroacoustic receiver. The spacing between the transmitter and the receiver of the reference unit is a fixed reference distance, whereas the spacing between the transmitter and receiver of the measuring unit is the distance to be measured. In each of the units, the transmitter and receiver are coupled by a feedback loop which causes the transmitter to generate an acoustic pulse which is received by the receiver and converted into an electrical pulse which is then fed back to the transmitter, so that a repetitive series of pulses results. The repetition rate of the pulses is inversely related to the distance between the transmitter and the receiver. In each of the units, the pulses are provided to a counter. Since the reference distance is known, the ratio of the counter outputs is utilized to determine the desired distance to be measured. Since both counts are identically influenced by temperature and humidity variations, by taking the ratio of the counts, the resultant measurement bees insensitive to such variations. DESCRIPTION of ultrasonic distance measurement 1, the principle of piezoelectric ultrasonic generator Piezoelectric ultrasonic generator is the use of piezoelectric crystal resonators to work. Ultrasonic generator, the internal structure as shown in Figure 1, it has two piezoelectric chip and a resonance plate. When it39。 五、結論 對所要求測量范圍 30cm~200cm 內(nèi)的平面物體做了多次測量發(fā)現(xiàn) ,其最大誤差為,且重復性好。主程序完成初始化工作、各路超聲波發(fā)射和接收順序的控制。測量過零時間與回波的振幅。 第四步:設置 回波放大器的所得來規(guī)格輸出,假定是 3伏。其部分源程序如下: RECEIVE0: PUSH PSW PUSH ACC CLR EX0 ; 關外部中斷 0 MOV R7, TH0 ; 讀取時間值 MOV R6, TL0 CLR C MOV A, R6 SUBB A, 0BBH; 計算時間差 MOV 31H, A ; 存儲結果 MOV A, R7 SUBB A, 3CH MOV 30H, A SETB EX0 ; 開外部中斷 0 POP ACC POP PSW RETI 對于一個平坦的目標,距離測量包括兩個階段 :粗糙的測量和精細測量。調(diào)節(jié) R8在發(fā)射的載頻上,則 LM567 輸入信號大于 25mV,輸出端 8腳由高電平躍變?yōu)榈碗娖剑鳛橹袛嗾埱笮盘?,送至單片機處理 。 puzel: mov 14h, 12h; 超聲波發(fā)射持續(xù) 200ms here: cpl ; 輸出 40kHz 方波 nop ; nop ; nop ; djnz 14h, here; ret 前方測距電路的輸入端接單片機 端口,單片機執(zhí)行上面的程序后,在 端口輸出一個 40kHz的脈沖信號,經(jīng)過三極管 T放大,驅(qū)動超聲波發(fā)射頭 UCM40T,發(fā)出 40kHz的脈沖超聲波,且持續(xù)發(fā)射 200ms。超聲波在空氣中的傳播速度為 340m/s,根據(jù)計時器記錄的時間 t,就可以計算出發(fā)射點距障礙物的距離 (s),即: s=340t/2 二 超聲波測距系統(tǒng)的電路設計 系統(tǒng)的特點是利用單片機控制超聲波的發(fā)射和對超聲波自發(fā)射至接收往返時間的計時,單片機選用 8751,經(jīng)濟易用,且片內(nèi)有 4K的 ROM,便于編程。進一步說,從脈沖起始點到剛好超過界限之間的時間段隨著脈沖的強度而改變。反之,如果兩電極間未外加電壓,當共振板接收到超聲波時,將壓迫壓電晶片作振動,將機械能轉換為電信號,這時它 就成為超聲波接收器了。由于這兩方面都是相同的影響,溫度和濕度的變化,采取的比例相同,由此產(chǎn)生的測量變得準確。 在每一個單位,發(fā)射器和接收器耦合的一個反饋回路,它會導致發(fā)射器產(chǎn)生超聲脈沖,這是由接收器和接收到一個電脈沖然后被反饋到發(fā)射機轉換,從而使重復系列脈沖的結果。因此,它是進一步的研究對象,本次的發(fā)明,提供的是獨立于溫度和濕度的變化的新型儀器。這樣的一個波浪型是一種超聲波,或聲波。精密機床必須校準。 (用外文寫 ) 附件 1:外文資料翻譯譯文 超聲波測距儀 文件類型和數(shù)目:美國 專利 5442592 摘要:提出了一種可以抵消溫度的影響和濕度的變化的新型超聲波測距儀,包括測量單元和參考資料。在本設計中,利用的是單片機 引腳來產(chǎn)生不同頻率的方波來控制蜂鳴器產(chǎn)生不同頻率的“滴滴”聲,且是在離障礙物距離越近鳴叫頻率越低。 圖 2 主程序 流程圖 2) T0中斷服務程序: 負責計算車尾與障礙物之間的距離是 INT0 的中斷程序。余波就是在發(fā)射超聲波時超聲波信號直接到達接受探頭的波信號,同時余波信號也是超聲波測量時存在測量盲區(qū)的最主要的原因。 1)主程序: 整個系統(tǒng)的設計的關鍵是對距離進行測量的,然后通過單片機來處理測量數(shù) 據(jù)是比較容易實現(xiàn)的,能精確的實現(xiàn)測距。通過外部所接電阻,將其內(nèi)部帶通濾波電路的中心頻率 f0 設置為指定值,就可以接收放大超聲波電信號,并整形輸出負脈沖電壓。 因為,大力研究開發(fā)倒車雷達等主動式汽車輔助安全裝置,將減少駕駛員的負擔和判斷錯誤,對于交通安全起到重要作用。轉帖式感應器后有一層膠,可直接粘在后保險杠上:鉆孔式感應器是在保險杠上鉆一個洞,然后把感應器嵌進去:懸掛式感應器主要用于載貨車。感應器發(fā)出和接受超聲波信號,并將接收到的信號傳輸?shù)街鳈C,再通過顯示設備顯示出來。該系統(tǒng)用一個內(nèi)后視鏡和兩個外后視鏡采集汽車周圍的景象,三個景象合成一個全景圖像在中控臺的視屏上顯示出來,還用文字說明來傳達信息。據(jù)海外媒體報道,戴姆勒 —— 克萊斯勒公司日前成功開發(fā)出供商用車 (尤指卡車 )使用的電子剎車系統(tǒng),它與其他剎車系統(tǒng)的區(qū)別在于,其在卡車車頭設有雷達感應器,感應器在車前觀察四周環(huán)境,并將所有收集的信息交由一控制器加工處理,形成一虛擬景象。此種裝置價格中等,并且完全隱密,算是一種好產(chǎn)品,但可惜的是,安裝困難 (必須卸下保險杠貼在內(nèi)側 ),而且只能探測動態(tài)物品,當車在后退行進時,可探測到物體,但車一旦停止后退行進,則任何物體都不被認可。目前,已經(jīng)廣泛地應用在機械制造,電子冶金,航海,宇航,石油化工,交通等工業(yè)領域。 南 京 理 工 大 學 畢業(yè)設計 (論文 )前期工作材料 學生姓名 : 準考證號 專 業(yè) : 電子工程 設計 (論文 )題目 : 基于單片機的汽車倒車防撞系統(tǒng)的 設計與制作 指導教師 :