How to use this calculator
Map an unsigned DAC code to the ideal straight-binary unipolar output.
- Enter Resolution (bits), Unsigned code, Reference voltage (V). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Ideal unipolar DAC output explained
Use Resolution (bits) with Unsigned code to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.
How the calculation works
r*k/pow(2,n)
Uses code/2^N, so the highest code is one LSB below reference; INL, DNL, and offset are excluded..
Set up the calculation
n— Resolution (bits)- Resolution (bits). Enter a whole number.
k— Unsigned code- Unsigned code. Enter a whole number.
r— Reference voltage (V)- Reference voltage (V).
Limits of this model
Uses code/2^N, so the highest code is one LSB below reference; INL, DNL, and offset are excluded.
Check this example
Resolution (bits) = 12; Unsigned code = 2048; Reference voltage (V) = 3.3.
- Ideal DAC output: 1.65 V
- One LSB: 0.0008056641 V
Displayed values are rounded only after calculation.
Frequently asked questions
Can code equal 2^N?
No.
Is full-scale exactly the reference?
Not under this transfer convention.
Are signed DAC formats covered?
No.
How do I use the Ideal unipolar DAC output calculator?
Enter Resolution (bits), Unsigned code, Reference voltage (V). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Ideal unipolar DAC output?
Resolution (bits) = 12; Unsigned code = 2048; Reference voltage (V) = 3.3. Ideal DAC output: 1.65 V One LSB: 0.0008056641 V Displayed values are rounded only after calculation.
Read our calculation methodology.