Electrical Engineering › Section Q · Thyristors, operational amplifiers, and power conversion › Topic Q.6
Voltage-to-current conversion, averagers, and summers
With negative feedback an op-amp can force a precise current through an unknown load, or add several signals with chosen weights. These two jobs carry measurements across factories and mix sound in every studio.
Why send a current?
Industrial sensors often report a measurement such as temperature, pressure or flow over long cables. A voltage signal loses some of its value across the cable's resistance, so the receiver reads low. A current signal does not: in a series loop the current is the same at every point, whatever the wire resistance. Current receivers also have low input resistance, which makes them less sensitive to picked-up noise. The usual standard is 4 mA to 20 mA for 0% to 100% of range. Because the bottom of the range is 4 mA, not zero, a reading of 0 mA reveals a broken wire or a dead transmitter instead of passing for a valid low reading.
The voltage-to-current converter
To force a set current through a loop of unknown resistance, an amplifier must apply whatever voltage that takes, which is the job of a current source. An op-amp does it easily. The input voltage drives the noninverting input. A precision sense resistor \(R_s\) runs from the inverting input to ground, and the load sits in the feedback path, from the output to the inverting input, with neither end grounded. Feedback holds the inverting input at \(V_{in}\), so the sense resistor carries \(V_{in}/R_s\), and since no current enters the op-amp, the load carries the same:
The load resistance does not appear at all.
Transconductance and compliance
Because the output is a current controlled by an input voltage, the circuit is a transconductance amplifier. Transconductance is the ratio of output current to input voltage, measured in siemens, like conductance; here it is fixed at \(1/R_s\). The circuit has one limit. To push its current, the op-amp's output must reach \(I_{load}(R_{load} + R_s)\). The largest voltage it can produce while holding the current steady is the compliance voltage, set by the supply and the op-amp's saturation level. If the loop resistance is too large, the output saturates and the current falls short. The op-amp must also be able to supply the full current.
Worked example: a 4-20 mA transmitter
A sensor gives 0.50 V at 0% and 2.50 V at 100% of range. Design a converter for 4-20 mA, with an op-amp that saturates at +13 V. 1. Sense resistor: \(R_s = 2.50\,\text{V}/20\,\text{mA} = 125\,\Omega\). 2. Check the bottom: \(0.50/125 = 4.0\,\text{mA}\). 3. Loop of 600 Ω: at 20 mA the output must reach \(0.020 \times (600 + 125) = 14.5\,\text{V}\), above 13 V, so it fails. 4. Largest loop resistance: \(13/0.020 - 125 = 525\,\Omega\). Check: within that range the current is set by \(V_{in}\) and \(R_s\) alone, whatever the wiring adds; a real transmitter would use a higher supply or a booster transistor for longer loops.
The passive averager
Connect three resistors from three voltage sources to one common node. By Millman's theorem, from Millman's, substitution, and reciprocity theorems, the node voltage is
With equal resistors this is simply the average, \((V_1 + V_2 + V_3)/3\). The circuit is passive: it uses no amplifying parts. It works only if nothing draws current from the common node, so in practice it feeds a high-impedance input such as an op-amp's noninverting input. Unequal resistors give a weighted average, each input counting in proportion to its conductance.
The noninverting summer
To add three signals instead of averaging them, feed the passive averager's output into a noninverting amplifier with a gain of 3:
A gain of 3 needs \(1 + R_f/R_g = 3\), so \(R_f = 2R_g\), for example 20 kΩ and 10 kΩ. For \(N\) equal inputs the gain must be \(N\), so \(R_f = (N - 1)R_g\). The output has the same sign as the sum. Its weakness is that the inputs interact: each source pushes current into the others through the averaging resistors, so changing one source's resistance changes every weight.
The inverting summer
The inverting summer avoids that interaction. Each input connects through its own resistor to the inverting input, which is a virtual ground, and the noninverting input is grounded. Each input current depends only on its own voltage and resistor, \(V_k/R_k\), because the far end of every resistor is held at 0 V. The currents add at the node and flow on through \(R_f\), so
With all resistors equal, \(V_{out} = -(V_1 + V_2 + V_3)\). The sources do not load one another, which is why audio mixers use this circuit; a following inverting stage of gain −1 restores the sign.
Worked example: a weighted mixer
An inverting summer has \(R_f = 10\,\text{k}\Omega\) and inputs \(V_1 = 1.0\,\text{V}\) through 10 kΩ, \(V_2 = -1.0\,\text{V}\) through 20 kΩ and \(V_3 = 0.50\,\text{V}\) through 5.0 kΩ. 1. Input currents towards the virtual ground: \(0.10\,\text{mA}\), \(-0.050\,\text{mA}\) and \(0.10\,\text{mA}\). 2. Total: \(0.15\,\text{mA}\), all of it through \(R_f\). 3. Output: \(V_{out} = -(0.15\,\text{mA})(10\,\text{k}\Omega) = -1.5\,\text{V}\). 4. Weights: \(R_f/R_k\) gives 1, 0.5 and 2. Check:
Worked example: averaging, then summing
Three signals, 2.0 V, −1.0 V and 3.5 V, feed a passive averager of three 10 kΩ resistors, followed by a noninverting amplifier with \(R_f = 20\,\text{k}\Omega\) and \(R_g = 10\,\text{k}\Omega\). 1. Averager node: \((2.0 - 1.0 + 3.5)/3 = 1.5\,\text{V}\); the op-amp input draws no current, so Millman's result holds. 2. Gain: \(1 + 20/10 = 3\). 3. Output: \(3 \times 1.5 = 4.5\,\text{V}\). Check: \(2.0 - 1.0 + 3.5 = 4.5\,\text{V}\), the sum, with its sign kept. An inverting summer with equal resistors would give −4.5 V.
Summers as computers
Summing is a mathematical operation, and summers were central to analogue computers alongside the fixed-gain amplifiers of Negative feedback and divided feedback, which multiply or divide by a constant. Choosing resistor ratios multiplies each input by a constant before adding, so a single op-amp computes expressions such as \(-(2V_1 + 0.5V_2)\). Give four on-off inputs resistors of \(R\), \(2R\), \(4R\) and \(8R\), and their contributions are weighted 8:4:2:1: the idea behind the binary-weighted digital-to-analogue converter. Adding a fixed reference voltage as one more input shifts a signal, for instance moving a range that straddles zero to one that is all positive.
Common mistakes to avoid
First, grounding one end of the load in a voltage-to-current converter: here the load must sit in the feedback path. Second, ignoring compliance: a loop resistance that needs more voltage than the op-amp can deliver makes the current fall short. Third, forgetting that the inverting summer flips the sign. Fourth, using the noninverting summer with a gain other than the number of equal inputs. Fifth, loading a passive averager: its output is only an average when nothing draws current from it.
Key takeaways
Current loops such as 4-20 mA carry measurements unaffected by wire resistance, and the 4 mA live zero reveals broken wires. An op-amp with a sense resistor R_s forces I = V_in/R_s through a floating load, a transconductance of 1/R_s, up to its compliance voltage. Equal resistors to one node average their inputs (Millman's theorem); a following noninverting gain of N turns the average into a sum. The inverting summer gives V_out = −R_f(V₁/R₁ + V₂/R₂ + ...), with no interaction between inputs, which suits mixers and analogue computation.
Flashcards
Flashcard
The standard industrial current signal for 0% to 100% of a measurement range
Test your understanding
Question 1 of 5
An op-amp voltage-to-current converter has a 200 ohm sense resistor and a 500 ohm load in its feedback path. What is the load current for a 3.0 V input?
Question 2 of 5
A converter uses a 250 ohm sense resistor and must deliver 20 mA. Its op-amp output saturates at 12 V. What is the largest loop (load) resistance it can drive at full current?
Question 3 of 5
An inverting summer has R_f = 15 kilohms, V₁ = 2.0 V through 15 kilohms and V₂ = 3.0 V through 30 kilohms. What is the output?
Question 4 of 5
Inputs of 1.0 V, 2.0 V and 6.0 V feed three equal resistors into the noninverting input of an amplifier with R_f = 20 kilohms and R_g = 10 kilohms. What is the output?
Question 5 of 5
Why do industrial instruments often send measurements as 4-20 mA currents rather than as voltages?
