About Fuji Crystal

How to Find Frequency of Oscillation | Formulas, Examples & Measurement

Release time:

2025-08-29 16:07

FCom Fuji Crystal • Updated:

How to Find Frequency of Oscillation

This practical guide shows engineers and students how to determine the oscillation frequency for common oscillator topologies (LC, RC, Wien-Bridge, Colpitts/Clapp, and crystal/Pierce), and how to measure it accurately in the lab.

Related: What is an Oscillator in Electronics · Frequency Crystal Science

How to find frequency of oscillation – LC, RC/Wien, Colpitts/Clapp, crystal formulas and measurement

Before you start: what you'll learn

  • How to compute first-pass frequency for LC, RC/Wien, Colpitts/Clapp, and crystal (Pierce) oscillators.
  • How to refine the estimate by including parasitics, active-device loading, and board stray capacitance.
  • How to validate frequency on the bench with a repeatable, low-uncertainty method.
Cheat sheet
  • LC tank: f = 1 / (2π√(LC))
  • Wien-Bridge: f = 1 / (2πRC)
  • 3-section RC phase-shift: f ≈ 1 / (2πRC√6)
  • Colpitts: f ≈ 1 / (2π√(L·C_eq)), C_eq = (C1·C2)/(C1+C2)
  • Crystal (Pierce): pick C1,C2 so C_L = (C1·C2)/(C1+C2) + C_stray matches datasheet.

Quick workflow

  1. Compute frequency with the simplest formula for your topology.
  2. Add a conservative estimate of parasitics (C_stray 1–3 pF for tight layouts).
  3. Pick NP0/C0G capacitors; avoid high-k dielectrics in resonant paths.
  4. Simulate (optional) then build; validate with a counter locked to a known reference.

Tools you’ll need

  • 10× passive probe with ground spring or a low-capacitance active probe.
  • Frequency counter with stable reference (or a GPS-disciplined source/OCXO).
  • LCR meter (to spot-check capacitors at operating frequency).

1) LC oscillators (tank)

For an ideal LC resonator, the oscillation frequency is:

f = 1 / (2π √(L · C))
[NIST ref]

Worked example (step-by-step)

  1. Target: 160 kHz.
  2. Choose a practical L: 10 μH (readily available, low ESR).
  3. Solve for C: C = 1 / ((2πf)^2 L) ≈ 99.2 nF → 100 nF (NP0 if possible).
  4. Account for stray: assume C_stray ≈ 2 nF (kHz-range layouts often add more than pF) ⇒ reduce the selected capacitor slightly if needed.
  5. Build & measure: gate-time 1 s on the counter → expect ≈ 159–161 kHz.

Sanity checks

  • X_L = 2πfL and X_C = 1/(2πfC) should be ≫ parasitic resistances to maintain Q.
  • Prefer inductors with low ESR and self-resonant frequency (SRF) well above f.
  • Use NP0/C0G capacitors in the tank; avoid X7R/Y5V for precision.

Typical starting values

  • kHz: L = 1–100 mH, C = 1–100 nF
  • MHz: L = 100 nH–1 μH, C = 10–200 pF

Note: Real oscillators include loading from the active device and feedback network; expect small frequency shifts and reduced Q.

2) RC & Wien-Bridge oscillators

Wien-Bridge (low-distortion sine)

f = 1 / (2π R C)
[TI SLOA060]
  1. Pick a convenient C (e.g., 1 nF) and compute R from target f.
  2. Choose an op-amp with gain-bandwidth ≫ f (rule-of-thumb: ≥ 10–20×) and low noise.
  3. Amplitude stabilization: use a lamp/thermistor (classic), JFET AGC, or back-to-back diodes in the feedback path.
  4. Tune for lowest THD by adjusting loop gain slightly above 1 at start-up, settling to ≈1 at steady state.

Example: R = 10 kΩ, C = 1 nFf ≈ 15.9 kHz.

See applications: Oscillator Electronics Applications.

Three-section RC phase-shift

f ≈ 1 / (2π R C √6)
  • Ensure the amplifier can provide ≥29 dB loop gain to overcome the network loss at oscillation.
  • Use NP0/C0G caps to minimize drift; match the three RC sections for best accuracy.

3) Colpitts / Clapp

Colpitts uses a capacitive divider. The small-signal equivalent capacitance is:

C_eq = (C1 · C2) / (C1 + C2)

Approximate oscillation frequency:

f ≈ 1 / (2π √(L · C_eq))
[ADI Colpitts]

Practical design steps

  1. Start with a ratio C1:C2 between 3:1 and 5:1 (sets feedback fraction and loop gain).
  2. Choose L and the capacitor values so that C_eq yields the target f.
  3. Include device capacitances (Cπ/Cµ for BJTs, Cgs/Cgd for MOSFETs) in your estimate.
  4. Keep capacitor ESR low; too-small capacitors increase sensitivity to parasitics.

Clapp variant: Add a series capacitor to dominate the tank capacitance for improved frequency stability; compute the series-equivalent first, then apply the LC formula.

Example: L = 10 μH, C1 = 200 pF, C2 = 100 pF → C_eq = 66.7 pFf ≈ 6.15 MHz (ignore device caps in first pass).

4) Crystal (Pierce) oscillators

Near resonance, a quartz crystal behaves like a high-Q RLC. In a Pierce topology the oscillation frequency is set near the crystal’s specified load capacitance CL. The load capacitance seen by the crystal is:

C_L = (C1 · C2) / (C1 + C2) + C_stray
[ST AN2867]

Step-by-step selection

  1. Read the datasheet CL (e.g., 8 pF, 10 pF, 12 pF).
  2. Estimate board/parasitic C_stray (pads, traces, package, probe): typically 1–3 pF on tight layouts.
  3. Assume C1 = C2 = C for symmetry ⇒ CL ≈ C/2 + C_strayC ≈ 2(CL − C_stray).
  4. Choose NP0/C0G parts and place close to the MCU/oscillator pins; keep the loop compact.
  5. Bench-verify frequency at room temperature; adjust both caps in small, equal steps (±1–2 pF) to trim.

Accuracy & reliability

  • Calibration is at the specified CL; mismatch causes ppm-level frequency shift.
  • Drive level: stay within datasheet limits (often ≤100 μW) to avoid aging and pull.
  • Temperature: for tight specs use a TCXO/OCXO instead of a bare crystal.
Many crystal datasheets include a curve of frequency vs. load capacitance—use it for precise trimming rather than relying on generic formulas.

See also: Selecting Timing Crystal · XTAL Crystal Oscillator Parameters · How a Crystal Oscillator Works · Crystal vs MEMS Oscillator.

Worked example: Target CL = 12 pF, estimate C_stray = 2 pF. With C1 = C2 = C: C ≈ 2(12 − 2) = 20 pF. Start with two 20 pF NP0 parts, then measure and fine-tune.

5) Measuring frequency accurately

Frequency counter checklist [Keysight AN]

  1. Warm up the counter and reference (if external) until stable.
  2. Use a clean, squared-up signal if possible (buffer or comparator for sine outputs).
  3. Set gate time ≥ 1 s for sub-Hz resolution at low MHz; increase for more resolution.
  4. Record ambient temperature; repeatability improves when temperature is controlled.

Oscilloscope period method

  1. Probe with 10× and a short ground spring to minimize loading.
  2. Use time-cursors across N cycles, compute T_avg = Δt / Nf = 1/T_avg.
  3. Beware scope time-base accuracy; check the spec or calibrate to a reference.
  4. FFT mode is handy for a quick spectral peek—ensure adequate sample rate/record length.

MCU timer capture

Count edges against a known reference clock. Accuracy depends on that reference—use a crystal/TCXO rather than an internal RC.

Long-term accuracy [NIST]

For ppb-class stability or holdover, discipline to GNSS (GPSDO) or use an OCXO. See recommendations below. Related reading: Crystal-Controlled Oscillators for GNSS/GPS · TCXO vs OCXO.

6) Frequency error budget (quick worksheet)

Combine independent contributions with root-sum-square (RSS) for a realistic estimate; use worst-case sum for an upper bound.

Example (ppm): tolerance 20, temp 30, aging 3, load-cap 10
RSS = √(20² + 30² + 3² + 10²) = √(400 + 900 + 9 + 100) ≈ 37.6 ppm
  • Manufacturing tolerance (room temp, at CL)
  • Temperature stability (e.g., −40~+85 °C)
  • Aging (ppm/year)
  • Load-cap mismatch (layout + component spread)

7) Design tips & common pitfalls

Design tips

  • Prefer NP0/C0G capacitors for resonant networks; keep the loop compact and symmetric.
  • Respect crystal drive level; add a series resistor if the inverter is too strong.
  • For PLLs/VCXOs, review tuning range and linearity (KVCO).
  • Document your assumed C_stray and re-measure after layout changes.

Troubleshooting by symptom

  • No oscillation: insufficient loop gain, wrong biasing, or excessive loading → increase feedback, check bias, reduce probe capacitance.
  • Frequency too high: effective CL too low → increase C1/C2 symmetrically.
  • Frequency drifts: high-k caps or thermal gradients → switch to NP0, improve layout/thermal isolation.
  • Distorted sine (Wien): loop gain too high or poor AGC → retune AGC element, increase headroom or pick a faster op-amp.

Recommended FCom timing devices

FOC-4D OCXO

±5 ppb class stability, SC-cut. Ideal for base stations, 1588/PTP, T&M.

View FOC-4D

TCXO portfolio

Tight ppm over temperature for GNSS, mobile, and industrial timing.

Explore TCXOs

FVC-7P-LJ VCXO

Low-jitter FASTVCXO for SerDes/optical. Sub-ps RMS.

View FVC-7P-LJ

Also see: Timing Devices, Frequency Crystals, What Are Timing Devices?, TCXO vs OCXO, Why Timing Crystals Matter, OCXOs, VCXOs, 32.768 kHz FCO-1K, 32.768 kHz FCO-6K.

Authoritative references & further reading

FAQ

How accurate is the LC formula in real circuits?

It’s a first-order estimate. Parasitics, active-device loading, and component tolerances shift the result. Measure and trim as needed.

How do I choose crystal load capacitors?

Use CL = (C1 · C2) / (C1 + C2) + C_stray to match the datasheet’s CL. Start with C1 = C2 and iterate after a bench check.

Why is my crystal frequency high at room temperature?

Capacitors may be undersized (effective CL too low), or board stray C is smaller than assumed. Increase C1/C2 slightly and re-measure.

Scope vs. counter—what should I trust?

Use a calibrated counter with a known reference for accuracy. Scopes are fine for quick checks but rely on their time-base quality.

When do I need a TCXO or OCXO?

Use a TCXO for ppm-level stability across temperature (GNSS, mobile). Use an OCXO for ppb-class stability (base stations, T&M, timing masters).

What is the Wien-Bridge oscillator frequency formula?

For equal R and C in the lead-lag network, f = 1 / (2πRC). Use a low-noise, high-GBW op-amp and amplitude control (e.g., JFET AGC) for low distortion.

How do I set CL for a Pierce crystal oscillator?

Choose C1 = C2 initially so CL ≈ C/2 + Cstray equals the datasheet value (e.g., 8–12 pF). Measure at room temperature and trim both capacitors symmetrically.

Need help picking the right oscillator?

Talk with FCom engineers about frequency targets, load capacitance, jitter, and stability across temperature.

Contact FCom What Are Timing Devices?

© FCom Fuji Crystal. Internal links: timing devices, frequency crystals, TCXOs, VCXOs, OCXOs.

Key words:

application

Fcom

Automotive Electronics

Fire-fighting

Quartz Crystal

OCXO

Recommended News