---
theme: default
title: 'Lecture 41: LC oscillators: (1) Hartley oscillator, (2) Colpitts oscilla...'
info: |
  ## DI02011011: Electronics Circuit and Application (ECA)
  Oscillators
---

# DI02011011: Electronics Circuit and Application (ECA)
## Lecture 41: LC oscillators: (1) Hartley oscillator, (2) Colpitts oscilla...
### Oscillators

<!--
Welcome to today's lecture on LC Oscillators, focusing specifically on Hartley and Colpitts topologies. LC oscillators are the cornerstone of high-frequency and radio-frequency (RF) signal generation. In this session, we will analyze the frequency-determining LC tank circuits, derive the oscillation frequency equations, and evaluate the minimum gain requirements for sustained oscillations based on the Barkhausen criterion.
-->

---

# Lecture Agenda: LC Resonant Oscillators

- 1. Principles of LC Resonance & Barkhausen Criterion for Sustained Oscillation
- 2. Hartley Oscillator Topology: Circuit Schematic, Tapped Inductor & Operation
- 3. Mathematical Derivation of Hartley Oscillation Frequency ($f_o$) and Minimum Gain ($A_v$)
- 4. Colpitts Oscillator Topology: Circuit Schematic, Capacitive Divider & Operation
- 5. Mathematical Derivation of Colpitts Oscillation Frequency ($f_o$) and Minimum Gain ($A_v$)
- 6. Op-Amp vs. Transistor (CE) Implementations & Practical High-Frequency Constraints
- 7. Clapp Oscillator Enhancement & Frequency Stability Improvements

<!--
Here is our roadmap for today's lecture. We will start with the core theoretical foundation of LC tank resonance and loop phase conditions. Then we will proceed step-by-step through the circuit analysis, mathematical derivations, design examples, and comparative evaluations for both Hartley and Colpitts oscillators.
-->

---

# Principles of LC Resonance & Barkhausen Criterion

- Parallel LC Resonant Tank: Consists of an inductor $L$ and capacitor $C$ in parallel. Tank impedance is given by $Z_{tank} = \frac{j\omega L}{1 - \omega^2 L C}$. At resonance $\omega_0 = 1/\sqrt{LC}$, $Z_{tank} \to \infty$ (purely resistive $R_p = Q \omega_0 L$).
- Barkhausen Criterion for Oscillation: Loop gain must satisfy $|T(j\omega_0)| = |A(j\omega_0) \beta(j\omega_0)| \ge 1$ with total phase shift $\angle T(j\omega_0) = 0^\circ \text{ or } 360^\circ$.
- Phase Distribution: Active amplifying device (e.g., Common-Emitter BJT) provides $180^\circ$ phase inversion; feedback network $\beta(j\omega)$ must provide an additional $180^\circ$ phase shift at resonance $\omega_0$.
- Energy Exchange Dynamics: Energy continuously exchanges between the magnetic field of inductor $L$ ($E_B = \frac{1}{2} L I^2$) and electric field of capacitor $C$ ($E_E = \frac{1}{2} C V^2$). The active amplifier replenishing $I^2 R$ tank losses to maintain constant amplitude.

<!--
To understand LC oscillators, we must first examine parallel LC resonance. At the resonant frequency omega-0, the inductive and capacitive reactances cancel out, making the tank circuit appear purely resistive with maximum impedance. According to Barkhausen's criterion, for the circuit to oscillate continuously, the total loop gain must be at least unity and the total phase shift around the loop must be an integer multiple of 360 degrees. Since a common-emitter transistor inherently provides a 180-degree phase shift, the LC feedback network must supply the remaining 180 degrees at resonance.
-->

---

# Hartley Oscillator Topology & Operation

- Tank Circuit Architecture: Employs a center-tapped (split) inductor ($L_1, L_2$) or two series inductors connected in parallel with a single tuning capacitor $C$.
- Feedback Mechanism: The tap point of the inductor is connected to AC ground (or cathode/emitter reference). Inductor $L_1$ forms collector load; inductor $L_2$ connects to base/emitter feedback path.
- Autotransformer Action: Currents flowing in opposite directions relative to the grounded tap create a $180^\circ$ phase shift between input and output voltages across the tank.
- Total Equivalent Inductance: $L_{eq} = L_1 + L_2 + 2M$, where $M$ is mutual inductance between coils ($L_{eq} = L_1 + L_2$ if mutual coupling is negligible).
- DC Biasing & Isolation: DC collector bias supplied through RF Choke (RFC) presenting high impedance to RF signals; blocking capacitors isolate DC voltages from tank coils.

<!--
The Hartley oscillator is characterized by its tapped inductor network. By grounding the center tap of the inductor, the voltages at opposite ends of the coil are forced to be 180 degrees out of phase with respect to ground. This autotransformer effect provides the required phase inversion for positive feedback. An RF choke is critical in the collector path to pass DC bias while blocking high-frequency AC signals from leaking into the power supply.
-->

---

# Hartley Oscillator Derivation & Mathematical Analysis

- Feedback Factor ($\beta$): Defined as ratio of feedback voltage across $L_2$ to output voltage across $L_1$: $\beta = \frac{V_{fb}}{V_{out}} = \frac{X_{L2}}{X_{L1}} = \frac{j\omega L_2 + j\omega M}{j\omega L_1 + j\omega M} = \frac{L_2 + M}{L_1 + M}$.
- Oscillation Frequency ($f_o$): Resonant frequency where net tank reactance is zero: $f_o = \frac{1}{2\pi \sqrt{L_{eq} C}} = \frac{1}{2\pi \sqrt{(L_1 + L_2 + 2M) C}}$.
- Minimum Gain Requirement: Substituting $\beta$ into Barkhausen criterion $|A_v \beta| \ge 1$ yields $|A_v| \ge \frac{1}{\beta} = \frac{L_1 + M}{L_2 + M}$. Without mutual coupling ($M = 0$), $|A_v| \ge \frac{L_1}{L_2}$.
- Transconductance Condition for BJT CE Stage: $g_m R_L' \ge \frac{L_1}{L_2}$, where $R_L' = R_C \parallel R_{in,stage} \parallel r_o$ is equivalent load resistance.

<!--
Let's perform the mathematical derivation for the Hartley oscillator. By calculating the voltage division ratio across the tapped inductors, we find that the feedback factor beta equals (L2 + M) / (L1 + M). When mutual inductance M is zero, beta simply reduces to L2 / L1. Applying Barkhausen's criterion |A*beta| = 1 reveals that the voltage gain of the active amplifier must be at least L1 / L2 for sustained oscillations.
-->

---

# Hartley Oscillator Component Design Example

- Problem Statement: Design a BJT Hartley oscillator to operate at $f_o = 1.0\text{ MHz}$ using a tuning capacitor $C = 470\text{ pF}$. The common-emitter amplifier provides voltage gain $A_v = 15$. Determine total required inductance $L_{eq}$ and individual inductances $L_1$ and $L_2$ (assume mutual coupling $M = 0$).
- Step 1: Compute Total Equivalent Inductance ($L_{eq}$): $L_{eq} = \frac{1}{4\pi^2 f_o^2 C} = \frac{1}{4\pi^2 (10^6)^2 (470 \times 10^{-12})} \approx 53.89\text{ }\mu\text{H}$.
- Step 2: Apply Gain Criterion to determine Inductance Ratio: $|A_v| = \frac{L_1}{L_2} = 15 \Rightarrow L_1 = 15 L_2$.
- Step 3: Solve System of Equations for $L_1$ and $L_2$: $L_{eq} = L_1 + L_2 = 15 L_2 + L_2 = 16 L_2 = 53.89\text{ }\mu\text{H}$.
- Step 4: Calculate Component Values: $L_2 = \frac{53.89\text{ }\mu\text{H}}{16} \approx 3.37\text{ }\mu\text{H}$; $L_1 = 15 \times 3.37\text{ }\mu\text{H} \approx 50.52\text{ }\mu\text{H}$.

<!--
Here is a practical step-by-step design example. Given a target oscillation frequency of 1 MHz and a 470 pF capacitor, we first calculate the total equivalent tank inductance L_eq to be 53.89 microhenries. Next, using the amplifier gain constraint A_v = 15, we establish that L1 must be 15 times L2. Solving these two equations simultaneously gives L2 = 3.37 microhenries and L1 = 50.52 microhenries.
-->

---

# Colpitts Oscillator Topology & Capacitive Divider

- Tank Circuit Architecture: Consists of a single inductor $L$ connected in parallel with a capacitive voltage divider comprising two series capacitors $C_1$ and $C_2$.
- Center Tap Grounding: Junction between $C_1$ and $C_2$ is connected to AC ground. Capacitor $C_1$ is connected across output (collector/drain); $C_2$ is connected across input (base/gate).
- Phase Inversion Mechanism: AC current through series pair ($C_1, C_2$) creates equal and opposite polarities across $C_1$ and $C_2$ relative to central ground node, yielding exact $180^\circ$ phase shift.
- Equivalent Series Tank Capacitance ($C_{eq}$): $C_{eq} = \frac{C_1 C_2}{C_1 + C_2}$.
- Superior High-Frequency Performance: Parasitic input/output capacitances of transistor are absorbed directly into parallel tuning capacitors $C_1$ and $C_2$.

<!--
Now let's examine the Colpitts oscillator. Instead of a tapped inductor, Colpitts uses a capacitive voltage divider consisting of C1 and C2 in series. Grounding the junction between C1 and C2 creates a 180-degree phase shift between output and input. A major advantage of Colpitts over Hartley is superior frequency stability at high frequencies because transistor stray capacitances merge into C1 and C2.
-->

---

# Colpitts Oscillator Derivation & Mathematical Analysis

- Feedback Factor ($\beta$): Defined as ratio of feedback voltage across $C_2$ to output voltage across $C_1$: $\beta = \frac{V_{fb}}{V_{out}} = \frac{X_{C2}}{X_{C1}} = \frac{1 / (j\omega C_2)}{1 / (j\omega C_1)} = \frac{C_1}{C_2}$.
- Oscillation Frequency ($f_o$): Resonant frequency of LC tank: $f_o = \frac{1}{2\pi \sqrt{L C_{eq}}} = \frac{1}{2\pi \sqrt{L \frac{C_1 C_2}{C_1 + C_2}}}$.
- Minimum Gain Requirement: Applying Barkhausen criterion $|A_v \beta| \ge 1$ gives $|A_v| \ge \frac{1}{\beta} = \frac{C_2}{C_1}$.
- Small-Signal BJT Transistor Condition: $h_{fe} \ge \frac{C_2}{C_1}$ or $g_m R_L' \ge \frac{C_2}{C_1}$. To ensure reliable startup, design ratio is typically set to $C_2 / C_1 \approx 10$ to $20$.

<!--
In our mathematical analysis of the Colpitts oscillator, the reactances of C1 and C2 determine the feedback factor beta = C1 / C2. Notice the inversion: beta is proportional to C1 divided by C2 because capacitive reactance is inversely proportional to capacitance. Consequently, Barkhausen's criterion dictates that amplifier voltage gain A_v must exceed C2 / C1.
-->

---

# Colpitts Oscillator Detailed Calculation Example

- Problem Statement: A Colpitts oscillator operates at $f_o = 5.0\text{ MHz}$ using an inductor $L = 10.0\text{ }\mu\text{H}$. If the active stage requires a gain condition $A_v = C_2 / C_1 = 10$, calculate $C_1$, $C_2$, and equivalent capacitance $C_{eq}$.
- Step 1: Calculate Required Equivalent Capacitance ($C_{eq}$): $C_{eq} = \frac{1}{4\pi^2 f_o^2 L} = \frac{1}{4\pi^2 (5 \times 10^6)^2 (10 \times 10^{-6})} = \frac{1}{4\pi^2 (2.5 \times 10^{14}) (10^{-5})} \approx 101.32\text{ pF}$.
- Step 2: Express $C_{eq}$ in Terms of $C_1$ using $C_2 = 10 C_1$: $C_{eq} = \frac{C_1 (10 C_1)}{C_1 + 10 C_1} = \frac{10 C_1^2}{11 C_1} = \frac{10}{11} C_1$.
- Step 3: Solve for $C_1$: $C_1 = \frac{11}{10} C_{eq} = 1.1 \times 101.32\text{ pF} \approx 111.45\text{ pF}$.
- Step 4: Solve for $C_2$: $C_2 = 10 \times C_1 = 10 \times 111.45\text{ pF} \approx 1114.5\text{ pF}$ (standard $1.1\text{ nF}$).

<!--
Let's walk through this numerical Colpitts design example. For a 5 MHz operating frequency and 10 microhenry inductor, the equivalent series capacitance C_eq must be 101.32 pF. Given the gain requirement C2 / C1 = 10, substituting C2 = 10 C1 into the series capacitance equation gives C_eq = (10/11) C1. Solving yields C1 = 111.45 pF and C2 = 1114.5 pF.
-->

---

# Op-Amp Based Hartley & Colpitts Implementations

- Inverting Op-Amp Configuration: Op-amp connected in inverting amplifier configuration provides $180^\circ$ internal phase shift with voltage gain $A_v = -R_f / R_1$.
- Op-Amp Hartley Circuit: Tapped inductor tank ($L_1, L_2, C$) connected between output and inverting input. Closed-loop gain constraint: $\frac{R_f}{R_1} \ge \frac{L_1}{L_2}$.
- Op-Amp Colpitts Circuit: Capacitive divider tank ($C_1, C_2, L$) connected in feedback path. Closed-loop gain constraint: $\frac{R_f}{R_1} \ge \frac{C_2}{C_1}$.
- Frequency Limitations of Op-Amps: Limited by Gain-Bandwidth Product (GBWP) and Slew Rate ($SR = 2\pi f V_p$), restricting Op-Amp LC oscillators to frequencies below $\sim 10-20\text{ MHz}$. High-frequency RF oscillators ($> 50\text{ MHz}$) use discrete BJTs or MOSFETs.

<!--
While discrete transistors are preferred for high RF frequencies, operational amplifiers provide convenient LC oscillator implementations below 20 MHz. An inverting op-amp configuration supplies the required 180-degree phase shift. Resistors Rf and R1 set the forward gain, which must be chosen to satisfy the ratio L1/L2 for Hartley or C2/C1 for Colpitts.
-->

---

# Comparison: Hartley vs. Colpitts Oscillators

- Frequency Tuning & Adjustment: Hartley is easier to tune across a continuous frequency band using a single variable capacitor $C$; Colpitts requires ganged variable capacitors ($C_1, C_2$) or variable inductor $L$.
- Waveform Purity & Harmonics: Colpitts yields superior spectral purity and lower harmonic distortion because capacitors $C_1$ and $C_2$ provide low-impedance bypass paths for high-frequency harmonics.
- Parasitic Effects: Hartley suffers from parasitic inter-winding capacitance of tapped coil; Colpitts absorbs transistor parasitic input/output capacitances into $C_1$ and $C_2$.
- Frequency Range: Hartley used primarily in RF/AM broadcast bands ($100\text{ kHz} - 30\text{ MHz}$); Colpitts preferred in VHF/UHF radio bands (up to hundreds of MHz).

<!--
This table highlights key engineering tradeoffs between Hartley and Colpitts topologies. Hartley is ideal for easy frequency tuning because only one variable capacitor is adjusted. However, Colpitts is vastly superior in harmonic suppression and high-frequency stability because its capacitors shunt higher harmonics to ground and absorb parasitic transistor capacitances.
-->

---

# Frequency Stability & Clapp Oscillator Enhancement

- Frequency Drift Factors: Thermal expansion of inductors, temperature-coefficient of capacitors, and variations in transistor junction capacitances ($C_{be}, C_{bc}$) due to temperature and voltage fluctuations.
- Clapp Oscillator Architecture: A high-stability variant of Colpitts oscillator that adds a small series tuning capacitor $C_3 \ll C_1, C_2$ in series with inductor $L$.
- Equivalent Series Capacitance ($C_{eq}'$): $\frac{1}{C_{eq}'} = \frac{1}{C_1} + \frac{1}{C_2} + \frac{1}{C_3}$. Since $C_3 \ll C_1, C_2$, $C_{eq}' \approx C_3$.
- Oscillation Frequency ($f_o$): $f_o = \frac{1}{2\pi \sqrt{L C_3}}$. Oscillation frequency becomes virtually independent of $C_1, C_2$ and transistor stray capacitances, dramatically improving frequency stability.

<!--
To mitigate frequency drift caused by transistor parameter variations, the Clapp oscillator enhances the Colpitts topology by adding a small capacitor C3 in series with inductor L. Because C3 is chosen much smaller than C1 and C2, the net series tank capacitance is almost entirely determined by C3. As a result, transistor stray capacitance changes no longer perturb the oscillation frequency.
-->

---

# Summary of LC Oscillators & Design Guidelines

- LC oscillators operate on Barkhausen criterion ($A\beta = 1 \angle 0^\circ$) using frequency-selective LC resonant tanks for RF frequency generation.
- Hartley Oscillator uses a tapped inductor ratio ($L_1 / L_2$) for feedback $\beta = L_2 / L_1$, requiring amplifier voltage gain $|A_v| \ge L_1 / L_2$.
- Colpitts Oscillator uses a split capacitor ratio ($C_1 / C_2$) for feedback $\beta = C_1 / C_2$, requiring amplifier voltage gain $|A_v| \ge C_2 / C_1$.
- Colpitts provides superior harmonic suppression and high-frequency stability; Clapp topology further isolates frequency from parasitic drift using series capacitor $C_3$.

<!--
In summary, LC oscillators are fundamental high-frequency signal generators. Hartley oscillators rely on tapped inductors, making them easy to tune, while Colpitts oscillators utilize capacitive voltage dividers, yielding cleaner sinusoidal waveforms at VHF/UHF frequencies. The Clapp oscillator variant offers the highest frequency stability among LC circuits.
-->

---

# Formula Reference & Key Equations

- Hartley Resonant Frequency: $f_o = \frac{1}{2\pi \sqrt{(L_1 + L_2 + 2M) C}}$, Gain Condition: $|A_v| \ge \frac{L_1 + M}{L_2 + M}$.
- Colpitts Resonant Frequency: $f_o = \frac{1}{2\pi \sqrt{L \frac{C_1 C_2}{C_1 + C_2}}}$, Gain Condition: $|A_v| \ge \frac{C_2}{C_1}$.
- Clapp Resonant Frequency: $f_o \approx \frac{1}{2\pi \sqrt{L C_3}}$ (where $C_3 \ll C_1, C_2$).
- Tank Quality Factor ($Q$): $Q = \frac{\omega_0 L}{R_s} = \frac{R_p}{\omega_0 L}$, where higher $Q$ enhances frequency selectivity and phase stability.

<!--
Keep this slide as your key reference sheet for all mathematical formulas governing Hartley, Colpitts, and Clapp LC oscillators. These equations are crucial for solving circuit design problems and analyzing RF oscillator performance.
-->
