Principles of Operation
17
2
2
2
2
2
2
2
2
2
Converting an Offset Code to a Voltage
To convert an offset code into a voltage, use the following formulas:
LSB = FSR
2
N
Vin = Code * LSB + Offset
where,
• LSB is the least significant bit.
• FSR is the full-scale range. For the DT9820 Series, the full-scale
range is 2.5 for the 0 to 2.5 V range or 2.6 for the -0.10 to 2.5 V
range.
• N is the input resolution (24 bits).
• Vin is the analog voltage.
• Code is the raw count used by the software to represent the
voltage in binary notation.
• Offset is the actual minus full-scale value. The minus full-scale
value is 0.0 V for the 0 to 2.5 V rang e or
−
0.10 V for the
−
0.10 to
2.5 V input range.
For example, assume that you are using a DT9821 with a unipolar
input range of
−
0.10 to 2.5 V. If the software returns a code of C00000h
for the analog input operation, determine the analog input voltage as
follows:
LSB = 2.6
= 0.00000015497
16777216
Vin = C00000h * 0.00000
−
0.10 V
Vin = 1.85 V
Содержание DT9820 Series
Страница 1: ...DT9820 Series UM 18221 B User s Manual...
Страница 4: ......
Страница 7: ...Contents vii Appendix B Connector Pin Assignments 81 Index 87...
Страница 8: ...Contents viii...
Страница 13: ...1 1 Overview Features 2 Supported Software 4 Accessories 6...
Страница 19: ...7 2 Principles of Operation Analog Input Features 9 Analog Output Features 23 Digital I O Features 26...
Страница 40: ...Chapter 2 28...
Страница 41: ...29 3 Supported Device Driver Capabilities...
Страница 52: ...Chapter 3 40...
Страница 53: ...41 4 Programming Flowcharts Single Value Operations 43 Continuous A D Operations 45 Simultaneous Operations 47...
Страница 69: ...57 5 Calibration Running the Calibration Utility 59 Calibrating the Analog Output Subsystem 60...
Страница 74: ...Chapter 5 62...
Страница 75: ...63 6 Troubleshooting General Checklist 64 Service and Support 67 If Your Board Needs Factory Service 71...
Страница 84: ...Chapter 6 72...
Страница 85: ...73 A Specifications...
Страница 93: ...81 B Connector Pin Assignments...
Страница 98: ...Appendix B 86...
Страница 106: ...Index 94...
Страница 108: ......
Страница 112: ...Data Translation Support Policy...