Range Estimation Document
Range Estimation Document
Range Estimation Document
In the first chapter need to keep introduction of spread spectrum objective of the project,
motivation of the project
2. Literature survey on the project
3. Second chapter should contain the the fhss and DSSs techniques with block diagrams
4. Third chapter contains the list of algorithms use for finding the range with more detailed
manner
5. Fourth chapter should contains the results u have got
6. Fifth chapter should contains the conclusion and futer scope
7. Appendix should contain the code
CROSS CORRELATION
In signal processing, cross-correlation is a measure of similarity of two waveforms as a function
of a time-lag applied to one of them. This is also known as asliding dot product or sliding innerproduct. It is commonly used for searching a long signal for a shorter, known feature. It has
applications in pattern recognition,single particle analysis, electron
tomography, averaging, cryptanalysis, and neurophysiology.
For continuous functions f and g, the cross-correlation is defined as:
The cross-correlation of functions f(t) and g(t) is equivalent to the convolution of f*(t)
and g(t). I.e.:
If f is Hermitian, then
where
denotes the Fourier transform, and an asterisk again indicates the complex
conjugate. Coupled with fast Fourier transform algorithms, this property is often
exploited for the efficient numerical computation of cross-correlations. (see circular
cross-correlation)
and
, respectively.
The cross-correlation of a pair of jointly wide sense stationary stochastic process can be
estimated by averaging the product of samples measured from one process and samples
measured from the other (and its time shifts). The samples included in the average can be an
arbitrary subset of all the samples in the signal (e.g., samples within a finite time window or
a sub-sampling of one of the signals). For a large number of samples, the average converges to
the true cross-correlation.
Time delay analysis[edit]
Cross-correlations are useful for determining the time delay between two signals, e.g. for
determining time delays for the propagation of acoustic signals across a microphone array.[2]
[3]
After calculating the cross-correlation between the two signals, the maximum (or minimum if
the signals are negatively correlated) of the cross-correlation function indicates the point in time
where the signals are best aligned, i.e. the time delay between the two signals is determined by
the argument of the maximum, or arg max of the cross-correlation, as in
Normalized cross-correlation[edit]
For image-processing applications in which the brightness of the image and template can vary
due to lighting and exposure conditions, the images can be first normalized. This is typically
done at every step by subtracting the mean and dividing by the standard deviation. That is, the
cross-correlation of a template,
with a subimage
is
.
where is the number of pixels in
and
, is the average of f and
is standard
deviation of f. In functional analysis terms, this can be thought of as the dot product of
two normalized vectors. That is, if
and
then the above sum is equal to
where
is the inner product and
is the L norm. Thus, if f and t are real matrices, their
normalized cross-correlation equals the cosine of the angle between the unit vectors F and T,
being thus 1 if and only if F equals T multiplied by a positive scalar.
Normalized correlation is one of the methods used for template matching, a process used for
finding incidences of a pattern or object within an image. It is also the 2-dimensional version
of Pearson product-moment correlation coefficient.
Nonlinear systems[edit]
Caution must be applied when using cross correlation for nonlinear systems. In certain
circumstances, which depend on the properties of the input, cross correlation between the input
and output of a system with nonlinear dynamics can be completely blind to certain nonlinear
effects.[4] This problem arises because some moments can go to zero and this can incorrectly
suggest that there is little correlation between two signals when in fact the two signals are
strongly related by nonlinear dynamics.
Introduction
As spread-spectrum techniques become increasingly popular, electrical engineers outside the
field are eager for understandable explanations of the technology. There are books and websites
on the subject, but many are hard to understand or describe some aspects while ignoring others
(e.g., the DSSS technique with extensive focus on PRN-code generation).
The following discussion covers the full spectrum (pun intended).
A Short History
Spread-spectrum communications technology was first described on paper by an actress and a
musician! In 1941 Hollywood actress Hedy Lamarr and pianist George Antheil described a
secure radio link to control torpedos. They received U.S. Patent #2.292.387. The technology was
not taken seriously at that time by the U.S. Army and was forgotten until the 1980s, when it
became active. Since then the technology has become increasingly popular for applications that
involve radio links in hostile environments.
Typical applications for the resulting short-range data transceivers include satellite-positioning
systems (GPS), 3G mobile telecommunications, W-LAN (IEEE 802.11a, IEEE 802.11b, IEEE
802.11g), and Bluetooth. Spread-spectrum techniques also aid in the endless race between
communication needs and radio-frequency availabilitysituations where the radio spectrum is
limited and is, therefore, an expensive resource.
(Eq. 1)
In this equation, C is the channel capacity in bits per second (bps), which is the maximum data
rate for a theoretical bit-error rate (BER). B is the required channel bandwidth in Hz, and S/N is
the signal-to-noise power ratio. To be more explicit, one assumes that C, which represents the
amount of information allowed by the communication channel, also represents the desired
performance. Bandwidth (B) is the price to be paid, because frequency is a limited resource. The
S/N ratio expresses the environmental conditions or the physical characteristics (i.e., obstacles,
presence of jammers, interferences, etc.).
There is an elegant interpretation of this equation, applicable for difficult environments, for
example, when a low S/N ratio is caused by noise and interference. This approach says that one
can maintain or even increase communication performance (high C) by allowing or injecting
more bandwidth (high B), even when signal power is below the noise floor. (The equation does
not forbid that condition!)
Modify Equation 1 by changing the log base from 2 to e (the Napierian number) and by noting
that ln = loge. Therefore:
C/B = (1/ln2) ln(1 + S/N) = 1.443 ln(1 + S/N)
(Eq. 2)
(Eq. 3)
S/N is usually low for spread-spectrum applications. (As just mentioned, the signal power
density can even be below the noise level.) Assuming a noise level such that S/N << 1, Shannon's
(Eq. 4)
Very roughly:
C/B S/N
(Eq. 5)
Or:
N/S B/C
(Eq. 6)
To send error-free information for a given noise-to-signal ratio in the channel, therefore, one
need only perform the fundamental spread-spectrum signal-spreading operation: increase the
transmitted bandwidth. That principle seems simple and evident. Nonetheless, implementation is
complex, mainly because spreading the baseband (by a factor that can be several orders of
magnitude) forces the electronics to act and react accordingly, which, in turn, makes the
spreading and despreading operations necessary.
Definitions
Different spread-spectrum techniques are available, but all have one idea in common: the key
(also called the code or sequence) attached to the communication channel. The manner of
inserting this code defines precisely the spread-spectrum technique. The term "spread spectrum"
refers to the expansion of signal bandwidth, by several orders of magnitude in some cases, which
occurs when a key is attached to the communication channel.
The formal definition of spread spectrum is more precise: an RF communications system in
which the baseband signal bandwidth is intentionally spread over a larger bandwidth by injecting
a higher frequency signal (Figure 1). As a direct consequence, energy used in transmitting the
signal is spread over a wider bandwidth, and appears as noise. The ratio (in dB) between the
spread baseband and the original signal is called processing gain. Typical spread-spectrum
processing gains run from 10dB to 60dB.
To apply a spread-spectrum technique, simply inject the corresponding spread-spectrum code
somewhere in the transmitting chain before the antenna (receiver). (That injection is called the
spreading operation.) The effect is to diffuse the information in a larger bandwidth. Conversely,
you can remove the spread-spectrum code (called a despreading operation) at a point in the
receive chain before data retrieval. A despreading operation reconstitutes the information into its
original bandwidth. Obviously, the same code must be known in advance at both ends of the
transmission channel. (In some circumstances, the code should be known only by those two
parties.)
Figure 2. Spreading operation spreads the signal energy over a wider frequency bandwidth.
Spread-spectrum modulation is applied on top of a conventional modulation such as BPSK or
direct conversion. One can demonstrate that all other signals not receiving the spread-spectrum
code will remain as they are, that is, unspread.
Figure 4. The same frequency band can be shared by multiple users with spread-spectrum
techniques.
There are many benefits to spread-spectrum technology. Resistance to interference is the most
important advantage. Intentional or unintentional interference and jamming signals are rejected
because they do not contain the spread-spectrum key. Only the desired signal, which has the key,
will be seen at the receiver when the despreading operation is exercised. See Figure 5.
Figure 5. A spread-spectrum communication system. Note that the interferer's energy is spread
while the data signal is despread in the receive chain.
You can practically ignore the interference, narrowband or wideband, if it does not include the
key used in the despreading operation. That rejection also applies to other spread-spectrum
signals that do not have the right key. Thus different spread-spectrum communications can be
active simultaneously in the same band, such as CDMA. Note that spread spectrum is a
wideband technology, but the reverse is not true: wideband techniques need not involve spreadspectrum technology.
Resistance to Interception
Resistance to interception is the second advantage provided by spread-spectrum techniques.
Because nonauthorized listeners do not have the key used to spread the original signal, those
listeners cannot decode it. Without the right key, the spread-spectrum signal appears as noise or
as an interferer. (Scanning methods can break the code, however, if the key is short.) Even better,
signal levels can be below the noise floor, because the spreading operation reduces the spectral
density. See Figure 6. (Total energy is the same, but it is widely spread in frequency.) The
message is thus made invisible, an effect that is particularly strong with the direct-sequence
spread-spectrum (DSSS) technique. (DSSS is discussed in greater detail below.) Other receivers
cannot "see" the transmission; they only register a slight increase in the overall noise level!
Figure 6. Spread-spectrum signal is buried under the noise level. The receiver cannot "see" the
transmission without the right spread-spectrum keys.
Figure 7. Illustration of how the signal can reach the receiver over multiple paths.
The reflected path (R) can interfere with the direct path (D) in a phenomenon called fading.
Because the despreading process synchronizes to signal D, signal R is rejected even though it
contains the same key. Methods are available to use the reflected-path signals by despreading
them and adding the extracted results to the main one.
Figure 10. CDMA systems access the same frequency band with unique keys or codes.
One can, of course, combine the above access methods. GSM, for instance, combines TDMA and
FDMA. GSM defines the topological areas (cells) with different carrier frequencies, and sets
time slots within each cell.
Figure 12. Several spreading techniques are applied at different stages of the transmit chain.
If the PRN is inserted at the data level, this is the direct-sequence form of spread spectrum
(DSSS). (In practice, the pseudo-random sequence is mixed or multiplied with the information
signal, giving an impression that the original data flow was "hashed" by the PRN.) If the PRN
acts at the carrier-frequency level, this is the frequency-hopping form of spread spectrum
(FHSS). Applied at the LO stage, FHSS PRN codes force the carrier to change or "hop"
according to the pseudo-random sequence. If the PRN acts as an on/off gate to the transmitted
signal, this is a time-hopping spread-spectrum technique (THSS). There is also the "chirp"
technique, which linearly sweeps the carrier frequency in time.
One can mix all the above techniques to form a hybrid spread-spectrum technique, such as DSSS
+ FHSS. DSSS and FHSS are the two techniques most in use today.
frequency.
The main lobe of this spectrum (null to null) has a bandwidth twice the clock rate of the
modulating code, and the side lobes have null-to-null bandwidths equal to the code's clock rate.
Illustrated in Figure 13 is the most common type of direct-sequence-modulated spread-spectrum
signal. Direct-sequence spectra vary somewhat in spectral shape, depending on the actual carrier
and data modulation used. Below is a binary phase shift keyed (BPSK) signal, which is the most
common modulation type used in direct-sequence systems.
Figure 13. Spectrum-analyzer photo of a DSSS signal. Note the original signal (nonspread)
would only occupy half of the central lobe.
(LFHSS). The latter method, the most common, allows several consecutive data bits to modulate
the same frequency. FFHSS is characterized by several hops within each data bit.
The transmitted spectrum of a frequency-hopping signal is quite different from that of a directsequence system. Instead of a ((sin x)/x)-shaped envelope, the frequency hopper's output is flat
over the band of frequencies used (see Figure 14). The bandwidth of a frequency-hopping signal
is simply N times the number of frequency slots available, where N is the bandwidth of each hop
channel.
Definition[edit]
Consider estimation of
family of densities
estimator
based on data
i.i.d. from some member of a
, where is the parameter space. An unbiased
of
is UMVUE if
, and that
is a complete
the MVUE minimizes MSE among unbiased estimators. In some cases biased estimators have
lower MSE because they have a smaller variance than does any unbiased estimator; see estimator
bias.
Example[edit]
Consider the data to be a single observation from an absolutely continuous distribution on
with density
Therefore
Clearly
This example illustrates that an unbiased function of the complete sufficient statistic will be
UMVU.
Other examples[edit]
For a normal distribution with unknown mean and variance, the sample mean and
(unbiased) sample variance are the MVUEs for the population mean and population variance.
However, the sample standard deviation is not unbiased for the population standard deviation
see unbiased estimation of standard deviation.
Further, for other distributions the sample mean and sample variance are not in general MVUEs
for a uniform distribution with unknown upper and lower bounds, the mid-range is the MVUE
for the population mean.
If k exemplars are chosen (without replacement) from a discrete uniform distribution over the set
{1, 2, ..., N} with unknown upper bound N, the MVUE for N is
where m is the sample maximum. This is a scaled and shifted (so unbiased) transform of the
sample maximum, which is a sufficient and complete statistic. See German tank problem for
details.
Phase Shift Method for Distance Measurements
Laser range finders are often based on the phase shift method, a technique for measuring
distances in the following way. A laser beam with sinusoidally modulated optical power is sent to
a target. Some reflected light (from diffuse or specular reflections) is monitored, and the phase of
the power modulation is compared with that of the sent light. The phase shift obtained is 2times
the time of flight times the modulation frequency. This shows that higher modulation frequencies
can result in a higher spatial resolution.
Although the phase shift is directly proportional to the time of flight, the term time-of-flight
method should be reserved to case where one really measures a delay time more directly.
As for an interferometer, the phase shift method involves an ambiguity regarding the measured
distance, because with increasing distance the phase will vary periodically. However, the
periodicity is much larger than in an interferometer, since the modulation frequency is much
lower than the optical frequency. Also, the ambiguity can easily be removed, e.g. by measuring
with two different modulation frequencies.
Compared with interferometers, devices based on the phase shift technique are less accurate, but
they allow unambiguous measurements over larger distances. Also, they are suitable for targets
with diffuse reflection from a rough surface.
Different Realizations
The power modulation may be obtained with an electro-optic modulator, acting on a continuouswave laser beam. Modulation frequencies of many megahertz or even multiple gigahertz are
easily obtained. A resonant type of modulator can be operated with relatively low input voltage,
but only with a small range of modulation frequencies, making the removal of the mentioned
ambiguity more difficult.
Some kinds of lasers, particularly laser diodes, can be modulated directly via the drive current at
frequencies in the megahertz domain or even higher.
A special kind of power modulation is achieved by using a mode-locked laser. Advantages are
the high modulation frequency (allowing for high accuracy) and (for passive mode locking) that
no optical modulator is required.
The use of a laser beam allows to realize a laser radar, where an image is formed by scanning
the laser beam direction in two dimensions. However, imaging systems can also be made with
one or several current-modulated light-emitting diodes (LEDs) illuminating the whole object
area. The spatial resolution is then obtained via imaging detection. There are optoelectronic chips
with two-dimensional sensor arrays, being able to measure the phase shift for each pixel.
hopping
is
one
of
two
used
inspread
Spread spectrum modulation techniques have become more common in recent years. Spread
spectrum enables a signal to be transmitted across a frequency band that is much wider than the
minimum bandwidth required by the information signal. The transmitter "spreads" the energy,
originally concentrated in narrowband, across a number of frequency band channels on a wider
electromagnetic spectrum. Benefits include improved privacy, decreased narrowband
interference, and increased signal capacity.
In an FH-CDMA system, a transmitter "hops" between available frequencies according to a
specified algorithm, which can be either random or preplanned. The transmitter operates in
synchronization with a receiver, which remains tuned to the same center frequency as the
transmitter. A short burst of data is transmitted on a narrowband. Then, the transmitter tunes to
another frequency and transmits again. The receiver thus is capable of hopping its frequency over
a given bandwidth several times a second, transmitting on one frequency for a certain period of
time, then hopping to another frequency and transmitting again. Frequency hopping requires a
much wider bandwidth than is needed to transmit the same information using only one carrier
frequency.
The spread spectrum approach that is an alternative to FH-CDMA is direct sequence code
division multiple access (DS-CDMA), which chops the data into small pieces and spreads them
across the frequency domain. FH-CDMA devices use less power and are generally cheaper, but
the performance of DS-CDMA systems is usually better and more reliable. The biggest
advantage of frequency hopping lies in the coexistence of several access points in the same area,
something not possible with direct sequence.
Certain rules govern how frequency-hopping devices are used. In North America, the Industrial,
Scientific, and Medial (ISM) waveband is divided into 75 hopping channels, with power
transmission not to exceed 1 watt on each channel. These restrictions ensure that a single device
does not consume too much bandwidth or linger too long on a single frequency.
The Federal Communications Commission (FCC) has amended rules to allow frequency hopping
spread spectrum systems in the unregulated 2.4 GHz band. The rule change is designed to allow
wider bandwidths, thus enabling Internet devices to operate at higher speeds and fostering
development of wireless LANs and wireless cable modems.
Movie star Hedy Lamarr is generally credited as co-originator of the idea of spread spectrum
transmission. She and her pianist were issued a patent for the technique during World War II.
They discovered the technique using a player piano to control the frequency hops, and
envisioned it as a way to provide secure communications during wartime. The pair never made
any money off the invention and their patent eventually expired. Sylvania introduced a similar
concept in the 1950s and coined the term "spread spectrum."
Military use
Spread-spectrum signals are highly resistant to deliberate jamming, unless the adversary has
knowledge of the spreading characteristics. Military radios use cryptographictechniques to
generate the channel sequence under the control of a secret Transmission Security
Key (TRANSEC) that the sender and receiver share in advance.
By itself, frequency hopping provides only limited protection against eavesdropping and
jamming. Most modern military frequency hopping radios also employ separate encryption
devices such as the KY-57. U.S. military radios that use frequency hopping include the
JTIDS/MIDS family, HAVE QUICK and SINCGARS.
Civilian use
In the US, since the Federal Communications Commission (FCC) amended rules to allow
frequency hopping spread spectrum systems in the unregulated 2.4 GHz band, many consumer
devices in that band have employed various spread-spectrum modes.
Some walkie-talkies that employ frequency-hopping spread spectrum technology have been
developed for unlicensed use on the 900 MHz band. Several such radios are marketed under the
name eXtreme Radio Service (eXRS). Despite the name's similarity to the FRS allocation, the
system is a proprietary design, rather than an official U.S. Federal Communications Commission
(FCC) allocated service.
Motorola has deployed a business banded, license free digital radio that uses FHSS technology:
the DTR series, models 410, 550 and 650.
Variations of FHSS
Adaptive Frequency-hopping spread spectrum (AFH) (as used in Bluetooth) improves resistance
to radio frequency interference by avoiding crowded frequencies in the hopping sequence. This
sort of adaptive transmission is easier to implement with FHSS than with DSSS.
The key idea behind AFH is to use only the good frequencies, by avoiding the "bad" frequency
channelsperhaps those "bad" frequency channels are experiencing frequency selective fading,
or perhaps some third party is trying to communicate on those bands, or perhaps those bands are
being actively jammed. Therefore, AFH should be complemented by a mechanism for detecting
good/bad channels.
However, if the radio frequency interference is itself dynamic, then the strategy of bad channel
removal, applied in AFH might not work well. For example, if there are several colocated
frequency-hopping networks (as Bluetooth Piconet), then they are mutually interfering and the
strategy of AFH fails to avoid this interference.
In this case, there is a need to use strategies for dynamic adaptation of the frequency hopping
pattern.[3] Such a situation can often happen in the scenarios that use unlicensed spectrum.
In addition, dynamic radio frequency interference is expected to occur in the scenarios related
to cognitive radio, where the networks and the devices should exhibit frequency-agileoperation.
Chirp modulation can be seen as a form of frequency-hopping that simply scans through the
available frequencies in consecutive order to communicate.
DSSS
In telecommunications, direct-sequence spread spectrum (DSSS) is a modulation technique. As
with other spread spectrumtechnologies, the transmitted signal takes up more bandwidth than the
information signal that modulates the carrier or broadcast frequency. The name 'spread spectrum'
comes from the fact that the carrier signals occur over the full bandwidth (spectrum) of a device's
transmitting frequency. Certain IEEE 802.11 standards use DSSS signaling.
Direct sequence spread spectrum, also known as direct sequence code division multiple access
(DS-CDMA), is one of two approaches to spread spectrum modulation for digital signal
transmission over the airwaves. In direct sequence spread spectrum, the stream of information to
be transmitted is divided into small pieces, each of which is allocated across to a frequency
channel across the spectrum. A data signal at the point of transmission is combined with a higher
data-rate bit sequence (also known as a chipping code) that divides the data according to a
spreading ratio. The redundant chipping code helps the signal resist interference and also enables
the original data to be recovered if data bits are damaged during transmission.
Direct sequence contrasts with the other spread spectrum process, known as frequency hopping
spread spectrum, or frequency hopping code division multiple access (FH-CDMA), in which a
broad slice of the bandwidth spectrum is divided into many possible broadcast frequencies. In
general, frequency-hopping devices use less power and are cheaper, but the performance of DSCDMA systems is usually better and more reliable.
Spread spectrum first was developed for use by the military because it uses wideband signals that
are difficult to detect and that resist attempts at jamming. In recent years, researchers have turned
their attention to applying spread spectrum processes for commercial purposes, especially in
local area wireless networks.
Features
1. DSSS phase-shifts a sine
continuous string of pseudonoise (PN) code symbols called "chips", each of which has a
much shorter duration than an information bit. That is, each information bit is modulated
by a sequence of much faster chips. Therefore, the chip rate is much higher than
the information signal bit rate.
2. DSSS uses a signal structure in which the sequence of chips produced by the transmitter
is already known by the receiver. The receiver can then use the same PN sequence to
counteract the effect of the PN sequence on the received signal in order to reconstruct the
information signal.
Transmission method
Direct-sequence spread-spectrum transmissions multiply the data being transmitted by a "noise"
signal. This noise signal is a pseudorandom sequence of 1 and 1 values, at a frequency much
higher than that of the original signal.
The resulting signal resembles white noise, like an audio recording of "static". However, this
noise-like signal is used to exactly reconstruct the original data at the receiving end, by
multiplying it by the same pseudorandom sequence (because 1 1 = 1, and 1 1 = 1). This
process, known as "de-spreading", mathematically constitutes a correlation of the transmitted PN
sequence with the PN sequence that the receiver already knows the transmitter is using.
The resulting effect of enhancing signal to noise ratio on the channel is called process gain. This
effect can be made larger by employing a longer PN sequence and more chips per bit, but
physical devices used to generate the PN sequence impose practical limits on attainable
processing gain.
If an undesired transmitter transmits on the same channel but with a different PN sequence (or no
sequence at all), the de-spreading process has reduced processing gain for that signal. This effect
is the basis for the code division multiple access (CDMA) property of DSSS, which allows
multiple
transmitters
to
share
the
same
channel
within
the
limits
of
thecross-
Uses
The
United
States GPS,
navigation systems; earlier GLONASS used DSSS with a single PN code in conjunction
with FDMA, while latter GLONASS used DSSS to achieve CDMA with multiple PN codes.
DS-CDMA
(Direct-Sequence
Code
Division
Multiple
Access)
is
a multiple
access scheme based on DSSS, by spreading the signals from/to different users with different
codes. It is the most widely used type of CDMA.
Cordless phones operating in the 900 MHz, 2.4 GHz and 5.8 GHz bands
IEEE
and
its
predecessor 802.11-1999.
(Their
IEEE 802.15.4 (used, e.g., as PHY and MAC layer for ZigBee, or, as the physical layer
for WirelessHART)
Early peak serrch:::::::::A peak-search method for high resolution gamma-ray spectroscopy,
based entirely on spectrum convolution, is presented. The detection of the peak and
determination of the peak position, width and area can be realized in successive steps,
independent of each other. To realize each of the steps, the spectrum is convoluted with an
appropriate near-optimal function. Analytical expressions for the uncertainties of positions, areas
and widths can be derived. For resolving doublets the standard least-square technique is used, but
on the convoluted spectra, avoiding the problems associated with the background component.
The performance of the software package based on the proposed method was successfully tested
against two standard sets of test spectra of the International Atomic Energy Agency and
intercomparison with other peak-search packages proves that the proposed approach is robust
and reliable.
Based on the preceding sections, an ``obvious'' method for deducing sinusoidal parameters from
data is to find the amplitude, phase, and frequency of each peak in a zero-padded FFT of the
data. We have considered so far the following issues:
1.
Make sure the data length (or window length) is long enough so that all sinusoids in the
data are resolved.
2.
Use enough zero padding so that the spectrum is heavily oversampled, making the peaks
easier to interpolate.
3.
Use quadratic interpolation of the three samples surrounding a dB-magnitude peak in the
heavily oversampled spectrum.
4.
Evaluate the fitted parabola at its extremum to obtain the interpolated amplitude and
frequency estimates for each sinusoidal component.
5.
Similarly compute a phase estimate at each peak frequency using quadratic or even linear
interpolation on the unwrappedphase samples about the peak.
Time of flight
Timeofflight (TOF) estimation is the process of determining the relative shift D between a
reference x(t) (or transmitted) signal and delayed s(t) (or received) signal:
x(t) = r(t)+ gx(t)
(1a)
s(t) = r(t . D)+ gs(t)
(1b)
where the x(t) consists of a reference signal r(t), and Gaussian noise gx(t), while the s(t) consists
of the time delayed version of the reference signal r(t-D), and Gaussian noise gs(t). Additionally
let us assume that the noise signals are uncorrelated with each other and with the reference
signal.
The TOF lies at the core of many modern signalprocessing algorithms. In medical ultrasound for
example, the TOF is employed in blood flow estimation, tissue motion measurement, tissue
elasticity estimation and a number of other algorithms. To these and numerous other algorithms
the TOF accuracy and computational cost are critical important.
The TOF has been widely and meticulously studied over the past forty years. Early work focused
on applications in radar and sonar. While efforts over the past two decades have broadened to
include speech processing, medical imaging, and a broad array of other applications, classical
TOF there are a few approaches depending on the reference signal and other conditions.
TOF measurement methods when the reference signal is random or when TOF measurement is
based on direct time-to-digital conversion have been analyzed in studied literature [12-16]. A
some kind of critical point inside the signal, where the signal energy have maximum value or
other conditions are detected, is applied to the signal for determining a point of measurement
(positive or negative slope zero crossing, maximum value, a special marker, etc.). The
disadvantage of the method is that a signal-tonoise ratio could be changed only by increasing the
power of used signals. There are physical and other limitations on a maximal energy used in the
measurement.
For the case of a deterministic reference signal, the classical methods are generally based on the
second order statistics [2], notably computing the lag for which the cross-correlation between the
reference and the delayed signal have a maximum value. Another popular method involves the
minimization of the squared error (a least squares approach) between the signals for different
lags. The advantage of the statistical methods is so called process gain means that the signalto-noise ratio could be increased by increasing the length (or bandwidth) of the reference signal
[1]. Up to 60 dB process gain is available in practical situations. The higher gain is limited by
a sampling jitter and clock stability. A popular method to estimate the time delay is to search for
the global extreme R(tm) of the crosscorrelation function [3]:
As the true value of D is not an integer, the estimate may be improved by the well-known
parabolic fit:
The biggest disadvantage of this method is a slow convergence rate. [5] Hundreds or even
thousands of iteration cycles are required to achieve a high TOF resolution.
Estimation of range is used in many applications like interactive games, discovery of resources,
tracking, navigation calculation. Some of the range measurement techniques have been
introduced in which different technologies are used such as lasers, infrared, radio frequency,
and ultrasonic signals. Many range measurement techniques have been proposed in the
literature[1]-[9]. A TOF method used in range measurement systems depends on measuring the
time taken for a signal to travel between a transmitter and a receiver and the distance between
the transmitter and the receiver is calculated by multiplying the estimated TOF and velocity. The
delay of the peak of the cross-correlation between the transmitted and received signals can be
used to estimate the TOF relative to a radio frequency. Similarly a phase-shift method is used to
estimate the distance between the transmitter and the receiver by measuring the phase difference
between the transmitted signals and received signals. The phase-shift method is typically more
accurate than the cross-correlation-based method. However, with the phase-shift method, the
maximum range that can be estimated is limited to one wavelength of the transmitted signal.
In this paper two signal generation techniques are used like frequency-hop spread
spectrum (FHSS) and direct sequence spread sequence (DSSS) which are robust to typical
signaling impairments, i.e., noise, multipath, and interference. The cross-correlation TOF
estimation with earliest peak search is also applied. A minimum variance search technique is
used to correct errors in the cross correlation to estimate within one wavelength of the carrier
before adding the phase shift for sub wavelength range refinement. The accuracy of the method
is assessed in simulation.
The rest of this paper is structured as follows: Section II discusses related work. Section
III explains the proposed method Section IV details Simulation and experimental results are
provided in Section V concludes this paper.
The phase-shift method is the basic technique used to estimate the range. However, the
maximum range that can be estimated using this technique alone is limited to one wavelength of
the carrier frequency. A frequency-change detection and phase-shift method using a binary
frequency-shift-keyed signal was proposed [4]. This technique uses a frequency-change detector
to estimate the TOF and refine the estimate by adding the phase shift measured by a digital phase
meter.
The cross-correlation is first used to estimate the TOF and a phase-shift method is applied
to refine the final result to gain better accuracy. This method gives good results when the
accuracy of the cross-correlation stage is within one wavelength of the carrier, but if the output
of the cross-correlation stage is in error by more than one wavelength of the carrier, then the
phase-shift refining stage cannot correct this error and it appears in the final estimate as a
significant range error.
Narrowband systems are not robust in-band noise and are highly affected by multipath
caused by reflections from walls and surrounding obstacles proposed the use of wideband
signaling with direct sequence spread spectrum (DSSS) modulation to improve performance
under the conditions of noise and reverberation. In [28], FHSS modulation was shown to provide
robustness to multipath and noise and was found to outperform both DSSS and impulsive
signaling.
1) Cross-Correlation: A coarse estimate of the signal TOF between the transmitter and the
receiver can be obtained by finding the delay of the earliest peak of the cross-correlation of the
received signal with respect to the reference transmitted signal. The TOF is the delay associated
with the peak in samples (ncross) multiplied by the sample period (1/Fs). The estimated distance
between the transmitter and the receiver can be calculated as
Lcross ncross c / Fs
where c is the propagation speed of sound in air and Fs is the sampling frequency used for signal
acquisition. The maximum range that can be estimated using cross correlation extends as far as
the received signal has reasonable signal-to-noise ratio (SNR). The finest time resolution that can
be obtained using cross-correlation is limited to 0.5/Fs. For better resolution, higher sampling
rates are required. In addition, the delay of the cross-correlation peak can be in error by one or
more samples due to noise.
2) Earliest Peak Search: The peak associated with the correct delay is not always the highest
peak. In some cases, the direct path can experience attenuation, giving it a lower cross
correlation peak than indirect multipaths. In other cases, a number of indirect paths can combine
to produce a peak that is greater than the one associated with the direct path. Herein, a search
mechanism is applied to find the earliest arriving cross correlation peak above the noise floor
[30]. The earliest peak is assumed to belong to the direct path that gives the correct TOF. The
highest cross-correlation peak is first found, and then, a search back mechanism is applied to
search for the earliest peak with amplitude greater than 0.7 of the highest peak. The 0.7 ratio was
determined experimentally. It was found to be sufficiently high, so that early peaks are above the
noise floor, even at low SNRs, and sufficiently low to guarantee detection of the direct path peak,
even with strong reflections.
3) Phase-Shift Calculation: From the previous cross correlation stage, an estimate for the
distance Lcross is obtained. The phase shift is used to refine this distance estimate. An error
deltaL between the estimated distance Lcross and the true distance L is assumed. This error can
be written as
deltaL L Lcross
The phase-shift method is used to estimate! L with high accuracy and refine the final estimate of
the distance L. Consider that the received signal is
y (t ) s (t L / c ) n(t )
where s(t) is the transmitted signal, n(t) is random noise, and c is the sound propagation velocity.
The phase shift between y(t) and x(t) gives an estimate of deltaL. This estimated deltaLcap is
then used to refine the final range estimate as follows:
Lcap Lcross deltaLcap
Since the FHSS signals carrier frequency varies with time, a phase shift is calculated for each
hop. A cross-spectral density method is used to calculate the phase shift of the received signal
y(t) relative to x(t), which is the known transmitted signal delayed according to Lcross. The
following equations explain calculation of phase shift for each individual hop
G xy ( w) x ( w) y * ( w)
where Gxy is the cross-spectral density, $ is the radian frequency which is assumed to be
discrete, X(w) and Y(w) are the discrete Fourier transforms. Gxy(w) can be related to the
transmitted signal s(t) by
G xy ( w) G ss ( w)e jwt E
where Gss(w) is an estimate of the real cross-spectral density of the transmitted signal s(t). The
standard deviation of the phase estimate is approximated by
C xy ( w)
(G xy ( w)) 2
G xx ( w)G yy ( w)
the maximum refinement range that can be achieved by the phase shift without ambiguity is
limited to c/2Fc, i.e., half the wavelength of the carrier frequency.
4) Minimum Variance Analysis: Clearly, the phase-shift method fails when the error in the crosscorrelation range estimate is greater than the maximum refinement range.
Here in the proposed project we will be calculating the signal gain my making use of norm
method. Consider a signal s(t) and the received signal y(t) hence the L1norm can be defined as
L1norm=
s (t ) y (t )
y (t ) ) 2