Since the publication of Design a Bipolar to Unipolar Converter to Drive an ADC, several readers contacted me with requests to help in solving their particular converter. The common problem they had was the fact that the components’ calculation resulted in a negative value for at least one resistor.
To provide a solution, first we need to understand the root cause of the problem. Let’s take one of the circuits I received and analyze it.
The reader wrote that he would like to drive an ADC with the input range of 0 to 2.5V from a signal with the range of –5V to +5V, connected at V1 (see Figure 1).
The reference voltage he had was 2.5V, connected at V2. After applying the method described in Design a Bipolar to Unipolar Converter to Drive an ADC, the result is that R4 is negative. Why is that?
A negative resistor means that the circuit needs a voltage source in order to comply with the output versus input requirements. This is because of the input range which is larger than the output range. In effect, the summing amplifier used for this circuit needs to be an attenuator. However, the non-inverting summing amplifier cannot be an attenuator, since it is a derivation from the non-inverting amplifier, which always has a gain greater than one. This conflict determines the negative resistor result.
There are two solutions to this problem: One is to reduce the reference voltage, V2, and another is to use a 3 input non-inverting summing amplifier.
I explained the first method in this article, How to Design a Summing Amplifier Calculator. Essentially, one needs to decrease the reference voltage to bring R4 into the positive realm. Read that article for more details.
Let’s talk about the second method. We will use a 3-input non-inverting summing amplifier to avoid resistor negative values when the input range is larger than the output range.
The multiple input non-inverting summing amplifier is explained in The Transfer Function of the Non-Inverting Summing Amplifier with “N” Input Signals. I wrote that article to show that, although some people avoid this amplifier due to its somewhat complicated transfer function, the derivation of the amplifier equation is not complicated. In that article, I also showed and explained the 3-input summing amplifier (see Figure 2). Its transfer function is as follows:
To design our elusive bipolar to unipolar converter, let’s connect the third input, resistor R5, to ground. The rest of the circuit is the same as in the case of the 2-input summing amplifier. If R5 is connected to ground, the V3 term in equation (1) disappears. The new transfer function is given in equation (2), and the schematic is shown in Figure 3.
Now, it is clear what R5 does. It reduces the weigh of both V1 and V2. In effect, it attenuates both signals. With one extra resistor, the bipolar to unipolar amplifier is easier to be managed. Therefore, to do so, let’s write two equations, one for each end of the input signal trip.
Next we choose R1 = 10 kOhms, R3 = 10 kOhms, R5 = 4.99 kOhms, and then we have to solve this system of two equations with 2 unknowns, R2 and R4.
If you have a math program like Mathcad, you can solve this system easily. If you don’t, you need to do it by hand. This is not an impossible task. Here are some hints.
We can take advantage of the fact that the two equations are products. Each unknown is part of each product term. Therefore, if we divide the first equation by the second, R4 disappears, and we have one equation with one unknown, R2. After we find R2, R4 can be easily derived by replacing R2 in the second equation.
The result is as follows:
R1 = 10kOhms, R2 = 4.99 kOhms, R3 = 10 kOhms, R4 = 2.49 kOhms, R5 = 4.99 kOhms.
The final schematic is shown in Figure 4, and the transfer function graph in Figure 5.
- Design a Unipolar to Bipolar Converter for a Unipolar Voltage Output DAC Unipolar to bipolar converters are useful when we have to have a unipolar component to do a certain job in...
- Design a Bipolar to Unipolar Converter to Drive an ADC Most ADCs have a unipolar input range that can be a problem when designing bipolar circuits. Some common ADC input...
- Bipolar to Unipolar Converters Based on a Summing Amplifier Configuration In a previous article I presented a method for designing a bipolar to unipolar converter using a summing amplifier. In...
Related articles by YARP.
Categories: Analog Design, Electronic Circuits Examples, Summing Amplifier