• Menu
  • Product
  • Email
  • PDF
  • Order now
  • TLV320ADCx120 and PCMx120-Q1 Programmable Biquad Filter Configuration and Applications

    • SBAA497B May   2021  – April 2022 PCM3120-Q1 , PCM5120-Q1 , PCM6120-Q1 , TLV320ADC3120 , TLV320ADC5120 , TLV320ADC6120

       

  • CONTENTS
  • SEARCH
  • TLV320ADCx120 and PCMx120-Q1 Programmable Biquad Filter Configuration and Applications
  1.   Trademarks
  2. 1Introduction
  3. 2Infinite Impulse Response Filters
    1. 2.1 Digital Biquad Filter
  4. 3TLV320ADCx120 and PCMx120-Q1 Digital Biquad Filters
    1. 3.1 Filter Design Using PurePath Console
      1. 3.1.1 Example Generating Programmable Biquad Coefficients Using PurePath Console
    2. 3.2 How to Generate N0, N1, N2, D1, and D2 Coefficients with a Digital Filter Design Package
    3. 3.3 Avoid Overflow Conditions
    4. 3.4 Digital Biquad Filter Allocation to Output Channel
    5. 3.5 Programmable Coefficient Registers for Digital Biquad Filters 1–6
    6. 3.6 Programmable Coefficient Registers for Digital Biquad Filters 7–12
  5. 4How to Program the Digital Biquad Filters on the TLV320ADCx120 and PCMx120-Q1
  6. 5Typical Audio Applications for Biquad Filtering
    1. 5.1 Parametric Equalizers
  7. 6Crossover Networks
  8. 7Voice Boost
  9. 8Bass Boost
  10. 9Removing 50 Hz–60 Hz Hum With Notch Filters
  11.   A Digital Filter Design Techniques
    1.     A.A Analog Filters
  12.   B Related Documentation
  13.   B Revision History
  14. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

TLV320ADCx120 and PCMx120-Q1 Programmable Biquad Filter Configuration and Applications

Trademarks

PurePath, Burr-Brown, are trademarks of Texas Instruments.

MATLAB is a registered trademark of The Mathworks Inc.

All trademarks are the property of their respective owners.

1 Introduction

Each channel of the TLV320ADCx120 and PCMx120-Q1 devices follows the signal chain shown in Figure 1-1. In this signal chain, each channel supports an analog differential or single-ended signal or a digital pulse density modulation (PDM) digital microphone. In TLV320ADCx120 and PCMx120-Q1 device families, the analog input signal is amplified by a Programmable Gain Amplifier (PGA) and then converted by a high-performance ADC into a digital signal. The PGA gains the input signal to match the full scale of the ADC. The digital signal has a programmable phase calibration to adjust the phase delay of each channel in steps of one modulator clock cycle. This allows the system to match the phase across different channels. The phase-calibrated digital signal is then decimated through a set of linear phase filters or low-latency filters. DC offset is removed from the decimated signal through a Digital High-Pass Filter (HPF) with three preset cutoff frequencies or a fully programmable cutoff frequency. Note that DC shifts are caused by mismatches in common-mode voltages. The output of the HPF is gain calibrated with 0.1-dB steps and summed with other channels. The gain calibration matches the gain across different channels, particularly if the channels have microphones with varying gain values. The output is then filtered by the Digital Biquad Filters and gained by the volume control.

GUID-FA7EB2D1-C0E7-4B2F-9090-9319BACC0A45-low.gifFigure 1-1 TLV320ADCx120 and PCMx120-Q1 Channel Signal Chain Processing Flow Chart

This application note concentrates on how to configure the Digital Biquad Filters. The Digital Biquad Filters are digitally implemented as a set of IIR filters.

2 Infinite Impulse Response Filters

Equation 1 specifies the transfer function of infinite impulse response filters (IIR).

Equation 1. GUID-EFD6E73C-04F5-45A7-AFC7-F4453C8FB18A-low.gif

When the coefficients of this transfer function are quantized for fixed point implementations, the resulting errors due to quantization and the recursive nature of the filter can significantly alter the desired filter characteristics and lead to instability. Partitioning this transfer function into a set of cascaded lower-order filters reduces the sensitivity to coefficient quantization. Cascaded Biquad IIR filter implementations have been proven to be effective in minimizing these effects.

2.1 Digital Biquad Filter

A Digital Biquad Filter is a second-order IIR filter with two poles and two zeros. “Biquad” is an abbreviation of “biquadratic.” Thus, a Digital Biquad Filter is an IIR filter whose transfer function is the ratio of two quadratic functions given by Equation 2 and the corresponding direct form II block diagram shown in Figure 2-1. In this equation, the coefficients are normalized so that a0 = 1 through the division of all the coefficients by a0.

Equation 2. GUID-B959924A-F63A-4079-B429-E4852E8D0E6F-low.gif
GUID-153846BA-1738-4B3C-B04C-695893E0EA6D-low.pngFigure 2-1 Direct Form II Biquad Filter

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale