Electronic Devices and CircuitsUnit 913 min read
Op-Amp Basics, Configurations & Applications
Unit 9 of Electronic Devices and Circuits covers the ideal operational amplifier (op-amp), its configurations (inverting, non-inverting, differential, integrator, differentiator), frequency response, feedback analysis, and real-world applications in signal processing, measurement, and control systems. Learn how op-amps
TAKEAWAYS
- An ideal op-amp has infinite open-loop gain, infinite input impedance, zero output impedance, and zero offset—real op-amps approximate this with feedback.
- Feedback (negative or positive) stabilizes gain, linearizes output, and determines the closed-loop configuration (inverting, non-inverting, etc.).
- Inverting vs. non-inverting amplifiers: The inverting amp flips the input signal (), while the non-inverting amp does not ().
- Differential and summing amplifiers enable subtraction and weighted addition of signals, critical for measurement and control systems.
- Frequency response of op-amps is limited by bandwidth and slew rate, causing distortion at high frequencies.
- Real-world applications include signal conditioning (e.g., ECG amplifiers in hospitals), active filters (e.g., audio equalizers in smartphones), and precision rectifiers (e.g., in power supplies like those in Daraz’s data centers).
1. Ideal vs. Real Op-Amp: Key Differences
An ideal op-amp is a theoretical model with perfect characteristics, while real op-amps (e.g., LM741, TL081) have limitations. Compare them in this table:
| Parameter | Ideal Op-Amp | Real Op-Amp (e.g., LM741) |
|---|---|---|
| Open-loop gain () | Infinite () | 100,000–200,000 (varies with frequency) |
| Input impedance () | Infinite () | 2 MΩ (differential), 100 kΩ (common-mode) |
| Output impedance () | Zero (0) | 75 Ω |
| Bandwidth | Infinite | 1 MHz (for LM741) |
| Slew rate | Infinite | 0.5 V/μs (LM741) |
| Offset voltage | Zero (0) | ±5 mV (typical) |
| Common-mode rejection ratio (CMRR) | Infinite | 90 dB (typical) |
Why does this matter? Real op-amps deviate from ideal behavior at high frequencies or with large signals. For example, the LM741 cannot amplify signals faster than 0.5 V/μs—this limits its use in high-speed applications like digital signal processing (DSP) in modern smartphones.
2. Op-Amp Symbol and Pin Configuration
The standard op-amp symbol shows two inputs (inverting – and non-inverting +) and one output. Real op-amps (e.g., LM741) have 8 pins with specific functions:
+Vcc
│
┌─────────────┐
│ │
│ +Vcc │ 1
│ –IN │ 2
│ +IN │ 3
│ OUT │ 6
│ –Vee │ 4
│ NO CONN │ 5 (for frequency compensation)
│ NO CONN │ 8
│ │
└─────────────┘
GND
3. Negative Feedback and Closed-Loop Gain
Negative feedback is used to stabilize gain, linearize output, and reduce distortion. The closed-loop gain () is determined by the feedback network (resistors and ).
Key Equations
Non-inverting amplifier:
- Example: If and , then .
- Application: Used in precision voltage amplifiers (e.g., in NTC’s voltage regulators).
Inverting amplifier:
- Example: If and , then .
- Application: Used in signal inversion (e.g., in audio processing for phase cancellation).
4. Basic Op-Amp Configurations
(A) Inverting Amplifier
Circuit:
flowchart LR
A["Vin"] --> B["R1"]
B --> C["–"]
C --> D["Op-Amp"]
D --> E["R2"]
E --> F["Vout"]
D -->|"Feedback"| CKey Points:
- Input signal is applied to the inverting terminal (
–). - Output is inverted ().
- Gain depends on and : .
Worked Example: Design an inverting amplifier with using . Find . Solution: Real-world tie-in: This configuration is used in audio equalizers (e.g., in YouTube’s audio processing) to invert and amplify specific frequency bands.
(B) Non-Inverting Amplifier
Circuit:
flowchart LR
A["Vin"] --> B["+"]
B --> C["Op-Amp"]
C --> D["R2"]
D --> E["Vout"]
C -->|"Feedback"| F["R1"]
F --> DKey Points:
- Input signal is applied to the non-inverting terminal (
+). - Output is non-inverted ().
- Gain: .
Worked Example: Design a non-inverting amplifier with using . Find . Solution: Real-world tie-in: Used in sensor amplification (e.g., Nepal’s NTC’s load cell amplifiers for weighing systems in markets).
(C) Differential Amplifier
Circuit:
flowchart LR
A["V1"] --> B["R1"]
B --> C["–"]
D["V2"] --> E["R3"]
E --> F["+"]
C --> G["R2"]
F --> G
G --> H["Op-Amp"]
H --> I["R4"]
I --> J["Vout"]
H -->|"Feedback"| K["R4"]
K --> IKey Points:
- Amplifies the difference between two inputs: .
- Common-mode rejection: Rejects noise common to both inputs.
- Gain: .
Worked Example: Design a differential amplifier where using . Find and . Solution: Choose , then .
Real-world tie-in: Used in ECG machines (e.g., in Kathmandu’s hospitals) to measure heart signals by rejecting muscle noise (common-mode interference).
(D) Summing Amplifier
Circuit:
flowchart LR
A["V1"] --> B["R1"]
C["V2"] --> D["R2"]
E["V3"] --> F["R3"]
B --> G["–"]
D --> G
F --> G
G --> H["Op-Amp"]
H --> I["Rf"]
I --> J["Vout"]
H -->|"Feedback"| GKey Points:
- Output is the weighted sum of inputs: .
- Used for analog computation (e.g., digital-to-analog converters (DACs)).
Worked Example: Design a summing amplifier where using and . Find . Solution: This implies: Real-world tie-in: Used in audio mixers (e.g., in live sound systems for concerts in Nepal) to combine multiple microphone signals.
5. Integrator and Differentiator Circuits
(A) Integrator
Circuit:
flowchart LR
A["Vin"] --> B["Rin"]
B --> C["–"]
C --> D["Op-Amp"]
D --> E["Cf"]
E --> F["Vout"]
D -->|"Feedback"| EKey Points:
- Output is the integral of input: .
- Used in analog computers, filters, and oscillators.
Worked Example: Design an integrator where the output integrates a 1V step input to reach -10V in 1 second. Find and if . Solution:
Real-world tie-in: Used in phase-locked loops (PLLs) in Ncell’s 4G modems for frequency synchronization.
(B) Differentiator
Circuit:
flowchart LR
A["Vin"] --> B["C"]
B --> C["–"]
C --> D["Op-Amp"]
D --> E["Rf"]
E --> F["Vout"]
D -->|"Feedback"| EKey Points:
- Output is the derivative of input: .
- High-pass filter: Blocks DC and passes AC signals.
- Prone to noise due to amplification of high-frequency signals.
Worked Example: Design a differentiator where the output is 10 times the derivative of a 1V/s ramp input. Find and if . Solution:
Real-world tie-in: Used in motion detectors (e.g., Pathao’s delivery tracking systems) to detect sudden changes in position.
6. Frequency Response and Stability
(A) Open-Loop vs. Closed-Loop Gain
- Open-loop gain () decreases with frequency due to internal capacitance.
- Closed-loop gain () is flatter because feedback compensates for variations.
Frequency Response Plot: Key Observations:
- Gain drops by 20 dB/decade after the dominant pole.
- Unity-gain bandwidth (~1 MHz for LM741) is where .
(B) Slew Rate Limitation
- Slew rate (SR) = Maximum rate of change of output voltage.
- LM741: SR = 0.5 V/μs.
- Effect: Causes distortion in high-frequency signals (e.g., square waves become rounded).
Example: If a 10V peak-to-peak square wave at 1 MHz is applied: But LM741’s SR = 0.5 V/μs → Output cannot keep up → Distortion occurs.
Real-world tie-in: This limits high-speed ADCs in digital oscilloscopes (e.g., Tektronix models).
7. Practical Applications of Op-Amps
(A) Signal Conditioning
- Amplifying weak signals (e.g., thermocouple outputs in industrial sensors).
- Example: NTC’s temperature monitoring systems use op-amps to amplify tiny voltage changes from thermistors.
(B) Active Filters
- Low-pass, high-pass, band-pass, band-stop filters using op-amps.
- Example: YouTube’s audio equalizers use active filters to boost bass or cut noise.
(C) Precision Rectifiers
- Op-amp-based rectifiers eliminate the 0.7V drop of diode rectifiers.
- Example: Used in Daraz’s power supplies for stable DC output.
(D) Oscillators
- Sine wave, square wave, and triangle wave generators using op-amps.
- Example: Function generators in lab experiments (e.g., Tektronix AFG3022).
(E) Analog Computers
- Summing, integrating, and differentiating circuits perform mathematical operations.
- Example: Old-school flight simulators used op-amps for real-time calculations.
In the Real World
eSewa & Khalti (Digital Payments)
- Op-amp-based comparators detect voltage levels in secure payment terminals to verify transactions.
- Example: A window comparator ensures the contactless card’s signal is within the valid range before processing payment.
NTC’s Smart Meters
- Op-amp-based signal conditioners amplify and filter the tiny AC signals from current transformers to measure electricity usage accurately.
- Example: A differential amplifier rejects noise from power lines while amplifying the true load signal.
Pathao’s Delivery Tracking
- Op-amp integrators in GPS receivers smooth out position data to reduce jitter in real-time tracking.
- Example: A low-pass filter removes high-frequency noise from GPS signals before sending location updates to the app.
Nepal Rastra Bank’s ATM Machines
- Op-amp comparators detect card insertion and verify PIN entry by comparing voltage levels from keypad sensors.
- Example: A Schmitt trigger (using an op-amp) debounces mechanical switches to avoid false PIN readings.
YouTube’s Audio Processing
- Op-amp-based equalizers boost or cut frequencies in audio streams before compression.
- Example: A non-inverting amplifier increases bass levels in music videos without distortion.
Exam Tip
Memorize the 5 golden rules of ideal op-amps:
- (infinite input impedance)
- can be positive or negative rail.
- Open-loop gain .
- Feedback forces in negative feedback.
Always draw the circuit before solving—label all resistors and inputs/outputs.
For configuration problems:
- Identify if it’s inverting, non-inverting, differential, or summing.
- Write the gain equation and solve for unknowns.
Frequency response questions:
- Know that closed-loop bandwidth = .
- Slew rate limits high-frequency signals—always check if the op-amp can handle the required rate of change.
Application-based questions:
- Relate inverting amplifiers to signal inversion (e.g., audio phase cancellation).
- Relate differential amps to noise rejection (e.g., ECG machines).
- Relate integrators to oscillators (e.g., function generators).
Common mistakes to avoid:
- Forgetting negative feedback in gain calculations.
- Misapplying KCL/KVL in summing amplifiers.
- Ignoring slew rate limitations in high-speed circuits.
Practical tip:
- If a question asks for design, always verify your answer by recalculating gain or checking units (e.g., should be in seconds for integrators).
Based on the PU BE Computer (PU) syllabus for Electronic Devices and Circuits (ELX120), unit 9.
Discussion
Loading…