SlideShare a Scribd company logo
0 - 1
© 2007 Texas Instruments Inc,
Content developed in partnership with
Tel-Aviv University
From MATLAB® and Simulink® to
Real Time with TI DSPs
Spectrum Estimation
Slide 2
© 2007 Texas Instruments Inc,
Preface
• Our Goal is to Estimate the Spectrum of stochastic
processes
• We are concentrating in AR-Processes
• 3 methods of Estimation will be discussed:
Periodogram, Burg and M-Covariance
Slide 3
© 2007 Texas Instruments Inc,
AR Basics
• An Auto-Regressive (AR) process is commonly described as
White Noise filtered by an all-pole LTI system:
 
N
jw
NN e
S
n
N


)
( )
(
1
jw
e
P 2
)
(
)
(
)
(
jw
N
jw
xx
e
P
e
S
n
X


• Frequency domain characteristics:
– The AR Process Spectrum is given by:
Where:
2
2
1 )
,...,
,
,
1
(
)
(
k
N
jw
XX
a
a
a
FFT
e
S







k
l
l l
n
a
n
n
p
1
)
(
)
(
)
( 

Slide 4
© 2007 Texas Instruments Inc,
AR Basics cont.
• Time Analysis of the process (of order k):
– every sample has correlation with at most k previous samples
– The autocorrelation function looks like:
– For every n<-k or n>k holds: 0
)
( 
n
RXX
Slide 5
© 2007 Texas Instruments Inc,
Estimation Methods
• 3 Methods:
– Periodogram
– Burg
– M-Covariance
• Our Goal:
– Given a finite buffer of samples of the stochastic process
estimate its spectrum
• Assumption:
– The process is mean Ergodic and Correlation Ergodic
Slide 6
© 2007 Texas Instruments Inc,
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.
Slide 7
© 2007 Texas Instruments Inc,
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.
Slide 8
© 2007 Texas Instruments Inc,
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.
Slide 9
© 2007 Texas Instruments Inc,
Hands-On
• Simulation
• Implementation using the DSK6713
• GUI to handle the R-T implementation
Slide 10
© 2007 Texas Instruments Inc,
Simulation
• The coefficients are known for the model
• Internal generation of the true spectrum
• Generation of the AR signal using white noise and
all-poles filter
• Comparison between all 3 methods in the model (to
one another and to the true spectrum
• The results are presented using the frequency
domain
Slide 11
© 2007 Texas Instruments Inc,
The Simulation Environment
• Simulation involves the 3 methods simultaneously
Slide 12
© 2007 Texas Instruments Inc,
Real-Time Environment
• Based on the Simulation model
• R-T Implementation contains 3 model files, each
implements different method separately
• We will present the Top-Down Architecture of the
Real-Time solution
Slide 13
© 2007 Texas Instruments Inc,
Real Time Environment (cont.)
DSK6713
CODEC
TMS320C6713
All-pole
Filter
D/A
(Left)
Generate
Reference
Spectrum
A/D
(Left)
D/A
(Right)
 
t
n
Line In Line Out
Signal
Generator
Spectrum
Estimator
Oscilloscope
White Noise
PC
RTDX
Slide 14
© 2007 Texas Instruments Inc,
Real Time Environment (cont.)
• R-T model using Periodogram Estimation:
Slide 15
© 2007 Texas Instruments Inc,
GUI Functionality
• Using Matlab GUI and TI libraries we will show how
to build a gui that enables the user to control the
model easily
• The GUI involves RTDX calls to negotiate with the DSK in R-T
• The RTDX is a proprietary interface that enables the Host to
send/receive data to the dsk in R-T
• The GUI enables the user to perform the following operations:
– Reloading a model (3 optional Estimation methods)
Slide 16
© 2007 Texas Instruments Inc,
The System
Noise
Spectrum
Estimated
Spectrum

More Related Content

Similar to SpectrumEstimation.ppt

Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...
Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...
Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...
Globus
 
Signal to-noise-ratio of signal acquisition in global navigation satellite sy...
Signal to-noise-ratio of signal acquisition in global navigation satellite sy...Signal to-noise-ratio of signal acquisition in global navigation satellite sy...
Signal to-noise-ratio of signal acquisition in global navigation satellite sy...
Alexander Decker
 
I017325055
I017325055I017325055
I017325055
IOSR Journals
 
BER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLS
BER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLSBER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLS
BER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLS
iosrjce
 
L010628894
L010628894L010628894
L010628894
IOSR Journals
 
Fo3610221025
Fo3610221025Fo3610221025
Fo3610221025
IJERA Editor
 
Real Time System Identification of Speech Signal Using Tms320c6713
Real Time System Identification of Speech Signal Using Tms320c6713Real Time System Identification of Speech Signal Using Tms320c6713
Real Time System Identification of Speech Signal Using Tms320c6713
IOSRJVSP
 
Gene's law
Gene's lawGene's law
Gene's law
Hoopeer Hoopeer
 
Optimized implementation of an innovative digital audio equalizer
Optimized implementation of an innovative digital audio equalizerOptimized implementation of an innovative digital audio equalizer
Optimized implementation of an innovative digital audio equalizer
a3labdsp
 
Spectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate ConverterSpectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate Converter
CSCJournals
 
Performance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB System Performance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB System
IOSR Journals
 
Performance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB SystemPerformance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB System
IOSR Journals
 
Investigation of repeated blasts at Aitik mine using waveform cross correlation
Investigation of repeated blasts at Aitik mine using waveform cross correlationInvestigation of repeated blasts at Aitik mine using waveform cross correlation
Investigation of repeated blasts at Aitik mine using waveform cross correlation
Ivan Kitov
 
IRJET- Chord Classification of an Audio Signal using Artificial Neural Network
IRJET- Chord Classification of an Audio Signal using Artificial Neural NetworkIRJET- Chord Classification of an Audio Signal using Artificial Neural Network
IRJET- Chord Classification of an Audio Signal using Artificial Neural Network
IRJET Journal
 
Method for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionMethod for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF Injection
CSCJournals
 
Daamen r 2010scwr-cpaper
Daamen r 2010scwr-cpaperDaamen r 2010scwr-cpaper
Daamen r 2010scwr-cpaper
John B. Cook, PE, CEO
 
Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis
ivanokitov
 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
AnshulShekhar3
 
Heuristic based adaptive step size clms algorithms for smart antennas
Heuristic based adaptive step size clms algorithms for smart antennasHeuristic based adaptive step size clms algorithms for smart antennas
Heuristic based adaptive step size clms algorithms for smart antennas
csandit
 

Similar to SpectrumEstimation.ppt (20)

HS Demo
HS DemoHS Demo
HS Demo
 
Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...
Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...
Real-Time Analysis of Streaming Synchotron Data: SCinet SC19 Technology Chall...
 
Signal to-noise-ratio of signal acquisition in global navigation satellite sy...
Signal to-noise-ratio of signal acquisition in global navigation satellite sy...Signal to-noise-ratio of signal acquisition in global navigation satellite sy...
Signal to-noise-ratio of signal acquisition in global navigation satellite sy...
 
I017325055
I017325055I017325055
I017325055
 
BER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLS
BER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLSBER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLS
BER Analysis ofImpulse Noise inOFDM System Using LMS,NLMS&RLS
 
L010628894
L010628894L010628894
L010628894
 
Fo3610221025
Fo3610221025Fo3610221025
Fo3610221025
 
Real Time System Identification of Speech Signal Using Tms320c6713
Real Time System Identification of Speech Signal Using Tms320c6713Real Time System Identification of Speech Signal Using Tms320c6713
Real Time System Identification of Speech Signal Using Tms320c6713
 
Gene's law
Gene's lawGene's law
Gene's law
 
Optimized implementation of an innovative digital audio equalizer
Optimized implementation of an innovative digital audio equalizerOptimized implementation of an innovative digital audio equalizer
Optimized implementation of an innovative digital audio equalizer
 
Spectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate ConverterSpectral Analysis of Sample Rate Converter
Spectral Analysis of Sample Rate Converter
 
Performance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB System Performance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB System
 
Performance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB SystemPerformance Analysis of Rake Receivers in IR–UWB System
Performance Analysis of Rake Receivers in IR–UWB System
 
Investigation of repeated blasts at Aitik mine using waveform cross correlation
Investigation of repeated blasts at Aitik mine using waveform cross correlationInvestigation of repeated blasts at Aitik mine using waveform cross correlation
Investigation of repeated blasts at Aitik mine using waveform cross correlation
 
IRJET- Chord Classification of an Audio Signal using Artificial Neural Network
IRJET- Chord Classification of an Audio Signal using Artificial Neural NetworkIRJET- Chord Classification of an Audio Signal using Artificial Neural Network
IRJET- Chord Classification of an Audio Signal using Artificial Neural Network
 
Method for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionMethod for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF Injection
 
Daamen r 2010scwr-cpaper
Daamen r 2010scwr-cpaperDaamen r 2010scwr-cpaper
Daamen r 2010scwr-cpaper
 
Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis
 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
 
Heuristic based adaptive step size clms algorithms for smart antennas
Heuristic based adaptive step size clms algorithms for smart antennasHeuristic based adaptive step size clms algorithms for smart antennas
Heuristic based adaptive step size clms algorithms for smart antennas
 

Recently uploaded

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 

Recently uploaded (20)

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 

SpectrumEstimation.ppt

  • 1. 0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB® and Simulink® to Real Time with TI DSPs Spectrum Estimation
  • 2. Slide 2 © 2007 Texas Instruments Inc, Preface • Our Goal is to Estimate the Spectrum of stochastic processes • We are concentrating in AR-Processes • 3 methods of Estimation will be discussed: Periodogram, Burg and M-Covariance
  • 3. Slide 3 © 2007 Texas Instruments Inc, AR Basics • An Auto-Regressive (AR) process is commonly described as White Noise filtered by an all-pole LTI system:   N jw NN e S n N   ) ( ) ( 1 jw e P 2 ) ( ) ( ) ( jw N jw xx e P e S n X   • Frequency domain characteristics: – The AR Process Spectrum is given by: Where: 2 2 1 ) ,..., , , 1 ( ) ( k N jw XX a a a FFT e S        k l l l n a n n p 1 ) ( ) ( ) (  
  • 4. Slide 4 © 2007 Texas Instruments Inc, AR Basics cont. • Time Analysis of the process (of order k): – every sample has correlation with at most k previous samples – The autocorrelation function looks like: – For every n<-k or n>k holds: 0 ) (  n RXX
  • 5. Slide 5 © 2007 Texas Instruments Inc, Estimation Methods • 3 Methods: – Periodogram – Burg – M-Covariance • Our Goal: – Given a finite buffer of samples of the stochastic process estimate its spectrum • Assumption: – The process is mean Ergodic and Correlation Ergodic
  • 6. Slide 6 © 2007 Texas Instruments Inc, 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.
  • 7. Slide 7 © 2007 Texas Instruments Inc, 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.
  • 8. Slide 8 © 2007 Texas Instruments Inc, 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.
  • 9. Slide 9 © 2007 Texas Instruments Inc, Hands-On • Simulation • Implementation using the DSK6713 • GUI to handle the R-T implementation
  • 10. Slide 10 © 2007 Texas Instruments Inc, Simulation • The coefficients are known for the model • Internal generation of the true spectrum • Generation of the AR signal using white noise and all-poles filter • Comparison between all 3 methods in the model (to one another and to the true spectrum • The results are presented using the frequency domain
  • 11. Slide 11 © 2007 Texas Instruments Inc, The Simulation Environment • Simulation involves the 3 methods simultaneously
  • 12. Slide 12 © 2007 Texas Instruments Inc, Real-Time Environment • Based on the Simulation model • R-T Implementation contains 3 model files, each implements different method separately • We will present the Top-Down Architecture of the Real-Time solution
  • 13. Slide 13 © 2007 Texas Instruments Inc, Real Time Environment (cont.) DSK6713 CODEC TMS320C6713 All-pole Filter D/A (Left) Generate Reference Spectrum A/D (Left) D/A (Right)   t n Line In Line Out Signal Generator Spectrum Estimator Oscilloscope White Noise PC RTDX
  • 14. Slide 14 © 2007 Texas Instruments Inc, Real Time Environment (cont.) • R-T model using Periodogram Estimation:
  • 15. Slide 15 © 2007 Texas Instruments Inc, GUI Functionality • Using Matlab GUI and TI libraries we will show how to build a gui that enables the user to control the model easily • The GUI involves RTDX calls to negotiate with the DSK in R-T • The RTDX is a proprietary interface that enables the Host to send/receive data to the dsk in R-T • The GUI enables the user to perform the following operations: – Reloading a model (3 optional Estimation methods)
  • 16. Slide 16 © 2007 Texas Instruments Inc, The System Noise Spectrum Estimated Spectrum