DNL measures how each DAC output step differs from one least significant bit, while INL tracks the transfer curve’s distance from an ideal straight line. Together, these measures describe converter linearity and help explain why small step errors can shape the output across its full range.

Multiple Choice

In a DAC, which statement correctly defines DNL and INL?

Understanding what DNL and INL measure in a DAC helps you predict how the converter will distort a stepped output. DNL, or differential nonlinearity, looks at the size of each step between consecutive output codes. If a step isn’t exactly one least-significant-bit wide, that difference from 1 LSB is the DNL. INL, or integral nonlinearity, examines the overall transfer curve: how far the actual output for a given input deviates from the ideal straight-line transfer. It’s the cumulative effect of all the step-size errors across the entire code range. So, the statement that correctly defines both is that DNL is the deviation of the actual step size between adjacent codes from 1 LSB, and INL is the deviation of the transfer function from the ideal straight line. The other descriptions mix up what each term measures or describe them incorrectly. For example, offset or gain errors aren’t the precise definitions of DNL or INL, and large DNL can affect monotonicity (not just cause monotonicity to fail in a limited way), while saying both are the same as integral nonlinearity mislabels the differential nature of DNL.

A digital-to-analog converter (DAC) turns a number into a voltage or current. As its digital code rises, its output usually moves through a series of small steps. Ideally, every step has the same size, and all the steps together form a straight line. Real converters aren’t perfect, though. Two measures—differential nonlinearity (DNL) and integral nonlinearity (INL)—describe different ways their outputs can stray from that ideal.

The distinction is simple once you picture a staircase. DNL looks at the width of each individual step. INL looks at how far the whole staircase wanders from a straight ramp. Both matter, but they reveal different things about a DAC’s behavior.

DNL: checking one step at a time

Each digital code corresponds to an output level. The change in output between two adjacent codes is called a code step. In an ideal DAC, every step is one least significant bit, or 1 LSB, wide. An LSB is the smallest change in output the converter can represent.

DNL measures how much a real code step differs from that ideal width. If a step is exactly 1 LSB, its DNL is 0 LSB. If it’s 1.2 LSB wide, its DNL is +0.2 LSB. If it’s only 0.7 LSB wide, its DNL is −0.3 LSB.

The measurement is local: it concerns the transition from one code to the next, not the DAC’s entire output range. Imagine climbing a staircase. DNL tells you whether a particular riser is unusually tall or short. It doesn’t tell you how far the landing is from a straight ramp.

That local view matters because irregular steps can affect signals in audible or measurable ways. A DAC with uneven step sizes may add distortion to a waveform, especially when its output changes through the affected codes. In applications such as audio, instrumentation, and control systems, those errors can show up as unwanted tones, noise, or inaccurate output levels.

INL: stepping back to see the whole curve

INL measures the difference between the DAC’s actual transfer curve and an ideal straight-line transfer. For each input code, it asks how far the actual output sits above or below the ideal output.

This gives INL a broader view than DNL. A DAC might have small step-size errors that accumulate across many codes. Each step could look nearly right on its own, yet the output curve could gradually drift away from the ideal line. That overall departure is what INL captures.

There’s an important detail: the reference line used to define INL can vary. Some specifications use an endpoint line drawn between the DAC’s measured low and high outputs. Others use a best-fit line through the measured data. These methods can produce different INL values for the same device, so it’s worth checking the measurement convention in a datasheet before comparing parts.

Offset and gain errors may also shift or tilt the measured transfer curve. Many INL specifications remove those errors before measuring the curve’s remaining nonlinearity, but the exact method depends on the manufacturer’s definition. In other words, INL is not simply another name for offset error or gain error. Those are separate kinds of error, though they can affect how the curve looks if they aren’t accounted for.

One converter, two useful views

DNL and INL are related because they describe the same sequence of output levels. Still, they aren’t interchangeable.

A helpful analogy is a road built from paving stones. DNL is like checking each stone’s height against the one beside it. INL is like standing back to see whether the road as a whole follows the intended route. A few slightly uneven stones might not send the road far off course. But if small differences keep adding up in one direction, the overall path can bend away from where it should be.

The reverse can happen, too. A DAC may have a noticeable error at one transition, giving it a relatively large DNL value, while the rest of its steps keep the overall transfer curve close to a straight line. So a good INL figure doesn’t automatically mean every individual step is equally good, and a good DNL figure doesn’t guarantee that the full curve has little deviation.

Datasheets often express both measurements in LSBs. This makes them easier to compare across converters with different output ranges or resolutions. Still, a number only tells part of the story. The measurement conditions, reference method, temperature range, and load can all matter.

Why DNL connects to monotonicity

Monotonicity means that the output never moves backward as the digital input code increases. For a DAC to be monotonic, each code step must be positive: the next output level must be higher than the previous one.

DNL gives a useful clue here. Under the usual definition, a step has a width of 1 LSB plus its DNL. If DNL falls below −1 LSB, that step is negative, so the output decreases as the code increases. The DAC is then nonmonotonic at that transition.

A DNL value greater than −1 LSB means the step remains positive, though it may be much smaller or larger than ideal. This is why DNL specifications are often important in systems where output must move smoothly in one direction—for example, a control signal that raises a motor’s speed or adjusts a valve. A backward jump can cause trouble even if the average output is accurate.

INL alone doesn’t describe this local behavior. It tells you how the curve compares with a straight reference, not whether every adjacent pair of codes rises in sequence. That’s one reason engineers check both measures rather than relying on a single headline figure.

Reading the numbers in context

Suppose a 12-bit DAC has a full-scale output of 4.096 V. Its ideal LSB is about 1 mV, since 4.096 V divided by 4096 code intervals is 1 mV. A DNL of +0.25 LSB means a particular step is about 1.25 mV wide. An INL of −2 LSB means an output point is about 2 mV below the chosen ideal reference line.

Those values don’t, by themselves, tell you whether the DAC will suit a design. A sensor interface may need a very linear transfer curve, making INL a major concern. A controller that relies on steadily increasing output may care especially about monotonicity and DNL. An audio system may need both low distortion and smooth behavior across the range.

It also helps to separate static linearity from other DAC specifications. Settling time describes how quickly the output reaches its new level after a code change. Noise describes random variation. Offset and gain errors describe shifts in the output’s starting point and overall scale. These properties can interact in a real system, but they answer different questions.

The takeaway: local steps, overall shape

DNL describes the departure of each actual step from an ideal 1-LSB step. INL describes the departure of the DAC’s transfer curve from an ideal straight line. One measures local changes; the other measures accumulated deviation across the range.

That difference is more than a matter of terminology. It helps explain why a DAC can have neat-looking average behavior but still contain an awkward step, or why many small step errors can add up to a visibly curved transfer function. When reading a specification, look at both values—and check how the manufacturer defines the reference line for INL.