Random Signals and LTI-Systems
🏃🏻 Getting Started Guide
This document can be executed directly on the Bohrium Notebook. To begin, click the Connect button located at the top of the interface, then select the digital-signal-processing:Digital-Signal-Processing-Lecture Image and choose your desired machine configuration to proceed.
📖 Source
This Notebook is from a famous Signal Processing Lecture. The notebooks constitute the lecture notes to the masters course Digital Signal Processing read by Sascha Spors, Institute of Communications Engineering, Universität Rostock.
This jupyter notebook is part of a collection of notebooks on various topics of Digital Signal Processing. Please direct questions and suggestions to Sascha.Spors@uni-rostock.de.
Power Spectral Densitity
For a wide-sense stationary (WSS) real-valued random process , the power spectral density (PSD) is given as the discrete-time Fourier transformation (DTFT) of the auto-correlation function (ACF)
Under the assumption of a real-valued LTI system with impulse response , the PSD of the output signal of an LTI system is derived by taking the DTFT of the ACF of the output signal
The PSD of the output signal of an LTI system is given by the PSD of the input signal multiplied with the squared magnitude of the transfer function of the system.
Example - Pink Noise
It can be concluded from above findings, that filtering can be applied to a white noise random signal with in order to create a random signal with a desired PSD
where denotes the power per frequency of the white noise. Such a random signal is commonly termed as colored noise. Different application specific types of colored noise exist. One of these is pink noise whose PSD is inversely proportional to the frequency. The approximation of a pink noise signal by filtering is illustrated by the following example. The PSDs and are estimated from and using the Welch technique.
Let's listen to white and pink noise
Cross-Power Spectral Densities
The cross-power spectral densities and between the in- and output of an LTI system are given by taking the DTFT of the cross-correlation functions (CCF) and . Hence,
and
System Identification by Spectral Division
Using the result above for the cross-power spectral density between out- and input, and the relation of the CCF of finite-length signals to the convolution yields
holding for and . Hence, the transfer function of an unknown system can be derived by dividing the spectrum of the output signal through the spectrum of the input signal . This is equal to the definition of the transfer function. However, care has to be taken that the spectrum of the input signal does not contain zeros.
Above relation can be realized by the discrete Fourier transformation (DFT) by taking into account that a multiplication of two spectra results in the cyclic/periodic convolution . Since we aim at a linear convolution, zero-padding of the in- and output signal has to be applied.
Example
We consider the estimation of the impulse response of an unknown system using the spectral division method. Normal distributed white noise with variance is used as wide-sense ergodic input signal . In order to show the effect of sensor noise, normally distributed white noise with the variance is added to the output signal .
Exercise
- Change the length
N
of the input signal. What happens? - Change the variance of the additive noise. What happens?
Solution: Increasing the length N
of the input signal lowers the uncertainty in estimating the impulse response. The higher the variance of the additive white noise, the higher the uncertainties in the estimated impulse response.
Copyright
This notebook is provided as Open Educational Resource. Feel free to use the notebook for your own purposes. The text is licensed under Creative Commons Attribution 4.0, the code of the IPython examples under the MIT license. Please attribute the work as follows: Sascha Spors, Digital Signal Processing - Lecture notes featuring computational examples.