<< Chapter < Page Chapter >> Page >
This module describe the use of the DSK6713 for Spectrum Estimation. Simulink simulation models for different spectrum estimation methods. Those models are used afterwards to generated the DSP code. The user interfaces with the DSK6713 operation through a Graphic User Interface (GUI) running in a PC.

Introduction

In this module the DSK6713 will be used for spectrum estimation. Three estimation methods will be implemented:

  1. Periodogram
  2. Burg
  3. M-Cov

Periodogram

The Periodogram block computes a nonparametric estimate of the spectrum. The block averages the squared magnitude of the FFT computed over windowed sections of the input and normalizes the spectral average by the square of the sum of the window samples.

The modified covariance method

The Modified Covariance Method block estimates the power spectral density (PSD) of the input using the modified covariance method. This method fits an autoregressive (AR) model to the signal by minimizing the forward and backward prediction errors in the least squares sense. The order of the all-pole model is the value specified by the Estimation order parameter. To guarantee a valid output, you must set the Estimation order parameter to be less than or equal to two thirds the input vector length. The spectrum is computed from the FFT of the estimated AR model parameters.

Burg method

The Burg Method block estimates the power spectral density (PSD) of the input frame using the Burg method. This method fits an autoregressive (AR) model to the signal by minimizing (least squares) the forward and backward prediction errors while constraining the AR parameters to satisfy the Levinson-Durbin recursion.

Simulation

The environment

Figure 4 shows the data flow for the Estimation simulation. The input signal for the estimator is an AR process generated by feeding an all-poles filter with white noise. The AR coefficients generate the reference spectrum to be compared against the estimated one.

Spectrum Estimation Simulation

The procedure

  1. Create a new model in Simulink® and name it: “SpectrumEstimation.mdl”
  2. Open the Simulink library browser and add a random source object:
    The Random Source Object
  3. Double click on the random source object, and configure its parameters to fit the white noise characteristics we want to achieve:
    The Random Source Object Configuration
  4. Add a new digital filter to the model:
    The Digital Filter Block
  5. Double-click on the filter and fill in the following parameters The Auto-Regressive process is represented by an all-pole IIR filter. The AR coefficients are the ones in the “Denominator coefficients” label.
    The Digital Filter Block Parameters
  6. Add the 3 estimators: Periodogram, Burg and Modified-Covariance to your model:
    The Burg Method Block
  7. Configure the FFT length of the three models to 128 The same configuration parameters apply for the three models. :
    FFT Length Configuration for Spectrum Estimation
  8. Add a new constant to your model:
    The "DSP Constant" Block
  9. This constant will have the AR coefficients values:
    The AR coefficients values
  10. Add a magnitude FFT block in order to get the spectrum from the AR coefficients:
    The FFT Block
  11. Set the FFT length to 128:
    The FFT Length
  12. Add a new math function object:
    The Math Function Block
  13. The “Math Function” block should be configured to calculate the reciprocal:
    The "Math Function" Block Configuration
  14. Add a new gain to your model (to represent the white noise variance in the reference spectrum generation) and set its value to 0.1:
    The Gain Block
  15. In order to display the Real and Estimated spectra simultaneously, you need to add a new concatenate object:
    The "Matrix Concatenate" Block
  16. Set the number of inputs of the concatenation object to 4:
    The "Matrix Concatenate" Block Configuration
  17. The various spectra will be displayed in a vector scope:
    The "Vector Scope" Block
  18. Select frequency as its input domain
    The "Vector Scope" Block Configuration
  19. Connect the blocks as shown:
    Spectrum Estimation Simulation
  20. When running the model You should select a different color for each channel , you should see the get the following display:
    Comparing the various spectrum estimators

Questions & Answers

what is the anterior
Tito Reply
Means front part of the body
Ibrahim
what is anatomy
Ruth Reply
To better understand how the different part of the body works. To understand the physiology of the various structures in the body. To differentiate the systems of the human body .
Roseann Reply
what is hypogelersomia
aliyu Reply
what are the parts of the female reproductive system?
Orji Reply
what is anatomy
Divinefavour Reply
what are the six types of synovial joints and their ligaments
Darlington Reply
draw the six types of synovial joint and their ligaments
Darlington
System of human beings
Katumi Reply
System in humans body
Katumi
Diagram of animals and plants cell
Favour Reply
at what age does development of bone end
Alal Reply
how many bones are in the human upper layers
Daniel Reply
how many bones do we have
Nbeke
bones that form the wrist
Priscilla Reply
yes because it is in the range of neutrophil count
Alexander Reply
because their basic work is to fight against harmful external bodies and they are always present when chematoxin are released in an area in body
Alexander
What is pathology
Samuel Reply
what is pathology
Nbeke
what's pathology
Nbeke
what is anatomy
ESTHER Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, From matlab and simulink to real-time with ti dsp's. OpenStax CNX. Jun 08, 2009 Download for free at http://cnx.org/content/col10713/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'From matlab and simulink to real-time with ti dsp's' conversation and receive update notifications?

Ask