CN103454643B - Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time - Google Patents
Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time Download PDFInfo
- Publication number
- CN103454643B CN103454643B CN201310408949.0A CN201310408949A CN103454643B CN 103454643 B CN103454643 B CN 103454643B CN 201310408949 A CN201310408949 A CN 201310408949A CN 103454643 B CN103454643 B CN 103454643B
- Authority
- CN
- China
- Prior art keywords
- level
- signal
- pulse
- ultrasonic
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000007704 transition Effects 0.000 title 1
- 238000005259 measurement Methods 0.000 claims abstract description 41
- 238000000691 measurement method Methods 0.000 claims abstract description 7
- 230000002441 reversible effect Effects 0.000 claims description 33
- 238000001514 detection method Methods 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 230000007423 decrease Effects 0.000 claims description 7
- 230000003321 amplification Effects 0.000 claims description 4
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 12
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000013016 damping Methods 0.000 abstract description 6
- 238000002474 experimental method Methods 0.000 abstract description 3
- 230000005540 biological transmission Effects 0.000 description 9
- 238000002604 ultrasonography Methods 0.000 description 8
- 230000005284 excitation Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000003550 marker Substances 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 210000001835 viscera Anatomy 0.000 description 4
- 230000007547 defect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 241000251468 Actinopterygii Species 0.000 description 2
- LFQSCWFLJHTTHZ-UHFFFAOYSA-N Ethanol Chemical compound CCO LFQSCWFLJHTTHZ-UHFFFAOYSA-N 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- CZMRCDWAGMRECN-UGDNZRGBSA-N Sucrose Chemical compound O[C@H]1[C@H](O)[C@@H](CO)O[C@@]1(CO)O[C@@H]1[C@H](O)[C@@H](O)[C@H](O)[C@@H](CO)O1 CZMRCDWAGMRECN-UGDNZRGBSA-N 0.000 description 1
- 229930006000 Sucrose Natural products 0.000 description 1
- 238000000889 atomisation Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 230000002925 chemical effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000007872 degassing Methods 0.000 description 1
- 230000001066 destructive effect Effects 0.000 description 1
- 238000005553 drilling Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000004945 emulsification Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003902 lesion Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 150000002739 metals Chemical class 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000007903 penetration ability Effects 0.000 description 1
- 230000000704 physical effect Effects 0.000 description 1
- 239000013535 sea water Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001954 sterilising effect Effects 0.000 description 1
- 238000004659 sterilization and disinfection Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 239000005720 sucrose Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
- 238000003466 welding Methods 0.000 description 1
- 235000014101 wine Nutrition 0.000 description 1
Landscapes
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
本发明公开了一种恒定声压FSK超声波渡越时间精确测量方法,有效地克服了超声波振子机械惯性和阻尼效应所带来的测量误差(将机械惯性和阻尼效应稳定在一个固定的值上)。可以有效地提高超声波测距的精度,实验表明,采用此方法测量误差稳定在0.1mm的数量级上。远远优于同类技术所能达到的技术水平。
The invention discloses a constant sound pressure FSK ultrasonic transit time accurate measurement method, which effectively overcomes the measurement error caused by the mechanical inertia and damping effect of the ultrasonic vibrator (stabilizes the mechanical inertia and damping effect at a fixed value) . It can effectively improve the accuracy of ultrasonic distance measurement. Experiments show that the measurement error of this method is stable on the order of 0.1mm. It is far superior to the technical level that can be achieved by similar technologies.
Description
技术领域 technical field
本发明涉及一种超声波渡越时间精确测量方法,具体是一种恒定声压FSK超声波渡越时间精确测量方法。 The invention relates to a method for accurately measuring the transit time of ultrasonic waves, in particular to a method for accurately measuring the transit time of constant sound pressure FSK ultrasonic waves.
背景技术 Background technique
人耳最高只能感觉到大约20kHz的声波,频率在20kHz以上的的声波就是超声波,超声波属于机械波的范畴。 The human ear can only perceive sound waves up to about 20kHz, and sound waves with a frequency above 20kHz are ultrasonic waves, which belong to the category of mechanical waves.
超声波遵循一般机械波在弹性介质中的传播规律,如在介质的分界面处会发生反射和折射现象,在进入介质后被介质吸收而发生衰减。超声波的频率可以非常高,达到兆赫级,因此,超声波在介质中传播时能量可以集中在很小的范围内,具有良好的成束性,方向性好。 Ultrasound follows the general law of mechanical wave propagation in elastic media. For example, reflection and refraction will occur at the interface of the medium, and it will be absorbed by the medium after entering the medium and attenuate. The frequency of ultrasonic waves can be very high, reaching the megahertz level. Therefore, when ultrasonic waves propagate in the medium, the energy can be concentrated in a small range, with good beam forming and good directionality.
理论研究表明,在振幅相同的情况下,一个物体振动的能量跟振动频率的二次方成正比。超声波在介质中传播时,介质质点振动的频率可以很高,因而能量很大。 Theoretical research shows that, under the condition of the same amplitude, the vibration energy of an object is proportional to the square of the vibration frequency. When the ultrasonic wave propagates in the medium, the frequency of the particle vibration of the medium can be very high, so the energy is very large.
利用超声波能量大这一特点,可以对介质产生诸如机械作用、空化作用、热效应和化学效应,可进行超声焊接、钻孔、固体的粉碎、乳化、雾化、脱气、除尘、去锅垢、清洗、灭菌、促进化学反应和进行生物学研究等,在工矿业、农业、医疗等各个部门获得了广泛应用。 Utilizing the characteristic of large ultrasonic energy, it can produce mechanical effects, cavitation effects, thermal effects and chemical effects on the medium, and can perform ultrasonic welding, drilling, solid crushing, emulsification, atomization, degassing, dust removal, and boiler scale removal. , Cleaning, sterilization, promotion of chemical reactions and biological research, etc., have been widely used in various sectors such as industry, mining, agriculture, and medical treatment.
超声波的另一个显著特点是沿直线传播,可以定向发射。超声波在同一介质中的传播速度基本恒定,因此利用测量超声波在该介质中经过一段距离所用的时间,可以实现非接触式测距。对于不同的介质,超声波传播的速度不同,利用这一特性,也可以测定介质的特性,如测定酒精的浓度,测量锅炉中空气的温度等等。如果测定了不同介质的超声波传播特性,则可以测定不同物质的类型,如蔗糖溶液、酒精溶液、各种酒类的品质特性等等。 Another notable feature of ultrasound is that it propagates along a straight line and can be directional. The propagation speed of ultrasonic waves in the same medium is basically constant, so by measuring the time it takes for ultrasonic waves to pass a certain distance in the medium, non-contact distance measurement can be realized. For different media, the speed of ultrasonic propagation is different. Using this characteristic, the characteristics of the medium can also be measured, such as the concentration of alcohol, the temperature of the air in the boiler, and so on. If the ultrasonic propagation characteristics of different media are determined, the types of different substances can be determined, such as sucrose solution, alcohol solution, quality characteristics of various wines, etc.
为了测量不同介质对于超声波速度的细微变化(差别),必须精确测量超声波在介质中所经过的时间(渡越时间),渡越时间的精确测量决定了识别介质特征的准确度。 In order to measure the slight change (difference) of ultrasonic velocity in different media, it is necessary to accurately measure the elapsed time (transit time) of ultrasonic waves in the medium. The precise measurement of transit time determines the accuracy of identifying the characteristics of the medium.
如果渔船载有水下超声波发生器,它旋转着向各个方向发射超声波,超声波遇到鱼群会反射回来,渔船探测到反射波就知道鱼群的位置了,这种仪器叫做声纳,声纳也可以用来探测水中的暗礁、敌人的潜艇,测量海水的深度。根据同样的道理也可以用超声波探测金属、陶瓷混凝土制品,甚至水库大坝,检查内部是否有气泡、空洞和裂纹,实现无损探测。人体各个内脏的表面对超声波的反射能力是不同的,健康内脏和病变内脏的反射能力也不一样。平常说的“B超”就是根据内脏反射的超声波进行造影,帮助医生分析体内的病变。 If the fishing boat is equipped with an underwater ultrasonic generator, it rotates and emits ultrasonic waves in all directions. The ultrasonic waves will be reflected back when they encounter fish schools. When the fishing boat detects the reflected waves, it will know the position of the fish schools. This instrument is called sonar, sonar It can also be used to detect reefs in the water, enemy submarines, and measure the depth of sea water. According to the same principle, ultrasonic waves can also be used to detect metals, ceramic concrete products, and even reservoir dams to check whether there are air bubbles, cavities and cracks inside to achieve non-destructive detection. The surface of each internal organ of the human body has different reflection capabilities to ultrasonic waves, and the reflection capabilities of healthy internal organs and diseased internal organs are also different. The so-called "B-ultrasound" is to perform contrast-enhanced images based on the ultrasound reflected by viscera to help doctors analyze lesions in the body.
随着传感器和单片机控制技术的不断发展,非接触式检测技术已被广泛应用于多个领域。目前,典型的非接触式测距方法有超声波测距、CCD 探测、雷达测距、激光测距等。其中,CCD 探测具有使用方便、无需信号发射源、同时获得大量的场景信息等特点,但CCD测距需要额外的计算开销 。雷达测距具有全天候工作,适合于恶劣的环境中进行短距离、高精度测距的优点 ,但容易受电磁波干扰。激光测距具有高方向性、高单色性、高亮度、测量速度快等优势,尤其是对雨雾有一定的穿透能力,抗干扰能力强,但其成本高、数据处理复杂 。 With the continuous development of sensor and single-chip control technology, non-contact detection technology has been widely used in many fields. At present, typical non-contact ranging methods include ultrasonic ranging, CCD detection, radar ranging, laser ranging, etc. Among them, CCD detection has the characteristics of convenient use, no need for signal emission sources, and obtaining a large amount of scene information at the same time, but CCD ranging requires additional computing overhead. Radar ranging has the advantages of working around the clock and is suitable for short-distance and high-precision ranging in harsh environments, but it is easily interfered by electromagnetic waves. Laser ranging has the advantages of high directivity, high monochromaticity, high brightness, and fast measurement speed, especially has a certain penetration ability to rain and fog, and has strong anti-interference ability, but its cost is high and data processing is complicated.
与前几种测距方式相比,超声波测距可以直接测量近距离目标,纵向分辨率高,适用范围广,方向性强,并具备不受光线、烟雾、电磁干扰等因素影响,且覆盖面较大等优点。目前,超声波测距已普遍应用在液位测量、移动机器人定位和避障等领域,应用前景广阔。 Compared with the previous ranging methods, ultrasonic ranging can directly measure short-distance targets, with high vertical resolution, wide application range, strong directionality, and is not affected by light, smoke, electromagnetic interference and other factors, and has a wider coverage. Great advantages. At present, ultrasonic ranging has been widely used in the fields of liquid level measurement, mobile robot positioning and obstacle avoidance, and has broad application prospects.
在医学上,如果将B型超声波回波时间的测量精度提高一个数量级,则可大大提高B超图像的清晰度,减少医生的误判概率。 In medicine, if the measurement accuracy of B-mode ultrasound echo time is increased by an order of magnitude, the clarity of B-mode ultrasound images can be greatly improved and the probability of misjudgment by doctors can be reduced.
近年来超声测试技术已明显表现出下列趋向: In recent years, ultrasonic testing technology has clearly shown the following trends:
1、由定性判断缺陷的有无而发展为对缺陷的位置、大小、形状、性质进行定量判断,并且利用各种成像技术直接显示缺陷的二维、三维图像; 1. From qualitatively judging the existence of defects to quantitatively judging the position, size, shape and nature of defects, and using various imaging technologies to directly display two-dimensional and three-dimensional images of defects;
2、向在线自动检测和仪器的智能化发展,其中非接触超声测试技术取得突破进展: 2. To the intelligent development of online automatic detection and instruments, among which non-contact ultrasonic testing technology has made breakthrough progress:
3、超声测试技术和材料的物性评价相结合,材料的设计、加工和工程应用迅速发展。 3. The combination of ultrasonic testing technology and physical property evaluation of materials has led to rapid development of material design, processing and engineering applications.
如图1所示,超声波测距的基本原理,超声波传感器由脉冲信号激励发出超声波,通过传声介质传到被测物体,形成反射波;反射波再通过传声介质返回到接收传感器,传感器把声信号转换成电信号,由系统测量出超声波从发射到接收所经过的时间(渡越时间),利用公式: As shown in Figure 1, the basic principle of ultrasonic ranging is that the ultrasonic sensor is excited by a pulse signal to emit ultrasonic waves, which are transmitted to the measured object through the sound transmission medium to form reflected waves; the reflected waves then return to the receiving sensor through the sound transmission medium, and the sensor sends The acoustic signal is converted into an electrical signal, and the system measures the time elapsed (transit time) from the emission to the reception of the ultrasonic wave, using the formula:
就可以得到超声波传感器与被测物体之间的距离。 The distance between the ultrasonic sensor and the measured object can be obtained.
其中:是超声波的传输速度,,单位是,是环境温度; in: is the ultrasonic transmission speed, , the unit is , is the ambient temperature;
是超声波从发射到接收所经过的时间,单位是秒。 It is the time elapsed from the transmission of the ultrasonic wave to the reception, in seconds.
由于超声波测距的范围与精度受到多方面因素(如超声波发射器与接受器本身的性能、信号功率、信噪比、环境温度、湿度、计时器计时精度等)的影响,测量精度和范围都受到了很大的限制。在激励信号作用于发射器后,发射器发出的超声波会呈现一个增幅的过程,直到幅度稳定;在激励信号结束后,超声波发射器会有余振;而接收器在超声波的激励下,其输出的电信号也有一个增幅的过程,当发射功率较小或者测量距离较远时,接收器有可能感受不到第一个发射波的激励作用。图2表示了这种增幅的过程。即经过传播过程的衰减后,由于时刻的超声波幅度很少, 时刻的超声波回波不一定能够被检测到。换句话说,接收器检测到的第一个回波前沿并不一定是时刻发射的超声波的前沿,而可能是时刻,甚至是时刻发射的超声波前沿。但是,在时刻已经给超声波发射器加上激励信号,计时器却已经开始计时,这将为测量带来不可估计的误差。在超声波发射器发射功率相同的情况下,被测距离越远,经被测目标反射回来的超声波幅度就越小。当反射回来的超声波幅度小到一定程度后就不能被检测或不容易被检测,从而使测量范围受到限制。由于超声波发射器发射功率的限制,有效测试距离一般较短 。从测量精度上讲,一方面,超声波的回波前沿检测的准确与否和计数器的计数频率将直接影响到测量的精度。如果选用谐振频率为40kHz的超声波发射器和接收器,回波前沿检测相差一个脉冲所带来的测量误差是8.5 mm(超声波的波速按340m/s计算),对于mm级精度的测量,其误差是不可忽视的。另一方面,渡越时间的测量值每相差1μs也将带来0.34mm的测距误差。 Since the range and accuracy of ultrasonic ranging are affected by many factors (such as the performance of the ultrasonic transmitter and receiver itself, signal power, signal-to-noise ratio, ambient temperature, humidity, timer timing accuracy, etc.), the measurement accuracy and range are different. has been greatly restricted. After the excitation signal acts on the transmitter, the ultrasonic wave emitted by the transmitter will show a process of increasing until the amplitude is stable; The electrical signal also has an amplification process. When the transmission power is small or the measurement distance is long, the receiver may not feel the excitation of the first transmitted wave. Figure 2 shows the process of this augmentation. That is, after the attenuation of the propagation process, due to The amplitude of the ultrasonic waves at the moment is very small, The ultrasonic echo at that time may not necessarily be detected. In other words, the first echo leading edge detected by the receiver is not necessarily the moment the leading edge of the emitted ultrasonic waves, which may be moments, even Ultrasonic frontier emitted at all times. But when The time has already added the excitation signal to the ultrasonic transmitter, but the timer has already started timing, which will bring inestimable errors to the measurement. In the case of the same transmission power of the ultrasonic transmitter, the farther the measured distance is, the smaller the amplitude of the ultrasonic wave reflected by the measured target. When the amplitude of the reflected ultrasonic wave is small to a certain extent, it cannot be detected or is not easy to be detected, so that the measurement range is limited. Due to the limitation of the transmitting power of the ultrasonic transmitter, the effective test distance is generally short. In terms of measurement accuracy, on the one hand, the accuracy of the ultrasonic echo frontier detection and the counting frequency of the counter will directly affect the measurement accuracy. If the ultrasonic transmitter and receiver with a resonant frequency of 40kHz are selected, the measurement error caused by the difference of one pulse in the echo front detection is 8.5 mm (the wave speed of the ultrasonic wave is calculated according to 340m/s). For the measurement of mm-level precision, the error cannot be ignored. On the other hand, every 1 μs difference in the measured value of the transit time will also bring a ranging error of 0.34 mm.
由超声波的传输速度可知,环境温度对于超声波的传播速度为大约0.6m/℃,通过测量环境温度可以补偿温度对于超声波传播速度的影响,但环境温度的测量误差以及传播路径中环境温度的不一致,将会导致温度补偿技术达不到预期的补偿目的。因此标杆测量法应运而生。 The transmission speed of ultrasonic waves It can be seen that the ambient temperature for the ultrasonic propagation velocity is about 0.6m/°C, and the influence of temperature on the ultrasonic propagation velocity can be compensated by measuring the ambient temperature, but the measurement error of the ambient temperature and the inconsistency of the ambient temperature in the propagation path will lead to temperature compensation. Technology falls short of intended compensation purpose. Therefore, the benchmarking method came into being.
标杆测量法是在超声波发射器前设置标志杆,由于已知标志杆与发射器之间的距离,因此只需要测出超声波经过标志杆与发射器之间的渡越时间,根据,则可得到实际测量环境下的声速值。标杆测量法不需要考虑环境温度对于声速的影响,避免了因温度补偿声速而带来的二次误差。但是标杆测量法无法解决回波前沿准确检测的问题。 The benchmarking method is to set a marker pole in front of the ultrasonic transmitter, because the distance between the marker pole and the transmitter is known , so it is only necessary to measure the transit time between the ultrasonic wave passing through the marker pole and the transmitter ,according to , the sound velocity value in the actual measurement environment can be obtained. The benchmark measurement method does not need to consider the influence of the ambient temperature on the sound velocity, and avoids the secondary error caused by temperature compensation of the sound velocity. However, the benchmarking method cannot solve the problem of accurate detection of the echo front.
CN03207478.6所述的“具有灵敏度自动增益控制功能的超声波测距装置”公开了通过一数字电位器来自动调整接收信号的放大倍率,从而使得在整个测距的过程中,信号处理电路能得到比较稳定均衡的回波信号。该装置包括有微处理器、超声波发射电路、超声波接收电路、回波信号放大电路、回波信号检波电路和显示电路。该超声波测距装置还包括有数字电位器,该数字电位器与微处理器和回波信号放大电路的运算放大器相连接,微处理器控制数字电位器,使该数字电位器自动改变其输出阻值来调整回波信号的放大倍率,使得在整个测距离的过程中获得比较均衡的回波信号,并且在不影响近距离测距离的同时有效地屏蔽了测地等误显信号的产生,由于远距离测量时可以大幅度提高回波信号的放大倍率,所以有效地提高了远距离测距效果。 The "ultrasonic distance measuring device with automatic sensitivity gain control function" described in CN03207478.6 discloses that a digital potentiometer is used to automatically adjust the magnification of the received signal, so that in the whole process of distance measurement, the signal processing circuit can obtain Relatively stable and balanced echo signal. The device includes a microprocessor, an ultrasonic transmitting circuit, an ultrasonic receiving circuit, an echo signal amplifying circuit, an echo signal detecting circuit and a display circuit. The ultrasonic distance measuring device also includes a digital potentiometer, which is connected with the microprocessor and the operational amplifier of the echo signal amplifying circuit, and the microprocessor controls the digital potentiometer so that the digital potentiometer automatically changes its output resistance. value to adjust the magnification of the echo signal, so that a relatively balanced echo signal is obtained during the entire distance measurement process, and effectively shields the generation of false display signals such as geodesy without affecting the short distance measurement distance. The magnification of the echo signal can be greatly improved during long-distance measurement, so the effect of long-distance distance measurement is effectively improved.
但是,根据超声波在传播过程中,其声压和声强的衰减规律: However, according to the attenuation law of the sound pressure and sound intensity of the ultrasonic wave during its propagation:
其中:、:距声源x距离处的声压和声强 in: , : Sound pressure and sound intensity at distance x from the sound source
x:测量点与声源间的距离 x : the distance between the measurement point and the sound source
:衰减系数,单位是Np/cm(奈培/厘米) : Attenuation coefficient, unit is Np/cm (Nepel/cm)
说明,随着传播距离的增加,接收点处的声压和声强呈指数规律衰减而迅速减小,当在远距离测量的时候,超声波的能量在传输过程中将不断被损耗,接收端的信号将被淹没在介质的噪声之中而无法辨识,此时再怎么调节放大倍率也无济于事。同时该专利无法解决回波前沿测量不准的问题。 It shows that as the propagation distance increases, the sound pressure and sound intensity at the receiving point decay exponentially and decrease rapidly. When measuring at a long distance, the energy of the ultrasonic wave will be continuously lost during the transmission process, and the signal at the receiving end will It will be submerged in the noise of the medium and cannot be identified. At this time, no matter how you adjust the magnification, it will not help. At the same time, this patent cannot solve the problem of inaccurate measurement of the echo front.
CN200710071684.4所述的“基于调制域测量的超声波回波前沿检测方法”讲述了通过发射两种超声波频率、,通过测量频率切换点从发射端到接收端的渡越时间来计算测量距离,从而克服了传统超声波测距方法中回波前沿测量不准的问题。 CN200710071684.4 "Ultrasonic Echo Frontier Detection Method Based on Modulation Domain Measurement" describes that by transmitting two ultrasonic frequencies , , the measurement distance is calculated by measuring the transit time of the frequency switching point from the transmitter to the receiver, thus overcoming the inaccurate measurement of the echo front in the traditional ultrasonic ranging method.
如图3所示,时刻为发射的超声波的频率跳变点,在时刻之前,发射的超声的周期为,频率为;在时刻之后,发射的超声波周期为,频率为。同时,计时器从时刻开始计时。时刻为时刻发射的超声波经介质传输到达超声波接收器的时刻,即回波频率跳变的时刻。 和之差即为超声波在介质中的渡越时间。 As shown in Figure 3, Time is the frequency jump point of the transmitted ultrasonic wave, at Before the moment, the period of the transmitted ultrasound is , with a frequency of ;exist After time, the emitted ultrasonic period is , with a frequency of . At the same time, the timer starts from Time starts counting. time for The moment when the emitted ultrasonic wave reaches the ultrasonic receiver through the medium transmission, that is, the moment when the echo frequency jumps. and The difference is the transit time of ultrasonic waves in the medium.
当超声波的频率与相差越大,测量过程中变频点的检测就越容易。实际上,由于超声波发射器和接收器带宽的限制,与非常接近,为变频点的检测带来了一定的困难。 when the frequency of the ultrasound and The larger the difference, the easier it is to detect the frequency conversion point during the measurement. In fact, due to the limited bandwidth of the ultrasonic transmitter and receiver, and It is very close, which brings certain difficulties to the detection of the frequency conversion point.
CN200710071684.4所述的“基于调制域测量的超声波回波前沿检测方法”在设计时忽略了一个有关超声波发射器和接收器的重要特性,即不管是发射器还是接收器,其工作原理均是压电效应,发射器把电信号转换成机械波,接收器将机械波转换为电信号,而机械振动存在机械惯性和阻尼效应,当振子从一个振动频率转换到另一个振动频率时,其频率切换的过程不可能是瞬时的,激励功率不同,其切换的时间必然不同。从这个意义出发,CN200710071684.4所述的“基于调制域测量的超声波回波前沿检测方法”将不再有效,或者说效果不再如其所述的那么显著。 The "ultrasonic echo frontier detection method based on modulation domain measurement" described in CN200710071684.4 ignores an important characteristic of the ultrasonic transmitter and receiver during design, that is, whether it is a transmitter or a receiver, its working principle is Piezoelectric effect, the transmitter converts electrical signals into mechanical waves, and the receiver converts mechanical waves into electrical signals, while mechanical vibration has mechanical inertia and damping effects, when the vibrator is converted from one vibration frequency to another, its frequency switching The process cannot be instantaneous, and the switching time must be different if the excitation power is different. In this sense, the "ultrasonic echo front detection method based on modulation domain measurement" described in CN200710071684.4 will no longer be effective, or the effect will no longer be as remarkable as it says.
理论表明,机械振动从一个振动频率转换到另一个振动频率时,其初始的频率变化将是混沌和无序的,其后才慢慢向靠拢,最后稳定在上,整个切换过程所需的时间,对于发射器而言,与激励电压相关,对于接收器而言,与接收点的声压和声强相关。 Theory shows that mechanical vibration from a vibration frequency switch to another vibrational frequency When , its initial frequency change will be chaotic and disorderly, and then slowly move towards Closer, and finally stabilized at Above, the time required for the entire switching process is related to the excitation voltage for the transmitter, and related to the sound pressure and sound intensity at the receiving point for the receiver.
实验表明,当用的电信号激励发射器时,其切换时间大概4个振荡周期。 Experiments have shown that when using When the electrical signal excites the transmitter, its switching time is about 4 oscillation cycles.
发明内容 Contents of the invention
为了解决现有技术中存在的上述技术问题,本发明提供了一种恒定声压FSK超声波渡越时间精确测量方法,包括如下步骤: In order to solve the above-mentioned technical problems existing in the prior art, the present invention provides a kind of constant sound pressure FSK ultrasonic transit time accurate measurement method, comprises the following steps:
(1)载波脉冲发生器产生两种频率的脉冲信号、,当变频标识脉冲的逻辑电平发生变化时,载波脉冲发生器输出的频率就会变化,当变频标识脉冲为逻辑“1”时,载波脉冲发生器输出脉冲信号的频率为,当变频标识脉冲为逻辑“0”时,载波脉冲发生器输出脉冲信号的频率为,载波脉冲发生器输出的脉冲信号一路送入可编程脉冲放大器Ⅰ,对脉冲信号进行同相放大,另一路倒相后送入可编程脉冲放大器Ⅱ,对脉冲信号进行反相放大,此两路差动功率信号驱动发射器输出超声波; (1) The carrier pulse generator generates pulse signals of two frequencies , , when the logic level of the variable-frequency identification pulse changes, the output frequency of the carrier pulse generator will change. When the variable-frequency identification pulse is logic "1", the frequency of the output pulse signal of the carrier pulse generator is , when the variable frequency identification pulse is logic "0", the frequency of the carrier pulse generator output pulse signal is , the pulse signal output by the carrier pulse generator is sent to the programmable pulse amplifier Ⅰ one way to amplify the pulse signal in phase, and the other way is inverted and then sent to the programmable pulse amplifier Ⅱ to amplify the pulse signal in reverse phase. The dynamic power signal drives the transmitter to output ultrasonic waves;
(2)超声波接收器将超声波转换为电信号,经放大电路放大后分为两路,一路经过零触发器后输出脉冲信号供计数器测量超声波的频率,用于检测变频点;另一路经精密检波电路将接收到的信号强度变成直流电压,双限比较器对此直流电压的大小进行甄别,当信号强度大于设定的接收信号电平上限时,比较器的输出脚up_H=1,down_L=1;当信号强度小于设定的接收信号电平下限时,比较器的输出脚up_H=0,down_L=0;当信号强度介于设定的接收信号电平上、下限之间时,比较器的输出脚up_H=0,down_L=1;可逆计数器的工作状态受up_H、down_L逻辑电平的控制:当up_H=1、down_L=1时,可逆计数器做减计数;当up_H=0、down_L=0时,可逆计数器做加计数;当up_H=0、down_L=1时,可逆计数器维持原来的状态; (2) The ultrasonic receiver converts the ultrasonic wave into an electrical signal, which is divided into two circuits after being amplified by the amplifying circuit. One circuit outputs a pulse signal for the counter to measure the frequency of the ultrasonic wave after passing through the zero trigger, and is used to detect the frequency conversion point; the other circuit passes through the precision detection The circuit converts the received signal strength into a DC voltage, and the double-limit comparator screens the magnitude of the DC voltage. When the signal strength is greater than the set upper limit of the received signal level, the comparator's output pin up_H=1, down_L= 1; When the signal strength is less than the set lower limit of the received signal level, the output pin of the comparator is up_H=0, down_L=0; when the signal strength is between the set upper and lower limits of the received signal level, the comparator The output pin up_H=0, down_L=1; the working state of the reversible counter is controlled by the logic level of up_H and down_L: when up_H=1, down_L=1, the reversible counter counts down; when up_H=0, down_L=0 , the reversible counter counts up; when up_H=0, down_L=1, the reversible counter maintains the original state;
(3)所述可编程脉冲放大器的放大倍数正比于可逆计数器的计数值,当超声波接收器接收到的信号电平较小时,可逆计数器就会做加计数操作,可编程脉冲放大器的输出信号就会增加,超声波接收器接收到的信号电平也跟着增加,当此电平大到超过设定的上限电平时(up_H=1,down_L=1),可逆计数器做减计数,接收电平减小,此时up_H=0,down_L=1,可逆计数器停止计数,接收信号电平便稳定在这个电平点上; (3) The amplification factor of the programmable pulse amplifier is proportional to the count value of the reversible counter. When the signal level received by the ultrasonic receiver is small, the reversible counter will perform counting operation, and the output signal of the programmable pulse amplifier will be will increase, and the signal level received by the ultrasonic receiver will also increase. When this level exceeds the set upper limit level (up_H=1, down_L=1), the reversible counter will count down, and the receiving level will decrease. Small, at this time up_H=0, down_L=1, the reversible counter stops counting, and the received signal level is stable at this level;
若此时测量距离增加,超声波接收器接收到的信号电平跟着减小,当此电平小于设定的下限电平时(up_H=0,down_L=0),可逆计数器做加计数,接收电平增大,此时up_H=0,down_L=1,可逆计数器停止计数,接收信号电平又稳定在这个电平点上; If the measurement distance increases at this time, the signal level received by the ultrasonic receiver will decrease accordingly. The level increases, at this time up_H=0, down_L=1, the reversible counter stops counting, and the received signal level is stable at this level;
(4)单片机控制变频标识脉冲的逻辑电平周期性的发生变化时,载波脉冲发生器输出的频率也会周期性地在和之间来回变化,当变频标识脉冲的逻辑电平变化时,就启动时间测量电路,用以测量接收的脉冲信号端输出脉冲信号的周期,判断此信号的变频点,变频标识脉冲的逻辑电平变化与接收的脉冲信号端输出脉冲信号变频点之间的时间就是超声波的渡越时间。 (4) When the logic level of the SCM controls the variable frequency marking pulse to change periodically, the output frequency of the carrier pulse generator will also periodically and When the logic level of the variable frequency identification pulse changes, the time measurement circuit is started to measure the period of the pulse signal output by the received pulse signal terminal, and to judge the frequency conversion point of the signal and the logic level of the frequency conversion identification pulse The time between the change and the frequency conversion point of the pulse signal output from the received pulse signal terminal is the transit time of the ultrasonic wave.
进一步的,所述可逆计数器的计数值越大,可编程脉冲放大器输出脉冲信号的幅度也越大。 Further, the greater the count value of the reversible counter, the greater the amplitude of the pulse signal output by the programmable pulse amplifier.
进一步的,当电路正常工作时,超声波接收器接收到的信号电平总是介于设定电平的上、下限之间,若设定电平的上、下限设置的十分靠近,则超声波接收器接收到的信号电平是恒定的。 Further, when the circuit is working normally, the signal level received by the ultrasonic receiver is always between the upper and lower limits of the set level. If the upper and lower limits of the set level are set very close, the ultrasonic receiving The signal level received by the receiver is constant.
本发明的恒定声压FSK超声波渡越时间精确测量方法有效地克服了超声波振子机械惯性和阻尼效应所带来的测量误差(将机械惯性和阻尼效应稳定在一个固定的值上)。可以有效地提高超声波测距的精度,实验表明,采用此方法测量误差稳定在0.1mm的数量级上。远远优于同类技术所能达到的技术水平。 The constant sound pressure FSK ultrasonic transit time accurate measurement method of the present invention effectively overcomes the measurement error caused by the mechanical inertia and damping effect of the ultrasonic vibrator (stabilizes the mechanical inertia and damping effect at a fixed value). It can effectively improve the accuracy of ultrasonic distance measurement. Experiments show that the measurement error of this method is stable on the order of 0.1mm. It is far superior to the technical level that can be achieved by similar technologies.
附图说明 Description of drawings
图1是超声波测距原理图; Figure 1 is a schematic diagram of ultrasonic ranging;
图2是实际的发射波和回波在时间轴的对应关系图; Fig. 2 is the corresponding relationship diagram of the actual launch wave and echo on the time axis;
图3是经FSK调制后的发射波和回波的波形示意图; Figure 3 is a schematic diagram of the waveforms of the transmitted wave and the echo modulated by FSK;
图4是恒定声压FSK超声波踱越时间精确测量方法原理框图。 Fig. 4 is a block diagram of a method for accurate measurement of constant sound pressure FSK ultrasonic wave time.
具体实施方式 Detailed ways
下面结合附图对本发明作进一步说明。 The present invention will be further described below in conjunction with accompanying drawing.
如图4所示,恒定声压FSK超声波渡越时间精确测量方法,包括如下实现步骤: As shown in Figure 4, the constant sound pressure FSK ultrasonic transit time accurate measurement method includes the following implementation steps:
载波脉冲发生器产生两种频率的脉冲信号、,当变频标识脉冲的逻辑电平发生变化时,载波脉冲发生器输出的频率就会变化,当变频标识脉冲为逻辑“1”时,载波脉冲发生器输出脉冲信号的频率为,当变频标识脉冲为逻辑“0”时,载波脉冲发生器输出脉冲信号的频率为。载波脉冲发生器输出的脉冲信号一路送入可编程脉冲放大器Ⅰ,对脉冲信号进行同相放大,另一路倒相后送入可编程脉冲放大器Ⅱ,对脉冲信号进行反相放大,此两路差动功率信号驱动发射器输出超声波。 The carrier pulse generator generates pulse signals of two frequencies , , when the logic level of the variable-frequency identification pulse changes, the output frequency of the carrier pulse generator will change. When the variable-frequency identification pulse is logic "1", the frequency of the output pulse signal of the carrier pulse generator is , when the variable frequency identification pulse is logic "0", the frequency of the carrier pulse generator output pulse signal is . The pulse signal output by the carrier pulse generator is sent to the programmable pulse amplifier Ⅰ one way to amplify the pulse signal in phase, and the other way is inverted and then sent to the programmable pulse amplifier Ⅱ to amplify the pulse signal in reverse phase. The power signal drives the transmitter to output ultrasonic waves.
超声波接收器将超声波转换为电信号,经放大电路放大后分为两路,一路经过零触发器后输出脉冲信号供计数器测量超声波的频率,用于检测变频点;另一路经精密检波电路将接收到的信号强度变成直流电压,双限比较器对此直流电压的大小进行甄别,当信号强度大于设定的接收信号电平上限时,比较器的输出脚up_H=1,down_L=1;当信号强度小于设定的接收信号电平下限时,比较器的输出脚up_H=0,down_L=0;当信号强度介于设定的接收信号电平上、下限之间时,比较器的输出脚up_H=0,down_L=1。 The ultrasonic receiver converts the ultrasonic waves into electrical signals, which are amplified by the amplifying circuit and then divided into two paths. One path passes through the zero trigger and then outputs pulse signals for the counter to measure the frequency of the ultrasonic wave, which is used to detect frequency conversion points; the other path passes through the precision detection circuit to receive The received signal strength becomes a DC voltage, and the double-limit comparator screens the magnitude of the DC voltage. When the signal strength is greater than the set upper limit of the received signal level, the output pin of the comparator is up_H=1, down_L=1; when When the signal strength is less than the set lower limit of the received signal level, the output pin of the comparator is up_H=0, down_L=0; when the signal strength is between the upper and lower limits of the set received signal level, the output pin of the comparator up_H=0, down_L=1.
可逆计数器的工作状态受up_H、down_L逻辑电平的控制。当up_H=1、down_L=1时,可逆计数器做减计数;当up_H=0、down_L=0时,可逆计数器做加计数;当up_H=0、down_L=1时,可逆计数器维持原来的状态。 The working state of the reversible counter is controlled by the logic levels of up_H and down_L. When up_H=1, down_L=1, the reversible counter counts down; when up_H=0, down_L=0, the reversible counter counts up; when up_H=0, down_L=1, the reversible counter maintains the original state.
可编程脉冲放大器的放大倍数正比于可逆计数器的计数值,也就是说,可逆计数器的计数值越大,可编程脉冲放大器输出脉冲信号的幅度也越大。因此,当超声波接收器接收到的信号电平较小时,可逆计数器就会做加计数操作,可编程脉冲放大器的输出信号就会增加,超声波接收器接收到的信号电平也跟着增加,当此电平大到超过设定的上限电平时(up_H=1,down_L=1),可逆计数器做减计数,接收电平减小,此时up_H=0,down_L=1,可逆计数器停止计数,接收信号电平便稳定在这个电平点上。 The amplification factor of the programmable pulse amplifier is proportional to the count value of the reversible counter, that is to say, the larger the count value of the reversible counter, the larger the output pulse signal amplitude of the programmable pulse amplifier. Therefore, when the signal level received by the ultrasonic receiver is small, the reversible counter will count up, the output signal of the programmable pulse amplifier will increase, and the signal level received by the ultrasonic receiver will also increase. When the level exceeds the set upper limit level (up_H=1, down_L=1), the reversible counter counts down, and the receiving level decreases. At this time, up_H=0, down_L=1, the reversible counter stops counting and receives The signal level is stabilized at this level.
如果此时测量距离增加,超声波接收器接收到的信号电平跟着减小,当此电平小于设定的下限电平时(up_H=0,down_L=0),可逆计数器做加计数,接收电平增大,此时up_H=0,down_L=1,可逆计数器停止计数,接收信号电平又稳定在这个电平点上。 If the measurement distance increases at this time, the signal level received by the ultrasonic receiver will decrease accordingly. At this time, up_H=0, down_L=1, the reversible counter stops counting, and the received signal level is stable at this level.
由此可见,当电路正常工作时,超声波接收器接收到的信号电平总是介于设定电平的上、下限之间,如果我们将设定电平的上、下限设置的十分靠近,则超声波接收器接收到的信号电平将是恒定的。 It can be seen that when the circuit is working normally, the signal level received by the ultrasonic receiver is always between the upper and lower limits of the set level. If we set the upper and lower limits of the set level very close, Then the signal level received by the ultrasonic receiver will be constant.
单片机控制变频标识脉冲的逻辑电平周期性的发生变化时,载波脉冲发生器输出的频率也会周期性地在和之间来回变化。当变频标识脉冲的逻辑电平变化时,就启动时间测量电路,用以测量接收的脉冲信号端输出脉冲信号的周期,判断此信号的变频点,变频标识脉冲的逻辑电平变化与接收的脉冲信号端输出脉冲信号变频点之间的时间就是超声波的渡越时间。此时间包含发射器和接收器的机械惯性和阻尼效应所产生的延迟,由于加载到发射器的信号电平和接收点的超声波声压和声强均保持恒定,所以此延迟时间为固定值,可以通过校准的方法予以消除。 When the logic level of the SCM controls the variable frequency marker pulse to change periodically, the output frequency of the carrier pulse generator will also periodically and change back and forth between. When the logic level of the variable-frequency identification pulse changes, the time measurement circuit is started to measure the period of the output pulse signal at the received pulse signal end, and judge the frequency conversion point of the signal. The time between the frequency conversion points of the output pulse signal at the signal terminal is the transit time of the ultrasonic wave. This time includes the delay caused by the mechanical inertia and damping effect of the transmitter and receiver. Since the signal level loaded on the transmitter and the ultrasonic sound pressure and sound intensity at the receiving point are kept constant, this delay time is a fixed value and can be Eliminate it by calibration.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310408949.0A CN103454643B (en) | 2013-09-10 | 2013-09-10 | Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310408949.0A CN103454643B (en) | 2013-09-10 | 2013-09-10 | Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103454643A CN103454643A (en) | 2013-12-18 |
CN103454643B true CN103454643B (en) | 2015-05-27 |
Family
ID=49737217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310408949.0A Expired - Fee Related CN103454643B (en) | 2013-09-10 | 2013-09-10 | Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103454643B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI646341B (en) | 2017-10-18 | 2019-01-01 | 宏碁股份有限公司 | Distance detection device and distance detection method thereof |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105911308A (en) * | 2016-06-13 | 2016-08-31 | 中科同德(厦门)物联网科技有限公司 | Wind speed and wind direction measurement method |
CN107576964B (en) * | 2017-08-25 | 2020-05-22 | 西安理工大学 | Echo time measuring method of linear frequency conversion signal |
CN113671215B (en) * | 2021-07-30 | 2024-02-20 | 苏州斯威高科信息技术有限公司 | Measurement and calibration method and system for improving accuracy of ultrasonic wind sensor |
CN114527454A (en) * | 2022-02-10 | 2022-05-24 | 德闻仪器仪表(上海)有限公司 | Adjusting system and adjusting method for adaptive amplification of ultrasonic signals |
CN115077639B (en) * | 2022-08-22 | 2023-01-13 | 水发航宇星物联科技(辽宁)有限公司 | Measuring method for ultrasonic flowmeter |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4716376A (en) * | 1985-01-31 | 1987-12-29 | At&T Information Systems Inc. | Adaptive FSK demodulator and threshold detector |
CN100565241C (en) * | 2007-01-24 | 2009-12-02 | 哈尔滨工业大学 | Ultrasonic Echo Frontier Detection Method Based on Modulation Domain Measurement |
-
2013
- 2013-09-10 CN CN201310408949.0A patent/CN103454643B/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI646341B (en) | 2017-10-18 | 2019-01-01 | 宏碁股份有限公司 | Distance detection device and distance detection method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103454643A (en) | 2013-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103454643B (en) | Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time | |
CN201051092Y (en) | A sound and ultrasonic no damage detection device | |
CN105066918A (en) | Ultrasonic underwater target thickness measuring system and thickness measuring method | |
CN101173986B (en) | Ultrasonic distance measuring apparatus without blind zone | |
WO2009131871A1 (en) | Method for measuring the density and velocity of sound of a liquid from two reflections of ultrasound at a solid-liquid interface | |
JP2006506607A5 (en) | ||
US11137494B2 (en) | Distance-detection system for determining a time-of-flight measurement and having a reduced dead zone | |
Leighton et al. | Acoustic detection of gas bubbles in a pipe | |
CN102364336A (en) | Ultrasonic wave sensor for pile supersonic wave detection | |
CN104536003A (en) | Ultrasonic distance measuring method and device based on multiple emission frequencies | |
CN108680234A (en) | A kind of water-depth measurement method of quarice layer medium | |
US6262942B1 (en) | Turbulence-resolving coherent acoustic sediment flux probe device and method for using | |
CN107783137A (en) | A kind of sound Doppler's harmony correlation speed measurement method based on five beam configurations | |
CN102841343A (en) | Echo sounding apparatus calibration system based on industrial computer and calibration method | |
CN112485327A (en) | Single-frequency ultrasonic suspended load measurement system and method based on piezoelectric composite wafer | |
Gupta et al. | Design and implementation of water depth measurement and object detection model using ultrasonic signal system | |
CN105467395B (en) | A kind of overlength distance ultrasonic meter | |
CN202869605U (en) | FM pulse echo method based ultrasonic liquid level measuring device | |
Seckel et al. | Physics of 3d ultrasonic sensors | |
CN110440896B (en) | Ultrasonic measurement system and measurement method | |
CN114384525B (en) | A target intensity self-test method and self-test system based on boundary sound reflection | |
JPS6264973A (en) | Ultrasonic range finder | |
RU2703834C1 (en) | Method of compensation for measurement error of ultrasonic locator | |
CN102103147B (en) | Ultrasonic autocorrelation transverse flow velocity measuring method | |
Kou et al. | Research of long range accurate ranging technology based on ultrasonic sensor measurement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150527 Termination date: 20170910 |