Using FPGA. Warin Sootkaneung Department of Electrical Engineering. and

Similar documents
Design of FIR Filter on FPGAs using IP cores

LECTURER NOTE SMJE3163 DSP

FIR Filter Design on Chip Using VHDL

MULTIRATE IIR LINEAR DIGITAL FILTER DESIGN FOR POWER SYSTEM SUBSTATION

Implementation of Decimation Filter for Hearing Aid Application

AUTOMATIC IMPLEMENTATION OF FIR FILTERS ON FIELD PROGRAMMABLE GATE ARRAYS

Design and FPGA Implementation of High-speed Parallel FIR Filters

Signal Processing Using Digital Technology

Single Chip FPGA Based Realization of Arbitrary Waveform Generator using Rademacher and Walsh Functions

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Analog Lowpass Filter Specifications

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

Design of Multiplier Less 32 Tap FIR Filter using VHDL

Performance Analysis of FIR Filter Design Using Reconfigurable Mac Unit

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

FPGA Implementation of Digital Modulation Techniques BPSK and QPSK using HDL Verilog

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Signal Processing and Display of LFMCW Radar on a Chip

EECS 452 Midterm Exam Winter 2012

Interpolated Lowpass FIR Filters

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

IMPLEMENTATION OF DIGITAL FILTER ON FPGA FOR ECG SIGNAL PROCESSING

SYLLABUS of the course BASIC ELECTRONICS AND DIGITAL SIGNAL PROCESSING. Master in Computer Science, University of Bolzano-Bozen, a.y.

SCUBA-2. Low Pass Filtering

The Comparative Study of FPGA based FIR Filter Design Using Optimized Convolution Method and Overlap Save Method

EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS

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

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

Digital Signal Processing

An Overview of the Decimation process and its VLSI implementation

Filters. Phani Chavali

Trade-Offs in Multiplier Block Algorithms for Low Power Digit-Serial FIR Filters

FIR Filter for Audio Signals Based on FPGA: Design and Implementation

A Survey on Power Reduction Techniques in FIR Filter

Multirate DSP, part 1: Upsampling and downsampling

FPGA Implementation of High Speed FIR Filters and less power consumption structure

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

ELEC3104: Digital Signal Processing Session 1, 2013

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

Problem Point Value Your score Topic 1 28 Filter Analysis 2 24 Filter Implementation 3 24 Filter Design 4 24 Potpourri Total 100

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

On the Most Efficient M-Path Recursive Filter Structures and User Friendly Algorithms To Compute Their Coefficients

VLSI Implementation of Reconfigurable Low Power Fir Filter Architecture

Design & Implementation of an Adaptive Delta Sigma Modulator

Copyright S. K. Mitra

LLRF4 Evaluation Board

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

On-Chip Implementation of Cascaded Integrated Comb filters (CIC) for DSP applications

Rapid Design of FIR Filters in the SDR- 500 Software Defined Radio Evaluation System using the ASN Filter Designer

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

Keywords FIR lowpass filter, transition bandwidth, sampling frequency, window length, filter order, and stopband attenuation.

A Comparative Study on Direct form -1, Broadcast and Fine grain structure of FIR digital filter

CHAPTER 4 FIELD PROGRAMMABLE GATE ARRAY IMPLEMENTATION OF FIVE LEVEL CASCADED MULTILEVEL INVERTER

Design of Adjustable Reconfigurable Wireless Single Core

Presented at the 108th Convention 2000 February Paris, France

UNIT-II MYcsvtu Notes agk

Design and Evaluation of Stochastic FIR Filters

F I R Filter (Finite Impulse Response)

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Design Digital Non-Recursive FIR Filter by Using Exponential Window

Design and Analysis of RNS Based FIR Filter Using Verilog Language

Multiple Constant Multiplication for Digit-Serial Implementation of Low Power FIR Filters

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

IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA. This Chapter presents an implementation of area efficient SPWM

FPGA based Asynchronous FIR Filter Design for ECG Signal Processing

Design of Cost Effective Custom Filter

Low-Power Multipliers with Data Wordlength Reduction

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

FINITE IMPULSE RESPONSE (FIR) FILTER

Design Implementation Description for the Digital Frequency Oscillator

Multiplierless Multi-Standard SDR Channel Filters

Towards Real-time Hardware Gamma Correction for Dynamic Contrast Enhancement

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

Performance Analysis of FIR Digital Filter Design Technique and Implementation

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

Advanced Digital Signal Processing Part 5: Digital Filters

IES Digital Mock Test

Globally Asynchronous Locally Synchronous (GALS) Microprogrammed Parallel FIR Filter

[Devi*, 5(4): April, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

VLSI IMPLEMENTATION OF MODIFIED DISTRIBUTED ARITHMETIC BASED LOW POWER AND HIGH PERFORMANCE DIGITAL FIR FILTER Dr. S.Satheeskumaran 1 K.

DIGIT SERIAL PROCESSING ELEMENTS. Bit-Serial Multiplication. Digit-serial arithmetic processes one digit of size d in each time step.

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

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

EE 470 Signals and Systems

Digital Signal Processing of Speech for the Hearing Impaired

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

Analog Interface 8.1 OVERVIEW 8 1

1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)

Comparison of Different Techniques to Design an Efficient FIR Digital Filter

Digital audio filter design based on YSS920B. Mang Zhou1,a

THIS work focus on a sector of the hardware to be used

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

Word length Optimization for Fir Filter Coefficient in Electrocardiogram Filtering

Continuously Variable Bandwidth Sharp FIR Filters with Low Complexity

International Journal of Advanced Research in Computer Science and Software Engineering

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

International Journal of Advance Engineering and Research Development

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Transcription:

Tl D.3 The Design of Bit-Serial Lattice Wave Digital Filter Using FPGA Warin Sootkaneung Department of Electrical Engineering Rajamangala University of Technology Phra Nakhon, Thewes Campus Bangkok, Thailand Abstract-This article describes an efficient approach to the implementation of bit-serial lattice wave digital filters based on field programmable gate array (FPGA). In this paper, a time schedule of all of the bit-serial two-port adaptors is presented as a bridge between conception and completion. Finally, with the satisfying frequency response, the filter is successfully tested by both computer simulation and real signal measured from the programmed FPGA. I P PIUn n Keywords-lattice wave digital filters, bit-serial, two-port adaptors, field programmable gate array (FPGA) I. INTRODUCTION The wave digital filter is one of the structures of the infinite impulse response (IIR) digital filter. By using an analog filter as the prototype circuit, either voltage or current variables in the analog circuit are completely changed into wave variables: incident and reflected waves []. Due to being low sensitivity in analog networks, we can also reduce the coefficient word length of the digital filter. As a result, the wave digital filters directly benefit the period of multiplication as well as the area consumption within the chip. This kind of digital filter becomes more popular to be implemented into many varieties of integrated circuits. The lattice wave digital filter can be derived from an analog lattice-lc circuit in which its sensitivity is naturally a bit lower in the passband than in the stopband. Nevertheless, there is less number of coefficients in the analog lattice-lc than in the LC-ladder network, having very low sensitivity, and the structure of the lattice wave digital filter is very simple so it is very famous one [2]. This paper illustrates the design steps of the bit-serial lattice wave digital filter by presenting a technique for multipleing the processing elements in the time schedule pattern and a method for real circuit design. Lastly, the whole algorithm is programmed into a Xilin FPGA that is later tested for its frequency responses. II. LATTICE WAVE DIGITAL FILTER The structure illustrated in Figure will be called the twoport adaptor. For each n two-port adaptor,, and v, are the variables of incident waves, and yn and u, are the variables of reflected wave. Figure. Structure of the two-port adaptor The relations between these variables are obtained as follows, and Yn = Vn+an (Un Xn ) Un = Xn+an (Vn Xn ) where a, is coefficient of each two-port adaptor. According to those equations, if u, and v, are connected together via a delay element (T) shown in Figure 2(a), This will be called the St-order allpass filter and its transfer function in z-domain becomes )n --a0z+ Xn - aoz- Z where ao is the coefficient of the st-order allpass filter. If we consider Figure 2(b) carefully, we will have the transfer function of the 2nd_order allpass filter. That is () (2) (3) 0-7803-9282-5/05/$20.00 2005 IEEE 559 ICICS 2005

-+a2 -a, (a,- )z-+zzo + a2 (&l -)z - If the order of A and A2 are considered to be m and n respectively, in the case of lowpass filter, the value of m - n is always [3]. The transfer functions which can be rewritten in terms of the coefficients of two-port adaptors are Z2 where a and a2 are coefficients of the 2nd-order allpass filter. -ao Al(z = (m z - I-aoz )2 i=l a2 +a( 2i- +a2 (a2 -)zl -)z 2Z -a 2 (6) and +22_a(a2i-()za +z2 (m+n-) /2_2 y i=(m+)/2 (a) +a2i (a22i- )z z a2a2i-l where a0 is the coefficient of two-port adaptor belonging to the Ist-order polynomial, and a2jj and a2i are the values of the 2nd_order polynomial., III. FILTER SYSTEM DESIGN It is desired to design an elliptic lowpass filter with the cutoff frequency at 0.05ft. The maimum acceptable passband ripple and the required stopband attenuation are db and 30 db, respectively, where ft is sampling frequency. y (b) Figure 2. st and 2nd allpass filters The structure of lattice wave digital filter consists of two parallel circuits as show in Figure 3. The transfer function of this circuit is I H(z) = (A(z) + A2 (Z)). 2 (5) input (n) y(n) Figure 3. Parallel connection of two circuits Figure 4. The 5th-order lattice wave digital filter 560

After having been calculated [], [4], [5], the lattice wave digital filter is fifth-order. Its coefficients after optimization are shown in Table. The design is performed by bit-serial processing elements which are represented by the 2's complement number system. The data bits have the word length at 22, and the calculated result gives the optimum coefficient word length at least 9 bits including a signetension bit. TABLE I..+ AA] V, (n) 8-bit word length (Decimal number) 5 + IID 9-bit binary word length (including a sign bit) ao 0.875 0.00000 a, -0.9685.0000000 a2 0.949285 0.00 a3-0.859375.000000 a4 0.96875 0.000 V,(n) v,(n+) +~ ~ ~ ~ ~ ~ ~ ~ l~' Io v0(n) y- ~ 'I X ~~~ll+o2 o _+3 I 22UD Y2 YL y (+ + 44D UI3 + +3(n) To y3 A2 v3(n)~~~~~~~y 0 A2.+ lid In bit-serial arithmetic, the data flows bit by bit through each processing element synchronized by the global internal clock. One group of data uses totally 22 clock cycles to be completely released from the least to the most significant bit so that the period of sampling is equal (D = D-flip flop). v4 Vn(n+l liid D * v4(n) 4 Figure 5. The time schedule of the 5th-order lattice wave digital filter IV. FPGA IMPLEMENTATION In this selective work, the Xilin Spartan-II FPGA is used to implement our lattice wave digital filter algorithms which have been already designed in previous section. The FPGA is programmed using a combination of Xilin core generation and hardware description language (HDL) code. The diagram of this hardware shown in Figure 6 consists of bit-serial two-port adaptors, ROM and its counter, control circuit and post processing elements (the last adder and halfmultiplier). This system uses bit-serial adders which cause the latency clock cycle. For multiplication, serial/parallel multipliers are applied and will cause a delay of 9 clock cycles depending only on the coefficient word length [6]. After all components in this system have been defined, the time schedule shown in Figure 5, illustrated separately with two sub-circuits: A and A2, can be achieved by dividing the time into several intervals. Each is equal one internal clock cycle. There are only three kinds of elements within the schedule: the adders, multipliers and delays. Every processing element and delay characteristic is arranged into the schedule which is connected by the thick lines indicating the number of delay elements. As a matter of fact, the number of intervals passed by those lines is eactly the same as the whole number of delay components in this digital circuit. Besides, the signals vo(n), vl(n), v2(n), v4n), and v4(n), which are the s of the delay elements (Ts), are fed from the signals vo(n+±), v(n+ ), v2(n+ ), v3(n+ ), and v4(n+) at the net period (= ). Consequently, the s of both A and A2 circuits have to be summed together at 23D and the summation has to be scaled by a half-multiplier later at 24D, so the final circuit can be achieved after 25 internal clock cycles has reached. at N 'IVc IID 0 THE OPIMIZED COEFFICIENTS OF THE 5TH ORDER LOWPASS FILTER CoeffiJcients ~ Y4 +. The input signals are the serial input and Global CLOCK. In this bit-serial system, the clock signal is the most important thing used to synchronize all of the bit-serial processors and trigger all of the control circuits as well. Both A OUT and A2 OUT are the signals of each parallel circuit. These s will have to be added together and then the solution is multiplied by 0.5 therefore the total y will be ultimately achieved. The ROM in this circuit is responsible for giving 9-bit parallel coefficients out to each serial/parallel multiplier at the eact time provided by the counter. The XC2S200PQ208 FPGA, composing of 200,000 total equivalent gates, has been selected. After implementation, the circuit carries out a lattice wave digital filter yielding up to 40 MHz for its internal oscillation. 56

CH=2V CH2+2V loous/div DC:io:i DC: D + :...DG... D...,,,,,,,,,,,,,,,,,,,,,,,NOR.......4 l- I-OUT... (c) At the frequency within the stop band Figure 7. The s of lattice wave digital lowpass filter for each frequency band Figure 6. Filter circuit diagram Also, the downloaded FPGA has been tested by real signal at 00 khz sampling frequency. The time domain responses are shown in Figure 7. CH2VDCH22V : 500u9/div DC: 0. DC...:' 0...:......N *,~~~~~NORM The circuit frequency responses shown in Figure 8 have been plotted by measuring the magnitude of the response corresponding with each varied input frequency in decibel unit (db). The horizontal ais indicates the values of normalized frequency. The computer simulation, having no round-off error, drawn by the thick line is also illustrated to compare the result to the real frequency response (star-line) which has the effect of round-off error. Magnitude[dB] Frequency Response li- Al.A... Ȧ AK...A..'.... '.. t... I...t.... TI... N.....V.. l.....i.i.. -...l...'i...''i''"' f'"...'''' y't"+ " 'l... '''lt...if.i...i...i..... 'ln''..." r'".. l''...ṫ''"''"l'l......... V VW V V \ v.v..vṿ....v. 7. *.......... '..I.. '... 'l"...t"...... -20-30 -40 (a) At the frequency below the filter cut-off frequency -50 CH2V CH2-2V + 500uS/div DC: O: DC l: :.:.:. :NORM 4H A. /V}VVvv +VfAv v V-V- I.... N I.... A A A.t An. A: A.A. n: h r. A A A. A: A A. A -J A. A:A A. A :A A. A K0 a. A A. A. h... vywv';... (b) At the frequency within the transition band.. l.. \ AR4VAIVAA Al.A-.. A.. F...... -60-70 L Id 0.0 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0. Normalized Frequency Figure 8. Circuit frequency responses V. CONCLUSION The design of lattice wave digital filter based on field programmable gate arrays (FPGAs) has been clearly proposed. To begin with, the optimized coefficients of our lattice wave digital filter have been acquired as well as simulated for the functional frequency responses. In gate level, this paper has described the technique for putting down the time schedule configured by bit-serial 562

processing elements. Afterwards, this time schedule has been successfully mapped and implemented into the Xilin Spartan- II FPGA (XC2S200), and so we accomplish the 5t -order lattice wave digital filter with the maimum internal clock frequency at about 40 MHz. With the satisfying results, the responses have been also consolidated by measuring the real signal. REFERENCES [] S. Lawson and A. Mirzai, Wave Digital Filters, Ellis Horwood, New York, 990. [2] S. Lawson, "Wave Digital Filters Boost DSP Applications," IEEE Circuits and Devices Magazine vol.84, pp. 27-3, 992. [3] J. Yli-Kaakinen and T. Saramaki, "An efficient algorithm for the design of lattice wave digital filters with short coefficient wordlength," IEEE International Symposium on Circuit and System vol.3, pp. 443-448, 999. [4] V. K. Ingle and John G. Proakis, Digital Signal Processing Using MATLAB V.4, PWS-ITP, Boston, 997. [5] A. Antoniou, Digital filters: Analysis, Design and application, 2IndED, Mcgraw-Hill, New York, 993. [6] L. Wanhammar, DSP Integrated Circuit, Academic Press, San Diego, 999. 563