1、超声波测距外文翻译文献超声波测距毕业论文中英文对照资料外文翻译文献超声测距技术在工业现场、车辆导航、水声工程等领域都具有广泛的应用价值,目前已应用于物位测量、机器人自动导航以及空气中与水下的目标探测、识别、定位等场合。因此,深入研究超声的测距理论和方法具有重要的实践意义。为了进一步提高测距的精确度,满足工程人员对测量精度、测距量程和测距仪使用的要求,本文研制了一套基于单片机的便携式超声测距系统。1 随着技术的发展,人们生活水平的提高,城市发展建设加快,城市给排水系统也有较大展,其状况不断改善。但是,由于历史原因合成时间住的许多不可预见因素,城市给排水系统,特别是排水系统往往落后于城市建设。因此
2、,经常出现开挖已经建设好的建筑设施来改造排水系统的现象。城市污水给人们带来了困扰,因此箱涵的排污疏通对大城市给排水系统污水处理,人们生活舒适显得非常重要。而设计研制箱涵排水疏通移动机器人的自动控制系统,保证机器人在箱涵中自由排污疏通,是箱涵排污疏通机器人的设计研制的核心部分。控制系统核心部分就是超声波测距仪的研制。因此,设计好的超声波测距仪就显得非常重要了。2 波测距原理 压电式超声波发生器原理 压电式超声波发生器实际上是利用压电晶体的谐振来工作的。超声波发生器内部结构,它有两个压电晶片和一个共振板。当它的两极外加脉冲信号,其频率等于压电晶片的固有振荡频率时,压电晶片将会发生共振,并带动共振板
3、振动,便产生超声波。反之,如果两电极间未外加电压,当共振板接收到超声波 时,将压迫压电晶片作振动,将机械能转换为电信号,这时它就成为超声波接收器了。 测量脉冲到达时间的传统方法是以拥有固定参数的接收信号开端为基础的。这个界限恰恰选于噪音水平之上,然而脉冲到达时间被定义为脉冲信号刚好超过界限的第一时刻。一个物体的脉冲强度很大程度上取决于这个物体的自然属性尺寸还有它与传感器的距离。进一步说,从脉冲起始点到刚好超过界限之间的时间段随着脉冲的强度而改变。结果,一种错误便出现了两个拥有不同强度的脉冲在不同时间超过界限却在同一时间到达。强度较强的脉冲会比强度较弱的脉冲超过界限的时间早点,因此我们会认为强度
4、较强的脉冲属于较近的物体。 声波测距原理 超声波发射器向某一方向发射超声波,在发射时刻的同时开始计时,超声波在空气中传播,途中碰到障碍物就立即返回来,超声波接收器收到反射波就立即停止计时。超声波在空气中的传播速度为 340m/s,根据计时器记录的时间 t,就可以计算出发射点距障碍物的距离s,即:s340t/23 波测距系统的电路设计 系统的特点是利用单片机控制超声波的发射和对超声波自发射至接收往返时间的计时,单片机选用 C51,经济易用,且片内有 4K 的 ROM,便于编程。 40kHz 脉冲的产生与超声波发射 测距系统中的超声波传感器采用 UCM40 的压电陶瓷传感器,它的工作电压是40kH
5、z 的脉冲信号,这由单片机执行下面程序来产生。puzel: mov 14h 12h;超声波发射持续 200mshere: cpl ; 输出 40kHz 方波 nop ; nop ; nop ; djnz 14h,here; ret 前方测距电路的输入端接单片机 端口,单片机执行上面的程序后,在 端口输出一个 40kHz 的脉冲信号,经过三极管 T 放大,驱动超声波发射头 UCM40T,发出 40kHz 的脉冲超声波,且持续发射 200ms。右侧和左侧测 距电路的输入端分别接 和 端口,工作原理与前方测距电路相同。 超声波的接收与处理 接收头采用与发射头配对的 UCM40R,将超声波调制脉冲变为
6、交变电压信号,经 IC2运算放大器 IC1A 和 IC1B 两极放大后加至 IC2。 是带有锁 定环的音频译码集成块LM567,内部的压控振荡器的中心频率 f01/,电容 C4 决定其锁定带宽。调节 R8 在发射的载频上,则 LM567 输入信号大于 25mV,输出端 8 脚由高电平跃变为低电平,作为中断请求信号,送至单片机处理. 前方测距电路的输出端接单片机 INT0 端口,中断优先级最高,左、右测距电路的输出通过与门 IC3A 的输出接单片机 INT1 端口,同时单片机 和 接到 IC3A的输入端,中断源的识别由程序查询来处理,中断优先级为先右后左。部分源程序如下:receive1:pus
7、h psw push acc clr ex1; 关外部中断 1 jnb ; 引脚为 0转至右测距电路中断服务程序 jnb ; 引脚为 0转至左测距电路中断服务程序return: SETB EX1; 开外部中断 1 pop acc pop psw retiright: . ; 右测距电路中断服务程序入口 ajmp returnleft: . ; 左测距电路中断服务程序入口 ajmp return 计算超声波传播时间 在启动发射电路的同时启动单片机内部的定时器 T0,利用定时器的计数功能记录超声波发射的时间和收到反射波的时间。当收到超声波反射波时,接收电路 输出端产生一个负跳变,在 INT0 或
8、INT1 端产生一个中断请求信号,单片机响应外部中断请求,执行外部中断服务子程序,读取时间差,计算距离。其部分源程序如下: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对于一个平坦的目标,距离测量包括两个阶段:粗糙的测量和精细测量。第一步:脉冲的传送产生
9、一种简单的超声波。第二步:根据公式改变回波放大器的获得量直到回拨被检测到。第三步:检测两种回波的振幅与过零时间。第四步:设置回波放大器的所得来规格输出,假定是 3 伏。通过脉冲的周期设置下一 个脉冲。根据第二部的数据设定时间窗。第五步:发射两串脉冲产生干扰波。测量过零时间与回波的振幅。如果逆向发生在回 波中,决定要不通过在低气压插入振幅。第六步:通过公式计算距离 y。4 波测距系统的软件设计 软件分为两部分,主程序和中断服务程序。主程序完成初始化工作、各路超声波发射和接收顺序的控制。定时中断服务子程序完成三方向超声波的轮流发射,外部中断服务子程序主要完成时间值的读取、距离计算、结果的输出等工作
10、。5 对所要求测量范围 30cm200cm 内的平面物体做了多次测量发现,其最大误差为,且重复性好。可见基于单片机设计的超声波测距系统具有硬件结构简单、工作可靠、测量误差小等特点。因此,它不仅可用于移动机器人,还可用在其它检测系统中。思考:至于为什么接收不用晶体管做放大电路呢,因为放大倍数搞不好,集成放大电路,还带自动电平增益控制,放大倍数为 76dB,中心频率是 38k 到 40k,刚好是超声波传感器的谐振频率 。 原文出处:传感器文摘 布拉福德:1993年 第13页摘要Ultrasonic ranging technology has wide using worth in many fi
11、elds,such as the industriallocale,vehicle navigation and sonar engineeringNow it has been used in level measurement,self-guided autonomous vehicles fieldwork robots automotive navigation,air and underwater targetdetection,identification,location and so onSo there is an important practicing meaning t
12、o learn theranging theory and ways deeply. To improve the precision of the ultrasonic ranging system in hand,satisfy the request of the engineering personnel for the ranging precision,the bound and the usage,aportable ultrasonic ranging system based on the single chip processor was developed the dev
13、elopment of science and technology the improvement of peoplesstandard of living speeding up the development and construction of the city. urbandrainage system have greatly developed their situation is constantly improving. Howeverdue to historical reasons many unpredictable factors in the synthesis
14、of her time the citydrainage system. In particular drainage system often lags behind urban there are often good building excavation has been building facilities to upgradethe drainage system phenomenon. It brought to the city sewage and it is clear to the citysewage and drainage culvert in the sewag
15、e treatment system. comfort is very important topeoples lives. Mobile robots designed to clear the drainage culvert and the automaticcontrol system Free sewage culvert clear guarantee robot the robot is designed to clear theculvert sewage to the core. Control System is the core component of the deve
16、lopment ofultrasonic range finder. Therefore it is very important to design a good ultrasonic rangefinder.2. A principle of ultrasonic distance measurement The principle of piezoelectric ultrasonic generator Piezoelectric ultrasonic generator is the use of piezoelectric crystal resonators to generat
17、or the internal structure as shown it has two piezoelectric chip and aresonance plate. When its two plus pulse signal the frequency equal to the intrinsicpiezoelectric oscillation frequency chip the chip will happen piezoelectric resonance andpromote the development of plate vibration resonance ultr
18、asound is generated. Converselyif the two are not inter-electrode voltage when the board received ultrasonic resonance itwill be for vibration suppression of piezoelectric chip the mechanical energy is convertedto electrical signals then it becomes the ultrasonic receiver. The traditional way to det
19、ermine the moment of the echos arrival is based onthresholding the received signal with a fixed reference. The threshold is chosen well abovethe noise level whereas the moment of arrival of an echo is defined as the first moment theecho signal surpasses that threshold. The intensity of an echo refle
20、cting from an objectstrongly depends on the objects nature size and distance from the sensor. Further the timeinterval from the echos starting point to the moment when it surpasses the thresholdchanges with the intensity of the echo. As a consequence a considerable error may occurEven two echoes wit
21、h different intensities arriving exactly at the same time will surpass thethreshold at different moments. The stronger one will surpass the threshold earlier than theweaker so it will be considered as belonging to a nearer object. principle of ultrasonic distance measurement Ultrasonic transmitter i
22、n a direction to launch ultrasound in the moment to launch thebeginning of time at the same time the spread of ultrasound in the air obstacles on his wayto return immediately the ultrasonic reflected wave received by the receiver immediatelystop the clock. Ultrasound in the air as the propagation ve
23、locity of 340m / s according tothe timer records the time t we can calculate the distance between the launch distancebarrier s that is: s 340t / 2 Ranging System for the Second Circuit Design System is characterized by single-chip microcomputer to control the use of ultrasonictransmitter and ultraso
24、nic receiver since the launch from time to time single-chip selectionof 8751 economic-to-use and the chip has 4K of ROM to facilitate programming. Circuitschematic diagram shown in Figure 2. Figure 1 circuit principle diagram 40 kHz ultrasonic pulse generated with the launch Ranging system using the
25、 ultrasonic sensor of piezoelectric ceramic sensors UCM40its operating voltage of the pulse signal is 40kHz which by the single-chip implementationof the following procedures to : mov 14h 12h ultrasonic firing continued 200mshere: cpl output 40kHz square wave nop nop nop djnz 14h here ret Ranging in
26、 front of single-chip termination circuit input port single chipimplementation of the above procedure the port in a 40kHz pulse output signal afteramplification transistor T the drive to launch the first ultrasonic UCM40T issued 40kHzultrasonic pulse and the continued launch of 200ms. Ranging the ri
27、ght and the left side ofthe circuit respectively then input port and the working principle and circuit infront of the same location. Reception and processing of ultrasonic Used to receive the first launch of the first pair UCM40R the ultrasonic pulsemodulation signal into an alternating voltage the
28、op-amp amplification IC1A and afterpolarization IC1B to IC2. IC2 is locked loop with audio decoder chip LM567 internalvoltage-controlled oscillator center frequency of f0 1/ capacitor C4 determinetheir target bandwidth. R8-conditioning in the launch of the carrier frequency on theLM567 input signal
29、is greater than 25mV the output from the high jump 8 feet into alow-level as interrupt request signals to the single-chip processing. Ranging in front of single-chip termination circuit output port INT0 interrupt thehighest priority right or left location of the output circuit with output gate IC3A
30、accessINT1 port single-chip while single-chip and received input IC3A interrupted by the process to identify the source of inquiry to deal with interrupt priority level for thefirst left right after. Part of the source code is as follows:receive1: push psw push acc clr ex1 related external interrupt
31、 1 jnb right pin to 0 ranging from right to interrupt serviceroutine circuit jnb left pin to 0 to the left ranging circuit interruptservice routinereturn: SETB EX1 open external interrupt 1 pop acc pop psw retiright: . right location entrance circuit interrupt service routine Ajmp Returnleft: . left
32、 Ranging entrance circuit interrupt service routine Ajmp Return The calculation of ultrasonic propagation time When you start firing at the same time start the single-chip circuitry within the timerT0 the use of timer counting function records the time and the launch of ultrasonicreflected wave rece
33、ived time. When you receive the ultrasonic reflectedwave the receivercircuit outputs a negative jump in the end of INT0 or INT1 interrupt request generates asignal single-chip microcomputer in response to external interrupt request theimplementation of the external interruptservice subroutine read the time differencecalculati
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1