0
\$\begingroup\$

tia example

In the simplified example, I have a component (here a 10000 ohm resistor) which I am biasing and trying to measure the current through. In my real application, it is a more complicated component. The problem is that changing its resistance should change the current through the resistor, but the output of the TIA isnt reflecting that. How do I rearrange my parts so that the output voltage reflects the current going through the test resistor?

If I put the test resistor in series with the voltage supply it seems to work ok. I just have to make sure that the voltage bias across my test device is what I think it is second try

\$\endgroup\$
5
  • \$\begingroup\$ When you measure current in a component, you need a measuring device that's in series with the component. \$\endgroup\$ Commented Oct 11 at 14:34
  • \$\begingroup\$ I tried putting a load resistor on the output side leading to ground, but that only made things worse haha \$\endgroup\$ Commented Oct 11 at 14:41
  • \$\begingroup\$ Note that this circuit will never function as a feedback circuit, as there's something akin to a short at the negative input terminal, which must somehow be at ground and V4 at the same time if the output is to not saturate. \$\endgroup\$ Commented Oct 11 at 14:48
  • \$\begingroup\$ "I just have to make sure that the voltage bias across my test device is what I think it is." Have you heard about "virtual ground"? \$\endgroup\$ Commented Oct 11 at 14:59
  • \$\begingroup\$ Also, think of the inverting amplifier here as cascaded resistance-to-current converter and current-to-voltage converter. But there is a problem - the former is non-linear... Can you solve it by connecting the test component in the place of Rf? \$\endgroup\$ Commented Oct 11 at 15:30

3 Answers 3

0
\$\begingroup\$

In an inverting voltage amplifier, or a transimpedance amplifier (indeed any amplifier with feedback to the op-amp's inverting input), the op-amp takes control of the potential of its inverting input, and you must not interfere with that. Your first design interferes with that, rather brutally:

schematic

simulate this circuit – Schematic created using CircuitLab

The op-amp wants to adjust its output to whatever potential is necessary to equalise its two inputs P and Q. Since \$V_P=0V\$, it's trying to maintain \$V_Q = V_P = 0V\$. With V4 connected to ground (0V) on one side and Q on the other, it is directly controlling \$V_Q\$, and preventing the op-amp from doing that. What you have built is just a comparator, comparing V4 with 0V, and R1 and Rf are disregarded.

A transimpedance amplifier (TIA) is no different, in that you must not interfere with feedback at Q. This would work:

schematic

simulate this circuit

Since Q is being held at ground potential (0V) by the op-amp, not you, you must not touch it. What's being measured (amplified) here is input current \$I\$:

$$ V_{OUT} = -I \times R_F $$

It measures current \$I\$ into the TIA via the device under test (DUT, R1 here), but you have no access to current coming out of it at Q, since the op-amp needs control of Q's potential. With the op-amp holding Q at 0V, this circuit cannot be used to measure current through a DUT where both ends may have arbitrary potentials. You are constrained to the condition that the DUT's right end (Q) will always be 0V.

\$\endgroup\$
1
\$\begingroup\$

The problem

In the simplified example, I have a component (here a 10000 ohm resistor) which I am biasing and trying to measure the current through.

Your task seems to be reduced to measuring the resistance of the DUT (Device Under Test), or simply put, to create an ohmmeter. Another possibility is that you are asked to measure the IV curve of the DUT, that is, to create a curve tracer. I am not sure which one it is, so I will check out both options.

Basic idea

The relationship between voltage, current, and resistance is given by Ohm's law (I = V/I or V = I.R).

If your task is to make an "ohmmeter", resistance is the input variable. Depending on which variable is the output, we have two ways to solve the problem:

  • Keep the voltage constant and measure the current as a function of the resistance (Iout = Vref/Rin).

  • Keep the current constant and measure the voltage as a function of the resistance (Vout = Iref.Rin).

If you have to make a curve tracer, resistance is a parameter. Depending on which variable is the input and which the output, we have two more ways to solve the problem:

  • Keep the resistance constant and measure the current as a function of the voltage (Iout = Vin/Rdut).

  • Keep the resistance constant and measure the voltage as a function of the current (Vout = Iin.Rdut).

All these conversions can be implemented by an inverting amplifier topology. At its core, this configuration comprises two devices in series (cascaded): a voltage/resistance-to-current converter (R1) followed by a current/resistance-to-voltage converter (R2). The operational amplifier serves the crucial role of establishing ideal operating conditions, specifically a virtual ground at the junction between the two converters.

schematic

simulate this circuit – Schematic created using CircuitLab

The circuit solutions that implement these ideas are simple and straightforward, but there is a lot of underlying philosophy worth exploring. The best way to do this is to build and examine them step by step using simulations.

Resistance-to-current conversion

Passive resistance-to-current converter

If I put the test resistor in series with the voltage supply it seems to work ok.

This is essentially the simplest 19th-century Ohmic circuit, where we apply a constant voltage Vref across a variable resistor Rin and measure the current Iout flowing through it. Metaphorically speaking, in this way the resistance is as if "converted" into current.

schematic

simulate this circuit

By DC sweeping the IV characteristic of this converter (resistor) through a CircuitLab DC Sweep simulation, we see that it is highly nonlinear (hyperbolic), which is undesirable.

STEP 1.1

Adding an output current-to-voltage converter

However, we want voltage, not current. That is why, we connect another resistor R in series and take the voltage drop across it as an output voltage Vout.

schematic

simulate this circuit

Now, another problem arises - the voltage drop across the resistor R is subtracted from the input voltage (resistance R is added to Rin) and the current, accordingly the output voltage, decreases.

STEP 1.2

Adding a compensating voltage source...

But we are inventive enough to find a remedy - we connect another but negative voltage source Vout in series so that its voltage compensates for the VR drop (travelling the loop, it is added to the input voltage and thus it supports the input source). The result is amazing - the old output voltage becomes zero and the current depends only on Vref and Rin. We use the compensating voltage as a new (grounded and inverted) output.

schematic

simulate this circuit

The DC sweep graph is a mirror copy of that below Schematic 1.1 above.

STEP 1.3.1

... or equivalent negative resistance

Figuratively speaking, the compensating source plays the role of a negative resistor with resistance -R which annihilates R.

schematic

simulate this circuit

STEP 1.3.2

Equivalent circuit

The result is the same - a "piece of wire".

schematic

simulate this circuit

Op-amp implementation

In your circuit, an op-amp output voltage plays the role of the compensating voltage (the circuit is actually an inverting amplifier).

schematic

simulate this circuit

STEP 1.3.4

Resistance-to-voltage conversion

Passive resistance-to-voltage converter

With the same success, we can pass a constant current Iref through the variable resistor Rin and measure the voltage Vout across it. Now we can say that the resistance is "converted" into voltage.

schematic

simulate this circuit

A pleasant surprise is that the voltage depends linearly on the resistance.

STEP 2.1

Adding an input voltage-to-current converter

We can make the reference current source with a reference voltage source Vref and a constant resistor R.

schematic

simulate this circuit

However, the variable resistor Rin disturbs the operation of this simple current source as R in Schematic 1.2 above.

STEP 2.2

Adding a compensating voltage source...

The remedy is the same - we connect another voltage source Vout in series to Rin so that its voltage compensates for the VRin drop. The result is the same - the old output voltage becomes zero and the current depends only on Vref and R. The compensating voltage serves as a new (grounded and inverted) output.

schematic

simulate this circuit

The output voltage is linear and inverted.

STEP 2.3

Equivalent circuit

As a result, the right part of the circuit behaves as a short connection.

schematic

simulate this circuit

Op-amp implementation

It is the same as Schematic 1.4 but with swapped resistors (the circuit is actually an inverting amplifier). A disadvantage is that Rin is not grounded.

schematic

simulate this circuit

The output voltage is linear and inverted.

STEP 2.4

Voltage-to-current conversion

If your task us to measure the IV curve of a DUT, then you have to vary the voltage across or the current through it and to measure the current through or the voltage across it.

Linear V-to-I DUT

If the DUT is linear (resistor), it can replace either R1 or R2 in the inverting amplifier configuration. Let's first put it in for R1 here.

schematic

simulate this circuit

The IV curve is linear (Ohm's law).

STEP 3.1

Non-linear V-to-I DUT

However, if the DUT is nonlinear, its placement depends on the shape of its I-V curve. If it is current stabilizing, then it should replace R1; otherwise, a conflict between two current sources will occur. As an example, let's examine the output characteristic of a bipolar transistor or a family of characteristics.

schematic

simulate this circuit

As you can see, the partial curves have an almost horizontal region.

STEP 3.2.1

Current-to-voltage conversion

Linear I-to-V DUT

If the DUT is linear (resistor), it can also replace R2 in the inverting amplifier configuration.

schematic

simulate this circuit

The IV curve is the same as the one under Schematic 3.1.1.

STEP 3.1

Non-linear I-to-V DUT

If the DUT is nonlinear voltage stabilizing, then it should replace R2; otherwise, a conflict between two voltage sources will occur. As an example, let's examine the IV curve of a diode.

schematic

simulate this circuit

Now the curve has an almost vertical part.

STEP 3.2.2

\$\endgroup\$
1
\$\begingroup\$

You somehow mixed everything up in your circuit - so it didn't work.

Take a look at this: R_dut is your device under test, and R_f defines the transimpedance of the amplifier:

enter image description here

Note: the output voltage is inverted.

\$\endgroup\$
2
  • \$\begingroup\$ ok yeah, it sounds like the trick is to put the dut in series with the bias voltage \$\endgroup\$ Commented Oct 11 at 16:57
  • \$\begingroup\$ I think you mean “everything” instead of “anything”??? \$\endgroup\$
    – Ste Kulov
    Commented Oct 12 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.