---
title: Injection locking and pulling
heading: How a weak signal captures an oscillator's frequency, and how far away it still can
eyebrow: S6 · Lesson 41 · Injection locking and pulling
xp: 50
---

::: hook
Hang two pendulum clocks on the same wall and they end up ticking in step: each nudges the other through the wall. Oscillators do the same. A weak signal injected into a free-running oscillator, if it's close enough in frequency, takes over: the oscillator runs at the injected frequency, with that signal's phase noise, while still delivering its own full power. That's **injection locking**, used for frequency dividers, low-noise sources and phased-array synchronization. When the injected signal is a little too far away, the oscillator is **pulled**: it wobbles toward the intruder without locking, which is why a transmitter's own output can disturb its oscillator. Adler's equation, from 1946, predicts both.
:::

::: play
- The lock range of an oscillator (half-width, in MHz) against the injected signal's strength relative to the oscillator, by Adler's equation $\Delta f_L = \frac{f_0}{2Q}\frac{V_{inj}}{V_{osc}}$, for a 10 GHz oscillator.
- A higher-Q resonator resists being pushed: the lock range shrinks in proportion to $1/Q$.
:::

```sim plot
view: graph
x: r = -40..0
y: L = 0.01..1000 log
slider: Q = 5..200 step 5 = 20
plot: 10e3/(2*Q)*10^(r/20) | label: lock range half-width, MHz
readout: at −20 dB injection, MHz = 10e3/(2*Q)*0.1
```

::: predict
## A 10 GHz oscillator with a loaded Q of 20 receives a signal 20 dB weaker than its own. How far from 10 GHz can that signal be and still lock it?

- [ ] 2.5 MHz
- [x] 25 MHz
- [ ] 250 MHz
- [ ] 0.5 GHz

::: reveal
20 dB below is an amplitude ratio of 0.1, so $\Delta f_L = (10\text{ GHz}/40) \times 0.1$ = 25 MHz on either side. Within ±25 MHz the oscillator follows the injected frequency exactly; outside, it beats against it.
:::
:::

::: nameit
## Adler's equation

An LC oscillator with resonant frequency $f_0$ and loaded quality factor $Q$, injected with a signal at $f_{inj}$ of amplitude $V_{inj}$ (relative to its own $V_{osc}$), has a phase difference φ between its output and the injection that obeys

$$\frac{d\varphi}{dt} = \Delta\omega - \Delta\omega_L\sin\varphi, \qquad \Delta\omega_L = \frac{\omega_0}{2Q}\frac{V_{inj}}{V_{osc}}$$

with $\Delta\omega = \omega_0 - \omega_{inj}$, for weak injection.

## Locked

If $|\Delta\omega| \le \Delta\omega_L$, the phase settles where $\sin\varphi = \Delta\omega/\Delta\omega_L$: the oscillator runs exactly at $f_{inj}$, with a static phase offset that reaches ±90° at the edges of the lock range. Close to the injection frequency, the locked oscillator's phase noise follows the injected signal's; far from it, the oscillator's own noise returns. So a clean, weak reference can clean up a powerful oscillator: an **injection-locked amplifier**.

## Pulled

If $|\Delta\omega| > \Delta\omega_L$, the phase slips continuously, but unevenly: it lingers near the point where the injection almost holds it. The beat frequency between oscillator and injection is

$$\omega_{beat} = \sqrt{\Delta\omega^2 - \Delta\omega_L^2}$$

lower than the plain difference, which is the oscillator being pulled toward the intruder. In a transmitter, the power amplifier's output leaking back to the VCO at a nearby frequency can pull it, distorting the modulation.

## Uses

Injection locking divides frequencies (an oscillator near $f/2$ locked by a signal at $f$ through a nonlinearity), synchronizes the elements of phased arrays, and makes low-power quadrature sources. Its weakness is the narrow lock range, which tracks process and temperature through $f_0$.
:::

::: example
## A 10 GHz oscillator with $Q$ = 20 is injected 20 dB below its own level. Find the lock range, and the phase offset when the injection is 10 MHz from its free-running frequency.

::: solution
1. **Lock range.**
   $$\begin{aligned} \Delta f_L &= \frac{10\ \text{GHz}}{2 \times 20} \times 0.1 \\ &= 25\ \text{MHz} \end{aligned}$$
2. **Phase offset.** At 10 MHz offset,
   $$\begin{aligned} \sin\varphi &= 10/25 \\ &= 0.4 \end{aligned}$$
   so φ = 23.6°.
3. **What the oscillator does.** It runs exactly 10 MHz from its natural frequency, at a constant phase from the injection.

**Answer:** a 25 MHz lock range, and a 23.6° phase offset at 10 MHz.
:::
:::

::: example
## The same injection is moved 30 MHz away. What beat frequency appears, and why isn't it 30 MHz?

::: solution
1. **Beat frequency.**
   $$\sqrt{30^2 - 25^2} = 16.6\ \text{MHz}$$
2. **Why it's lower.** The injection is too far away to lock, but it pulls the oscillator toward itself for part of each beat cycle, slowing the phase slip there, so the average frequency difference is smaller than 30 MHz.
3. **Far outside the lock range.** The beat approaches the plain difference.

**Answer:** a 16.6 MHz beat, below 30 MHz because the injection pulls the oscillator toward itself for part of each beat cycle.
:::
:::

::: example
## An injection-locked frequency divider needs a ±200 MHz lock range at 20 GHz. If the injected signal reaches the tank at a third of the oscillation amplitude, what is the highest Q the tank can have?

::: solution
1. **Lock range.**
   $$\Delta f_L = \frac{f_0V_{inj}}{2QV_{osc}}$$
2. **Solve for Q.**
   $$\begin{aligned} Q &\le \frac{20\ \text{GHz} \times (1/3)}{2 \times 200\ \text{MHz}} \\ &= 16.7 \end{aligned}$$
3. **The trade.** Low-Q tanks give wide lock ranges but more phase noise when unlocked; a divider that must lock reliably across process corners trades the other way.

**Answer:** a Q of at most 16.7.
:::
:::

::: check
given: f = 2.4 | 5 | 10 | 28; Q = 10 | 20 | 50; r = -30 | -20 | -10
answer: f*1e3/(2*Q)*10^(r/20)
unit: MHz
tolerance: 0.5%

## An oscillator at {f} GHz with loaded Q {Q} receives an injection {r} dB relative to its own amplitude. What is its lock range half-width?

::: right
Right. $\frac{f_0}{2Q}\frac{V_{inj}}{V_{osc}}$ = {answer}.
:::

::: misses
- [f*1e3/(2*Q)*10^(r/10)] An amplitude ratio is $10^{r/20}$.
- [f*1e3/Q*10^(r/20)] Adler's lock range has $2Q$ in the denominator.
- [any] Not yet. $\Delta f_L = f_0V_{inj}/(2QV_{osc})$.
:::
:::

::: check
given: d = 2 | 5 | 10; L = 12 | 25 | 40
answer: asin(d/L)*180/pi
unit: °
tolerance: 0.5%

## A locked oscillator has a lock range of ±{L} MHz, and the injection is {d} MHz from its free-running frequency. What is the static phase offset?

::: right
Right. $\arcsin(\Delta f/\Delta f_L)$ = {answer}.
:::

::: misses
- [acos(d/L)*180/pi] It's $\sin\varphi = \Delta\omega/\Delta\omega_L$.
- [any] Not yet. $\varphi = \arcsin(\Delta f/\Delta f_L)$.
:::
:::

::: check
given: d = 30 | 50 | 100; L = 20 | 25
answer: sqrt(d^2 - L^2)
unit: MHz
tolerance: 0.5%

## An injection {d} MHz away pulls an oscillator whose lock range is ±{L} MHz. What beat frequency results?

::: right
Right. $\sqrt{\Delta f^2 - \Delta f_L^2}$ = {answer}: pulled toward the injection.
:::

::: misses
- [d] Pulling slows the phase slip: the beat is less than the plain difference.
- [d - L] It's a root-sum-square relation, not a subtraction.
- [any] Not yet. $\sqrt{\Delta f^2 - \Delta f_L^2}$.
:::
:::

::: check
given: f = 10 | 20 | 40; L = 100 | 200 | 500; v = 0.1 | 0.33
answer: f*1e3*v/(2*L)
tolerance: 0.5%

## A divider at {f} GHz needs a ±{L} MHz lock range with injection at {v} of the oscillation amplitude. What is the highest tank Q that allows it?

::: right
Right. $Q \le f_0(V_{inj}/V_{osc})/(2\Delta f_L)$ = {answer}.
:::

::: misses
- [f*1e3*v/L] Adler's equation has $2Q$ in it.
- [any] Not yet. Solve $\Delta f_L = f_0V_{inj}/(2QV_{osc})$ for Q.
:::
:::

::: check
kind: choice

## Within its lock range, an injection-locked oscillator's close-in phase noise follows which source?

- [x] The injected signal's
- [ ] Its own free-running noise
- [ ] Neither: the noise cancels
- [ ] The sum of both, unchanged

::: right
Right. Close to the carrier, within roughly the lock range, the oscillator's phase follows the injection, so it inherits the reference's noise; far from the carrier its own noise returns.
:::

::: misses
- [2] Its own noise dominates only far from the carrier.
- [3] Noise doesn't cancel; it's replaced by the reference's.
- [4] Close in, the injection controls the phase.
:::
:::

::: check
kind: derivation
vars: dw = 0..1, wl = 1..5

## Find where Adler's equation settles inside the lock range.

::: step
answer: dw/wl

### Setting $d\varphi/dt = 0$ in $d\varphi/dt = \Delta\omega - \Delta\omega_L\sin\varphi$, what is $\sin\varphi$?
:::

::: step
answer: asin(dw/wl)

### What is the equilibrium phase φ?
:::

::: right
Right. A real solution exists only when $|\Delta\omega| \le \Delta\omega_L$: that's the lock range.
:::
:::

::: check
kind: python
given: L = 1 | 2; d = 0.5 | 1.5 | 3

## Integrate Adler's equation, $d\varphi/dt = \Delta\omega - \Delta\omega_L\sin\varphi$, in normalized units with $\Delta\omega_L$ = `L` = {L} and $\Delta\omega$ = `d` = {d}, from φ = 0 for $t$ = 0 to 400 with RK4 and step 0.001. Set `locked` (True if the final rate $d\varphi/dt$ is below 1e-6 in size), and `beat`, the average rate $(\varphi(400) - \varphi(200))/200$ over the second half.

```python starter
import math
locked = False
beat = d
```

```python solution
import math
f = lambda p: d - L * math.sin(p)
p, h = 0.0, 0.001
n = 400000
p200 = None
for k in range(n):
    k1 = f(p); k2 = f(p + h / 2 * k1); k3 = f(p + h / 2 * k2); k4 = f(p + h * k3)
    p += h / 6 * (k1 + 2 * k2 + 2 * k3 + k4)
    if k == n // 2 - 1:
        p200 = p
locked = abs(f(p)) < 1e-6
beat = (p - p200) / 200
```

```python tests
import math
if d <= L:
    assert locked and abs(beat) < 1e-3, "Inside the lock range the phase settles."
else:
    ref = math.sqrt(d * d - L * L)
    assert not locked and abs(beat - ref) < 0.01 * ref, f"Outside, the average beat is √(Δω² − Δω_L²) = {ref:.4f}."
```

::: right
Right. The simulation reproduces both regimes: a fixed phase inside the lock range, and outside it a beat at $\sqrt{\Delta\omega^2 - \Delta\omega_L^2}$, slower than the plain difference.
:::
:::

::: explain
## A transmitter's VCO runs at exactly the carrier frequency, and its power amplifier's output, 40 dB stronger than the VCO's own level, couples weakly back into it. Explain why the transmitted spectrum degrades, and why many transmitters run the VCO at twice the carrier and divide by two.

::: model
The PA's output, modulated and much stronger than the VCO, leaks back into the VCO's tank; because it sits at nearly the same frequency, Adler's equation applies and the leaked signal pulls the VCO, shifting its phase in step with the modulation. The VCO's output is then no longer a clean carrier, so the transmitted signal is distorted and its spectrum widens, a problem called VCO pulling. Running the VCO at twice the carrier and dividing moves its frequency far from the PA's: the leaked signal is then outside any plausible lock range, $\Delta\omega \gg \Delta\omega_L$, so it barely disturbs the oscillator. Isolation, buffers and frequency planning all aim to keep strong signals out of an oscillator's lock range.
:::
:::

::: practice

::: check
given: f = 1 | 60; Q = 15 | 100; r = -26 | -14
answer: f*1e3/(2*Q)*10^(r/20)
unit: MHz
tolerance: 0.5%

## What is the lock-range half-width at {f} GHz, Q = {Q}, with injection {r} dB below the oscillation?

::: misses
- [f*1e3/(2*Q)*10^(r/10)] Use the amplitude ratio, $10^{r/20}$.
- [any] $f_0V_{inj}/(2QV_{osc})$.
:::
:::

::: check
given: d = 40 | 60; L = 15 | 30
answer: sqrt(d^2 - L^2)
unit: MHz
tolerance: 0.5%

## What beat appears for an injection {d} MHz away with a ±{L} MHz lock range?

::: misses
- [d] Pulling lowers the beat.
- [any] $\sqrt{\Delta f^2 - \Delta f_L^2}$.
:::
:::
:::
