<< 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

if three forces F1.f2 .f3 act at a point on a Cartesian plane in the daigram .....so if the question says write down the x and y components ..... I really don't understand
Syamthanda Reply
hey , can you please explain oxidation reaction & redox ?
Boitumelo Reply
hey , can you please explain oxidation reaction and redox ?
Boitumelo
for grade 12 or grade 11?
Sibulele
the value of V1 and V2
Tumelo Reply
advantages of electrons in a circuit
Rethabile Reply
we're do you find electromagnetism past papers
Ntombifuthi
what a normal force
Tholulwazi Reply
it is the force or component of the force that the surface exert on an object incontact with it and which acts perpendicular to the surface
Sihle
what is physics?
Petrus Reply
what is the half reaction of Potassium and chlorine
Anna Reply
how to calculate coefficient of static friction
Lisa Reply
how to calculate static friction
Lisa
How to calculate a current
Tumelo
how to calculate the magnitude of horizontal component of the applied force
Mogano
How to calculate force
Monambi
a structure of a thermocouple used to measure inner temperature
Anna Reply
a fixed gas of a mass is held at standard pressure temperature of 15 degrees Celsius .Calculate the temperature of the gas in Celsius if the pressure is changed to 2×10 to the power 4
Amahle Reply
How is energy being used in bonding?
Raymond Reply
what is acceleration
Syamthanda Reply
a rate of change in velocity of an object whith respect to time
Khuthadzo
how can we find the moment of torque of a circular object
Kidist
Acceleration is a rate of change in velocity.
Justice
t =r×f
Khuthadzo
how to calculate tension by substitution
Precious Reply
hi
Shongi
hi
Leago
use fnet method. how many obects are being calculated ?
Khuthadzo
khuthadzo hii
Hulisani
how to calculate acceleration and tension force
Lungile Reply
you use Fnet equals ma , newtoms second law formula
Masego
please help me with vectors in two dimensions
Mulaudzi Reply
how to calculate normal force
Mulaudzi
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