SLAAEH8 October 2024 AFE781H1 , AFE782H1 , AFE881H1 , AFE882H1 , DAC8740H , DAC8741H , DAC8742H
The OPA333 drives control to the LOOP+ current and sets I2 to maintain the LOOP– voltage. Because of the ratio of the resistors, I2 is 1000 times larger than I1. ILOOP– equals I1 plus I2, ILOOP– is 1001 times I1.
Note that the original schematic has a large resistance in parallel with the 40.2kΩ resistor. The parallel resistance slightly reduces the current gain to 999 to 1 and ILOOP– equals VOUT / 100.
The DAC code maps directly to the current through the loop. Because the DAC has an output voltage range of 0.3V to 2.5V, the voltage is mapped to loop current of 3mA to 25mA. Because the loop current is based on the DAC voltage, the current can be set as a function of the DAC_CODE.
Table 2-1 shows different DAC code values and how the values map to the loop current in milliamps. Loop currents 3.375mA and 21.75mA are chosen as the sensor error indicator levels.
OUTPUT CONDITION | DAC CODE | DAC OUTPUT (V) | LOOP CURRENT (mA) |
---|---|---|---|
DAC minimum | 0x0000 | 0.3 | 3 |
Error low | 0x045D | 0.3375 | 3.375 |
In-range minimum | 0x0BA2 | 0.4 | 4 |
In-range mid-scale | 0x68BA | 1.2 | 12 |
In-range maximum | 0xC5D1 | 2.0 | 20 |
Error high | 0xDA2E | 2.175 | 21.75 |
DAC maximum | 0xFFFF | 2.5 | 25 |