<< 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 defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai 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