Current Converter
Current Converter
Design Resources
Ask The Analog Experts
Design Archive All Design files WEBENCH® Design Center
TINA-TI™ SPICE Simulator TI Precision Designs Library
INA326 Product Folder
OPA333 Product Folder
R3 100k
C1 10n R4 100k
-
+
R1 40.2k
+ R1
Rset 100k
R1 R2
VIN -
C2 0.5n
R2 200k
RLOAD IOUT
+
A AM1
An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and
other important disclaimers and information.
TINA-TI is a trademark of Texas Instruments
WEBENCH is a registered trademark of Texas Instruments
1 Design Summary
The design requirements are as follows:
Supply Voltage: 5 V dc
Input: 0 V – 5 V dc
Output: 0 µA – 5 µA dc
The design goals and performance are summarized in Table 1. Figure 1 depicts the measured transfer
function of the design.
Table 1. Comparison of Design Goals, Simulation, and Measured Performance
Goal Simulated Measured
Uncalibrated Accuracy (%FSR) 0.2% 0.3% 0.18%
Calibrated Accuracy (%FSR) 0.01% na 0.001%
Load Compliance 0<R<500k
4.0 µA 4.9 µA 4.9 µA
Max Linear Output (µA)
Load Compliance 0<R<500k
1.0 µA 0 µA 0.6 µA
Min Linear Output (µA)
2.5
2.0
1.5
1.0
0.5
0.0
0 1 2 3 4 5
Vin (V)
2 Theory of Operation
A more complete schematic for this design is shown in Figure 2. The V-I transfer function of the circuit is
based on the relationship between the input voltage, VIN, RSET, and the instrumentation amplifier (INA)
gain. During operation, the input voltage divided by the INA gain will appear across the set resistor
(VSET=VIN/GINA). The current through RSET must flow through the load, so IOUT is VSET / RSET. IOUT will
remain a well regulated current as long as the total voltage across RSET and RLOAD doesn’t violate the
output limits of the op amp or the input common mode limits of the INA.
R3 100k
C1 10n R4 100k
5V VOUT_OPA
5V
-
+
+
R1 40.2k
R1 VOUT_INA
Rset 100k
U1
OPA333
R1
U2
VIN - R2 INA326
R2 200k
C2 1n
RLOAD IOUT
+
A AM1
VIN
IOUT (1)
GINA R SET
2 R2
GINA (2)
R1
U1 U2
OPA333 INA326
- VINA_IN VOUT_INA
+
0.1V Gain 1V
10x
VIN 1V
-
+
+ VOUT_INA
RSET + Gain
100k VSET = 0.1V 10x
-
VIN = 1V - VOUT_INA= 1V
3 Component Selection
Other passive components in this design may be selected for 1% or greater as they will not directly affect
the transfer function of this design.
4 Simulation
The TINA-TI™ schematic shown in Figure 5 includes the circuit values obtained in the design process.
R3 100k
C1 10n R4 100k
+5V
C2 500p
R2 200k
Vout_opa
-
+
+
+ R1 +
U1 OPA333 + R2
R1 40k
Vout_ina
Rset 100k V
+
VM1
Vin 100m +5V R1
-
- U2 INA326_AK
R1 100
+5V
+
A V2 5
Iout
Iout2.50u
0.00
Figure 7 shows detail on other nodes in the design. For example, the instrumentation amplifier output and
op amp output can be observed in Figure 7.
T
5.00u
Iout 2.50u
0.00
500.00m
VM1 250.01m
0.00
5.00
Vout_ina 2.50
0.00
5.00
Vout_opa
Vout_opa2.50 for RL = 500k
0.00
T
2.01u
Iout Iout
Iout 1.99uA
2.01uA
1.99u
201.45m
Vdif
198.59m
2.01
Vin
1.99
2.01
Vout_ina
1.99
1.21
Vout_opa
1.19
T
10.00u
Iout[1]: 100k[Ohm]
Iout[2]: 500k[Ohm]
Current (A)
5.00u
Iout[3]: 1M[Ohm]
Iout[4]: 1.5M[Ohm]
Iout[5]: 2M[Ohm]
0.00
Figure 10 shows a Monte Carlo analysis for the uncalibrated output error for this design. This error is
dominated by resistor tolerance. In this analysis 0.1% resistors were used. The different current errors
curves shown in Figure 10 are the result of resistor variation during the Monte Carlo Analysis. Equation 4
was used to convert the Monte Carlo results to a percentage. Note that R1, R2, and R SET all affect the
error.
T 15.00n
10.00n
Error Current (A)
5.00n
0.00
-5.00n
-10.00n
-15.00n
0.00 1.00 2.00 3.00 4.00 5.00
Input voltage (V)
Figure 10: Monte Carlo Analysis for Resistor Tolerance
5 PCB Design
The PCB schematic and bill of materials can be found in Appendix A.
Banana
3.50
3.00
2.50
2.00
1.50
1.00
0.50
0.00
0.00 1.00 2.00 3.00 4.00 5.00
Input Voltage in Volts (V)
-0.08
Error (%)
-0.10
-0.12
Gain
-0.14
Error
-0.16
-0.18
Compliance Limits
-0.20
Output Current (uA)
6.3 Calibration
The goal of this design is to obtain very accurate, stable, and repeatable output current vs. input voltage
characteristics. The accuracy of this design is limited by resistor tolerance, INA gain accuracy, offset
voltage and drift. A two point linear calibration can be used to obtain a highly accurate V-to-I converter. A
two point linear calibration measures the slope and offset error on the transfer function. Using the
equation for a straight line, we compute the slope (m) and the offset (b) using two points on the linear
portion of the transfer function. Avoid using the end points of the function as the linearity becomes poor in
these regions.
y m x b (5)
( y 2 y1 )
m (6)
(x 2 x 1)
b y2 m x 2 (7)
yb
x (8)
m
4.0
3.0
(1.00000V, 1.00905uA) (4.00000V, 4.02752uA)
2.0
1.0
0.0
0.0 1.0 2.0 3.0 4.0 5.0
Voltage Input (V)
The equation below show an example calculation for finding the slope and offset of the measured transfer
function.
(4.02752A 1.00905A)
m 1.00616A / V (9)
(4.00000V 1.00000V)
b 4.02752 (1.00616A / V) * 4.00000V 2.89467nA (10)
Using the slope and offset calculated above it is possible to compute the input voltage required to set the
output to a precise current value within the compliance range of the circuit. Below is an example showing
how the input voltage required to get an accurate 3.0000 µA output can be calculated. In this case, the
required input voltage to get a precise 3.0000 µA output is calculated to be 2.97877 V. Measuring the
actual output after this calibration will yield very accurate results. Typical maximum post-calibration error
is +/-50 pA or less (0.001% of full scale). The components used in this circuit are very stable so the
calibration coefficients (m and b) can be measured once and re-used for all calibrated current settings.
yb
x (11)
m
Iout _ desired b 3.0000A 2.89467nA
Vin_ required 2.97877V (12)
m 1.00616A
Post-calibration error is calculated as shown below. The post-calibration error is across the entire output
current range (0 µA to 5 µA) as shown in Figure 16.
(Iout _ measured Iout _ ideal) 3.000033A 3.0A
Error 100 100 0.00066% (13)
Iout _ range 5A 0A
80
60
40
20 error1
0
-20 error2
-40 error3
-60 error4
-80
-100
0 1 2 3 4 5
Desired Output Current (Iout_desired in uA)
Figure 16: Measured output error post calibration for 0.1 µA < Iout < 4.9 µA
Figure 18 is the same circuit arrangement as in Figure 17 except that the frequency was increased to 100
Hz. This is the extreme limit of the bandwidth of this V-to-I converter. This circuit is not intended to be an
ac current source. The goal of this implementation is to create a programmable dc current source. Based
on the figure below, at least 10 ms is required for settling (100 ms for highest accuracy).
Figure 19 is the same arrangement as used in Figure 17 and Figure 18 except that a small (100 mVp-p)
signal with a 500 mV dc offset was applied to the input. The objective of this test is to confirm the stability
of the design. The design quickly settles to the final value with a properly damped response without
overshoot or ringing. This is a good indication of circuit stability.
Where IOUT_MAX is the maximum current that can be delivered before compliance limitations and
IOUT_FULL_SCALE is the full scale range for the design (5 µA in this case).
0
1.0E+05 1.0E+06 1.0E+07
Load Resistance (ohms)
The minimum output current limitation occurs because the op amp output approaches the negative rail.
Note that the op amp output is the sum of the load voltage and the set voltage (VOPA_OUT = VLOAD + VSET).
For low currents and low output resistances the op amp output voltage approaches 0 V and becomes
nonlinear. Normally the voltage swing from the rail specification is used to determine how close the
amplifier output can be to the negative rail as shown in Table 3. However, in this case the op amp output
current is very low compared to the test condition in the specification table, so the op amp can swing
much closer to ground than the table would indicate. A better specification in this case is the open loop
gain AOL specification as shown in Table 4. The test condition in the AOL specification indicates that
AOL is not specified for outputs less than 100 mV from the power supply rails. For outputs less than 100
mV from the rails, AOL will be degraded. Degraded AOL will cause nonlinearity errors for outputs less
than 100 mV from the rail. This behavior cannot be confirmed using TINA-TI™ SPICE.
Table 3: Excerpt from OPA333 data sheet showing voltage swing from rail
PARAMETER TEST CODITIONS MIN TYP MAX
Voltage output Swing from Rail RL = 10k, IL = 250µA 30mV 50mV
Table 4: Excerpt from OPA333 data sheet showing nonlinearity 100mV from rail
PARAMETER TEST CONDITIONS MIN TYP MAX
Open Loop Gain Aol (V-) + 100mV < Vout < (V+) -100mV, RL=10k 106dB 130dB
Based on Table 4 we know that the output of the OPA333 will become nonlinear for outputs less than
100 mV. The op amp output voltage is across the series circuit RSET and RLOAD. The minimum output
current required to avoid the 100 mV non-linear region can be calculated easily using Equation 16
Equations 17 and 18 give example calculations showing the minimum output for 100 Ω and 100 kΩ loads.
Figure 21 graphs Equation 16 over a wide range of resistances.
100mV
IOUT _ MIN (16)
R SET R LOAD
0.8
Iout in uA
0.6
0.4
0.2
0
1.E+02 1.E+03 1.E+04 1.E+05 1.E+06
Load Resistance in Ohms
The 100 mV limitation is a guideline for highest accuracy. The actual amplifier performance will generally
be better than the expected limitations. Figure 22 shows the measured output error for a 50 kΩ load for
four different measurement runs. The error for low output currents (i.e. 0 µA to 50 µA) is high compared
with the error across the remainder of the range. This is because of the 100 mV minimum output
limitation. The measured results correspond well with the theoretical results given in Figure 22.
Nonlinear
Region Normal Post Cal Error
± 0.1pA
Zoom in on error
Figure 22: Post calibration error showing nonlinearity error for low op amp outputs
Figure 23 shows measured results that confirm that the output compliance to ground improves with heavy
loads. The limitations shown in Figure 22 correlate with the minimum output limitations given in Figure 21.
0.5
VOPA = 0.12V
Error (nA)
0.0
-0.5
-1.0
0.00 0.20 0.40 0.60 0.80 1.00
Output Current (uA)
0.0
-0.5
-1.0
0.00 0.20 0.40 0.60 0.80 1.00
Output Current (uA)
Figure 23: Larger loads have better minimum output compliance limitations
7 Modifications
A lower gain (e.g. GINA = 1 V/V) can be used in the case that low value resistance loads are driven by low
current levels. For example, if a 100 µA load is driven by a 0.1 µA current the op amp output voltage will
be about 0.1 V. However, making this change will degrade the compliance for larger loads.
2. Grohe, P., Design femtoampere circuits with low leakage, Parts 1 – 3, November 2011,
http://www.edn.com/design/analog/4368681/Design-femtoampere-circuits-with-low-leakage-part-
one?page=3
Appendix A.
Item Qty Value Designator Description Manufacturer Manufacturer Part No. DigiKey PartNumber
CAP, CERM, 4.7uF, 16V, +/-20%,
1 1 4.7uF C1 TDK C3216X5R1H475K160AB 445-5994-1-ND
X7R, 1206
CAP, CERM, 1000pF, 50V, +/-1%,
2 1 1000pF C2 AVX 08055A102FAT2A 478-3759-1-ND
C0G/NP0, 0805
CAP, CERM, 0.1uF, 50V, +/-5%, X7R,
3 3 0.1uF C3, C4, C5 AVX 08055C104JAT2A 478-3352-1-ND
0805
MACHINE SCREW PAN PHILLIPS 4-
4 4 B&F Fastener PMS 440 0038 PH H782-ND
40
H1, H2, H3, STANDOFF HEX 4-40THR ALUM
5 4 Keystone 2203 2203K-ND
H4 .500"L
J1, J2, J3,
Standard Banana Jack, Uninsulated,
6 8 J4, J5, J6, Keystone 575-4 5-4K-ND
5.5mm
J7, J8
RES, 40.2k ohm, 0.1%, 0.125W, TE
7 1 40.2k R1 676335-2 A102342CT-ND
0805 Connectivity
RES, 200k ohm, 0.1%, 0.125W, TE
8 1 200k R2 4-1676971-2 A102090CT-ND
0805 Connectivity
9 2 100k R3, R4 RES, 100k ohm, 1%, 0.125W, 0805 Vishay-Dale CRCW0805100KFKEA 541-100KCCT-ND
RES, 1.00Meg ohm, 1%, 0.125W,
10 1 1.00Meg Rset Vishay-Dale CRCW08051M00FKEA 541-1.00MCCT-ND
0805
11 2 TP1, TP7 Test Point, TH, Compact, Black Keystone 5124 5001K-ND
12 1 TP2 Test Point, TH, Compact, Red Keystone 5005 5005K-ND
TP3, TP4,
13 1 Test Point, TH, Compact, Purple Keystone 5124 5124K-ND
TP5, TP6
Texas
14 1 U1 Single JFET Input Op Amp OPA333AID 296-19545-5-ND
Instruments
Texas
15 1 U2 IC OPAMP INSTR R-R 1KHZ 8VSSOP INA326EA/2K5 INA326EA/2K5CT-ND
Instruments
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2013, Texas Instruments Incorporated