Full-wave rectifier has programmable gain
The traditional approach to the design of a full-wave rectifier (Figure 1) is to set the gains of IC1 and IC2 to 1 and use the steering diodes D1 and D2 to sum the sinusoidal half-cycles of the input to form the rectified output. For the positive half-cycle of the input signal, IC1 is a noninverting amplifier with a gain of 1. For the negative half-cycle of the input signal, IC2 is an inverting amplifier with a gain of –1. This full-wave-rectifier circuit often combines with a lowpass filter to form a low-cost ac/dc converter. If you need a full-wave rectifier with amplification, the combination of these two functions in one circuit can provide savings in cost, component count, and board space. The circuit in Figure 2 combines rectification and programmable amplification. The two 256-tap Xicor digitally controlled potentiometers, DCP1 and DCP2, control the gains of the noninverting amplifer, IC1, and the inverting amplifier, IC2, respectively. The gain of IC1 is 1G1=255/P1, where P1 (0
255) is the programmed decimal value of DCP1. Similarly, the gain of IC2 is G=–(255–P2)/P2. The performance of this circuit takes advantage of the resistor matching inherent in the digital potentiometers. The measured data falls within 2% of calculated values.