02202017 Programmable Gain Element Using the AD5426/AD5432/AD5443 Current Output DACsAnalog Devices » AD5426, AD5432, AD5443, AD8065Analog Devices Circuit Note CN0038 Circuit Function and BenefitsThis circuit provides a programmable gain function using a multiplying DAC and an operational amplifier (op amp). The maximum gain value and the temperature coefficient are set by the external resistors and the resolution of the programmable gain is set by the resolution of the DAC.
Circuit DescriptionThe circuit shown in Figure 1 is the recommended method for increasing the gain of the circuit. R1, R2, and R3 should all have similar temperature coefficients, but they need not match the temperature coefficients of the DAC. This approach is recommended in circuits where gains of greater than 1 are required. The gain is where D is the digital word loaded to the DAC and N is the number of bits: D = 0 to 255 (8bit AD5426); D = 0 to 1023 (10bit AD5432); and D = 0 to 4095 (12bit AD5443). The key benefit of this circuit is its ability to overcome gain TC errors using resistor matching. The TC of the external resistors need to match each other, but do not need to match that of the DAC internal ladder resistance. Resistor R1 is required because R1 plus the input impedance of the DAC must equal the total feedback resistance, which is R_{FB} plus R2R3. The input impedance of the DAC is R_{FB}, so R1 + R_{FB} = R_{FB} + R2R3, The values of R1 and R2 must be chosen so that the output voltage does not exceed the output range of the operational amplifier for the given supply voltage. Also, note that the bias current of the operational amplifier is multiplied by the total feedback resistance (R_{FB} + R2R3) to give an associated offset. Therefore, the values of R1 and R2 cannot be too large or they will have a significant effect on the overall output offset voltage. The input offset voltage of an op amp is multiplied by the variable gain (due to the codedependent output resistance of the DAC) of the circuit. A change in this noise gain between two adjacent digital fractions produces a step change in the output voltage due to the amplifier’s input offset voltage. This output voltage change is superimposed on the desired change in output between the two codes and gives rise to a differential linearity error that, if large enough, could cause the DAC to be nonmonotonic. The AD8065 benefits from both a low input offset voltage and low bias currents to overcome this issue. Common VariationsThe OP1177 is another excellent op amp candidate for the IV conversion circuit. It also provides a low offset voltage and ultralow bias current. For the selection of the reference, the input voltage is restricted by the railtorail voltage of the operational amplifier selected and also the gain set up by resistors R2 and R3. Materials on the topicPCB Pricing: https://jlcpcb.com/quote


