4 Basic Circuits II
 Also recommended for basic circuits II is the https://www.ablic.com/en/semicon/products/analog/opamp/intro/
 Operational Amplifiers (Johan Huijsing) [viewable via the university network]
Introductory Example
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 currenttovoltage 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.
Objectives for Basic Circuits II
After this lesson, you should:
 Be able to apply the superposition method to operational amplifier circuits.
 Know how differential amplifiers and instrumentation amplifiers differ (circuit, applications, advantages, and disadvantages).
 Know what the circuit and transfer function of a voltagetocurrent converter and currenttovoltage converter look like.
 Be able to name applications for the summing inverter, voltagetocurrent converter, and currenttovoltage converter.
4.1 Inverting Summing Amplifier
From the inverting amplifier another circuit can be derived, which can be seen in Abbildung 1. 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 (compare steps to the goal). 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 Electrical engineering 1: Network analysis. 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 shortcircuited 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 1 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 nonexistent.
A very similar concept allows the construction of a DigitalAnalog Converter, DAC.
Exercise 4.1.1 Transfer exercise  signals and systems
 Which mathematical function seems to be visible from the superposition of sinusoidal signals, when these sinusoidal signals double the frequency and halve the amplitude?
(This is the output of the simulation above..)  Which mathematical function seems to be visible in the simulation, when the voltage sources with $80 ~\rm Hz$ and $160 ~\rm Hz$ are removed?
4.2 Differential Amplifier / Subtractor
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 colorcoded in the Abbildung 2.
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:
 If $R_1 = R_2$ and $R_3 = R_4$ are chosen, the equation further simplifies to:
$\boxed{U_{\rm O} = U_{\rm I2}\cdot \frac{R_3}{R_1}  U_{\rm I1} \cdot \frac{R_3}{R_1} = \frac{R_3}{R_1}\cdot(U_{\rm I2}U_{\rm I1})}$.
This variant can be found in various measurement circuits.
 Alternatively, if $R_1 = R_3$ and $R_2 = R_4$ is chosen, the result is:
$\boxed{U_{\rm O}= U_{\rm I2}U_{\rm I1}}$
This would also result in case 1. if $R_1 = R_2 = R_3 = R_4$ is chosen.
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.
4.3 Instrumentation Amplifier
This type of amplifier shall be analyzed in the following exercise.
An example of a pure instrumentation amplifier is the components ina818.pdf.
Often instrumentation amplifiers are used in programmable gain amplifiers (PGA). PGAs allow the manipulation of the amplification factor by a digital interface.
Exercise 4.3.1 Instrumentation amplifier
Find out how the instrumentation amplifier works through internet research.
 Consider the illustrated Falstad Simulation below. What happens when you change the value of the variable resistance?
Analyze especially the minimum and maximum value of the output voltage.
In order to do so, you can start/stop the simulation with theRun/STOP
button and read the output voltage by moving the mouse pointer over the output signal in the voltagetime diagram.  What happens if you remove the variable resistance and leave the connections open? Which circuit has the OPVs at the entrance?
 Compare the following situations. What is to be determined?
 Variable resistance is replaced by resistance with $2 ~\rm k\Omega$.
 Variable resistance is replaced at the top connection by $1 ~\rm k\Omega$ to mass and lower connection by $1 ~\rm k\Omega$ to mass.
 Variable resistance is replaced at the top connection by $1 ~\rm k\Omega$ to a voltage source with $1 ~\rm V$ and the lower connection also by another $1 ~\rm k\Omega$ to $1 ~\rm V$.
 Which transfer equation $U_{\rm A}=F(U_2, U_1, R_{\rm G}, R)$ does the initial circuit have, when all resistances (except the variable resistance $R_\rm G$) have the same value $R$?
 What are the advantages of the instrumentation amplifier to the differential amplifier?
4.4 CurrentVoltageConverter
In Abbildung 5 one can see the circuit of a currentvoltage converter. The currenttovoltage 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 transimpedance  represents the gain. Generally, the gain was expressed as $$A={ {\rm output} \over {\rm input} }$$.
In the case of the currenttovoltage 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 voltfree circuit (further explanation and integrated circuit tsl250r.pdf).
4.5 VoltagetoCurrent Converter
Next, consider the voltagetocurrent 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 voltageregulated current source.
In practical applications, often specialized amplifiers, called Operational Transconductance Amplifier (transconductance from transmission conductance), are used.
Applications
Programmable Gain Amplifier
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 noninverting amplifier combined with a resistor network as seen in the next simulation.
In this case, a socalled singleended 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.
Exercises
Übungsblatt 6
Bitte laden Sie das aufgefüllte PDF in ILIAS hoch.
Details, Tipps und Tools zum Ausfüllen und Einfügen von Bildern finden Sie unter:
Tools für Lehr/LernVeranstaltungen
Name  Vorname  Matrikelnummer 

$\quad\quad\quad\quad\quad\quad\quad\quad$  $\quad\quad\quad\quad\quad\quad\quad\quad$  $\quad\quad\quad\quad\quad\quad\quad\quad$ 

Exercise 4.2.1 Determination of the transmission behavior of the differential amplifier
In the following, the transfer function of the differential amplifier is to be calculated. To do this, you should follow a few steps.
 Derive the function $U_{\rm O} = f(U_{\rm I1}, U_{\rm I2})$ using superposition.
 To do this, first draw an equivalent circuit in each case.
 Briefly describe the resulting circuit. Which amplification circuit results in each case?
 Then calculate the voltages $U_{\rm O1}$ and $U_{\rm O2}$, and from them $U_\rm O$.
 Determine the function $U_{\rm O} = f(U_{\rm I1}, U_{\rm I2})$ or the resistance values of the circuit shown.
Exercise 4.4.1 Transmission resistance of the currentvoltage converter
Derive the gain for the currentvoltage converter, i.e. the transmission resistance. Use the procedure that we used for the other amplifiers.
 Draw a circuit with the relevant voltages, currents, resistances, and the operational amplifier
 What are you looking for?
 What is the number of variables
 What is the number of equations required?
 Establishing the known equations.
 Derivation of the transmission resistance.
Exercise 4.5.1 Transfer Conductance of the voltagecurrent converter
Derive the „amplification“ for the voltagetocurrent converter, i.e. the transfer conductance. Use the same procedure that we used for the other amplifiers.
 Draw a circuit with the relevant voltages, currents, resistances, and the operational amplifier.
 What are you looking for?
 What is the number of variables?
 What is the number of necessary equations?
 Establishing the known equations.
 Derivation of the transfer conductance.
Exercise 4.5.2 Earthrelated load
If the voltagecurrent converter is used as a current source, it must be ensured that the load has no contact with the ground.
 Draw the voltagetocurrent transformer with a load that is in contact with the ground.
 Why is in this case the slope derived above no longer valid as an amplification factor?
 Will the output current be higher or lower in this case?
Further Reading
Learning Questions
 State applications for the reverse adder.
 Explain the working of a currenttovoltage converter.
 Name 3 applications for an operational amplifier.