Dac Errors

1
Dac Errors A 8 bit DAC, with a 5 V reference, generates an output voltage of 0V with a code of 3 10 and an output voltage of 5V with a code of 253 10 . What is the offset error and gain error in LSBs 0xFF 0 5V 253,3 Ideal DAC 0xFD Offset error Output voltage Slope of ideal DAC = 5/255 = 19.6mV / step Slope of actual DAC = 5/(2533) = 20mV / Step If the offset error is nulled The an input code of 0 will give 0 output voltage, but a code of 255 will give 255 * 20mV = 5.1V Therefore gain error = 0.1V/19.6mV = 5.1 LSBs The offset error is determined by projecting the actual DAC output back to code of 0. If a code of 3 10 gives 0V and the slope of the actual DAC is 20mV/step then a code of 0 would theoretically give = 3 * 20mV = 60mV in LSBs the offset error is 60/19.6 = 3LSBs

description

How errors in DAC occurs

Transcript of Dac Errors

Page 1: Dac Errors

DacErrors 

A 8 bit DAC, with a 5 V reference, generates an output voltage of 0V with a code of 310  and an output voltage of 5V with a code of 25310 . What is the offset error and gain error in LSBs 

0xFF0

5V

253,3Ideal DAC

0xFD

Offseterror

Output voltage

 

Slope of ideal DAC  = 5/255   = 19.6mV / step 

Slope of actual DAC = 5/(253‐3)   = 20mV / Step 

If the offset error is nulled The an input code of 0  will give 0 output voltage, but a code of 255 will give 255 * 20mV = 5.1V  Therefore gain error = 0.1V/19.6mV   =  5.1 LSBs   The offset error is determined by projecting the actual DAC output back to  code of 0.  If a code of 310 gives 0V and the slope of the actual DAC is 20mV/step then a code of 0 would  theoretically give  = ‐3 * 20mV = ‐60mV  in LSBs the offset error is ‐60/19.6  = ‐3LSBs