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

Electrical Engineering News and Products

Electronics Engineering Resources, Articles, Forums, Tear Down Videos and Technical Electronics How-To's

  • Products / Components
    • Analog ICs
    • Battery Power
    • Connectors
    • Microcontrollers
    • Power Electronics
    • Sensors
    • Test and Measurement
    • Wire / Cable
  • Applications
    • 5G
    • Automotive/Transportation
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Handbooks
    • EE Training Days
    • Tutorials
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • White Papers
    • Educational Assets
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • LEAP Awards
    • Podcasts
    • DesignFast
  • Videos
    • EE Videos and Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Bill’s Blogs
  • Advertise
  • Subscribe

Understanding ADC specs and architectures: part 2

May 20, 2025 By Rick Nelson

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 Might Also Like

Filed Under: FAQ, Featured, Test and Measurement Tips Tagged With: FAQ

Primary Sidebar

EE Engineering Training Days

engineering

Featured Contributions

zonal architecture

Addressing zonal architecture challenges in the automotive industry

zonal architecture

Addressing zonal architecture challenges in the automotive industry

A2L refrigerants drive thermal drift concerns in HVAC systems

Why outdoor charging demands specialized battery connectors

How Li-ion batteries are powering the shift in off-highway equipment

More Featured Contributions

EE Tech Toolbox

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“ee
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.
“bills
contribute

R&D World Podcasts

R&D 100 Episode 10
See More >

Sponsored Content

Designing for Serviceability: The Role of Interconnects in HVAC Maintenance

From Control Boards to Comfort: How Signal Integrity Drives HVAC Innovation

Built to Withstand: Sealing and Thermal Protection in HVAC Sub-Systems

Revolutionizing Manufacturing with Smart Factories

Smarter HVAC Starts at the Sub-System Level

Empowering aerospace E/E design and innovation through Siemens Xcelerator and Capital in the Cloud

More Sponsored Content >>

RSS Current EDABoard.com discussions

  • connector model question
  • Can I use TLV75533PDBVR for powering ADC
  • Step Up Push Pull Transformer design / construction
  • SMPS feedback circuit
  • Snooping Around is All

RSS Current Electro-Tech-Online.com Discussions

  • More fun with ws2812 this time XC8 and CLC
  • Pic18f25q10 osccon1 settings swordfish basic
  • Pickit 5
  • turbo jet fan - feedback appreciated.
  • I Wanna build a robot
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Footer

EE World Online

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • Electro-Tech-Online Forums
  • Engineer's Garage
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

EE WORLD ONLINE

  • Subscribe to our newsletter
  • Teardown Videos
  • 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