Design Idea
Precision current source is software-programmable
Edited by Brad Thompson
Joe Neubauer, Maxim Integrated Products Inc, Sunnyvale, CA -- EDN, 12/17/2004
With the addition of a few inexpensive miniature components, the hard-wired, voltage-controlled current source of yesterday becomes a software-programmable voltage-controlled current source (Figure
1). A digital potentiometer, IC1 in conjunction with a precision op amp, IC2, sets current through a pass transistor, ISET, and a shunt regulator, IC3, provides a constant reference voltage across the digital potentiometer. By operating in its linear region, the transistor controls load current in response to the applied gate voltage. Each incremental step of the digital potentiometer increases or decreases the wiper voltage, VIN+, at the op amp's noninverting input. Thus, VIN+ varies with respect to the reference voltage, which in turn remains stable with respect to the supply rail:

Many types of digital potentiometer are currently available, and the interface to these devices, besides the hard-wired type, can be one, two, or three wires. IC1, for example, has a three-wire SPI interface, and provides an end-to-end resistance of 50 kΩ with 256 incremental settings. Thus, each increment of the digital potentiometer changes VIN+ by:

Op amp IC2 regulates current through the pass transistor, and the digital potentiometer sets current through the RSENSE resistor. The voltage across RSENSE determines current through the pass transistor, ISET: ISET=(VCC– VIN+)/RSENSE.
The circuit can provide any current level for which the external components, RSENSE and the pass transistor, can handle the associated power dissipation (P=IV). Because the ratio setting of digital potentiometers is good, with a typical ratiometric resistor temperature coefficient of 5 ppm/°C), precision and stability for the current source depend primarily on the precision and stability of IC3 and RSENSE combined.
Check out our Best of Design Ideas section!


















