Electronics Industry Search

Polling Question

Green design is a priority for me in 2009.

  • Yes
  • No



View previous polls
Advertisement
Email
Print
Reprints/License
RSS
Article tools sponsored by

Oversample on Purpose

By Jon Titus, Contributing Writer -- Design News, October 20, 2008

Suppose you have an 8-bit (1 part in 256) ADC with a 0 to 10V input range that lets you resolve an unknown voltage to within 0.0391V. If you have a noise-free input signal at, say, 1.985V, the ADC produces an 8-bit value, 001100112 or 5110, which represents the span from 1.97 to 2.01V. If you require more resolution, you can gain “extra” bits by oversampling your signal at a rate given by the formula:

foversample = fNyquist * 4n

Where n = the additional bits of resolution you want. If you need two additional bits of resolution, you must sample at 16 times the Nyquist frequency. Need three additional bits? Sample at 64 times the Nyquist frequency. Keep in mind adding useful resolution requires an ADC with the characteristics of the total resolution you need. Don't expect to turn a 10-bit ADC into a 16-bit device unless the 10-bit device can meet 16-bit specs.

But simply oversampling the 1.985V signal does not extend resolution because you would simply obtain the same value again and again. So, you add some white noise to the signal — which seems counterintuitive — and oversample. The added noise can range from just more than ±1 LSB (±0.0391 for the 8-bit ADC) to perhaps several times ±0.0391. The addition of the random noise produces ADC outputs spread across several ADC steps, as shown in the figure, below left. Now when the ADC samples the noisy unknown signal you see values between 49 and 52.

To obtain three additional bits of resolution for the 8-bit ADC, you sample the noisy signal 64 times faster and add the 64 8-bit binary values. That addition yields a 14-bit result (28 * 26 = 214). Delete the three LSBs and you have an 11-bit result. Deleting these three bits results in a binary division by eight, which arises from 2n, where n equals the number of “extra” bits you specified in the equation, left. During these 64 A-to-D conversions, the unknown signal must remain stable. If you plan to measure a slowly changing voltage, it may remain constant enough on its own during the measurement period. Varying signals may require an accurate sample-and-hold amplifier in front of the ADC.

The nearby diagram, left, shows a 1.985V signal without noise and with added noise generated by the Data Analysis Tools in Microsoft Excel. In this test, quantizing and averaging 64 samples yielded an 11-bit binary value equivalent to 1.982V. A 256 sample produced the same value.

The oversampling technique simply reduces an ADC's quantization error or quantization noise by spreading it over a wider bandwidth. Lowering measurement errors requires faster sampling as the trade-off. And the ADC must be more accurate than the measurement uncertainties inherent in the system.

Useful Links

  1. “Oversampling,” Wikipedia: http://rbi.ims.ca/5728-513.

  2. “Sampling, Oversampling, Imaging and Aliasing,” Lavry Engineering: http://rbi.ims.ca/5728-514.

  3. “Enhancing ADC Resolution by Oversampling,” AVR121. Atmel: http://rbi.ims.ca/5728-515.

Advertisement

Sponsored Content

Technology Marketplace

Email
Print
Reprints/License
RSS
Article tools sponsored by
Find a supplier on oemsuppliersearch.com

Talkback


We would love your feedback!


» Submit talk back
Advertisement

DN's Resource Center Get Free Information, Made Easy

Advertisement

Design News Partner Zones

AnarkCAD/CAE Model Clean-Up: Reduce Iterative Cycles
This webinar featured research and survey results related to problems associated with preparing CAD geometry for CAE applications.  We discussed how Recipe-Based Automation can help create "just-in-time" CAE-ready geometry each time a cad model is updated. Watch the Presentation


Light Matters: A High-Performance, "No-Compromise" Solid State Lamp?
First, let's define "no-compromise". In an ideal configuration, this lamp would use a high-brightness LED (HBLED) that is built into a small, integrated package, and is able to produce a large quantity of focused light, operate with a high level of reliability and generate no audible noise. Is this difficult? Yes, but it is possible.
Read More


Design Engineers' Portal for Sensing and Machine Safety
Whatever industry you're in, or whatever product you manufacture, the right sensors to automate your plant, and to improve your overall efficiency, quality and safety are a must. You'll find Banner Engineering to be an amazing resource of products, training and people with expertise.

Design News Partner Zone Directory »

Please visit these other Reed Business sites