EE513 Audio Signals and Systems Wiener Inverse Filter Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.

Slides:



Advertisements
Similar presentations
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: The Linear Prediction Model The Autocorrelation Method Levinson and Durbin.
Advertisements

EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
AGC DSP AGC DSP Professor A G Constantinides©1 Modern Spectral Estimation Modern Spectral Estimation is based on a priori assumptions on the manner, the.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
OPTIMUM FILTERING.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: The FIR Adaptive Filter The LMS Adaptive Filter Stability and Convergence.
AGC DSP AGC DSP Professor A G Constantinides©1 A Prediction Problem Problem: Given a sample set of a stationary processes to predict the value of the process.
AMI 4622 Digital Signal Processing
Matched Filters By: Andy Wang.
Basics of regression analysis
Adaptive FIR Filter Algorithms D.K. Wise ECEN4002/5002 DSP Laboratory Spring 2003.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Adaptive Signal Processing
Normalised Least Mean-Square Adaptive Filtering
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Adaptive Noise Cancellation ANC W/O External Reference Adaptive Line Enhancement.
RLSELE Adaptive Signal Processing 1 Recursive Least-Squares (RLS) Adaptive Filters.
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
Principles of the Global Positioning System Lecture 11 Prof. Thomas Herring Room A;
EE513 Audio Signals and Systems Noise Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Digital Signals and Systems
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
EE513 Audio Signals and Systems Statistical Pattern Classification Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Wiener Filtering Derivation Comments Re-sampling and Re-sizing 1D  2D 10/5/06.
Equalization in a wideband TDMA system
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
Correlated and Uncorrelated Signals Problem: we have two signals and. How “close” are they to each other? Example: in a radar (or sonar) we transmit a.
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
1 Linear Prediction. 2 Linear Prediction (Introduction) : The object of linear prediction is to estimate the output sequence from a linear combination.
1 PATTERN COMPARISON TECHNIQUES Test Pattern:Reference Pattern:
1 Linear Prediction. Outline Windowing LPC Introduction to Vocoders Excitation modeling  Pitch Detection.
Name : Arum Tri Iswari Purwanti NPM :
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Signal and Noise Models SNIR Maximization Least-Squares Minimization MMSE.
CHAPTER 4 Adaptive Tapped-delay-line Filters Using the Least Squares Adaptive Filtering.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Definitions Random Signal Analysis (Review) Discrete Random Signals Random.
Adv DSP Spring-2015 Lecture#9 Optimum Filters (Ch:7) Wiener Filters.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
EE513 Audio Signals and Systems Complex Oscillator Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE Audio Signals and Systems Linear Prediction Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE513 Audio Signals and Systems
1  The Problem: Consider a two class task with ω 1, ω 2   LINEAR CLASSIFIERS.
1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Normal Equations The Orthogonality Principle Solution of the Normal Equations.
Lecture 12: Parametric Signal Modeling XILIANG LUO 2014/11 1.
Impulse Response Measurement and Equalization Digital Signal Processing LPP Erasmus Program Aveiro 2012 Digital Signal Processing LPP Erasmus Program Aveiro.
Geology 6600/7600 Signal Analysis 23 Oct 2015
Linear Prediction.
Eeng360 1 Chapter 2 Linear Systems Topics:  Review of Linear Systems Linear Time-Invariant Systems Impulse Response Transfer Functions Distortionless.
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
UNIT-IV. Introduction Speech signal is generated from a system. Generation is via excitation of system. Speech travels through various media. Nature of.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Geology 6600/7600 Signal Analysis Last time: Linear Systems The Frequency Response or Transfer Function of a linear SISO system can be estimated as (Note.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
EEE422 Signals and Systems Laboratory
Adaptive Filters Common filter design methods assume that the characteristics of the signal remain constant in time. However, when the signal characteristics.
Advanced Wireless Networks
Sampling rate conversion by a rational factor
EE Audio Signals and Systems
Linear Prediction.
Quick Review of LTI Systems
Modern Spectral Estimation
MMSE Optimal Design: The Least Squares method
EE513 Audio Signals and Systems
Linear Prediction.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
EE Audio Signals and Systems
16. Mean Square Estimation
Presentation transcript:

EE513 Audio Signals and Systems Wiener Inverse Filter Kevin D. Donohue Electrical and Computer Engineering University of Kentucky

Weiner Filters A class of filters, referred to as Wiener filters, exploit correlation information between signal and noise to enhance SNR or reduce distortion. The Wiener filter is the optimal filter for enhancing SNR of a random signal in random noise. Signals and noise are characterized by their PSDs or ACs, and objective metrics are either SNR enhancement or minimization of least-square error. These filters are named after Norbert Weiner:

Wiener Filters and Noise Let s[n] be the original signal and y[n] be the corrupted version. The error signal or noise is given by: Minimizing the error in the L2 or mean square error (MSE) sense means minimizing the expected value of: This is equivalent to maximizing the SNR: Signal Power Noise Power

Wiener Filter Objective Let w[n] be the filter to maximize SNR or equivalently to minimize the MSE: Express MSE in terms of the above equation: where  is a delay parameter to relax a causality constraint and typically improve performance. The first equation can be expressed more directly in the frequency domain:

Wiener Filter and SNR Assuming the signal and noise are uncorrelated, zero-mean stationary processes, it can be shown that the optimal filter for minimizing MSE is: Can also be rewritten as: PSD of SignalPSD of Noise

Homework 1 Download mat file (wienerhw1.mat) from: It will contain the signal vectors described below with associated sampling frequency fs. Examples of the signal and noise processes are stored in vectors sig and nos with normalized power. A) Plot the spectral magnitude of the Wiener filter for a signal plus noise process assuming a signal-to-noise ratio of -15 dB, 0 dB, and 15 dB. Describe how the SNR changes the spectral shape of the filter. Describe how this change makes sense for an optimal filter for this type. Hand in commented code and a clearly labeled plot, and the requested descriptions. B) Apply a Wiener filter to the data in vector sigpnos, which is a combination of the signal and noise from the same source as the examples. Note that you do not know the SNR for this case. Since you know the PSD shapes you can try to assess the SNR by examining the PSDs or ACs of combined signal. Also assume that the SNR is between - 25 and 0 dB and create a loop to increment through various levels of SNR and listen to or test the result to determine at what level the best performance. Hand in the commented code used to filter and test the signal and determine the best SNR for the filter design. Clearly indicate the SNR you thought was the best.

FIR Inverse (Wiener) Filters An inverse filter undoes distortions due to frequency selective channels/systems and restore the original transmitted/driving signal. This type of filtering is sometimes referred to as deconvolution. Let h(n) denote the impulse response of the channel/system. The inverse filter, h I (n), is described by:

FIR Inverse Filters - Polynomial Division Assume that for practical purposes the channel/system can be modeled as an all-pole system, therefore the inverse filter is an all-zero system. A direct way of obtaining the impulse response of the inverse filter, h I (n), is to expand rational polynomial through long division and truncate the sequence after M+1 coefficients: The resulting error becomes:

FIR Inverse Filters – Least Squares Another design can be obtained via a least-squares approach: h(n) FIR Filter {b k } Minimize Sum of Squared Errors {b k } e(n) where d(n) is the desired response and the error of the filter output is e(n). The error and overall squared error E 2 are given by: -

FIR Inverse Weiner Filter After minimizing E 2 (take the derivatives with respect to each b k and set the result to zero), it can be shown that the optimal set of {b k }’s are the solution to the M equations given by: where r hh (. ) is the autocorrelation for h(n), and r dh (. ) is the cross-correlation between h(n) and d(n):

FIR Inverse Filters – Least Squares For the special case where d(n) =  (n): Therefore, the following system of equations can be used to solve for the filter coefficients: Matrix is Symmetric and Toeplitz, can use Levenson- Durbin algorithm to solve

Example Given desired response (original input to the system) d(n) and the actual response of system h(n) up to length N, design an M th order FIR (Wiener) inverse filter. Create the following vector and matrix: Then compute desired filter coefficients by solving the following matrix equation for b: where

Example Then test for stability (was original system minimum phase?), apply h(n) (plus a little noise, less than -3 dB) to the inverse filter. If the result is anomalous (not close to the signal of interest), add a delay to the desired response and repeat (i.e. use): Insert 0’s to delay desired response. This provides the filter with more degrees of freedom to undo the system response at the expense of delaying the output. Increasing filter order can also improve performance.