How do op-amp circuits amplify and combine analogue signals, and how do we predict their output?
The operational amplifier as a high-gain difference amplifier, and the inverting, non-inverting, summing and difference configurations with their closed-loop gain relationships and saturation.
An SQA Advanced Higher Engineering Science answer on operational amplifier circuits, covering the ideal op-amp, open-loop gain and saturation, negative feedback, and the inverting, non-inverting, summing and difference amplifier configurations with their closed-loop gain relationships.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this key area is asking
The SQA wants you to treat the operational amplifier as a near-ideal, very high-gain difference amplifier, to explain why negative feedback tames that gain into a stable, predictable value, and to calculate the output of the four standard configurations: inverting, non-inverting, summing and difference amplifiers. You must also recognise saturation, where the output can rise no further than the supply rails.
The ideal op-amp and open-loop gain
The ideal op-amp assumed at Advanced Higher has three properties that make the analysis simple: infinite open-loop gain, infinite input resistance (so no current flows into either input), and zero output resistance. Because the open-loop gain is so large, even a few microvolts of difference between the inputs would demand an impossibly large output, so in practice the output saturates at a value a little below the positive or negative supply rail.
Negative feedback and the virtual earth
Used open-loop, the op-amp is only a comparator. Feeding a fraction of the output back to the inverting input creates negative feedback, which stabilises the gain at a value set by external resistors and makes it almost independent of the device's own (variable) open-loop gain. The two golden rules for an ideal op-amp with negative feedback follow directly:
- No current enters the inputs (infinite input resistance).
- The two inputs sit at almost the same voltage (), because any difference, multiplied by the huge gain, would saturate the output.
When the non-inverting input is earthed, the second rule forces the inverting input to almost . It is not wired to earth, yet it behaves as if it were: this is the virtual earth, and it is the key to analysing the inverting and summing circuits.
The four configurations
The inverting amplifier applies the input through to the virtual-earth node and feeds back through ; the gain is the resistor ratio, with a minus sign because the output is inverted. The non-inverting amplifier applies the input directly to , giving a gain of that is always greater than one and does not invert. The summing amplifier is an inverting amplifier with several input resistors meeting at the virtual earth, so the output is the weighted, inverted sum of the inputs, which is how analogue signals are mixed. The difference amplifier amplifies the difference between two inputs while rejecting any signal common to both, which is why it is used to read small sensor signals against noise.
Examples in context
A microphone preamplifier uses a non-inverting stage to lift a few millivolts to a usable level without inverting the waveform. An audio mixing desk sums several channels with a summing amplifier, each input resistor setting that channel's level. An instrumentation front end reading a strain-gauge bridge uses a difference amplifier so that the small bridge imbalance is amplified while mains hum picked up equally on both leads is rejected. In every case the resistor values, not the chip, fix the gain, which is why the design is reliable across devices.
Try this
Q1. State the relationship for the closed-loop gain of an inverting amplifier. [1 mark]
- Cue. .
Q2. A non-inverting amplifier has and . Find its gain. [2 marks]
- Cue. .
Q3. Explain why the inverting input of an op-amp with negative feedback is called a virtual earth. [2 marks]
- Cue. The huge open-loop gain forces the two inputs to almost the same potential; with earthed, sits at almost without a physical connection to earth.
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SQA AH style4 marksAn inverting amplifier has an input resistor of and a feedback resistor of . Calculate the closed-loop voltage gain and the output voltage when the input is .Show worked answer →
For an inverting amplifier the closed-loop gain is set by the resistor ratio.
Relationship: .
Substitution: .
Output voltage: .
Markers reward the gain relationship with the minus sign, the value of , and the output of , the minus sign showing the inversion. A common slip is dropping the sign and reporting .
SQA AH style5 marksA summing amplifier has two inputs of and applied through input resistors of each, with a feedback resistor of . Calculate the output voltage and explain why the inverting input is called a virtual earth.Show worked answer →
The summing amplifier output is the weighted sum of the inputs, inverted.
Relationship: .
Substitution: .
Virtual earth: because the open-loop gain is enormous, the difference between the two inputs is almost zero, and with the non-inverting input earthed the inverting input sits at almost without being physically connected to earth.
Markers reward the summing relationship, the value of , and a correct statement that the huge gain forces the inputs to almost the same potential, fixing the inverting input near zero.
Related dot points
- The capacitor charge and discharge through a resistor, the time constant, and passive RC filters selecting signals by frequency.
An SQA Advanced Higher Engineering Science answer on analogue signal processing, covering capacitor charge and discharge through a resistor, the RC time constant, and passive low-pass and high-pass RC filters that select signals by frequency.
- Combinational logic built from logic gates, described by truth tables and Boolean expressions, simplified using Boolean algebra and Karnaugh maps.
An SQA Advanced Higher Engineering Science answer on combinational logic, covering logic gates, truth tables and Boolean expressions, simplification with Boolean algebra and Karnaugh maps, and designing a logic circuit from a specification.
- Sequential logic with memory: flip-flops storing a bit, counters dividing and counting pulses, and astable and monostable timing circuits.
An SQA Advanced Higher Engineering Science answer on sequential logic, covering the flip-flop as a one-bit memory, counters that count and divide clock pulses, and astable and monostable timing circuits that generate pulses and delays.
- Programmable control with a microcontroller: inputs and outputs, programs described by flowcharts and pseudocode, and the use of loops, decisions and sub-routines.
An SQA Advanced Higher Engineering Science answer on programmable control, covering the microcontroller and its inputs and outputs, programs described by flowcharts and pseudocode, and the program structures of sequence, selection, iteration and sub-routines.
- Control systems described by the system model, the difference between open-loop and closed-loop control, and the role of feedback, the error signal and the components of a closed-loop system.
An SQA Advanced Higher Engineering Science answer on control systems, covering the system model, open-loop versus closed-loop control, negative feedback and the error signal, and the comparator, controller, actuator and sensor of a closed-loop system.