Lesson 6 – Executing the DAC Linearity Test
256
Calculation of DAC DNL
LSB = Least
Significant Bit
The DeviceLSB is the analog output voltage step which
corresponds to a digital input step of 1 digit. Its calculation
depends on the chosen calculation method.
The software provides three methods for calculating the DeviceLSB
and hence the DNL:
Reconstruction of the “ideal” DAC Transfer Curve
The end point method assumes a straight line between the first
and last measured value.
Differential Non-Linearity can be calculated using the end point method, zero-
point method, or minimum root mean square method. All three methods use
the same formula. Only the definition of the DeviceLSB varies from method to
method.
where i = 0, 1, 2, ... 2
n
–2
End point method –
assumes a straight line between
first and last sample
Digital Input code
Discrete Analog
Output Voltage
Digital Input code
Discrete Analog
Output Voltage
Zero point method –
assumes that the middle sample is
correct and then minimizes the
mean error
Minimum RMS method –
minimizes the mean, averaged
deviation
Digital Input code
Discrete Analog
Output Voltage
V[n
s
/2]