• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Advertise
  • Subscribe

Test & Measurement Tips

Oscilloscopes, electronics engineering industry news, how-to EE articles and electronics resources

  • Oscilloscopes
    • Analog Oscilloscope
    • Digital Oscilloscope
    • Handheld Oscilloscope
    • Mixed-signal Oscilloscope
    • PC-based Oscilloscopes – PCO
  • Design
  • Calibration
  • Meters & Testers
  • Test Equipment
  • Learn
    • eBooks/Tech Tips
    • FAQs
    • EE Training Days
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Video
    • EE Videos
    • Teardown Videos
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • Leap Awards
    • White Papers
  • Subscribe
You are here: Home / Featured / Understanding ADC specs and architectures: part 2

Understanding ADC specs and architectures: part 2

May 7, 2025 By Rick Nelson Leave a Comment

Specifications such as gain error, offset error, and differential nonlinearity help define an analog-to-digital converter’s performance.

In part 1 of this series, we discussed an ideal analog-to-digital converter (ADC), noting that it would have infinite resolution and bandwidth. Then we looked at the real world of practical inverters and how their resolution, expressed in a finite number of bits, introduces quantization error. We concluded with a figure containing a response that looks like the blue stair steps in Figure 1.

Figure 1. An ADC will have a maximum quantization error EQ(MAX) and can also exhibit positive (red) or negative (yellow) offsets with respect to its ideal response (blue).

We can put a number to the maximum quantization error, which we will call EQ(MAX). The straight light-blue line in the figure represents the ideal response with no quantization error. The quantization error reaches its maximum immediately following or preceding a transition and is calculated as follows:

Where VFS is the full-scale (FS) voltage and n is the ADC resolution in bits. For our three-bit ADC with an FS input voltage of 1 V, EQ is 62.5 mV, or 6.25% of VFS, or one half of a least significant bit (LSB).

Q: What are the red and yellow traces?
A: While the blue trace represents the “ideal” behavior of a three-bit ADC, the device can exhibit other errors besides the quantization error. These additional errors include positive and negative offset errors, which we can express in terms of least significant bits or percent of full-scale (FS) voltage. In Figure 1, the red trace represents an offset error of 1.25 LSBs, and the yellow trace represents an offset error of -1.25 LSB.

Q: What are some other potential sources of error?
A: Gain error is another, as illustrated in Figure 2. As shown by the blue trace, the converter should transition from 010 to 011 at five-sixteenths of the FS analog input voltage. Still, the red trace shows an earlier transition, at one-fourth of the FS analog input, indicating that the gain is too high. The error regarding LSBs at the full-scale input can be expressed numerically. In the figure, the gain error for the red trace is 1.5 LSBs, and for the yellow trace, -1.5 LSBs.

Figure 2. Compared to the ideal response (blue), gain error can be positive (red) or negative (yellow).

Q: What can we do about these errors?
A: The good news is that we can compensate for offset and gain errors. There are other errors, however, for which we cannot compensate, such as differential nonlinearity (DNL). Figure 3 shows the basics. Note that the red non-ideal staircase corresponds to the ideal response for the first (000 to 001) and last (110 to 111) transitions, most likely because we have compensated for gain and offset errors. Elsewhere, each step should have a width of 1 LSB. There are, however, obvious differences that we can quantify using DNL. You calculate DNL for each code except the first and last by subtracting the ideal step width from the actual step width. For example, you can calculate the DNL for code 001, which has a 1.25-LSB width, as follows:

Similarly,

Figure 3 lists the code step widths in red and the corresponding DNLs in blue.

Figure 3. You can derive the DNL (blue text) from the step width (red text).

Q: Wait, I notice that code 011 doesn’t have a step — what’s up with that?
A: Right, no analog input level will produce the output code 011, and the device is said to have a missing-code error. Because the step width for 011 is zero, we calculate the DNL as follows:

Q: What’s the bottom line on DNL?
A: Total DNL is often specified as the lowest to highest DNL over the device’s range. For our example, the worst-case DNL is -1 LSB to +0.5 LSB.

Q: What else should I know about ADC specifications?
A: We’ve looked at some DC specifications: offset, gain errors, and DNL. Another related DC specification is integral nonlinearity (INL), which examines the cumulative effect of DNL. We will take a closer look in part 3, and then we will examine sampling rate, throughput, AC specifications, and different ADC architectures.

References

Chapter 20: Analog to Digital Conversion, Analog Devices
ADC Differential Non-linearity, Microchip

Related EE World content

What’s a half digit and are they all the same?
The ups and downs of bad DACs
Debugging digital and analog signals with cross-domain analysis
A survey of Wi-Fi connectivity modules for IoT applications part 1
What is Monotonicity and why is it important?
Bit errors and ADC testing

You may also like:


  • Understanding ADC specs and architectures: part 1
  • oscilloscope and probes in power electronics
    APEC 2025 test equipment: oscilloscopes and probes

  • How to use convolution to implement filters: part 3

  • How to use convolution to implement filters: part 2

  • How to use convolution to implement filters: part 1

Filed Under: FAQ, Featured Tagged With: FAQ

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Featured Contributions

Why engineers need IC ESD and TLP data

Verify, test, and troubleshoot 5G Wi-Fi FWA gateways

How to build and manage a top-notch test team

How to use remote sensing for DC programmable power supplies

The factors of accurate measurements

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE TRAINING CENTER

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“test
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.
“bills

RSS Current EDABoard.com discussions

  • Is it possible to improve accuarcy of ad633
  • 12VAC to 12VDC 5A on 250ft 12AWG
  • Battery sensing circuitry for coin cell application
  • Copper Pour Support in Altium Softwarez
  • Input impedance matching network

RSS Current Electro-Tech-Online.com Discussions

  • Chinese Tarrifs – 104%!?!
  • An Update On Tarrifs
  • Tariff Updates from JLCPCB as of Today
  • Solar lighting motion detector
  • Telegram Based Alarm - Sensor cable protection
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Footer

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips

Test & Measurement Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy