
Hercules III User Manual Rev A.2
www.diamondsystems.com
Page
74
16.4.2
D/A Conversion Formulas for Bipolar Output Ranges
Output voltage = ((D/A code
– 2048) / 2048) * Output reference
D/A code = (Output voltage / Output reference) * 2048 + 2048
Example:
For,
Output range in bipolar mode = ±10V
and,
Full-scale range = 10V
– (-10V) = 20V
if,
Desired output voltage = 2.000V
D/A code = 2V / 10V * 2048 + 2048 = 2457.6 => 2458
For the bipolar output range
10V, 1 LSB = 1/4096 * 20V, or 4.88mV.
The following table illustrates the relationship between D/A code and output voltage for a bipolar output range
(VREF = Reference voltage).
D/A Code
Output Voltage Symbolic Formula
Output Voltage for
10V Range
0
-V
REF
-10.0000V
1
V
REF
+ 1 LSB
-9.9951V
...
...
...
2047
-1 LSB
-0.0049V
2048
0
0.0000V
2049
+1 LSB
0.0049V
...
...
...
4095
V
REF
- 1 LSB
9.9951V