TWI805425B - System and method for determining time of light of ultrasound wave - Google Patents

System and method for determining time of light of ultrasound wave Download PDF

Info

Publication number
TWI805425B
TWI805425B TW111124244A TW111124244A TWI805425B TW I805425 B TWI805425 B TW I805425B TW 111124244 A TW111124244 A TW 111124244A TW 111124244 A TW111124244 A TW 111124244A TW I805425 B TWI805425 B TW I805425B
Authority
TW
Taiwan
Prior art keywords
amplitude
sound wave
wave
time
point
Prior art date
Application number
TW111124244A
Other languages
Chinese (zh)
Other versions
TW202401039A (en
Inventor
陸振原
杜憲文
蘇國豐
黃致憲
黃曼青
Original Assignee
中國鋼鐵股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中國鋼鐵股份有限公司 filed Critical 中國鋼鐵股份有限公司
Priority to TW111124244A priority Critical patent/TWI805425B/en
Application granted granted Critical
Publication of TWI805425B publication Critical patent/TWI805425B/en
Publication of TW202401039A publication Critical patent/TW202401039A/en

Links

Images

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

An ultrasonic time-of-flight determining system includes a sound-wave transmitting transducer, a sound-wave receiving transducer and a computing circuit. The calculation circuit sets that a first sound wave emitted by the sound-wave transmitting transducer includes a low-amplitude signal and a high-amplitude signal, and takes the starting point of the high-amplitude signal as a reference starting point. The calculation circuit also determines an amplitude turning point in a second sound wave received by the sound-wave receiving transducer, takes the amplitude turning point as a reference end point, and takes the time difference between the reference starting point and the reference end point as the time-of-flight of the sound wave.

Description

超音波飛行時間判斷系統與方法Ultrasonic time-of-flight judging system and method

本揭露是有關於超音波飛行時間的判斷方法與系統。This disclosure relates to a method and system for judging the time of flight of ultrasonic waves.

在氣體中傳播時,聲波的傳遞速率隨溫度改變而不同,透過聲波速率與溫度之間的關聯,在計算飛行時間而獲得聲波速率以後可以計算出溫度,透過多重路徑的聲波資料則可以重建出二維的溫度分布。然而,聲波波型容易被環境雜訊、氣流、氣體溫度等因素干擾,從而影響聲波速率的計算。另一方面,聲波傳感器多使用振動方式產生聲波訊號,物體震動從起始至穩定往往需要一定次數的震盪,即使輸入高振幅的震動訊號,若次數不夠則輸出無法達到預設的大小,若僅輸出同樣高振幅的串列驅動訊號,則可能因溫度變化造成波形扭曲,導致難以穩定判斷飛行時間。When propagating in the gas, the transmission rate of the sound wave varies with the temperature. Through the relationship between the sound wave speed and the temperature, the temperature can be calculated after the sound wave speed is obtained by calculating the flight time, and the sound wave data of multiple paths can be reconstructed. Two-dimensional temperature distribution. However, the sound wave pattern is easily disturbed by factors such as environmental noise, air flow, and gas temperature, which will affect the calculation of the sound wave velocity. On the other hand, acoustic wave sensors mostly use vibration to generate sound wave signals. Objects often need a certain number of vibrations from the beginning to stabilization. Even if a high-amplitude vibration signal is input, if the frequency is not enough, the output cannot reach the preset size. If only Outputting the same high-amplitude serial drive signal may distort the waveform due to temperature changes, making it difficult to judge the flight time stably.

本揭露的實施例提出一種超音波飛行時間判斷系統,包括聲波發射傳感器、聲波接收傳感器與計算電路。聲波發射傳感器用以發出第一聲波。聲波接收傳感器用以接收對應於第一聲波的第二聲波。計算電路通訊連接至聲波發射傳感器與聲波接收傳感器,用以設定第一聲波包含低振幅訊號與高振幅訊號,高振幅訊號接續在低振幅訊號之後,並且將高振幅訊號的起始點當作參考起始點。計算電路用以判斷第二聲波中的振幅轉折點,將振幅轉折點當作參考終止點,將參考起始點與參考終止點之間的時間差距當作聲波飛行時間。Embodiments of the present disclosure provide an ultrasonic time-of-flight judging system, including an acoustic wave emitting sensor, an acoustic wave receiving sensor, and a calculation circuit. The sound wave emission sensor is used for emitting the first sound wave. The sound wave receiving sensor is used for receiving the second sound wave corresponding to the first sound wave. The calculation circuit is connected to the sound wave transmitting sensor and the sound wave receiving sensor for setting the first sound wave including a low amplitude signal and a high amplitude signal, the high amplitude signal is followed by the low amplitude signal, and the starting point of the high amplitude signal is used as a reference starting point. The calculation circuit is used to judge the turning point of the amplitude in the second sound wave, the turning point of the amplitude is taken as the reference end point, and the time difference between the reference start point and the reference end point is taken as the flight time of the sound wave.

在一些實施例中,計算電路取得聲波接收傳感器相對於聲波發射傳感器的接收角度。當接收角度小於預設角度時,計算電路計算第二聲波的振幅的平均值。在計算出平均值以後,計算電路判斷第二聲波的振幅是否超過平均值,若是的話再判斷第二聲波的振幅是否呈現上升趨勢並保持穩定。若第二聲波的振幅超過平均值、呈現上升趨勢並保持穩定,計算電路取得第二聲波的振幅首次超過平均值的時間點作為參考終止點。In some embodiments, the calculation circuit obtains the receiving angle of the sound wave receiving sensor relative to the sound wave emitting sensor. When the receiving angle is smaller than the preset angle, the calculation circuit calculates the average value of the amplitude of the second sound wave. After the average value is calculated, the calculation circuit judges whether the amplitude of the second sound wave exceeds the average value, and if so, judges whether the amplitude of the second sound wave shows an upward trend and remains stable. If the amplitude of the second sound wave exceeds the average value, shows an upward trend and remains stable, the calculation circuit obtains the time point when the amplitude of the second sound wave exceeds the average value for the first time as a reference termination point.

在一些實施例中,計算電路判斷第二聲波的振幅的斜率是否在連續多個取樣點為正以判斷第二聲波的振幅是否呈現上升趨勢。計算電路也判斷第二聲波的振幅在前後取樣點之間的差距是否小於一預設值以判斷第二聲波是否保持穩定。In some embodiments, the calculation circuit determines whether the slope of the amplitude of the second sound wave is positive at a plurality of consecutive sampling points to determine whether the amplitude of the second sound wave shows an upward trend. The computing circuit also judges whether the difference between the amplitude of the second sound wave before and after the sampling point is smaller than a preset value, so as to judge whether the second sound wave remains stable.

在一些實施例中,當接收角度大於等於預設角度時,計算電路對第二聲波進行包絡處理以取得包絡曲線。計算電路判斷包絡曲線是否大於一預設振幅以取得第一波群與第二波群,其中第一波群與第二波群不相連。計算電路取得第一波群與第二波群之間的波谷的時間點以作為參考終止點。In some embodiments, when the receiving angle is greater than or equal to a preset angle, the calculation circuit performs envelope processing on the second sound wave to obtain an envelope curve. The calculation circuit judges whether the envelope curve is greater than a preset amplitude to obtain the first wave group and the second wave group, wherein the first wave group and the second wave group are not connected. The calculation circuit obtains the time point of the trough between the first wave group and the second wave group as a reference termination point.

在一些實施例中,計算電路根據聲波接收傳感器與聲波發射傳感器之間的距離決定預設振幅,其中距離與預設振幅呈負相關。In some embodiments, the calculation circuit determines the preset amplitude according to the distance between the sound wave receiving sensor and the sound wave emitting sensor, wherein the distance is negatively correlated with the preset amplitude.

以另一個角度來說,本揭露的實施例提出一種超音波飛行時間判斷方法,適用於計算電路。此超音波飛行時間判斷方法包括:設定第一聲波包含低振幅訊號與高振幅訊號,高振幅訊號接續在低振幅訊號之後,並且將高振幅訊號的起始點當作參考起始點;透過聲波發射傳感器發出第一聲波;透過聲波接收傳感器接收對應於第一聲波的第二聲波;以及判斷第二聲波中的振幅轉折點,將振幅轉折點當作參考終止點,將參考起始點與參考終止點之間的時間差距當作聲波飛行時間。From another point of view, the embodiments of the present disclosure provide a method for judging ultrasonic time-of-flight, which is suitable for computing circuits. The ultrasonic time-of-flight judgment method includes: setting the first sound wave to include a low-amplitude signal and a high-amplitude signal, the high-amplitude signal following the low-amplitude signal, and taking the starting point of the high-amplitude signal as a reference starting point; The transmitting sensor sends out the first sound wave; the second sound wave corresponding to the first sound wave is received by the sound wave receiving sensor; and the amplitude turning point in the second sound wave is judged, and the amplitude turning point is regarded as a reference end point, and the reference start point and the reference end point The time gap between them is regarded as the sound wave flight time.

在一些實施例中,超音波飛行時間判斷方法更包括:取得聲波接收傳感器相對於聲波發射傳感器的接收角度;當接收角度小於預設角度時,計算第二聲波的振幅的平均值;在計算出平均值以後,判斷第二聲波的振幅是否超過平均值,若是的話再判斷第二聲波的振幅是否呈現上升趨勢並保持穩定;以及若第二聲波的振幅超過平均值、呈現上升趨勢並保持穩定,取得第二聲波的振幅首次超過平均值的時間點作為參考終止點。In some embodiments, the ultrasonic time-of-flight judging method further includes: obtaining the receiving angle of the acoustic wave receiving sensor relative to the acoustic wave emitting sensor; when the receiving angle is less than the preset angle, calculating the average value of the amplitude of the second acoustic wave; After the average value, judge whether the amplitude of the second sound wave exceeds the average value, and if so, judge whether the amplitude of the second sound wave shows an upward trend and remains stable; and if the amplitude of the second sound wave exceeds the average value, presents an upward trend and remains stable, The time point at which the amplitude of the second sound wave exceeds the average value for the first time is taken as the reference termination point.

在一些實施例中,超音波飛行時間判斷方法更包括:判斷第二聲波的振幅的斜率是否在連續多個取樣點為正以判斷第二聲波的振幅是否呈現上升趨勢;以及判斷第二聲波的振幅在前後取樣點之間的差距是否小於一預設值以判斷第二聲波是否保持穩定。In some embodiments, the ultrasonic time-of-flight judging method further includes: judging whether the slope of the amplitude of the second sound wave is positive at a plurality of consecutive sampling points to judge whether the amplitude of the second sound wave presents an upward trend; and judging the amplitude of the second sound wave Whether the amplitude difference between the preceding and the following sampling points is smaller than a preset value is used to determine whether the second sound wave remains stable.

在一些實施例中,超音波飛行時間判斷方法更包括:當接收角度大於等於預設角度時,對第二聲波進行包絡處理以取得一包絡曲線;判斷包絡曲線是否大於一預設振幅以取得第一波群與第二波群,其中第一波群與第二波群不相連;以及取得第一波群與第二波群之間的波谷的時間點以作為參考終止點。In some embodiments, the ultrasonic time-of-flight judging method further includes: when the receiving angle is greater than or equal to a preset angle, performing envelope processing on the second sound wave to obtain an envelope curve; judging whether the envelope curve is greater than a preset amplitude to obtain a second sound wave A wave group and a second wave group, wherein the first wave group and the second wave group are not connected; and a time point of a trough between the first wave group and the second wave group is obtained as a reference termination point.

在一些實施例中,超音波飛行時間判斷方法更包括:根據聲波接收傳感器與聲波發射傳感器之間的距離決定預設振幅,其中距離與預設振幅呈負相關。In some embodiments, the ultrasonic time-of-flight judging method further includes: determining a preset amplitude according to the distance between the sound wave receiving sensor and the sound wave emitting sensor, wherein the distance is negatively correlated with the preset amplitude.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.

關於本文中所使用之「第一」、「第二」等,並非特別指次序或順位的意思,其僅為了區別以相同技術用語描述的元件或操作。The terms "first", "second" and the like used herein do not specifically refer to a sequence or sequence, but are only used to distinguish elements or operations described with the same technical terms.

圖1是根據一實施例繪示超音波飛行時間判斷系統的示意圖。請參照圖1,超音波飛行時間判斷系統100包括了多個超音波傳感器UT1~UT12與計算電路110,其中超音波傳感器UT1作為聲波發射傳感器(標記為“Tx”),用以發出第一聲波,而其他超音波傳感器UT2~UT12則作為聲波接收傳感器來接收此第一聲波,由於聲波在空氣傳遞後會變形,在此將所接收到的聲波稱為第二聲波。超音波傳感器UT1~UT12是設置在預設的位置,因此可以事先知道每個聲波接收傳感器相對於聲波發射傳感器的接收角度,在此分別依照接收角度來標記聲波接收傳感器,例如超音波傳感器UT7的接收角度為“0”度,超音波傳感器UT2的接收角度為“+150”度,以此類推。在一些實施例中,每個超音波傳感器UT1~UT12都可用以發射並接收聲波,但在一些實施例中超音波傳感器UT1也可以採用專門用以發射聲波的傳感器,而其他超音波傳感器UT2~UT12可以採用專門用以接收聲波的傳感器,本揭露並不在此限。此外,在此實施例中上述的聲波為超音波,但本揭露並不限制聲波的頻率。FIG. 1 is a schematic diagram illustrating an ultrasonic time-of-flight judging system according to an embodiment. Please refer to FIG. 1 , the ultrasonic time-of-flight judging system 100 includes a plurality of ultrasonic sensors UT1-UT12 and a computing circuit 110, wherein the ultrasonic sensor UT1 is used as a sound wave emission sensor (marked as "Tx") to send out the first sound wave , while the other ultrasonic sensors UT2~UT12 are used as sound wave receiving sensors to receive the first sound wave. Since the sound wave will be deformed after being transmitted in the air, the received sound wave is called the second sound wave here. The ultrasonic sensors UT1~UT12 are set at preset positions, so the receiving angle of each acoustic wave receiving sensor relative to the acoustic wave emitting sensor can be known in advance, and the acoustic wave receiving sensors are marked according to the receiving angle, for example, the ultrasonic sensor UT7 The receiving angle is "0" degrees, the receiving angle of the ultrasonic sensor UT2 is "+150" degrees, and so on. In some embodiments, each ultrasonic sensor UT1~UT12 can be used to emit and receive sound waves, but in some embodiments, the ultrasonic sensor UT1 can also use a sensor specially used to emit sound waves, while the other ultrasonic sensors UT2~UT12 A sensor specially used for receiving sound waves may be used, and the present disclosure is not limited thereto. In addition, the above-mentioned sound waves in this embodiment are ultrasonic waves, but the disclosure does not limit the frequency of the sound waves.

計算電路110可為微處理器、控制器、中央處理器、特殊應用積體電路或任意有計算能力的電路。計算電路110通訊連接至超音波傳感器UT1~UT12,此通訊連接可以用任意有線或無線的通訊手段來達成。計算電路110用以設定上述第一聲波中的訊號,並根據所接收到的第二聲波來判斷聲波飛行時間,根據聲波飛行時間可以計算出空氣的溫度分佈,以下將詳細說明如何計算出聲波飛行時間。The computing circuit 110 may be a microprocessor, a controller, a central processing unit, an application-specific integrated circuit, or any circuit capable of computing. The computing circuit 110 is communicatively connected to the ultrasonic sensors UT1 - UT12 , and this communication connection can be achieved by any wired or wireless communication means. The calculation circuit 110 is used to set the signal in the above-mentioned first sound wave, and judge the flight time of the sound wave according to the second sound wave received, and calculate the temperature distribution of the air according to the flight time of the sound wave, and how to calculate the flight time of the sound wave will be described in detail below time.

在此實施例中是在聲波中加入兩個不同振幅的訊號,訊號之間的轉折點可以當作計算飛行時間的基準點。具體來說,圖2是根據一實施例計算聲波飛行時間的示意圖,橫軸代表時間,縱軸代表聲波強度。圖2繪示了所發射出的第一聲波與所接收到的第二聲波。計算電路110會設定第一聲波包含低振幅訊號310與高振幅訊號320,其中高振幅訊號320接續在低振幅訊號310之後,並且將高振幅訊號320的起始點當作參考起始點351,這個參考起始點351也是訊號的轉折,可用來當作計算飛行時間的基準點。低振幅訊號310與高振幅訊號320之間的振幅差距越大越好,在一些實施例中可以將高振幅訊號320的振幅設定為傳感器的上限。In this embodiment, two signals with different amplitudes are added to the sound wave, and the turning point between the signals can be used as a reference point for calculating the flight time. Specifically, FIG. 2 is a schematic diagram of calculating the time-of-flight of sound waves according to an embodiment, the horizontal axis represents time, and the vertical axis represents sound wave intensity. FIG. 2 illustrates the emitted first sound wave and the received second sound wave. The calculation circuit 110 will set the first sound wave to include the low amplitude signal 310 and the high amplitude signal 320, wherein the high amplitude signal 320 follows the low amplitude signal 310, and the starting point of the high amplitude signal 320 is taken as the reference starting point 351, This reference starting point 351 is also a turning point of the signal, which can be used as a reference point for calculating the flight time. The larger the amplitude difference between the low-amplitude signal 310 and the high-amplitude signal 320 , the better. In some embodiments, the amplitude of the high-amplitude signal 320 can be set as the upper limit of the sensor.

第一聲波在空氣中傳播以後會產生形變,所接收到的第二聲波中的訊號330是對應至低振幅訊號310,而訊號340是對應至高振幅訊號320,訊號340的振幅會明顯大於訊號330的振幅,也就是說第二聲波的振幅會明顯的上升。在此會判斷第二聲波中的振幅轉折點352,振幅轉折點352是對應至參考起始點351。接下來將此振幅轉折點352當作參考終止點,參考起始點351與參考終止點(振幅轉折點352)之間的時間差距可作為聲波飛行時間360。在一些實施例中可以採用任意的曲率點(curvature point)演算法來取得振幅轉折點352,本揭露並不在此限。由於傳感器開始運作時聲波的振幅很小,如果訊雜比不佳會導致判斷結果不穩定,在此實施例中是將低振幅訊號310當作前驅訊號,在振幅穩定以後再轉變為高振幅訊號,如此一來可以提高訊雜比,提升判斷的準確度。The first sound wave will be deformed after propagating in the air. The received signal 330 in the second sound wave corresponds to the low-amplitude signal 310 , while the signal 340 corresponds to the high-amplitude signal 320 . The amplitude of the signal 340 will be significantly greater than that of the signal 330 The amplitude, that is to say, the amplitude of the second sound wave will obviously rise. Here, the amplitude inflection point 352 in the second sound wave is determined, and the amplitude inflection point 352 corresponds to the reference starting point 351 . Next, the amplitude inflection point 352 is regarded as the reference end point, and the time gap between the reference start point 351 and the reference end point (amplitude inflection point 352 ) can be used as the sound wave flight time 360 . In some embodiments, any curvature point algorithm can be used to obtain the amplitude turning point 352 , but the present disclosure is not limited thereto. Since the amplitude of the sound wave is very small when the sensor starts to operate, if the signal-to-noise ratio is not good, the judgment result will be unstable. In this embodiment, the low-amplitude signal 310 is used as the precursor signal, and it is converted into a high-amplitude signal after the amplitude is stable. , so that the signal-to-noise ratio can be improved and the accuracy of judgment can be improved.

圖3是根據一實施例繪示在不同角度聲波振幅衰減的圖表。請參照圖3,橫軸為接收角度,縱軸為振幅衰減的程度(以dB來表示),可以看出隨著接收角度越大,所接受到的聲波的振幅也衰減的越多。圖4是根據一實施例繪示在不同接收角度下第二聲波的波形。請參照圖4,聲波401~406分別是當接收角度為0度、

Figure 02_image001
度、
Figure 02_image003
度、
Figure 02_image005
度、
Figure 02_image007
度與
Figure 02_image009
度時所接收到的聲波。從圖4可以看出,當接收角度為0~90度時聲波中的振幅有明顯的轉折,但是當接收角度大於120度時則不容易辨識出轉折。在一些實施例中可以採用兩套演算法來計算上述的振幅轉折點352,第一套演算法用於接收角度小於一預設角度(例如120度)時,而第二套演算法則用於接收角度大於等於預設角度時。由於聲波接收傳感器的接收角度是已知,計算電路110可以根據接收角度來判斷採用哪一套演算法。 FIG. 3 is a graph illustrating amplitude attenuation of sound waves at different angles according to an embodiment. Please refer to FIG. 3 , the horizontal axis is the receiving angle, and the vertical axis is the degree of amplitude attenuation (expressed in dB). It can be seen that as the receiving angle increases, the amplitude of the received sound wave also attenuates more. FIG. 4 shows waveforms of second sound waves under different receiving angles according to an embodiment. Please refer to Figure 4, the sound waves 401~406 are respectively when the receiving angle is 0 degrees,
Figure 02_image001
Spend,
Figure 02_image003
Spend,
Figure 02_image005
Spend,
Figure 02_image007
degree and
Figure 02_image009
The received sound waves at degrees. It can be seen from Figure 4 that when the receiving angle is 0 to 90 degrees, the amplitude of the sound wave has an obvious turning point, but when the receiving angle is greater than 120 degrees, it is not easy to identify the turning point. In some embodiments, two sets of algorithms can be used to calculate the above-mentioned amplitude turning point 352. The first set of algorithms is used when the receiving angle is smaller than a preset angle (for example, 120 degrees), and the second set of algorithms is used for the receiving angle. When greater than or equal to the preset angle. Since the receiving angle of the acoustic wave receiving sensor is known, the calculation circuit 110 can determine which algorithm to use according to the receiving angle.

首先說明接收角度小於預設角度時的演算法。圖5是根據一實施例繪示當接收角度小於預設角度時計算振幅轉折點的示意圖。請參照圖5,圖5繪示了所接收的第二聲波的波形,也繪示了當訊號發生轉折時的波形放大圖。首先說明的是,實際運作中所接收到的聲波是離散的,因此聲波上有多個取樣點,本揭露並不限制取樣頻率。在以下做法中會取得聲波的振幅,由於聲波的波長/頻率是已知,因此可以取一個波長內最大的強度來當作振幅。接下來要偵測低振幅訊號,由於超聲波傳感器必須要經過一段時間才會穩定,因此可以判斷振幅在時間上的變化是否在一預設範圍內,如果是的話表示振幅已經穩定,振幅穩定以後可以開始計算振幅的平均值,此平均值可以用虛線510來表示。接下來判斷聲波的振幅是否超過平均值(虛線510),如果是的話有可能是高振幅訊號,但為了避免誤判還要符合兩個條件,即第二聲波的振幅呈現上升趨勢,並且聲波的振幅保持穩定。在一些實施例中,可以計算相鄰兩個振幅之間的斜率,並且判斷振幅的斜率是否在連續N個(可為任意正整數)取樣點都為正,如果是的話則表示振幅呈現上升趨勢(對應至區間521)。當振幅的斜率在連續N個取樣點都為正以後,可以判斷聲波的振幅在前後取樣點之間的差距是否小於一預設值,如果是的話表示聲波已經保持穩定(對應至區間522)。當上述三個條件:聲波的振幅超過平均值、振幅呈現上升趨勢、以及振幅保持穩定以後,取得第二聲波的振幅首次超過平均值的時間點作為參考終止點530。Firstly, the algorithm when the receiving angle is smaller than the preset angle is described. FIG. 5 is a schematic diagram illustrating calculating an amplitude turning point when the receiving angle is smaller than a preset angle according to an embodiment. Please refer to FIG. 5 . FIG. 5 shows the waveform of the received second sound wave, and also shows an enlarged view of the waveform when the signal turns. Firstly, the sound wave received in actual operation is discrete, so there are multiple sampling points on the sound wave, and the present disclosure does not limit the sampling frequency. In the following approach, the amplitude of the sound wave will be obtained. Since the wavelength/frequency of the sound wave is known, the maximum intensity within a wavelength can be taken as the amplitude. The next step is to detect low-amplitude signals. Since the ultrasonic sensor must take a period of time to stabilize, it can be judged whether the change in amplitude over time is within a preset range. If so, it means that the amplitude has stabilized. Beginning to calculate the average value of the amplitude, which can be represented by the dashed line 510 . Next, it is judged whether the amplitude of the sound wave exceeds the average value (dotted line 510), if so, it may be a high-amplitude signal, but in order to avoid misjudgment, two conditions must be met, that is, the amplitude of the second sound wave presents an upward trend, and the amplitude of the sound wave keep it steady. In some embodiments, the slope between two adjacent amplitudes can be calculated, and it is judged whether the slope of the amplitude is positive at consecutive N (can be any positive integer) sampling points, and if so, it means that the amplitude presents an upward trend (corresponding to section 521). When the slope of the amplitude is positive for N consecutive sampling points, it can be judged whether the difference between the amplitude of the sound wave between the previous and subsequent sampling points is smaller than a preset value, if yes, it means that the sound wave has remained stable (corresponding to section 522). When the above three conditions: the amplitude of the sound wave exceeds the average value, the amplitude shows an upward trend, and the amplitude remains stable, the time point when the amplitude of the second sound wave exceeds the average value for the first time is taken as the reference termination point 530 .

圖6是根據一實施例繪示當接收角度大於等於預設角度時計算振幅轉折點的示意圖。請參照圖6,當接收角度大於預設角度時,首先對第二聲波進行包絡處理,也就是將各個波的振幅連接在一起以形成包絡曲線610。接下來判斷包絡曲線610是否大於一預設振幅(表示為虛線620)以取得第一波群631與第二波群632,在此一個波群指的是包絡曲線610中大於預設振幅的連續片段,波群之間不相連,其中第一波群631與第二波群632是最早發生的兩個波群,且第二波群632在第一波群631之後。此第一波群631是對應至低振幅訊號,而第二波群632是對應至高振幅訊號。接下來,取得包絡曲線610中位於第一波群631與第二波群632之間的波谷的時間點以作為參考終止點640。FIG. 6 is a schematic diagram illustrating calculating an amplitude turning point when the receiving angle is greater than or equal to a preset angle according to an embodiment. Please refer to FIG. 6 , when the receiving angle is larger than the preset angle, envelope processing is first performed on the second sound wave, that is, the amplitudes of the waves are connected together to form an envelope curve 610 . Next, it is judged whether the envelope curve 610 is greater than a preset amplitude (represented as a dotted line 620) to obtain the first wave group 631 and the second wave group 632. Here, a wave group refers to a continuous wave group greater than a preset amplitude in the envelope curve 610. In the segment, the complexes are not connected, wherein the first complex 631 and the second complex 632 are the two earliest complexes, and the second complex 632 is after the first complex 631 . The first wave group 631 corresponds to low amplitude signals, and the second wave group 632 corresponds to high amplitude signals. Next, the time point of the trough between the first wave group 631 and the second wave group 632 in the envelope curve 610 is obtained as the reference end point 640 .

在一些實施例中上述的預設振幅(虛線620)是根據聲波接收傳感器與聲波發射傳感器之間的距離與接收角度來決定,當距離或接收角度越大時聲波的衰退程度越大,因此可以降低預設振幅。換言之,此預設振幅是負相關於上述的距離與接收角度。In some embodiments, the above-mentioned preset amplitude (dotted line 620) is determined according to the distance and the receiving angle between the acoustic wave receiving sensor and the acoustic wave emitting sensor. When the distance or the receiving angle is larger, the degree of decay of the sound wave is greater, so Decrease preset amplitude. In other words, the preset amplitude is inversely related to the aforementioned distance and receiving angle.

圖7是根據一實施例繪示超音波飛行時間判斷方法的流程圖。請參照圖7,在步驟701中,設定第一聲波包含低振幅訊號與高振幅訊號,並且將高振幅訊號的起始點當作一參考起始點,其中高振幅訊號接續在低振幅訊號之後。在步驟702,透過聲波發射傳感器發出第一聲波。在步驟703,透過聲波接收傳感器接收對應於第一聲波的第二聲波。在步驟704,判斷第二聲波中的振幅轉折點,將振幅轉折點當作參考終止點,將參考起始點與參考終止點之間的時間差距當作聲波飛行時間。然而,圖7中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖7中各步驟可以實作為多個程式碼或是電路,本發明並不在此限。此外,圖7的方法可以搭配以上實施例使用也可以單獨使用,換言之,圖7的各步驟之間也可以加入其他的步驟。FIG. 7 is a flow chart illustrating a method for determining an ultrasonic time-of-flight according to an embodiment. Please refer to FIG. 7, in step 701, it is set that the first sound wave includes a low-amplitude signal and a high-amplitude signal, and the starting point of the high-amplitude signal is used as a reference starting point, wherein the high-amplitude signal follows the low-amplitude signal . In step 702, a first sound wave is emitted through the acoustic wave emitting sensor. In step 703, a second sound wave corresponding to the first sound wave is received through the sound wave receiving sensor. In step 704, the amplitude turning point in the second sound wave is judged, the amplitude turning point is taken as the reference end point, and the time difference between the reference start point and the reference end point is taken as the flight time of the sound wave. However, each step in FIG. 7 has been described in detail above, and will not be repeated here. It should be noted that each step in FIG. 7 can be implemented as a plurality of program codes or circuits, and the present invention is not limited thereto. In addition, the method in FIG. 7 can be used in conjunction with the above embodiments or can be used alone. In other words, other steps can also be added between the steps in FIG. 7 .

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention should be defined by the scope of the appended patent application.

100:超音波飛行時間判斷系統 110:計算電路 UT1~UT12:超音波傳感器 310:低振幅訊號 320:高振幅訊號 330,340:訊號 351:參考起始點 352:振幅轉折點 360:聲波飛行時間 401~406:聲波 510:虛線 521,522:區間 530,640:參考終止點 610:包絡曲線 620:虛線 631,632:波群 701~704:步驟100:Ultrasonic flight time judgment system 110: Calculation circuit UT1~UT12: Ultrasonic sensor 310: Low amplitude signal 320: High amplitude signal 330,340: signal 351: Reference starting point 352:Amplitude turning point 360: Sonic Time of Flight 401~406: Sound waves 510: dotted line 521,522: range 530,640: reference end point 610: Envelope curve 620: dotted line 631,632: waves 701~704: steps

圖1是根據一實施例繪示超音波飛行時間判斷系統的示意圖。 圖2是根據一實施例計算聲波飛行時間的示意圖。 圖3是根據一實施例繪示在不同角度聲波振幅衰減的圖表。 圖4是根據一實施例繪示在不同接收角度下第二聲波的波形。 圖5是根據一實施例繪示當接收角度小於預設角度時計算振幅轉折點的示意圖。 圖6是根據一實施例繪示當接收角度大於等於預設角度時計算振幅轉折點的示意圖。 圖7是根據一實施例繪示超音波飛行時間判斷方法的流程圖。 FIG. 1 is a schematic diagram illustrating an ultrasonic time-of-flight judging system according to an embodiment. Fig. 2 is a schematic diagram of calculating the time-of-flight of sound waves according to an embodiment. FIG. 3 is a graph illustrating amplitude attenuation of sound waves at different angles according to an embodiment. FIG. 4 shows waveforms of second sound waves under different receiving angles according to an embodiment. FIG. 5 is a schematic diagram illustrating calculating an amplitude turning point when the receiving angle is smaller than a preset angle according to an embodiment. FIG. 6 is a schematic diagram illustrating calculating an amplitude turning point when the receiving angle is greater than or equal to a preset angle according to an embodiment. FIG. 7 is a flow chart illustrating a method for determining an ultrasonic time-of-flight according to an embodiment.

310:低振幅訊號 310: Low amplitude signal

320:高振幅訊號 320: High amplitude signal

330,340:訊號 330,340: signal

351:參考起始點 351: Reference starting point

352:振幅轉折點 352:Amplitude turning point

360:聲波飛行時間 360: Sonic Time of Flight

Claims (10)

一種超音波飛行時間判斷系統,包括: 一聲波發射傳感器,用以發出一第一聲波; 一聲波接收傳感器,用以接收對應於該第一聲波的一第二聲波; 一計算電路,通訊連接至該聲波發射傳感器與該聲波接收傳感器,用以設定該第一聲波包含一低振幅訊號與一高振幅訊號,該高振幅訊號接續在該低振幅訊號之後,並且將該高振幅訊號的起始點當作一參考起始點, 其中該計算電路用以判斷該第二聲波中的一振幅轉折點,將該振幅轉折點當作一參考終止點,將該參考起始點與該參考終止點之間的時間差距當作一聲波飛行時間。 An ultrasonic time-of-flight judging system, comprising: an acoustic wave emitting sensor, configured to emit a first acoustic wave; the acoustic wave receiving sensor is used for receiving a second acoustic wave corresponding to the first acoustic wave; A calculation circuit, connected to the sound wave transmitting sensor and the sound wave receiving sensor, is used to set the first sound wave to include a low-amplitude signal and a high-amplitude signal, the high-amplitude signal follows the low-amplitude signal, and the The starting point of the high-amplitude signal is used as a reference starting point, Wherein the calculation circuit is used to judge an amplitude turning point in the second sound wave, the amplitude turning point is regarded as a reference end point, and the time difference between the reference starting point and the reference end point is regarded as sound wave flight time . 如請求項1所述之超音波飛行時間判斷系統,其中該計算電路取得該聲波接收傳感器相對於該聲波發射傳感器的一接收角度, 當該接收角度小於一預設角度時,該計算電路計算該第二聲波的振幅的平均值, 在計算出該平均值以後,該計算電路判斷該第二聲波的振幅是否超過該平均值,若是的話再判斷該第二聲波的振幅是否呈現上升趨勢並保持穩定, 若該第二聲波的振幅超過該平均值、呈現上升趨勢並保持穩定,該計算電路取得該第二聲波的振幅首次超過該平均值的時間點作為該參考終止點。 The ultrasonic time-of-flight judging system as described in claim 1, wherein the calculation circuit obtains a receiving angle of the acoustic wave receiving sensor relative to the acoustic wave emitting sensor, When the receiving angle is smaller than a preset angle, the calculation circuit calculates the average value of the amplitude of the second sound wave, After calculating the average value, the calculation circuit judges whether the amplitude of the second sound wave exceeds the average value, and if so, judges whether the amplitude of the second sound wave shows an upward trend and remains stable, If the amplitude of the second sound wave exceeds the average value, shows an upward trend and remains stable, the calculation circuit obtains the time point when the amplitude of the second sound wave exceeds the average value for the first time as the reference termination point. 如請求項2所述之超音波飛行時間判斷系統,其中該計算電路判斷該第二聲波的振幅的斜率是否在連續多個取樣點為正以判斷該第二聲波的振幅是否呈現上升趨勢, 其中該計算電路判斷該第二聲波的振幅在前後取樣點之間的差距是否小於一預設值以判斷該第二聲波是否保持穩定。 The ultrasonic time-of-flight judging system as described in Claim 2, wherein the calculation circuit judges whether the slope of the amplitude of the second sound wave is positive at a plurality of consecutive sampling points to judge whether the amplitude of the second sound wave shows an upward trend, Wherein the calculating circuit judges whether the difference between the amplitude of the second sound wave before and after the sampling points is smaller than a preset value, so as to judge whether the second sound wave remains stable. 如請求項3所述之超音波飛行時間判斷系統,其中當該接收角度大於等於該預設角度時,該計算電路對該第二聲波進行包絡處理以取得一包絡曲線, 該計算電路判斷該包絡曲線是否大於一預設振幅以取得第一波群與第二波群,其中該第一波群與該第二波群不相連, 該計算電路取得該第一波群與該第二波群之間的波谷的時間點以作為該參考終止點。 The ultrasonic time-of-flight judging system as described in claim 3, wherein when the receiving angle is greater than or equal to the preset angle, the calculation circuit performs envelope processing on the second sound wave to obtain an envelope curve, The calculation circuit judges whether the envelope curve is greater than a preset amplitude to obtain a first wave group and a second wave group, wherein the first wave group and the second wave group are not connected, The calculation circuit obtains a time point of a trough between the first wave group and the second wave group as the reference termination point. 如請求項4所述之超音波飛行時間判斷系統,其中該計算電路根據該聲波接收傳感器與該聲波發射傳感器之間的距離決定該預設振幅,其中該距離與該預設振幅呈負相關。The ultrasonic time-of-flight judging system according to claim 4, wherein the calculation circuit determines the preset amplitude according to the distance between the sound wave receiving sensor and the sound wave emitting sensor, wherein the distance is negatively correlated with the preset amplitude. 一種超音波飛行時間判斷方法,適用於一計算電路,該超音波飛行時間判斷方法包括: 設定一第一聲波包含一低振幅訊號與一高振幅訊號,該高振幅訊號接續在該低振幅訊號之後,並且將該高振幅訊號的起始點當作一參考起始點; 透過一聲波發射傳感器發出該第一聲波; 透過一聲波接收傳感器接收對應於該第一聲波的一第二聲波;以及 判斷該第二聲波中的一振幅轉折點,將該振幅轉折點當作一參考終止點,將該參考起始點與該參考終止點之間的時間差距當作一聲波飛行時間。 A method for judging the time of flight of an ultrasonic wave is applicable to a computing circuit, and the method for judging the time of flight of an ultrasonic wave includes: setting a first sound wave to include a low-amplitude signal and a high-amplitude signal, the high-amplitude signal following the low-amplitude signal, and taking the starting point of the high-amplitude signal as a reference starting point; emitting the first sound wave through the acoustic wave emitting sensor; receiving a second sound wave corresponding to the first sound wave through the sound wave receiving sensor; and An amplitude inflection point in the second sound wave is judged, the amplitude inflection point is regarded as a reference end point, and the time difference between the reference start point and the reference end point is regarded as sound wave flight time. 如請求項6所述之超音波飛行時間判斷方法,更包括: 取得該聲波接收傳感器相對於該聲波發射傳感器的一接收角度; 當該接收角度小於一預設角度時,計算該第二聲波的振幅的平均值; 在計算出該平均值以後,判斷該第二聲波的振幅是否超過該平均值,若是的話再判斷該第二聲波的振幅是否呈現上升趨勢並保持穩定;以及 若該第二聲波的振幅超過該平均值、呈現上升趨勢並保持穩定,取得該第二聲波的振幅首次超過該平均值的時間點作為該參考終止點。 The method for judging the time of flight of ultrasonic waves as described in claim 6 further includes: obtaining a receiving angle of the acoustic wave receiving sensor relative to the acoustic wave emitting sensor; calculating an average value of the amplitude of the second sound wave when the receiving angle is smaller than a preset angle; After calculating the average value, determine whether the amplitude of the second sound wave exceeds the average value, and if so, determine whether the amplitude of the second sound wave shows an upward trend and remains stable; and If the amplitude of the second sound wave exceeds the average value, presents an upward trend and remains stable, the time point when the amplitude of the second sound wave exceeds the average value for the first time is taken as the reference termination point. 如請求項7所述之超音波飛行時間判斷方法,更包括: 判斷該第二聲波的振幅的斜率是否在連續多個取樣點為正以判斷該第二聲波的振幅是否呈現上升趨勢;以及 判斷該第二聲波的振幅在前後取樣點之間的差距是否小於一預設值以判斷該第二聲波是否保持穩定。 The method for judging the time of flight of ultrasonic waves as described in claim 7 further includes: judging whether the slope of the amplitude of the second sound wave is positive at a plurality of consecutive sampling points to determine whether the amplitude of the second sound wave shows an upward trend; and It is judged whether the difference between the amplitude of the second sound wave before and after the sampling points is smaller than a preset value, so as to judge whether the second sound wave remains stable. 如請求項8所述之超音波飛行時間判斷方法,更包括: 當該接收角度大於等於該預設角度時,對該第二聲波進行包絡處理以取得一包絡曲線; 判斷該包絡曲線是否大於一預設振幅以取得第一波群與第二波群,其中該第一波群與該第二波群不相連;以及 取得該第一波群與該第二波群之間的波谷的時間點以作為該參考終止點。 The method for judging the time of flight of ultrasonic waves as described in claim 8 further includes: When the receiving angle is greater than or equal to the preset angle, performing envelope processing on the second sound wave to obtain an envelope curve; judging whether the envelope curve is greater than a predetermined amplitude to obtain a first wave group and a second wave group, wherein the first wave group is not connected to the second wave group; and A time point of a trough between the first wave group and the second wave group is obtained as the reference end point. 如請求項9所述之超音波飛行時間判斷方法,更包括: 根據該聲波接收傳感器與該聲波發射傳感器之間的距離決定該預設振幅,其中該距離與該預設振幅呈負相關。 The method for judging the time of flight of ultrasonic waves as described in claim 9 further includes: The preset amplitude is determined according to the distance between the sound wave receiving sensor and the sound wave emitting sensor, wherein the distance is negatively correlated with the preset amplitude.
TW111124244A 2022-06-29 2022-06-29 System and method for determining time of light of ultrasound wave TWI805425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111124244A TWI805425B (en) 2022-06-29 2022-06-29 System and method for determining time of light of ultrasound wave

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111124244A TWI805425B (en) 2022-06-29 2022-06-29 System and method for determining time of light of ultrasound wave

Publications (2)

Publication Number Publication Date
TWI805425B true TWI805425B (en) 2023-06-11
TW202401039A TW202401039A (en) 2024-01-01

Family

ID=87802997

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111124244A TWI805425B (en) 2022-06-29 2022-06-29 System and method for determining time of light of ultrasound wave

Country Status (1)

Country Link
TW (1) TWI805425B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201202731A (en) * 2010-01-27 2012-01-16 Intersil Inc Automatic calibration technique for Time of Flight (TOF) transceivers
TW201527784A (en) * 2013-12-11 2015-07-16 Mesa Imaging Ag Time-of-flight-based systems using light pulse compression
US20160124082A1 (en) * 2014-10-30 2016-05-05 Seiko Epson Corporation Ultrasonic measurement apparatus, ultrasonic diagnostic apparatus, and ultrasonic measurement method
CN111257889A (en) * 2018-12-03 2020-06-09 泰连公司 Distance detection system for determining time-of-flight measurements and having reduced dead zone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201202731A (en) * 2010-01-27 2012-01-16 Intersil Inc Automatic calibration technique for Time of Flight (TOF) transceivers
CN102822691A (en) * 2010-01-27 2012-12-12 英特赛尔美国股份有限公司 Automatic calibration technique for time of flight (TOF) transceivers
TW201527784A (en) * 2013-12-11 2015-07-16 Mesa Imaging Ag Time-of-flight-based systems using light pulse compression
US20160124082A1 (en) * 2014-10-30 2016-05-05 Seiko Epson Corporation Ultrasonic measurement apparatus, ultrasonic diagnostic apparatus, and ultrasonic measurement method
CN111257889A (en) * 2018-12-03 2020-06-09 泰连公司 Distance detection system for determining time-of-flight measurements and having reduced dead zone

Also Published As

Publication number Publication date
TW202401039A (en) 2024-01-01

Similar Documents

Publication Publication Date Title
CN107064939B (en) Circuit for measuring acoustic distance
US6678209B1 (en) Apparatus and method for detecting sonar signals in a noisy environment
US8234933B2 (en) Ultrasonic meter for determining physical quantity of a fluid based on a determined plurality of correlation coefficients
JP2007500348A (en) Distance measuring method and apparatus using ultrasonic waves
WO2017181939A1 (en) Method of calibrating ultrasound transmission time for ultrasound flowmeter, system, and flowmeter
TWI805425B (en) System and method for determining time of light of ultrasound wave
JP2007187506A (en) Ultrasonic flowmeter
CN107576964B (en) Echo time measuring method of linear frequency conversion signal
EP3475666A1 (en) Apparatus and method for measuring air flow
CN110988853B (en) Ultrasonic arrival time calculation method based on effective peak value
TW201730581A (en) Distance detection method and distance detection device using the same
CN111142072B (en) Microphone array optimization method for sound source localization
KR102193234B1 (en) Device for increasing the detection distance of ultrasonic sensors of vehicle and method thereof
JP2006343292A (en) Ultrasonic flowmeter
JP2003279396A (en) Ultrasonic flowmeter
KR101790888B1 (en) Distance Measuring Method Using Ultrasonic Wave And Apparatus Using The Same
JP2010101767A (en) Ultrasonic flowmeter
JPH1172560A (en) Doppler sodar
JP2002296085A (en) Ultrasonic flowmeter
RU118743U1 (en) ULTRASONIC FLOW METER
CN112285679A (en) Ultrasonic sensor adjustment method, distance measurement method, medium, and electronic device
TWI633323B (en) Distance detection device and distance detection method thereof
TWI633275B (en) Distance detection device and distance detection method thereof
KR101816265B1 (en) Apparatus for driving ultrasonic sensor and system driving ultrasonic sensor including the same and method for driving ultrasonic sensor
US20240027613A1 (en) Object detection apparatus and object detection method