Embodiments described herein relate to methods and systems for determining the distance between two objects. In particular, the embodiments described herein relate to methods and systems for determining the distance between two objects by wirelessly transmitting pulses between the objects.
Loss of personal possessions such as wallets, purses, laptops, cell phones, cameras and other objects of value, is a common occurrence through accident, inadvertence, or theft. For example, busy public transportation hubs such as airports, train stations and bus stations and the like, create conditions where confusingly similar articles may be taken in error, or misplaced, or stolen. According to a study of 106 major U.S. airports and 800 business travelers published by the Poneman Institute and Dell Computer, about 12,000 laptops are lost in U.S. airports each week. Only 30 percent of the travelers ever recover the lost devices. Nearly half of the travelers reported that their laptops contained customer data or confidential business information.
In recognition of the problem, short-range proximity systems have been developed to monitor the proximity of a person to an object of value. Typically, there is a base unit and a remote unit. The base unit is attached to the person and the remote unit is attached to the object of value. The base unit is configured to generate an audio and/or visual alarm when the remote unit is more than a predetermined distance away from the base unit.
In many prior art proximity systems, the remote unit transmits an RF (radio frequency) signal to the base unit. The base unit then determines the distance between the base unit and the remote unit based on the strength of the received signal. However, these systems are unreliable. Specifically, determining the distance based on signal strength presumes that the signal will always emanate at the same strength, and that it will be attenuated as a function of distance in the same manner, regardless of the physical surroundings of the area in which the system is used, the positions of the transmit and receive antennas, weather conditions and other factors which cause differences in signal attenuation.
In other prior art proximity systems the distance between the base unit and the remote unit is calculated by determining the time it takes for information to be transmitted from the base unit to the remote unit or from the remote unit to the base unit. These types of prior art proximity systems are typically referred to as time of flight proximity systems. Most of the prior art time of flight proximity systems do not appropriately account for multi-path reflections. Such multi-path reflections occur when an RF signal reflects from a nearby object. Multi-path reflections can cause attenuation and cancellation when the reflection is at the wrong location making signals appear to be arriving earlier or later than they really are.
Embodiments described herein relate to methods and systems for determining the distance between two objects and optionally activating an alarm when the distance exceeds a predetermined threshold.
In one broad aspect there is provided a detection system. The detection system includes:
a base unit including a first transmitter for transmitting at least one locator pulse; a first receiver for receiving at least one return pulse, the first receiver including a pulse detector for detecting the leading edge of the at least one return pulse; and a distance measurement unit; and
a remote unit including a second receiver for receiving the at least one locator pulse; and a second transmitter for transmitting the at least one return pulse in response to the at least one locator pulse;
wherein the distance measurement unit is adapted for determining the distance between the base unit and the remote unit based on the leading edge of the at least one return pulse.
In another feature of that aspect, at least one of the base unit and the remote unit further includes an alarm unit and the distance measurement unit activates the alarm unit when the distance exceeds a predetermined threshold.
In another feature of that aspect, the distance measurement unit determines the distance between the base unit and the remote unit by measuring the phase difference between the at least one locator pulse and the at least one return pulse.
In another feature of that aspect, the distance measurement unit includes a multiplier for combining a trigger signal and a notification signal to produce the phase difference, wherein the trigger signal is related to the at least one locator pulse and the notification signal is related to the at least one return pulse.
In another feature of that aspect, the distance measurement unit further includes a phase locked loop for locking onto the notification signal.
In another feature of that aspect, the distance measurement unit determines the distance between the base unit and the remote unit by measuring the time of flight of the at least one return pulse.
In another feature of that aspect, the distance measurement unit includes a timer for measuring the time between sending the at least one locator pulse and detecting the leading edge of the corresponding at least one return pulse. In another feature of that aspect, the timer is at least one of a time to digital converter and a time to analog converter.
In another feature of that aspect, the at least one locator pulse and the at least one return pulse are shaped to reduce the effect of multipath reflections.
In another feature of that aspect, the first transmitter generates the at least one locator pulse by combining a carrier signal and a modulation signal.
In another feature of that aspect, the first transmitter includes:
a high frequency oscillator for generating the carrier signal;
a modulation signal generator for generating the modulation signal; and
a multiplier for combining the carrier signal and the modulation signal to produce the at least one locator pulse.
In another feature of that aspect, the modulation signal is selected from one of the group comprising: a rectangle wave signal, a sinc signal, a Gaussian signal and a Gaussian derivative signal.
In another feature of that aspect, the modulation signal generator is a digital to analog converter.
In another feature of that aspect, the first transmitter generates the at least one locator pulse using a step recovery diode technique.
In another feature of that aspect, multipath reflections caused by a far object have substantially no effect on the at least one locator pulse and the at least one return pulse, wherein a far object is an object that satisfies the following equation:
x
1
+x
2
−d>c·t
c
where x1 is the distance between the object and the base unit, x2 is the distance between the object and the remote unit, d is the distance between the base unit and the remote unit, c is the speed of light, and tc is the width of the at least one locator pulse.
In another feature of that aspect, the first receiver includes a level detector for detecting the leading edge of the at least one return pulse.
In another feature of that aspect, the first receiver further includes gain adjustment circuitry to automatically adjust the gain of the at least one return pulse based on the strength of the at least one return pulse.
In another feature of that aspect, the base unit further includes a first timer, the first timer operable to activate the first transmitter at a first predetermined time for a first predetermined period, and the first receiver at a second predetermined time for a second predetermined period; and the remote unit further includes a second timer, the second timer operable to activate the second receiver at a third predetermined time for a third predetermined period, and the second transmitter at a fourth predetermined time for a fourth predetermined period.
In another aspect of that feature, the second timer adjusts the third predetermined time based on when during the third predetermined period the locator pulse is received at the remote unit.
In another aspect of that feature, the locator pulse is received in a first portion of the third predetermined period the second timer reduces the third predetermined time, and if the locator pulse is received in a last portion of the third predetermined period the second timer increases the third predetermined time.
In another aspect of that feature, the base unit further includes a communication port which is adapted to receive the remote unit and when the remote unit is inserted in the communication port, the base unit and remote unit engage in a synchronization process, wherein the synchronization process includes establishing the predetermined times and periods.
In another broad aspect there is provided a method for determining the distance between a base unit and a remote unit. The method includes:
In another feature of that aspect, the method further includes activating an alarm when the distance between the base unit and the remote unit exceeds a predetermined threshold.
In another feature of that aspect, calculating the distance between the base unit and the remote unit includes measuring the phase difference between the at least one locator pulse and the at least one return pulse.
In another feature of that aspect, calculating the distance between the base unit and the remote unit includes measuring the time of flight of the at least one return pulse.
In another feature of that aspect, the at least one locator pulse and the at least one return pulse are shaped to reduce the effect of multipath reflections.
In another feature of that aspect, generating the at least one locator pulse includes combining a carrier signal and a modulation signal.
In another feature of that aspect, the carrier signal is a sinusoidal signal, and the modulation signal is selected from one of the group comprising a rectangle wave signal, a sinc signal, a Gaussian signal, and a Gaussian derivative signal.
In another feature of that aspect, the at least one locator pulse is generated using a step recovery diode technique.
In another feature of that aspect, multipath reflections caused by a far object have substantially no effect on the at least one locator pulse and the at least one return pulse, wherein a far object is an object that satisfies the following equation:
x
1
+x
2
−d>c*t
c
where x1 is the distance between the object and the base unit, x2 is the distance between the object and the remote unit, d is the distance between the base unit and the remote unit, c is the speed of light, and tc is the width of the at least one locator pulse.
In another feature of that aspect, detecting the leading edge of the at least one return pulse includes measuring the level of the at least one return pulse.
In another feature of that aspect, detecting the leading edge of the at least one return pulse further includes automatically adjusting the gain of the return pulse based on the strength of the return pulse.
In another feature of that aspect, the method further includes: activating the base unit at a first predetermined time for a first predetermined period to transmit the at least one locator pulse;
activating the base unit at a second predetermined time for a second predetermined period to receive the at least one return pulse;
activating the remote unit at a third predetermined time for a third predetermined period to receive the at least one locator pulse; and
activating the remote unit at a fourth predetermined time for a fourth predetermined period to transmit the at least one return pulse.
In another feature of that aspect, the method further includes adjusting the third predetermined time based on when during the third predetermined period the at least one locator pulse is received at the remote unit.
In another feature of that aspect, adjusting the third predetermined time includes increasing the third predetermined time if the locator pulse is received in a first portion of the third predetermined period, and decreasing the third predetermined time if the locator pulse is received in a last portion of the third predetermined period.
In another feature of that aspect, the method further includes synchronizing the base unit and the remote unit, wherein synchronizing includes establishing the predetermined times and periods.
For a better understanding of embodiments of the systems and methods described herein, and to show more clearly how they may be carried into effect, reference will be made, by way of example, to the accompanying drawings in which:
It will be appreciated that for simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements.
It will be appreciated that numerous specific details are set forth in order to provide a thorough understanding of the exemplary embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein may be practiced without these specific details. In other instances, well-known methods, procedures and components have not been described in detail so as not to obscure the embodiments described herein. Furthermore, this description is not to be considered as limiting the scope of the embodiments described herein in any way, but rather as merely describing the implementation of the various embodiments described herein.
Embodiments described herein relate to methods and systems for determining the distance between two objects and optionally activating an alarm when the distance exceeds a predetermined threshold.
Reference is first made to
The object of value 108 may be any item that is of value to the person 106 and need not be an object that has a minimum monetary value. For example, the object of value 108 may be a stationary object such as a cell phone, a wallet, a purse, a laptop, a musical instrument or the like; or a mobile object such as a person, child or pet.
The base unit 102 wirelessly monitors the distance between the base unit 102 (and thus in this embodiment the person 106) and the remote unit 104 (and thus the object of value 108). In some embodiments, if the distance between the base unit 102 and the remote unit 104 exceeds a predetermined distance, an alarm is activated.
Although for clarity, the embodiment shown in
The base unit 102 and the remote unit 104 are preferably battery-operated so that they can be used in various locations regardless of whether there are power outlets available. In some embodiments, the base and remote units 102 and 104 each have an on/off switch (not shown) to conserve battery power when not in use. In other embodiments, only the base unit 102 has an on/off switch and the remote unit 104 can only be disabled or deactivated when plugged into the base unit 102.
The base and remote units 102 and 104 may include complementary communication ports (not shown) that enable the remote unit 104 to be plugged into the base unit 102. While the remote unit 104 is plugged into the base unit 102 via the communication ports, it may be charged, synchronized, calibrated, and/or deactivated.
Reference is now made to
The transmitter 204, also referred to as the pulse generation unit, generates one or more RF (radio frequency) locator pulses and sends the locator pulses to the transmitter antenna 202 for transmission to the remote unit 104. Exemplary transmitters 204 will be described with reference to
Most RF transmissions are susceptible to multi-path reflections which occur when an RF signal bounces off a reflective object. In the UWB (ultra wide band) frequency range, most objects will reflect at least some of the energy in the signal. Multi-path reflections can make signals appear to be arriving earlier or later than they ought to. Specifically, a reflector (the object causing the reflection) introduces a longer path length for the RF signal to propagate and the difference between the reflected path and the direct path (i.e. the line of sight path) produces a phase shift between the two signals which may manifest itself as either destructive or constructive interference. Depending on the RF signal, the interference can cause the signal to appear to arrive earlier or later than it actually did, making the object appear closer or further away than it actually is.
However, very short pulses are not affected by reflections caused by “far objects”. “Far objects” are opposite to “near objects”. Reference is now made to
A “far object” 302 is defined as an object where the reflection signal path caused by the “far object” 302 is greater than the line of sight signal path by more than the pulse length. This may be expressed using equation (1), where tb is the duration of the pulse, c is the speed of light (3×108 m/s), d is the shortest distance (also referred to as the line of sight distance) between the base unit 102 and the remote unit 104, x1 is the shortest distance between the base unit 102 and the “far object” 302, and x2 is the shortest distance between the remote unit 104 and the “far object” 302:
x
1
+x
2
−d>c·t
b (1)
A “near object” 304 is defined as an object where the reflection signal path caused by the “near object” 304 is greater than the line of sight signal path by less than the pulse length. This may be expressed using equation (2) where tb is the duration of the pulse, c is the speed of light (3×108 m/s), d is the shortest distance (also referred to as the line of sight distance) between the base unit 102 and the remote unit 104, y1 is the shortest distance between the base unit 102 and the “near object” 304, and y2 is the shortest distance between the remote unit 104 and the “near object” 304:
y
1
+y
2
−d<c·t
b (2)
It can be seen from
Reflections caused by “far objects” 302 do not affect the detection of a short pulse because a pulse transmitted from the base unit 102 to the remote unit 104 via line of sight has already arrived at the remote unit 104 by the time any “far object” reflections arrive at the remote unit 104. Accordingly, the remote unit 104 can easily determine that the first pulse is the correct pulse and the remote unit 104 may ignore any subsequent pulses.
For example, if the pulse duration is 2 ns, the pulse length (or width) is 60 cm. Therefore, an object that has a reflection signal path that is greater than the line of site path by at least 60 cm will not cause distortions to the locator pulses.
Generally, the shorter the pulse duration, the closer an object can be to the line of sight path without causing distortions. However, there is practical limit as to how short the pulse duration can be. Specifically, as the pulse duration decreases, the bandwidth of the pulse increases. If too short a pulse duration is selected, attenuation, component selection, and licensing restrictions become problematic. For example, for “far objects” to include objects that have a reflection path that is at least 3 cm longer than the line of sight path, the pulse duration would have to be 100 ps. This pulse duration would generate RF energy in the 10 GHz range.
Accordingly, preferably, the locator pulses have a large bandwidth and a short duration. In one embodiment, the locator pulses are ultra wideband (UWB) pulses.
The remote unit 104 receives the locator pulses generated by the base unit 102 and generates and transmits one or more return pulses in response. A return pulse is defined herein as a pulse that is generated by the remote unit 104 in response to receiving a locator pulse from the base unit 102. The return pulses are typically generated in the same manner as the locator pulses.
The return pulses are received by the receiver antenna 206 which sends them to the receiver 208 for processing. The receiver 208, also referred to as the pulse detection unit, receives the return pulses and detects the leading edges of the return pulses. By detecting the leading edge of the return pulses, the number of reflectors that may affect the detection of the return pulses is reduced. Specifically, detecting the leading edge further reduces the “near objects” that may cause interference.
By focusing on the leading edge of the return pulse, the pulse detection unit or receiver 208 does not need the entire return pulse for detection. Accordingly, the length of the reflection path may no longer have to be greater than the line of sight path by more than the pulse length for an object to have no effect on the return pulse. The difference between the two paths just has to be greater than the portion of the pulse that is required for detection. Therefore, the faster the leading edge is detected, the closer an object can be to the line of sight without having any effect on the pulse detection.
In some embodiments, the pulse detection unit or receiver 208 needs no more than one quarter of a wavelength of the transmit frequency to detect the return pulses. Therefore, for example, if the return pulse is generated with a 4 GHz transmit frequency, a “near object” more than 2 cm away from the line of sight path should no longer interfere with the distance measurement.
In some embodiments, the leading edges of the return pulses are detected by comparing the amplitude of the return pulses against a predetermined threshold. An exemplary receiver 208 will be described with reference to
The distance measurement unit 210 receives the leading edge information from the receiver 208 and uses this information to determine the distance between the base unit 102 and the remote unit 104. In one embodiment, the distance measurement unit 210 determines the distance between the base unit 102 and the remote unit 104 based on the phase difference between the locator pulses and the return pulses. In another embodiment, the distance measurement unit 210 determines the distance between the base unit 102 and the remote unit 104 by measuring the time between sending a locator pulse and receiving a corresponding return pulse. Exemplary distance measurement units 210 will be described with reference to
In some embodiments, after determining the distance between the remote unit 104 and the base unit 102, the distance measurement unit 210 determines whether the distance exceeds a predetermined threshold and if so activates the alarm unit 212. In some embodiments the alarm unit 212 may include a visual alarm, such as an LED (light emitting diode) indicator, or an LCD (liquid crystal display) display. In other embodiments, the alarm unit 212 may include an audio alarm, such as an audio message or alert. In still other embodiments, the alarm unit 212 may include a combination of audio alarms, visual alarms, and other alarm indicators, such as shock, vibration, or heat.
Although, the transmitter antenna 202 and the receiver antenna 206 are shown in
Reference is now made to
The oscillator 402 is a high frequency oscillator that generates a sinusoidal signal, such as a sine signal or a cosine signal. In some embodiments, the oscillator 402 generates a sinusoidal signal with a frequency between 3.1 GHz and 10.6 GHz. The sinusoidal signal is often referred to as the carrier signal.
The modulation signal generator 404 generates a modulation signal, such as a rectangular signal using analog techniques. In some embodiments, the modulation signal generator 404 is triggered by an external control signal, such as a clock signal. The control signal may be generated by a central micro-controller or by a separate and distinct trigger unit.
The multiplier 406 modulates the modulation signal (i.e. rectangular signal) onto the carrier or sinusoidal signal. Specifically, the multiplier 406 receives the carrier or sinusoidal signal and the modulation signal and multiplies them together to form one or more locator pulses. The multiplier 406 may be implemented using analog or digital circuitry. For example, the multiplier 406 may be implemented using a Gilbert cell, a doubly balanced mixer, or an AND gate.
The bandpass filter 408 receives the one or more locator pulses generated by the multiplier 406 and filters the one or more locator pulses to generate one or more filtered pulses. Where the multiplier 406 is implemented using digital circuitry, the one or more pulses include high and low frequency components which are not desired. The bandpass filter 408 works to remove these unwanted frequencies from the series of pulses. The bandpass filter 408 is preferably implemented using analog circuitry.
The amplifier 410 receives the one or more filtered pulses from the bandpass filter 408 and amplifies the one or more filtered pulses to a predetermined level to be transmitted by the transmitter antenna 202. For example, in one embodiment, the filtered pulses are amplified by amplifier 410 so that the transmitted power is −5 dBm EIRP (Effective Isotropically Radiated Power). The amplifier 410 may be implemented using analog components. In some embodiments, the bandpass filter 408 and the amplifier 410 are implemented in a single device. In other embodiments, such as the embodiment shown in
Reference is now made to
If the carrier signal (i.e. sinusoidal signal) and the modulation signal (i.e. rectangle signal) are not aligned, the carrier signal (i.e. sinusoidal signal) may wander and the RF pulse shape generated by the combination of the sinusoidal signal and the modulation signal may vary from pulse to pulse. For example, in one pulse the carrier signal and the leading edge of the modulation signal may line up so that the leading edge hits the carrier at the zero point (or zero crossing). In a subsequent pulse the carrier signal's phase may have wandered so the leading edge of the modulation signal now hits the crest of the sinusoidal carrier. This may introduce some measurement jitter since the detected envelope of the RF pulse will vary from pulse to pulse.
Accordingly, in some embodiments, the transmitter 204 (i.e. transmitter 400) may include an alignment module that locks the leading edge of the modulation signal to a specific point of the carrier signal. Such an alignment module ensures that similar pulse shapes will be produced each time the carrier signal and the modulation signal are combined. Using an alignment module also typically produces pulses with sharper leading edges, which assists the receiver 208 in pulse detection. In some embodiments, the alignment module implements a phase-locked loop (PLL).
Reference is now made to
The alignment module 700 includes a frequency divider 702, a phase detector 704, a loop filter 706, a voltage controlled oscillator 708, and a delay block 710. As is known to those of skill in the art, the frequency divider 702 takes the input signal (the oscillator output) with a frequency f1, and generates an output signal with a frequency f1/n where n is an integer. In other words, the frequency of the input signal (the oscillator output) is divided by n to generate a signal with a lower frequency. In some embodiments, the alignment module 700 is designed to produce an output signal with a frequency of 10 MHz.
In some embodiments, the frequency divider 702 includes multiple frequency dividers. Specifically, the division may be broken up into multiple phases to simplify the electronics. For example, if the input signal (the output of the oscillator) has a frequency of 3.5 GHz, it may first be divided by 5, then 7 and then 10 to produce an output signal with a frequency of 10 MHz.
The phase detector 704 compares the output of the voltage controlled oscillator 708 and the output of the frequency divider 702 and outputs a voltage signal which represents the difference in phase between the two signals. In one embodiment, the phase detector 704 is implemented using a push pull current source, known as a Type II Phase Detector. If a Type II Phase Detector is used, the phase of the output of voltage controlled oscillator 708 can be precisely kept in sync with the phase of the output of the frequency divider 702.
The loop filter 706 receives the output of the phase detector 704 and converts this input to a control voltage that is used to bias the voltage controlled oscillator 708. In some embodiments, the loop filter 706 is implemented using a simple RC network. In other embodiments, the loop filter 706 may be implemented using a more complex design involving operational amplifiers.
The voltage controlled oscillator 708 receives the control voltage from the loop filter 706 and generates a signal having a frequency that is based on the control voltage. More specifically, the frequency of oscillation is varied by the applied voltage.
The delay block 710 is optional and allows the voltage controlled oscillator output 708 to be aligned with a particular part of the carrier signal generated by the main oscillator (i.e. oscillator 402). For example, the output of the voltage controlled oscillator 708 may be aligned with the maximums in the signal generated by the oscillator (i.e. oscillator 402). The delay block 710 allows the output of the voltage controlled oscillator 708 to be adjusted to align with another part of the signal generated by the main oscillator (i.e. oscillator 402), such as the zero points (or zero crossings).
In some embodiments, the delay block 710 may be designed to implement a fixed delay. For example, the delay block 710 may be implemented by a circuit trace or transmission line. In other embodiments, the delay block 710 may be designed to implement a variable delay. A variable delay may be implemented using analog or digital circuitry using techniques known to those of skill in the art.
Reference is now made to
The transmitter 800 includes an oscillator 802, a modulation signal generator 804, a multiplier 806, and an amplifier 808.
The oscillator 802, similar to the oscillator 402 of
The modulation signal generator 804 digitally generates the modulation signal. The modulation signal is typically generated over a short window. For example, in some embodiments the modulation signal generator 804 may generate a sinc signal with a frequency of 500 MHz over an 8 ns window. In other embodiments, the modulation signal generator 804 may generate a Gaussian signal or a Gaussian derivative signal. In some embodiments, the modulation signal generator 804 is a digital to analog converter (DAC) that approximates a sinc signal, a Gaussian signal, or a Gaussian derivative signal.
The multiplier 806 modulates the modulation signal onto the carrier signal. Specifically, the multiplier 806 receives the carrier signal and the modulation signal and multiplies them together to form one or more locator pulses. The multiplier 806 may be implemented using analog circuitry. For example, the multiplier 806 may be implemented using a Gilbert Cell Mixer.
The amplifier 808 receives the locator pulses from the multiplier 806 and amplifies the locator pulses to a predetermined level to be transmitted by the transmitter antenna 202. The amplifier 808 is preferably implemented using analog circuitry.
Reference is now made to
Reference is now made to
The step function generator 1002 generates a step function signal. As is known to those of skill in the art, a step function is a function that has different constant values over adjacent subintervals. Thus, it has discontinuities at the ends of each interval. The system 100 described herein does not require that the step function signal have sharp edges, therefore the step function generator 1002 may be implemented by a micro-controller unit (MCU) or a general purpose input output (GPIO) pin.
The first capacitor 1004 appears as low impedance to the step function signal produced by the step function generator 1002.
Before the step function signal produced by the step function generator 1002 is applied to the diode 1006, the diode 1006 is forward biased to a predetermined voltage (e.g. −0.7 V) by the current source 1008. The diode 1006 may be implemented, for example, using a ping diode or a step recovery diode.
The diode 1006 tries to maintain the forward bias with its stored charge, until it reverses biases quickly. This causes a rapid rise in the voltage which propagates through the second capacitor 1010. This causes a very sharp edge signal to be presented to the transmission line 1012. The very sharp edge signal is reflected back by the transmission line 1012 and when the reflection combines with the original signal produced by the second capacitor 1010, the result is a short pulse. The short pulse is then supplied to the transmitter antenna 202 to be transmitted to the remote unit 104. The edges of the pulse rise and fall quickly. The width of the pulse is determined by the length of the transmission line 1012.
The third embodiment 1000 of the transmitter 204 of
Reference is now made to
Typically the signal received by the receiver antenna 206 has a variable signal strength. For example, in some test environments, the signal attenuation varied by more than 60 dB. This variation can negatively impact the leading edge detection. Specifically, the level detector 1110, which detects the leading edge of the pulse, is amplitude sensitive. So if the received signal is weak (i.e. low amplitude), it typically takes longer for the received signal to reach an amplitude that will trigger the level detector 1110. Conversely, if the received signal is strong (i.e. high amplitude), it typically takes less time for the received signal to reach an amplitude that will trigger the level detector 1110. Accordingly, the inventors have discovered that the receiver 208 typically generates more reproducible results if the received signal amplitude is adjusted to provide consistent amplitude to the level detector 1110.
As a result, in some embodiments, the receiver 208 may include a variable gain amplifier 1102 to ensure that the incoming signal is consistently processed with substantially the same amplitude. Specifically, the variable gain amplifier 1102 adjusts the gain applied to the signal based on the strength of the received signal.
In the embodiment shown in
While the variable gain amplifier 1102 is an optional component in the receiver 208, the inventors have discovered that where the gain of the incoming signal is not adjusted using, for example, a variable gain amplifier 1102, the components in the system, such as the level detector 1110, may become saturated. Specifically, in a high dynamic range system, such as the system described herein, the high gains can cause the components (i.e. the level detector 1110) to saturate if there are any nearby low power RF sources. Saturating the components in the receiver 208 typically masks out the received signal (i.e. the return pulse) making it difficult to detect.
The bandpass filter 1106 receives the amplified signal generated by the variable gain amplifier 1102 and filters the amplified signal to produce a filtered signal. The bandpass filter 1106 is designed to remove frequencies outside of the expected range. Generally, the bandpass filter 1106 removes frequencies that fall outside the band of the return pulses. In some embodiments, the return pulses reside within the 3.1 to 10.6 GHz range. Accordingly, in these embodiments, the bandpass filter 1106 would remove frequencies outside of the 3.1 to 10.6 GHz range. In other embodiments, the return pulses reside within the 3.1 to 6 GHz range. Accordingly, in these embodiments, the bandpass filter 1106 would remove frequencies outside of the 3.1 to 6 GHz range. In the embodiment shown in
The rectification circuit 1108 receives the filtered signal from the bandpass filter 1106 and rectifies the filtered signal to produce a rectified signal. As is known to persons of skill in the art, rectification is the process of converting an AC signal into a DC signal. The rectification process effectively demodulates the modulation signal (e.g. the original rectangular signal, sinc signal, or Gaussian signal) from the carrier signal. The rectification circuit 1108 may be implemented using analog or digital circuitry, or a combination of the two. In one embodiment, the rectification circuit 1108 may be implemented by a diode 1112 and a filtering capacitor 1114.
In another embodiment, the rectification circuit 1108 may be implemented by a multiplier (not shown) and a low pass filter (not shown). The multiplier is used to multiply the filtered signal with itself. This produces a signal with two components—a DC component that represents the original modulation signal (e.g. the original rectangular signal, sinc signal or Gaussian signal); and a high frequency component that represents the original modulation signal modulated on a carrier wave that is double the frequency of the original carrier wave. This signal is passed through the low pass filter to remove the high frequency component. This leaves a baseband copy of the original modulation signal (e.g. the original. rectangular signal, sinc signal or Gaussian signal). However, it will be evident to persons of skill in the art that the rectification circuit 1108 may be implemented using other components or techniques, or both.
The level detector 1110 receives the rectified signal produced by the rectification circuit 1108, and a reference signal selected by the micro-controller 1104, and determines if the amplitude of the rectified signal exceeds the amplitude of the reference signal. If the amplitude of the rectified signal is determined to exceed the amplitude of the reference signal, then a notification pulse is generated and sent to the distance measurement unit 210. The level detector 1110 may be implemented using analog or digital circuitry. For example, the level detector 1110 may be implemented using an analog to digital converter (ADC) or a comparator.
Reference is now made to
The multiplier 1204 multiplies the notification signal generated by the receiver 208 with the signal used by the transmitter 204 to trigger generation of the locator pulses. The notification signal generated by the receiver 208 typically has a frequency that corresponds to the frequency of the signal used to trigger generation of the locator pulses. For example, where a 10 MHz signal is used to trigger generation of the locator pulses, the original 10 MHz signal is multiplied with the 10 MHz signal generated by the receiver 208.
The output of the multiplier 1204 is then fed to a low-pass filter 1206 that filters the received signal to produce a filtered signal. The filtered signal is a voltage that represents the phase difference between the two signals (the notification signal and the trigger signal). As the distance between the base unit 102 and the remote unit 104 increases from 0 m to 3 m, the phase may vary about 70 degrees.
The phase difference between the two signals is representative of the time taken for a locator pulse to travel from the base unit 102 to the remote unit 104 and for the corresponding return pulse to travel from the remote unit 104 to the base unit 102. Since the speed at which the pulses travel is known, the distance between the base unit 102 and the remote unit 104 can be determined.
However, the phase difference also includes the following: (i) the time for the base unit 102 to generate and transmit the locator pulse; (ii) the time for the remote unit 104 to receive and detect the locator pulse; (iii) the time for the remote unit 104 to generate and transmit a corresponding return pulse; and (iv) the time for the base unit 102 to receive and detect the return pulse. Typically the detection and generation time of each of the units is fixed.
To determine these fixed delays, the base and remote units 102 and 104 are preferably calibrated. During the calibration process the remote and base units 104 and 102 are set-up so that they have a known spatial relationship (e.g. the distance between them is known). In some embodiments, this involves plugging the remote unit 104 into the base unit 102 (via the communication port, for example). A test locator pulse is then sent from the base unit 102 to the remote unit 104 and a test return pulse is received and detected. The time to complete the exchange is equal to the fixed delays in the system plus the time for the test pulses to travel between the base and the remote. Since the distance between the base and remote units 102 and 104 is known, the fixed delays can be determined by subtracting the travel time from the measured time. Once the fixed delays are known, they can then be subtracted from the time calculated by the phase difference.
Reference is now made to
The phase-locked loop 1302 receives the notification pulses from the receiver 208 and locks onto the notification pulses. The output of the phase-locked loop 1302 is a signal that is in phase with the notification pulses (and thus the return pulses). For example, if a 10 MHz signal is used to trigger the generation of the locator pulses, the PLL 1302 will produce a 10 MHz clock signal that is in phase with the return pulses received from the remote unit 104. In a preferred embodiment, the phase-locked loop 1302 is a Type II PLL, which, as is known to those of skill in the art, is a PLL that has at least one integrator in the loop.
One advantage of using the PLL 1302 is that it will typically enable accurate recovery of the phase difference even when some of the return pulses are not detected by the receiver 208 or not received at all. For example, if the base unit 102 is not reliably receiving response pulses from the remote unit 104, this will cause the non-PLL embodiment (i.e. embodiment 1200 of
Another advantage of using the PLL 1302 is that it can clean up jitter introduced by the electronic components of the system. However, the PLL 1302 makes the circuit more complex.
In some cases, the detection and generation delay will not be precisely fixed. Therefore, a feedback circuit 1308 may be added to the PLL 1302 feedback loop to smooth out the slight variations in the detection and generation delays. In one embodiment, the feedback circuit 1308 includes a filter (not shown) designed to average a predetermined number of return pulses. The filter (not shown) may be implemented using analog or digital circuitry.
Reference is now made to
The timer 1402 is preferably a device, such as a time to digital converter (TDC) or a time to analog converter (TAC), that can measure or calculate the time between a start pulse and a stop pulse. Typically such timers can accurately measure short periods of time. For example, modern TDCs are accurate to 50 ps.
In the embodiment shown in
In some embodiments, the micro-controller 1404 of
Once the micro-controller 1404 has received the elapsed time from the timer 1402, the micro-controller 1404 uses the elapsed time to determine the distance between the base unit 102 and the remote unit 104. Specifically, since the speed at which a pulse travels through air is known, once the time for a pulse (locator or return) to travel between the base unit 102 and the remote unit 104 is known, the micro-controller can determine the distance between the base unit 102 and the remote unit 104. However, the elapsed time includes more than just the time of flight of the pulses. Specifically, the elapsed time also includes the time for both the base unit 102 and the remote unit 104 to generate a pulse and detect a pulse. These times are typically static and thus can be determined through a calibration process and subtracted from the elapsed time.
In one embodiment, the calibration process involves directly connecting the remote unit 104 and the base unit 102 (e.g. via the communication port). A test locator pulse is then sent from the base unit 102 to the remote unit 104 and a corresponding return pulse is detected at the base unit. The time to complete this pulse exchange is equal to the fixed system delays. This delay time is loaded into the micro-controller 1404 and then subtracted from the elapsed time measured by the timer 1402.
Reference is now made to
The distance measurement unit 1500 of
When the corresponding return pulse is received by the antenna, it is detected by the receiver 208 which generates a corresponding pulse (i.e. notification pulse) that is sent to the timer 1502. This pulse is used as the stop pulse and thus stops the timer 1502.
The distance measurement unit 1500 of
Since the distance measurement unit 1500 of
In some embodiments, the micro-controller 1504 of
Reference is now made to
The receiver 1604 may be implemented in the same manner as the receiver 208 of the base unit 102. For example, the receiver 1604 may be implemented as receiver 208 of
One concern with any battery-operated device is power consumption. In any RF transceiver circuit, it is typically the transmitter that consumes more power than the receiver. However, the transmitter can be deactivated or turned off until it is required to transmit. Accordingly, the greater concern is determining when to turn on and off the receiver unit. Since, even in power optimized designs, receivers can easily consume 330 to 400 mW of power at high frequencies, the receiver cannot be left on all the time without draining the battery.
To address this problem, the base unit 102 and the remote unit 104, each may include a timing circuit (not shown) that is used to control the activation and deactivation of the various components of the base unit 102 and the remote unit 104 respectively to reduce the power consumption. In one embodiment, the timing units use communication windows to determine when to activate and deactivate the corresponding receiver and transmitter.
Specifically, the base unit 102 and the remote unit 104 may go through a synchronization procedure in which (i) their internal clocks are synchronized; and (2) they agree upon predetermined times and predetermined periods in which they will activate their respective transmitters and receivers. An exemplary synchronization procedure will be described with reference to
The problem with this method, however, is that even with very accurate internal clocks, there will be enough drift over time that the clocks will get out of sync.
For example, low power watch crystals with 20 ppm accuracy can get out of sync by more than one second every two days. The problem can be resolved by implementing a clock drift correction procedure in addition to synchronization. In one embodiment, the remote unit 104 adjusts the activation time based on when within the predetermined period the remote unit 104 receives a locator pulse. For example, if the remote unit 104 receiver is activated for 3 ticks, the remote unit 104 timing circuit may adjust the wake up time based on when during those 3 ticks the locator pulse arrives. For example, in one embodiment, if the locator pulse arrives during the first tick, then the remote unit 104 may adjust the receiver wake up time to be 1 tick earlier, and if the locator pulse arrives during the third tick, then the remote unit 104 may adjust the wake up time to be 1 tick later. An exemplary clock drift correction procedure will be described with reference to
Reference is now made to
At step 1704, the base unit 102 transmits an initial synchronization message at a predetermined time to the remote unit 104. For example, in one embodiment, the base unit 102 transmits a real-time clock (RTC) tick to the remote unit 104.
In one embodiment, the base unit 102 maintains a counter that rolls over every second, for example. Typically, the counter counts from 0 to 32,767. In other embodiments, the counter may roll over every half second or every quarter second, for example. In these embodiments, when the counter reaches a predetermined number (e.g. zero) it will send an initial synchronization message (e.g. a real-time clock (RTC) tick) to the first remote unit 104. It uses another predetermined number (e.g. 8,192) for determining when to send an initial synchronization message to a second remote unit, another predetermined number (e.g. 16,384) for determining when to send an initial synchronization message to a third remote unit, and yet another predetermined number (e.g. 24,576) for determining when to send an initial synchronization message to a fourth remote unit, and so on. While the specific numbers associated with each remote unit are not particularly relevant, typically the numbers are generally evenly spaced apart between the beginning counter number and the ending counter number. By selecting a different number for each remote unit 104, the remote units 104 will communicate with the base unit 102 in a fashion that prevents collisions. Once the initial synchronization message is sent, the method 1700 proceeds to step 1706.
At step 1706, the remote unit 104 receives the initial synchronization message and records the time the message was received as T1. The method 1700 then proceeds to step 1708.
At step 1708, the remote unit 104 sends an acknowledge message to the base unit 102 to indicate that the initial synchronization message was successfully received. The method 1700 then proceeds to step 1710.
At step 1710, after a predetermined period of time has elapsed since the sending of the initial synchronization message, the base unit 102 generates and transmits a second synchronization message. In one embodiment, the second synchronization message includes a tick count. In one embodiment, the predetermined period is equal to 1024 ticks. The method then proceeds to decision diamond 1712.
At decision diamond 1712, the remote unit 104 receives the second synchronization message and records the time received as T2. The remote unit 104 then determines if the second synchronization message has been received within an allowed period of time. For example, in some embodiments, the remote unit 104 checks to see if the second synchronization message is received between 1023 and 1025 ticks from the initial or first synchronization message. If the second synchronization message has not been received within the allowed period of time, then the method proceeds to step 1714. If the second synchronization message has been received within the allowed period of time, then the method 1700 proceeds to step 1716.
At step 1714, the remote unit 104 sends an error message to the base unit. The method 1700, then returns to step 1702 where the synchronization is attempted again.
At step 1716, the remote unit 104 determines the appropriate wake up time for its receiver based on when it received the second synchronization message. For example, in one embodiment, if the difference between T2 and T1 is equal to 1023, then the receiver wake time is set to T1-2; if the difference between T2 and T1 is equal to 1024, then the receiver wake time is set to T1-1; and if the difference between T2 and T1 is equal to 1025 then the receiver wake time is set to T1. Once the receiver wake time has been established, the method 1700 ends.
Reference is now made to
At step 1804, the remote unit 104 activates its receiver a predetermined amount of time before the scheduled time and for a predetermined period. After the predetermined period has expired, the remote unit 104 deactivates the receiver. In one embodiment, the remote unit 104 activates its receiver 1.5 ticks prior to the predetermined time and keeps it active for 3 ticks. The method 1800 then proceeds to decision diamond 1806.
At decision diamond 1806, after the predetermined period (i.e. 3 ticks) has expired, the remote unit 104 determines whether it has received a locator pulse. If the remote unit 104 has not received a locator pulse, then the method 1800 proceeds to step 1808. If the remote unit 104 has received a locator pulse then the method 1800 proceeds to decision diamond 1810.
At step 1808, the remote unit 104 determines that it has exceeded the predetermined distance, or the base unit 102 has lost power, and activates the alarm unit 212. The method 1800 then ends here.
At decision diamond 1810, the remote unit 104 determines whether the locator pulse was received during the first portion of the predetermined period, the second portion of the predetermined period, or the third portion of the predetermined period. In one embodiment the predetermined period is three ticks and the three ticks are divided into three equal portions of 1 tick each. If the locator pulse arrived during the first portion of the predetermined period (i.e. during the first tick) the method 1800 proceeds to step 1812. If the locator pulse arrived during the third portion of the predetermined period (i.e. during the third tick), the method 1800 proceeds to step 1814. If the locator pulse arrived during the second portion of the predetermined period (i.e. during the second tick), the method proceeds to 1816.
At step 1812, if the locator pulse arrived during the first portion of the predetermined period (i.e. during the first tick), the remote unit 104 determines that the base unit 102 internal clock is running slightly faster than its own internal clock and to compensate for the drift, the remote unit 104 schedules the next wake up time to be earlier than the predetermined time. For example, in one embodiment, the remote unit 104 adjusts the receiver wake up time to be 1 tick earlier. Once the receiver wake up time has been adjusted, the method 1800 proceeds to step 1816.
At step 1814, if the locator pulse arrived during the third portion of the predetermined period (i.e. during the third tick), the remote unit 104 determines that the base unit 102 internal clock is running slightly slower than its own internal clock and to compensate for the drift, the remote unit 104 schedules the next wake up time to be later than the predetermined time. For example, in one embodiment, the remote unit 104 adjusts the receiver wake up time to be 1 tick later. Once the receiver wake up time has been adjusted, the method 1800 proceeds to step 1816.
At step 1816, the remote unit 104 generates and transmits a corresponding return pulse. The method 1800 then returns to step 1802. While step 1816 is shown in
Reference is now made to
At step 1904, the base unit 102 wirelessly transmits the one or more locator pulses to the remote unit 104. This preferably involves providing the one or more locator pulses to an antenna which converts the one or more locator pulses into electromagnetic waves. Once the one or more locator pulses have been transmitted, the method 1900 proceeds to step 1906.
At step 1906, the remote unit 104 receives the one or more locator pulses transmitted by the base unit 102. The remote unit 104 preferably has an antenna that receives the electromagnetic waves generated by the base unit 102 and converts them into electrical signals. The electrical signals are then provided to a receiver unit, such as receiver 208 of
At step 1908, the remote unit 104 generates one or more return pulses in response to the one or more locator pulses. Typically the remote unit 104 will generate one return pulse for each locator pulse received. The return pulses preferably have the same characteristics as the locator pulses. Specifically, the return pulses are preferably high bandwidth and short duration. The return pulses are also generated in a similar manner to the locator pulses. For example, the return pulses may be generated by combining a carrier signal (e.g. a sinusoidal signal, such as a sine signal) with a modulation signal (e.g. a rectangle signal, a sinc signal, a Gaussian signal etc.). The return pulses may be generated by a transmitter unit, such as transmitter 400 of
At step 1910, the remote unit 104 wirelessly transmits the one or more return pulses to the base unit 102. This preferably involves providing the one or more return pulses to an antenna which converts the one or more return pulses into electromagnetic waves. The antenna may be the same as or different from the antenna used to receive the locator pulses. Once the one or more return pulses have been transmitted, the method 1900 proceeds to step 1912.
At step 1912, the base unit 102 receives the one or more return pulses transmitted by the remote unit 104. The base unit 102 preferably has an antenna that receives the electromagnetic waves generated by the remote unit and converts them into electrical signals. The antenna may be the same as or different from the antenna used to transmit the locator pulses. Once the one or more return pulses have been received, the method 1900 proceeds to step 1914.
At step 1914, the base unit 102 receives the one or more return pulses from the antenna and monitors the return pulses to detect the leading edges. In one embodiment, detecting the leading edge of the return pulses involves monitoring the amplitude of the return pulses and detecting a leading edge when the amplitude of the return pulses exceeds a predetermined threshold. The leading edge detection may be implemented using a receiver unit, such as receiver 208 of
At step 1916, the base unit 102 uses the leading edge information to calculate the distance between the base unit and the remote unit. In one embodiment, the base unit calculates the distance between the base unit and the remote unit by measuring the phase difference between the locator pulses and the return pulses. In another embodiment, the base unit calculates the distance between the base unit and the remote unit by measuring the time of flight of the return pulse. The distance calculation may be performed by a distance measurement unit, such as distance measurement unit 1200 of
At decision diamond 1918, the base unit 102 compares the distance calculated in step 1916 against a predetermined distance or threshold to determine if the distance has exceeded the predetermined distance or threshold. If the predetermined distance or threshold has not been exceeded then the method 1900 returns to step 1902 to repeat the method. If, however, the predetermined distance has been exceeded, the method 1900 proceeds to step 1920.
At step 1920, the base unit 102 activates an alarm or alert. The alarm or alert may be visual or audio or any other type of alert. In some embodiments, the alarm or alert is associated with the base unit 102. In some embodiments, the alarm or alert is associated with the remote unit 104. In other embodiments, the alarm or alert is associated with both the base and remote units 102 and 104. After this step is complete, the method 1900 ends.
The systems and methods described herein preferably produce a distance measurement that is accurate to within 50 cm, and in some cases 10 cm, when the base unit 102 and the remote unit are within 3 m of each other.
While the above description provides examples of the embodiments, it will be appreciated that some features and/or functions of the described embodiments are susceptible to modification without departing from the spirit and principles of operation of the described embodiments. Accordingly, what has been described above has been intended to be illustrative of the invention and non-limiting and it will be understood by persons skilled in the art that other variants and modifications may be made without departing from the scope of the invention as defined in the claims appended hereto.