Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

Could you explain how a quartz crystal works, maybe with a simple schematics with the essential things ? I know it acts like a kind of stabilizer for an oscillator, but nothing more than that.

share|improve this question

4 Answers 4

up vote 16 down vote accepted

Quartz is a piezoelectric material, which means that if you mechanically deform it, it develops charges on its surface. Similarly, if you place charges on its surface, it causes mechanical stress in the crystal. The way a quartz crystal benefits a circuit is that mechanically the crystal acts much like a tuning fork, with a natural resonant frequency, and the piezoelectric property allows that to be coupled into an electronic circuit. Since the resonant frequency is mainly determined by the physical size and shape of the quartz, you get a frequency reference that is much less sensitive to temperature than you would get using just LC circuits.

share|improve this answer
They also have a gigantic Q. –  Kortuk Oct 3 '10 at 23:43

From Wikipedia:

An oscillator crystal has two electrically conductive plates, with a slice or tuning fork of quartz crystal sandwiched between them. During startup, the circuit around the crystal applies a random noise AC signal to it, and purely by chance, a tiny fraction of the noise will be at the resonant frequency of the crystal. The crystal will therefore start oscillating in synchrony with that signal. As the oscillator amplifies the signals coming out of the crystal, the signals in the crystal's frequency band will become stronger, eventually dominating the output of the oscillator. The narrow resonance band of the quartz crystal filters out all the unwanted frequencies.

share|improve this answer
-1 for merely copying WP –  Federico Russo May 5 '12 at 8:31
+1 for using Wikipedia as a resource and showing the user that looking in Wikipedia for such answers is a good idea. –  Russell McMahon Aug 9 '13 at 12:52
Someone went through the trouble of writing that paragraph and publishing it on Wikipedia under a free license, so that no one would ever have to do that work of writing it again. That's why free licenses exist. So that others don't have to waste time paraphrasing copyrighted content and can just copypaste it and move on to something productive. –  endolith Aug 17 '13 at 18:06
@RussellMcMahon: When I asked this question, electronics was in beta. It was a good idea to let these kind of questions in, both because you get a potentially more relevant answer (considering the SE) and because it allowed more traffic to the site during startup. –  Stefano Borini Sep 26 '13 at 22:58
@StefanoBorini - I wasn't meaning to complain about your question. Rather I was reacting to the -1 given to the associated answer by giving a +1 for doing what the other voter disapproved of - as I thought that pasting the Wikipedia material had value. –  Russell McMahon Sep 28 '13 at 8:43

There are already two great answers, so I am just going to try to give a different explanation of the same thing.


So, in a Pierce oscillator you have a digital system connected to a crystal oscillator.

Now you have probably seen how logic gates switch state, with a specified rise time. If you put any time into learning about Electromagnetic Compatibility or just high speed digital design (the best book in existence being the one by Johnson), you will learn that this can be looked at as a wide range of frequencies.

What the crystal does

There are two ways of looking at what the crystal does, from the frequency domain and from the time domain. I will start with the frequency domain due to personal preference. I push every electrical engineer I work with to become at home with the frequency domain; many problems become simple here, and complicated responses have meaning.

Frequency Domain

From the perspective of the frequency domain, a crystal is a filter at a very specific frequency with a very high Q(quality) factor. This means that of all of those frequencies you generate, you only allow the specific one the crystal allows through.

Time Domain

The other way is to think of a gate tied back on itself. If there was nothing there, it would create a square wave with a frequency equal to the delay, but this frequency is not extremely reliable, and also will vary based on many manufacturing parameters. This is where the crystal affects it. If the crystal has a rising edge placed on it, it will only "pass through" the signal at the frequency it has selected for. Suddenly, the 100MHz square wave becomes a 20MHz sin wave due to the crystal.

A little extra thought

Wonder why oscillators pull so much current? You are charging and discharging the capacitance in the oscillator circuit 20 million times per second. Also, for all the clock cycles many transistors in your circuit do the same. if you do not need speed, a 32KHz oscillator costs very little in power on microcontrollers.

Let me know if I can be more clear.

share|improve this answer

I like to mention some additional - rather important - features:

  • The quartz can be operated in series as well as parallel resonant operation (however, both resonant frequencies are pretty close to each other);

  • In some applications (in particular for transistor-based oscillators like the Pierce type) the quartz is used NOT as a resonant circuit but as a high-quality inductor.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.