Download presentation
Presentation is loading. Please wait.
Published byFrieda Färber Modified over 5 years ago
1
Correlation, Energy Spectral Density and Power Spectral Density
Chapter 8
2
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Introduction Relationships between signals can be just as important as characteristics of individual signals The relationships between excitation and/or response signals in a system can indicate the nature of the system 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
3
Flow Velocity Measurement
Heater Thermometer The relative timing of the two signals, p(t) and T(t), and the distance, d, between the heater and thermometer together determine the flow velocity. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
4
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Correlograms Signals Correlogram Two Highly Negatively Correlated DT Signals 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
5
Correlograms Signals Correlogram Two Uncorrelated CT Signals 4/6/2019
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
6
Correlograms Signals Correlogram Two Partially Correlated DT Signals
4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
7
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Correlograms Signals Correlogram These two CT signals are not strongly correlated but would be if one were shifted in time the right amount 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
8
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Correlograms DT Sinusoids With a Time Delay CT Sinusoids With a Time Delay Signals Signals Correlogram Correlogram 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
9
Correlograms Signals Correlogram Two Non-Linearly Related DT Signals
4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
10
The Correlation Function
Positively Correlated DT Sinusoids with Zero Mean Uncorrelated DT Sinusoids with Zero Mean Negatively Correlated DT Sinusoids with Zero Mean 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
11
The Correlation Function
Positively Correlated Random CT Signals with Zero Mean Uncorrelated Random CT Signals with Zero Mean Negatively Correlated Random CT Signals with Zero Mean 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
12
The Correlation Function
Positively Correlated CT Sinusoids with Non-zero Mean Uncorrelated CT Sinusoids with Non-zero Mean Negatively Correlated CT Sinusoids with Non-zero Mean 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
13
The Correlation Function
Positively Correlated Random DT Signals with Non-zero Mean Uncorrelated Random DT Signals with Non-zero Mean Negatively Correlated Random DT Signals with Non-zero Mean 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
14
Correlation of Energy Signals
The correlation between two energy signals, x and y, is the area under (for CT signals) or the sum of (for DT signals) the product of x and y. The correlation function between two energy signals, x and y, is the area under (CT) or the sum of (DT) their product as a function of how much y is shifted relative to x. or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
15
Correlation of Energy Signals
The correlation function for two energy signals is very similar to the convolution of two energy signals. Therefore it is possible to use convolution to find the correlation function. It also follows that or or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
16
Correlation of Power Signals
The correlation function between two power signals, x and y, is the average value of their product as a function of how much y is shifted relative to x. If the two signals are both periodic and their fundamental periods have a finite least common period, where T or N is any integer multiple of that least common period. or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
17
Correlation of Power Signals
Correlation of periodic signals is very similar to periodic convolution where it is understood that the period of the periodic convolution is any integer multiple of the least common period of the two fundamental periods of x and y. or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
18
Correlation of Power Signals
4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
19
Correlation of Sinusoids
The correlation function for two sinusoids of different frequencies is always zero. (pp ) 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
20
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Autocorrelation A very important special case of correlation is autocorrelation. Autocorrelation is the correlation of a function with a shifted version of itself. For energy signals, At a shift, t or m, of zero, which is the signal energy of the signal. For power signals, which is the average signal power of the signal. or or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
21
Properties of Autocorrelation
Autocorrelation is an even function. Autocorrelation magnitude can never be larger than it is at zero shift. If a signal is time shifted its autocorrelation does not change. The autocorrelation of a sum of sinusoids of different frequencies is the sum of the autocorrelations of the individual sinusoids. or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
22
Autocorrelation Examples
Three different random DT signals and their autocorrelations. Notice that, even though the signals are different, their autocorrelations are quite similar, all peaking sharply at a shift of zero. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
23
Autocorrelation Examples
Autocorrelations for a cosine “burst” and a sine “burst”. Notice that they are almost (but not quite) identical. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
24
Autocorrelation Examples
4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
25
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Matched Filters A very useful technique for detecting the presence of a signal of a certain shape in the presence of noise is the matched filter. The matched filter uses correlation to detect the signal so this filter is sometimes called a correlation filter It is often used to detect 1’s and 0’s in a binary data stream 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
26
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Matched Filters It has been shown that the optimal filter to detect a noisy signal is one whose impulse response is proportional to the time inverse of the signal. Here are some examples of waveshapes encoding 1’s and 0’s and the impulse responses of matched filters. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
27
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Matched Filters Noiseless Bits Noisy Bits Even in the presence of a large additive noise signal the matched filter indicates with a high response level the presence of a 1 and with a low response level the presence of a 0. Since the 1 and 0 are encoded as the negatives of each other, one matched filter optimally detects both. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
28
Autocorrelation Examples
Two familiar DT signal shapes and their autocorrelations. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
29
Autocorrelation Examples
Three random power signals with different frequency content and their autocorrelations. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
30
Autocorrelation Examples
Autocorrelation functions for a cosine and a sine. Notice that the autocorrelation functions are identical even though the signals are different. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
31
Autocorrelation Examples
One way to simulate a random signal is with a summation of sinusoids of different frequencies and random phases Since all the sinusoids have different frequencies the autocorrelation of the sum is simply the sum of the autocorrelations Also, since a time shift (phase shift) does not affect the autocorrelation, when the phases are randomized the signals change, but not their autocorrelations 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
32
Autocorrelation Examples
Let a random signal be described by Since all the sinusoids are at different frequencies, where is the autocorrelation of 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
33
Autocorrelation Examples
Four Different Random Signals with Identical Autocorrelations 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
34
Autocorrelation Examples
Four Different Random Signals with Identical Autocorrelations 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
35
Autocorrelation Examples
Four Different Random Signals with Identical Autocorrelations 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
36
Autocorrelation Examples
Four Different Random Signals with Identical Autocorrelations 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
37
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Cross Correlation Cross correlation is really just “correlation” in the cases in which the two signals being compared are different. The name is commonly used to distinguish it from autocorrelation. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
38
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Cross Correlation A comparison of x and y with y shifted for maximum correlation. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
39
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Cross Correlation Below, x and z are highly positively correlated and x and y are uncorrelated. All three signals have the same average signal power. The signal power of x+z is greater than the signal power of x+y. 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
40
Correlation and the Fourier Series
Calculating Fourier series harmonic functions can be thought of as a process of correlation. Let Then the trigonometric CTFS harmonic functions are Also, let then the complex CTFS harmonic function is 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
41
Energy Spectral Density
The total signal energy in an energy signal is The quantity, , or , is called the energy spectral density (ESD) of the signal, x and is conventionally given the symbol, Y. That is, It can be shown that if x is a real-valued signal that the ESD is even, non-negative and real. or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
42
Energy Spectral Density
Probably the most important fact about ESD is the relationship between the ESD of the excitation of an LTI system and the ESD of the response of the system. It can be shown (pp ) that they are related by or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
43
Energy Spectral Density
4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
44
Energy Spectral Density
It can be shown (pp ) that, for an energy signal, ESD and autocorrelation form a Fourier transform pair. or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
45
Power Spectral Density
Power spectral density (PSD) applies to power signals in the same way that energy spectral density applies to energy signals. The PSD of a signal x is conventionally indicated by the notation, or In an LTI system, Also, for a power signal, PSD and autocorrelation form a Fourier transform pair. or or 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
46
M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
PSD Concept 4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
47
Typical Signals in PSD Concept
4/6/2019 M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.