Filters for Data Transmission

Similar documents
Filter Design in Thirty Seconds

SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

Using the Texas Instruments Filter Design Database

More Filter Design on a Budget

A Differential Op-Amp Circuit Collection

Designing Gain and Offset in Thirty Seconds

A Differential Op-Amp Circuit Collection

How To Close The Loop On A Fully Differential Op Amp

SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS

Audio Tone Control Using The TLC074 Operational Amplifier

Pressure Transducer to ADC Application

August 2001 PMP Low Power SLVU051

Calculating Gain for Audio Amplifiers

Buffer Op Amp to ADC Circuit Collection

Application Report. 1 Description of the Problem. Jeff Falin... PMP Portable Power Applications ABSTRACT

Current-Transformer Phase-Shift Compensation and Calibration

Application Report SLVA051

THE RIGHT-HALF-PLANE ZERO --A SIMPLIFIED EXPLANATION

A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers

Design Note DN004. Folded Dipole Antenna for CC25xx By Audun Andersen. Keywords. 1 Introduction CC2500 CC2550 CC2510 CC2511

Controlling TAS5026 Volume After Error Recovery

Motor Speed Measurement Considerations When Using TMS320C24x DSPs

Signal Conditioning Wheatstone Resistive Bridge Sensors

AN-837 APPLICATION NOTE

LM5030 LM5030 Application: DC - DC Converter Utilizing the Push-Pull Topology

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

Application Report SLOA024B

Analog and Digital Filters Anthony Garvert November 13, 2015

Simplifying System Design Using the CS4350 PLL DAC

High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate

6 Output With 1 kω in Series Between the Output and Analyzer Output With RC Low-Pass Filter (1 kω and 4.7 nf) in Series Between the Output

APPLICATION NOTE BUILDING A QAM MODULATOR USING A GC2011 DIGITAL FILTER CHIP

APPLICATION BULLETIN

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

RETRIEVING DATA FROM THE DDC112

Wireless Subwoofer TI Design Tests

Understanding the Terms and Definitions of LDO Voltage Regulators

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

Timing Errors and Jitter

Signal Conditioning Piezoelectric Sensors

Texas Instruments. FB PS LLC Test Report HVPS SYSTEM AND APPLICATION TEAM REVA

Op Amp and Comparators Don t Confuse Them!

PIEZO FILTERS INTRODUCTION

APPLICATION BULLETIN

Multi-Transformer LED TV Power User Guide. Anderson Hsiao

The Calculation of G rms

TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin

CUSTOM GOOGLE SEARCH PRO. User Guide. User Guide Page 1

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

Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation

Analog and Digital Signals, Time and Frequency Representation of Signals

Lab 1: The Digital Oscilloscope

Application Note AN107

CTCSS REJECT HIGH PASS FILTERS IN FM RADIO COMMUNICATIONS AN EVALUATION. Virgil Leenerts WØINK 8 June 2008

MICROPHONE SPECIFICATIONS EXPLAINED

A Single-Supply Op-Amp Circuit Collection

The Phase Modulator In NBFM Voice Communication Systems

isim ACTIVE FILTER DESIGNER NEW, VERY CAPABLE, MULTI-STAGE ACTIVE FILTER DESIGN TOOL

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

IrDA Transceiver with Encoder/Decoder

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

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

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

AMC1100: Replacement of Input Main Sensing Transformer in Inverters with Isolated Amplifier

Frequency Response of Filters

TI and ibiquity Introduce Industry s Lowest Cost Single-Chip AM/FM and HD Radio Baseband John Gardner Digital Radio Marketing Manager

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

Wide Bandwidth, Fast Settling Difet OPERATIONAL AMPLIFIER

A Basic Introduction to Filters Active Passive and Switched-Capacitor

Standard Linear & Logic Semiconductor Marking Guidelines

Lab #9: AC Steady State Analysis

SN28838 PAL-COLOR SUBCARRIER GENERATOR

CBS RECORDS PROFESSIONAL SERIES CBS RECORDS CD-1 STANDARD TEST DISC

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

Reducing Electromagnetic Interference (EMI) With Low Voltage Differential Signaling (LVDS)

Data sheet acquired from Harris Semiconductor SCHS067B Revised July 2003

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

PCM Encoding and Decoding:

Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006

2.161 Signal Processing: Continuous and Discrete Fall 2008

CHAPTER 8 ANALOG FILTERS

AN1991. Audio decibel level detector with meter driver

µa7800 SERIES POSITIVE-VOLTAGE REGULATORS

Optical Implementation Using IEEE-1394.b

Prepared by: Paul Lee ON Semiconductor

Dithering in Analog-to-digital Conversion

Single-Stage High Power Factor Flyback for LED Lighting

Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP

Using C to Access Data Stored in Program Memory on the TMS320C54x DSP

APPLICATION NOTE AP050830

TVP5146 SCART and OSD

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

SN54HC191, SN74HC191 4-BIT SYNCHRONOUS UP/DOWN BINARY COUNTERS

Data sheet acquired from Harris Semiconductor SCHS087D Revised October 2003

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

TSL INTEGRATED OPTO SENSOR

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

Understanding CIC Compensation Filters

SN54F157A, SN74F157A QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

USB 3.0 CDR Model White Paper Revision 0.5

Transcription:

Application Report SLOA063 July 2001 Filters for Data Transmission Bruce Carter ABSTRACT The process of filtering an analog signal removes all frequencies above or below a corner frequency, passing only a band of frequencies, or rejecting a band of frequencies. When digital signals are filtered, however, a totally different set of constraints applies. This application note gives the designer a set of tools for implementing a filter that is the best compromise of interference rejection and preserving the timing of data signal harmonics. 1 Introduction Analog filtering has an unspoken assumption that the desired signal is composed of primarily of a single sinusoidal component, or a range of non-critical sinusoidal components. There are many applications, however, that involve the filtering of data. The previous assumptions no longer apply, and the designer must adopt new techniques for a successful filter design. Data transmission is best done differentially, so that common mode components can be eliminated. This is not to say that data transmission cannot be done in a single-ended manner, through coaxial cable, etc. Interference, however, is much more of an issue in a single-ended system. For example: a common question that Texas Instruments receives is how to implement a 60-Hz notch filter. The correct answer is to urge the customer to use differential transmission, which would inherently reject 60 Hz. This note will exclusively show differential circuit examples. 2 The Harmonic Nature of Data While a sine wave is composed of only one frequency component, more complex waveforms are composed of many frequency components. These frequency components form the final waveform when added together. Any continuous time, T-periodic waveform x(t) can be described mathematically as a Fourier series 1,2 of individual sine waves. The general form of the Fourier series is: x (t) = a 0 2 k = 1 ( a cos(kω t) b sin(kω t ) k 0 k 0 ) Where: Fundamental frequency ω 0 = 2π rad T sec The Fourier series of a square wave is: 1

SLOA063 x(t) = sin( ω o t) sin( 3ω 3 o t) sin( 5ω 5 o t)... sin(nω N o t) This means that a square wave is an infinite series of odd harmonics, summed together to create the square shape. Obviously, if a square wave is to be transmitted without distortion, all of the harmonics - out to infinity - must be transmitted. Figure 1 shows the first 999 harmonics of a 0-dB 1-MHz square wave. As with any square wave, there are no even harmonics, only odd. Because the frequency axis is logarithmic, the harmonics from 1 to 999 appear to crowd closer together as the frequency is increased from 1 MHz to 1 GHz. Harmonics above 1 GHz will continue to follow a 20 db per decade slope. Figure 1. The Spectrum of a 1-MHz Square Wave Any filter function must take the harmonic structure of the wave into account. The removal or modification of any harmonic will affect the shape of the waveform. Modification includes amplitude, phase, and timing (group delay) of each and every harmonic. Modifying higher order harmonics will have less effect on the shape of the waveform than modifying lower order harmonics, but the effect will be right at the corners of the waveform. When filtering a square wave or any other data format, it is the job of the designer to decide what harmonics must be passed and what can be eliminated. In subsequent figures, harmonics will be shown in blue, and harmonics above the 11 th are not shown they will crowd together to the point that they would produce continuous blue under the blue diagonal line that frames the other harmonics. 3 Filtering Data This section presents several options for filtering data. 3.1 Low Pass Filtering Data Low pass data filtering affects the harmonic content of the waveform, because, by definition, it eliminates higher order harmonics. 2 Filters for Data Transmission

SLOA063. Figure 2. Low Pass Filtering of a 1-MHz Square Wave Interfering frequencies must be much higher in frequency than the fundamental frequency. If the system requires that third, fifth, or even higher harmonics must be passed, the 3 db corner frequency must be above these harmonics; 3, 5, 7 or more times the fundamental frequency. Figure 2 shows a low pass filter response with a corner frequency between the 9 th and 11 th harmonics. Note that there is significant attenuation of the 5 th and 7 th harmonics as well, which produces rounding in the final waveform. The resulting waveform looks something like Figure 3: Figure 3. Square Wave Approximation Fourier synthesis 3 allows the user to play with Fourier harmonics and how they affect the shape of the waveform. An imperfect waveform may be acceptable to the designer - it depends on the timing of the leading and trailing edge of the waveform. The elimination of harmonics results in rounding of the edges, and therefore delays in the leading and trailing edges of the digital signal. The residual ripple in the high and low sections of the waveform must not trigger logic level changes at the next digital stage. Of more importance, however, is that the harmonics that are passed are not delayed. An early or late harmonic can change the timing of data. The shape of the waveform must be preserved. One of the designer s jobs is to select a 3 db corner frequency that eliminates interference, but does not adversely affect system performance by attenuating harmonics that are crucial to system timing. The designer also has to insure that all of the harmonics are phase shifted by the same amount, and arrive at the output of the filter at the same time. The designer, who is used to the Butterworth response, must choose another type of filter response. Filters for Data Transmission 3

SLOA063 3.1.1 Types of Filter Response The filter designer has several types of filter response from which to select. Low pass filter responses are shown in Figure 4: Figure 4. Filter Amplitude Responses All of these response characteristics roll off 3 db at the corner frequency (in this case 10 khz). After that, they all differ: Butterworth is the most popular response. It has no ripple in the pass or stop. There is a single set of component ratios that produces a Butterworth response. Chebyshev response has more roll off than Butterworth, and it has ripple in the pass band. Inverse Chebyshev response has ripple in the stop band, and therefore has a lot of rejection near the corner frequency, but the rejection bounces back, and there is some passage in the stop band. Elliptical response combines the characteristics of Chebyshev and inverse Chebyshev, having ripple in the pass band and in the stop band. Like the inverse Chebyshev, the stop band rejection has some bounce back. Bessel response has less rolloff in the stop band than the other types, and is not as flat in the pass band. Therefore, it has not been a very popular filter response. The designer might ask, why use a filter response that is not as good as the others? But the definition of good might be surprising! Bessel response has a characteristic that is extremely important to certain types of filter applications - constant group delay response. IMPORTANT CONCEPT Constant group delay is essential for data transmission. 4 Filters for Data Transmission

SLOA063. 3.1.2 Amplitude Roll Off or Group Delay? The emphasis for most designers is the degree of roll-off - just how much was needed, and just how close the corner of the filter could be placed to the passband without negatively affecting the signal content. A Bessel filter, however has (almost) flat group delay in the passband: Figure 5. Filter Group Delay Designers know much about the amplitude response of the filter. That, after all, determines what frequencies are passed, and what frequencies are stopped. Designers are only vaguely aware of the implications for the phase of the signal, and even less about group delay. There are few CAD programs that even address the group delay of a filter circuit. 3.1.3 Group Delay - Defined Group delay is defined as: The propagation time delay of the envelope on an amplitude modulated signal as it passes through a filter. Group delay is proportional to the change in slope of the phase shift response versus frequency curve 4. Defined mathematically 5 : D d dω ( ω) = Θ( ω) Where: Θ ( ω) is the phase shift in radians D ( ω) is the group delay Filters for Data Transmission 5

SLOA063 3.1.4 Group Delay Its Effect on Data Streams Constant group delay is the characteristic of Bessel filters that makes them valuable to digital designers. Very few filters are designed with square waves in mind. Most of the time, the signals filtered are sine waves, or close enough that the effect of harmonics can be ignored. If a waveform with high harmonic content is filtered, such as a square wave, the harmonics can be delayed with respect to the fundamental frequency, especially if a Butterworth or Chebyshev response is used. A Bessel response should be selected to avoid delaying the harmonics. Referring back to Figure 2, the group delay of a Butterworth filter is longest at the corner frequency, meaning that the 7 th and 9 th harmonics are delayed longer than the fundamental (1 st ), 3 rd, 5 th, 11 th to infinity). While a low pass characteristic may only round the square wave edges and produce a little ripple in the high and low portions, changing the delay of harmonics as well can wreak havoc with the structure of the wave, producing peaking or nulls at the edges of the waveform. It may be painful for a designer to live with less rolloff, or put in multiple Bessel filter stages to increase the rolloff. Regrettably, this is the price of preserving signal harmonic content. Fortunately, the designer may have an alternative see notch filtering. 3.1.5 Designing the Filter Figure 6 shows the circuit for a low pass filter. The best filter topology to use for differential low pass filters is the Multiple Feedback (MFB). The designer should: Select a corner frequency based on harmonic content desired in the waveform. Select a value of capacitor. This is the value for C1, and it also gives the value of C2, because the ratio of two is known. Calculate the starting resistor value R R1, R2, and R3 can then be calculated from the ratios below. The filter can be scaled up or down in frequency linearly by changing component values, if the ratios are preserved. 6 Filters for Data Transmission

SLOA063. Figure 6. Differential Low Pass Filter 3.2 High Pass Filtering Data The simplest type of data filtering is high pass filtering. High pass filters can be used when low frequency interference (such as audio on a DSL signal) is present. A high pass filter is not the most effective way of removing a single frequency, however. For single frequencies, use a notch filter. Figure 7. High Pass Filtering a Square Wave The only challenge for the designer is to select a corner frequency such that the fundamental is only slightly affected by the low frequency rolloff. The designer is strongly encouraged to use the Bessel MFB high pass filter of Figure 8. Filters for Data Transmission 7

SLOA063 Figure 8. Differential Bessel High Pass Filter The design procedure for the differential high pass filter is similar to that employed for the differential low pass filter. 3.3 Notch Filtering Data If: The fundamental signal is at a fixed frequency. The interfering signal is at a single fixed frequency that does not coincide with a harmonic. The interfering signal is below the fundamental, or not so far above it that it is difficult to resolve from important signal harmonics. Then a high-q notch filter can be used to eliminate it. Figure 9. Notch Filtering a 1-MHz Square Wave With 10-MHz Interference 8 Filters for Data Transmission

SLOA063. Superimposed on the spectrum of the square wave are the characteristics of a 10-MHz notch filter with various values of Q. Because the harmonics are so closely spaced, only a notch filter with a Q of 10 or above can eliminate 10-MHz interference without adversely affecting square wave harmonics. Even a Q of ten produces some attenuation of the 9 th and 11 th harmonics. The designer should make sure that the harmonics affected by the notch filter are not critical to the shape of the waveform. Unfortunately, the group delay of a notch filter is maximum near the notch. The harmonics near the center frequency are delayed with respect to the other harmonics. Figure 10 shows the schematic diagram for a differential notch filter. The design procedure is similar to that of the low pass and high pass filter. The designer is cautioned, however, that the bandwidth of the amplifier used for high Q notch filters must be higher than the normal 40-dB headroom rule to avoid slew rate limitations on notch depth. Figure 10. Differential Notch Filter A very common question that repeatedly comes up is how to reject 60 Hz. Differential data transmission should eliminate it, but if not, the following circuit can be used: Filters for Data Transmission 9

SLOA063 R2A R4A Vcc R1A 3 1 Vin- - Vocm 2 CM Vin 8 R1B 6 -Vcc U1 - THS4121 C2A C1A R3A 3 1 4-5 Vocm 2 CM 8 R3B 6 C1B C2B 2.2 MW Vcc -Vcc - 2.2 MW U2 C3A 4 5 THS4121 C3B Vout Vout- R2B R4B Figure 11. 60-Hz Notch Filter 3.4 Bandpass Filtering Data Bandpass filters used for data transmission are never of the high-q variety, as a broad range of harmonics must be passed. Therefore, the filter should be formed by cascading a high pass filter stage with a low pass filter stage. 4 Conclusions Filtering data streams involves a knowledge of the harmonic content of the waveform involved. The designer should consider a Bessel filter response, due to its relatively constant group delay characteristics. Low pass filtering is much more destructive to harmonic content than high pass filtering. Notch filtering can be considered for single interfering tones. 5 Reference URLS 1. http://www.jhu.edu/~signals/fourier2/: Fourier series 2. http://www.phy.ntnu.edu.tw/java/sound/fourier/fourier.html: Fourier series 3. http://www.phy.ntnu.edu.tw/java/sound/sound.html: Fourier synthesis demonstration 4. http://www.klmicrowave.com/groupdelay.html: Group delay 5. http://www-ccrma.stanford.edu/~jos/filters/phase_delay_group.html: Group delay 10 Filters for Data Transmission

IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its products to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such products or services might be or are used. TI s publication of information regarding any third party s products or services does not constitute TI s approval, license, warranty or endorsement thereof. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. Representation or reproduction of this information with alteration voids all warranties provided for an associated TI product or service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use. Resale of TI s products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use. Also see: Standard Terms and Conditions of Sale for Semiconductor Products. www.ti.com/sc/docs/stdterms.htm Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2001, Texas Instruments Incorporated