Exploring Decimation Filters

Similar documents
VHDL-AMS Model for Switched Resistor Modulator

Design Of Multirate Linear Phase Decimation Filters For Oversampling Adcs

Channelization and Frequency Tuning using FPGA for UMTS Baseband Application

Implementation of CIC filter for DUC/DDC

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

FPGA Based Hardware Efficient Digital Decimation Filter for - ADC

An Overview of the Decimation process and its VLSI implementation

Choosing the Best ADC Architecture for Your Application Part 3:

Keywords: CIC Filter, Field Programmable Gate Array (FPGA), Decimator, Interpolator, Modelsim and Chipscope.

VLSI Implementation of Cascaded Integrator Comb Filters for DSP Applications

ECE 6560 Multirate Signal Processing Chapter 11

DECIMATION FILTER FOR MULTISTANDARD WIRELESS RECEIVER SHEETAL S.SHENDE

One-Bit Delta Sigma D/A Conversion Part I: Theory

Third order CMOS decimator design for sigma delta modulators

Lecture 10, ANIK. Data converters 2

Design of a Decimator Filter for Novel Sigma-Delta Modulator

Interpolation by a Prime Factor other than 2 in Low- Voltage Low-Power DAC

Design & Implementation of an Adaptive Delta Sigma Modulator

Time- interleaved sigma- delta modulator using output prediction scheme

10 bit Delta Sigma D/A Converter with Increased S/N ratio Using Compact Adder Circuits

Multirate DSP, part 3: ADC oversampling

EE247 Lecture 22. Figures of merit (FOM) and trends for ADCs How to use/not use FOM. EECS 247 Lecture 22: Data Converters 2004 H. K.

Low-Power Implementation of a Fifth-Order Comb Decimation Filter for Multi-Standard Transceiver Applications

Sigma-Delta ADC Tutorial and Latest Development in 90 nm CMOS for SoC

Multistage Implementation of 64x Interpolator

Convention Paper 8648

Combining Multipath and Single-Path Time-Interleaved Delta-Sigma Modulators Ahmed Gharbiya and David A. Johns

EECS 452 Midterm Exam Winter 2012

System on a Chip. Prof. Dr. Michael Kraft

Telecommunication Electronics

Design of an Embedded System for Early Detection of Earthquake

FPGA Prototyping of Digital RF Transmitter Employing Delta Sigma Modulation for SDR

A programmable CMOS decimator for sigma-delta analog-to-digital converter and charge pump circuits

Oversampling Data Converters Tuesday, March 15th, 9:15 11:40

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Symbol Timing Recovery Using Oversampling Techniques

Implementation of Decimation Filter for Hearing Aid Application

Lecture #6: Analog-to-Digital Converter

Care and Feeding of the One Bit Digital to Analog Converter

Performance Improvement of Delta Sigma Modulator for Wide-Band Continuous-Time Applications

ECE 627 Project: Design of a High-Speed Delta-Sigma A/D Converter

Cascaded Noise-Shaping Modulators for Oversampled Data Conversion

The Research and Design of An Interpolation Filter Used in an Audio DAC

VLSI Implementation of Digital Down Converter (DDC)

Band- Pass ΣΔ Architectures with Single and Two Parallel Paths

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

Care and Feeding of the One Bit Digital to Analog Converter

Fully synthesised decimation filter for delta-sigma A/D converters

Analysis and Implementation of a Digital Converter for a WiMAX System

Low-Power Decimation Filter Design for Multi-Standard Transceiver Applications

Analog to Digital Conversion

Analog and Telecommunication Electronics

Design of Continuous Time Multibit Sigma Delta ADC for Next Generation Wireless Applications

INF4420. ΔΣ data converters. Jørgen Andreas Michaelsen Spring 2012

BandPass Sigma-Delta Modulator for wideband IF signals

Fully Integrated FPGA-based configurable Motor Control

Improved offline calibration for DAC mismatch in low OSR Sigma Delta ADCs with distributed feedback

EXPERIMENTS ON DESIGNING LOW POWER DECIMATION FILTER FOR MULTISTANDARD RECEIVER ON HETEROGENEOUS TARGETS

CHAPTER. delta-sigma modulators 1.0

MSP430 Teaching Materials

A 12 Bit Third Order Continuous Time Low Pass Sigma Delta Modulator for Audio Applications

Comparator Design for Delta Sigma Modulator

Inside the Delta-Sigma Converter: Practical Theory and Application. Speaker: TI FAE: Andrew Wang

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

Low Power Decimator Design Using Bit-Serial Architecture for Biomedical Applications

Pipeline vs. Sigma Delta ADC for Communications Applications

Chapter 2: Digitization of Sound

Understanding PDM Digital Audio. Thomas Kite, Ph.D. VP Engineering Audio Precision, Inc.

Tirupur, Tamilnadu, India 1 2

Incremental Data Converters at Low Oversampling Ratios Trevor C. Caldwell, Student Member, IEEE, and David A. Johns, Fellow, IEEE

3. DAC Architectures and CMOS Circuits

Application Note, V0.1, September 2009 AN MIPAQ sense. Making use of Modules with integrated Current Measurement.

Design of Area and Power Efficient FIR Filter Using Truncated Multiplier Technique

CHAPTER 4 DESIGN OF DIGITAL DOWN CONVERTER AND SAMPLE RATE CONVERTER FOR DIGITAL FRONT- END OF SDR

SIGMA-DELTA CONVERTER

Oversampling D/A Converter Design for Improved Signal to Quantization Noise Ratio

A 100-dB gain-corrected delta-sigma audio DAC with headphone driver

Multirate DSP, part 1: Upsampling and downsampling

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

Lehrstuhl für Technische Elektronik. Mixed-Signal IC Design LAB

DSM Based Low Oversampling Using SDR Transmitter

Understanding Delta-Sigma Data Converters

PLC2 FPGA Days Software Defined Radio

EE247 Lecture 24. EE247 Lecture 24

Modulator with Op- Amp Gain Compensation for Nanometer CMOS Technologies

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

Multiplierless sigma-delta modulation beam forming for ultrasound nondestructive testing

RELAXED TIMING ISSUE IN GLOBAL FEEDBACK PATHS OF UNITY- STF SMASH SIGMA DELTA MODULATOR ARCHITECTURE

Summary Last Lecture

ESE 531: Digital Signal Processing

EE247 Lecture 23. Advanced calibration techniques. Compensating inter-stage amplifier non-linearity Calibration via parallel & slow ADC

DESIGN OF MULTI-BIT DELTA-SIGMA A/D CONVERTERS

Section 1. Fundamentals of DDS Technology

LOW SAMPLING RATE OPERATION FOR BURR-BROWN

High-Speed Hardware Efficient FIR Compensation Filter for Delta-Sigma Modulator Analog-to-Digital Converter in 0.13 μm CMOS Technology

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

Basic Concepts and Architectures

System Level Design of a Continuous-Time Delta-Sigma Modulator for Portable Ultrasound Scanners

THE FPGA AS A FLEXIBLE AND LOW-COST DIGITAL SOLUTION FOR WIRELESS BASE STATIONS

IGBT-Module integrated Current and Temperature Sense Features based on Sigma-Delta Converter

Transcription:

Exploring By Arash Loloee, Ph.D. An overview of decimation filters, along with their operation and requirements. Introduction Delta-sigma analog-to-digital converters (ADCs) are among the most popular converters that are suitable for low-to-medium speed and highresolution applications such as communications systems, weighing scales and precision measurement applications. These converters use clock oversampling along with noise-shaping to achieve high signal-to-noise ratio (SNR) and, thus, higher effective number of bits (ENOB). Noise-shaping occurs when noise is pushed to higher frequencies that are out of the band of interest. When the out-of-band noise is chopped off, SNR increases. After noise-shaping, the sampling rate is reduced back to its Nyquist rate by means of decimation filters. In fact, delta-sigma converters can be partitioned into two main building blocks: modulator and decimation filters. With a good understanding of these building blocks you can arrive at a robust and efficient design. Each of these main building blocks, in turn, is made of several different building blocks themselves. Unlike conventional converters that sample the analog input signal at Nyquist frequency or slightly higher, delta-sigma modulators, regardless of their order, sample the input data at rates that are much higher than Nyquist rate. The oversampling ratio (OSR) usually is expressed in the form of 2 m, where m=1,2,3, The modulator is an analog block in nature that needs little accuracy in its components. Thus, the burden of design can be pushed onto the decimation filter. The most important role of a decimation filter is to decrease the sampling rate by discarding every few samples. Presented in this article is a quick overview of decimation filters, along with their operation and requirements. Their requirements are based on the order of the delta-sigma modulator used in the converter, along with the overall number of bits being output by the ADC. Also provided is a description of cascaded integrator-comb (CIC) filters, along with filter requirements for a given delta-sigma ADC. CIC Filters Decimation filters perform several important functions. The first is to down-sample and reduce the clock rate. The second is to remove the entire out-of-band signals and noise. In practice decimation is done in multiple stages by cascading several smaller decimation factors, such that the overall decimation factor equals the product of decimation factors of the individual decimation stages. One big advantage of multistage filtering is the power reduction made possible by making the subsequent components operate at lower sampling rates. The power reduction, along with reduction in number of filter tabs makes a multistage approach more desirable. A first-order CIC filter is made of an integrator and a Comb stage. A switch between these two stages performs the down sampling operation. To Figure 1 A pictorial presentation of CIC filter operation. 32 High Frequency Electronics

have a better understanding how decimation filters operate, we created an example. Note that in a delta-sigma converter, the decimation filter is placed after the modulator. Assume a first-order delta-sigma modulator is used to generate a bit stream at the modulator s output (Figure 1). According to Figure 1, the 16 consecutive samples obtained from the modulator are added and the sum is divided by 16 to get the average value of reconstructed input. In this example, for an input of 0.56V, 9 out of 16 bits are high. Thus, the ratio of highs to total bits constructs a value that is very close to the input signal. This example shows that in order to compute the average of D samples, we need D-1 summation and a multiplication by 1/D (which indeed is dividing the sum by D). To get the average of D samples we can write (Equation 1): Y(n)=[x(n)+ x(n-1)+ x(n-2)+ x(n-3)+ x(n-4)+ + x(n-d+1)]/d Equation 1 can be written in Z-Domain (Equation 2): Y(z)=[X(z)+ X(z).z -1 + X(z).z -2 +X(z).z -3 + + X(z).z 1-D ] / D Now Equation 2 can be simplified to Equation 3: Eq.1 Eq.2 Y(z)=X(z).[1+ z -1 + z -2 + z -3 + + z 1-D ] / D Eq. 3 The transfer function H(z) can be calculated as Equation 4: Eq. 4 Figure 2 Conceptual implementation of Equation 3. Equation 4 can be simplified in the general form of Equations 5 and 6: Eq. 5 Eq. 6 To avoid D-1 summations and multiplication, commonly a CIC filter is used to achieve a similar result. A CIC filter typically is made of an integrator followed by a subtractor. Before the signal is sent to a Comb filter, it is decimated (down sampled) by a factor of M. Then the down-sampled data is passed to the Comb section. The architecture of a single-stage CIC filter is shown in Figure 3. Figure 4 shows the diagram for a multistage CIC filter. In a CIC filter architecture, note that there is no multiplication (multiplier), as it is required if you intend to implement Equation 6 directly. 34 High Frequency Electronics

Figure 3 Conceptual diagram for singlestage CIC filter. Figure 4 Illustration of a multistage CIC filter. In fact, the lack of need for a multiplier is an advantage of this type of filter. The transfer function of the first-order filter shown in Figure 1 can be written as Equations 7 through 8b: Eq.7 Eq.8A Eq.8B Looking into the transfer function of a CIC filter, the transfer function of integrator (accumulator) and subtractor (comb) is recognizable (Equations 9 10): Eq.9 If a multistage configuration (Figure 4) is used to implement a CIC filter, its transfer function can be written as Equation 11: Eq.10 Eq.11 where, K is the number of stages used in the filter. As mentioned earlier, a decimation operation takes place right after the integrator stage, so this must be taken into account. For a decimation factor of M, the transfer function should be revised as Equation 12: Eq.12 Note that in Figures 3 4, the integrators operate at a high sampling rate (fs), whereas the Comb filter operates at a down sampled frequency (fs/m). The CIC transfer function has the geometric series form of sum, which can be simplified as Equation 13: Eq.13 36 High Frequency Electronics

Filter Requirements Equation 13 implies that a CIC filter is equivalent to a cascade of K uniform FIR filter stages. It is interesting to note that despite the presence of integrators, which have infinite impulse response, the CIC filter has a rectangular impulse response. Furthermore, since all coefficients are unity and therefore symmetric, the CIC filter has a linear phase response and constant group delay. The order of the filter, K, has to be at least one higher than the order of delta-sigma modulator, as shown in Equation 14: Eq.14 For example, if a second order modulator is used, at least a third-order filter is needed. The number of bits generated at the output of the filter, generally referred to as output word size, is greater than that of the input to the filter. The word size is a function of decimation factor and the order of the filter itself. If B IN is the size of the bit stream coming from a modulator, then the word size, P, can be calculated using Equation 15: where M is the decimation factor. In architectures where the modulator generates a one-bit stream of codes, the equations are reduced to Equation 16: From Equation 16 you can see that for every added order of decimation filter, the output word size increases by a factor of log 2 M. For example, if the over sampling ratio is 32, increasing the order of filter (K) from three to four increases the bus size by five additional bits. Note that the final bus size is much greater than the actual needed bit size of a delta-sigma ADC. Thus, truncation has to be done to the bus size to obtain the final number of bits indicated by an ADC converter. This truncation is achieved by discarding a certain number of unneeded least significant bits (LSB). If P DISCARD, P WORD and N are the number of bits to be discarded, the output word size and the ADC s number of bits, respectively, the number of bits to be discarded can be calculated from the Equation 17: The conventional way of implementing a CIC filter is to synthesize it using a register transfer level (RTL) code. For a classical and textbook approach, use a digital integrator and differentiators as the main building blocks. A digital integrator (Figure 5) comprises a full adder followed by a D-flip flop in a feedback loop. The digital differentiator is made of the same two components where the full adder follows the flip flop and no feedback is presented. 38 High Frequency Electronics Eq.15 Eq.16 Eq.17 CIC Filter Macromodel A full macromodel was designed for TI s ADS1278 delta-sigma ADC. The macromodel was built using a sixth-order modulator, followed by a seventh-order filter with an oversampling ratio of 512. The modulator s output was a one-bit word. Therefore, using Equation 15, the final output bus size was calculated to be 64 bits. This is a 24-bit delta-sigma ADC, so the bits need to be truncated accordingly. To achieve this, the first 40 LSBs were discarded and the remaining 24 bits used as the final output bits. Figure 5 Schematic of digital integrator. Figure 7 shows the bit-stream that comes out of the delta-sigma modulator macromodel with a sixth-order modulator. A seventhorder CIC filter was modeled and used along with the modulator s macromodel. The full macromodel was simulated with a 500 Hz sine wave input signal that was sampled at various clock rates with decimation rate of 512. The final output of the delta-sigma ADC is a 24-bit bus, which is then connected to an ideal 24-bit DAC. By doing this we can reconstruct the analog Figure 6 Schematic of digital differentiator.

Figure 7 The resulting bit-stream from a delta-sigma modulator macromodel. Figure 8 Reconstruction of an input signal by passing the CIC output through an ideal DAC. voltage representation of the output code so it could be compared to the original analog input. This approach can verify the correctness of handshaking between the blocks and validate the full operation. Figure 8 shows the results of a simulation for sampling clock rates of 25 MHz, 5 MHz and 1.6 MHz with decimated clock rates of 48.828 KHz, 9.7656 KHz and 3.125 KHz, respectively. An important point to keep in mind is that CIC filter operation is done in 2s complement. The modulator output is straight binary. The input to conventional digital-to-analog converters (DACs) also is binary. Thus, the modulator output needs to be converted to 2s complement prior to being passed to a CIC filter so the CIC filter can operate on the 2s complement data. In the end, the decimation filter output should be converted back to binary, if it is going to be used by other conventional blocks. Therefore, in the delta-sigma macromodel two additional blocks are inserted before and after the CIC filter. The first block performs a conversion of binary-to-2s complement, while the block at the other end converts 2s complements back to binary codes to be used with an accompanied ideal DAC. The components used in the delta-sigma macromodel are presented in Figure 9. Summary We covered the basics of decimation filters along with their building blocks. The main idea of this work is to recognize the requirement of CIC filters that follow delta-sigma modulators as a part of delta-sigma data converters. The required order of filter, number of bits to be kept and number of bits to be discarded for a given order of delta-sigma converter, and specified decimation factor are explained in detail. Also provided is a simulation result of a sixth-order 24-bit delta- Figure 9 A design using TI s ADC1278 24-bit ADC macromodel building blocks. 39

sigma ADC macromodel that depicts the reconstruction of an analog input signal for various clock frequencies and decimation rates. About the Author: Arash Loloee is a Member of Texas Instruments Group Technical Staff. As Senior IC Design Engineer, he has responsibilities ranging from designing transistor- to system-level projects. He received his Ph.D. in EE and MSEE from Southern Methodist University, and his B.S. in Physics from the University of North Texas. Arash has been a lecturer at the University of Texas at Dallas (2005 to 2011) where he taught various analog-related topics. He has three patents, with one pending. Arash can be reached at ti_arashloloee@list.ti.com. References Delta-sigma data converters; Theory, Design, and Simulation. S.R. Norseworthy, R. Schreier, G.C. Temes. Wiley Interscience, 1997. On Design & Implementation of a Decimation Filter for Multistandard Wireless Transceivers, A. Ghaze & et al. IEEE Transactions of Wireless Communications, Vol.1, No.4, October 2002. Understanding Cascaded Integrator Comb Filters, Richard Lyons, Embedded Systems Programming, March 2005 An Economical Class of Digital Filters for Decimation and Interpolation, E. B. Hogenauer, IEEE Transactions on Acoustics, Speech, and Signal Processing. Vol29 No.2, pp 155-162, April 1981 Design Tradeoffs for Linear Phase FIR and Delta-Sigma Modulators, A. Blad, P. Lowenborg, H. Johansson, 14th European Signal Processing Conference, 2006 Low Power Decimation Filter Architectures for Delta-Sigma ADCs, Özge Gürsoy, Orkun Sağlamdemir, Mustafa Aktan, Selçuk Talay, Günhan Dündar Design and Implementation of CIC Based Decimation filter For Improved Frequency Response, R.K.Singh, A. Katiyar, 2009 International Conference on Emerging Trends in Electronic and Photonic Devices & Systems (ELECTRO-2009), pp 236-240 For more information on data converters, visit: www.ti.com/dataconverters-ca. 40 High Frequency Electronics