Well, again
For checking your understanding please do the following exercises:
which underpins current sensing, photodiode readout, and controlled current sources.
In various applications, currents must be measured. In an electric motor, for example, the torque is caused by the current flowing through the motor. A motor control and a simple overcurrent shutdown are based on the knowledge of the current. For further processing, a voltage must be generated from the current. The simplest current-to-voltage converter is the ohmic resistor. A sufficiently large voltage as required by a microcontroller, for example, cannot be achieved with this. So not only does the current have to be converted, but also the generated potential difference has to be amplified.
One such current sense amplifier is the INA 240 device. This is installed as shown below. In the simulation, a real current source feeds the electrotechnical image of a DC motor on the left (in the example: inductance with $L_{\rm L}=10~\rm mH$ and internal resistance $R_{\rm L}=1~\Omega$). The current flowing from the motor is conducted through a measuring resistor ($R_{~\rm M}=0.01~\Omega$) which is noticeably smaller than the internal resistance of the motor. Thus, most of the power acts in the motor and the current is only marginally affected by the sense resistor. The simulation above shows the inner workings of the current measuring amplifier.
The following explains ways in which such circuits can be understood.
In the Block21 it was described that an amplifier with high open-loop gain can be „tamed“ by feeding back a part of the output signal with a negative sign.
In the simplest case, the output signal could be fed directly to the negative input of the operational amplifier. The input signal $U_\rm I$ of the entire circuit is applied to the positive input. In Abbildung 1 this circuit is shown.
Using this circuit, the procedure for solving amplifier circuits is now to be illustrated.
The calculation is done here once in detail (clicking on the arrow to the right „►“ leads to the next step, alternative representation):
So the voltage gain is $A_\rm V = 1$. This would also have been seen in chapter Block21. There it was derived that for $A_\rm D \rightarrow \infty$ the voltage gain just results from $k$: $A_{\rm V}=\frac{1}{k}$.
Since the entire output voltage is fed back here, $k=1$ and thus also $A_\rm V=1$.
The output voltage $U_\rm O$ is therefore equal to the input voltage $U_\rm I$. This is where the name „voltage follower“ comes from. Now one could assume, that this amplifier is of little help because also a direct connection would deliver $U_{\rm O}=U_{\rm I}$.
But the important thing here is: because of the operational amplifier, there is no feedback from U_O to U_I.
This means, that a resistor on the output side will not load the input side. In the simulation, the „Resistance“ slider (on the right) can be used to change the load resistance. This changes the current flow, but not the voltage.
This behavior can also be explained in another way: The input signal usually comes from a voltage source, which can only produce low currents.
That means the input signals are high impedance ($\text{high impedance}=\frac{\text{voltage}}{\text{low current}}$).
However, a load of arbitrary impedance can be applied to the output. That is, to keep the output signal constant, a large current must be provided depending on the load.
As the output resistance of the amplifier approaches 0, the signal is low impedance ($\text{low impedance}=\frac{\text{voltage}}{\text{(likely) large current}}$). This is where the second name of the circuit „impedance converter“ comes from.
To solve tasks, the following procedure helps:
So far, the entire output voltage has been negative-feedback. Now only a part of the voltage is to be fed back.
To do this, the output voltage can be reduced using a voltage divider $R_1+R_2$. The circuit for this can be seen in Abbildung 2.
By considering the feedback, the result can be quickly derived here as well: only $\frac{R_2}{R_1+R_2}\cdot U_{\rm O}$ is fed back from the output voltage $U_{\rm O}$.
So the feedback factor is $k=\frac{R_2}{R_1+R_2}$ and thus the voltage gain becomes $A_{\rm V}=\frac{R_1+R_2}{R_2}$.
This „trick“ via $A_{\rm V}=\frac{1}{k}$ is no longer possible for some of the following circuits. Accordingly, a possible solution via network analysis is to be derived here as well.
| Step | Description | Implementation |
|---|---|---|
| 1 | What is wanted? | $A_{\rm V} = \frac{U_{\rm O}}{U_{\rm I}}=?$ |
| 2 | Counting the variables $\rightarrow$ Number of equations needed | 5 voltages + 5 currents $\rightarrow$ Number of equations needed: 10 |
| 3 | Setting up the equations | (1) Basic equation: $U_{\rm O} = A_{\rm D} \cdot U_{\rm D}$
Golden rules: $R_\rm D \rightarrow \infty$ so that (2+3) $I_\rm p \rightarrow 0$ and $I_\rm m \rightarrow 0$ $R_{\rm O} = 0$ $A_\rm D \rightarrow \infty$ (see ) (4) Loop I: $-U_{\rm I} + U_{\rm D} + U_2 = 0$
(5) Loop II: $-U_2 -U_1 + U_{\rm O} = 0$ (6) Node I: $I_{\rm o} = I_1$ (7) Node II / voltage divider: $I_1 - I_2 - I_\rm m = 0$
(8) Resistor $R_1= \frac{U_1}{I_1}$ (9) Resistor $R_2= \frac{U_2}{I_2}$ |
The calculation is done here again in detail (clicking the right arrow „►“ leads to the next step, alternative representation):
So the voltage gain of the non-inverting amplifier is $A_{\rm V}=\frac{R_1+R_2}{R_2}$ or $A_{\rm V}=1+\frac{R_1}{R_2}$. Thus, the numerical value $A_{\rm V}$ can only become larger than 1.
This is shown again in the simulation. In real circuits, the resistors $R_1$ and $R_2$ will be in the range between a few $100 ~\Omega$ and a few $\rm M\Omega$.
If the sum of the resistors is too small, the operational amplifier will be heavily loaded. However, the output current must not exceed the maximum current.
If the sum of the resistors is too large, the current $I_1 = I_2$ can come into the range of the current $I_\rm m$, which is present in the real operational amplifier.
The input and output resistance of the entire circuit should also be considered here.
Both resistors are marked here with a superscript 0 to distinguish them from the input and output resistance of the operational amplifier.
The input resistance $R_{\rm I}^0$ is given by $R_{\rm I}^0=\frac{U_\rm I}{I_\rm I}$ with $I_{\rm I}=I_\rm p$. Thus, for the ideal operational amplifier, it is also true that the input resistance $R_{\rm I}^0=\frac{U_\rm I}{I_\rm p} \rightarrow \infty$ becomes when $I_\rm p \rightarrow 0$.
In the real case it is important in how far the total input resistance depends on the input resistance of the operational amplifier $R_{\rm I}^0(R_\rm D)$.
This can be derived as follows: (clicking on the right arrow „►“ leads to the next step, alternative representation):
So it can be assumed simplistically, that the input resistance of the whole circuit is many times higher than the input resistance of the operational amplifier.
The output resistance $R_\rm O^0$ of the whole circuit with real operational amplifiers shall only be sketched: In this case, the output resistance $R_\rm O$ of the operational amplifier is in parallel with $R_1 + R_2$. Thus the output resistance $R_\rm O^0$ will be somewhat smaller than $R_\rm O$.
For the non-inverting amplifier, the following holds:
The circuit of the inverting amplifier can be derived from that of the non-inverting amplifier (see Abbildung 4).
To do this, first consider the noninverting amplifier as a system with 3 connections (or as a voltage divider): $U_\rm I$, $\rm GND$, and $U_\rm O$.
These terminals can be rearranged - while keeping the output terminal $U_\rm O$.
Thus, the voltage divider $R_1 + R_2$ is no longer between $U_\rm O$ and $\rm GND$, but between $U_\rm O$ and $U_\rm O$, see Abbildung 3.
In this circuit, the resistor $R_2$ is also called the negative feedback resistor.
Abb. 4: Converting non-inverting amplifier to inverting amplifier. \\
$U_\rm E$ is the input voltage (Eingangsspannung), $U_\rm A$ is the output voltage (Ausgangspannung).
Before the voltage gain is determined, the node $\rm K1$ in Abbildung 3 is to be considered first. This is just larger than the ground potential by the voltage $U_\rm D$; thus, it lies on the potential difference $U_\rm D$. For a feedback amplifier with finite voltage supply, $U_\rm O$ can only be finite, and thus $U_{\rm D}= U_{\rm O} / A_{\rm D} \rightarrow 0$, since $A_D \rightarrow \infty$ holds. Thus, it can be seen that the node $\rm K1$ is always at ground potential in the ideal operational amplifier. This property is called virtual ground because there is no direct short to ground. The op-amp regulates its output voltage $U_\rm O$ in such a way that the voltage divider sets a potential of $0~\rm V$ at node $\rm K1$. This can also be seen in the simulation by the voltage curve at $\rm K1$.
The following diagram shows again the interactive simulation.
$R_{\rm 1}$ and $R_{\rm 2}$ can be manipulated by the sliders. Hit Run / STOP to run
For the ideal feedback amplifier, $U_\rm D \rightarrow 0$ holds. This means that the same voltage is always present at both inputs.
If one of the two voltages is fixed, for example by connecting ground potential or even by a fixed voltage source, this property is called virtual ground.
For the determination of the voltage gain, the consideration of the feedback $A_{\rm V}=\frac{1}{k}$ seems to be of little use at first. Instead, however, the determination via network analysis is possible. Abbildung 3 shows a possible variant to choose the loops for this purpose. However, network analysis is not to be done here, but is given in Exercise 3.5.1 below.
Instead, two other ways of derivation will be shown here to bring further approaches closer. For the first derivation, the voltage divider $\boldsymbol{R_1 + R_2}$ is considered. For the unloaded voltage divider, the general rule is:
\begin{align*} U_2 = U_{12} \cdot \frac{R_2}{R_1 + R_2} \end{align*}
This equation is now to be adapted for concrete use. First Abbildung 3, the voltages of the voltage divider can be read as given in Abbildung 5. From this, using the general voltage divider formula:
\begin{align*} U_2 = ( U_I - U_O ) \cdot \frac{R_2}{R_1 + R_2} \end{align*}
With the virtual mass at node $\rm K1$ in Abbildung 5, it holds that $U_2$ points away from the (virtual) mass and thus $U_2 = U_\rm O$. Similarly, $U_{\rm I} = U_1$ holds. Thus it follows:
\begin{align*} - U_{\rm O} = ( U_{\rm I} - U_{\rm O} ) \cdot \frac{R_2}{R_1 + R_2} \end{align*}
And from that:
\begin{align*} - U_O &= U_I \cdot \frac{R_2}{R_1 + R_2} - U_O \cdot \frac{R_2}{R_1 + R_2} \\ - U_O + U_O \cdot \frac{R_2}{R_1 + R_2} &= U_I \cdot \frac{R_2}{R_1 + R_2} \\ U_O \cdot (\frac{R_2}{R_1 + R_2}-1) &= U_I \cdot \frac{R_2}{R_1 + R_2} \\ \frac{U_O}{U_I} &= \frac{\frac{R_2}{R_1 + R_2}}{\frac{R_2}{R_1 + R_2}-1} \\ \frac{U_O}{U_I} &= \frac{R_2}{R_2 - (R_1 + R_2)} = \frac{R_2}{-R_1} \\ \\ \boxed{ A_V = - \frac{R_2}{R_1}} \end{align*}
For the second derivation, the current flow through the resistors $R_1$ and $R_2$ of the unloaded voltage divider is to be considered. These two currents $I_1$ and $I_2$ are just equal. Thus:
\begin{align*} I_\boxed{}=\frac{U_\boxed{}}{R_\boxed{}}=const. \quad \text{with} \: \boxed{}=\{1,2\} \end{align*}
respectively
\begin{align*} \frac{U_1}{R_1}=\frac{U_2}{R_2} \end{align*}
This can also be converted into a „seesaw“ or mechanical analog via similar triangles (see Similarity_(geometry)). In the mechanical analog, the potentials are given by height.
As in the electrical case with the ground potential, a height reference plane must be chosen in the mechanical picture.
The electric currents correspond to forces (i.e., a momentum flux) - but the consideration of forces is not necessary here. 1).
Now, if a certain height (voltage $U_\rm I$) is set, a certain height on the right side (voltage $U_\rm O$) is obtained via the force arm (resistor $R_1$) and load arm (resistor $R_2$). This is shown in Abbildung 6 above.
In the figure, all points marked in red () can be manipulated. Accordingly, the input voltage $U_{\rm I} = U_{\rm in}$ is adjustable and automatically results in a voltage $U_{\rm O}=U_{\rm out}$. In the circuit (figure below), the resistors $R_1$ and $R_2$ can be changed.
The input resistance of the entire circuit $R_{\rm I}^0=\frac{U_{\rm I}}{I_{\rm I}}$ is easily obtained by considering the input side: since $\rm K1$ is at $0 ~\rm V$, $U_1 = U_\rm I$.
The complete current flowing into the input passes through resistor $R_1$. So, it is then true that the input resistance is $R_{\rm I} = R_1$.
At the output resistance of the whole circuit $R_{\rm O}^0$, there is again a parallel connection between the output resistance of the operational amplifier $R_\rm O$ and the resistor $R_2$.
So, the output resistance will be slightly smaller than the output resistance of the operational amplifier $R_\rm O$.
In the case of the inverting amplifier:
From the inverting amplifier another circuit can be derived, which can be seen in Abbildung 7. Here, both the green part of the circuit and the purple part correspond to an inverting amplifier.
How can $U_\rm O$ be calculated in this circuit? To do this, it is first important to understand what is being sought. The goal is to find the relationship between output and input signals: $U_{\rm O}(U_{\rm I1}, U_{\rm I2})$. Different ways to get there, were explained in Block07 and Block08. Here we will outline a different way.
In the case of a circuit with several sources, superposition is a suitable method, in particular the superposition of the effect of all sources in the circuit. For superposition, it must be ensured that the system behaves linearly. The circuit consists of ohmic resistors and the operational amplifier. These two components give twice the output value when the input value is doubled - they behave linearly. For superposition, the effect of the two visible voltage sources $U_{\rm I1}$ and $U_{\rm I2}$ must be analyzed in the present circuit.
In case 1 the voltage source $U_{\rm I1}$ must be considered - the voltage source $U_{\rm I2}$ must be short-circuited for this purpose. The equivalent circuit formed corresponds to an inverting amplifier across $R_2$ and $R_0$. However, there is an additional resistor $R_1$ between the inputs of the operational amplifier. What is the influence of this resistor? The differential voltage $U_\rm D$ between the inputs of the operational amplifier approaches 0. Thus, the following also applies to the current through $R_1$: $I_{1(1)} \rightarrow 0$. Thus the circuit in case 1 is exactly an inverting amplifier. For case 1, $A_{V(1)} = \frac{U_{O(1)}}{U_{\rm I1}} = - \frac{R_0}{R_1}$ and thus: $U_{O(1)}= - \frac{R_0}{R_1} \cdot U_{\rm I1}$.
Using the same procedure, case 2 for considering the voltage source $U_2$ gives: $U_{\rm O(2)}= - \frac{R_0}{R_2} \cdot U_{\rm I2}$.
In superposition, the effect results from the addition of partial effects:
$\boxed{U_{\rm O} = \sum_i U_{\rm O(i)} = - (\frac{R_0}{R_2} \cdot U_{I2} + \frac{R_0}{R_1} \cdot U_{I1})}$.
Also, considering the node set for $\rm K1$ in Abbildung 7 gives the same result.
The Inverting Summing Amplifier (also called: Summing Amplifier or Voltage Adder) can be extended to any number of inputs.
The simulation above shows the superposition of several inputs. Depending on the resistances at the different inputs, a different current flows into the circuit.
This circuit was used in analog audio mixers. This allows a combination of several signals with different gains (by the input resistors $R_i$ with $i=1, ..., n$). Furthermore, the overall gain can be changed by $R_0$. A big advantage of this circuit is also that the summation at node $\rm K1$ is done on potential $U_\rm D$. This means that capacitive interference concerning the ground potential (and therefore the case) is virtually non-existent.
A very similar concept allows the construction of a Digital-Analog Converter, DAC.
In addition to the (reverse) adder, there is also a circuit for subtracting two input values. This circuit became the core of the introductory example. But also in the simulation below this circuit is shown in another example: In this case, a differential input signal is shown on the left. Differential means that the signal on one line is , not transmitted concerning a reference voltage (usually ground potential) on a second line. Instead, the signal is transmitted to both lines in opposite directions. If a disturbance acts equally on both lines (which is often the case when lines are close to each other), the effect of the disturbance can be eliminated by forming the difference.
How can the relationship $U_{\rm O}(U_{\rm I1}, U_{\rm I2})$ between output and input signals be determined for this circuit?
Again, various network analysis concepts could be used to look at the circuit (e.g. superposition or mesh and node sets). Again, another possibility is to split the circuit as color-coded in the Abbildung 8.
The green part shows a voltage divider $R2 + R4$. Since the input resistance of the operational amplifier is very large, this voltage divider is unloaded. The voltage at node $\rm K2$ or at the noninverting input $U_\rm p$ is just given by the voltage divider: $U_{\rm p} = U_{\rm I2}\cdot \frac{R_4}{R_2 + R_4}$.
The violet part corresponds to an inverting amplifier, but the voltage at the node $\rm K1$ or at the inverting input $U_\rm m$ is just equal to $U_\rm p$ due to the feedback, since $U_\rm D \rightarrow \infty$. Thus, the current flowing into node $\rm K1$ via $R_1$ results from $I_1=\frac{U_{\rm I1} - U_\rm p}{R_1}$. The output voltage is given by $U_{\rm O} = U_{\rm p} - U_3$, where the voltage $U_3$ is given by the resistance $R_3$ and the current through $R_3$. The current through $R_3$ is just the same as the current through $R_1$, i.e. $I_1$.
The result is:
$ U_{\rm O} = U_{\rm I2}\cdot \frac{R_4}{R_2 + R_4} - R_3 \cdot \frac{U_{\rm I1} - U_{\rm p}}{R_1} $
$ U_{\rm O}= U_{\rm I2}\cdot \frac{R_4}{R_2 + R_4} - U_{\rm I1} \cdot \frac{R_3}{R_1} + U_{\rm I2} \cdot (\frac{R_3}{R_1}\cdot \frac{R_4}{R_2 + R_4})$
$\boxed{U_{\rm O}= U_{\rm I2}\cdot \frac{R_4}{R_2 + R_4} \frac{R_1 + R_3}{R_1} - U_{\rm I1} \cdot \frac{R_3}{R_1}}$
Two simplifications should be considered here:
The animation shows how the 2nd case would result in similar triangles. The connection of the two „seesaws“ at the point $\rm K_1 K_2$ is caused by the operational amplifier, through which the voltage $U_\rm p$ and $U_\rm m$ converge to $U_\rm D \rightarrow 0$.
A big advantage of this circuit is that even very large voltages can be used as input voltage, if $R_1 \gg R_3$ and $R_2 \gg R_4$ are chosen. This would divide the input voltages down and display a fraction of the difference as the result. The main drawback of the circuit is that the gain/attenuation depends on more than one resistor. This makes a quick choice of gain difficult.
In Abbildung 1 one can see the circuit of a current-voltage converter. The current-to-voltage converter changes its output voltage based on an input current. This circuit is also called a transimpedance amplifier because here the transfer resistance - that is, the trans-impedance - represents the gain. Generally, the gain was expressed as $$A={ {\rm output} \over {\rm input} }$$.
In the case of the current-to-voltage converter, the gain is defined as:
$$R = {{U_{\rm out}} \over I_{\rm in}} ={{U_{\rm o}} \over I_{\rm I}} = - R_1$$
$R_1$ is the resistor used in the circuit.
In the simulation, the slider on the right („Current of current source“) can be varied. This changes the input current and thus the output voltage.
This circuit can be used, for example, to read a photodiode in volt-free circuit (further explanation and integrated circuit tsl250r.pdf).
Next, consider the voltage-to-current converter. With this, an output current is set proportional to an input voltage.
Here, the general gain $$A={ {\rm output} \over {\rm input} }$$ to
$$S = {{I_{\rm out}} \over U_{\rm in}} = {{I_{\rm o}} \over U_{\rm I}}$$
The quantity $S$ is called the transfer conductance.
This circuit can be used, for example, to generate a voltage-regulated current source.
In practical applications, often specialized amplifiers, called Operational Transconductance Amplifier (transconductance from transmission conductance), are used.
Often in applications an analog signal is too small to process (e.g. to digitalize it afterward).
To amplify it an OpAmp can be used. However, for a wide input range, it might be beneficial to have an adjustable scale.
This can be done with a simple non-inverting amplifier combined with a resistor network as seen in the next simulation.
In this case, a so-called single-ended input is used. This means the input voltage is always referred to the ground.
When the signal is not referred to the ground, the following circuit based on an instrumentation amplifier can be used.
In this case, the input signal is differential. Referred to the ground the input signal (here the difference of $5 ~\rm mV$) can have an offset voltage with regard to the ground.
An example of this setup is the INA 351.
1. Derive the voltage gain $A_{\rm V}= {{U_{\rm O}}\over{U_{\rm I}}}$ for the inverting amplifier.
Use the procedure that was used for the non-inverting amplifier.
Take into account that for the differential gain $A_\rm D$ of the ideal OPV applies: $A_\rm D \rightarrow \infty$. And the following also applies: $1/A_\rm D \rightarrow 0$
But the following doesn't always apply: ${{C}\over{U_x \cdot A_\rm D}} \rightarrow 0$, for an unknown constant $C$ and a voltage $U_x$!
2. Which type of amplifier circuit (inverting or non-inverting amplifier) has the lower input resistance? Why?
Below you will find circuits with an ideal operational amplifier, which are similar to the non-inverting amplifier and whose voltage gain $A_V$ must be determined.
Assumptions
Exercises
To approach the problems, you should try to use the knowledge from the inverting amplifier. It can be useful to simulate the circuits via Falstad-Circuit or Tina TI. In the first two circuits, tips can be seen under the illustration as support.
Important: As always in your studies, you should try to generalize the knowledge gained from the task.
Abb. 1
Abb. 2
Fig. 2
Abb. 3
Abb. 4
Fig. 4
Abb. 5
Abb. 6
Fig. 6
Abb. 7
Abb. 8
Fig. 8
Abb. 9
You work in the company „HHN Mechatronics & Robotics“ and are supposed to generate a bipolar signal ($-10 ~\rm V ... + 10 ~\rm V$) from a unipolar signal of a digital-to-analog converter ($0 ... 5 ~\rm V$) in a project. A colleague recommended the circuit shown on the right.
In order to get a constant (lower) voltage from a higher voltage input or a source with a broader spread of the voltage (e.g. a battery) often linear regulators are used. One example could be to get $5 ~\rm V$ from the car battery voltage (between $11 ~\rm V...14 ~\rm V$) for a microcontroller in a control unit e.g. the brake control unit. Linear regulator here means that a transistor as a variable resistor is used to drop the unwanted voltage.
Below, two types of such linear regulators are shown
Tasks
A voltage follower is built with an ideal op-amp.
The input is a voltage source $U_{\rm I}=2.0~\rm V$ with internal resistance $R_{\rm S}=10~\rm k\Omega$.
The output drives a load resistor $R_{\rm L}$ which is varied between $100~\Omega$ and $100~\rm k\Omega$.
A non-inverting amplifier should have a voltage gain of $A_{\rm V}=11$.
An inverting amplifier is built with $R_1=2.2~\rm k\Omega$ and $R_2=22~\rm k\Omega$. The non-inverting input is connected to ground.
An inverting summing amplifier has $R_0=10~\rm k\Omega$, $R_1=10~\rm k\Omega$, and $R_2=20~\rm k\Omega$. Two inputs are applied: $U_{\rm I1}=+1.0~\rm V$ and $U_{\rm I2}=-0.5~\rm V$.
A photodiode is modeled as an ideal current source delivering $I_{\rm I}$ into a transimpedance amplifier.
The feedback resistor is $R_1=220~\rm k\Omega$ and the non-inverting input is grounded.
A voltage-to-current converter should generate an output current proportional to an input voltage, with transfer conductance \[ S=2.0~\rm mA/V. \] Assume the circuit uses a single resistor $R$ to set the current (ideal op-amp behavior), such that approximately $I_{\rm O}\approx \frac{U_{\rm I}}{R}$.
Non-inverting operation amplifier circuit