Digital Signal Processing Complete Bandpass Filter Design Example



Similar documents
Digital Signal Processing IIR Filter Design via Impulse Invariance

First, we show how to use known design specifications to determine filter order and 3dB cut-off

ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR

Lecture 9. Poles, Zeros & Filters (Lathi 4.10) Effects of Poles & Zeros on Frequency Response (1) Effects of Poles & Zeros on Frequency Response (3)

2.161 Signal Processing: Continuous and Discrete Fall 2008

Chebyshev Filter at MHz Frequency for Radar System

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek

How to Design 10 khz filter. (Using Butterworth filter design) Application notes. By Vadim Kim

NAPIER University School of Engineering. Electronic Systems Module : SE32102 Analogue Filters Design And Simulation. 4 th order Butterworth response

DSP-I DSP-I DSP-I DSP-I

Time series analysis Matlab tutorial. Joachim Gross

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Laboratory #5: RF Filter Design

CHAPTER 8 ANALOG FILTERS

24 Butterworth Filters

Sophomore Physics Laboratory (PH005/105)

Use bandpass filters to discriminate against wide ranges of frequencies outside the passband.

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Designing a Linear FIR filter

Filter Comparison. Match #1: Analog vs. Digital Filters

Transition Bandwidth Analysis of Infinite Impulse Response Filters

AN-837 APPLICATION NOTE

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2010 Linear Systems Fundamentals

Advanced Photon Source. RF Beam Position Monitor Upgrade Robert M. Lill

Design of FIR Filters

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

PIEZO FILTERS INTRODUCTION

Analog IIR Filter Design

What the Nyquist Criterion Means to Your Sampled Data System Design. by Walt Kester

Impedance 50 (75 connectors via adapters)

SWISS ARMY KNIFE INDICATOR John F. Ehlers

Frequency response: Resonance, Bandwidth, Q factor

Frequency Response of Filters

Engineering Sciences 22 Systems Summer 2004

Chapter 16. Active Filter Design Techniques. Excerpted from Op Amps for Everyone. Literature Number SLOA088. Literature Number: SLOD006A

Introduction to Receivers

Analog Filters. A common instrumentation filter application is the attenuation of high frequencies to avoid frequency aliasing in the sampled data.

LM833,LMF100,MF10. Application Note 779 A Basic Introduction to Filters - Active, Passive,and. Switched Capacitor. Literature Number: SNOA224A

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

SUMMARY. Additional Digital/Software filters are included in Chart and filter the data after it has been sampled and recorded by the PowerLab.

EE 508 Lecture 11. The Approximation Problem. Classical Approximations the Chebyschev and Elliptic Approximations

Introduction to IQ-demodulation of RF-data

SECTION 6 DIGITAL FILTERS

Controller Design in Frequency Domain

Simulation of Frequency Response Masking Approach for FIR Filter design

Active Filters. Motivation:

Analysis/resynthesis with the short time Fourier transform

IIR Half-band Filter Design with TMS320VC33 DSP

The Calculation of G rms

A Basic Introduction to Filters Active Passive and Switched-Capacitor

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

LAB 12: ACTIVE FILTERS

S-DOMAIN ANALYSIS: POLES, ZEROS, AND BODE PLOTS

Analog and Digital Filters Anthony Garvert November 13, 2015

Introduction to Digital Filters

DESIGN AND SIMULATION OF TWO CHANNEL QMF FILTER BANK FOR ALMOST PERFECT RECONSTRUCTION

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Improving Network Analyzer Measurements of Frequency-translating Devices Application Note

Design and Implementation of RF and Microwave Filters Using Transmission Lines

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

DESIGN OF ANALOGUE FILTERS USING CYPRESS PSOC

Frequency Response of FIR Filters

What you will do. Build a 3-band equalizer. Connect to a music source (mp3 player) Low pass filter High pass filter Band pass filter

Short-time FFT, Multi-taper analysis & Filtering in SPM12

Chapter 8 - Power Density Spectrum

RECOMMENDATION ITU-R SM Measuring sideband emissions of T-DAB and DVB-T transmitters for monitoring purposes

UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments

Em bedded DSP : I ntroduction to Digital Filters

AN48. Application Note DESIGNNOTESFORA2-POLEFILTERWITH DIFFERENTIAL INPUT. by Steven Green. 1. Introduction AIN- AIN+ C2

Homework Assignment 03

Clutter Filter Design for Ultrasound Color Flow Imaging

14: FM Radio Receiver

Low Pass Filter Rise Time vs Bandwidth

FEATURES APPLICATIO S TYPICAL APPLICATIO. LTC1061 High Performance Triple Universal Filter Building Block DESCRIPTIO

Understanding CIC Compensation Filters

Lecture 1-6: Noise and Filters

Chapter 4: Passive Analog Signal Processing

Lecture 6 - Design of Digital Filters

Filter Design and Implementation

Digital filter design for electrophysiological data a practical approach

APPLICATION BULLETIN

PD Power Bandwidth- Worst Case Analysis July 2008

Bode Diagrams of Transfer Functions and Impedances ECEN 2260 Supplementary Notes R. W. Erickson

Probability and Random Variables. Generation of random variables (r.v.)

K2 CW Filter Alignment Procedures Using Spectrogram 1 ver. 5 01/17/2002

3500/40M Proximitor* Monitor

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Design of a TL431-Based Controller for a Flyback Converter

Appendix D Digital Modulation and GMSK

SAMPLE SOLUTIONS DIGITAL SIGNAL PROCESSING: Signals, Systems, and Filters Andreas Antoniou

1995 Mixed-Signal Products SLAA013

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Frequency response. Chapter Introduction

Lock - in Amplifier and Applications

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

Transcription:

Digital Signal Processing Complete Bandpass Filter Design Example D. Richard Brown III D. Richard Brown III 1 / 10

General Filter Design Procedure discrete-time filter specifications prewarp DT frequency specifications to CT convert CT frequency specs to a prototype CT lowpass filter design prototype CT lowpass filter convert CT prototype lowpass filter to desired filter type bilinear transform to get prototype DT lowpass filter bilinear transform convert DT prototype lowpass filter to desired filter type via spectral transformation H(z) H(z) D. Richard Brown III 2 / 10

Bilinear Transform Bandpass Filter Design Ex. Desired discrete-time BPF specifications: ω p1 = 0.45π, ω p2 = 0.65π, ω s1 = 0.3π, ω s2 = 0.75π, maximum passband ripple 1 db, minimum stopband attenuation 40 db. 1dB 1 40dB ω s1 ω p1 ω p1 ω s2 ω D. Richard Brown III 3 / 10

Step 1: Prewarp to CT Frequencies We can assume an arbitrary sampling period T d, so we will choose T d = 1. The following Matlab code computes the prewarped CT frequencies: % set sampling period T = 1; % prewarp frequencies omega = [0.3 0.45 0.65 0.75]*pi; Omega_prewarped = (2/T)*tan(omega/2); We get Omega_prewarped = 1.0191 1.7082 3.2637 4.8284 and note that ˆΩ p1 ˆΩp2 = 5.5749 > 4.9204 = ˆΩ s1 ˆΩs2. We need to adjust one or more band edges so that ˆΩ p1 ˆΩp2 = ˆΩ s1 ˆΩs2. D. Richard Brown III 4 / 10

Step 2: Precompute Values for Prototype CT LPF Since we need ˆΩ 2 0 = ˆΩ p1 ˆΩp2 = ˆΩ s1 ˆΩs2, we can increase ˆΩ s1 to shorten the left transition band. ˆΩ s1 ˆΩp1 ˆΩp2 ˆΩs2 ˆΩ The following Matlab code makes this correction and also computes a convenient bandwidth variable. % we want the two stopband frequencies to be GEOMETRICALLY symmetric % around the GEOMETRIC center frequency of the passband Omega_0 = sqrt(omega_prewarped(2)*omega_prewarped(3)); Omega_prewarped(1) = Omega_0^2/Omega_prewarped(4); % compute useful bandwidth variable for later BW = Omega_prewarped(3)-Omega_prewarped(2); D. Richard Brown III 5 / 10

Step 3: Design Prototype CT LPF We now use the frequency relation between the prototype LPF and the transformed BPF ˆΩ2 Ω = Ω 0 ˆΩ 2 p ˆΩ (ˆΩp2 ˆΩ ) p1 to reverse transform the (prewarped and corrected) CT BPF specifications to an appropriate set of prototype CT LPF specifications. This can be accomplished in Matlab as % create prototype CT LPF filter specs via LPF<->BPF transformation % (uses even symmetry of magnitude response) Omega_p = 1; % arbitrary Omega_s = (Omega_0^2-Omega_prewarped(1)^2)/(Omega_prewarped(1)*BW); % design prototype CT LPF % (can also do this by hand as shown in another screencast) [N,Wn] = buttord(omega_p,omega_s,1,40, s ); [B,A] = butter(n,wn, s ); At this point, we have a transfer function H P (s) for a prototype CT LPF. D. Richard Brown III 6 / 10

Step 4: Transform from CT LPF to CT BPF We have our prototype H P (s). To get H T (s) we have to apply the substitution s 2 + s Ω ˆΩ 2 0 p s (ˆΩp2 ˆΩ ) p1 For notational convenience, let B = ˆΩ p2 ˆΩ p1. This transform causes H P (s) = Remarks: b N i=1 (1 s α i ) N i=1 b bb N s N ( ) = 1 Ωp s 2 + ˆΩ 2 ( ) 0 N sb i=1 Bs Ωps2 +ˆΩ 2 0 α α i i For each pole α i of the prototype LPF, we now get two poles according to the solutions of Note the addition of N zeros at s = 0 Bs Ω ps 2 + ˆΩ 2 0 α i = 0 D. Richard Brown III 7 / 10

Step 4: Transform from CT LPF to CT BPF (Matlab) Here we do the transformation manually (see also Matlab function lp2bp) % compute poles of prototype CT LPF LPFpoles = roots(a); % compute new pole locations after transformation BPFpoles = zeros(1,2*n); index = 1; for i=1:n, tmp = roots([1 -LPFpoles(i)*BW/Omega_p +Omega_0^2]); BPFpoles(index) = tmp(1); BPFpoles(index+1) = tmp(2); index = index+2; end % form numerator and denominator polynomial vectors A_BPF = poly(bpfpoles); B_BPF = [B(end)*BW^N zeros(1,n)]; D. Richard Brown III 8 / 10

Step 5: Bilinear Transform from CT BPF to DT BPF The last step is to take H BP F (s) and perform the substitution s 2 ( ) 1 z 1 T d 1 + z 1 using T d = 1 as decided earlier. Matlab has a built-in command to do this called bilinear. All we need to do is [num,den] = bilinear(b_bpf,a_bpf,t); to get the final discrete-time bandpass filter. D. Richard Brown III 9 / 10

Bilinear Transform Lowpass Butterworth Filter Design Ex. 10 0 10 magnitude response 20 30 40 50 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized frequency (times π) D. Richard Brown III 10 / 10