Comparison of interpolator realizations for high quality audio signals

Similar documents
Noise removal example. Today s topic. Digital Signal Processing. Lecture 3. Application Specific Integrated Circuits for

Multirate Digital Signal Processing

Multirate DSP, part 1: Upsampling and downsampling

Design and Implementation of Efficient FIR Filter Structures using Xilinx System Generator

Optimized Design of IIR Poly-phase Multirate Filter for Wireless Communication System

Module 9: Multirate Digital Signal Processing Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School of Electrical Engineering &

An Efficient and Flexible Structure for Decimation and Sample Rate Adaptation in Software Radio Receivers

Interpolation Filters for the GNURadio+USRP2 Platform

Optimal Design RRC Pulse Shape Polyphase FIR Decimation Filter for Multi-Standard Wireless Transceivers

Design and Simulation of Two Channel QMF Filter Bank using Equiripple Technique.

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

Implementation of Decimation Filter for Hearing Aid Application

Design of Cost Effective Custom Filter

Frequency-Response Masking FIR Filters

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

Design Of Multirate Linear Phase Decimation Filters For Oversampling Adcs

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

Design and simulation of Filter Banks with Low Computational Complexity For Audio Applications

Copyright S. K. Mitra

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

McGraw-Hill Irwin DIGITAL SIGNAL PROCESSING. A Computer-Based Approach. Second Edition. Sanjit K. Mitra

Analog Lowpass Filter Specifications

Narrow-Band and Wide-Band Frequency Masking FIR Filters with Short Delay

Digital Processing of Continuous-Time Signals

DECIMATION FILTER FOR MULTISTANDARD WIRELESS RECEIVER SHEETAL S.SHENDE

Digital Processing of

Comparison of Multirate two-channel Quadrature Mirror Filter Bank with FIR Filters Based Multiband Dynamic Range Control for audio

Design of a Sharp Linear-Phase FIR Filter Using the α-scaled Sampling Kernel

Multistage Implementation of 64x Interpolator

ELT Receiver Architectures and Signal Processing Exam Requirements and Model Questions 2018

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

Mitch Gollub Jay Nadkarni Digant Patel Sheldon Wong 5/6/14 Capstone Design Project: Final Report Multirate Filter Design

DIGITAL representation of analog signals has a lot of

4. Design of Discrete-Time Filters

Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Convention Paper 8648

Digital Signal Processing in Power Electronics Control Circuits

Chapter 9. Chapter 9 275

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods

Digital Signal Processing

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

Signal processing preliminaries

DSP Filter Design for Flexible Alternating Current Transmission Systems

Implementation of CIC filter for DUC/DDC

Signals and Systems Lecture 6: Fourier Applications

Interpolated Lowpass FIR Filters

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

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

arxiv: v1 [cs.it] 9 Mar 2016

MULTIRATE DIGITAL SIGNAL PROCESSING

Design of a Decimator Filter for Novel Sigma-Delta Modulator

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Design of Two-Channel Low-Delay FIR Filter Banks Using Constrained Optimization

Simulation of Frequency Response Masking Approach for FIR Filter design

APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES

Multirate DSP, part 3: ADC oversampling

Multirate Signal Processing

Using FPGA. Warin Sootkaneung Department of Electrical Engineering. and

Practical FIR Filter Design in MATLAB R Revision 1.0

Realization of Programmable BPSK Demodulator-Bit Synchronizer using Multirate Processing

Cascaded Noise-Shaping Modulators for Oversampled Data Conversion

DSP-BASED FM STEREO GENERATOR FOR DIGITAL STUDIO -TO - TRANSMITTER LINK

Signal Processing Toolbox

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

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

EE 311 February 13 and 15, 2019 Lecture 10

Design Digital Non-Recursive FIR Filter by Using Exponential Window

ELEC3104: Digital Signal Processing Session 1, 2013

Discrete-Time Signal Processing (DTSP) v14

Analog Interface 8.1 OVERVIEW 8 1

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

IIR Ultra-Wideband Pulse Shaper Design

Octave Functions for Filters. Young Won Lim 2/19/18

IN THE PAST, most digital filters were designed according

SIGMA-DELTA CONVERTER

Digital Filters FIR and IIR Systems

Design Low Noise Digital Decimation Filter For Sigma-Delta-ADC

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

You CAN Do Digital Filtering with an MCU!

Florida International University

Introduction to Digital Signal Processing Using MATLAB

Chapter 2: Digitization of Sound

Testing DDX Digital Amplifiers

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Chapter 7 Filter Design Techniques. Filter Design Techniques

Performance Analysis of FIR Filter Design Using Reconfigurable Mac Unit

Sine and Cosine Compensators for CIC Filter Suitable for Software Defined Radio

Signals and Systems Lecture 6: Fourier Applications

Implementation and Comparison of Low Pass FIR Filter on FPGA Using Different Techniques

FINITE IMPULSE RESPONSE (FIR) FILTERS

Estimation of filter order for prescribed, reduced group delay FIR filter design

DIGITAL DOWN/UP CONVERTERS FUNDAMENTALS. TEXAS INSTRUMENTS - WIRELESS RADIO PRODUCTS GROUP Joe Quintal

Application Note #5 Direct Digital Synthesis Impact on Function Generator Design

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Active Filter Design Techniques

Channelization and Frequency Tuning using FPGA for UMTS Baseband Application

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

Brief Introduction to Signals & Systems. Phani Chavali

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

Transcription:

Comparison of interpolator realizations for high quality audio signals Adam Dąbrowski, Krzysztof Sozański # Poznań University of Technology, Institute of Electronics and Telecommunications Division for Electronic Systems and Signal Processing, ul. Piotrowo 3a, 60-965 Poznań, Poland, Tel. 48 61 8 782 745, Fa. 48 61 8 782 572, e-mail: dabrow@et.put.poznan.pl currently at University of Kaiserslautern, Dept. of Electrical Eng., Paul-Ehrlich-Str. 14/445, 67-663 Kaiserslautern, Germany, Phone: ( 49 631) 2052839, Fa: ( 49 631) 2052168 # Department of Mathematics, Physics and Technology, Pedagogical University of Zielona Góra, al. Wojska Polskiego 69, 65-625 Zielona Góra, Poland, Tel. 48 68 263520 int. 241, Fa. 48 68 265449, e-mail: sozanski@asia.aw.wsp.zgora.pl, sozanski@ieee.org. ABSTRACT This paper describes implementations of a single stage and a multistage interpolator for high quality audio signals. The first one is a multistage interpolator based on bireciprocal modified lattice wave digital filters. The second one is that based on two-path (polyphase) digital filters. The interpolators are implemented in a floating point digital signal processor ADSP-21061 (SHARC). The results of these implementations are presented and compared. Keywords: digital signal interpolators, multirate signal processing, modified wave digital filters, IIR digital filters, digital signal processors. 1. INTRODUCTION In a class D power amplifier, depicted in Fig. 1, the output pulse power amplifier works as a one-bit D/A converter. We assume that the amplifier input signal is in the CD player standard, i.e., is sampled with rate =44.1 ksamples/s. Thus, its approimate frequency band covers 0...f b =0...20 khz. In order to increase the resolution of the amplifier, noise shaping and oversampling techniques are used. =44.1ksamples/s R =352.8ksamples/s Digital Audio Signal Interpolator R Noise Shaping Modulator PWM Pulse Amplifier Analog LP Filter Fig. 1. Block diagram of digital audio power amplifier The chosen signal oversampling ratio R=8 is a compromise between the power MOSFET switching losses (for the minimization of which R should be also minimized) and the

selectivity of the output passive lowpasss smoothing filter. The chosen switching frequency is R =352.8kHz. During the signal interpolation process, the signal dynamic ratio can be decreased by adding mirror signals to the input signal. For high quality audio signals the required dynamic range is near 90dB. 2. INTERPOLATOR DESIGN PARAMETERS An interpolator made up of an upsampler and an anti-imaging filter is depicted in Fig. 2a. After the upsampling process, the out-of-band signal is a potential source of interference for the input signal. The out of band signal can decrease the signal dynamic ratio. The antiimaging filter must attenuate all interfering signals. The stopband cutoff frequency F z must be selected to limit aliasing in the input signal frequency range. F s F s1 F s1 F s1 1 =R 1 1 (b) R 1 (nt) w(nt/r) R H(e jωt/r ) R y(nt/r) R 1 R 2... R k R 1 R 1 R 2 R 1 R 2 R 1 R 2... R k f 1 (nt) w 1 (nt 1 ) R H1 (e jωt 1 1 ) y 1 (nt 1 ) R w 2 (nt 2 ) H 2 (e jωt 2 2 ) y 2 (nt 2 ) w K (nt k-1 ) w k (nt k ) H k (e jωt k y k (nt k ) R k ) R y(nt k) T 1 =T/R 1 T 2 =T 1 /R 2 T k =T k-1 /R k Fig. 2. Interpolator made up of upsampler and an anti-imaging filter: single stage version, (b) multistage version Two types otopband criteria can be used in practice. In type 1, aliasing above the stopband deviation level in the transition band is not allowed (Fig. 3b). In type 2, aliasing above the stopband deviation level in the transition band is allowed (Fig. 3c). The normalized stopband frequency F z for filters of type 1 and type 2 can be described by equations Fs Fs Fb Fz =, Fz =, (1a,b) 2R R R respectively, where: F b the normalized passband frequency of the input signal, and F s the normalized sampling rate, R oversampling ratio. The multistage version of the interpolator is depicted in Fig. 2b. In this case, a design strategy is used, in which every stage attenuates its own interfering signals. Normalized passband signal frequency on the output of every stage is given by F F b( k 1) bk =, (2) Rk where: R k interpolating ratio at stage k. For stage k of the interpolator with a filter type 1 and type 2, the stopband frequency is given by

F zk F F F =. (3a,b) s( k 1) s( k 1) b( k 1), Fzk = 2Rk Rk Rk respectively. For the high quality audio signal with a dynamic range near to 90 db, a chosen oversampling ratio R=8 and the filter type 2, the parameters for a single stage interpolator and a multistage interpolator are shown in Table 1. In the multistage interpolator it is possible to reduce requirements for stages 2 and 3 by means of the suppression introduced in the stopband by an analog lowpass filter. Magnitude (b) Magnitude (c) Magnitude signal filter type 1 filter type 2 F b 0.5 F F p1 =F b1 F z =0.25 0.5 F F p1 =F b1 0.25 0.5 F F z Fig. 3. Filter types: input signal band width, (b) type 1 anti-imaging filter requirements with aliasing not allowed in transition band (for R=2), (c) type 2 anti-imaging filter requirements with aliasing allowed in transition band (for R=2) Table 1. Design parameters for single stage interpolator and multistage interpolator Stage F p (passband) F z (stopband ) δ p [db] (passband ripple) δ z [db] (stopband ripple) δ zfa [db] (with analog LP filter) single stage 0.0567 0.0683 0.1-90 -90 1 0.2267 0.2732 0.033-90 -90 2 0.1134 0.3866 0.033-90 -60 3 0.0567 0.4433 0.033-90 -60 3. SINGLE STAGE INTERPOLATOR The authors designed and implemented a single-stage interpolator with parameters shown in Table 1 in a digital signal processor ADSP-21061 [1]. The following types of interpolators have been analyzed: an interpolator with an elliptic filter IIR (Elip), interpolators with polyphase FIR filters: Parks-McClellan (PM), Kaiser window (Kaiser), least squares (LS), and constrained least squares (CLS). Fig. 7 shows the quantity of arithmetical operations necessary for a one sample interpolation (where R=8). Interpolators with FIR filters have a polyphase structure with periodically time-varying coefficients (Fig. 4). From the filters analyzed the IIR filters required the least number of arithmetical operations, however the polyphase FIR filters showed a similar efficiency.

=44.1ksamples/s R =352.8ksamples/s R=8 h(0) h(1) h(2) h(3) h(4) h(5) h(6) h(7) h(9) h(10) h(11) h(12) h(13) h(14) h(15) h(16) h(17) h(18) h(19) h(20) h(21) h(22) h(23) h(24) h(n-7) h(n-6) h(n-5) h(n-4) h(n-3) h(n-2) h(n-1) h(n) Fig. 4. Polyphase interpolator with periodically time-varying coefficients for R=8 4. MULTISTAGE INTERPOLATOR The multistage interpolator with parameters in Table 1 was designed and realized using a digital signal processor ADSP-21061. The following types of interpolators have been analyzed: interpolators with FIR filters (Section 3) and the FIR Parks-McClellan filter (PM FA) employing a stopband characteristic of an analog lowpass filter(fig. 1), classical IIR filters, elliptic (Elip.) and Czebyshev (Czeb.). a 1 ' b 2 (c) S 32 ' (z) γ sw1 γ sw2 8 γ 11=-γ 1/(1-γ 1 2 ) γ 22=γ 1 T S 31 ' (z) γ sw3 b 1 ' a 2 S 22 ' (z) S 32 ' (z) γ sw4 (b) S 12'(z) S 11 ' (z) S ' 21 (z) S ' 22 (z) S ' 31 (z) S ' 32 (z) γ sw5 S ' 2 (z) S ' 1 (z) γ s2 γ s1 2 S 21 ' (z) S ' 31 (z) S ' 32 (z) γ sw6 γ sw7 γ sw8 S 31 ' (z) Fig. 5. Interpolator realized with modified wave digital filters: modified allpass wave digital filter, (b) interpolator with R=2, (c) multistage version of the interpolator for R=8 with a single switch and resultant multipliers Bireciprocal lattice modified wave digital filters were also used in the interpolator design [1, 2, 4]. A block diagram of the filters is depicted in Fig. 5b,c. Two versions of this

interpolator were realized (MWDF and MWDF FA). The characteristics of an analog lowpass filter (Fig. 1) were employed in the second version. Modified wave digital filters are very efficient for the implementation with modern floating point signal processors, especially for applications where a wide dynamic range of the signal is important. Among the polyphase IIR filters, special attention was paid to a two-path (polyphase) filter designed according to methods introduced by Venezuela and Constantindes [5]. This filter consists of two branches with allpass filters (Fig. 6a). A block diagrams of these filters are shown in Figs. 6b,c. The two-path filters have very high performance and they are easily implemented and computationally efficient. The quantity N of allpass filter stages depends on: the stopband ripple δ z and the relative frequency of transition bandwidth F and is given by [3] N = δ z ( 72 F 10). (4) Similar to that for wave digital filters, two implementations of the polyphase two-path filters (CV and CV FA) were realized (Fig. 7). (c) 8 a 0 - A 20(z) (b) A 10(z) A 21(z) A 11(z) A 20(z) A 0(z) A 1(z) 2 A 21(z) Fig. 6. Block diagram of interpolator realized by polyphase two-path filters: allpass section, (b) interpolator for R=2, (c) multistage version of the interpolator for R=8 with a single switch 5. CONCLUSION Among the analyzed filters (Fig. 7) the multistage interpolator based on a polyphase twopath filter required the smallest number of arithmetical operations for implementation with ADSP-21061 digital signal processor. For applications, for which a linear phase response is important, a multistage interpolator with a Parks-McClellan FIR filter requires the smallest number of arithmetical operations. Using the symmetry of FIR filter coefficients, it is possible to decrease the number of arithmetic operations. Good results are also obtained for multistage interpolators based on modified wave digital filters.

Multiplications Additions 800 600 400 200 0 IIR Elip. FIR PM FIR CLS FIR LS FIR Kaiser IIR Czeb. IIR CV MWDF IIR CV FA MWDF FA FIR PM FA IIR Elip. FIR PM FIR CLS FIR LS FIR Kaiser multistage single stage Fig. 7. Quantity of arithmetical operations for interpolation of one sample (for R=8), results of implementations oingle stage and multistage versions of the interpolator realized on ADSP-21061 digital signal processor REFERENCES [1] Dąbrowski A., Sozański K., Implementation of Multirate Modified Wave Digital Filters Using Digital Signal Processors, XXI Krajowa Konferencja Teoria Obwodów i Układy Elektroniczne, KKTUIE98, Poznań 1998. [2] Fettweis A. Modified Wave Digital Filters for Improved Implementation by Commercial Digital Signal Processors, Signal Processing 16, Elsever Science Publishers B.V. (North-Holland), 1989. [3] Krukowski A., Kale I., Morling R. C. S., Hejn K., A Design Technique for Polyphase Decimators with Binary Constrained Coefficients for High Resolution A/D Converters, IEEE International Symposium on Circuits and Systems (ISCAS'94), Vol. 2, 1994, pp. 533-536. [4] Sozański K., Projektowanie i badanie banków filtrów cyfrowych realizowanych za pomocą procesorów sygnałowych, Rozprawa Doktorska, Politechnika Poznańska, Wydział Elektryczny, Poznań 1999. [5] Venezuela R. A., Constantindes A. G., Digital Signal Processing Schemes for Eefficient Interpolation and Decimation, IEE Proceedings, Vol. 130, Part G, No. 6, December 1983, pp. 225-235.