【正文】
這個(gè)利用方法 12 更進(jìn)一步的包括了被微處理器控制的顯示器 92,所以設(shè)備可以確定距離 D。這個(gè)關(guān)系與空氣的溫度和濕度都是無關(guān)的。 按照慣例,測(cè)量單元 10 和參考單元 12 空間上很接近,使該聲速在這兩個(gè)單元上是相同的。再次,傳感器除了其他類型壓電也可以被利用。 w 和 a 是比例不同壓力下在熱水汽和干燥的空氣不同的比熱容。傳播時(shí)間的 T 是聲波傳播之間的距離除以速度得來的。這樣的控制脈沖給調(diào)制器 44 傳送一個(gè)周期的突破口以出發(fā)發(fā)射機(jī) ,有相當(dāng)大的噪音輸入到放大器 34,以至于其輸出脈沖發(fā)射器 40引起了正當(dāng)周期變化,這個(gè)振蕩周期是用來提供給發(fā)射器 16 的電機(jī) 22 和 24,發(fā)射器 16 因此產(chǎn)生聲波 32 并作用于接收器 18,接收器 18 然后產(chǎn)生一個(gè)電脈沖如數(shù)放大器 34,這再次觸發(fā)脈沖發(fā)生器 40.。同時(shí),放大器的輸出端與探測(cè)器 36 相連接,脈沖發(fā) 生器 38 然后產(chǎn)生一個(gè)觸發(fā)脈沖,這是提供給脈沖發(fā)生器 40,在為了提供靈敏度,該系統(tǒng)的傳感器 16 和 18 在通常情況下都是保持運(yùn)作的。眾所周知,通過利用電極 22 和 24 之間產(chǎn)生的電場(chǎng),壓電材料 20 將產(chǎn)生壓力。只要所有的計(jì)數(shù)值都受到相同的溫度及濕度影響,通過相應(yīng)的計(jì)數(shù)值比例,這個(gè)測(cè)量組合就變得對(duì)這些變量相關(guān)度降低了。在每一個(gè)單元中,發(fā)射器和接收器組成一個(gè)反饋循環(huán),這就使發(fā)射器產(chǎn)生一個(gè)聲音信號(hào)同時(shí)這個(gè)信號(hào)被接收器接收并被轉(zhuǎn)化一個(gè)電脈沖然后反饋給發(fā)射器,這樣就產(chǎn)生了一系列的重復(fù)的系列信號(hào)。 當(dāng)兩點(diǎn)之間的傳播介質(zhì)為空氣時(shí),超聲波的傳播速度是有溫度和空氣的濕度來決定的。然而,這些裝置并不易于將其使用于自動(dòng)化技術(shù)中。脈沖序列被提供給相應(yīng)的計(jì)數(shù)器,脈沖的計(jì)數(shù)值輸出被利用來確定距離??梢娀趩纹瑱C(jī)設(shè)計(jì)的超聲波測(cè)距系統(tǒng)具有硬件結(jié)構(gòu)簡(jiǎn)單、工作可靠、測(cè)量誤差小等特點(diǎn)。 其部分源程序如下: RECEIVE0: PUSH PSW PUSH ACC CLR EX0 ; 關(guān)外部中斷 0 MOV R7, TH0 ; 讀取時(shí)間值 MOV R6, TL0 CLR C MOV A, R6 SUBB A, 0BBH; 計(jì)算時(shí)間差 MOV 31H, A ; 存儲(chǔ)結(jié)果 MOV A, R7 SUBB A, 3CH MOV 30H, A SETB EX0 ; 開外部中斷 0 POP ACC POP PSW RETI 四、超聲波測(cè)距系統(tǒng)的軟件設(shè)計(jì) 軟件分為兩部分,主程序和中斷服務(wù)程序,如圖 3( a)( b) (c) 所示。 IC2 是帶有鎖 定環(huán)的音頻譯碼集成塊 LM567,內(nèi)部的壓控振蕩器的中心頻率 f0=1/,電容 C4 決定其鎖定帶寬。 40kHz 脈沖的產(chǎn)生與超聲波發(fā)射 測(cè)距系統(tǒng)中的超聲波傳感器采用 UCM40 的壓電陶瓷傳感器,它的工作電壓是40kHz 的脈沖信號(hào),這由單片機(jī)執(zhí)行下面程序來產(chǎn)生。 超聲波測(cè)距原理 超聲波發(fā)射器向某一方向發(fā)射超聲波,在發(fā)射時(shí)刻的同時(shí)開始計(jì)時(shí),超聲波在空氣中傳播,途中碰到障礙物就立即返回來,超聲波接收器收到反射波就立即停止計(jì)時(shí)。(類似 GPS 定位系統(tǒng)) 一 超聲波測(cè)距原理 壓電式超聲波發(fā)生器原理 壓電式超聲波發(fā)生器實(shí) 際上是利用壓電晶體的諧振來工作的。 read the time value MOV R6, TL0? CLR C MOV A, R6 SUBB A, 0BBH。 open external interrupt 1 pop acc pop psw reti right: ...。 ret Ranging in front of singlechip termination circuit input port, single chip implementation of the above procedure, the port in a 40kHz pulse output signal, after amplification transistor T, the drive to launch the first ultrasonic UCM40T, issued 40kHz ultrasonic pulse, and the continued launch of 200ms. Ranging the right and the left side of the circuit, respectively, then input port and , the working principle and circuit in front of the same location. 2, reception and processing of ultrasonic Used to receive the first launch of the first pair UCM40R, the ultrasonic pulse modulation signal into an alternating voltage, the opamp amplification IC1A and after polarization IC1B to IC2. IC2 is locked loop with audio decoder chip LM567, internal voltagecontrolled oscillator center frequency of f0 = 1/, capacitor C4 determine their target bandwidth. R8conditioning in the launch of the carrier frequency on the LM567 input signal is greater than 25mV, the output from the high jump 8 feet into a lowlevel, as interrupt request signals to the singlechip processing. Ranging in front of singlechip termination circuit output port INT0 interrupt the highest priority, right or left location of the output circuit with output gate IC3A access INT1 port singlechip, while singlechip and P1. 4 received input IC3A, interrupted by the process to identify the source of inquiry to deal with, interrupt priority level for the first left right after. Part of the source code is as follows: receive1: push psw push acc clr ex1。 output 40kHz square wave nop。 The Circuit Design of Ultrasonic Ranging System 超聲波測(cè)距系統(tǒng)的電路設(shè)計(jì) Ultrasonic Distance Meter 超聲波測(cè)距儀 姓 名: 專 業(yè): 測(cè)控技術(shù)與儀器 學(xué) 號(hào) : 2021071071 指導(dǎo)教師姓名(職稱): The Circuit Design of Ultrasonic Ranging System This article described the three directions (before, left, right) ultrasonic ranging system is to understand the front of the robot, left and right environment to provide a movement away from the information. (Similar to GPS Positioning System) A principle 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。 nop。 related external interrupt 1 jnb , right。 right location entrance circuit interrupt service routine Ajmp Return left: ...。 calculate the time difference MOV 31H, A。超聲波發(fā)生器內(nèi)部結(jié)構(gòu)如圖 1 所示,它有兩個(gè)壓電晶片和一個(gè)共振板。超聲波 在空氣中的傳播速度為 340m/s,根據(jù)計(jì)時(shí)器記錄的時(shí)間 t,就可以計(jì)算出發(fā)射點(diǎn)距障礙物的距離 (s),即: s=340t/2 二 超聲波測(cè)距系統(tǒng)的電路設(shè)計(jì)