DOC PREVIEW
UK EE 422G - Lab 2 Noise Analysis

This preview shows page 1-2-3 out of 9 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EE 422G - Signals and Systems Laboratory Lab 2 Noise Analysis Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 15, 2011 Objectives: - Use Matlab to simulate noise signals. - Use the Histogram, Autocorrelation, and Power Spectral Density to analyze noise. 1. Background Noise is a process that cannot be predicted without error (using explicit functions/formulae). Noise is therefore characterized as a random variable (RV), which is a function that maps an event into a real number. The behavior of the RV associated with the noise can be described with a probability density function (PDF). Statistics are often used to describe noise amplitude fluctuations, such as means, variances, and root mean square (RMS) values. The most common noise model is a zero-mean and independent Gaussian process. The power of the noise signal is equivalent to the variance for the zero mean case (RMS equivalent to the standard deviation). If noise is uncorrelated from sample to sample, it does not influence other samples, and therefore cannot be estimated or predicted from neighboring samples. If, on the other hand, correlation exists between samples, then the correlation statistic can be used to predict a sample from its neighbors. So in addition to describing the signal amplitude fluctuations, correlation between time samples must also be characterized. This is done with the autocorrelation (AC) function in the time domain or the power spectral density (PSD) in the frequency domain. This lab focuses on simulating and analyzing noise signals with characteristics based on the PSD and PDF. Probability Density Function: Consider the event of making a measurement when no signal is present. Whatever is measured in this case is noise. Let v[n] be a voltage value corresponding to a sample noise signal measurement whose amplitude distribution is described by the PDF )(vpV. In the case of Gaussian distributed noise, the PDF is given by: 2222)(exp21)(vvpV (1) where µ is the mean and  is the standard deviation (2 is the variance). The mean or expected value of v is computed from the PDF by: dvvpvv)(][E (2) where E[] is the expected value operator. If estimated from the data, the mean is computed from a simple average, often referred to as the sample mean: 10][1ˆNnnvN (3) Matlab’s function mean() implements the formula in Eq. (3). The variance is computed from the PDF by:  dvpvvv)(222E (4) Equation (4) can be expressed in several other useful forms by applying the linearity properties of the expected value operator: 2222222 2 2  vvvvv EEEE (5) The variance can be computed from data (sample variance) with the following formula: 21021022ˆ])[(1)ˆ][(1ˆNnNnnvNnvN (6) Matlab’s function std() implements the above formula and then takes it square root to result in the standard deviation estimate (or equivalently the RMS value of a zero-mean signal). Note that the above equation is equivalent to the formula for power if the signal is zero-mean. The probably that a RV occurs within a range of values is computed from the integral of the PDF. The probably of bva is given by: baVdvvpbva )(Pr (7) The Gaussian distribution does not have a closed-form expression for its PDF integral (the cumulative distribution function (CDF)); however, tables and pre-computed functions exist from which these numbers can be obtained. The most famous is the error function, which Matlab has an implementation of it given by function erf(). This has the computed values for a Gaussian RV with zero mean and a standard deviation equal to the reciprocal of2 . The PDF is integrated from -x to x, where x is the argument of the function. So for a zero-mean Gaussian noise process with 21the probability that bvb  can be computed from: bdvvbbvb02)exp(2)erf(Pr (8) Instead of integrating from –b, the lower limit is set to 0 and the integral doubled to exploit the symmetry of the Gaussian PDF. For a general problem, the RV must be shifted to zero-mean and scaled down so its standard deviation becomes 2 so the error function can be applied. This scaling is applied to the original limits of integration and then strategically substituted into the error function of Eq. (8). For example, theprobability that a Gaussian RV with mean 2 and standard deviation 3.5 is between a and b is given by: 25.32erf25.32erf21Prabbva, (9) Eq. (9) is equivalent to integrating the Gaussian PDF of mean 2 and standard deviation 3.5 over the interval from a to b. The PDF can be estimated from sample data using the histogram and normalization. Recall the histogram finds the number of sample values occurring between a sequence of contiguous intervals referred to as bins. If enough samples fall in each bin, then dividing by the total number of samples collected provides a statistically stable estimate of the probability that a sample value occurs in that bin, which is directly related to the PDF. So with enough sample data, the PDF can be estimated by computing the histogram with sufficiently small bin intervals and dividing each bin count by the total number of samples. The Matlab functions hist() and histc() are useful functions in performing PDF estimation. It should be note however that bins containing only a few samples are unreliable estimates of the PDF. So less accuracy can be expected in the tails or low probability regions of the PDF, because fewer samples will occur there than in other parts of the PDF. Power Spectral Density and the Autocorrelation If a process has inertia/memory resulting in limited bandwidth, correlation will exist between time samples. Most practical random processes are correlated to some degree. A noise processes that is uncorrelated, is referred to as white noise. If correlation exists between samples, the noise process is referred to as colored noise. White noise has a flat average spectrum (all frequencies have the same expected power). This is analogous to white light, which


View Full Document

UK EE 422G - Lab 2 Noise Analysis

Documents in this Course
Load more
Download Lab 2 Noise Analysis
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab 2 Noise Analysis and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab 2 Noise Analysis 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?