How Operational Amplifiers Work: Four Essential Op-Amp Circuits Explained
6 min
- 1. What Makes Op-Amps Good at Math?
- 2. Op-Amp as an Adder (Summing Amplifier)
- 3. Op-Amp as a Subtractor (Differential Amplifier)
- 4. Op-Amp as an Integrator
- 5. Op-Amp as a Differentiator
- 6. Comparison Table of the Four Configurations
- 7. Factors to Consider in PCB Design
- Conclusion:
As we discussed in the first article of the series, Operational amplifiers (op-amps) aren’t just about amplifying signals; they’re called operational amplifiers for a reason. Back in the early days of analog computers, op-amps were literally used to perform mathematical operations like addition, subtraction, integration, and differentiation. Fast forward to today, we don’t solve calculus homework with op-amps anymore (thankfully), but these same principles power audio mixers, filters, and signal processing circuits. Digital circuits have some limitations related to operating frequency and all. But analog systems are real-time and fast; people nowadays want to go back to analog computing because digital electronics have almost reached their peak. In this article, we’ll explore four classic op-amp applications:
● Adder (Summing Amplifier)
● Subtractor (Differential Amplifier)
● Integrator
● Differentiator
1. What Makes Op-Amps Good at Math?
The secret is negative feedback. When used with resistors (and sometimes capacitors), op-amps manipulate input signals into predictable output expressions. We have full control over the output because we have full control over the variables.
● Adder/Subtractor: A weighted resistor network can be made to combine two signals to add or subtract them.
● Integrator: A capacitor in the feedback path makes the output proportional to the integral of the input.
● Differentiator: A capacitor at the input makes the output proportional to the derivative of the input.
But in the digital world, the task becomes complicated because a large number of bits are involved, and we need ADC and DAC to convert the signal back into the original format. This does nothing but increases the overall complexity of the block.
2. Op-Amp as an Adder (Summing Amplifier)
The summing amplifier combines multiple input signals into one output. Its essentially an inverting amplifier with multiple inputs. At the circuit level, what we do is:
Connect each input voltage (V1, V2, V3…) through a resistor (R1, R2, R3…) to the inverting input. The non-inverting input of the operational amplifier is grounded. A feedback resistor (Rf) sets the scaling of the overall signal. And we will get the overall equation as:
If all input resistors are equal (R1 = R2 = R3), the output is simply the negative sum of inputs. And all this finds applications in circuits like:
● Audio mixing consoles (adding multiple signals).
● Digital-to-analog converters (weighted sum).
3. Op-Amp as a Subtractor (Differential Amplifier)
A subtractor outputs the difference between two input voltages. This is the basis for differential amplifiers. Both inputs are used, one at the inverting terminal, one at the non-inverting. Resistor ratios are used to control the gain.
The operational amplifier itself is a differential amplifier, but it can only produce a differential output if connected in the open loop, as we know from the first article of this series - OPAMP: 101. By the way, using this type of configuration, we can easily subtract two signals. Some of the applications can be found in:
● Instrumentation amplifiers (when cascaded).
● Data acquisition systems (ADC front-ends).
4. Op-Amp as an Integrator
The integrator produces an output proportional to the time integral of the input, effectively summing the input over time. Input goes to the inverting terminal through a resistor (R). A capacitor (C) is placed in the feedback path, and the non-inverting input is grounded. The circuit is something similar to a low-pass filter, which is quite popular. But there is a condition when the circuit works as an integrator: “A Low-Pass Filter (LPF) behaves like an integrator when the input signal frequency is much higher than the filter's cutoff frequency.” Otherwise, we have the same LPF-type action. Some applications of this type of circuit are in:
● Waveform generation (turning square waves into triangular).
● Analog computing and signal processing.
Pure integrators can drift due to DC offsets. Designers often add a resistor in parallel with the capacitor for stability.
5. Op-Amp as a Differentiator
The differentiator outputs the time derivative of the input signal, highlighting how fast it changes. The input signal passes through a capacitor (C) to the inverting input. And a resistor (Rf) is used in the feedback path. It is the application circuit of a high-pass filter. Just keep the input signal frequency much lower than the cutoff frequency to keep the circuit working as a differentiator. Some of the applications include:
● Edge detection (digital signal transitions).
● Control systems (rate-of-change detectors).
Differentiators amplify noise at high frequencies. To fix this, engineers often add small resistors and capacitors for stability and noise reduction.
6. Comparison Table of the Four Configurations
7. Factors to Consider in PCB Design
Because these options are not available directly inside a system like the digital one, we need a board (PCB) to create the system, and at the system level, due to parasitics and non-linear effects, we may get some errors that we should take care of:
● Component Tolerances: Resistors and capacitors are essential for accurate math operations.
● Power Supply: Most of them require dual-rail power we should take care of both supplies when connecting the power.
● Stability: Add small compensation capacitors to avoid oscillations; this is often necessary for integrator and differentiators to ensure stability.
● Noise Considerations: Keep traces short, use ground planes, and decouple power rails with capacitors.
● Bandwidth: Choose op-amps with sufficient Gain Bandwidth Product (GBW) to cover the operating frequency range.
Conclusion:
In the second article of the series, we have seen that the Op-amps aren't just amplifiers. These are the analog workhorses that can do math for you. By simply arranging resistors and capacitors, you can turn an op-amp into:
● An Adder (to sum signals).
● A Subtractor (to measure differences).
● An Integrator (to accumulate signals over time).
● A Differentiator (to measure how fast signals change).
All students should be aware of this type of configuration of the OPAMP. These circuits show the power of negative feedback and component ratios. These will remain practical building blocks for mixers, filters, ADC front ends, and control systems.
Popular Articles
• Understanding Electrical Schematics: A Comprehensive Guide
• The Comprehensive Guide to Circuit Symbols: Key to Understanding Electrical and Electronic Diagrams
• PCB Board Design: A Step-by-Step Guide for Beginners
• Choosing the Best PCB Color-Enhancing Aesthetics and Functionality
• PCB Silkscreen: All You Need to Know
Keep Learning
System on Module Design Guide: The Agile Alternative to Chip-Down Design
Designing custom embedded hardware from a bare System on Chip (SoC) is slow, complex, and risky due to high-speed memory routing, RF tuning, and power sequencing. A System on Module (SoM) bypasses these hurdles. The vendor packages the core compute subsystem (CPU, RAM, storage, and PMIC) into a pre-validated module, letting you focus entirely on your custom carrier board. This guide explains what a System on Module is, when it makes sense over chip-down design, and how to design a reliable carrier boa......
How to Design a Raspberry Pi Expansion Board (HAT) [2026]
Raspberry Pi is a powerful board, but by itself, it is not sufficient for all projects. Sometimes we may require extra functionality, such as a high-power driver, a real-time clock, or a cleaner power UPS to power the different sensors around it. A HAT becomes the easiest way to turn the Pi into a purpose-built add-on system. That is what makes Raspberry Pi HATs so useful: you can add additional circuitry as needed for the application. And whenever you need to change, just unplug the hat and get your ......
From Physical Board to Production: How to Master PCB Reverse Engineering
Key Takeaways Stick to a 3-Stage Workflow: Process sequentially from BOM mapping to netlist extraction, and finally DFM reconstruction. Trust the Measured Netlist: Always verify connections directly with a meter; electrical data overrides optical scans. Match Imaging to Board Density: Use scans for outer layers, but rely on micro CT or delayering for blind/buried HDI vias. Recalculate Trace Impedance: Never copy trace widths directly—re-calculate for your target layer stackup and dielectric thickness.......
How Hierarchical Schematic Design Simplifies Complex PCB Layouts and Streamlines Manufacturing
Key Takeaways A hierarchical schematic organizes complex circuits into top-level block symbols linked to nested sub-sheets, replacing flat, hard-to-navigate drawings. Hierarchical design cuts human error, enables parallel team development, and makes validated sub-circuits reusable across projects. Follow a four-step workflow: map top-level blocks, define port directions, manage net scope, then translate sheets into PCB layout. Watch for net-scope conflicts and duplicate BOM designators when sub-sheets......
The Comprehensive Guide to Circuit Symbols: Key to Understanding Electrical and Electronic Diagrams
Note Need a quick reference while reading schematics? Download our free, printable Circuit Symbols Cheat Sheet (PDF), featuring the most common IEC and ANSI symbols organized by category. Keep it on your desktop or print it for easy reference at your workbench. ⬇ Download the Free Circuit Symbols Cheat Sheet (PDF) Every electronic diagram is written in a visual language, and circuit symbols are its alphabet. From your first electrical schematic to a multi-layer board, knowing circuit symbols can make ......
Unlocking Flexibility and Scalability with Daughter Boards in Modern Electronics
Key Takeaways Daughter boards add flexibility and scalability without redesigning the main PCB. Enable easy upgrades for memory, wireless, sensors, and I/O modules. Reduce development time, costs, and maintenance efforts significantly. Proper connector selection and mechanical design are essential for reliability. Ideal for modular products like Raspberry Pi HATs and Arduino shields. Have you ever removed the back of a laptop, stuck in a piece of RAM, and watched it boot with extra memory a minute lat......