DIGITAL FILTERING AND THE DFT

Similar documents
Final Exam Solutions June 14, 2006

SAMPLING WITH AUTOMATIC GAIN CONTROL

Multirate Digital Signal Processing

STUFF HAPPENS. A Naive/Ideal Communication System Flat Fading What if... idealized system. 9: Stuff Happens

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

PULSE SHAPING AND RECEIVE FILTERING

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

CARRIER RECOVERY. Phase Tracking. Frequency Tracking. adaptive components. Squared Difference Phase-locked Loop Costas Loop Decision Directed

Project I: Phase Tracking and Baud Timing Correction Systems

Recap of Last 2 Classes

Final Exam Solutions June 7, 2004

1. Clearly circle one answer for each part.

Department of Electronics and Communication Engineering 1

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital Processing of Continuous-Time Signals

4. Design of Discrete-Time Filters

Design of FIR Filters

Digital Processing of

Sampling and Signal Processing

1. Clearly circle one answer for each part.

Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta

Lecture 3 Concepts for the Data Communications and Computer Interconnection

MULTIRATE DIGITAL SIGNAL PROCESSING

Chapter 2: Signal Representation

EECE 301 Signals & Systems Prof. Mark Fowler

Outline. EECS 3213 Fall Sebastian Magierowski York University. Review Passband Modulation. Constellations ASK, FSK, PSK.

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Copyright S. K. Mitra

ELEC3104: Digital Signal Processing Session 1, 2013

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

SEN366 Computer Networks

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

ECE 4213/5213 Homework 10

F I R Filter (Finite Impulse Response)

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

Modulation is the process of impressing a low-frequency information signal (baseband signal) onto a higher frequency carrier signal

EEE 309 Communication Theory

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

ECE 4600 Communication Systems

Outline Chapter 4: Orthogonal Frequency Division Multiplexing

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

Project 2 - Speech Detection with FIR Filters

Multirate Filtering, Resampling Filters, Polyphase Filters. or how to make efficient FIR filters

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Discrete-Time Signal Processing (DTSP) v14

Chapter 9. Chapter 9 275

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

QUESTION BANK. SUBJECT CODE / Name: EC2301 DIGITAL COMMUNICATION UNIT 2

Multirate DSP, part 1: Upsampling and downsampling

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100

STANFORD UNIVERSITY. DEPARTMENT of ELECTRICAL ENGINEERING. EE 102B Spring 2013 Lab #05: Generating DTMF Signals

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

ECE 429 / 529 Digital Signal Processing

Introduction to OFDM. Characteristics of OFDM (Orthogonal Frequency Division Multiplexing)

Self-interference Handling in OFDM Based Wireless Communication Systems

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

An Introduction to the FDM-TDM Digital Transmultiplexer: Appendix C *

Signal Processing Toolbox


Narrow-Band Low-Pass Digital Differentiator Design. Ivan Selesnick Polytechnic University Brooklyn, New York

CHAPTER 6 Frequency Response, Bode. Plots, and Resonance

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

Annex. 1.3 Measuring information

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Spring 2018 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #2. Filter Analysis, Simulation, and Design

Experiment 4 Sampling and Aliasing

Figure 1: Block diagram of Digital signal processing

Digital Filters FIR and IIR Systems

MULTIMEDIA SYSTEMS

( ) = V s ( jω ) = 2 kω, a = 4, R s. = 500 nf Draw a Bode diagram of the magnitude and phase of the frequency. Let R p. response H jω. V in.

IIR Ultra-Wideband Pulse Shaper Design

Signal processing preliminaries

1/14. Signal. Surasak Sanguanpong Last updated: 11 July Signal 1/14

ON SYMBOL TIMING RECOVERY IN ALL-DIGITAL RECEIVERS

Chapter-2 SAMPLING PROCESS

Wireless PHY: Modulation and Demodulation

Signal Processing Techniques for Software Radio

Plot frequency response around the unit circle above the Z-plane.

Class 4 ((Communication and Computer Networks))

Course Code: EE-411 Teacher: Engr.Ahmad Bilal Multiple choice & Short Questions notes

ECE 5650/4650 Exam II November 20, 2018 Name:

Flatten DAC frequency response EQUALIZING TECHNIQUES CAN COPE WITH THE NONFLAT FREQUENCY RESPONSE OF A DAC.

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals

Problems from the 3 rd edition

EE 311 February 13 and 15, 2019 Lecture 10

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Wireless Communication

Frequency Modulation and Demodulation

Transcription:

DIGITAL FILTERING AND THE DFT Digital Linear Filters in the Receiver Discrete-time Linear System Tidbits DFT Tidbits Filter Design Tidbits idealized system Software Receiver Design Johnson/Sethares/Klein / 7

Digital Linear Filters in the Receiver Binary message sequence b w { 3,,, 3} Coding P(f) Pulse shaping Other FDM Transmitted signal users Noise Analog upconversion Channel Carrier specification Analog received signal Antenna Analog conversion to IF T s Input to the software receiver Digital down- conversion to baseband Downsampling Equalizer Decision Decoding Timing synchronization T m Carrier synchronization Q(m) { 3,,, 3} Pulse matched filter Source and Reconstructed error coding message frame synchronization There are a number of places in our PAM communication system receiver after the sampler where a digital linear filter is needed, including: lowpass filter in digital downconversion pulse-matched filter timing interpolator equalizer correlator for decoder frame synchronization Software Receiver Design Johnson/Sethares/Klein 2 / 7 b^

Discrete-time Linear Systems Tidbits Discrete-time impulse: δ[k] = { k = k Signal as weighted sum of delayed impulses: {w[k]} = {, 2,,...} w[k] = δ[k]+2δ[k ] δ[k 2]... Discrete-time linear system response: input: w[k] = δ[k] output: y[k] = h[k] input: w[k] = δ[k]+2δ[k ] = w[]δ[k]+w[]δ[k ] output:y[k] = w[]h[k]+w[]h[k ] input: w[k] = j= w[j] δ[k j] output:y[k] = j= w[j] h[k j] w[k] h[k] Software Receiver Design Johnson/Sethares/Klein 3 / 7

DFT Tidbits DFT: Given we define IDFT: Given we define {w[k]} = {w[], w[],..., w[n ]} W[n] = DFT({w[k]}) = N k= w[k]e j(2π/n)nk n =,,2,...,N {W[n]} = {W[], W[],..., W[N ]} w[k] = IDFT({W[n]}) = N N n= W[n]e j(2π/n)nk k =,,2,...,N Software Receiver Design Johnson/Sethares/Klein 4 / 7

DFT Tidbits (cont d) Define M = w = [w[] w[] w[2]... w[n ]] T... e j2π N e j4π N... e j2π(n ) N e j4π N e j8π N... e j4π(n ) N.... e j2(n )π N e j4(n )π N... e j2(n )2 π N W = [W[] W[] W[2]... W[N ]] T Then, for the IDFT and for the DFT w = ( ) M W N W = NMw Software Receiver Design Johnson/Sethares/Klein 5 / 7

DFT Tidbits (cont d) Nw = W[] +W[]. e j2π/n e j4π/n. e j2π(n )/N +...+W[N ] = W[] C +W[] C +...+W[N ] C N = N n= W[n]C n w is a linear combination of the columns C n. e j2(n )π/n e j4(n )π/n. e j2(n )2 π/n Software Receiver Design Johnson/Sethares/Klein 6 / 7

DFT Tidbits (cont d) The all ones C is a vector of samples of a zero frequency sinusoid. The entries of C maintain the same (unit) magnitude but have an angle that increases from to 2π(N )/N, i.e. traversing one period over the data record length. The entries of C 2 traverse the full unit circle twice in the positive (counterclockwise) direction. The DFT re-expresses the time vector as a linear combination of sinusoids with periods equal to the data record length, half this length, one-third this length, and so forth up to (/(N ))th of this length. Software Receiver Design Johnson/Sethares/Klein 7 / 7

DFT Tidbits (cont d) The key factors in a DFT based frequency analysis are: The sampling interval T s is the time resolution, the shortest time over which any event can be observed. The sampling rate is f s = T s. As the sample rate increases, the time resolution decreases. The total time is T = NT s where N is the number of samples in the analysis. The frequency resolution is T = NT s = fs N. Sinusoids closer together (in frequency) than this value are indistinguishable. As the time resolution increases, the frequency resolution decreases, and vice versa. Software Receiver Design Johnson/Sethares/Klein 8 / 7

DFT Tidbits (cont d) Example: In specgong.m sampling interval: T s = 44 number of samples: N = 2 6 total time: NT s =.48 seconds frequency resolution: NT s =.67 Hz Amplitude.5.5.5 Time in seconds.5 4 Magnitude 3 2.5.5 2 2.5 Frequency in Hertz 4 4 Magnitude 3 2 4 6 65 7 75 45 5 8 55 85 Frequency in Hertz Software Receiver Design Johnson/Sethares/Klein 9 / 7

Filter Design Tidbits Types: 7: Digital Filtering and the DFT lowpass filter high pass filter bandpass filter bandstop (notch) filter Bandpass filter spectra specification: H(f ) Transition region Passband Stopband f Lower H(f ) band edge Upper band edge f Software Receiver Design Johnson/Sethares/Klein / 7

Filter Design Tidbits (cont d) From help firpm: FIRPM performs Parks-McClellan optimal equiripple FIR filter design. i.e. a linear phase (real, symmetric coefficients) FIR filter which has the best approximation to the desired frequency response in the minimax sense. b = firpm(fl,fbe,damps) b is the output vector containing the impulse response of the designed filter. fl is (one less than) the number of terms in b. fl fit to design specs improves fl computational costs increase fl throughput delay increases Software Receiver Design Johnson/Sethares/Klein / 7

Filter Design Tidbits (cont d) fbe is a vector of frequency band edge values as a fraction of the prevailing Nyquist frequency. For a basic bandpass filter: bottom of stopband (presumably zero) top edge of lower stopband (which is also the lower edge of the lower transition band) lower edge of passband upper edge of passband lower edge of upper stopband upper edge of upper stopband (generally the last value will be ). damps is the vector of desired amplitudes of the frequency response at each band edge. Software Receiver Design Johnson/Sethares/Klein 2 / 7

Filter Design Tidbits (cont d) From bandex with fbe=[.24.26.74.76 ] damps=[ ] fl=3 b=firpm(fl,fbe,damps); freqz(b) produces 2 Magnitude Response (db) 2 4 6 8..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist ) 5 Phase (degrees) 5 5..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist ) Software Receiver Design Johnson/Sethares/Klein 3 / 7

Filter Design Tidbits (cont d) To demonstrate criteria fit impact of filter length, repeat preceding example with fl halved and doubled. fl=5 2 Magnitude Response (db) 2 4 6 8..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) 2 Phase (degrees) 2 4 6 8..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) Software Receiver Design Johnson/Sethares/Klein 4 / 7

Filter Design Tidbits (cont d) fl=6 2 Magnitude Response (db) 2 4 6 8..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) 5 Phase (degrees) 5 5 2 25 3..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) Note improved fit to design specifications with increase in filter length (fl). Software Receiver Design Johnson/Sethares/Klein 5 / 7

Filter Design Tidbits (cont d) Adding an in-band notch with fbe=[.24.26.59.595.65.6.74.76 ] damps=[ ] fl=6 Magnitude Response (db) 2 3 4 5 6..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) Phase (degrees) 2 3 4..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) Desired notch (at normalized frequency =.6) is barely perceptible. Software Receiver Design Johnson/Sethares/Klein 6 / 7

Filter Design Tidbits (cont d) fl=2 Magnitude Response (db) 2 3 4 5..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) Phase (degrees) 2 3 4 5 6..2.3.4.5.6.7.8.9 Normalized frequency (Nyquist == ) Note improved fit to design specifications with increase in filter length (fl). Desired notch (at normalized frequency =.6) is quite pronounced. NEXT... We discuss the conversion of bits to symbols to pulse-amplitude modulated signals and the reversal with correlation used to locate the frame break. Software Receiver Design Johnson/Sethares/Klein 7 / 7