Module 3
Module 3
Differential Amplifiers
Contents
Module 3 Oscillators, Current Mirrors and Differential Amplifiers .......................................... 1
What is an oscillator? ............................................................................................................. 3
Types of oscillators ................................................................................................................ 3
Block diagram of an oscillator ............................................................................................... 3
The Role and working of the Tank Circuit (The "Tuning Fork") .......................................... 3
Working of an oscillator ......................................................................................................... 4
The Rule for Oscillation: Barkhausen Criterion .................................................................... 4
Classification of oscillators .................................................................................................... 4
1. Classification by Frequency Generating Components ................................................... 5
2. Classification by Output Waveform ............................................................................... 5
RC Phase shift oscillator ........................................................................................................ 6
Construction ....................................................................................................................... 6
Working.............................................................................................................................. 6
Advantages ......................................................................................................................... 7
Disadvantages .................................................................................................................... 7
Applications ....................................................................................................................... 7
Wien Bridge Oscillator .......................................................................................................... 8
Problem : Analysis of RC Phase Shift Oscillator................................................................... 9
Problem : Design of Wien Bridge Oscillator ....................................................................... 10
Hartley oscillator .................................................................................................................. 11
Construction ..................................................................................................................... 11
Working............................................................................................................................ 12
4. Advantages ................................................................................................................... 12
5. Disadvantages .............................................................................................................. 13
6. Applications ................................................................................................................. 13
Problem ............................................................................................................................ 13
Colpitts Oscillator ................................................................................................................ 13
1. Introduction .................................................................................................................. 13
2. Circuit Diagram ........................................................................................................... 13
3. Resonant Frequency Formula ...................................................................................... 14
4. Advantages ................................................................................................................... 14
5. Disadvantages .............................................................................................................. 14
1
6. Applications ................................................................................................................. 15
7. Problem: ....................................................................................................................... 15
Construction of an OpAmp .................................................................................................. 16
Current Mirror ...................................................................................................................... 21
Basic Current Mirror ........................................................................................................ 22
Current Mirror is used as a Active Load .......................................................................... 22
Differential amplifier ........................................................................................................... 25
1. Differential Mode (Double-Ended Operation) ............................................................. 25
2. Common Mode ............................................................................................................ 25
3. Single-Ended Mode ..................................................................................................... 26
Calculations...................................................................................................................... 27
2
What is an oscillator?
Any circuit that generates an alternating signal is called oscillator. To generate ac signal, the
circuit is supplied energy from a dc source. The oscillators have variety of applications. In some
application we need signal of low frequencies, in other of very high frequencies.
The frequency ranges of the ac signal at the output of oscillator ranges from a few Hz to several
GHz.
Oscillator simply requires dc voltage in order to produce ac signal of desired frequency.
Types of oscillators
• Sinusoidal or Harmonic Oscillator: Here the achieved signal at the output of
oscillator shows continuous sinusoidal variation as a function of time.
• Non-sinusoidal or Relaxation Oscillator: In this case, the achieved signal at the
output of oscillator shows a quick rise and fall at different voltage levels. Thereby
generating waveforms such as a square wave, sawtooth wave etc.
The Role and working of the Tank Circuit (The "Tuning Fork")
Just like a tuning fork only vibrates at one specific pitch (e.g., 440 Hz) no matter how hard
you strike it, the Tank Circuit forces the oscillator to generate only one specific frequency
(fr).
It is usually made of:
1. Inductor (L) + Capacitor (C): For high frequencies (Radio, TV).
2. Resistor (R) + Capacitor (C): For low frequencies (Audio).
Imagine the Capacitor is fully charged. It discharges its electrons through the Inductor.
As current flows through the Inductor, it builds up a Magnetic Field.
Once the Capacitor is empty, the Magnetic Field collapses, forcing current to keep flowing
and charging the Capacitor in the opposite direction.
This energy "sloshes" back and forth between the Electric Field (Capacitor) and Magnetic
Field (Inductor) indefinitely.
This exchange doesn't happen at random speeds. It happens at a precise rate determined by
the values of L and C
3
1
𝑓𝑟 =
2𝜋√𝐿𝐶
Working of an oscillator
1. Starting of the circuit
When you first switch on the power, there is no signal. However, every electronic
component generates a tiny amount of random electrical noise (thermal noise).
This tiny noise acts as the initial "spark" or input signal.
2. Amplification
• The amplifier takes this tiny noise signal and amplifies it, making it slightly larger at
the output.
𝑉𝑜𝑢𝑡 = 𝐴 × 𝑉𝑖𝑛
The Feedback Network (Tank Circuit) blocks every frequency except 𝑓𝑟 .
Only 𝑓𝑟 makes it back to the input to be amplified again.
The loop quickly locks onto this single frequency.
3. Feedback (The Critical Step)
𝑉𝑓 = 𝛽 × 𝑉𝑜𝑢𝑡
In a real oscillator, there is no external 𝑉𝑖𝑛
𝑉𝑖𝑛 = 𝑉𝑓
𝑉𝑜𝑢𝑡 = 𝐴 × 𝑉𝑖𝑛
𝑉𝑖𝑛 = 𝛽𝑉𝑜𝑢𝑡
𝑉𝑜𝑢𝑡 = 𝐴 × (𝛽𝑉𝑜𝑢𝑡 )
1 = 𝐴𝛽
• The feedback network takes from this output and sends it back to the input in phase
with the original signal.
• "In phase" means the peaks align. This adds to the input, making it stronger.
4. Sustainable Oscillation
• The strengthened signal goes through the amplifier again, gets bigger, is fed back
again, and gets even bigger.
• This loop continues until the amplifier reaches its maximum limit (saturation),
resulting in a steady, continuous waveform.
Classification of oscillators
Oscillators are classified based on the components used to determine the frequency and the
range of frequencies they can generate.
4
1. Classification by Frequency Generating Components
The most common way to group them is by what makes up the "Tank Circuit" (Frequency
Selective Network).
A. RC Oscillators (Resistor + Capacitor)
• Principle: Uses a network of resistors and capacitors to create the required phase
shift.
• Frequency Range: Audio Frequency (AF) (20 Hz – 200 kHz).
• Why used here? At low frequencies, Inductors (L) would need to be physically huge
and heavy. Resistors and Capacitors are small and cheap.
• Common Types:
1. RC Phase Shift Oscillator: Uses three RC stages to shift phase by 60∘ each
3 × 60∘ = 180∘ ). Good for fixed frequencies.
2. Wien Bridge Oscillator: Uses a bridge circuit for tuning. This is the standard
circuit used in laboratory Audio Signal Generators because it is easy to tune
over a wide range.
B. LC Oscillators (Inductor + Capacitor)
• Principle: Uses a "Tank Circuit" of Inductors and Capacitors.
• Frequency Range: Radio Frequency (RF) (100 kHz – 100 MHz+).
• Why used here? At high frequencies, tiny inductors work perfectly, and RC circuits
become lossy.
• Common Types:
1. Hartley Oscillator: Uses Two Inductors (tapped coil) and One Capacitor.
2. Colpitts Oscillator: Uses Two Capacitors and One Inductor. (More stable
than Hartley).
3. Clapp Oscillator: A modified Colpitts for even better stability.
C. Crystal Oscillators
• Principle: Uses a Quartz Crystal (Piezoelectric effect) instead of an LC tank.
• Frequency Range: Fixed HF/VHF.
• Key Feature: Extreme Frequency Stability. Unlike RC or LC, it does not drift with
temperature or time.
• Type: Pierce Oscillator (Standard in almost all digital clocks).
5
Crystal Fixed (High) Excellent Microprocessors (Clocks), Watches,
USB timing.
Relaxation Variable Poor Blinkers, PWM control, oscilloscope
sweep.
DC Power
Supply
CE Amplfier
Working
When supply is connected to the circuit, the base current of T1 suddenly increases. This change
is amplified by T1 to produce negative feedback of 180° to the phase shift network.
The phase shift network also produces another 180° phase shift. So the total phase shift is 360°
i.e. the input and output signals are in-phase.
Since transistor T1 is used as amplifier, the circuit produces sustained oscillations. The output
frequency of the circuit is given by the following formula:
The feedback factor is
1
𝛽=
−29
The negative sign indicates a 180∘ phase shift (which is exactly what we wanted). The
magnitude is 1/29
6
Required Gain (A): Since loop gain
∣ 𝐴𝛽 ∣≥ 1
1
∣ 𝐴 ∣× ≥1
29
∣ 𝐴 ∣≥ 29
Advantages
• Simple & Cheap: It uses only Resistors (R) and Capacitors (C). It does not require
expensive or bulky Inductors (L) or transformers.
+1
• Excellent for Low Frequencies: Generating low frequencies (like 20 Hz) using LC
oscillators is difficult because the inductors would need to be physically huge. RC
circuits handle this easily.
• Good Sine Wave Output: It produces a reasonably pure sine wave with low
distortion compared to relaxation oscillators.
• Fixed Frequency Stability: For a fixed frequency (where you don't need to change
the dial), the frequency stability is good enough for general-purpose audio
applications.
Disadvantages
• High Gain Requirement: The feedback network attenuates the signal by a factor of
29. This means the amplifier (Op-Amp or Transistor) must have a gain of 𝐴 ≥ 29 just
to start oscillating. If the gain drops (e.g., due to battery aging), the oscillator stops.
• Difficult to Tune (Variable Frequency): Changing the frequency is very hard. To
change fr smoothly, you must change all three capacitors or all three resistors
simultaneously. This requires a specialized "3-gang" potentiometer, which is rare and
expensive. (The Wien Bridge oscillator is much better for variable frequency).
• Poor High-Frequency Performance: At high frequencies, the capacitors become
almost like short circuits, and the resistors become noisy. It is generally not used
above 100 kHz.
• Starting Problem: Sometimes it struggles to self-start. The initial oscillations can be
weak and take time to stabilize.
Applications
• Audio Signal Generators: Used in basic lab equipment to generate fixed audio tones
(e.g., 1 kHz test tone).
• Musical Instruments: Used in early electronic organs and synthesizers to generate
musical notes.
• Voice Synthesis: Used in telecommunications to generate voice-frequency signals.
• Biomedical Equipment: Used in GPS or medical devices where low-frequency AC
signals are needed for testing sensors.
7
Wien Bridge Oscillator
1. Introduction
The Wien Bridge Oscillator is the standard oscillator circuit for generating Audio
Frequencies (20 Hz – 200 kHz). Unlike the RC Phase Shift oscillator which uses a single
transistor, the Wien Bridge usually uses two transistor stages to create a 360∘ phase shift.
2. Construction
The circuit consists of two main blocks: the Amplifier and the Bridge Network.
DC Power Feedback
Supply
CE Amplfier
CE Amplfier
3. Working Principle
1. The "Start-Up"
When power is switched on, noise currents start flowing in the circuit. This noise contains all
frequencies.
2. Frequency Selection
The feedback network (Series 𝑅𝐶+ Parallel 𝑅𝐶) acts as a Band-Pass Filter.
• At low frequencies, the Series Capacitor blocks the signal.
• At high frequencies, the Parallel Capacitor shorts the signal to ground.
8
• Only at the Resonant Frequency (𝑓𝑟 ), the bridge allows the maximum signal to pass
through with exactly 0∘ phase shift.
3. Sustained Oscillation
The selected frequency fr is fed into the first transistor (Q1), amplified and inverted (180∘ ),
then fed to the second transistor (Q2), amplified and inverted again (180∘ ).
• The total loop phase shift is 0∘ + 180∘ + 180∘ = 3360∘ .
• The signal reinforces itself, leading to sustained oscillations.
5. Advantages
1. Variable Frequency: It is very easy to change the frequency by using a variable
capacitor (gang condenser) or variable resistor (potentiometer). The frequency varies
as $1/R$, whereas in LC oscillators it varies as 1/√𝐿
2. Excellent Stability: The frequency is very stable compared to other RC oscillators.
3. Pure Sine Wave: The output has very low distortion because of the negative feedback
used for stabilization.
4. Constant Output: The amplitude of the output voltage remains relatively constant
across different frequencies.
6. Disadvantages
1. Complexity: Requires two transistors and more components than the single-transistor
RC Phase Shift oscillator.
2. Frequency Limit: Cannot generate very high frequencies (RF) due to the limitations
of resistors and capacitors at high speeds. Ideally limited to <1MHz
7. Applications
1. Lab Signal Generators: Standard Audio Frequency (AF) signal generators used in
labs use Wien Bridge circuits.
2. Audio Testing: Used to test amplifiers and filters.
3. Distortion Analyzers: Used as a reference source for measuring distortion in audio
equipment.
9
A BJT-based RC Phase Shift Oscillator is built using three identical RC sections in the
feedback network. The component values used are:
• Resistors (𝑅): 10 k𝛺
• Capacitors (𝐶): 0.01 𝜇F
Determine:
1. The Frequency of Oscillation (𝑓𝑟 ).
2. The Feedback Factor (𝛽) of the network at resonance.
3. The minimum Voltage Gain (𝐴𝑣 ) required from the transistor amplifier to sustain
oscillations.
Solution:
1. Frequency of Oscillation (𝑓𝑟 ):
Formula:
1
𝑓𝑟 =
2𝜋𝑅𝐶 √6
Substitute values:
𝑅 = 10 × 103 𝛺
𝐶 = 0.01 × 10−6 F = 10−8 F
√6 ≈ 2.45
1
𝑓𝑟 =
2 × 3.1416 × 104 × 10−8 × 2.45
1
𝑓𝑟 =
0.001539
𝑓𝑟 ≈ 𝟔𝟒𝟗 𝐇𝐳
2. Feedback Factor (𝛽):
For a standard 3-section RC ladder network, the attenuation is fixed mathematically.
1
𝛽=
29
(Note: It is unitless).
3. Minimum Gain (𝐴𝑣 ):
Using the Barkhausen Criterion |𝐴𝛽| ≥ 1:
1
𝐴≥
𝛽
𝐴 ≥ 29
Answer: The amplifier must have a gain of at least 29.
Hartley oscillator
The Hartley oscillator is a tuned LC tank circuit constructed consisting of one capacitor, two
inductors, and a transistor serving as the amplifying element. Due to its adaptability, it can be
used in a wide range of RF communication systems, including frequency synthesizers, signal
generators, and local oscillators in radio transmitters and receivers. The Hartley oscillator is a
primary source of RF circuit design because of its simplicity, efficiency, and ease of
application. Thus, Hartley oscillators are widely used in industrial applications.
Construction
The feedback part of the tuned LC tank circuit is taken from the centre tap of the inductor
coil. inductance L acts like two separate coils in very close proximity with the current
flowing through coil section XY induces a signal into coil section YZ below.
11
Working
When the circuit is oscillating, the voltage at point X (collector), relative to
point Y (emitter), is 180o out-of-phase with the voltage at point Z (base) relative to point Y.
At the frequency of oscillation, the impedance of the Collector load is resistive and an
increase in Base voltage causes a decrease in the Collector voltage.
Principle: It uses an amplifier (BJT or Op-Amp) and an LC tank circuit for feedback.
The tank circuit provides a 180∘ phase shift, and the amplifier provides another 180∘ ,
creating the required $ 360∘ (or 0∘ ) positive feedback.
The amount of feedback depends upon the position of the “tapping point” of the
inductor. If this is moved nearer to the collector the amount of feedback is increased, but the
output taken between the Collector and earth is reduced and vice versa.
Resistors, R1 and R2 provide the usual stabilizing DC bias for the transistor in the
normal manner while the capacitors act as DC-blocking capacitors.
In this Hartley Oscillator circuit, the DC Collector current flows through part of the
coil and for this reason the circuit is said to be “Series-fed” with the frequency of oscillation
of the Hartley Oscillator being given as.
1
𝑓𝑟 =
2𝜋√𝐿𝑒𝑞 𝐶
𝐿𝑒𝑞 = 𝐿1 + 𝐿2 + 2𝑀
𝐿1 , 𝐿2 : Inductance of the two sections of the coil.
𝑀 Mutual inductance between the coils (often ignored in basic calculations, so
𝐿𝑒𝑞 ≈ 𝐿1 + 𝐿2
𝐶: The tank capacitor.
4. Advantages
1. Easy Tuning: You can vary the frequency over a wide range using a single Variable
Capacitor (tuning capacitor). The amplitude of the output remains fairly constant as
you tune it.
2. Simple Construction: It requires very few components compared to other oscillators
(like the Wien Bridge).
12
3. Good for RF: It is extremely reliable for generating Radio Frequencies (typically 20
kHz to 30 MHz).
5. Disadvantages
1. Not for Low Frequencies: To generate Audio Frequencies (e.g., 50 Hz), the value of
L would need to be huge, making the inductor physically large, heavy, and expensive.
2. Harmonic Distortion: The output is not a pure sine wave. It often contains
harmonics (multiples of the fundamental frequency) because of the strong feedback.
3. Mutual Inductance Complexity: In practical circuits, calculation is tricky because
you must account for the magnetic coupling ($M$) between the two coil sections.
6. Applications
1. Radio Receivers: It is the standard "Local Oscillator" in AM/FM radio receivers to
mix with the incoming signal.
2. RF Signal Generators: Used in laboratory equipment to generate high-frequency
sine waves.
3. Function Generators: Used as the source for the high-frequency range.
Problem
A Hartley Oscillator consists of a tank circuit with two inductor sections of 𝐿1 = 1mH and
𝐿2 = 1mH. The mutual inductance between them is negligible (𝑀 = 0). The capacitor used is
𝐶 = 10nF. Calculate the Frequency of Oscillation.
𝐿𝑒𝑞 = 𝐿1 + 𝐿2 = 1mH + 1mH = 2mH = 2 × 10−3 H
𝐶 = 10nF = 10 × 10−9 F
1
𝑓𝑟 =
2𝜋√𝐿𝑒𝑞 𝐶
1
𝑓𝑟 =
2𝜋√(2 × 10−3 )(10 × 10−9 )
1
𝑓𝑟 =
2𝜋√20 × 10−12
1
𝑓𝑟 =
2𝜋 × 4.47 × 10−6
𝑓𝑟 ≈ 35.6kHz
Colpitts Oscillator
It is the "twin" of the Hartley oscillator. While Hartley uses a voltage divider made of
Inductors, Colpitts uses a voltage divider made of Capacitors.
1. Introduction
The Colpitts Oscillator is widely regarded as the most stable LC oscillator. It is the preferred
choice for signal generators operating at high Radio Frequencies (RF).
• Identification: If you see two capacitors (in series) and one inductor in the
feedback network, it is a Colpitts Oscillator.
• Principle: The tank circuit consists of an Inductor (𝐿) in parallel with two series
capacitors (𝐶1 and 𝐶2 ). The feedback voltage is taken across 𝐶2 . The capacitive
voltage divider provides the necessary phase shift to sustain oscillations.
2. Circuit Diagram
13
An inductor L is connected parallel to the serial combination of capacitors C1 and C2 (shown
by the red enclosure). Other components in the circuit are the same as that found in the case
of common-emitter CE, which is biased using a voltage divider network, i.e., RC is the
collector resistor, RE is the emitter resistor which is used to stabilize the circuit, and the
resistors R1 and R2 form the voltage divider bias network.
4. Advantages
1. Superior Stability: It is much more stable than the Hartley oscillator. Because
capacitors are less prone to temperature drift and mutual coupling issues than
inductors, the frequency stays constant.
2. Pure Waveform: It produces a cleaner sine wave with less harmonic distortion than
the Hartley.
3. High Frequency: It is excellent for very high frequencies (VHF/UHF), up to 100
MHz or more.
5. Disadvantages
1. Hard to Tune: This is its biggest weakness. To change the frequency smoothly, you
must change both 𝐶1 and 𝐶2 simultaneously while keeping their ratio constant. This
requires a special "ganged" capacitor, which is bulky and expensive.
2. Low Output Voltage: The feedback fraction depends on the ratio of 𝐶1 /𝐶2 . If this
ratio isn't perfect, the oscillation might die out.
14
6. Applications
1. Mobile Communications: Used in cell phones and radios for generating high-
frequency carrier waves.
2. Microwave Systems: Ideally suited for microwave generation.
3. Surface Acoustical Wave (SAW) Resonators: Often used in sensors and remote
controls.
7. Problem:
A Colpitts Oscillator is designed with a tank circuit having an inductor 𝐿 = 100 𝜇H. The
capacitive divider consists of two capacitors: 𝐶1 = 10 nF and 𝐶2 = 10 nF.
Calculate the Frequency of Oscillation.
Solution:
Step 1: Calculate Equivalent Capacitance (𝐶𝑒𝑞 )
Since 𝐶1 and 𝐶2 are in series:
𝐶1 𝐶2 10 × 10 100
𝐶𝑒𝑞 = = = = 𝟓 𝐧𝐅
𝐶1 + 𝐶2 10 + 10 20
(Or simply: since they are equal, the total is half: 10/2 = 5).
𝐶𝑒𝑞 = 5 × 10−9 F
Step 2: Calculate Frequency (𝑓𝑟 )
1
𝑓𝑟 =
2𝜋 √𝐿𝐶𝑒𝑞
−6
Substitute values (𝐿 = 100 × 10 ):
1
𝑓𝑟 =
2𝜋 √(100 × 10−6 )(5 × 10−9 )
1
𝑓𝑟 =
2𝜋 √500 × 10−15
1
𝑓𝑟 =
2𝜋 √5 × 10−13
1
𝑓𝑟 =
2𝜋(7.07 × 10−7 )
1
𝑓𝑟 ≈
4.44 × 10−6
𝑓𝑟 ≈ 𝟐𝟐𝟓 𝐤𝐇𝐳
Answer: The circuit oscillates at 225 kHz.
15
The Operational Amplifier (Op-Amp)
Introduction: What is it?
Definition: An Operational Amplifier (Op-Amp) is a high-gain, DC-coupled electronic
voltage amplifier with a differential input and, usually, a single-ended output.
Construction of an OpAmp
+VCC -VEE
Intermediate
Input Differential Level Shifting
(Gain) Stage Output Stage Class
Amplifier + Stage Emitter
Common Emitter AB Push-Pull
Current Mirror Follower
(CE) Amplifier
V- Inverting V+ Non
Input Inverting
Input
16
Why you have offset Null pin?
Offset Null (Pins 1 and 5)
These pins are used to fix a manufacturing imperfection inside the chip.
• The Problem (Input Offset Voltage): In an ideal Op-Amp, if you connect both inputs (Pin 2
and Pin 3) to Ground (0V), the Output should be exactly 0V. In reality, the internal
transistors (Q1 and Q2) are never perfectly identical. One might be slightly stronger than the
other. This imbalance causes a small error voltage (Offset Voltage) to appear at the output,
even with no input signal.
• The Solution (The "Tare" Button): Pins 1 and 5 allow you to manually balance the internal
currents. By connecting an external potentiometer, you can "tune" the circuit to force the output
to zero.
No Connection / NC (Pin 8)
This pin is exactly what it sounds like: It does nothing.
Why is it there?
Standardization: The industry standard package for chips is the 8-Pin DIP (Dual Inline
Package). It is a square with 4 legs on each side.
The 741 Op-Amp only required 7 functional connections.
1. Why DC Coupled?
17
Definition: "DC Coupled" (Direct Coupled) means there are no capacitors in the signal path
inside the chip. The amplifier can amplify frequencies all the way down to 0 Hz (DC).
Reason 1: Processing "Slow" Real-World Signals
Most signals in engineering are not music (AC); they are slow-changing or static values.
• Example: A temperature sensor in a boiler might output 2.5V and stay there for
hours.
• The Problem: If you used a standard AC-coupled amplifier (like in a stereo), the
internal capacitors would block this 2.5V DC signal. The output would drop to zero.
• The Op-Amp Solution: Because it is DC coupled, if the input is 2.5V, the output
stays at the amplified level forever. This allows it to measure temperature, pressure,
weight, and acceleration.
Reason 2: Performing Mathematics
Remember, this was designed for Analog Computers.
• To perform Integration, you need to handle constants.
• If you integrate a constant voltage (DC), you get a ramp.
• If the amplifier couldn't handle DC, the math would fail. You cannot build an
integrator or summer without DC coupling.
18
• The Problem: To get high gain, you need a huge 𝑅𝐶 (Mega-Ohms). But inside a
silicon chip, a Mega-Ohm resistor would be physically huge (larger than the entire
chip!).
{Some Points to remember about Load.
• 𝑅𝐶 (Collector Resistor) →The "Internal" Load.
o It is part of the Amplifier itself.
−𝑅
o Its job is to convert Current into Voltage. 𝐴𝑣 = ′𝐶
𝑟𝑒
o Without 𝑅𝐶 , the transistor would just pump current, but you would get zero voltage output.
• 𝑅𝐿 (Load Resistor) → The "External" Load.
o This is the customer of your signal.
o It represents whatever you are connecting to the amplifier: a Speaker, a Headphone, or the
−(𝑅𝐶 ∣∣𝑅𝐿 )
Input of the next amplifier stage. 𝐴𝑣 = ′
𝑟𝑒
The Solution:
Instead of a resistor, we use a Current Mirror (made of transistors) as the load.
• Why? A transistor in its active region acts like a Constant Current Source.
• The Physics: An ideal current source has infinite internal resistance (𝑟𝑜 ).
• The Result: To the signal, this "Active Load" looks like a resistor of hundreds of
Mega-Ohms, but physically it takes up the tiny space of just two transistors.
• Gain Boost: This trick alone boosts the gain from ~50 to ~5,000 in a single stage.
2. Cascading (Multi-Stage Design)
One stage is rarely enough. The Op-Amp connects multiple amplifiers in a chain (Series).
𝑇𝑜𝑡𝑎𝑙𝐺𝑎𝑖𝑛 = 𝐴1 × 𝐴2 × 𝐴3
• Stage 1 (Differential Amplifier):
o Focuses on rejecting noise and having high input impedance.
o Gain is moderate (e.g., 500).
• Stage 2 (Intermediate/Gain Stage):
o Usually a Common Emitter amplifier with an Active Load.
o This stage provides the bulk of the voltage gain (e.g., 2,000).
• Stage 3 (Output Stage):
o Focuses on current, not voltage. Gain is approx 1.
o Low output impedance to drive loads.
Total Gain: 500 × 2000 × 1 = 1,000,000
4. Why the Name "Operational": It was originally named because it was used to perform
mathematical operations in early analog computers:
o Addition (Summing)
o Subtraction (Difference)
o Integration (Integrator)
o Differentiation (Differentiator)
• Symbol: A triangle pointing to the right.
o Two Inputs: Inverting (-) and Non-Inverting (+).
o One Output: (Vout).
o Power Supply: Dual supply (+VCC and -VEE) is standard.
19
• The Need: They needed a universal building block that could multiply voltages, add
signals, and integrate over time precisely, without the gain changing due to
temperature or manufacturing differences.
• The Innovation: The Op-Amp was designed to have massive gain (Open Loop
Gain) so that when you add Negative Feedback, the circuit's performance depends
only on the external resistors, not the transistor's internal properties.
6. The IC 741
• Who Invented It?
o The Pioneer: Bob Widlar (at Fairchild Semiconductor) created the first
successful IC op-amps (A702, A709) in the mid-1960s. He is considered the
"rock star" of analog design.
o The 741 Creator: Dave Fullagar (at Fairchild) designed the A741 in 1968.
• Why is the 741 Famous?
o Before the 741, op-amps were unstable and would oscillate (freak out) unless
you added complex external capacitors.
o Fullagar put a 30 pF capacitor inside the chip (Internal Compensation). This
made the 741 "stable" and incredibly easy to use. It became the standard for 50
years.
• Indian Context:
o In India, the 741 (often made by Texas Instruments, ST, or generic brands) is
the "ABCD" of electronics labs. Every engineering student in India starts with
this chip because it is robust (hard to kill), cheap (₹5 - ₹10), and available in
every market from Lamington Road (Mumbai) to Ritchie Street (Chennai).
20
• Comparators: Comparing two voltages (e.g., in a thermostat: "Is Temp > Set
Point?").
Current Mirror
A Current Mirror is primarily related to the Differential Amplifier and a non-negotiable
building block of the Differential Amplifier inside an Op-Amp.
1. The "Tail Current" Source (Biasing)
In a standard Differential Amplifier (like the input stage of a 741 Op-Amp), the two input
transistors (Q1 and Q2) share a common emitter connection.
• The Problem: If you use a simple resistor 𝑅𝐸 to bias them, the current 𝐼𝐸 changes
whenever the input voltage changes (Common Mode signal). This ruins the
amplifier's ability to reject noise.
• The Solution: You replace the resistor with a Current Mirror.
o The Current Mirror acts as a Constant Current Source.
o It forces the total current 𝐼𝐸 = 𝐼𝐶1 + 𝐼𝐶2 to stay perfectly fixed, regardless of
the input voltage.
o Result: The Common Mode Rejection Ratio (CMRR) becomes almost
infinite (ideal), meaning it amplifies the difference signal perfectly and ignores
the noise.
2. Active Load (High Gain)
In modern IC design, Current Mirrors are also used on top of the differential pair as an
"Active Load".
• Instead of using passive Collector Resistors 𝑅𝐶 , the circuit uses a Current Mirror.
• Why? A transistor looks like a huge resistance (infinite impedance) to AC signals.
• Benefit: This trick creates an incredibly high Voltage Gain 𝐴𝑣 ≈ 𝑔𝑚 × 𝑟𝑜 without
needing physically large resistors on the silicon chip.
21
Q10 Mirror Coupled
to Q1 ad Q2 Diff amp
Secondary Mirror
22
Current Source) is much better at driving non-linear loads because it delivers a set
amount of electrons regardless of the load's instantaneous resistance.
23
2. The "Sensor": The transistor 𝑄2 sees its Collector current trying to drop.
3. The Physics: But the Base Voltage (𝑉𝐵𝐸 ) is still pushing hard (fixed at 0.7V). The
"Valve" is still forced open to the 1 mA setting.
4. The "Nullification" (The Voltage Shift):
To force 1 mA through a bigger resistor, the circuit must change the voltage.
o Equation: 𝑉𝐶𝐶 = 𝑉𝑄2_𝐼𝑛𝑡𝑒𝑟𝑛𝑎𝑙 + 𝑉𝐿𝑜𝑎𝑑
o 𝑉𝐿𝑜𝑎𝑑 increases (from 1𝑉 → 2𝑉 because 𝑉 = 𝐼𝑅).
o Therefore, 𝑉𝑄2_𝐼𝑛𝑡𝑒𝑟𝑛𝑎𝑙 (𝑉𝐶𝐸 ) automatically shrinks to make room for the
Load's needs.
5. Result: The Transistor "eats" less voltage so the Load can have more. The current
stays exactly at 1 mA.
24
Differential amplifier
It is called a Differential Amplifier because its primary job is to amplify the difference
between two input signals, while ignoring (rejecting) any voltage that is common to both.
𝑉𝑜𝑢𝑡 = 𝐴𝑑 × (𝑉1 − 𝑉2 )
1. Differential Mode (Double-Ended Operation)
This is the "standard" or ideal way to use the amplifier.
𝑉𝑜𝑢𝑡 𝑅𝐶
𝐴𝑑 = = 𝑔𝑚 𝑅𝐶 or
𝑉𝑖𝑛 𝑟𝑒
𝑟𝑒 Internal Emitter Resistance (≈ 26𝑚𝑉/𝐼𝐸 )
• The Setup: You apply two opposite signals to the inputs.
o Input 1: +𝑉𝑖𝑛 (Sine wave going up).
o Input 2: −𝑉𝑖𝑛 (Sine wave going down).
• The Action: Since the amplifier subtracts them:
(+𝑉𝑖𝑛 ) − (−𝑉𝑖𝑛 ) = 2𝑉𝑖𝑛
• Result: The amplifier sees a huge signal difference. The output voltage swings
maximumly.
• Use Case: This is how balanced audio cables (XLR microphones) work to eliminate
noise over long distances.
2. Common Mode
This mode is used to test the amplifier's quality (its ability to ignore noise).
• The Setup: You apply the exact same signal to both inputs.
o Input 1: +𝑉𝑖𝑛 .
o Input 2: −𝑉𝑖𝑛
• The Action: Theoretically, the difference is zero:
(+𝑉𝑖𝑛 ) − (+𝑉𝑖𝑛 ) = 0
25
• Result: Ideally, the output should be Zero. In reality, a tiny bit of voltage leaks
through. The ability to block this is called CMRR (Common Mode Rejection
Ratio).
−𝛽𝑅𝐶 −𝑅𝐶
𝐴𝑐 = ≈
𝑟𝜋 + 2(𝛽 + 1)𝑅𝐸 2𝑅𝐸
(Since RE is usually very large, this gain is extremely small, typically << 1).
𝑔𝑚 𝑅𝐶 𝑅𝐶
𝐴𝑑 = or
2 2𝑟𝑒
• The Setup: You connect one input to Ground and drive the other input.
o Case A (Non-Inverting): Input 1 gets signal, Input 2 is Grounded. Output is
in-phase.
o Case B (Inverting): Input 1 is Grounded, Input 2 gets signal. Output is
inverted (180° phase shift).
• The Action: The difference is simply 𝑉𝑖𝑛 − 0 = 𝑉𝑖𝑛
• Result: It acts like a normal amplifier. You get gain, but you lose the noise-canceling
benefits of the Differential Mode.
If you take the output from both collectors (Differential Output), the gain is double the gain
obtained if you take the output from just one collector (Single-Ended Output).
26
Calculations
Problem Statement:
You are designing a control circuit for a heater. You have two voltage sensors, 𝑉𝐴 and 𝑉𝐵 . You
need to implement the following mathematical equation using a single Op-Amp:
𝑉𝑜𝑢𝑡 = 5(𝑉𝐵 − 𝑉𝐴 )
If you choose the input resistors (𝑅1 ) to be 10𝑘𝛺, calculate the required values for the
Feedback Resistor (𝑅𝑓 ) and the resistor connected to ground (𝑅𝑔 ). Draw the circuit.
• Identify: This is a differential amplifier with Gain 𝐴𝑑 = 5.
𝑅𝑓
• Formula: 𝐴𝑑 =
𝑅1
𝑅𝑓
• Apply: 5 = 10𝑘𝛺 → 𝑅𝑓 = 50𝑘𝛺.
• Balance Rule: For a true subtractor, the resistor ratios must be balanced. Therefore,
𝑅𝑔 (on the non-inverting pin) must equal 𝑅𝑓 .
• Answer: 𝑅𝑓 = 50𝑘𝛺, 𝑅𝑔 = 50𝑘𝛺.
27
You need to amplify this small difference so that "Full Load" reads as 2𝑉 on your
microcontroller.
1. Calculate the Differential Gain (𝐴𝑑 ) required.
2. Select resistor values to achieve this, assuming the input resistance must be at least
100𝑘𝛺 to avoid loading the sensor.
28
1. The output voltage due to the Signal.
2. The output voltage due to the Noise.
3. The Total Output Voltage and the percentage of error.
Solution:
Step 1: Convert CMRR from dB to Linear Ratio
The formula is: CMRRdB = 20log 10 (CMRR)
80 = 20log 10 (CMRR)
4 = log 10 (CMRR)
CMRR = 104 = 10,000
Step 2: Find Common Mode Gain (𝐴𝑐𝑚 )
Since CMRR = 𝐴𝑑 /𝐴𝑐𝑚 :
2000
10,000 =
𝐴𝑐𝑚
2000
𝐴𝑐𝑚 = = 𝟎. 𝟐
10,000
(Note: This means the amplifier actually attenuates the noise, which is good!)
Step 3: Calculate Output Components
• Signal Output: 𝑉𝑜 (sig) = 𝐴𝑑 × 𝑉𝑑 = 2000 × 2 mV = 4000 mV = 𝟒 𝐕.
• Noise Output: 𝑉𝑜 (noise) = 𝐴𝑐𝑚 × 𝑉𝑐𝑚 = 0.2 × 500 mV = 100 mV = 𝟎. 𝟏 𝐕.
Step 4: Total & Error
• Total Output: 4 V + 0.1 V = 𝟒. 𝟏 𝐕.
• Percentage Error: (0.1 V/4 V) × 100 = 𝟐. 𝟓%.
29
CMRRdB = 20log 10 (200,000)
CMRRdB ≈ 20 × 5.3
𝐂𝐌𝐑𝐑 ≈ 𝟏𝟎𝟔 𝐝𝐁
Conclusion: You cannot use a standard Op-Amp (typically 90dB). You must select a high-
precision Instrumentation Amplifier with CMRR > 106dB.
30