Analog Dialogue: A forum for the exchange of circuits, systems, and software for real-world signal processing.
Home     Analog Devices     Feedback     Subscribe     Archives     简体中文     日本語
Advanced Search

Rarely Asked Questions Ė Issue 96, August 2013

Soft Clipping vs. Hard Clipping

clipping 

Q: Can 0.1 dB really make that much difference?

A: Analog-to-digital converters (ADCs) are obviously mixed-signal devices, but sometimes engineers whose experience is primarily with analog circuits seem to forget about their digital nature. When an amplifier is chosen, the designer knows that if the signal swing is comfortably below the P1dB specification, the 3rd order distortion will increase by about 2 dB for every 1 dB increase in the output amplitude. If the output amplitude increases by 0.1 dB, the 3rd harmonic would increase by 0.2 dB. Thatís negligible, and pretty hard to measure.

An ADCís transfer function is very different from that of an amplifier, however, with discrete steps in ďgainĒ for adjacent outputs. The ADCís differential nonlinearity (DNL) specification captures the magnitude of these errors. Integrating the non-uniform steps can result in a transfer function that exhibits very strange shapes. The ADCís integral nonlinearity (INL) specification captures the magnitude of the errors relative to an ideal transfer function, and is a good predictor of an ADCís distortion. Unlike the predictable behavior of an amplifier, however, the INL is not helpful in predicting the behavior of distortion products vs. input amplitude, and a 1 dB change in input amplitude can result in a Ī5 dB change in the third harmonic! Thatís right; increasing the input level can cause the harmonic distortion to increase or decrease.

Another important difference between ADCs and amplifiers is their behavior when overdriven. An amplifierís gain gracefully compresses as its input is increased. Eventually the amplifierís output reaches a maximum level and clips, resulting in large odd-order distortion products (the clipped signal starts to look like a square wave, whose spectral content comprises a sum of odd-order harmonics). The ADC has no such graceful behavior, and when its input voltage exceeds its input range, its output clips immediately. This can result in dramatic changes in distortion. Some ADCs can maintain good performance with input amplitudes very close to full scale, but all ADCs will fall off a cliff when the input saturates. A designer contacted me about what he considered an unimaginable distortion change as he monitored FFTs with ADIís VisualAnalogô software. It turned out that the average amplitude was set just 0.05 dB below full scale. The input varied over time, and even a 0.1 dB increase caused occasional clipping, resulting in a 40 dB shift in odd-order distortion. I recommended that they implement a good gain-control loop!

ffts

I invite you to comment on Clipping in the Analog Dialogue Community on EngineerZone.

 

Author
david buchanan  David Buchanan [david.buchanan@analog.com] received a BSEE from the University of Virginia in 1987. Employed in marketing and applications engineering roles by Analog Devices, Adaptec, and STMicroelectronics, he has experience with a variety of high-performance analog semiconductor products. He is currently a senior applications engineer with ADIís High Speed Converters product line in Greensboro, North Carolina.

 Have a question involving a perplexing or unusual analog problem?

Submit your question to: www.analog.com/askjames

 

Copyright 1995- Analog Devices, Inc. All rights reserved.