Practice problems
Inverting and summing amplifier practice problems
An inverting amplifier uses negative feedback to hold its inverting (−) input at 0 V, a virtual ground. The input current flows on through the feedback resistor Rf and sets an inverted output. Give it several input resistors and it adds signals. These ten problems find the gain, the output and the input resistance, mix inputs in a summing amplifier, pick resistors and finish with a simple DAC. Type your answer to check it, and open the working whenever you want it.
The method
- Vout = G × Vin: a positive input gives a negative output, and vice versa
- The source sees an input resistance of just Rin
- In a summing amp each input has its own gain, −Rf ÷ Rn. Equal resistors give −(V1 + V2 + …)
- The output swing stops about 1.5 V short of each rail on a typical non-rail-to-rail op-amp: ±10.5 V on ±12 V rails
The problems
Type your answer and tap Check. Every one has the working, step by step.
Problem 1 of 10
An inverting amplifier has Rf = 33 kΩ and Rin = 15 kΩ. What is its gain?
Show the working
- An inverting amplifier's closed-loop gain is G = −Rf over Rin. The minus sign means the output is inverted: 180° out of phase with the input.
- G = −33 kΩ over 15 kΩ = −2.2
Answer: −2.2
Problem 2 of 10
An inverting amplifier with Rf = 68 kΩ and Rin = 10 kΩ gets a steady −0.5 V in. What is the output voltage?
Show the working
- G = −68 kΩ over 10 kΩ = −6.8
- Vout = −6.8 × (−0.5 V) = 3.4 V. A negative input gives a positive output.
Answer: 3.4 V
Problem 3 of 10
An inverting amplifier has Rin = 22 kΩ and Rf = 220 kΩ. What input resistance does the signal source see?
Show the working
- Negative feedback holds the inverting (−) input at 0 V, a virtual ground. So Rin connects the source to an effective 0 V node.
- The source sees just Rin: 22 kΩ. Rf doesn't add to it.
Answer: 22 kΩ
Problem 4 of 10
An inverting amplifier has Rin = 12 kΩ and Rf = 56 kΩ, with 0.6 V in. What current flows through Rf, in microamps?
Show the working
- The input current is 0.6 V over 12 kΩ = 0.00005 A, because Rin's other terminal is at the virtual ground, 0 V.
- An ideal op-amp input draws no current, so all of it flows through the feedback resistor Rf: 50 µA. That sets Vout = −50 µA × 56 kΩ = −2.8 V.
Answer: 50 µA
Problem 5 of 10
A summing amplifier has three inputs, and Rf and every input resistor are 10 kΩ. The inputs are 1.2 V, −0.4 V and 0.7 V. What is the output?
Show the working
- With every resistor equal, each input has a gain of −1, so Vout = −(V1 + V2 + V3).
- Vout = −(1.2 V − 0.4 V + 0.7 V) = −1.5 V
Answer: −1.5 V
Problem 6 of 10
A summing amplifier has Rf = 20 kΩ. Input 1 is 0.3 V through 10 kΩ, and input 2 is 1 V through 40 kΩ. What is the output?
Show the working
- Each input has its own gain, −Rf over Rn: −2 for input 1 and −0.5 for input 2.
- Vout = −(2 × 0.3 V + 0.5 × 1 V) = −(0.6 V + 0.5 V) = −1.1 V
Answer: −1.1 V
Problem 7 of 10
You need an inverting gain of −6.8, and the source needs an input resistance of 10 kΩ. What value of Rf do you fit?
Show the working
- The input resistance is Rin, so Rin = 10 kΩ.
- Rf = |G| × Rin = 6.8 × 10 kΩ = 68 kΩ, an E12 value.
Answer: 68 kΩ
Problem 8 of 10
A summing amplifier with Rf = 30 kΩ should output minus the average of three inputs. What value should each input resistor be?
Show the working
- The average is V1 + V2 + V3 over 3, so each input needs a gain of −1 over 3.
- Rf over Rn = 1 over 3, so Rn = 3 × 30 kΩ = 90 kΩ
Answer: 90 kΩ
Problem 9 of 10
Stretch: a summing amplifier runs on ±12 V rails, so its output can reach ±10.5 V. Rf = 100 kΩ and both input resistors are 10 kΩ. The inputs are 0.6 V and 0.5 V. What is the output?
Show the working
- Each input has a gain of −10, so it would need −10 × (0.6 V + 0.5 V) = −11 V.
- The output swing stops about 1.5 V short of the −12 V rail (its rail headroom): −10.5 V.
- −11 V is beyond that, so the output saturates at −10.5 V: it clips.
Answer: −10.5 V
Problem 10 of 10
Stretch: a 3-bit summing DAC has Rf = 10 kΩ and input resistors of 10 kΩ, 20 kΩ and 40 kΩ for bits 2, 1 and 0. A bit is 5 V when it's 1 and 0 V when it's 0. What is the output for the code 101?
Show the working
- The gains are −1, −0.5 and −0.25. Code 101 puts 5 V on bit 2 and bit 0, and 0 V on bit 1.
- Vout = −(1 × 5 V + 0.5 × 0 V + 0.25 × 5 V) = −(5 V + 1.25 V)
- Vout = −6.25 V. One LSB step of the code is 1.25 V.
Answer: −6.25 V
“Inverting and summing amplifiers” is lesson 5 of 6 in Amplifier Peaks, Electronics World 6. Free with an account. Lessons unlock in order, so you’ll do the 39 before it first.
Free lesson
Now build it yourself
Each lesson comes in three short parts: see the idea, try it on a live board, then build it yourself, with quick checks as you go.
“Inverting and summing amplifiers” is lesson 5 of 6 in Amplifier Peaks, Electronics World 6. Free with an account. Lessons unlock in order, so you’ll do the 39 before it first.
Or start from the very first lesson, no account neededCheck it with a calculator
The ideas behind it
- Op-amp inverting amplifier explainedSignal into the − input through a resistor: an inverted, scaled copy, with gain −R_f ÷ R_in.
- Op-amp summing amplifier explainedSeveral inputs into one virtual ground: an op-amp that adds signals, each with its own gain.
- Non-inverting amplifier explainedAn op-amp, two resistors and gain G = 1 + R_f ÷ R_g: amplified, in phase, and clipped near the rails.
Questions people ask
What is the input resistance of an inverting amplifier?
Just R_in. The inverting (−) input is a virtual ground at 0 V, so the source sees R_in connected to an effective 0 V node. That's much lower than a non-inverting amplifier's input resistance, so make R_in big enough not to load the source, often 10 kΩ or more.
How does a summing amplifier add voltages?
Each input drives its own current, V ÷ R, into the virtual ground. The feedback resistor R_f carries the sum of these currents, so V_out = −R_f × (V1 ÷ R1 + V2 ÷ R2 + …). Each input has its own gain, −R_f ÷ R_n, and the virtual ground stops the inputs interacting with each other.
Why is the summing amplifier's output negative?
It's an inverting amplifier with more than one input, so every input is inverted. If you need the positive sum, follow it with a second inverting amplifier with a gain of −1. In audio mixers the polarity inversion usually doesn't matter, because the ear can't normally detect it.
More practice
- Ohm's law practice problemsFind V, I or R, then the power, with the working for each.
- Units and prefixes practice problemsConvert mA, kΩ, µF, nF, pF, ms and mV, with the working for each.
- LED resistor practice problemsSize the resistor for one LED or a string, round to a standard value, check the power.
- Electrical power practice problemsPower three ways, energy in kWh, battery life and running costs, all worked.
- Series and parallel resistors practice problemsTotals in series and parallel, mixed networks and branch currents, all worked.
- Kirchhoff's laws practice problemsBalance currents at a junction and voltages round a loop, with the working for each.
- Voltage divider practice problemsFind Vout, pick R2 for a target and work out loading, with the working for each.
- Thevenin and Norton equivalent practice problemsReduce a network to V_th in series with R_th, then load it, with the working.
- Capacitor practice problemsCharge, capacitance, series and parallel, and stored energy, with the working.
- RC time constant practice problemsτ = R × C, the 63% rule, charging and discharging, with the working.
- Inductor practice problemsV = L × ΔI ÷ Δt, stored energy and inductors in series and parallel, with the working.
- RL circuit time constant practice problemsτ = L ÷ R, the current's rise and decay, and inductive kickback, with the working.
- AC voltage and transformer practice problemsPeak, RMS, period, AC power and transformer turns ratios, with the working.
- Capacitive and inductive reactance practice problemsCapacitive and inductive reactance, AC current and impedance, with the working.
- Impedance practice problems for RC and RL circuitsSeries RC and RL impedance, phase angle and current, with the working.
- RC filter practice problemsCutoff frequency, choosing R or C, and the output either side of the cutoff, with the working.
- Decibel practice problemsRatios to dB and back, for power and voltage, gains that add and the −3 dB point.
- LC resonance practice problemsf₀ = 1 ÷ (2π√(LC)), tuning for a frequency, and scaling, with the working.
- Diode practice problemsForward voltage, series resistor current, diodes in series, reverse bias and power dissipation.
- Rectifier and ripple practice problemsPeak output, ripple and the smoothing capacitor for half-wave and bridge rectifiers.
- Zener diode practice problemsSize a Zener regulator's resistor, split its current and check the Zener's power.
- Transistor switch practice problemsBase current, base resistor and load current for a BJT switch, then a MOSFET.
- MOSFET switch practice problemsConduction loss from R_DS(on), gate and pull-down currents, flyback diodes and junction temperature.
- Op-amp gain practice problemsInverting and non-inverting gain, the output, the resistor to pick and when it clips.
- Schmitt trigger and hysteresis practice problemsHysteresis band, both thresholds and the feedback resistor for a comparator.
- Op-amp limits practice problemsGain-bandwidth, slew rate, output swing and input offset, with the working.
- Binary and hex practice problemsBinary to decimal and back, bits needed, the largest n-bit number and hex.
- Logic gates practice problemsGate outputs, truth-table rows, Boolean expressions and fewer gates, with the working.
- Counters and flip-flops practice problemsTop count, flip-flops needed, frequency division, rollover and ripple delay.
- PWM and duty cycle practice problemsDuty cycle, average voltage, on-time, analogWrite 0–255 and power, with the working.
- ADC and analog input practice problemsanalogRead to volts and back, resolution, dividers and 12-bit ADCs, with the working.