where VREF = REF192 rated reference voltage, D = decimal equivalent of the AD5280 input code, and N = resolution of the AD5280. For best power efficiency, choose the lowest RSET and the lowest VREF that has adequate output-current capability to achieve the desired current.
With R
SET = 124.03
W and an R
LOAD of 24.85
W, 51.093
W, and 75.05
W, actual laboratory tests of the output current versus the 8-bit digital pot setting show close conformance to the ideal output as predicted by the equation
(see the equation). Users should pay attention to the load impedance because V
L increases with the load, and it can't be driven beyond the op amp's rail. V
L also determines the voltage on the REF192's GND pin, thereby limiting the operating headroom.
The single-supply precision 0- to 100-mA programmable current source shown in Figure 2 can be used in applications such as laser diode drivers and tunable lasers that require a boosted current without compromising precision. With this circuit, the entire system can operate from a single +5-V supply, as opposed to the ±5-V supply required for the previous circuit.
This advantage comes from the voltage swing at the ground pin of the AD1582 voltage reference being now strictly positive. As a result, the AD5160 single-supply digital potentiometer and AD8532 single-supply op amps are employed. The same general current equation applies to this circuit (see the equation, again).
With R
SET = 24.82
W , and an R
LOAD of 5.185
W, 14.946
W, and 19.97
W, actual laboratory tests of the output current versus the 8-bit digital pot setting show close conformance to the ideal output, again as predicted by the above equation
(see the equation, again).
It's important to note that a PMOS FET was used rather than an NMOS FET. If an NMOS FET were employed, the FET's source voltage would rise as the current increased, leading to a decrease in VGS. This would limit the drain current, defeating the purpose of the circuit. The PMOS FET isn't prone to this problem because the source is tied to VDD.
At first glance, the arrangement of the PMOS FET and AD8532 may seem like a positive feedback system. However, the PMOS placed in the feedback loop adds an extra inversion, providing overall negative feedback in the loop. Finally, the 100-k
W version of the AD5160 was used to reduce the error voltage that arises from the voltage divider between R
AB and the non-ideal wiper resistance of the digital potentiometer.