Where the formula of infinite geometric serics (
Equation ) has been used. Since m<0, we can write
- For
, v(n) is shifted to the right, the summation lower limit is n = m :
Let’s make a change of variable k = n – m to get
Where the formula finite geometric serics (
Equation ) has been used. Since m
0, we can write
On combining the two parts, the overall cross-correlation results
Auto-correlation
Auto-correlation of a signal x(n) is the cross-correlation with itself :
or equivalently
At m = 0 (no shifting yet) the auto-correlation is maximum because the signal superimposes completely with itself. The correlation decreases as m increases in both directions.
The auto-correlation is an even symmetric function of m :
Find the expression for the auto-correlation of the signal given in Example 2.8.2
Solution
We have
Since
iseven symmetric we need to compute only the
for m
0 then generalize the result for the correlation.
For
Make a change of varible k = n – m as in previous example :
,
Above result is for
. Now for all m we just write
for m because of the even symmetry of the auto-correlation. So
Correlation and data communication
Consider a digital signal x(n) transmitted to the far end of the communication channel. It reaches the receiver
samples later, becoming x(n - n
), and it is also added with random noise z(n). Thus the total signal at the receiver is
Now let’s look at the cross-correlation betwwen y(n) and x(n) :
The result shows that the cross-correlation consists of two compoments : The auto-correlation
of the transmitted signal but shifted in time, and the cross-correlation
between the transmitted signal x(n) and corrupting noise z(n). The meaning is that
is usually larger than
and has peak at m = n
, whereas
is usually smaller due to the random nature of noise and the independence of the signal and noise. Thus by examining
we know the delay
of receiving signal.
Consider the transmitted signal and corrupting noise as follows
The noise, generated by a random noise generator programme, has uniform destribution with amplitudes in the interval (-1, 1). The signal received at receiver is
Find the cross-correlation
.
Solution
Without going details of evalution, only the results are mentioned :
- Auto-correlation of x(m) :
- Cross-correlation beween x(n) and z(n) :
- Cross-correlation beween y(n) and x(n) :
The highest value 38.2 of
oceurs at index m = 1 as expected.
Correlation of periodic signals
For two period signals x(n) and v(n) having the same period of N indices (samples), the cross-correlation and auto-correlation are defined as
The two correlations also have a period of N samples.
Now let’s look at an application. The signal y(n) arrving at the receiver consists of the transmitted signal x(n) and adding noise z(n) :
The auto-correlation of the received signal for a duration of M samples, M is much greater than N, is
On replacing the expression of y(n) into above auto-correlation, we obtain
Because the signal x(n) is periodic with period N, the auto-correlation
is also periodic with peaks at m = 0, N, 2N ... The cross-correlation
(m) are Rzx(m) of the signal and noise are rather small because the signal and noise are uncorrelated. The last term Rzz(m) is the auto-correlation of noise, it has peak at m = 0 and decays fast to zero due to its random nature. Thus it remains
the largest. This feature allows us to detect the periodic signal x(n) even if the adding noise has amplitude comparable to that of the signal or even much higher. This method of correlation has been used to determine the
pitch (fundamental frequency) of voice and music buried in noise.