JP5939837B2 - Distance measuring method and distance measuring system - Google Patents

Distance measuring method and distance measuring system Download PDF

Info

Publication number
JP5939837B2
JP5939837B2 JP2012045421A JP2012045421A JP5939837B2 JP 5939837 B2 JP5939837 B2 JP 5939837B2 JP 2012045421 A JP2012045421 A JP 2012045421A JP 2012045421 A JP2012045421 A JP 2012045421A JP 5939837 B2 JP5939837 B2 JP 5939837B2
Authority
JP
Japan
Prior art keywords
data
waveform
transmitter
measurement
waveform data
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
Application number
JP2012045421A
Other languages
Japanese (ja)
Other versions
JP2013181809A (en
Inventor
祥士 松田
祥士 松田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2012045421A priority Critical patent/JP5939837B2/en
Publication of JP2013181809A publication Critical patent/JP2013181809A/en
Application granted granted Critical
Publication of JP5939837B2 publication Critical patent/JP5939837B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Description

本発明は、距離測定方法及び距離測定システムに関し、より詳しくは相互相関値の計算に基づいて距離を測定する距離測定方法及び距離測定システムに関する。   The present invention relates to a distance measuring method and a distance measuring system, and more particularly to a distance measuring method and a distance measuring system for measuring a distance based on calculation of a cross-correlation value.

従来より、超音波を用いた距離測定方法が知られている。この方法では、既知の超音波の伝播速度と、距離を測定するために送受信した超音波の受信器における到達時刻とに基づいて、送信器と受信器との間の距離を測定する。すなわち、送受信器との間の超音波の伝搬時間により距離を測定するため、この方法において距離の測定精度を高めるには、受信器における超音波の到達時刻を高精度で特定することが必要となる。   Conventionally, a distance measurement method using ultrasonic waves is known. In this method, the distance between the transmitter and the receiver is measured based on the propagation speed of the known ultrasonic wave and the arrival time of the ultrasonic wave transmitted and received to measure the distance at the receiver. That is, since the distance is measured by the propagation time of the ultrasonic wave between the transmitter and the receiver, in order to increase the distance measurement accuracy in this method, it is necessary to specify the arrival time of the ultrasonic wave at the receiver with high accuracy. Become.

超音波の到達時刻を精度良く特定するための方法の1つとして、相互相関値の計算に基づく方法が知られている。この方法では、測定のために送受信した測定波の形状と、予め測定しておいた参照波の形状とを比較し、これら測定波と参照波の位相が一致する時刻から、測定波の到達時刻を特定する。ここで、2つの波の位相が一致する時刻は、測定波の波形形状と参照波の波形形状との相関値の最大値を検索することにより特定される(特許文献1参照)。この方法によれば、波形形状のみにより到達時刻を特定できるため、送信器や受信器などの特性による位相遅延の影響が小さい、という利点がある。   A method based on the calculation of a cross-correlation value is known as one of methods for accurately identifying the arrival time of ultrasonic waves. In this method, the shape of the measurement wave transmitted and received for measurement is compared with the shape of the reference wave measured in advance, and the arrival time of the measurement wave is calculated from the time when the phase of the measurement wave and the reference wave match. Is identified. Here, the time at which the phases of the two waves coincide is specified by searching for the maximum correlation value between the waveform shape of the measurement wave and the waveform shape of the reference wave (see Patent Document 1). According to this method, since the arrival time can be specified only by the waveform shape, there is an advantage that the influence of the phase delay due to the characteristics of the transmitter and the receiver is small.

国際公開第2008/091012号公報International Publication No. 2008/091012

しかしながら、ノイズ等の影響によって波形形状に乱れが生じた場合に、測定波の波形形状の振幅の大小が少ないと、測定波の波形形状と参照波の波形形状との相関値の最大値を検索することが困難になるため、測定波の波形形状と参照波の波形形状との相関値の最大値に誤差が生じ易くなる。具体的には、例えば、図2の(a)に示すような測定波の波形形状の場合、ノイズが発生すると振幅が最大となる時間的位置が明確ではなく、振幅が最大となる時間的位置の相関を正しく算出することは容易でない。
そのため、誤差が生じた相関値の最大値に基づいて距離を測定するため、正確な距離を測定することが困難であった。
However, when the waveform shape is disturbed due to noise or other factors, if the amplitude of the waveform shape of the measurement wave is small, the maximum correlation value between the waveform shape of the measurement wave and the waveform shape of the reference wave is searched. Therefore, an error is likely to occur in the maximum correlation value between the waveform shape of the measurement wave and the waveform shape of the reference wave. Specifically, for example, in the case of the waveform shape of the measurement wave as shown in FIG. 2A, the temporal position where the amplitude becomes maximum when noise occurs is not clear, and the temporal position where the amplitude becomes maximum. It is not easy to calculate the correlation correctly.
Therefore, since the distance is measured based on the maximum correlation value in which an error has occurred, it has been difficult to measure an accurate distance.

そこで、本発明は、相互相関値の計算に基づいて距離を測定する距離測定方法及び距離測定システムであって、送信する超音波の波形形状を相互相関時の相関値に相違点が表れやすい波形とし、距離測定の精度を高める距離測定方法及び距離測定システムを提供することを目的とする。   Therefore, the present invention is a distance measuring method and distance measuring system for measuring a distance based on the calculation of a cross-correlation value, and a waveform in which a difference easily appears in the correlation value at the time of cross-correlation between the waveform shapes of ultrasonic waves to be transmitted. An object of the present invention is to provide a distance measurement method and a distance measurement system that improve the accuracy of distance measurement.

(1)超音波を送信する送信器(例えば、後述の送信器2)と、当該送信器から送信された超音波を受信する受信器(例えば、後述の受信機3)と、前記送信器から超音波を前記受信器に向けて送信するために、所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調した送信波形データを生成する距離測定装置(例えば、後述の距離測定装置5)と、を備えた距離測定システムにおいて、相互相関値の計算に基づいて距離を測定する距離測定方法であって、
前記送信器及び前記受信器により超音波である参照波を送受信し、前記受信器で受信した参照波について標本データ(例えば、後述の標本データF[i])を作成する準備工程(例えば、後述の工程S1)と、
前記送信器及び前記受信器により超音波である測定波を送受信し、前記受信器で受信した測定波について測定データ(例えば、後述の測定データg[m])を作成する測定工程(例えば、後述の工程S2)と、
前記測定データと前記標本データの相対位置をずらしながら、これらのデータの相互相関値のピークを検索し、当該相互相関値が最大となる前記標本データの相対位置を特定するピーク検索工程(例えば、後述の工程S32)と、
前記ピーク検索工程で特定された相対位置に基づいて算出される時間に基づいて距離を算出する距離算出工程(例えば、後述の工程S33)と、を含み、
前記準備工程及び前記測定工程は、いずれも前記送信器に対して、
最初に前記送信波形データを正位相で送信し、続けて前記送信波形データを逆位相で送信し、更に続けて前記送信波形データを正位相で送信する超音波生成工程(例えば、後述の工程S111、112、113、114、115)を含み、
3つのピークを有する波形データのうち、2つ目の波形を、1つ目の波形のピークと2つ目の波形のピークとの間のくびれの部分から2つ目の波形のピークと3つ目の波形のピークとの間のくびれの部分までをウィンドウとしてデータを切り出すことを特徴とする距離測定方法。
(1) A transmitter that transmits ultrasonic waves (for example, a transmitter 2 described later), a receiver that receives ultrasonic waves transmitted from the transmitter (for example, a receiver 3 described later), and the transmitter A distance measuring device (for example, a distance measuring device 5 described later) that generates transmission waveform data obtained by amplitude-modulating carrier wave data using waveform data having a predetermined waveform shape as a modulation signal in order to transmit ultrasonic waves to the receiver. And a distance measuring method for measuring the distance based on the calculation of the cross-correlation value,
A preparation step (for example, described later) that transmits and receives a reference wave that is an ultrasonic wave by the transmitter and the receiver and generates sample data (for example, sample data F [i] to be described later) for the reference wave received by the receiver. Step S1) of
A measurement step (for example, described later) that transmits / receives measurement waves that are ultrasonic waves by the transmitter and the receiver and creates measurement data (for example, measurement data g [m] described later) for the measurement waves received by the receiver. Step S2) of
While shifting the relative positions of the measurement data and the sample data, search for the peak of the cross-correlation value of these data, and specify the relative position of the sample data where the cross-correlation value is the maximum (for example, Step S32) described later,
A distance calculation step (for example, step S33 described later) for calculating a distance based on the time calculated based on the relative position specified in the peak search step,
The preparation step and the measurement step are both for the transmitter.
First, the transmission waveform data is transmitted in the normal phase, the transmission waveform data is transmitted in the opposite phase, and then the transmission waveform data is transmitted in the positive phase (for example, step S111 described later). , only including the 112, 113, 114, and 115),
Of the waveform data having three peaks, the second waveform is divided into the second waveform peak and the third waveform peak from the constriction between the first waveform peak and the second waveform peak. A distance measuring method characterized in that data is cut out as a window up to a constriction between a peak of an eye waveform .

(1)の距離測定システムによれば、先ず準備工程では、所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調した送信波形データに基づき送信器により超音波である参照波を送信し、受信器で受信した参照波について標本データを作成し、次に測定工程では、同じく所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調した送信波形データに基づき送信器により超音波である測定波を送信し、受信器で受信した測定波について測定データを作成する。
次にピーク検索工程では、測定データと標本データの相対位置をずらしながら、これらのデータの相互相関値のピークを検索し、相互相関値が最大となる標本データの相対位置を特定し、次の距離算出工程では、ピーク検索工程で特定された相対位置に基づいて算出される時間に基づいて距離を算出する。
According to the distance measurement system of (1), first, in the preparation step, a reference wave that is an ultrasonic wave is transmitted by a transmitter based on transmission waveform data obtained by amplitude-modulating carrier wave data using waveform data having a predetermined waveform shape as a modulation signal. Then, sample data is created for the reference wave received by the receiver, and in the next measurement step, the transmitter waveform is supermodulated by the transmitter based on the transmission waveform data obtained by amplitude-modulating the carrier wave data using the waveform data of the predetermined waveform shape as a modulation signal. A measurement wave, which is a sound wave, is transmitted, and measurement data is created for the measurement wave received by the receiver.
Next, in the peak search process, while shifting the relative position of the measurement data and sample data, the peak of the cross-correlation value of these data is searched, the relative position of the sample data where the cross-correlation value is maximum is specified, and the next In the distance calculation step, the distance is calculated based on the time calculated based on the relative position specified in the peak search step.

ここで、本発明では、準備工程において参照波、及び測定工程において測定波として、それぞれ送信器によって発信される超音波は、いずれも送信器に対して、最初に送信波形データを正位相で送信し、続けて送信波形データを逆位相で送信し、更に続けて送信波形データを正位相で送信する超音波生成工程によって形成されている。
送信器に対して1つ目の正位相の送信波形データを送信し、続けて2つ目の逆位相の送信波形データを送信するため、送信器の超音波素子に残留している振動は逆向きの振動によって急激に抑制される。これにより、1つ目の超音波の波形はピーク後急激に振幅を小さくし、1つ目の超音波波形と2つ目の超音波波形との間にくびれを形成する。その後、更に正位相の(2つ目の逆位相の信号に対しては逆位相に相当する)3つ目の送信波形データを送信するため、送信器の超音波素子に残留している2つ目の波形の振動は、逆向きの振動によって急激に抑制される。これにより、同様に、2つ目の波形はピーク後急激に振幅を小さくし、2つ目の超音波波形と3つ目の超音波波形との間にくびれを形成する。
このように2つ目の波形は、ピークの前後にくびれを有し、波形の振幅の大小がはっきりと表れている。これによって、受信する超音波の波形に大小が強く出るため、相互相関時の相関値に差が出やすくなり、ノイズの影響を受け難くなり、距離測定の精度を高めることができる。
Here, in the present invention, each of the ultrasonic waves transmitted by the transmitter as a reference wave in the preparation process and as a measurement wave in the measurement process, first transmits transmission waveform data to the transmitter in a positive phase. Then, it is formed by an ultrasonic wave generation process in which transmission waveform data is continuously transmitted in the opposite phase and further transmitted waveform data is transmitted in the normal phase.
Since the transmission waveform data of the first normal phase is transmitted to the transmitter and the transmission waveform data of the second reverse phase is subsequently transmitted, the vibration remaining in the ultrasonic element of the transmitter is reversed. It is rapidly suppressed by the vibration of the direction. As a result, the amplitude of the first ultrasonic waveform rapidly decreases after the peak, and a constriction is formed between the first ultrasonic waveform and the second ultrasonic waveform. Thereafter, in order to transmit the third transmission waveform data having a further positive phase (corresponding to the opposite phase for the second opposite phase signal), the two remaining in the ultrasonic element of the transmitter The vibration of the eye waveform is rapidly suppressed by the reverse vibration. Thereby, similarly, the amplitude of the second waveform rapidly decreases after the peak, and a constriction is formed between the second ultrasonic waveform and the third ultrasonic waveform.
Thus, the second waveform has a constriction before and after the peak, and the amplitude of the waveform clearly appears. As a result, the magnitude of the waveform of the received ultrasonic wave appears strongly, so that a difference is easily generated in the correlation value at the time of cross-correlation, and it is difficult to be influenced by noise, and the accuracy of distance measurement can be improved.

(2)前記超音波生成工程において送信される1つ目の正位相の送信波形データと、2つ目の逆位相の送信波形データと、3つ目の正位相の送信波形データは、いずれも略正弦波形状の波形データであることを特徴とする請求項1に記載の距離測定方法。   (2) The first positive phase transmission waveform data, the second reverse phase transmission waveform data, and the third positive phase transmission waveform data transmitted in the ultrasonic wave generation step are all The distance measuring method according to claim 1, wherein the data is waveform data having a substantially sinusoidal shape.

(2)の距離測定方法によれば、送受信する超音波を生成する「基礎波形」として安定性が高いので送信器から送信される超音波波形の形状が安定し、距離測定の精度を高めることができる。   According to the distance measurement method of (2), since the stability is high as a “basic waveform” for generating ultrasonic waves to be transmitted and received, the shape of the ultrasonic waveform transmitted from the transmitter is stabilized, and the accuracy of distance measurement is increased. Can do.

(3)前記超音波生成工程において、前記1つ目の正位相の送信波形データを振幅最大部まで送信した時点で前記2つ目の逆位相の送信波形データの送信を開始し、前記2つ目の逆位相の送信波形データを振幅最大部まで送信した時点で前記3つ目の正位相の送信波形データの送信を開始することを特長とする請求項2に記載の距離測定方法。   (3) In the ultrasonic wave generation step, transmission of the second opposite-phase transmission waveform data is started when the first positive-phase transmission waveform data is transmitted to the maximum amplitude portion, and the two 3. The distance measuring method according to claim 2, wherein transmission of the third positive-phase transmission waveform data is started when transmission waveform data having the reverse phase of the eye is transmitted to the maximum amplitude portion.

(3)の距離測定方法によれば、超音波生成工程において、超音波の振幅が最大となった時点からそのときの超音波の振動と逆位相の送信波形データにより送信器の超音波素子の振動が強制的に抑制されるため、振幅が急激に小さくなり、くびれを有する超音波波形を効果的に形成することができる。これによって、距離測定の精度を更に高めることができる。   According to the distance measurement method of (3), in the ultrasonic wave generation process, from the time when the amplitude of the ultrasonic wave becomes maximum, the ultrasonic wave of the ultrasonic element of the transmitter is transmitted based on the transmission waveform data having the opposite phase to the vibration of the ultrasonic wave at that time. Since the vibration is forcibly suppressed, the amplitude is rapidly reduced, and an ultrasonic waveform having a constriction can be effectively formed. Thereby, the accuracy of distance measurement can be further increased.

(4)超音波を送信する送信器(例えば、後述の送信器2)と、当該送信器から送信された超音波を受信する受信器(例えば、後述の受信機3)と、前記送信器から超音波を前記受信器に向けて送信するために、所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調した送信波形データを生成すると共に、相互相関値の計算に基づいて距離を測定する距離測定装置(例えば、後述の距離測定装置5)とを、備えた距離測定システム(例えば、後述の距離測定システム1)において、
前記距離測定システムは、更に、前記送信器及び前記受信器により超音波である参照波を送受信し、前記受信器で受信した参照波について標本データ(例えば、後述の標本データF[i])を作成すると共に、前記送信器及び前記受信器により超音波である測定波を送受信し、前記受信器で受信した測定波について測定データ(例えば、後述の測定データg[m])を作成する信号処理装置(例えば、後述の信号処理装置4)を備え、
前記距離測定装置は、前記測定データと前記標本データの相対位置をずらしながら、これらのデータの相互相関値のピークを検索し、当該相互相関値が最大となる前記標本データの相対位置を特定し、特定された相対位置に基づいて算出される時間に基づいて距離を算出するものであり、
前記距離測定装置は、更に、前記参照波及び前記測定波を生成するために、前記送信器に対して、最初に前記送信波形データを正位相で送信し、続けて前記送信波形データを逆位相で送信し、更に続けて前記送信波形データを正位相で送信し、
3つのピークを有する波形データのうち、2つ目の波形を、1つ目の波形のピークと2つ目の波形のピークとの間のくびれの部分から2つ目の波形のピークと3つ目の波形のピークとの間のくびれの部分までをウィンドウとしてデータを切り出すことを特徴とする距離測定システム。
(4) From a transmitter that transmits ultrasonic waves (for example, a transmitter 2 described later), a receiver that receives ultrasonic waves transmitted from the transmitter (for example, a receiver 3 described later), and the transmitter In order to transmit ultrasonic waves to the receiver, transmission waveform data is generated by amplitude-modulating carrier wave data using waveform data of a predetermined waveform shape as a modulation signal, and the distance is calculated based on the calculation of the cross-correlation value. In a distance measuring system (for example, a distance measuring system 1 described later) provided with a distance measuring apparatus (for example, a distance measuring apparatus 5 described later) to measure,
The distance measurement system further transmits / receives a reference wave, which is an ultrasonic wave, using the transmitter and the receiver, and obtains sample data (for example, sample data F [i] described later) for the reference wave received by the receiver. Signal processing for generating measurement data (for example, measurement data g [m] described later) for the measurement wave received by the receiver by transmitting and receiving measurement waves that are ultrasonic waves by the transmitter and the receiver A device (for example, a signal processing device 4 described later),
The distance measuring device searches for the peak of the cross-correlation value of these data while shifting the relative position of the measurement data and the sample data, and specifies the relative position of the sample data that maximizes the cross-correlation value. The distance is calculated based on the time calculated based on the specified relative position,
The distance measuring apparatus further transmits the transmission waveform data to the transmitter first in a normal phase and subsequently transmits the transmission waveform data in an opposite phase to generate the reference wave and the measurement wave. And then transmit the transmission waveform data in the positive phase .
Of the waveform data having three peaks, the second waveform is divided into the second waveform peak and the third waveform peak from the constriction between the first waveform peak and the second waveform peak. A distance measuring system that cuts out data as a window up to the constriction between the peak of the eye waveform .

(4)の距離測定システムによれば、(1)と同様の効果を得ることができる。   According to the distance measurement system of (4), the same effect as (1) can be obtained.

本発明によれば、相互相関値の計算に基づいて距離を測定する距離測定方法及び距離測定システムであって、送信する超音波の波形形状を相互相関時の相関値に相違点が表れやすい波形とし、距離測定の精度を高める距離測定方法及び距離測定システムを提供することができる。   According to the present invention, a distance measuring method and a distance measuring system for measuring a distance based on the calculation of a cross-correlation value, wherein the waveform shape of an ultrasonic wave to be transmitted is easily different from the correlation value at the time of cross-correlation. Thus, it is possible to provide a distance measurement method and a distance measurement system that improve the accuracy of distance measurement.

本発明の一実施形態に係る距離測定方法が適用された距離測定システムの構成を示す模式図である。It is a mimetic diagram showing composition of a distance measuring system to which a distance measuring method concerning one embodiment of the present invention was applied. 受信器で受信した送信超音波波形を示す図であり、aは従来の送信超音波波形であり、bは送信超音波波形を示す。It is a figure which shows the transmission ultrasonic waveform received with the receiver, a is a conventional transmission ultrasonic waveform, b shows a transmission ultrasonic waveform. 本実施形態に係る送信超音波波形の生成原理を説明する図である。It is a figure explaining the production | generation principle of the transmission ultrasonic waveform which concerns on this embodiment. 本実施形態に係る距離測定方法の手順を示すフローチャートの図である。It is a figure of the flowchart which shows the procedure of the distance measurement method which concerns on this embodiment. 本実施形態に係る相関用データ生成の手順を示すフローチャートの図である。It is a figure of the flowchart which shows the procedure of the data for correlation which concerns on this embodiment. 本実施形態に係る送信超音波波形を生成させる手順を示すフローチャートの図である。It is a figure of the flowchart which shows the procedure which produces | generates the transmission ultrasonic waveform which concerns on this embodiment. 本実施形態に係る測定データ生成の手順を示すフローチャートの図である。It is a figure of the flowchart which shows the procedure of the measurement data generation which concerns on this embodiment. 本実施形態に係る送受信器間距離算出の手順を示すフローチャートの図である。It is a figure of the flowchart which shows the procedure of the transmitter-receiver distance calculation which concerns on this embodiment. 本実施形態に係る相互相関値を示す図である。It is a figure which shows the cross correlation value which concerns on this embodiment.

以下、本発明の一実施形態を、図面を参照して説明する。
図1は、本実施形態に係る距離測定方法が適用された距離測定システム1の構成を示す模式図である。距離測定システム1は、超音波を送信する送信器2と、送信器2から送信された超音波を受信する受信器3と、波形データと電気信号の変換を行う信号処理装置4と、送信された波形データに基づいて各種演算を行う距離測定装置5と、を含んで構成される。この距離測定システム1は、送信器2から所定のタイミングで送信された超音波を受信器3で受信すると共に、距離測定装置5により受信器3における超音波の到達時刻を相互相関値の計算に基づいて特定し、この到達時刻と既知の超音波の伝播速度から送信器2と受信器3との間の距離を測定する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic diagram showing a configuration of a distance measuring system 1 to which the distance measuring method according to the present embodiment is applied. The distance measurement system 1 is transmitted with a transmitter 2 that transmits ultrasonic waves, a receiver 3 that receives ultrasonic waves transmitted from the transmitter 2, a signal processing device 4 that converts waveform data and electric signals, and the like. And a distance measuring device 5 that performs various calculations based on the waveform data. In this distance measurement system 1, the ultrasonic wave transmitted from the transmitter 2 at a predetermined timing is received by the receiver 3, and the arrival time of the ultrasonic wave at the receiver 3 is calculated by the distance measuring device 5 to calculate a cross-correlation value. The distance between the transmitter 2 and the receiver 3 is measured from the arrival time and the propagation speed of the known ultrasonic wave.

距離測定装置5は、所定のタイミングで所定の波形形状の波形データを記憶部から取り出し、その波形データを変調信号としてキャリア波データを振幅変調し送信波形データを生成し、生成された送信波形データを信号処理装置4に入力する。信号処理装置4は、入力を受け付けた波形形状信号を電気信号に変換して、電気信号を送信器2に入力する。
送信器2は、超音波素子を含み、信号処理装置4からの電気信号(送信波形データ信号)の入力を受け付けたことに応じて、電気信号を超音波に変換して、超音波を受信器3へ向けて送信する。
The distance measuring device 5 extracts waveform data having a predetermined waveform shape from the storage unit at a predetermined timing, amplitude-modulates the carrier wave data using the waveform data as a modulation signal, generates transmission waveform data, and generates the generated transmission waveform data. Is input to the signal processing device 4. The signal processing device 4 converts the received waveform shape signal into an electric signal and inputs the electric signal to the transmitter 2.
The transmitter 2 includes an ultrasonic element, converts the electric signal into an ultrasonic wave in response to receiving an input of an electric signal (transmission waveform data signal) from the signal processing device 4, and receives the ultrasonic wave as a receiver. Send to 3

受信器3は、超音波センサであってよく、送信器2から送信された超音波を受信し、電気信号に変換し、電気信号を信号処理装置4に入力する。信号処理装置4は、入力を受け付けた電気信号を所定のサンプリング周波数でサンプリングすることによって当該電気信号に基づいて数値化した波形データを生成し、距離測定装置5に入力する。
距離測定装置5は、信号処理装置4から入力を受け付けた波形データに基づいて、後述の各種演算処理を行うことにより距離を算出する。
The receiver 3 may be an ultrasonic sensor, receives the ultrasonic wave transmitted from the transmitter 2, converts it into an electric signal, and inputs the electric signal to the signal processing device 4. The signal processing device 4 samples the electrical signal that has received the input at a predetermined sampling frequency to generate numerical waveform data based on the electrical signal, and inputs the waveform data to the distance measuring device 5.
The distance measuring device 5 calculates the distance by performing various arithmetic processing described later based on the waveform data received from the signal processing device 4.

図2は、受信器で受信した超音波波形を示す図であり、図2(a)は従来の超音波波形であり、図2(b)は本実施形態の超音波波形を示す。これらは、それぞれ、受信機3で受信した超音波から生成した波形データ(後述)をプロットしたものである。
図2(a)に示す従来の波形は、振幅が最大になる点を中心とした所定の幅の区間にわたってデータを切り出したウィンドウ内において、振幅の大小がはっきりしないため、ノイズの影響を受けやすい波形形状である。
これに対して、図2(b)に示す本実施形態の超音波波形は、連続した3つのピークを有しており、それぞれのピークの間には、はっきりとした「くびれ」が形成されている。特に、中央のピークにおいて、波形形状の振幅の大小がはっきりと表れている。
後述の通り、中央のピーク、すなわち振幅が最大になる点を中心とした所定の幅の区間にわたってデータを切り出したウィンドウ内のデータを、準備工程に用いる参照波において標本データF[i]として、測定工程に用いる測定波において測定データg[m]として、それぞれ用いる。
図2(b)に示す本実施形態の波形は、仮にノイズが混入した場合であっても、波形形状の振幅の大小がはっきりと表れているため、ノイズの影響を受け難く、相関関係を判断しやすい。
FIG. 2 is a diagram illustrating an ultrasonic waveform received by the receiver, FIG. 2A is a conventional ultrasonic waveform, and FIG. 2B is an ultrasonic waveform of the present embodiment. These are plots of waveform data (described later) generated from ultrasonic waves received by the receiver 3.
The conventional waveform shown in FIG. 2A is easily affected by noise because the amplitude is not clear in a window in which data is cut out over a section having a predetermined width centered on the point where the amplitude is maximum. Waveform shape.
On the other hand, the ultrasonic waveform of this embodiment shown in FIG. 2B has three continuous peaks, and a clear “neck” is formed between each peak. Yes. In particular, the amplitude of the waveform shape clearly appears at the central peak.
As will be described later, data in a window in which data is cut out over a section having a predetermined width centered on a central peak, that is, a point where the amplitude is maximum, is used as sample data F [i] in a reference wave used in the preparation process, Used as measurement data g [m] in the measurement wave used in the measurement process.
In the waveform of the present embodiment shown in FIG. 2B, even if noise is mixed, since the amplitude of the waveform shape clearly appears, it is difficult to be affected by noise, and the correlation is determined. It's easy to do.

図3は、本実施形態に係る送信超音波波形の生成原理を説明する図である。
前述の通り、距離測定装置5は、先ず所定の波形形状の波形データを変調信号として所定の周波数のキャリア波データを振幅変調して送信波形データを生成して、生成した送信波形データを信号処理装置4に入力する。信号処理装置4は、入力を受け付けた波形形状信号を電気信号に変換し、電気信号を送信器2に入力する。従って、送信器2に入力される波形データは、所定の波形形状の波形データに等しい。送信器2は、その電気信号(送信波形データに基づく)に従って超音波素子を振動させて超音波を送信する。
FIG. 3 is a diagram for explaining a generation principle of a transmission ultrasonic waveform according to the present embodiment.
As described above, the distance measuring device 5 first generates transmission waveform data by amplitude-modulating carrier wave data of a predetermined frequency using waveform data having a predetermined waveform shape as a modulation signal, and signal processing the generated transmission waveform data. Input to device 4. The signal processing device 4 converts the received waveform shape signal into an electric signal and inputs the electric signal to the transmitter 2. Therefore, the waveform data input to the transmitter 2 is equal to the waveform data having a predetermined waveform shape. The transmitter 2 transmits an ultrasonic wave by vibrating the ultrasonic element according to the electrical signal (based on the transmission waveform data).

所定の波形形状の波形データは、送受信する超音波を生成するための「基礎波形」に相当する。この所定の波形形状の波形データとしては、図3(b)に示すような略正弦波形状の波形データであることが好ましい。
一方、キャリア波データの周波数は、受信機3の超音波センサの特性に合わせて設定してよく、本実施形態では40kHzとしている。
The waveform data having a predetermined waveform shape corresponds to a “basic waveform” for generating ultrasonic waves to be transmitted and received. The waveform data having the predetermined waveform shape is preferably waveform data having a substantially sine wave shape as shown in FIG.
On the other hand, the frequency of the carrier wave data may be set according to the characteristics of the ultrasonic sensor of the receiver 3, and is set to 40 kHz in this embodiment.

図3(a)に示す波形は、送信器2に図3(b)に示す略正弦波形状の波形を1つ送信した場合に受信器3が受信する超音波の波形データを示す。前述の通り、送信器2に入力される波形データは、所定の波形形状の波形データ、すなわち、図3(b)に示す略正弦波形状の波形データであるが、図3(a)に示す受信器3が受信する超音波の波形データは、図3(b)に示す送信器2に入力された波形データと異なる波形になっている。すなわち、図3(a)の超音波の波形データの中央部において振幅の差が顕著に表れておらず、また、ピーク後の波形において振幅が残っている。
これは、送信器2の超音波素子の慣性の影響により振動が入力された波形データの急な変化に追従できないことが原因と考えられる。
The waveform shown in FIG. 3A shows ultrasonic waveform data received by the receiver 3 when the transmitter 2 transmits one waveform having a substantially sinusoidal shape shown in FIG. As described above, the waveform data input to the transmitter 2 is waveform data having a predetermined waveform shape, that is, waveform data having a substantially sinusoidal shape shown in FIG. 3B, but is shown in FIG. The waveform data of the ultrasonic wave received by the receiver 3 has a waveform different from that of the waveform data input to the transmitter 2 shown in FIG. That is, the difference in amplitude does not appear remarkably in the central portion of the ultrasonic waveform data in FIG. 3A, and the amplitude remains in the waveform after the peak.
This is considered due to the fact that it cannot follow a sudden change in waveform data to which vibration is input due to the influence of the inertia of the ultrasonic element of the transmitter 2.

一方、図3(c)に示す波形は、送信器2に図3(b)に示す略正弦波形状の波形の送信波形データを2つ連続して送信したとき受信器3が受信する超音波の波形データを示す。1つ目の超音波が最大の振幅を示す時点で新たに同じ位相の送信波形データを送信器2に送信している。そのため、超音波素子の振動が増幅され2つ目の波形はさらに大きな振幅を示している。   On the other hand, the waveform shown in FIG. 3C is an ultrasonic wave received by the receiver 3 when the transmitter 2 continuously transmits two pieces of transmission waveform data having a substantially sinusoidal waveform shown in FIG. The waveform data is shown. Transmission waveform data having the same phase is newly transmitted to the transmitter 2 when the first ultrasonic wave shows the maximum amplitude. Therefore, the vibration of the ultrasonic element is amplified and the second waveform shows a larger amplitude.

図3(d)に示す波形は、送信器2に図3(b)に示す略正弦波形状の波形の送信波形データを最初に正位相、次に逆位相と位相を変えて2つ連続して送信したとき受信器3が受信する超音波の波形データを示す。1つ目の正位相の送信波形データによって超音波が最大の振幅を示す時点で新たに逆位相の送信波形データを送信器2に送信している。
2つ目の超音波は、1つ目の超音波とは逆位相であるため、送信器2の超音波素子に逆の振動が与えられて1つ目の超音波の振動は急激に抑制される。これにより、1つ目の波形はピーク後急激に振幅を小さくし、くびれを形成する。2つ目の波形は、ピーク後の波形において、図3(a)の波形と同様に、振幅が残っている。
The waveform shown in FIG. 3 (d) is continuously transmitted to the transmitter 2 by changing the transmission waveform data of the substantially sinusoidal waveform shown in FIG. 3 (b) first in the positive phase and then in the opposite phase and phase. The waveform data of the ultrasonic wave received by the receiver 3 when transmitted as shown in FIG. The transmission waveform data having the opposite phase is newly transmitted to the transmitter 2 when the ultrasonic wave has the maximum amplitude by the first transmission waveform data having the normal phase.
Since the second ultrasonic wave has an opposite phase to the first ultrasonic wave, a reverse vibration is given to the ultrasonic element of the transmitter 2 and the vibration of the first ultrasonic wave is rapidly suppressed. The As a result, the first waveform rapidly decreases in amplitude after the peak and forms a constriction. In the second waveform, the amplitude remains in the waveform after the peak similarly to the waveform in FIG.

図3(e)に示す波形は、送信器2に図3(b)に示す略正弦波形状の波形の送信波形データを、最初に正位相、次に逆位相、更に次に正位相と位相を変えて3つ連続して送信したとき受信器3が受信する超音波の波形データを示す。1つ目の正位相の送信波形データによって超音波が最大の振幅を示す時点h2で新たに逆位相の2つ目の送信波形データを送信器2に送信する。2つ目の逆位相の送信波形データによって超音波が最大の振幅を示す時点h4で新たに正位相(2つ目の送信波形データとは逆の位相)の3つ目の送信波形データを送信器2に送信する。
2つ目の超音波は、1つ目の超音波とは逆位相であるため、送信器2の超音波素子は逆の振動が与えられて1つ目の超音波の振動(h1、h2、h3)は急激に抑制される。これにより、1つ目の波形はピーク(h2)後急激に振幅を小さくし、くびれ(h3)を形成する。その後、2つ目の波形は、速やかに波形の振幅を増大し、ピーク(h4)に達する。ここで、3つ目の超音波は、2つ目の超音波とは逆位相であるため、送信器2の超音波素子に逆の振動が与えられて2つ目の超音波の振動は急激に抑制される。従って、同様に、2つ目の超音波(h3、h4、h5)は、ピーク(h4)後急激に振幅を小さくし、くびれ(h5)を形成する。このように2つ目の波形は、ピーク(h4)の前後にくびれ(h3、h5)を有し、波形の振幅の大小がはっきりと表れている。
The waveform shown in FIG. 3 (e) is transmitted from the transmitter 2 to the transmitter 2 in the form of a substantially sinusoidal waveform shown in FIG. The waveform data of the ultrasonic wave received by the receiver 3 when three are transmitted continuously while changing is shown. The second transmission waveform data of the opposite phase is newly transmitted to the transmitter 2 at the time point h2 when the ultrasonic wave has the maximum amplitude by the first transmission waveform data of the first phase. The third transmission waveform data of the new positive phase (the phase opposite to the second transmission waveform data) is newly transmitted at the time point h4 when the ultrasonic wave has the maximum amplitude by the transmission waveform data of the second opposite phase. To device 2.
Since the second ultrasonic wave has an opposite phase to the first ultrasonic wave, the ultrasonic element of the transmitter 2 is given a reverse vibration, and the vibration of the first ultrasonic wave (h1, h2,. h3) is rapidly suppressed. As a result, the first waveform rapidly decreases in amplitude after the peak (h2) and forms a constriction (h3). Thereafter, the second waveform rapidly increases in amplitude of the waveform and reaches a peak (h4). Here, since the third ultrasonic wave has a phase opposite to that of the second ultrasonic wave, a reverse vibration is applied to the ultrasonic element of the transmitter 2 and the vibration of the second ultrasonic wave is abrupt. To be suppressed. Accordingly, similarly, the second ultrasonic wave (h3, h4, h5) rapidly decreases in amplitude after the peak (h4) and forms a constriction (h5). Thus, the second waveform has a constriction (h3, h5) before and after the peak (h4), and the amplitude of the waveform clearly appears.

図4は、本実施形態に係る距離測定方法の手順を示すフローチャートの図である。
先ずS1では、S2及びS3に示す測定工程に先立つ準備工程として、相関用データを生成する。より具体的には、送信器2及び受信器3により超音波である参照波を送受信し、受信器3で受信した参照波に基づいて相関用データを生成する。ここで参照波を生成するために送信器2に送信する送信波形データとしては、図2(b)に示すものを用いる。なお、相関用データ生成の詳細な手順については、図5及び図6を参照して後述する。
FIG. 4 is a flowchart showing the procedure of the distance measuring method according to this embodiment.
First, in S1, correlation data is generated as a preparation step prior to the measurement steps shown in S2 and S3. More specifically, the transmitter 2 and the receiver 3 transmit / receive a reference wave that is an ultrasonic wave, and generate correlation data based on the reference wave received by the receiver 3. Here, as the transmission waveform data to be transmitted to the transmitter 2 in order to generate the reference wave, the one shown in FIG. 2B is used. The detailed procedure for generating correlation data will be described later with reference to FIGS.

S2では、送信器2及び受信器3により超音波である測定波を送受信し、受信器3で受信した測定波に基づいて測定データを生成する。ここで測定波を生成するために送信器2に送信する送信波形データとしては、S1において送受信される参照波を生成するために送信器2に送信する送信波形データと同じく、図2(b)に示すものを用いる。なお、測定データ生成の詳細な手順については、図7を参照して後述する。   In S <b> 2, measurement waves that are ultrasonic waves are transmitted and received by the transmitter 2 and the receiver 3, and measurement data is generated based on the measurement waves received by the receiver 3. Here, the transmission waveform data transmitted to the transmitter 2 to generate the measurement wave is the same as the transmission waveform data transmitted to the transmitter 2 to generate the reference wave transmitted and received in S1, as shown in FIG. Use what is shown in. The detailed procedure for generating measurement data will be described later with reference to FIG.

S3では、S1で生成した相関用データ及びS2で生成した測定データに基づいて、送受信器間の距離を算出する。なお、送受信器間の距離算出の詳細な手順については、図8を参照して後述する。   In S3, the distance between the transceivers is calculated based on the correlation data generated in S1 and the measurement data generated in S2. The detailed procedure for calculating the distance between the transceivers will be described later with reference to FIG.

図5は、本実施形態に係る相関用データ生成の手順を示すフローチャートの図である。
S11では、相関用データの元となる参照波を送信し、S12に移る。このS11では、具体的には、前述の通り、図3(b)に示す略正弦波形状の波形の正位相の送信波形データ、逆位相の送信波形データ及び正位相の送信波形データを連続して信号処理装置4に入力し、信号処理装置4によって電気信号に変換して送信器2に入力する。送信器2は、入力された電気信号に基づき、参照波である超音波を送信する。
送信器2が送信する超音波の周波数は、用いられるキャリア波データの周波数に等しく、前述の通り、本実施形態においては40kHzである。
以下、この処理(超音波生成工程)の手順について具体的に説明する。
FIG. 5 is a flowchart showing a procedure for generating correlation data according to the present embodiment.
In S11, a reference wave that is the source of the correlation data is transmitted, and the process proceeds to S12. Specifically, in S11, as described above, the normal phase transmission waveform data, the reverse phase transmission waveform data, and the positive phase transmission waveform data of the substantially sinusoidal waveform shown in FIG. Are input to the signal processing device 4, converted into an electrical signal by the signal processing device 4, and input to the transmitter 2. The transmitter 2 transmits an ultrasonic wave that is a reference wave based on the input electrical signal.
The frequency of the ultrasonic wave transmitted by the transmitter 2 is equal to the frequency of the carrier wave data used, and is 40 kHz in this embodiment as described above.
Hereinafter, the procedure of this process (ultrasonic wave generation process) will be specifically described.

図6は、本実施形態に係る送信超音波波形を生成させる手順を示すフローチャートの図である。
S111では、距離測定装置5は、記憶部から送信しようとする所定の波形形状の波形データを読み出し、読み出された所定の波形形状の波形データを変調信号として所定の周波数のキャリア波データを振幅変調して送信波形データを作成する。作成された送信波形データは、図3(b)に示すように中央にピークを有する形状になっている。
ここで、記憶部から送信しようとする所定の波形形状の波形データを読み出し、その波形データを変調信号としてキャリア波データを振幅変調して送信波形データを作成する代わりに、予め送信しようとする所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調して送信波形データを作成して記憶部に保存しておき、S111で記憶部から読み出すように構成してもよい。
以下、S111で作成した、または読み出した送信波形データを正位相送信波形データという。
FIG. 6 is a flowchart illustrating a procedure for generating a transmission ultrasonic waveform according to the present embodiment.
In S111, the distance measuring device 5 reads waveform data of a predetermined waveform shape to be transmitted from the storage unit, and amplitudes carrier wave data of a predetermined frequency using the read waveform data of the predetermined waveform shape as a modulation signal. Modulate and create transmit waveform data. The created transmission waveform data has a shape having a peak at the center as shown in FIG.
Here, instead of reading out waveform data of a predetermined waveform shape to be transmitted from the storage unit and amplitude-modulating the carrier wave data using the waveform data as a modulation signal to create transmission waveform data, the predetermined waveform to be transmitted in advance. The carrier wave data may be amplitude-modulated using the waveform data of the waveform shape as a modulation signal to generate transmission waveform data, stored in the storage unit, and read from the storage unit in S111.
Hereinafter, the transmission waveform data created or read in S111 is referred to as positive phase transmission waveform data.

次に、S112では、距離測定装置5は、正位相送信波形データの逆位相である送信波形データを生成する。以下、生成した送信波形データを逆位相送信波形データという。   Next, in S112, the distance measuring device 5 generates transmission waveform data that is the reverse phase of the normal phase transmission waveform data. Hereinafter, the generated transmission waveform data is referred to as antiphase transmission waveform data.

次に、S113では、距離測定装置5は、正位相送信波形データを信号処理装置4に入力する。信号処理装置4は、入力を受け付けた正位相送信波形データを電気信号に変換して、送信器2に入力する。送信器2は、入力を受け付けた電気信号に基づいて、超音波を送信する。   Next, in S113, the distance measuring device 5 inputs the positive phase transmission waveform data to the signal processing device 4. The signal processing device 4 converts the input positive phase transmission waveform data into an electrical signal and inputs it to the transmitter 2. The transmitter 2 transmits an ultrasonic wave based on the electrical signal that has received the input.

次に、S114では、距離測定装置5は、逆位相送信波形データを信号処理装置4に入力する。信号処理装置4は、入力を受け付けた逆位相送信波形データを電気信号に変換して、送信器2に入力する。送信器2は、入力を受け付けた電気信号に基づいて、超音波を送信する。この際、逆位相送信波形データに対応する超音波は、S113で送信した正位相送信波形データに対応する超音波の振幅が最大となるタイミングで送信するように設定されている。   Next, in S <b> 114, the distance measuring device 5 inputs the antiphase transmission waveform data to the signal processing device 4. The signal processing device 4 converts the input anti-phase transmission waveform data into an electrical signal and inputs the electrical signal to the transmitter 2. The transmitter 2 transmits an ultrasonic wave based on the electrical signal that has received the input. At this time, the ultrasonic wave corresponding to the antiphase transmission waveform data is set to be transmitted at a timing at which the amplitude of the ultrasonic wave corresponding to the positive phase transmission waveform data transmitted in S113 is maximized.

次に、S115では、距離測定装置5は、正位相送信波形データを信号処理装置4に入力する。信号処理装置4は、入力を受け付けた正位相送信波形データを電気信号に変換して、送信器2に入力する。送信器2は、受信した電気信号に基づいて、超音波を送信する。この際、正位相送信波形データに対応する超音波は、S114で送信した逆位相送信波形データに対応する超音波の振幅がピークに達するタイミングで送信するように設定されている。   Next, in S115, the distance measurement device 5 inputs the positive phase transmission waveform data to the signal processing device 4. The signal processing device 4 converts the input positive phase transmission waveform data into an electrical signal and inputs it to the transmitter 2. The transmitter 2 transmits an ultrasonic wave based on the received electrical signal. At this time, the ultrasonic wave corresponding to the positive phase transmission waveform data is set to be transmitted at the timing when the amplitude of the ultrasonic wave corresponding to the reverse phase transmission waveform data transmitted in S114 reaches the peak.

図5に戻って、S12では、受信器3が、S11で送信した参照波を受信する。受信器3は受信した参照波を電気信号に変換して信号処理装置4に送信する。信号処理装置4は、受信した電気信号を波形データに変換して、距離測定装置5に送信する。   Returning to FIG. 5, in S12, the receiver 3 receives the reference wave transmitted in S11. The receiver 3 converts the received reference wave into an electric signal and transmits it to the signal processing device 4. The signal processing device 4 converts the received electrical signal into waveform data and transmits it to the distance measuring device 5.

S13では、S12で受信した3つのピークを有する波形データのうち、2つ目の波形データを切り出すことにより標本データを生成し、S13に移る。より具体的には、図2(b)に示すように、S12で受信した波形データに対し、3つのピークを有する波形データのうち、最も波形形状の大小が出ている2つ目の波形を、1つ目の波形のピークと2つ目の波形のピークとの間のくびれの部分から2つ目の波形のピークと3つ目の波形のピークとの間のくびれの部分までをウィンドウとしてデータを切り出し、これを標本データにする。なお、標本データは、標本データF[i]とし、“i”は、所定のサンプリング周波数下で離散化した時間におけるサンプリング時刻を示し、所定のサンプリング時刻における振幅値を格納する。
本実施形態では、S11で生成した波形データから500点のデータを切り出すことにより、標本データF[i](i=0〜499)を生成する。
In S13, sample data is generated by cutting out the second waveform data from the waveform data having the three peaks received in S12, and the process proceeds to S13. More specifically, as shown in FIG. 2B, the second waveform having the largest waveform shape out of the waveform data having three peaks with respect to the waveform data received in S12. Window from the constriction between the peak of the first waveform and the peak of the second waveform to the constriction between the peak of the second waveform and the peak of the third waveform Data is cut out and used as sample data. The sample data is sample data F [i], and “i” indicates a sampling time at a time discretized under a predetermined sampling frequency, and stores an amplitude value at the predetermined sampling time.
In the present embodiment, sample data F [i] (i = 0 to 499) is generated by cutting out 500 points of data from the waveform data generated in S11.

S14では、S13で生成した標本データF[i]に含まれるノイズを除去した後、S15に移る。   In S14, after removing the noise included in the sample data F [i] generated in S13, the process proceeds to S15.

S15では、標本データF[i]から相関用データを生成した後、図4のS2に移る。   In S15, after the correlation data is generated from the sample data F [i], the process proceeds to S2 in FIG.

図7は、本実施形態に係る測定データ生成の手順を示すフローチャートの図である。
S21では、信号処理装置4から電気信号を送信器2に送信し、送信器2から測定波を送信させ、S22に移る。
ここにおいても、S11と同様に、図3(b)に示す略正弦波形状の波形データの正位相の送信波形データ、逆位相の送信波形データ及び正位相の送信波形データを連続して信号処理装置4に入力し、信号処理装置4によって電気信号に変換して送信器2に入力する。送信器2は、入力された電気信号に基づき、測定波である超音波を送信する。送信器2が送信する超音波の周波数は、同様に40kHzである。
FIG. 7 is a flowchart illustrating a procedure for generating measurement data according to the present embodiment.
In S21, an electric signal is transmitted from the signal processing device 4 to the transmitter 2, a measurement wave is transmitted from the transmitter 2, and the process proceeds to S22.
In this case as well, similarly to S11, the positive phase transmission waveform data, the reverse phase transmission waveform data, and the positive phase transmission waveform data of the substantially sinusoidal waveform data shown in FIG. The signal is input to the device 4, converted into an electric signal by the signal processing device 4, and input to the transmitter 2. The transmitter 2 transmits an ultrasonic wave as a measurement wave based on the input electric signal. Similarly, the frequency of the ultrasonic wave transmitted by the transmitter 2 is 40 kHz.

S22では、受信器3により測定波を受信し、受信した測定波について、前述の相関用データのサンプリング周波数と同じ周波数のサンプリング周波数でサンプリングし、測定データg[m]を生成し、図4のS3に移る。ここで“m”は、所定のサンプリング周波数の下で離散化した時間におけるサンプリング時刻を示す。本実施形態では、測定波の振幅最大となる中心を含むように、500点にわたって測定データg[m](m=0〜499)を生成する。   In S22, a measurement wave is received by the receiver 3, and the received measurement wave is sampled at a sampling frequency that is the same as the sampling frequency of the correlation data described above to generate measurement data g [m]. Move on to S3. Here, “m” indicates a sampling time at a time discretized under a predetermined sampling frequency. In the present embodiment, measurement data g [m] (m = 0 to 499) is generated over 500 points so as to include the center where the amplitude of the measurement wave is maximum.

図8は、本実施形態に係る送受信器間距離算出の手順を示すフローチャートの図である。
S31では、測定データg[m]のうち振幅最大となる時刻位置を抽出する。測定データg[m]の振幅最大となる時刻位置を予め抽出しておくことにより、振幅が最大となる中心付近においてのみ測定データと相関用データとの相互相関値の計算を行うことができるのでピークの検索にかかる計算回数を減らすことができる。
FIG. 8 is a flowchart showing a procedure for calculating the distance between the transmitter and the receiver according to the present embodiment.
In S31, the time position with the maximum amplitude is extracted from the measurement data g [m]. Since the time position at which the amplitude of the measurement data g [m] is maximum is extracted in advance, the cross-correlation value between the measurement data and the correlation data can be calculated only near the center where the amplitude is maximum. The number of calculations for peak search can be reduced.

S32では、これら測定データg[m]及び相関用データF[i]の相互相関値のピークを検索する。具体的には、測定データと相関用データとの相対位置をずらしながら、これら相関用データと測定データとの相互相関値を計算し、その相互相関値が最大となるピークを検索する。この場合に、測定データの時刻位置は、振幅最大となる時刻位置から所定の範囲遡った時刻位置を基準値とすることが望ましい。   In S32, the peak of the cross-correlation value of the measurement data g [m] and the correlation data F [i] is searched. Specifically, the cross-correlation value between the correlation data and the measurement data is calculated while shifting the relative position between the measurement data and the correlation data, and the peak having the maximum cross-correlation value is searched. In this case, it is desirable that the time position of the measurement data be a reference value that is a time position that is a predetermined range backward from the time position having the maximum amplitude.

次に、S33では、測定データの測定を開始してから相互相関値のピークを示すまでの時間と測定波の伝播速度とを積算することにより、送信器2と受信器3との間の距離を算出する。   Next, in S33, the distance between the transmitter 2 and the receiver 3 is accumulated by integrating the time from the start of measurement of measurement data until the peak of the cross-correlation value is shown and the propagation speed of the measurement wave. Is calculated.

図9は、本実施形態に係る相互相関値を示す図である。
図中P2は、図2(a)に示す超音波波形を参照波及び測定波に用いたときの相互相関値の波形を示す。図から明らかなように、相互相関値が最大となるピークはなだらかであり、ノイズによって相互相関値が最大となる伝播時刻位置に誤差が含まれ易い。
これに対して、P1は、図2(a)に示す本実施形態に係る超音波波形を参照波及び測定波に用いたときの相互相関値の波形を示す。相互相関値が最大となるピークは峻険であり、ノイズによっても互相関値が最大となる伝播時刻位置に誤差が含まれ難い。従って、本実施形態に係る超音波波形を参照波及び測定波に用いることにより距離測定の精度を高めることができる。
FIG. 9 is a diagram showing cross-correlation values according to the present embodiment.
P2 in the figure indicates the waveform of the cross-correlation value when the ultrasonic waveform shown in FIG. 2A is used for the reference wave and the measurement wave. As is clear from the figure, the peak where the cross-correlation value becomes maximum is gentle, and an error is likely to be included in the propagation time position where the cross-correlation value becomes maximum due to noise.
On the other hand, P1 shows the waveform of the cross-correlation value when the ultrasonic waveform according to this embodiment shown in FIG. 2A is used for the reference wave and the measurement wave. The peak at which the cross-correlation value is maximum is steep, and an error is unlikely to be included in the propagation time position at which the cross-correlation value is maximum even due to noise. Therefore, the accuracy of distance measurement can be improved by using the ultrasonic waveform according to the present embodiment for the reference wave and the measurement wave.

なお、本発明は上述した実施形態に限るものではなく、種々の変形が可能である。
例えば、上記実施形態で挙げたキャリア波データの周波数やサンプリングデータ数などの具体的な値は一例であり、本発明はこれに限るものではない。
The present invention is not limited to the above-described embodiment, and various modifications can be made.
For example, the specific values such as the frequency of carrier wave data and the number of sampling data mentioned in the above embodiment are examples, and the present invention is not limited to this.

1・・・距離測定システム
2・・・送信器
3・・・受信器
4・・・信号処理装置
5・・・距離測定装置
DESCRIPTION OF SYMBOLS 1 ... Distance measuring system 2 ... Transmitter 3 ... Receiver 4 ... Signal processing apparatus 5 ... Distance measuring apparatus

Claims (4)

超音波を送信する送信器と、当該送信器から送信された超音波を受信する受信器と、前記送信器から超音波を前記受信器に向けて送信するために、所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調した送信波形データを生成する距離測定装置と、を備えた距離測定システムにおいて、相互相関値の計算に基づいて距離を測定する距離測定方法であって、
前記送信器及び前記受信器により超音波である参照波を送受信し、前記受信器で受信した参照波について標本データを作成する準備工程と、
前記送信器及び前記受信器により超音波である測定波を送受信し、前記受信器で受信した測定波について測定データを作成する測定工程と、
前記測定データと前記標本データの相対位置をずらしながら、これらのデータの相互相関値のピークを検索し、当該相互相関値が最大となる前記標本データの相対位置を特定するピーク検索工程と、
前記ピーク検索工程で特定された相対位置に基づいて算出される時間に基づいて距離を算出する距離算出工程と、を含み、
前記準備工程及び前記測定工程は、いずれも前記送信器に対して、
最初に前記送信波形データを正位相で送信し、続けて前記送信波形データを逆位相で送信し、更に続けて前記送信波形データを正位相で送信する超音波生成工程を含み、
3つのピークを有する波形データのうち、2つ目の波形を、1つ目の波形のピークと2つ目の波形のピークとの間のくびれの部分から2つ目の波形のピークと3つ目の波形のピークとの間のくびれの部分までをウィンドウとしてデータを切り出すことを特徴とする距離測定方法。
Transmitter for transmitting ultrasonic waves, receiver for receiving ultrasonic waves transmitted from the transmitter, and waveform data having a predetermined waveform shape for transmitting ultrasonic waves from the transmitter toward the receiver. A distance measuring device that generates transmission waveform data obtained by amplitude-modulating carrier wave data using a modulated signal as a modulation signal, and a distance measuring method for measuring a distance based on the calculation of a cross-correlation value,
A preparatory step of transmitting and receiving a reference wave that is an ultrasonic wave by the transmitter and the receiver, and creating sample data for the reference wave received by the receiver;
A measurement step of transmitting and receiving measurement waves that are ultrasonic waves by the transmitter and the receiver, and creating measurement data for the measurement waves received by the receiver; and
While shifting the relative position of the measurement data and the sample data, search for the peak of the cross-correlation value of these data, and a peak search step of specifying the relative position of the sample data where the cross-correlation value is maximum,
A distance calculation step of calculating a distance based on a time calculated based on the relative position specified in the peak search step,
The preparation step and the measurement step are both for the transmitter.
Initially transmitting the transmission waveform data in the positive phase, the transmitting transmits the waveform data in phase opposition, it saw including an ultrasonic generation step of transmitting further the transmission waveform data successively with the positive phase continues,
Of the waveform data having three peaks, the second waveform is divided into the second waveform peak and the third waveform peak from the constriction between the first waveform peak and the second waveform peak. A distance measuring method characterized in that data is cut out as a window up to a constriction between a peak of an eye waveform .
前記超音波生成工程において送信される1つ目の正位相の送信波形データと、2つ目の逆位相の送信波形データと、3つ目の正位相の送信波形データは、いずれも略正弦波形状の波形データであることを特徴とする請求項1に記載の距離測定方法。   The first positive phase transmission waveform data, the second reverse phase transmission waveform data, and the third positive phase transmission waveform data transmitted in the ultrasonic wave generation step are all substantially sine waves. The distance measuring method according to claim 1, wherein the distance measuring method is waveform data of a shape. 前記超音波生成工程において、前記1つ目の正位相の送信波形データを振幅最大部まで送信した時点で前記2つ目の逆位相の送信波形データの送信を開始し、前記2つ目の逆位相の送信波形データを振幅最大部まで送信した時点で前記3つ目の正位相の送信波形データの送信を開始することを特長とする請求項2に記載の距離測定方法。   In the ultrasonic wave generation step, transmission of the second opposite-phase transmission waveform data is started when the first positive-phase transmission waveform data is transmitted to the maximum amplitude part, and the second reverse-phase transmission waveform data is started. 3. The distance measuring method according to claim 2, wherein transmission of the third positive phase transmission waveform data is started when the transmission waveform data of phase is transmitted to the maximum amplitude portion. 超音波を送信する送信器と、当該送信器から送信された超音波を受信する受信器と、前記送信器から超音波を前記受信器に向けて送信するために、所定の波形形状の波形データを変調信号としてキャリア波データを振幅変調した送信波形データを生成すると共に、相互相関値の計算に基づいて距離を測定する距離測定装置とを、備えた距離測定システムにおいて、
前記距離測定システムは、更に、前記送信器及び前記受信器により超音波である参照波を送受信し、前記受信器で受信した参照波について標本データを作成すると共に、前記送信器及び前記受信器により超音波である測定波を送受信し、前記受信器で受信した測定波について測定データを作成する信号処理装置を備え、
前記距離測定装置は、前記測定データと前記標本データの相対位置をずらしながら、これらのデータの相互相関値のピークを検索し、当該相互相関値が最大となる前記標本データの相対位置を特定し、特定された相対位置に基づいて算出される時間に基づいて距離を算出するものであり、
前記距離測定装置は、更に、前記参照波及び前記測定波を生成するために、前記送信器に対して、最初に前記送信波形データを正位相で送信し、続けて前記送信波形データを逆位相で送信し、更に続けて前記送信波形データを正位相で送信し、
3つのピークを有する波形データのうち、2つ目の波形を、1つ目の波形のピークと2つ目の波形のピークとの間のくびれの部分から2つ目の波形のピークと3つ目の波形のピークとの間のくびれの部分までをウィンドウとしてデータを切り出すことを特徴とする距離測定システム。
Transmitter for transmitting ultrasonic waves, receiver for receiving ultrasonic waves transmitted from the transmitter, and waveform data having a predetermined waveform shape for transmitting ultrasonic waves from the transmitter toward the receiver. In a distance measurement system comprising: a transmission waveform data in which carrier wave data is amplitude-modulated with a modulation signal as a modulation signal;
The distance measurement system further transmits / receives a reference wave which is an ultrasonic wave by the transmitter and the receiver, creates sample data for the reference wave received by the receiver, and uses the transmitter and the receiver. Comprising a signal processing device that transmits and receives measurement waves that are ultrasonic waves and creates measurement data for the measurement waves received by the receiver;
The distance measuring device searches for the peak of the cross-correlation value of these data while shifting the relative position of the measurement data and the sample data, and specifies the relative position of the sample data that maximizes the cross-correlation value. The distance is calculated based on the time calculated based on the specified relative position,
The distance measuring apparatus further transmits the transmission waveform data to the transmitter first in a normal phase and subsequently transmits the transmission waveform data in an opposite phase to generate the reference wave and the measurement wave. And then transmit the transmission waveform data in the positive phase .
Of the waveform data having three peaks, the second waveform is divided into the second waveform peak and the third waveform peak from the constriction between the first waveform peak and the second waveform peak. A distance measuring system that cuts out data as a window up to the constriction between the peak of the eye waveform .
JP2012045421A 2012-03-01 2012-03-01 Distance measuring method and distance measuring system Expired - Fee Related JP5939837B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012045421A JP5939837B2 (en) 2012-03-01 2012-03-01 Distance measuring method and distance measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012045421A JP5939837B2 (en) 2012-03-01 2012-03-01 Distance measuring method and distance measuring system

Publications (2)

Publication Number Publication Date
JP2013181809A JP2013181809A (en) 2013-09-12
JP5939837B2 true JP5939837B2 (en) 2016-06-22

Family

ID=49272567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012045421A Expired - Fee Related JP5939837B2 (en) 2012-03-01 2012-03-01 Distance measuring method and distance measuring system

Country Status (1)

Country Link
JP (1) JP5939837B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8280692B2 (en) * 2007-08-30 2012-10-02 Nec Corporation Ultrasonic wave propagation time measuring system
JP5298388B2 (en) * 2009-03-17 2013-09-25 富山県 Temperature measuring method and temperature measuring apparatus using ultrasonic waves
EP2362238B1 (en) * 2010-02-26 2014-06-04 Honda Research Institute Europe GmbH Estimating the distance from a sensor to a sound source

Also Published As

Publication number Publication date
JP2013181809A (en) 2013-09-12

Similar Documents

Publication Publication Date Title
JP5560711B2 (en) Optimal pseudo-random sequence determination method, position detection system, position detection method, transmitter and receiver
JP6741004B2 (en) Sound source position detecting device, sound source position detecting method, sound source position detecting program, and storage medium
WO2015025053A3 (en) Method and system for authenticating using a quartz oscillator
WO2009125843A1 (en) Ultrasonic wave propagation time measurement system
CN106772393A (en) A kind of improved ultrasonic ranging method based on flight time detection
MX2021000336A (en) Method and system for monitoring a track section.
RU2012127282A (en) METHOD AND DEVICE FOR MONITORING Torsional Oscillations of a Rotating Shaft of a Turbine Engine
JP6066635B2 (en) Ultrasonic inspection apparatus and method
JP2011185921A (en) System and method for measuring damage length
JP2009265009A (en) Ultrasonic measuring device
CY1120614T1 (en) METHOD AND SYSTEM OF CINEMATIC CALIBRATION FOR THE MEASUREMENT OF DISPLACEMENTS AND VIBRATIONS OF OBJECTS / STRUCTURES
CN104062645A (en) Method for measuring phase difference between parametric array difference-frequency wave and same-frequency small-amplitude wave signal
CN105116371B (en) A kind of object localization method and device based on Continuous Transmission Frequency Modulation signal
JP5939837B2 (en) Distance measuring method and distance measuring system
KR101454827B1 (en) High resolution distance measuring method by phase shifted value of ultrasonic signal
CN116429235A (en) Global phase quadrature demodulation method and device for optical fiber sensing data
RU2015130842A (en) A method for detecting abnormal jumps in pore pressure at the interfaces in undrilled geological formations and a system for implementing this method
JP2014130113A (en) Ultrasonic-wave transmission device, ultrasonic-wave receiver, ultrasonic-wave transmission method, ultrasonic-wave reception method, propagation time measurement system for temperature measurement, and propagation time measurement method for temperature measurement
ATE513229T1 (en) METHOD FOR DETERMINING THE DISTANCE BETWEEN TWO OBJECTS
FR2981755B1 (en) METHOD FOR QUICKLY QUERYING A PASSIVE SENSOR, ESPECIALLY SURFACE ACOUSTIC WAVE TYPE, AND SYSTEM FOR MEASURING THE CLEAN FREQUENCY OF SUCH A SENSOR
JP2018105700A (en) Object detection device
JP5562810B2 (en) Distance measurement method
JP3861161B2 (en) Fluid flow rate measuring method and flow rate measuring device
KR101392303B1 (en) Frequency analyzing type magnetostriction displacement transducer using wavelet transformation
KR101555609B1 (en) Apparatus and method for setting filter compensation factors in level measuring instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150915

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151113

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160517

R150 Certificate of patent or registration of utility model

Ref document number: 5939837

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees