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:block21 [2025/12/13 20:20] – [Bearbeiten - Panel] mexleadmin | electrical_engineering_and_electronics_1:block21 [2025/12/14 22:26] (aktuell) – mexleadmin | ||
|---|---|---|---|
| Zeile 4: | Zeile 4: | ||
| < | < | ||
| After this 90-minute block, you can | After this 90-minute block, you can | ||
| - | * ... | + | * explain what an operational amplifier (op-amp) is **as a black-box voltage amplifier** with two inputs (inverting / non-inverting) and one output. |
| + | * correctly label and use the voltages \(U_{\rm p}\), \(U_{\rm m}\) and the **differential voltage** \(U_{\rm D}\). | ||
| + | * state and apply the **basic equation** of the (idealized) op-amp. | ||
| + | * state and use the **golden rules** (ideal op-amp model) | ||
| + | * distinguish **open-loop gain** \(A_{\rm D}=U_{\rm O}/U_{\rm D}\) from **closed-loop / circuit voltage gain** \(A_{\rm V}=U_{\rm O}/U_{\rm I}\). | ||
| + | * explain what **feedback** is and clearly differentiate **negative feedback** (stabilizing) from **positive feedback** (reinforcing / potentially unstable). | ||
| + | * describe key **non-ideal** limitations of real op-amps at the qualitative level (finite gain, finite input resistance & bias currents, limited output swing and output current, nonzero output resistance). | ||
| + | * explain the difference between **bipolar** and **unipolar** op-amp power supply and what this implies for the possible output voltage range. | ||
| </ | </ | ||
| Zeile 17: | Zeile 24: | ||
| ===== 90-minute plan ===== | ===== 90-minute plan ===== | ||
| - | - Warm-up (x min): | + | - Warm-up (10 min): |
| - | - .... | + | - Hook: audio amplifier clipping example (undistorted vs overdriven waveform/ |
| - | - Core concepts & derivations (x min): | + | - Recall: what does “amplify a voltage” mean? What would an ideal voltage amplifier look like (voltmeter at input, voltage source at output)? |
| - | - ... | + | - Core concepts & derivations (55–60 |
| - | - Practice (x min): ... | + | - Op-amp as a black box + symbols (10–15 min) |
| - | - Wrap-up (x min): Summary box; common | + | - Triangle symbol(s), inverting/ |
| + | - Differential voltage definition \(U_{\rm D}=U_{\rm p}-U_{\rm m}\). | ||
| + | - Ideal op-amp model (15 min) | ||
| + | - Basic equation \(U_{\rm O}=A_{\rm D}U_{\rm D}\). | ||
| + | - Golden rules; interpret each rule physically (input ≈ voltmeter, output ≈ ideal source). | ||
| + | - Real op-amp limits (10–15 min) | ||
| + | - Output saturation (rails / headroom), finite \(A_{\rm D}\), small input currents, limited output current. | ||
| + | - Unipolar vs bipolar supply: output range and operating point. | ||
| + | - Feedback concept (15 min) | ||
| + | - Meaning of feedback; block diagram vs circuit diagram. | ||
| + | - Sign convention: positive vs negative feedback. | ||
| + | - Big idea: with negative feedback and large \(A_{\rm D}\), the **closed-loop gain** becomes mostly set by the feedback network (introduce \(k\) and the result \(A_{\rm V}\approx 1/k\) as the motivating target; details can be finished in later blocks if needed). | ||
| + | - Practice (15–20 | ||
| + | - Quick symbol + sign drills: identify \(U_{\rm p}\), \(U_{\rm m}\), \(U_{\rm D}\), and predict the direction of \(U_{\rm O}\) change. | ||
| + | - “Golden rules” micro-exercises: | ||
| + | - Decide when you may set \(U_{\rm p}\approx U_{\rm m}\) and \(I_{\rm p}\approx I_{\rm m}\approx 0\). | ||
| + | - Feedback classification: | ||
| + | - Given a block diagram with \(kU_{\rm O}\) fed back, classify as positive/ | ||
| + | - Wrap-up (5 min): | ||
| + | - Summary box: basic equation, golden rules, open-loop vs closed-loop gain, feedback sign. | ||
| + | - Common | ||
| ===== Conceptual overview ===== | ===== Conceptual overview ===== | ||
| <callout icon=" | <callout icon=" | ||
| - | - ... | + | - Think of an op-amp as a **differential voltage sensor + powerful output stage**: |
| + | - it measures the difference \(U_{\rm D}=U_{\rm p}-U_{\rm m}\), | ||
| + | - then tries to produce \(U_{\rm O}=A_{\rm D}U_{\rm D}\). | ||
| + | |||
| + | - The “magic” of op-amp circuits comes from **negative feedback**: | ||
| + | - with large \(A_{\rm D}\), the circuit forces \(U_{\rm D}\) to be (almost) zero in normal operation, | ||
| + | - so you can treat \(U_{\rm p}\approx U_{\rm m}\) and \(I_{\rm p}\approx I_{\rm m}\approx 0\) as powerful design rules, | ||
| + | - and the **external feedback network** determines the closed-loop behavior (gain, impedance, linearity). | ||
| + | |||
| + | - Open-loop vs closed-loop is the key separation: | ||
| + | - **open-loop gain** \(A_{\rm D}\) is huge but poorly controlled, | ||
| + | - **closed-loop gain** \(A_{\rm V}\) is what we design to be stable, predictable, | ||
| + | |||
| + | - Reality check: | ||
| + | - real op-amps are limited by supply rails, maximum output current, finite speed, and nonzero input/ | ||
| + | - choosing unipolar vs bipolar supply changes what “zero” and “negative output” even mean in the circuit. | ||
| </ | </ | ||
| Zeile 120: | Zeile 162: | ||
| * **Input resistance**: | * **Input resistance**: | ||
| * **Output resistance**, | * **Output resistance**, | ||
| - | * **Voltage | + | * **Differential |
| < | < | ||
| Zeile 127: | Zeile 169: | ||
| <WRAP column 100%> <panel type=" | <WRAP column 100%> <panel type=" | ||
| - | - The output voltage depends on the differential voltage via the differential gain: $U_{\rm O} = A_{\rm D} \cdot U_\rm D$ This is the **basic equation** | + | - The output voltage depends on the differential voltage via the differential gain: $U_{\rm O} = A_{\rm D} \cdot U_\rm D$. \\ This is the **basic equation** |
| - The **golden rules** of the ideal amplifier are: | - The **golden rules** of the ideal amplifier are: | ||
| - The differential gain goes to infinity: $A_\rm D \rightarrow \infty$ | - The differential gain goes to infinity: $A_\rm D \rightarrow \infty$ | ||
| Zeile 135: | Zeile 177: | ||
| </ | </ | ||
| - | In <imgref pic001> a simulation of an ideal amplifier is shown. The input source specifies the voltage to be amplified. The amplifier with an amplification factor | + | In <imgref pic001> a simulation of an ideal amplifier is shown. The input source specifies the voltage to be amplified. |
| ~~PAGEBREAK~~ ~~CLEARFIX~~ | ~~PAGEBREAK~~ ~~CLEARFIX~~ | ||
| < | < | ||
| < | < | ||
| - | {{url> | + | {{url> |
| </ | </ | ||
| Zeile 146: | Zeile 188: | ||
| - Ideally, no current flows into the amplifier on the input side. | - Ideally, no current flows into the amplifier on the input side. | ||
| - The current on the output side depends on the connected load. If the load resistance is reduced with the help of the switch, the current increases. The amplifier thus tries to maintain the desired voltage. | - The current on the output side depends on the connected load. If the load resistance is reduced with the help of the switch, the current increases. The amplifier thus tries to maintain the desired voltage. | ||
| - | - On the output side of the amplifier, the current can flow in either direction. \\ The amplifier adjusts the current so that the amplified voltage $U_A=\pm | + | - On the output side of the amplifier, the current can flow in either direction. \\ The amplifier adjusts the current so that the amplified voltage $U_A=\pm |
| \\ | \\ | ||
| Zeile 156: | Zeile 198: | ||
| * The output voltage can only follow the input voltage as far as the power supply allows. \\ In real operational amplifiers, only so-called **rail-to-rail** operational amplifiers can exploit the range down to a few $100 ~\rm mV$ to $U_\rm S$. \\ Other operational amplifiers have an **output limit**, which is $1 ... 2 ~\rm V$ below the supply voltage. | * The output voltage can only follow the input voltage as far as the power supply allows. \\ In real operational amplifiers, only so-called **rail-to-rail** operational amplifiers can exploit the range down to a few $100 ~\rm mV$ to $U_\rm S$. \\ Other operational amplifiers have an **output limit**, which is $1 ... 2 ~\rm V$ below the supply voltage. | ||
| * If the supply voltages are not symmetrical ($U_{\rm sm} \neq -U_{\rm sp}$), then the characteristic also shifts. | * If the supply voltages are not symmetrical ($U_{\rm sm} \neq -U_{\rm sp}$), then the characteristic also shifts. | ||
| - | * The ideal operational amplifier produces the same output voltage $U_{\rm O}=A_{\rm D} \cdot U_{\rm D}$ as long as $U_{\rm D} = U_{\rm p} - U_{\rm m}$ is the same.\\ | + | * The ideal operational amplifier produces the same output voltage $U_{\rm O}=A_{\rm D} \cdot U_{\rm D}$ as long as $U_{\rm D} = U_{\rm p} - U_{\rm m}$ is the same.\\ |
| * Differential gain $\boldsymbol{A_\rm D}$: \\ The differential gain is usually between $A_\rm D = 20'000 ... 400' | * Differential gain $\boldsymbol{A_\rm D}$: \\ The differential gain is usually between $A_\rm D = 20'000 ... 400' | ||
| * Input resistance $\boldsymbol{R_\rm D}$: \\ For real operational amplifiers, the input resistance $R_\rm I > 1 M\Omega$ and the input current $|I_\rm p|$ or $|I_ \rm m|$ is less than $1 ~\rm µA$. \\ \\ | * Input resistance $\boldsymbol{R_\rm D}$: \\ For real operational amplifiers, the input resistance $R_\rm I > 1 M\Omega$ and the input current $|I_\rm p|$ or $|I_ \rm m|$ is less than $1 ~\rm µA$. \\ \\ | ||
| Zeile 162: | Zeile 204: | ||
| - | < | + | < |
| </ | </ | ||
| - | The simulation shows a **(simulated) real amplifier**. The input source has a high internal resistance. This means it has a high impedance and can only supply a small amount of current. The amplifier with a gain of 100 has - besides the connections for input and output voltage - also connections for the supply voltage drawn in. On the right side, a resistor is provided as load; this can be varied via a switch. | + | The simulation shows a **(simulated) real amplifier**. The input source has a high internal resistance. This means it has a high impedance and can only supply a small amount of current. |
| | | ||
| In the simulation some properties of an amplifier can be seen: | In the simulation some properties of an amplifier can be seen: | ||
| - On the input side, a small current flows into the amplifier. | - On the input side, a small current flows into the amplifier. | ||
| - | - The current on the output side depends on the connected load. If the load resistance is reduced with the help of the switch, the current increases. The amplifier thus tries to maintain the desired voltage. | + | - The current on the output side depends on the connected load. If the load resistance is reduced with the help of the switch, the current increases. |
| - The amplifier can output current as well as absorb current. \\ The current on the output side flows in and out of the amplifier through the supply voltage connections. | - The amplifier can output current as well as absorb current. \\ The current on the output side flows in and out of the amplifier through the supply voltage connections. | ||
| - | - The simulation is based on a real amplifier. This has a small deviation from the expected value $U_{\rm O}=\pm | + | - The simulation is based on a real amplifier. This has a small deviation from the expected value $U_{\rm O}=\pm |
| \\ \\ | \\ \\ | ||
| - | === Power supply | + | === Voltage Supply |
| + | |||
| + | The op-amp needs an additional voltage supply to be able to actively output more power. \\ | ||
| + | This two supplies are also called **rails**. | ||
| + | In general, the rails are drawn on top and on below the triangular shape of the op-amp. | ||
| For the voltage supply of the operational amplifier, a distinction is made between unipolar and bipolar: | For the voltage supply of the operational amplifier, a distinction is made between unipolar and bipolar: | ||
| Zeile 184: | Zeile 230: | ||
| - | The op-amps in the simulation replicate real op-amps in some respects: The voltage | + | The op-amps in the simulation replicate real op-amps in some respects: The differential |
| < | < | ||
| Zeile 206: | Zeile 252: | ||
| The block diagram does not claim to conserve energy or charge but serves to provide an overview of the effects and interrelationships. Thus Kirchhoff' | The block diagram does not claim to conserve energy or charge but serves to provide an overview of the effects and interrelationships. Thus Kirchhoff' | ||
| - | <imgref pic4> shows a block diagram of a feedback amplifier consisting of an ideal voltage amplifier with gain $A_\rm D$ drawn in the center. | + | <imgref pic4> shows a block diagram of a feedback amplifier consisting of an ideal voltage amplifier with differential |
| The output voltage $U_\rm O$, reduced by the factor $k$, is fed back via a feedback element. | The output voltage $U_\rm O$, reduced by the factor $k$, is fed back via a feedback element. | ||
| The circle symbol with the arithmetic symbols (in the block diagram on the left) shows how the incoming values must be offset against each other. | The circle symbol with the arithmetic symbols (in the block diagram on the left) shows how the incoming values must be offset against each other. | ||
| Zeile 221: | Zeile 267: | ||
| </ | </ | ||
| - | The advantage of a real amplifier in negative feedback | + | There is a big advantage of a real amplifier in negative feedback: \\ The voltage |
| - | In this case, the gain $ A_{\rm V}=\frac {1}{k}$. To avoid oscillation of the whole system, the amplifier must contain a delay element. | + | In this case, the voltage |
| + | |||
| + | $$A_{\rm V}=\frac {1}{k + \frac {1}{A_{\rm D}}} $$ | ||
| + | |||
| + | $$\boxed{ A_{\rm V}=\frac {1}{k} \quad \Bigg|_{A_{\rm D} \rightarrow \infty} }$$ | ||
| + | |||
| + | To avoid oscillation of the whole system, the amplifier must contain a delay element. | ||
| This is present in the real amplifier in such a way that the output voltage $U_\rm O$ cannot change infinitely fast. [(Note2> | This is present in the real amplifier in such a way that the output voltage $U_\rm O$ cannot change infinitely fast. [(Note2> | ||
| Zeile 244: | Zeile 296: | ||
| <panel type=" | <panel type=" | ||
| <WRAP group>< | <WRAP group>< | ||
| - | The **differential gain** or **open-loop gain** $\boldsymbol{A_\rm D}$ (German: Differenzverstärkung) refers only to the input and output voltage of the inner amplifier: | + | The **differential gain** or **open-loop gain** $\boldsymbol{A_\rm D}$ (German: Differenzverstärkung) refers only to the input and output voltage of the inner amplifier: |
| - | \\ This gain is tha amplification without external feedback. It is also called open-loop gain. \\ \\ | + | $$A_{\rm D}=\frac{U_\rm O}{U_\rm D}$$ |
| + | This gain is the amplification without external feedback. | ||
| - | The **voltage gain** $\boldsymbol{A_\rm V}$ refers to the input and output voltage of the whole circuit with feedback: | + | The **voltage gain** $\boldsymbol{A_\rm V}$ refers to the input and output voltage of the whole circuit with feedback: |
| + | $$A_{\rm V}=\frac{U_\rm O}{U_\rm I}$$ | ||
| + | It is also called closed-loop gain. \\ \\ | ||
| </ | </ | ||
| </ | </ | ||
| Zeile 256: | Zeile 311: | ||
| ===== Common pitfalls ===== | ===== Common pitfalls ===== | ||
| - | * ... | + | * **Mixing up the inputs:** confusing the inverting input $U_{\rm m}$ (minus) with the non-inverting input $U_{\rm p}$ (plus). A wrong sign flips the whole behavior. |
| + | * **Wrong differential voltage:** forgetting that $U_{\rm D}$ = $U_{\rm p}$ - $U_{\rm m}$. | ||
| + | * **Using the golden rules outside their valid context: | ||
| + | - $U_{\rm p} \approx $U_{\rm m}$ is only justified when the op-amp is in **linear operation** with **negative feedback** and not saturated. | ||
| + | - $I_{\rm p} \approx $I_{\rm m} \approx 0$ is an idealization; | ||
| + | * **Assuming unlimited output voltage:** the output is limited by the **supply rails** (and headroom). Once saturated, linear equations break. | ||
| + | * **Confusing open-loop and closed-loop gain:** $A_{\rm D}$ (open-loop) is huge and device-dependent; | ||
| + | * **Ignoring supply type:** unipolar supply does **not** allow negative output voltages (without a mid-supply reference). Many textbook sketches silently assume bipolar rails. | ||
| + | * **Assuming unlimited output current:** real op-amps have output current limits; too-small load resistance causes clipping/ | ||
| + | * **Treating block diagrams like circuit diagrams:** block diagrams show cause–effect; | ||
| + | * **Misclassifying feedback sign:** feeding output to the inverting input is typically **negative feedback**, while to the non-inverting input is typically **positive feedback** (depending on the network). | ||
| + | |||
| + | |||
| + | |||
| + | ===== Learning Questions ===== | ||
| + | |||
| + | * Explain the difference between the unipolar and bipolar power supply of an opamp. | ||
| + | * Draw a sketch for bipolar and one for unipolar power supply. | ||
| + | * What are the advantages and disadvantages of unipolar and bipolar supply in opamp? | ||
| + | * What are the golden rules? | ||
| + | * What is the basic equation of the opamp? | ||
| ===== Exercises ===== | ===== Exercises ===== | ||
| - | ==== Worked examples ==== | ||
| - | ... | + | <panel type=" |
| + | <WRAP group>< | ||
| + | |||
| + | |||
| + | <WRAP right>< | ||
| + | < | ||
| + | </ | ||
| + | {{drawio> | ||
| + | </ | ||
| + | |||
| + | For the principle of negative feedback, the adjacent block diagram was given in the script. Here $A_\rm D$ is the so-called differential gain, i.e. the gain of the difference between the input voltage $U_\rm I$ and the feedback voltage. | ||
| + | - Derive the voltage gain $A_\rm V$ as a function of the differential gain $A_\rm D$ and the feedback factor $k$. Note that $A_{\rm V} = {{U_\rm O}\over{U_\rm I}} = f(A_{\rm D}, k)$ and give the derivation. | ||
| + | - What is the voltage gain $A_\rm V$ for an ideal differential gain ($A_\rm D \rightarrow \infty $)? | ||
| + | - Find the voltage gain $A_\rm V$ for feedback $k = 0.001$ with differential gain $A_{\rm D1} = 100' | ||
| + | - State how the voltage gain behaves for the following feedback parameter $k$ with an ideal differential gain and correctly assign the following statements (some are not needed, some are needed more than once): \\ (A) Positive feedback, \\ (B) Negative feedback, \\ (C) Damping, \\ (D) gain, \\ (E) voltage gain equals open-loop gain, \\ (F) $U_{\rm O} = U_{\rm I}$, \\ (G) $U_{\rm O} = - U_{\rm I}$, \\ (H) gain equal 0. \\ \\ | ||
| + | - $k < -0$ | ||
| + | - $k = 0$ | ||
| + | - $0 < k < 1$ | ||
| + | - $k = 1$ | ||
| + | - $k > 1$ | ||
| + | |||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | * Given an operational amplifier symbol, label the following quantities: | ||
| + | - non-inverting input voltage $U_{\rm p}$, | ||
| + | - inverting input voltage $U_{\rm m}$, | ||
| + | - output voltage $U_{\rm O}$, | ||
| + | - (if present) the supply voltages $U_{\rm sp}$ and $U_{\rm sm}$. | ||
| + | |||
| + | * For each case below, state whether the output voltage $U_{\rm O}$ initially moves **upwards** or **downwards** (assume linear operation): | ||
| + | - $U_{\rm p}$ increases slightly over $U_{\rm m}$. | ||
| + | - $U_{\rm m}$ increases slightly over $U_{\rm p}$. | ||
| + | - $U_{\rm p} = U_{\rm m}$. | ||
| + | |||
| + | * Compute the differential voltage: $U_{\rm D}$ for $U_{\rm p} = 2.1\,\rm V$ and $U_{\rm m} = 2.0\,\rm V$. | ||
| + | |||
| + | * Using a differential gain of $A_{\rm D} = 200{' | ||
| + | * Explain briefly why this output voltage cannot be realized in practice when the op-amp is powered from supply rails of $\pm 5\,\rm V$. | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | An op-amp has $A_{\rm D}=150{' | ||
| + | - Compute $U_{\rm O}$ for $U_{\rm p}=1.002\, | ||
| + | - Decide whether the result is physically possible. | ||
| + | - Explain why even very small differences between $U_{\rm p}$ and $U_{\rm m}$ are sufficient to drive the output into saturation in open-loop operation. | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | An op-amp operates from a unipolar supply $0\,\rm V$ to $9\,\rm V$. | ||
| + | - What output voltage corresponds to “zero differential input” in a typical unipolar configuration? | ||
| + | - Why is this value often chosen close to $U_{\rm S}/2$? | ||
| + | - Describe one practical consequence if the output is biased too close to one supply rail. | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | An op-amp uses a unipolar supply $0\,\rm V \dots 10\,\rm V$. \\ | ||
| + | If you want to amplify a small sinus signal centered around $0\,\rm V$, why is it a problem to connect it directly to an input? | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | * For each statement, mark **true/ | ||
| + | - Feeding back a fraction of the output to the inverting input always creates negative feedback. | ||
| + | - With negative feedback and large $A_{\rm D}$, the op-amp tends to keep $U_{\rm D}$ close to 0. | ||
| + | - Positive feedback generally stabilizes the operating point and improves linearity. | ||
| + | - If the output is saturated at a rail, $U_{\rm p} \approx U_{\rm m}$ must still be true. | ||
| + | * For each configuration below, classify the feedback as positive or negative (assume resistive feedback networks): | ||
| + | - Output fed through a divider to $U_{\rm m}$, $U_{\rm p}$ driven by the input source. | ||
| + | - Output fed through a divider to $U_{\rm p}$, $U_{\rm m}$ driven by the input source. | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | An op-amp is powered from $\pm 5\,\rm V$ (bipolar). The output swing is limited to about $\pm 4\,\rm V$. | ||
| + | - If $U_{\rm D}=+50\, | ||
| + | - Repeat for $U_{\rm D}=+10\,\rm mV$. | ||
| + | - Explain in one sentence why clipping produces distortion in audio signals. | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | A sensor with source resistance $R_{\rm S}=1\,\rm M\Omega$ drives the non-inverting input. \\ | ||
| + | The real op-amp dows not only show an internal resistance, but also a small current source on the input pins. \\ | ||
| + | This input bias current is in this exercise $I_{\rm B}=200\,\rm nA$. | ||
| + | - Estimate the voltage error at the input caused by $I_{\rm B}$ flowing through $R_{\rm S}$. | ||
| + | - Explain when such an error matters and when it is negligible. | ||
| + | </ | ||
| + | |||
| + | <panel type=" | ||
| + | A real op-amp can supply at most $I_{\rm O, | ||
| + | It is intended to drive a load resistor $R_{\rm L}$ from an output voltage of $U_{\rm O}=3\,\rm V$. | ||
| + | - What is the minimum $R_{\rm L}$ to avoid exceeding the output current limit? | ||
| + | - If $R_{\rm L}$ is smaller than this value, what happens to the output waveform for a sine input? | ||
| + | |||
| + | Bonus: If the op-amp can also sink $20\,\rm mA$, does that change your answer to (a)? | ||
| + | </ | ||
| + | |||
| ===== Embedded resources ===== | ===== Embedded resources ===== | ||