【正文】
ulse 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。主程序完成初始化工作、各路超聲波發(fā)射和接收順序的控制。 第四步:設(shè)置回波放大器的所得來規(guī)格輸出,假定是 3伏。調(diào)節(jié) R8 在發(fā)射的載頻上,則 LM567 輸入信號大于 25mV,輸出端 8腳由高電平躍變?yōu)榈碗娖?,作為中斷請求信號,送至單片機(jī)處理 。超聲波在空氣中的傳播速度為 340m/s,根據(jù)計(jì)時(shí)器記錄的時(shí)間 t,就可以計(jì)算出發(fā)射點(diǎn)距障礙物的距離 (s),即: s=340t/2 二 超聲波 測距系統(tǒng)的電路設(shè)計(jì) 系統(tǒng)的特點(diǎn)是利用單片機(jī)控制超聲波的發(fā)射和對超聲波自發(fā)射至接收往返時(shí)間的計(jì)時(shí),單片機(jī)選用 8751,經(jīng)濟(jì)易用,且片內(nèi)有 4K 的 ROM,便于編程。反之,如果兩電極間未外加電壓,當(dāng)共振板接收到超聲波時(shí),將壓迫壓電晶片作振動(dòng),將機(jī)械能轉(zhuǎn)換為電信號,這時(shí)它就成為超聲波接收器了。 在每一個(gè)單位,發(fā)射器和接收器耦合的一個(gè)反饋回路,它會(huì)導(dǎo)致發(fā)射器產(chǎn)生超聲脈沖, 這是由接收器和接收到一個(gè)電脈沖然后被反饋到發(fā)射機(jī)轉(zhuǎn)換,從而使重復(fù)系列脈沖的結(jié)果。這樣的一個(gè)波浪型是一種超聲波,或聲波。附件 1:外文資料翻譯譯文 超聲波測距儀 文件類型和數(shù)目:美國專利 5442592 摘要:提出了一種可以抵消溫度的影響和濕度的變化的新型超聲波測距儀,包括測量單元和參考資料。在每一個(gè)單位,重復(fù)的一系列脈沖的產(chǎn)生,每有一個(gè)重復(fù)率,直接關(guān)系到各自之間的距離,發(fā)射機(jī)和接收機(jī)。當(dāng)超聲波在兩點(diǎn)之間通過時(shí),兩點(diǎn)之間的距離可以由波的速度乘以測量得到的在分離的兩點(diǎn)中波中轉(zhuǎn)的時(shí)間。 重復(fù)率脈沖是成反比關(guān)系之間的距離發(fā)射器和接收器。 測量脈沖到達(dá)時(shí)間的傳統(tǒng)方法是以擁有固定參數(shù)的接收信號開端為基礎(chǔ)的。電路原理圖如圖所示。 前方測距電路的輸出端接單片機(jī) INT0 端口,中斷優(yōu)先級最高, 左、右測距電路的輸出通過與門 IC3A 的輸出接單片機(jī) INT1 端口,同時(shí)單片機(jī) 和 接到IC3A 的輸入端,中斷源的識別由程序查詢來處理,中斷優(yōu)先級為先右后左。通過脈沖的周期設(shè)置下一個(gè)脈沖。 定時(shí)中斷服務(wù)子程序完成三方向超聲波的輪流發(fā)射,外部中斷服務(wù)子程序主要完成時(shí)間值的讀取、距離計(jì)算、結(jié)果的輸出等工作。s two plus pulse signal, the frequency equal to the intrinsic piezoelectric oscillation frequency chip, the chip will happen piezoelectric resonance, and promote the development of plate vibration resonance, ultrasound is generated. Conversely, if the two are not interelectrode voltage, when the board received ultrasonic resonance, it will be for vibration suppression of piezoelectric chip, the mechanical energy is converted to electrical signals, then it bees the ultrasonic receiver. The traditional way to determine the moment of the echo39。 djnz 14h, here。 related external interrupt 0 MOV R7, TH0。 SCM calls the distance calculationsubroutine to calculate, calculate the distance between the sensor to the target object。 the INT0 interrupt to allow open, if thisoccurs when the low is representative of the received echo signal, the interrupt request to INT0 interrupt service routine, the INT0 interrupt service routine will stop the timer T0 timing, read the time value of T0 timer to the appropriate storage to receive a sign of success。 right location entrance circuit interrupt service routine Ajmp Return left: ...。 nop。 思考:至于為什么接收不用晶體管做放大電路呢,因?yàn)榉糯蟊稊?shù)搞不好, CX20216集成放大 電路,還帶自動(dòng)電平增益控制,放大倍數(shù)為 76dB,中心頻率是 38k 到 40k,剛好是超聲波傳感器的諧振頻率 。 四、超聲波測距系統(tǒng)的軟件設(shè)計(jì) 軟件分為兩部分,主程序 和中斷服務(wù)程序,如圖 3( a)( b) (c) 所示。 第三步:檢測兩種回波的振幅與過零時(shí)間。 IC2 是帶有鎖 定環(huán)的音頻譯碼集成塊 LM567,內(nèi)部的壓控振蕩器的中心頻率 f0=1/,電容 C4 決定其鎖定帶寬。 超聲波測距原理 超聲波發(fā)射器向某一方向發(fā)射超聲波,在發(fā)射時(shí)刻的同時(shí)開始計(jì)時(shí),超聲波在空氣中傳播,途中碰到障礙物就立即返回來,超聲波接收器收到反射波就立即停止計(jì)時(shí)。當(dāng) 它的兩極外加脈沖信號,其頻率等于壓電晶片的固有振蕩頻率時(shí),壓電晶片將會(huì)發(fā)生共振,并帶動(dòng)共振板振動(dòng),便產(chǎn)生超聲波。間隔發(fā)射器和接收器的參考值是一個(gè)固定的參考距離,而間距之間的發(fā)射機(jī)和接收機(jī)的測量單位是有最小距離來衡量的。據(jù)了解,兩點(diǎn)之間的距離可以通過測量兩點(diǎn)之間的行波傳播時(shí)間的決定。 總體評價(jià):良 簽名: 2021 年 3 月 15 日 注: 請將該封面與附件裝訂成冊。該脈沖序列提供給各自的計(jì)數(shù)器,計(jì)數(shù)器的產(chǎn)出的比率,是用來確定被測量的距離。因此,本發(fā)明提供儀器利用超聲波來精確測量兩點(diǎn)之間的距離對象 。在每一個(gè)單位,脈沖提供一個(gè)反