Adaptive Systems Homework Assignment 3

Similar documents
Antennas and Propagation. Chapter 6b: Path Models Rayleigh, Rician Fading, MIMO

Adaptive beamforming using pipelined transform domain filters

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

Adaptive Beamforming for Multi-path Mitigation in GPS

Analysis of LMS and NLMS Adaptive Beamforming Algorithms

Comprehensive Performance Analysis of Non Blind LMS Beamforming Algorithm using a Prefilter

Narrow- and wideband channels

Performance Study of A Non-Blind Algorithm for Smart Antenna System

A New Method For Active Noise Control Systems With Online Acoustic Feedback Path Modeling

INTERFERENCE REJECTION OF ADAPTIVE ARRAY ANTENNAS BY USING LMS AND SMI ALGORITHMS

MATLAB SIMULATOR FOR ADAPTIVE FILTERS

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective

Analysis on Extraction of Modulated Signal Using Adaptive Filtering Algorithms against Ambient Noises in Underwater Communication

METIS Second Training & Seminar. Smart antenna: Source localization and beamforming

AN ANALYSIS OF LMS AND MVDR ON BEAMFORMING APPLICATIONS

ADAPTIVE ANTENNAS. TYPES OF BEAMFORMING

Speech Enhancement Based On Noise Reduction

2.161 Signal Processing: Continuous and Discrete Fall 2008

Lab S-3: Beamforming with Phasors. N r k. is the time shift applied to r k

Application of Affine Projection Algorithm in Adaptive Noise Cancellation

The Radio Channel. COS 463: Wireless Networks Lecture 14 Kyle Jamieson. [Parts adapted from I. Darwazeh, A. Goldsmith, T. Rappaport, P.

VOL. 3, NO.11 Nov, 2012 ISSN Journal of Emerging Trends in Computing and Information Sciences CIS Journal. All rights reserved.

A Three-Microphone Adaptive Noise Canceller for Minimizing Reverberation and Signal Distortion

Performance Comparison of ZF, LMS and RLS Algorithms for Linear Adaptive Equalizer

LMS and RLS based Adaptive Filter Design for Different Signals

SIMULATIONS OF ADAPTIVE ALGORITHMS FOR SPATIAL BEAMFORMING

MIMO Receiver Design in Impulsive Noise

Index Terms Uniform Linear Array (ULA), Direction of Arrival (DOA), Multiple User Signal Classification (MUSIC), Least Mean Square (LMS).

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Adaptive Antennas in Wireless Communication Networks

Chapter 2 Channel Equalization

ECE 5650/4650 Computer Project #3 Adaptive Filter Simulation

Comparative Study of Different Algorithms for the Design of Adaptive Filter for Noise Cancellation

Hardware Implementation of Adaptive Algorithms for Noise Cancellation

MITIGATING INTERFERENCE TO GPS OPERATION USING VARIABLE FORGETTING FACTOR BASED RECURSIVE LEAST SQUARES ESTIMATION

"Communications in wireless MIMO channels: Channel models, baseband algorithms, and system design"

Problem Sheet 1 Probability, random processes, and noise

Adaptive Kalman Filter based Channel Equalizer

ADAPTIVE BEAMFORMING USING LMS ALGORITHM

Project I: Phase Tracking and Baud Timing Correction Systems

CHAPTER 8 MIMO. Xijun Wang

Active Noise Cancellation in Audio Signal Processing

SPLIT MLSE ADAPTIVE EQUALIZATION IN SEVERELY FADED RAYLEIGH MIMO CHANNELS

Impulsive Noise Reduction Method Based on Clipping and Adaptive Filters in AWGN Channel

System Identification and CDMA Communication

Performance Analysis of Feedforward Adaptive Noise Canceller Using Nfxlms Algorithm

Comparison of LMS and NLMS algorithm with the using of 4 Linear Microphone Array for Speech Enhancement

IMPLEMENTATION CONSIDERATIONS FOR FPGA-BASED ADAPTIVE TRANSVERSAL FILTER DESIGNS

ECE 5650/4650 MATLAB Project 1

Transforming MIMO Test

Approaches for Angle of Arrival Estimation. Wenguang Mao

Performance Analysis of LMS and NLMS Algorithms for a Smart Antenna System

Fig(1). Basic diagram of smart antenna

IMPROVED QR AIDED DETECTION UNDER CHANNEL ESTIMATION ERROR CONDITION

George Mason University ECE 201: Introduction to Signal Analysis Spring 2017

INSTANTANEOUS FREQUENCY ESTIMATION FOR A SINUSOIDAL SIGNAL COMBINING DESA-2 AND NOTCH FILTER. Yosuke SUGIURA, Keisuke USUKURA, Naoyuki AIKAWA

Study the Behavioral Change in Adaptive Beamforming of Smart Antenna Array Using LMS and RLS Algorithms

A New Least Mean Squares Adaptive Algorithm over Distributed Networks Based on Incremental Strategy

Digital Signal Processing PW1 Signals, Correlation functions and Spectra

Statistical Signal Processing. Project: PC-Based Acoustic Radar

Passive Inter-modulation Cancellation in FDD System

Adaptive Array Beamforming using LMS Algorithm

Narrow- and wideband channels

Revision of Channel Coding

1.5 The voltage V is given as V=RI, where R and I are resistance matrix and I current vector. Evaluate V given that

Adaptive Beamforming Approach with Robust Interference Suppression

Adaptive Beamforming. Chapter Signal Steering Vectors

RECENT ADVANCES in NETWORKING, VLSI and SIGNAL PROCESSING

ADAPTIVE CIRCULAR BEAMFORMING USING MULTI-BEAM STRUCTURE

Adaptive Beamforming Applied for Signals Estimated with MUSIC Algorithm

DIRECTION OF ARRIVAL ESTIMATION IN WIRELESS MOBILE COMMUNICATIONS USING MINIMUM VERIANCE DISTORSIONLESS RESPONSE

ONE of the most common and robust beamforming algorithms

Speech Enhancement Using Microphone Arrays

Eigenvalues and Eigenvectors in Array Antennas. Optimization of Array Antennas for High Performance. Self-introduction

9.4 Temporal Channel Models

A Review on Beamforming Techniques in Wireless Communication

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

THE CHANNEL CHARACTERIZATION in mobile communication

A FEEDFORWARD ACTIVE NOISE CONTROL SYSTEM FOR DUCTS USING A PASSIVE SILENCER TO REDUCE ACOUSTIC FEEDBACK

Application of Adaptive Spectral-line Enhancer in Bioradar

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

GPS Anti-jamming Performance Simulation Based on LCMV Algorithm Jian WANG and Rui QIN

An Effective Implementation of Noise Cancellation for Audio Enhancement using Adaptive Filtering Algorithm

Level I Signal Modeling and Adaptive Spectral Analysis

UNIVERSITY OF SOUTHAMPTON

Narrow-Band Interference Rejection in DS/CDMA Systems Using Adaptive (QRD-LSL)-Based Nonlinear ACM Interpolators

Performance Analysis of Equalizer Techniques for Modulated Signals

Recent Advances in Acoustic Signal Extraction and Dereverberation

Electrical & Computer Engineering Technology

Comparison of LMS Adaptive Beamforming Techniques in Microphone Arrays

Performance Analysis of MUSIC and LMS Algorithms for Smart Antenna Systems

An improved direction of arrival (DOA) estimation algorithm and beam formation algorithm for smart antenna system in multipath environment

An HARQ scheme with antenna switching for V-BLAST system

ECE 3500: Fundamentals of Signals and Systems (Fall 2014) Lab 4: Binary Phase-Shift Keying Modulation and Demodulation

DESIGN AND IMPLEMENTATION OF ADAPTIVE ECHO CANCELLER BASED LMS & NLMS ALGORITHM

Why is scramble needed for DFE. Gordon Wu

Today s menu. Last lecture. Series mode interference. Noise and interferences R/2 V SM Z L. E Th R/2. Voltage transmission system

Performance improvement in beamforming of Smart Antenna by using LMS algorithm

Combined Use of Various Passive Radar Range-Doppler Techniques and Angle of Arrival using MUSIC for the Detection of Ground Moving Objects

Transcription:

Signal Processing and Speech Communication Lab Graz University of Technology Adaptive Systems Homework Assignment 3 The analytical part of your homework (your calculation sheets) as well as the MATLAB simulation protocol have to be delivered as hard copy to our mailbox at Inffeldgasse 16c, ground floor, no later than 2017/2/24. Use a printed version of this entire document as the title pages and fill in your name(s) and matriculation number(s). Your MATLAB programs (*.m files) and the simulation protocol (in pdf format!) have to be submitted via e-mail to the address hw2.spsc@tugraz.at no later than 2017/2/24. The subject of the e-mail consists of the assignment number and your matriculation number(s) Assignment3, MatrNo1, MatrNo2. You have to zip (or tar) all your homework files to one single file with the name Assignment3 MatrNo1 MatrNo2.zip, e.g., Assignment3 9833280 9933281.zip, which has to be attached to the e-mail. IMPORTANT: A justification of all your answers is mandatory to achieve all points! You need to document all necessary plots, else you will lose points if you do not comment on your observations!

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 2 MATLAB Problem 3.1 (12 Points) Beamforming Application Sensor array processing has broad applications in diverse fields such as wireless communications, microphone arrays, radar or seismic explorations. Direction of arrival (DOA) estimation and beamforming are two basic areas of sensor array processing that are common to its diverse application. In this example we want to exemplify beamforming using a simple antenna configuration. In the application of beamforming, we desire to combine the measurements of an antenna array in order to maximize its gain along a particular direction. The antenna array is assumed to be far from a source radiating an electromagnetic wave of the form r(t) = s(t)e jωct where ω c denotes the carrier frequency and s(t) denotes the envelope, also called the baseband signal. Since the source is sufficiently distant form the antenna array, the arriving wavefronts can be assumed to be planar at the array. The output of the array is obtained by linearly combining the measurements at the antennas. These measurements are subjected to noise with the noise at antenna j at time t denoted by v j (t) Let θ denote the direction of arrival of the wavefront relative to the plane of the antennas, as indicated in Figure 1. The interval of time τ that is needed for the wave to propagate from antenna 1 to antenna 0 is given by τ = 2πdcosθ ω c λ The signal arriving at the n-th antenna at time t is of the form s(t)e jωct e j 2πn λ dcosθ At the antennas we observe the noisy observation y = hs(t)+v where h = [1 e j 2π λ dcosθ... e j 2π(M 1) λ dcosθ ] T and v denotes the noise vector.

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 3 Figure 1: A uniformly-spaced array of antennas. The beamforming problem is then to solve min c c H R vv c subject to c H h = 1 This constrained estimation problem has the solution and we obtain the estimated signal c o H = hh R vv 1 h H R vv 1 h ŝ(t) = c o H y Note, that this result is only valid if the noise at each sensor is uncorrelated with the noises at the other sensors, which is known as spatially whiteness. Also, the noise processes must fulfill the whiteness property. Consider the same uniform linear antenna array consisting of 4 elements, spaced by d = λ/5. We assume that the noise signal at each antenna is white with real and imaginary parts that are Gaussian with σ v = 0.2. Now we are assuming a sinusoidal baseband signal s(t) which gets sampled at a rate of 16kHz. (a) Design an optimal beamformer with unit response along the direction θ 0 = 30. Therefore, simulate your baseband signal from 50Hz to 5kHz in 100Hz steps. Show the baseband signal and the estimated outcome of the beamformer in one plot. Also, plot the received signals at the different antennas. Explain you results. Also plot the beamformer output and the baseband signal (overlap both signals). (b) Assume now that the input signal is the sum of two sinusoids arriving along different directions. One impinges on the antennas at 30 while the other arrives at 45. Simulate the

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 4 operation of the beamformer by using the input signal s(t) = cos(2πf 1 t)+0.2sin(2πf 2 t) wheref 2 = 2f 1. Again, simulatethescenariofordifferentfrequenciesf 1 [50500100020005000] Hz. Plot the baseband signals and the arriving signals at the antennas. Also plot the beamformer output and the baseband signal (overlap both signals). (c) Now, we assume that the noise signals across the antennas are spatially correlated with an exponential autocorrelation function equal to r[k] = 0.85 k To generate the noise vector we make use of the so-called Cholesky factorization such that we can factorize the autocorrelation matrix as R vv = PP H where P is a M M lower triangular matrix. You can use the MATLAB function chol for Cholesky decomposition. You can then model the noise vector as v = Pe where e is a vector which fulfills the property of whiteness. Repeat tasks (a) and (b) for this case. (d) Use your designed beamformer from task (a) and use the same setup. Perform a simulation that varies the direction of arrival of s(t) between 1 and 180 in increments of 1. For each direction θ determine the output of the beamformer and its averaged power ˆP(θ) = 1 N N 1 i=0 ŝ[i] 2 where N denotes the number of samples. The average power of the input signal is clearly to unity. The power gain of the beamformer at direction θ is then given by G = 10log ˆP(θ) Use the MATLAB command polar to generate a plot of the power gain of the antenna as a function of θ. Simulate two cases: a beamformer with 4 antennas and a beamformer with 25 antennas.

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 5 MATLAB Problem 3.2 (12 Points) Adaptive Channel Equalization Consider the following channel given by the system function C(z) = 0.5+1.2z 1 +1.5z 2 z 3 The goal of this task is to design an adaptive equalizer. The structure of the equalizer is shown in Figure 2. The symbols {s[n]} are transmitted through the channel and corrupted by additive complex-valued white noise {w[n]}. The received signal {y[n]} is processed by the FIR equalizer to generate symbol estimates {ŝ[n ]}, which are then fed into the decision device. The equalizer possesses two modes of operation (i) training mode (ii) decision-directed mode In the training a delayed replica of the input sequence is used as a reference. In the decisiondirected mode, the output of the decision-device replaces the reference sequence. z -Δ d[n] training stage w[n] s[n] Channel + u[n] Equalizer _ Decision Device s[n-δ] decision directed e[n] Figure 2: Linear Channel equalizer with training stage and decision-device. (a) Write a program that trains the adaptive filter with 500 symbols from a QPSK constellation, followed by decision-directed operation during 5000 symbols from a 16-QAM constellation. Choose the noise variance σ 2 w in order to enforce an SNR level of 30dB at the input of the equalizer. Choose = 15 and an equalizer length of N = 35. Plot the scatter diagrams of {s[n],y[n],ŝ[n ]} Hint: Note that symbols chosen from QAM constellations do not have unit variance. For this reason, the noise variance needs to be adjusted properly for different QAM orders in order to enforce the desired SNR level. (b) For the same setting as part (a), plot and compare the scatter diagrams that would result at the output of the equalizer if training is performed only for 150, 300 and 500 iterations. (c) Now assume the transmitted data are generated from a 256-QAM constellation rather than a 16-QAM constellation. Plot the scatter diagrams of the output of the equalizer. You can assume the same training procedure as above.

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 6 (d) Generate symbol-error-rate (SER) curves versus signal-to-noise ratio (SNR) at the input of the equalizer for (4,16,64,256)-QAM data. Let the SNR vary between 5dB and 30dB in increments of 1dB. (e) Now, design a decision-feedback equalizer according to Figure 3 with L = 10 feedforward taps and Q = 2 feedback taps. Use = 7 and plot the resulting scatter diagram of the output of the equalizer. Repeat for L = 20, Q = 2 and = 10. In both cases, choose the transmitted data form a 64-QAM constellation. z -Δ d[n] training stage w[n] s[n] Channel + Feedforward Decision Device s 2 [n-δ] _ e[n] decision directed Figure 3: Decision-Feedback equalizer structure. (f) Generate SER curves versus SNR at the input of the DFE for (4,16,64,256)-QAM data. Let the SNR vary between 5dB and 30dB in 1dB increments. Compare the performance of the DFE with that of the linear equalizer of task (d). (g) Load the file channel.mat which you find on the webpage. This file contains the impulse response sequence of a more challenging channel with spectral nulls. Plot the impulse response and the frequency response of the channel, where you can observe the spectral nulls. Set the SNR level at the input of the equalizer to 40dB and select a linear equalizer structure with 55 taps. Set the delay to = 30. Train the equalizer with an NLMS algorithm for 2000 iterations before switching to decision-directed operation. Plot the resulting scatter diagram of the output and plot the frequency-, as well as the impulse response of the equalizer and the combination of both. (h) BONUS: Train the setting from (g) again using a RLS algorithm for 100 iterations before switching to the decision-directed operation, and plot the resulting scatter diagram. Compare both diagrams.

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 7 MATLAB Problem 3.3 (9 Points) (N)LMS Performance Analysis For the system identification problem shown in Figure 4 we want to determine the convergence time constants τ i using the ensemble-averaged 1 misalignment vector v[n] = c[n] c MSE = c[n] h The input signal x[n] is a zero-mean, white Gaussian process with unit variance. The desired signal d[n] is corrupted by additive white Gaussian noise with zero mean and variance σ 2 ν = 0.008. The impulse response of the unknown system is given as and N = dim(c[n]) = dim(h). h = [0.6,0.2,0.4] T h ν[n] x[n] c y[n] - e[n] Figure 4: The system identification problem in a noisy environment. For the following tasks, use a NLMS implementation. Call your function multiple times and use the coefficient matrices to compute the ensemble averages of the misalignment vector. Initialize you coefficient vector with a zero vector. Write a MATLAB script to plot ln E(v k[n]) E(v k [0]) as a function of time n for all components k of the vector. Your script should automatically determine the time constants τ k and print them in the legend of the plot. On top of the curves, plot the logarithm of the MSE as a thick line, i.e., ln E( e 2 [n] ) E(e 2 [0]). 1 For everyconsidered timeinstant nwe average overdataobtained from independenttrials, i.e., usingmultiple realizations of the input and noise processes.

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 8 (a) Investigate the effect of the step-size parameter µ for both the LMS and the NLMS algorithms. Use, e.g., µ = {0.0001, 0.001, 0.01, 1}. Are the algorithms stable in all these cases? (b) Now set the step size to µ = 0.001 and vary the variance of the input signal x[n]. Use σ 2 x = {0.2,1,5}. What is the difference between the LMS and the NLMS? (c) Let x[n] be a zero-mean, unit variance, white input process w[n] filtered by a two-tap moving average filter, i.e., x[n] = w[n] + w[n 1]. 2 2 Use again a small step size of µ = 0.001 and plot convergence behavior of the misalignment vector. What can you observe? Can you still determine the time constants? What can you say about the covergence behavior of the MSE as a function of time? (d) In all previous tasks, how did the MSE behave after convergence? (e) For all evaluated scenarios compute the excess MSE. What can you observe?

442.012 Adaptive Systems Problem Classes Winter Term 2016/17 9 MATLAB Problem 3.4 (7 Points) Bonus Problem and Contest: Periodic- Interference Cancelation Onourcourseweb pageyou will findawave file(8 khzsamplingrate) that contains speech with interfering tones turning on and off (DTMF signals). Implement an interference cancelation system of your choice in MATLAB that removes/attenuates the disturbing DTMF signals. For instance, you may choose an LMS-based predictor or a bank of adaptive/non-adaptive notch filters. Also switching between adaptive/non-adaptive filters may be a possibility. For an adaptive filter, an adaptive step size may be considered. The only requirement the system has to satisfy is a maximum input-to-output delay of 25 ms. Note that any delay 25 ms is accepted (but you have to tell us the exact delay in samples) and that SNR is the only benchmark feature. For evaluation, we provide you with the clean speech signal s[n] (of course, the interference cancelation system is NOT allowed to use the clean speech signal). The SNR is calculated as SNR db = 10log 10 σ 2 s σ 2 r, where r[n] is any error on the output signal ŝ[n] of your system (r[n] = s[n ] ŝ[n]).