The present invention relates to methods and apparatus for measuring the time-of-flight of a signal from a transmitter to a receiver. The methods and apparatus of this invention is applicable to devices that transmit acoustic or electromagnetic energy. Generally it applies to any device that uses the time-of-flight of a signal to make a measurement.
Time-of-flight is a method used to measure the time it takes for a signal to travel from a transmitter to a receiver over a distance. The signal used with this method may be acoustic or electromagnetic energy; electromagnetic energy such as x-ray, radio frequency, microwave, millimeter-wave, radar, and laser. Time-of-flight can be used to measure distance, the velocity of a moving object or fluid, or the velocity of a signal over a known distance. It is use in devices such as ultrasonic flow meters, ranging equipments, radar, and navigation systems.
In prior art there are two fundamental methods for measuring time-of-flight; measuring the propagation time of a signal from a transmitter to a receiver (transit time method), and measuring the phase difference between two or more received signals (phase based method).
Ranging devices measure the time-of-flight of a signal from a transmitter to a target and back to a receiver. The time-of-flight and the velocity of the signal through a medium is used to determine the distance to the target.
Ultrasonic transit-time flow meters in prior art measure the time-of-flight of an acoustic pulse transmitted in both direction of fluid flow, and use the difference in the transit time to determine the fluid flow rate. The shape and response time of the pulse is crucial to measuring the time-of-flight with some degree of accuracy. To get good signal to noise ratio a response time between 50-100 pico-seconds and powerful precisely tuned transducers are required; making it relatively expensive. Prior art transit-time devices based on the speed of light require long averaging time and sub-nanosecond timing circuitry to measure distances with good resolution.
Some phase based method use a phase comparator to generate a voltage that is proportional to the phase and use a digital to analog converter to digitize the voltage to determine the phase. Other devices digitize the signal and perform a Fourier transform on the digitized data to determine the phase. The low resolution of analog to digital converters require long averaging time to improve accuracy, and Fourier transform requires intensive computation and increased power usage.
This present invention relates to apparatus and methods for high resolution time-of-flight measurement at low cost and low power. The object of this invention is accomplished by using at least one variable frequency oscillator to generate the transmitter signal and using the higher frequencies of the oscillator to measure the time-of-flight with much higher accuracy than prior art. One or more oscillators are controlled to phase lock the transmitter signals to the corresponding received signals at different frequencies that differs by a predetermined number of cycles within the time-of-flight, and the time-of-flight is determined based on the frequencies and the difference in the number of cycles.
For improved signal reception and detection the apparatus of this invention comprise sinusoidal signals to which the receiver is tuned to be principally sensitive, noise filtering circuitry, and noise detection circuitry for automatic receiver gain control; providing a high signal to noise ratio with minimum power. Sinusoidal signals can be used to drive transducers over a large range of frequency and bandwidth with no sacrifice in accuracy; thus eliminating the need to use expensive precisely tuned higher frequency transducers as in prior art. This invention does not require expensive sub-nanosecond timing circuitry in devices based on the speed of light as in prior art that rely on accurately detecting the arrival time of a pulse of energy.
An example of an apparatus and methods of this inventions is as follows: A transmitter signal having a predetermined frequency is transmitted to a receiver. The frequency is then controlled to phase lock a transmitter generated signal having no phase delay to the corresponding received signal. The frequency of the phase locked signal is determined to be f0. The transmitter generated signal is then phase shifted by a fraction of a cycle nk and the transmitter signal relocks to the received signal in the nk phase relationship. The frequency of the relocked signal is determined to be f1.
The time-of-flight is determined using the following relationships;
N−n
d0
=t·f
0;
N−n
d1
−n
k
=t·f
1;
Where N is the unknown integral number of cycles within the unknown time-of-flight t, and nd0 and nd1 are frequency dependent fraction of a cycle delays due to circuitry, the transmitter, receiver, cables, etc; which can be determined by calibration means.
In many embodiments nd0 and nd1 are approximately equal (nd) and solving for t and N reduces to:
t=n
k/(f0−f1);
N=(nk·f0)/(f0−f1)+nd;
For higher accuracy some embodiments of this invention may first determine N, and in subsequent time-of-flight measurement use N and one frequency measurement (f0).
To further illustrate the invention, an example of a continuous wave laser ranging apparatus is presented. The apparatus has a system delay of (nd=0.25 cycles). A laser signal (20) is modulated at 10 MHz and transmitted to a target and back to a receiver. The frequency of the signal is controlled to phase lock a transmitter generated signal (21) having no phase delay (25) to a receiver generated signal (22). The signal locks at frequency f0=10.125 MHz. The transmitter generated signal is delayed by ½ cycle (35) and the signal relocks at frequency f1=9.375 MHz. (NOTE: at ½ cycle a relock could also occur at 10.875 MHZ, |f0−f1|=0.75 MHz).
The time of flight and the range are determined as shown below;
t=n
k/(|f0−f1|)=0.5/(10,125,000−9,375,000)=0.666666667 usec;
R=t·v/2=(0.666666667 usec)·(300000 km/sec)/2=100 m;
For a time interval of 100 msec and a variable frequency oscillator with a frequency that is 64 times that of the transmitter signal, the counter values are: C0=64,800,000, C1=60,000,000;
The range error for counter errors of +1 for one counter and a −1 for the other is determined below:
f
0=(64,800,000+1)/6.4=10,125,000.156;
f
1=(60,000,000−1)/6.4=9,374,999.8438;
t=0.5/(10,125,000.156−9,374,999.8438)=0.6666663889 usec;
R=t·v/2=(0.6666663889 usec)·(300000 km/sec)/2=99.999958335 m;
Error: 100 m−99.999958335 m=0.00004 m=0.04 mm;
To reduce the error, the integral number of cycles N can be determined and subsequent time-of-flights determined based on N and f0 as shown below;
n=(nk·f0)/(f0−f1)+nd;
n=(0.5−10,125,000.156)/(10,125,000.156−9,374,999.8438)+0.25;
n=6.999;
N=IntegralOf(n+0.5)=7;
A one count error in f0 would result in;
t=(N−nd)/f0=(7−0.25)/10,125,000.156=0.6666666564;
R=t·v/2=(0.6666666564 usec)·(300000 km/sec)/2=0.09999999846 km;
Error: (100−99.99999846)m=0.0000015 m=0.0015 mm;
It is to be understood that the above-described embodiments and illustrations are only illustrative of the applications of the principles of the invention and that various modifications may be made by those skilled in the art without departing from the spirit and scope of the invention.
In