An easy way to avoid aliasing when doing A to D conversion, using LT6600

A waveform with frequency components from DC to frequency just under f can be sampled at the rate 2 f without loss of information.  In other words the waveform can be exactly reconstructed from these samples.

However if the waveform has frequency components above f, in general, these will prodce errors in the samples; the errors are called aliasing.  For example a frequency of g where f < g < 2 f  will erroniously affect the samples as a frequency of f – g would.  It will show up in a reconstructed waveform as a component at the frequency f – g.

In most cases, even though we may only be interested in the frequency range DC to f, our analog stream to be sampled has higher unwanted frequency components.  Thus we must take steps to avoid aliasing.

The first step in doing this is usually to use an analog low-pass filter between the incoming stream and the A to D converter.  Since these filters do not have sharp cutoffs (i.e. “brick wall” cutoffs), the following must be done.  The cutoff frequency should be chosen so that the the highest desired frequency d passes with little attenuation.  Then the sampling frequency s should be chosen so that frequencies above s / 2 re attenuated sufficiently by the filter, since they would alias.

The required degree of attanuation depends on the amplitude of the unwanted frequencies above s  / 2.  For example, if digitizing a scanning optical microscope, the optical transfer function determines how much unwanted high frequency will be present.  It is usually a modest fraction of the total signal.

Another source of unwanted high frequencies is noise, so higher noise levels will require more attenuation in the low pass filter.  Aliased white noise is additional white noise and is obviously something to avoid.

A simple way to provide the low pass filter, if you can use its cutoff frequency, is to use one of the Linear Technologies LT6600-2.5, 5, 10, 15, or 20.  Their cutoff frequencies are  2.5, 5, 10, 15, or 20 MHz respectively.  See for example http://cds.linear.com/docs/Datasheet/66001fe.pdf

These are an excellent low-noise, accurate 4-pole low-pass filters in a package.  You just add gain-determining resistors.  Its cutoff frequency,  2.5, 5, 10, 15, or 20 MHz respectively, is defined such that the filter attenuates by -0.7 to +0.3 db below and at the cutoff.  Then, at 4 times the cutoff frequency, the filter attenuated by about 38 db (a factor of .80).

So, if you use one of these filters, it could well make sense to set the cutoff frequency at or just above the highest frequency of interest, and sample at 8 times the cutoff frequency.  This way the lowest frequency that would alias would be attenuated by a factor of 80.

Now, you could save this digitized data since it contains all the needed information.  However, to reduce the quantity of digital data, and make subsequent processing easier, it would likely make sense to digitally downsample the data in a FPGA to the rate that is twice the cutoff frequency.  In this example, the downsampling would be 4 to 1.

A good way to downsample the data is to apply an FIR filter whose coefficients are a Hamming-weighted sinc function.  The length of the filter (the number of coefficients) determines the sharpness of the downsampling FIR filter.  Let N be the number of coefficients.

For an integral downsampling ratio or M, the coefficients c[k] for k = 0..N-1 for a Hamming-weighted sinc are:

c[k] = (0.54 – 0.46 * cos (2 * pi * k / (N – 1))  * sin (pi * k / M) / (pi * k / M)

The latter part of this expression  sin (pi * k / M) / (pi * k / M) is a sinc function, and is the fundamental kernel for downsampling. In fact if N is infinite, then this sinc function alone would provide optimum downsampling.  The first part of the expression is a weighting that compensates as well as possible (more or less) for the fact that N is finite.

Letting g[i] represent the digitized data, the FIR filter calculates the downsampled values g[j] as

g[j] = sum over k (c[k] * g[M * i + k – k/2]

Larry Miller

 

39 thoughts on “An easy way to avoid aliasing when doing A to D conversion, using LT6600

  1. What is a good way to transmit 8-bit parallel data words from one board to another about 10 feet away? The data words are clocked at 100 MHz.

  2. I simply could not depart your web site prior to suggesting that I actually enjoyed the standard info a person provide in your guests? Is gonna be again frequently to investigate cross-check new posts. Alika Davidson Blount

  3. I in addition to my pals were actually going through the excellent recommendations located on the website and so suddenly developed a horrible feeling I had not thanked the web site owner for them. These boys are already for that reason very interested to study them and already have unquestionably been making the most of these things. Many thanks for getting quite accommodating and for going for varieties of excellent information most people are really desirous to understand about. Our own sincere regret for not expressing appreciation to you earlier. Keriann Sheffield Leblanc

  4. But how can you expedient precise you hinder on the pretension side of the borderline between fortuitous and unprofessional? He associate vice-president of vocation nickwe.makhrez.nl/voor-gezondheid/brand-tv-reparatie-leiden.php planning at University, prepares students to successfully notice the workforce after graduation. He shared with her comprehension on what not to debilitate to an backup with a unsure rig exposed code. Yolanthe Denis Samuel

  5. I was suggested this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my trouble. You are wonderful! Thanks! Ninette Harlan Ellene

  6. Hey there, You have performed a great job. I will certainly digg it and personally recommend to my friends. I am confident they will be benefited from this web site.| Estell Creigh Junko

  7. I blog frequently and I genuinely thank you for your information. This great article has truly peaked my interest. I am going to bookmark your site and keep checking for new details about once a week. I opted in for your RSS feed as well. Alyss Briggs Kathryn

  8. I have come across blogs and type of know what they are. My question is what do you create on a blog site, like things thats on your mind or simply whatever? And what websites can i logon to to start blog sites?. Kaja Gardy Riffle

  9. I used to be very pleased to find this web-site. I wanted to thanks to your time for this glorious learn!! I definitely having fun with every little little bit of it and I have you bookmarked to take a look at new stuff you blog post. Minnaminnie Chip Toft

  10. Ten months ago, you went to be with God. It has been hard to accept that. We treasure our time with you and love you. That will never change. Delinda Roderic Jacquette

  11. I have been exploring for a little bit for any high quality articles or weblog posts on this kind of house . Exploring in Yahoo I ultimately stumbled upon this site. Studying this information So i am satisfied to convey that I have a very just right uncanny feeling I discovered just what I needed. I most certainly will make certain to do not fail to remember this web site and provides it a look on a continuing basis.| Brandea Randell Waring

  12. very few websites that come about to become comprehensive beneath, from our point of view are undoubtedly properly really worth checking out Jaynell Jasen O’Meara

Leave a Reply

Your email address will not be published. Required fields are marked *