Skip to content
View in the app

A better way to browse. Learn more.

TEST SITE

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Crystal Oscillators

A simple LC oscillator can drift by tens of kilohertz over an hour as its components warm up or as the power supply voltage changes. A quartz crystal oscillator, by contrast, can hold its frequency to within a few hertz over the same period — a stability improvement of several thousand times. This extraordinary precision, achieved by exploiting a property of quartz called the piezoelectric effect, made crystal oscillators the timekeepers of the modern world: they clock every microcontroller, computer and digital circuit, keep time in every quartz watch, and set the frequency of every radio channel.

What you will learn: The piezoelectric effect that makes quartz resonate, the equivalent circuit of a crystal, series and parallel resonance, common crystal oscillator circuit topologies, overtone operation, and the temperature-controlled crystal oscillators (TCXO and OCXO) used in precision equipment.

The Piezoelectric Effect — Why Quartz Resonates

The word piezoelectric comes from the Greek word for "press" — piezo. When you apply mechanical pressure to a piezoelectric crystal, electric charges appear on its surfaces. Conversely, when you apply a voltage across the crystal, it physically deforms — it bends, stretches, or contracts by a tiny amount proportional to the applied voltage. This two-way conversion between mechanical strain and electrical voltage is the piezoelectric effect.

Quartz (silicon dioxide, SiO₂) is one of the most common and best-performing piezoelectric materials. Its crystal structure has a highly ordered arrangement of silicon and oxygen atoms with no centre of symmetry — a requirement for piezoelectricity. When an alternating voltage is applied to a quartz crystal, it vibrates at the frequency of the applied voltage. If the applied frequency matches the crystal's natural mechanical resonant frequency, the vibration amplitude becomes very large — the crystal resonates.

Mechanical resonance in quartz is extremely stable and consistent. The resonant frequency is determined almost entirely by the crystal's dimensions and the cut angle (the angle at which the crystal blank is sliced from the mother crystal). Once manufactured, a quartz crystal's resonant frequency is fixed and essentially immune to the component value changes that cause LC oscillators to drift.

Quartz Crystal Structure and Cuts

A raw quartz crystal is hexagonal in cross-section. Crystal blanks — thin slices of quartz — are cut at specific angles to the crystal's natural axes to obtain the desired frequency-temperature behaviour. The cut angle determines how the resonant frequency changes with temperature (the temperature coefficient). Different cuts optimise for different properties:

Crystal Cut Frequency Range Temperature Behaviour Application
AT-cut 1 MHz – 200 MHz S-curve with near-zero coefficient near 25°C; excellent stability 0–70°C Most common: clocks, radio and general-purpose oscillators
SC-cut 10 MHz – 100 MHz Very flat over wide temperature range; less sensitive to activity dips High-stability OCXOs
BT-cut 1 MHz – 10 MHz Similar to AT but opposite sign of temperature coefficient Filters, older equipment
X-cut Below 1 MHz Poor temperature stability Early equipment, mostly obsolete

The AT-cut is by far the most common for general applications from about 1 MHz to over 100 MHz. An AT-cut crystal at 25°C has its frequency at a turning point of the frequency-temperature curve, so small temperature changes cause only a small shift rather than a large linear one. This makes AT-cut crystals naturally stable over the typical indoor temperature range without any special temperature control. The 32.768 kHz crystals in watches and real-time clocks are a different type (tuning-fork crystals), whose frequency falls on either side of 25°C — which is why a watch kept warm on a wrist keeps better time than one left in a cold drawer.

Diagram of a hexagonal quartz crystal with lines showing the AT-cut angle of 35 degrees 15 minutes relative to the Z-axis, and a resulting thin rectangular crystal blank with silver electrode coatings on the top and bottom faces

AT-cut quartz crystal: the blank is sliced at approximately 35°15' to the Z-axis of the quartz crystal, producing a temperature-stable resonator. Thin silver electrode coatings are deposited on the top and bottom faces to apply the oscillating voltage.

View Larger

The Crystal Equivalent Circuit

A quartz crystal can be modelled as an electrical circuit. This equivalent circuit reveals exactly why crystal resonators have such remarkable properties and why they behave so differently from simple LC circuits.

The crystal equivalent circuit has two parallel branches:

  • Series branch (motional arm): A series combination of Ls (motional inductance, representing the vibrating mass of the crystal), Cs (motional capacitance, representing the crystal's mechanical stiffness), and Rs (series resistance, representing the crystal's internal damping losses).
  • Parallel capacitance Cp: The static capacitance of the crystal package — the capacitance between the two electrodes with the crystal material as the dielectric. This is always present regardless of whether the crystal is vibrating.
Crystal equivalent circuit diagram showing the parallel capacitance Cp in parallel with a series branch containing inductor Ls, capacitor Cs, and resistor Rs in series. Typical values are shown: Ls = 10 mH, Cs = 0.01 pF, Rs = 10 ohms, Cp = 5 pF for a 10 MHz crystal

Crystal equivalent circuit: Ls, Cs, Rs form the motional arm modelling the mechanical vibration. Cp is the static electrode capacitance. The extreme ratio of Ls to Cs (millions of times larger than typical LC components) gives the crystal its exceptional Q and stability.

View Larger

The remarkable thing about these values is their extreme ratios. For a typical 10 MHz AT-cut crystal:

  • Ls ≈ 10 mH (ten millihenries — thousands of times larger than any physically wound inductor at this frequency)
  • Cs ≈ 0.01 pF (one hundredth of a picofarad — tiny)
  • Rs ≈ 5–50 Ω
  • Cp ≈ 3–10 pF

These values are not chosen by the designer — they are determined entirely by the physical dimensions of the crystal blank. The Q factor of this equivalent circuit is Q = (1/Rs) × √(Ls/Cs). For the values above: Q = (1/10) × √(10×10⁻³ / 0.01×10⁻¹²) = (0.1) × √(10⁹) = 0.1 × 31,623 = 3,162. Practical crystal Qs range from 10,000 to over 1,000,000 — orders of magnitude higher than any LC circuit.

Series and Parallel Resonance

The crystal equivalent circuit has two resonant frequencies:

Series resonance (fs): The frequency at which Ls and Cs resonate with each other. At this frequency the reactance of the series branch (Ls + Cs + Rs) is minimum — approximately Rs (the loss resistance only). The crystal looks almost like a short circuit (very low impedance). This is the fundamental mechanical resonant frequency of the crystal blank.

Series Resonant Frequency:
fs = 1 / (2π × √(Ls × Cs))

Parallel resonance (fp): The frequency at which the series branch (which looks inductive above fs) resonates with Cp. At this frequency the crystal presents a very high impedance (ideally infinite, limited by Rs). fp is always slightly higher than fs.

Parallel Resonant Frequency:
fp = fs × √(1 + Cs/Cp)

Since Cs << Cp, this simplifies to: fp ≈ fs × (1 + Cs/(2Cp))
Example: Series and Parallel Resonance of a 10 MHz Crystal

Given: Ls = 10 mH, Cs = 0.025 pF, Rs = 8 Ω, Cp = 5 pF

Series resonance:
fs = 1 / (2π × √(10×10-3 × 0.025×10-12))
= 1 / (2π × √(25×10-17))
= 1 / (2π × 1.581×10-8)
= 10.07 MHz

Frequency separation:
fp ≈ fs × (1 + 0.025/(2×5)) = 10.07 × (1 + 0.0025) = 10.095 MHz
Separation = 10.095 - 10.07 = 0.025 MHz = 25 kHz

The crystal can only be used as a resonator between fs and fp — a range of just 25 kHz out of 10 MHz (0.25%). Any load capacitance added in series with the crystal shifts the oscillation frequency slightly within this narrow window — this is how crystal manufacturers trim the exact frequency and how "series" vs "parallel" mode oscillators differ.

Crystal Oscillator Circuit Topologies

Several oscillator circuit topologies use crystals as the frequency-determining element. The most common are the Pierce, the Colpitts-crystal, and the Butler oscillator.

Pierce Oscillator

The Pierce oscillator is the most widely used crystal oscillator circuit, found in virtually every microcontroller, CMOS IC clock oscillator, and simple crystal oscillator. It is derived from the Colpitts oscillator: the crystal replaces the inductor in the Colpitts tank, and two capacitors (C1 and C2) connect from the crystal terminals to ground. In a microcontroller, the amplifier is a CMOS inverter inside the chip, and the two capacitors (typically 10–33 pF) are the ones you place next to the crystal on the board.

In the Pierce circuit, the crystal operates slightly above its series resonant frequency — where it appears inductive — and resonates with C1 and C2 in the same way the inductor resonated with C1 and C2 in the Colpitts. The "load capacitance" that the crystal sees (determined by C1 and C2 in series) is specified by the crystal manufacturer as the series load capacitance, typically 18 pF or 12 pF for standard crystals. Using the correct load capacitance ensures the crystal oscillates at exactly the marked frequency.

Pierce crystal oscillator circuit schematic showing inverting CMOS gate or transistor amplifier with crystal connected in the feedback path between output and input, two load capacitors C1 and C2 from each crystal terminal to ground, and a feedback resistor Rf across the inverting amplifier

Pierce crystal oscillator — the most common crystal oscillator circuit. The CMOS inverter acts as an amplifier with 180° phase shift; the crystal and load capacitors C1 and C2 provide the remaining 180° needed for the Barkhausen phase condition.

View Larger

Butler Oscillator

The Butler oscillator uses the crystal in series mode — at precisely its series resonant frequency. A broadband transistor amplifier is connected in a loop, with the crystal (in series mode) in the feedback path. Only signals at the crystal's series resonant frequency pass through the crystal with low loss; all other frequencies are blocked. The loop gain is high enough to sustain oscillation only at the series resonant frequency.

The Butler circuit produces excellent frequency stability and is used in high-performance reference oscillators and VHF frequency-multiplier chains. It requires careful bias design to prevent the crystal from being overdriven — excessive drive power ages the crystal faster and degrades long-term stability.

Overtone Operation

The fundamental resonant frequency of an AT-cut crystal depends on its thickness — thinner crystals resonate at higher frequencies. At frequencies above about 25–30 MHz, the crystal blank becomes so thin that it is mechanically fragile and difficult to manufacture. To reach higher frequencies, crystals are operated on their overtones — odd multiples of the fundamental frequency.

A 10 MHz crystal has mechanical resonances at 10 MHz (fundamental), 30 MHz (3rd overtone), 50 MHz (5th overtone), and 70 MHz (7th overtone). By designing the oscillator to provide gain only near the 3rd overtone frequency, you can make a 30 MHz crystal oscillator using a 10 MHz crystal. This is why crystals are labelled "3rd overtone" or "5th overtone" — the crystal is designed and characterised specifically for operation on that overtone mode.

Important: a crystal marked for parallel-mode operation on its fundamental cannot simply be put in an overtone oscillator and work on the 3rd overtone. Overtone operation requires a resonant circuit (usually a tuned LC circuit) in the oscillator loop that provides gain near the overtone frequency but attenuates the fundamental. Without this, the oscillator may run on the fundamental instead of the intended overtone.

Crystal Accuracy Specifications

When choosing a crystal, several specifications matter:

Specification Typical Value What It Means
Calibration tolerance ±10 to ±100 ppm How close to the marked frequency the crystal is at 25°C when new
Temperature stability ±10 to ±100 ppm (0°C–70°C) How much the frequency changes over the operating temperature range
Aging ±1 to ±5 ppm per year Long-term frequency drift as the crystal ages (surface contamination, stress relief)
Drive level 1 μW – 1 mW Maximum power the crystal should dissipate; exceeding this causes damage and accelerated aging
Load capacitance 12 pF or 18 pF (most common) The external capacitance the oscillator circuit must present to the crystal for it to oscillate at the marked frequency
Series resistance (Rs) 5–200 Ω The crystal's internal loss; lower Rs allows the oscillator to start reliably and reduces phase noise
Example: Calculating Frequency Error from PPM Tolerance

A 14.100 MHz crystal has a temperature stability of ±50 ppm. What is the maximum frequency error?

Error = ±50 × 10-6 × 14.100 × 106 Hz = ±705 Hz

Whether that matters depends entirely on the job. For a microcontroller clock it is irrelevant. For a UART it is far inside the ±2% that serial communication tolerates. For a real-time clock, 50 ppm is about 4.3 seconds a day, or more than two minutes a month — very noticeable. And for a narrow-band radio channel or a precision frequency measurement it can be far too much, which is why such equipment uses a TCXO or OCXO reference, or locks to GPS.

TCXO and OCXO — Temperature Stabilisation

For applications requiring better frequency stability than a plain crystal can provide, two technologies are used: temperature-compensated crystal oscillators (TCXOs) and oven-controlled crystal oscillators (OCXOs).

Temperature-Compensated Crystal Oscillator (TCXO)

A TCXO adds a temperature sensor (thermistor) and a compensation circuit to the crystal oscillator. The compensation circuit applies a correction voltage to a varactor diode (variable capacitor) that shifts the crystal frequency in the opposite direction to the crystal's natural temperature drift. The result is that temperature-induced frequency changes are reduced by a factor of 10 to 100 compared to an uncompensated crystal.

Typical TCXO stability: ±0.5 to ±2.5 ppm over 0°C to 70°C. This is good enough for GPS receivers, mobile phones, frequency counters and most communications equipment. A TCXO is small, draws low current, and requires no warm-up time — it operates immediately on power-up, which is why almost every phone and GPS module contains one.

Oven-Controlled Crystal Oscillator (OCXO)

An OCXO takes a different approach: instead of compensating for temperature drift, it eliminates the temperature variation by maintaining the crystal at a constant elevated temperature in a heated enclosure (an oven). The oven temperature is typically 75°C–90°C (well above any likely ambient temperature), controlled to within ±0.01°C by a precision temperature controller.

At constant temperature, the crystal's frequency is essentially constant. OCXO stability: ±0.001 to ±0.01 ppm over wide ambient temperature ranges — 10 to 100 times better than a TCXO. The tradeoff is power consumption (typically 1–5 W while the oven is warming up, 0.5–2 W in steady state) and warm-up time (5–15 minutes for the oven to reach temperature stability).

OCXOs are found in frequency standards, GPS-disciplined oscillators, high-end spectrum analyzers, signal generators and frequency counters, telecommunications base stations, and anywhere else frequency accuracy of a few parts per billion is required.

Side-by-side block diagrams comparing TCXO (left) showing crystal oscillator with thermistor temperature sensor feeding a varactor compensation network, and OCXO (right) showing crystal oscillator inside an insulated oven with a heater and temperature controller keeping temperature constant at 75 degrees C

TCXO (left) compensates for temperature drift electronically using a varactor to adjust the crystal's load capacitance. OCXO (right) eliminates temperature variation entirely by maintaining the crystal in a constant-temperature oven, achieving much better stability at the cost of power consumption and warm-up time.

View Larger

Where Crystal Oscillators Are Used

Crystal oscillators appear in almost every piece of electronic equipment. Knowing which type is used and why helps you understand a design's accuracy and diagnose problems.

Microcontroller and processor clocks: A crystal (often 8, 12, 16 or 25 MHz) and two capacitors next to the chip form a Pierce oscillator with the chip's internal inverter. A PLL inside the chip usually multiplies this up to the core clock. If the capacitors are wrong or the layout is poor, the oscillator may start slowly, run off frequency, or fail to start at low temperatures.

Real-time clocks and watches: A 32.768 kHz tuning-fork crystal drives a counter that produces one pulse per second. Its accuracy (typically ±20 ppm, about 1 minute per month) sets how often the clock must be corrected.

Communications equipment: Radios, wireless modules, GPS receivers and network interfaces use a single precision crystal oscillator (often a TCXO) as the reference for all their frequencies, through a synthesizer. If the reference is off by 1 ppm, every frequency the device generates is off by the same 1 ppm.

Test equipment and GPS-disciplined oscillators (GPSDO): Frequency counters, signal generators and spectrum analyzers use a TCXO or OCXO timebase, often with a 10 MHz reference input or output so that several instruments can share one reference. For the ultimate accuracy, a GPSDO phase-locks a local OCXO to the timing signal from GPS satellites, which is ultimately referenced to atomic clocks accurate to 1 part in 10¹³.

Frequently Asked Questions

Can I use a crystal at a frequency different from its marked frequency?

Only within a very narrow range. By changing the load capacitance (the external capacitors in the oscillator circuit), you can "pull" the crystal frequency by a small amount — typically ±20 to ±100 ppm depending on the crystal type. For a 10 MHz crystal this means at most ±1 kHz of pull range. This is the basis of the VCXO (voltage-controlled crystal oscillator) used inside PLLs, and of the trimmer capacitor used to set a real-time clock exactly on frequency. You cannot tune a crystal oscillator over a wide range the way you can tune an LC oscillator.

Why does my crystal oscillator sometimes fail to start on a cold morning?

Several factors can prevent startup. The crystal's equivalent series resistance (Rs) increases at very low temperatures, reducing the available loop gain below the minimum needed to sustain oscillation. Also, the transistor's gain (hFE) typically drops at low temperatures, further reducing loop gain. If your circuit is marginal at room temperature, it may fail to start in cold weather. The fix is to use a lower-Rs crystal (better grade), increase the transistor gain, or use a higher supply voltage if the design allows.

What is the difference between a parallel-mode and series-mode crystal?

These terms describe how the crystal is used in the oscillator circuit and at which of its two resonant frequencies it operates. A parallel-mode crystal is specified with a load capacitance (usually 18 pF or 12 pF) and oscillates slightly above its series resonant frequency, where it appears inductive. A series-mode crystal is specified at its series resonant frequency (essentially zero load capacitance). Using a parallel-mode crystal in a series-mode circuit, or vice versa, will cause the oscillator to run at the wrong frequency — typically a few kilohertz off the marked value.

How much does a 10 MHz crystal drift per year?

Typical aging for a standard AT-cut crystal is 1–5 ppm per year in the first year, slowing to 0.5–1 ppm per year after the first year as the crystal stabilizes. For a 10 MHz crystal, 1 ppm/year = 10 Hz/year. After 10 years, the cumulative drift might be 50–80 ppm (500–800 Hz at 10 MHz). For a microcontroller clock this is inconsequential — but for a precision frequency standard it is significant, which is why test-equipment timebases need periodic calibration and atomic clocks are used as ultimate references.

Test Your Knowledge

Answer the questions below to check your understanding. Every answer can be found in the lesson above.

Loading questions...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.