Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| electrical_engineering_and_electronics_1:block22 [2025/12/13 22:26] – mexleadmin | electrical_engineering_and_electronics_1:block22 [2025/12/14 23:36] (aktuell) – mexleadmin | ||
|---|---|---|---|
| Zeile 4: | Zeile 4: | ||
| < | < | ||
| After this 90-minute block, you can | After this 90-minute block, you can | ||
| - | - ... apply the superposition method to operational amplifier | + | |
| - | - ... know the circuit and transfer | + | * apply a systematic equation-based workflow (goal $\rightarrow$ variables $\rightarrow$ equations $\rightarrow$ solving) to derive transfer functions such as $A_{\rm V}=\frac{U_{\rm O}}{U_{\rm I}}$ for basic feedback circuits. |
| - | - ... name applications for the summing inverter, | + | * recognize and use the concept of **virtual ground** (more generally: $U_{\rm D}\rightarrow 0$) at the inverting input in negative-feedback circuits. |
| + | * apply the **superposition method** to linear op-amp | ||
| + | * identify | ||
| + | - the voltage | ||
| + | | ||
| + | - the inverting amplifier ($A_{\rm V}=-\frac{R_2}{R_1}$), | ||
| + | - the inverting summing amplifier ($U_{\rm O}=-\sum_i \frac{R_0}{R_i}U_{{\rm I}i}$), | ||
| + | - the current-to-voltage converter | ||
| + | - the voltage-to-current converter | ||
| + | * name typical applications of these circuits (buffer/ | ||
| </ | </ | ||
| Zeile 19: | Zeile 28: | ||
| ===== 90-minute plan ===== | ===== 90-minute plan ===== | ||
| - | - Warm-up (x min): | + | - Warm-up (10 min): |
| - | - .... | + | - Quick recall: ideal op-amp model and “golden rules” in negative feedback: \\ $I_{\rm p}\approx 0$, $I_{\rm m}\approx 0$, and (with feedback) $U_{\rm D}=U_{\rm p}-U_{\rm m}\rightarrow 0$. |
| - | - Core concepts & derivations (x min): | + | - One-minute concept check: why a voltage follower is useful although $A_{\rm V}=1$ (buffering / impedance conversion). |
| - | - ... | + | - Core concepts & derivations (55 min): |
| - | - Practice (x min): ... | + | - Introductory motivation: current sensing (10 min) |
| - | - Wrap-up (x min): Summary box; common | + | - Why a shunt resistor alone may be insufficient; |
| + | - Link to the idea of “transimpedance” as gain: $R_{\rm T}=\frac{U_{\rm O}}{I_{\rm in}}$. | ||
| + | - Voltage follower (10 min) | ||
| + | - Circuit idea: $U_{\rm O}$ fed back directly to the inverting input. | ||
| + | - Derive $A_{\rm V}=\frac{U_{\rm O}}{U_{\rm I}}=1$ using $U_{\rm D}\rightarrow 0$. | ||
| + | - Interpretation: | ||
| + | |||
| + | - Non-inverting amplifier (10 min) | ||
| + | - Feedback factor from divider: $k=\frac{R_2}{R_1+R_2}$. | ||
| + | - Transfer function: $A_{\rm V}=\frac{1}{k}=1+\frac{R_1}{R_2}$. | ||
| + | - Design notes: practical resistor range, loading, bias currents (qualitative). | ||
| + | |||
| + | - Inverting amplifier + virtual ground (15 min) | ||
| + | - Virtual ground at node $\rm K1$ (inverting input): in ideal feedback $U_{\rm D}\rightarrow 0$, so node is held near ground without a physical short. | ||
| + | - Derive $A_{\rm V}=-\frac{R_2}{R_1}$ (via divider approach or equal currents through $R_1$ and $R_2$). | ||
| + | - Input resistance insight: $R_{\rm I}^0\approx R_1$ (ideal), and output resistance reduced by feedback. | ||
| + | |||
| + | - Superposition with the inverting summing amplifier (10 min) | ||
| + | - Linearity check: resistors + (ideal) op-amp behavior under negative feedback. | ||
| + | - Apply superposition: | ||
| + | - Application link: mixers, weighted sums, DAC concept. | ||
| + | |||
| + | - Practice (20 min): | ||
| + | - Mini-problems (individually → pair check): | ||
| + | - Choose $R_1,R_2$ for a non-inverting amplifier with target gain $A_{\rm V}$. | ||
| + | - Inverting amplifier: given $R_1,R_2$, compute $U_{\rm O}(t)$ for a supplied $U_{\rm I}(t)$; mark phase inversion. | ||
| + | - Summing amplifier: compute $U_{\rm O}$ for two sources; verify via superposition. | ||
| + | - Transimpedance amplifier: compute $U_{\rm O}$ for a given $I_{\rm in}$ and $R_1$; interpret sign. | ||
| + | - Transconductance circuit: given $U_{\rm in}$, estimate $I_{\rm out}$ (qualitative if full derivation is later). | ||
| + | |||
| + | - Wrap-up (5 min): | ||
| + | - Summary box: “Feedback enforces $U_{\rm D}\rightarrow 0$; resistors set the gain.” | ||
| + | - Common | ||
| + | - Outlook: differential amplifier as subtraction / common-mode rejection; application circuits (PGA, instrumentation concepts). | ||
| ===== Conceptual overview ===== | ===== Conceptual overview ===== | ||
| <callout icon=" | <callout icon=" | ||
| - | - ... | + | |
| + | * In the ideal feedback limit ($A_{\rm D}\rightarrow\infty$) we can treat | ||
| + | - $I_{\rm p}=I_{\rm m}=0$ (no input currents), | ||
| + | - $U_{\rm p}\approx U_{\rm m}$ (virtual short between inputs), | ||
| + | - and the output as an ideal voltage source ($R_{\rm O}\approx 0$). | ||
| + | * The voltage follower is the simplest example: $A_{\rm V}=1$ but with a huge practical effect—high input impedance and low output impedance (buffering). | ||
| + | * Resistors in the feedback path set **ratios**, and these ratios define gains: | ||
| + | - non-inverting: | ||
| + | - inverting: $A_{\rm V}=-\frac{R_2}{R_1}$ (with virtual ground at the summing node). | ||
| + | * Multi-source op-amp circuits remain linear, so superposition works: a summing amplifier is just a controlled way of forming weighted sums. | ||
| + | * Negative-feedback op-amp circuits are not only “voltage amplifiers”: | ||
| + | - current $\rightarrow$ voltage (transimpedance, | ||
| + | - voltage $\rightarrow$ current (transconductance, | ||
| + | which underpins current sensing, photodiode readout, and controlled current sources. | ||
| </ | </ | ||
| Zeile 107: | Zeile 163: | ||
| This " | This " | ||
| - | |||
| - | {{page> | ||
| ~~PAGEBREAK~~ ~~CLEARFIX~~ | ~~PAGEBREAK~~ ~~CLEARFIX~~ | ||
| Zeile 260: | Zeile 314: | ||
| From the [[3_opamp_basic_circuits_i# | From the [[3_opamp_basic_circuits_i# | ||
| - | How can $U_\rm O$ be calculated in this circuit? To do this, it is first important to understand what is being sought | + | 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, | 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, | ||
| Zeile 274: | Zeile 328: | ||
| </ | </ | ||
| - | 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. | + | The **Inverting Summing Amplifier** (also called: Summing Amplifier or Voltage Adder) can be extended to any number of inputs. |
| This circuit was used in analog [[https:// | This circuit was used in analog [[https:// | ||
| Zeile 308: | Zeile 362: | ||
| The result is: \\ | The result is: \\ | ||
| $ | $ | ||
| - | $ | + | $ |
| $\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}}$ | $\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}}$ | ||
| Zeile 327: | Zeile 381: | ||
| Two simplifications should be considered here: | Two simplifications should be considered here: | ||
| - | - If $R_1 = R_2$ and $R_3 = R_4$ are chosen, the equation further simplifies to: \\ (nbsp) $\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. \\ \\ | + | - If $R_1 = R_2$ and $R_3 = R_4$ are chosen, the equation further simplifies to: \\ (nbsp) $\boxed{U_{\rm O} = \frac{R_3}{R_1}\cdot(U_{\rm I2}-U_{\rm I1})}$. \\ This variant can be found in various measurement circuits. \\ \\ |
| - Alternatively, | - Alternatively, | ||
| Zeile 335: | Zeile 389: | ||
| ~~PAGEBREAK~~ ~~CLEARFIX~~ | ~~PAGEBREAK~~ ~~CLEARFIX~~ | ||
| - | ===== 4.3 Instrumentation Amplifier ===== | ||
| - | This type of amplifier shall be analyzed in the following exercise. \\ \\ | + | ==== Current-Voltage-Converter ==== |
| - | An example of a pure instrumentation amplifier is the components {{circuit_design: | + | |
| - | + | ||
| - | Often instrumentation amplifiers are used in programmable gain amplifiers (PGA). PGAs allow the manipulation of the amplification factor by a digital interface. | + | |
| - | + | ||
| - | + | ||
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | \\ {{drawio> | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | ~~PAGEBREAK~~ ~~CLEARFIX~~ | + | |
| - | + | ||
| - | {{page> | + | |
| - | + | ||
| - | < | + | |
| - | </ | + | |
| - | + | ||
| - | ~~PAGEBREAK~~ ~~CLEARFIX~~ | + | |
| - | ===== 4.4 Current-Voltage-Converter | + | |
| < | < | ||
| Zeile 412: | Zeile 444: | ||
| ~~PAGEBREAK~~ ~~CLEARFIX~~ | ~~PAGEBREAK~~ ~~CLEARFIX~~ | ||
| - | ==== Application - Programmable Gain Amplifier === | + | ==== Applications ==== |
| + | === Programmable Gain Amplifier === | ||
| Often in applications an analog signal is too small to process (e.g. to digitalize it afterward). \\ | Often in applications an analog signal is too small to process (e.g. to digitalize it afterward). \\ | ||
| Zeile 431: | Zeile 464: | ||
| </ | </ | ||
| + | ~~PAGEBREAK~~ ~~CLEARFIX~~ | ||
| ===== Common pitfalls ===== | ===== Common pitfalls ===== | ||
| - | * ... | + | * Mixing up open-loop and closed-loop gain: |
| + | - open-loop: $U_{\rm O}=A_{\rm D}\,U_{\rm D}$, | ||
| + | - closed-loop: | ||
| + | * Forgetting the conditions for the “golden rules”: $U_{\rm p}\approx U_{\rm m}$ only holds when the op-amp is in negative feedback and not saturated. | ||
| + | * Sign errors: | ||
| + | - inverting amplifier has a minus sign $A_{\rm V}=-\frac{R_2}{R_1}$, | ||
| + | - transimpedance example gives $U_{\rm O}=-R_1 I_{\rm in}$ (direction conventions matter). | ||
| + | * Misusing “virtual ground”: | ||
| + | - the inverting input node can be near $0~\rm V$, but it is **not** physically connected to ground and cannot source/sink arbitrary current. | ||
| + | * Superposition mistakes: | ||
| + | - when “turning off” a voltage source, replace it by a short; when “turning off” a current source, replace it by an open. | ||
| + | - ensure linear operation (no clipping, no saturation). | ||
| + | * Ignoring practical limits: | ||
| + | - too small $R_1+R_2$ loads the op-amp output (current limit), | ||
| + | - too large resistors make bias currents and offsets more visible, | ||
| + | - finite supply rails limit $U_{\rm O}$ and can break the ideal assumptions. | ||
| ===== Exercises ===== | ===== Exercises ===== | ||
| Zeile 439: | Zeile 488: | ||
| {{page> | {{page> | ||
| {{page> | {{page> | ||
| - | {{page> | ||
| {{page> | {{page> | ||
| {{page> | {{page> | ||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | 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$. | ||
| + | |||
| + | - Determine the input current drawn from the source for $R_{\rm L}=100~\Omega$ and for $R_{\rm L}=100~\rm k\Omega$. | ||
| + | - Explain briefly why the load does not “pull down” the source voltage in this circuit. | ||
| + | |||
| + | <button size=" | ||
| + | * The input voltage source sees (ideally) infinite input resistance. | ||
| + | </ | ||
| + | |||
| + | <button size=" | ||
| + | * Input current from the source: $I_{\rm S}\approx 0$ for both load values (ideal model). | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | A non-inverting amplifier should have a voltage gain of $A_{\rm V}=11$. | ||
| + | |||
| + | - Choose resistor values $R_1$ and $R_2$ in the kOhm-range. | ||
| + | - If $U_{\rm I}=0.25~\rm V$, compute $U_{\rm O}$ (ideal op-amp, no saturation). | ||
| + | - What happens to $U_{\rm O}$ if the op-amp supply rails are $\pm 2.5~\rm V$? | ||
| + | |||
| + | <button size=" | ||
| + | * Rearrange $1+\frac{R_1}{R_2}=11$ to a resistor ratio. | ||
| + | * Check the computed $U_{\rm O}$ against the supply rails (clipping). | ||
| + | </ | ||
| + | |||
| + | <button size=" | ||
| + | * One possible choice: $R_2=10~\rm k\Omega$, $R_1=100~\rm k\Omega$. | ||
| + | * Ideal: $U_{\rm O}=11\cdot 0.25~\rm V=2.75~\rm V$. | ||
| + | * With $\pm 2.5~\rm V$ rails: $U_{\rm O}$ clips near $+2.5~\rm V$ (model-dependent headroom). | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | 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. | ||
| + | |||
| + | - Compute the closed-loop gain $A_{\rm V}$. | ||
| + | - For an input $U_{\rm I}(t)=0.30~\rm V~\sin(2\pi\cdot 1\,{\rm kHz}\cdot t)$, determine $U_{\rm O}(t)$. | ||
| + | - State the potential at the inverting input node (the summing node) in the ideal negative-feedback case. | ||
| + | |||
| + | <button size=" | ||
| + | * Use $A_{\rm V}=-\frac{R_2}{R_1}$ for the inverting amplifier. | ||
| + | * Virtual ground means $U_{\rm m}\approx U_{\rm p}=0~\rm V$ (not a physical short). | ||
| + | </ | ||
| + | |||
| + | <button size=" | ||
| + | * $A_{\rm V}=-\frac{22~\rm k\Omega}{2.2~\rm k\Omega}=-10$. | ||
| + | * $U_{\rm O}(t)=-3.0~\rm V~\sin(2\pi\cdot 1\,{\rm kHz}\cdot t)$. | ||
| + | * Summing node potential: approximately $0~\rm V$ (virtual ground). | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | 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$. | ||
| + | |||
| + | - Use superposition to compute $U_{\rm O}$. | ||
| + | - Compute the same result by writing the sum directly as a weighted sum. | ||
| + | - Explain briefly why the resistor between the op-amp inputs carries (ideally) no current. | ||
| + | |||
| + | <button size=" | ||
| + | * For each input alone: treat the circuit as an inverting amplifier with gain $-\frac{R_0}{R_i}$. | ||
| + | * Superposition: | ||
| + | * With feedback: $U_{\rm D}\rightarrow 0$ implies negligible current through a resistor between inputs. | ||
| + | </ | ||
| + | |||
| + | <button size=" | ||
| + | * $U_{\rm O(1)}=-\frac{R_0}{R_1}U_{\rm I1}=-\frac{10}{10}\cdot 1.0~\rm V=-1.0~\rm V$. | ||
| + | * $U_{\rm O(2)}=-\frac{R_0}{R_2}U_{\rm I2}=-\frac{10}{20}\cdot(-0.5~\rm V)=+0.25~\rm V$. | ||
| + | * $U_{\rm O}=U_{\rm O(1)}+U_{\rm O(2)}=-0.75~\rm V$. | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | 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. | ||
| + | |||
| + | - Determine the transfer resistance $R_{\rm T}=\frac{U_{\rm O}}{I_{\rm I}}$. | ||
| + | - Compute $U_{\rm O}$ for $I_{\rm I}=+2.0~\rm \mu A$. | ||
| + | - What sign does $U_{\rm O}$ have for a positive $I_{\rm I}$ (according to the circuit convention)? | ||
| + | |||
| + | <button size=" | ||
| + | * For the current-to-voltage converter in the given convention: $U_{\rm O}=-R_1 I_{\rm I}$. | ||
| + | * Keep units consistent: $\rm \mu A$ and $\rm k\Omega$. | ||
| + | </ | ||
| + | |||
| + | <button size=" | ||
| + | * $R_{\rm T}=\frac{U_{\rm O}}{I_{\rm I}}=-R_1=-220~\rm k\Omega$. | ||
| + | * $U_{\rm O}=-(220~\rm k\Omega)\cdot (2.0~\rm \mu A)=-0.44~\rm V$. | ||
| + | * For $I_{\rm I}>0$: $U_{\rm O}<0$ (with this sign convention). | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | 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}$. | ||
| + | |||
| + | - Determine $R$ for the desired $S$. | ||
| + | - Compute $I_{\rm O}$ for $U_{\rm I}=0.6~\rm V$. | ||
| + | - Briefly name one application of such a circuit. | ||
| + | |||
| + | <button size=" | ||
| + | * If $I_{\rm O}\approx \frac{U_{\rm I}}{R}$, then $S\approx \frac{1}{R}$. | ||
| + | * Convert $2.0~\rm mA/V$ into $\rm A/V$ before inverting. | ||
| + | </ | ||
| + | |||
| + | <button size=" | ||
| + | * $S=2.0~\rm mA/ | ||
| + | * $I_{\rm O}=S\, | ||
| + | * Example application: | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| ===== Embedded resources ===== | ===== Embedded resources ===== | ||