# Circuit Idea/Op-amp Inverting Current-to-Voltage Converter

**<<< contents - passive version - attractive story - page stage >>>**

**How to Transform the Passive Current-to-Voltage Converter into an Active One**

**(Reinventing the Op-amp Inverting Current-to-Voltage Converter)****Circuit idea:** *The op-amp compensates the internal losses caused by the resistor adding as much voltage to the input voltage source as it loses across the resistor.*

## Speculation: *The active version is just an improved passive one*[edit]

We have already revealed the secret of the most popular simple converting circuit - passive current-to-voltage converter. We know that these kinds of circuits have usually two versions - passive ("bad") and active ("good"). When we were considering the opposite voltage-to-current converter, we ascertained that there was a close interrelation between the two versions - the active circuit was derived from the passive one; it was just an improved passive version. Furthermore, we figured out how the passive version was transmuted into an active one.

Similarly, we may now suppose that there is an active current-to-voltage converter and its passive and active versions are interrelated too. Then, let's look at these two circuit implementations - the "bad" passive version (the top of Fig. 1) and the "good" active version (the bottom of Fig. 1). We can see again that the active version contains the passive one + an op-amp connected in accordance with some (maybe the same?) powerful idea:

*Active I-to-V converter = passive I-to-V converter + op-amp + great idea ?*Again, we might ask ourselves, "How has the passive circuit transmuted into an active one?", "What is the idea of this connection?" and "What does the op-amp do in this circuit?" We can answer these questions by following the evolution of the passive circuit into an active one.

## Problem: *The internal resistor affects the current*[edit]

We have already known why the simple current-to-voltage converter (Fig. 2) is an imperfect circuit - because the output voltage drop V_{R} across the resistor R affects the input current (here we suppose that the input current is created by a real source consisting of a voltage source V_{IN} and an internal resistance Ri).

We can look at the voltage V_{R} from two contrary viewpoints. From the point of view of the input voltage source, the voltage drop V_{R} is troublesome; so, the input source "would like" this voltage not to exist. Contrary, from the point of view of the load, V_{R} is a useful voltage drop as it serves as an output quantity; so, the load "would like" this voltage to exist and even to be as high as possible. Obviously, there is a contradiction here - the voltage drop V_{R} has to exist and, at the same time, not to exist. How do we solve this contradiction?

You can explore the operation of the passive circuit in a more attractive way if you click the *Exploring* button in the interactive flash movie ^{[1]} or if you go to *Stage 2* in the interactive flash builder.^{[2]}

## Basic non-electrical idea: *Removing a disturbance by an "antidisturbance"*[edit]

Remember what we do in real life when we solve some problem but a disturbance **caused by ourselves** stands in our way. The classical remedy is to *remove the cause of the disturbance*. Only, it is not always possible to do that; then, we use another exotic solution - we *remove the disturbance by an equivalent "antidisturbance"*. For this purpose, we use an additional power source (energy), which "helps" us (the main source) by compensating only the local losses caused by the **internal** troublesome quantity (conversely, in the opposite active voltage-to-current converter, the additional power source compensates the losses caused by the **external** quantity). This technique is associated with continuous wasting of additional energy but the result is zero (virtual ground ^{[3]}); so, we prefer to use it when we are rich and, at the same time, lazy enough:). An example: if we have broken our window in winter, we turn on a heater that compensates the thermal losses; and v.v., in summer, we turn on an air-conditioner. More examples: if our car had a collision with another car, the insurance company compensates the damages that we have caused to the other's car; if we cause troubles to others, we apologize; if we have spent money from our account, we begin depositing additional money into the account, etc. (see virtual ground page^{[4]} for more examples). In all these cases,

*we have prepared (just in case) "standby" resources to use them, if there is a need to compensate eventual internal losses*.

## Basic electrical idea: *Removing voltage by an "antivoltage"*[edit]

### Building the electric circuit[edit]

Now, let us put this powerful idea into practice. The voltage drop V_{R} across the resistor R is harmful; so, following the recipe above, we have to remove it by an "antivoltage" -V_{R}. In other words, we have to add as much voltage to the input (excitation) voltage source V_{IN} as is lost across the resistor R

*Active I-to-V converter = passive I-to-V converter + "helping" voltage source*

The best way to understand what real electronic components do is just to do their work. So, let us first build a "man-controlled" active circuit, in which a man (I might do this donkeywork:) produces the "anti-voltage" while you change the input voltage. For this purpose, I first place an additional supplementary battery B_{H} in series to the resistor R (Fig. 3). Then, in order to compare the two voltages, I connect a zero indicator in point A, which shows the result of the comparison V_{A} = V_{H} - V_{R}. See how simple it is:

*Add an adjustable battery in series with the resistor and make its voltage equal to the voltage drop across the resistor!*

### Where to take an output from?[edit]

Now, we have to decide where to take the output (where to connect the load). Let's consider the possible solutions (see Fig. 4).

**V _{OUT1} = V_{A} = 0.** It is natural to try using the old circuit output (the voltage of point A versus the ground). But we have just destroyed this voltage (the point A has become virtual ground)! So, we can't use this voltage as an output:(

**V _{OUT2} = V_{R}.** Then let's try using the voltage V

_{R}across the resistor R. Only, in order to connect a load to the "floating" resistor R, the load has to have a differential input. Moreover, if the load has some resistance, it will shunt the resistor thus affecting the current. What do we do then?

Recall to mind the cases from our routine when we prefer to estimate some quantity X indirectly. For this purpose, we first destroy the unknown quantity by an equal "anti-quantity" Y = X; then, we measure the "anti-quantity" Y, in order to know the magnitude of the initial quantity X. An example - classic weighing by using a balance.

**V _{OUT3} = -V_{H}.** Eureka! We will use the "copy" voltage -V

_{H}as an output instead of the "original" voltage V

_{R}! What a great idea! First, the load will be connected to the common ground; second, it will consume energy from the "helping" source B

_{H}instead of from the input source V

_{IN}!

### Exploring the electric circuit[edit]

In the beginning, imagine that there is no input excitation voltage V_{IN}. As a result, there are no voltage drops and currents in the circuit; the needle of the zero indicator points to the zero position (Fig. 5). I am happy because there is nothing to do:)

If you increase the input voltage V_{IN}, a current begins flowing through the resistor. As a result, a voltage drop V_{R} appears across the resistor and the point A begins rising its potential V_{A} (figuratively speaking, the input source "pulls" the point A up toward the positive voltage V_{IN}). Only, I observe to my great displeasure that the needle deflects to the right and immediately react by decreasing the compensating voltage V_{H}. Now, it "pulls" the point A down toward the negative voltage -V_{H} until it manages to zero the potential V_{A} (the virtual ground). Note that the two voltage sources are connected in series, in one and the same direction (- V_{IN} +, - V_{H} +) so that their voltages are added (let's assume that we traverse the loop clockwise). Regarding to the ground, they have opposite polarities.

In this way, the input voltage source is "helped"; its voltage increases as much (V_{R}) as it loses across the resistor. As a result, the "troublesome" voltage V_{R} disappears; the point A has zero voltage; it behaves as a virtual ground. The real input voltage source is "fooled": it has the illusion that its output is shorted.

You can imagine what happens when you decrease the input voltage V_{IN} below ground. As above, I will adjust the battery voltage looking at the needle of the zero indicator, so that always V_{H} = -V_{R}. In electronics, in the technical world and in our human world, this action is referred to as negative feedback (a great phenomenon).

## Op-amp inverting current-to-voltage converter[edit]

### Building the electronic circuit[edit]

Let us now try to make some electronic device do this donkeywork; an op-amp seems to be a good choice. For this purpose, we connect the op-amp's output in the place of the helping voltage source and the op-amp's input to point A so that the op-amp to "help" the input source (the op-amp's output voltage and the input voltage to be summed).

*Op-amp I-to-V converter = passive I-to-V converter + "helping" op-amp*

### Exploring the electronic circuit[edit]

In the beginning, imagine as above that there is no input excitation voltage V_{IN}. As a result, there are no voltage drops and currents in the circuit. There is almost no voltage difference between the inverting and the non-inverting input of the op-amp; now, it is "happy" because there is nothing to do:)

#### Positive input voltage[edit]

If the input voltage V_{IN} increases, an input current I_{IN} begins flowing through the resistor R (Fig. 6). As a result, a voltage drop V_{R} appears across the resistor and the point A begins rising its potential V_{A} (the input source "pulls" the point A up toward the positive voltage V_{IN}). Only, the op-amp "observes" that to its great displeasure:( and immediately reacts: it decreases its output voltage "sucking" the current I_{IN} until it manages to zero the potential V_{A}. Figuratively speaking, the op-amp "pulls" the point A down toward the negative voltage -V to establish a virtual ground. It does this magic by connecting a part of the voltage produced by the negative power supply -V in series with the input voltage V_{IN}. As above, the two voltage sources are connected in series, in one and the same direction (- V_{IN} +, - V_{H} +) so that their voltages are added. Only, regarding to the ground, they have opposite polarities.

#### Negative input voltage[edit]

If the input voltage V_{IN} decreases below ground, an input current I_{IN} begins flowing through the resistor R in the opposite direction (Fig. 7). As a result, a voltage drop V_{R} appears across the resistor and the point A begins dropping its potential V_{A} (now, the input source "pulls" the point A down toward the negative voltage -V_{IN}). Only, the op-amp "observes"' that and immediately reacts: it increases its output voltage "pushing out" the current I_{IN} until it manages to zero the potential V_{A} (now, the op-amp "pulls" the point A up toward the positive voltage +V in order to establish a virtual ground). It does this magic by connecting a part of the voltage produced by the positive power supply +V in series with the input voltage V_{IN}. The two voltage sources are connected in series again, in one and the same direction (+ V_{IN} -, + V_{H} -) so that their voltages are added. Regarding to the ground, they have opposite polarities as above.

**Conclusion.** *In the circuit of an op-amp current-to-voltage converter, the op-amp adds as much voltage to the voltage of the input source as it loses across the resistor. The op-amp compensates the local losses caused by this internal resistor (conversely, in the opposite op-amp inverting voltage-to-current converter, the op-amp compensates the losses caused by the external load).*

## Applications of the op-amp I-to-V converter[edit]

Once we created a perfect current-to-voltage converter, we may use it as a building block to build more complex compound circuits. For this purpose, we have only to connect consecutively the separate building blocks.

### Staying before the circuit input[edit]

First, we may connect the op-amp current-to-voltage converter before circuits having voltage input; thus we make them perceive current.

**Perfect ammeter.** We have already built a simple ammeter by connecting a simple current-to-voltage converter (a shunt resistor) before the voltmeter:

*Compound ammeter = current-to-voltage converter + voltmeter*

Similarly, we can build a perfect ammeter by connecting an op-amp current-to-voltage converter before the voltmeter (Fig. 8):

*Perfect ammeter = op-amp current-to-voltage converter + voltmeter*

This active ammeter does not introduces a troublesome voltage drop into the measured circuit. Only, the popular multimeters use exactly the passive version, in order to measure big currents (see comparison between the passive and active version).

### Staying after the circuit output[edit]

Then, we may connect the op-amp current-to-voltage converter after circuits having current output; thus we make them produce voltage. For example, we have known how to build a simple current source. By applying this technique, we may assemble the famous op-amp circuits of inverting amplifier (Fig. 9), capacitive differentiator, inductive integrator, diode antilogarithmic converter, etc.

*Op-amp inverting amplifier = V-to-I converter + op-amp I-to-V converter*

*Op-amp V-to-V CR differentiator = V-to-I C differentiator + op-amp I-to-V converter*

*Op-amp V-to-V LR integrator = V-to-I L integrator + op-amp I-to-V converter*

*Op-amp V-to-V DR antilog converter = V-to-I D antilog converter + op-amp I-to-V converter*

In all these circuits, the voltage drop across the respective I-to-V converters does not introduce an error (precisely speaking, it will introduce an error but the op-amp will remove it).

### Acting as a transimpedance amplifier[edit]

The op-amp I-to-V converter like as an op-amp V-to-I converter is an active circuit; so, we may expect it to amplify too. Really, it acts as a linear circuit with transfer ratio k = V_{OUT}/I_{IN} [V/mA] or ohms having dimension of resistance. That is why, they frequently name it transresistance or transimpedance amplifier (transimpedance is a contraction of "transfer impedance"). Nevertheless, let's try to answer the question, "Is the op-amp I-to-V converter an amplifier?"

Yes, it is an amplifier! The *op-amp inverting I-to-V converter* does not consume any power from the input source; it is just a short connection (see the explanations below about the input resistance). So, it is a more perfect amplifier than the opposite op-amp inverting voltage-to-current converter, which consumes power P = V_{IN}^{2}/R. To compare the two circuits, assemble again an op-amp inverting amplifier by connecting consecutively a bare resistor (R_{1}) and a current-to-voltage converter (the resistor R_{2} and an op-amp OA) - Fig. 9.

## Comparison between the passive and active version[edit]

Let us finally compare the two versions beginning by investigating the input and output resistances.

**Input resistance.** First, connect an ammeter *in series with* and a voltmeter *in parallel to* the converter's input (Fig. 10); then vary the input voltage to investigate the input resistance. Maybe you remember that in the passive version, looking from the side of the input source we were seeing two resistors connected in parallel - R and R_{L}; so, the input resistance was R_{IN} = R||R_{L}. Now, we see zero resistance because the op-amp has "neutralized" the resistance R.

It is wonderful, the resistor R has disappeared! In this case, the op-amp "helps" the input voltage in its striving to change the current.

**Output resistance.** Now, connect a voltmeter *in parallel to* and an ammeter *in series with* the converter's output (Fig. 11); then, vary the load resistance (voltage) and observe the current to investigate the output resistance. Remember that in the passive version, looking from the side of the load, we were seeing two resistors connected in parallel - Re (the equivalent resistance of the input circuit) and R; so, the output resistance was R_{OUT} = Re||R. Now, the situation is quite more interesting: when we vary the load the output voltage stays steady! The circuit behaves as a perfect voltage source with zero output resistance.

**Operating range.** The op-amp does all these "magics" until it can change its output voltage (i.e., until it is within the active region). When it reaches the supply rail, the op-amp saturates, the magic ceases and the almost ideal active circuit becomes again an imperfect passive one:(. Note that the passive version does not have such a problem; it is always imperfect:)

**Power considerations.** Although the active current-to-voltage converter is a perfect circuit, the popular multimeters do not work that way. In order to measure a current, they use the imperfect passive current-to-voltage converter instead of the almost ideal op-amp current-to-voltage converter. The reason for applying such an old-fashioned approach to current measurements is that all the input current I_{IN} flows through the "helping" voltage source B_{H} in the active version (Fig. 3). Therefore, the source has to be able to endure such a current. Accordingly, in the practical op-amp circuit (Fig. 4), both the power source and the op-amp have to endure the input current measured. For example, if they try to measure a current of 10A (a normal maximum current range in all purpose DVMs), they have to use a car battery as a power supply and a power "op-amp", which is able to dissipate 100W!

*The active (op-amp) current-to-voltage converter is a perfect circuit; however, it is suitable only for low-current applications.*

**Polarities.** Another difference between the two versions is that the op-amp circuit is inverting (maybe, in some cases this is an advantage).

## References[edit]

The op-amp inverting current-to-voltage converter is one of the most popular converting circuits, which exists in almost every electronics book on op-amp circuits. Only, the basic idea behind the famous circuit is and continues remaining undisclosed.

- ↑ Passive current-to-voltage converter is an animated
*Flash*tutorial revealing the philosophy of the passive version. - ↑ Op-amp circuit builder (movie philosophy) is an interactive
*Flash*tutorial that shows how to transform any passive converter into an active one. - ↑ How do we create a virtual ground? reveals the secret of the great circuit phenomenon on which the op-amp inverting voltage-to-current converter is based.
- ↑ Virtual ground scrutinizes the basic phenomenon behind the circuits with parallel negative feedback.

## Related Wikimedia resources[edit]

### Wikibooks[edit]

**Circuit Idea (this book):**

Passive current-to-voltage current converter reveals the basic idea behind the passive version.

Passive voltage-to-current voltage converter reveals the basic idea behind the passive version of the "mirror" circuit.

### Wikipedia[edit]

Current-to-voltage converter introduces the passive and active versions of the circuit.

Virtual ground scrutinizes the basic phenomenon behind the circuits with parallel negative feedback.

## Further reading[edit]

Op-amp inverting summer is an animated tutorial, which uses the op-amp inverting current-to-voltage converter to build the famous op-amp summing circuit.

How I revealed the secret of parallel negative feedback circuits reveals the philosophy of this class of circuits (the op-amp inverting current-to-voltage converter belongs to them).

What's All This Transimpedance Amplifier Stuff, Anyhow? - even famous Bob Pease has not revealed the circuit idea.

**<<< top - contents - passive version - attractive story - page stage >>>**