Useful Information | How does a crystal oscillator work?
1. Crystal Oscillator Overview
Crystal oscillator generally refers to a crystal oscillator. A crystal oscillator is a thin slice (referred to as a wafer) cut from a quartz crystal at a certain azimuth angle. A quartz crystal resonator is referred to as a quartz crystal or crystal or crystal oscillator.
The crystal element that adds IC to the package to form an oscillation circuit is called a crystal oscillator. Its products are generally packaged in metal shells, but there are also glass shells, ceramics or plastic packages.
See the video:
2. Working Principle of Crystal Oscillator
A quartz crystal oscillator is a resonant device made using the piezoelectric effect of a quartz crystal. Its basic structure is as follows: a thin slice is cut from a quartz crystal at a certain azimuth angle, a silver layer is applied on its two corresponding surfaces as electrodes, a lead is welded on each electrode and connected to the pin, and then a package shell is added to form a quartz crystal resonator, referred to as quartz crystal or crystal, crystal oscillator. Its products are generally packaged in metal shells, but also in glass shells, ceramics or plastics.
If an electric field is applied to the two electrodes of a quartz crystal, the chip will produce mechanical deformation. Conversely, if mechanical pressure is applied to both sides of the chip, an electric field will be generated in the corresponding direction of the chip. This physical phenomenon is called the piezoelectric effect. If an alternating voltage is applied to the two poles of the chip, the chip will produce mechanical vibrations, and the mechanical vibration of the chip will generate an alternating electric field. Under normal circumstances, the amplitude of the mechanical vibration of the chip and the amplitude of the alternating electric field are very small, but when the frequency of the applied alternating voltage is a certain value, the amplitude increases significantly, much larger than the amplitude at other frequencies. This phenomenon is called piezoelectric resonance, which is very similar to the resonance phenomenon of the LC circuit. Its resonant frequency is related to the cutting method, geometry, size, etc. of the chip.
When the crystal is not vibrating, it can be regarded as a plate capacitor called electrostatic capacitance C, whose size is related to the geometric size of the chip and the electrode area, generally about a few picofarads to tens of picofarads. When the crystal oscillates, the inertia of mechanical vibration can be equivalent to inductance L. Generally, the value of L is tens of milliohenries to hundreds of milliohenries. The elasticity of the chip can be equivalent to capacitance C, and the value of C is very small, generally only 0.0002 to 0.1 picofarad. The loss caused by friction when the chip vibrates is equivalent to R, and its value is about 100 ohms. Since the equivalent inductance of the chip is very large, while C is very small and R is also small, the quality factor Q of the loop is very large, which can reach 1000 to 10000. In addition, the resonant frequency of the chip itself is basically only related to the cutting method, geometric shape, and size of the chip, and can be made accurately, so the oscillation circuit composed of quartz resonators can obtain very high frequency stability.
Computers have a timing circuit. Although the word "clock" is often used to refer to these devices, they are not actually clocks in the usual sense. It might be more appropriate to call them timers. A computer timer is usually a precision-machined quartz crystal that oscillates within its tension limits at a frequency that depends on how the crystal itself is cut and the amount of tension it is subjected to. There are two registers associated with each quartz crystal, a counter and a holding register. Each oscillation of the quartz crystal decrements the counter by 1. When the counter reaches 0, an interrupt is generated and the counter is reloaded with its initial value from the holding register. This makes it possible to program a timer to interrupt 60 times per second (or at any other desired frequency). Each interrupt is called a clock tick.
A crystal oscillator can be electrically equivalent to a two-terminal network consisting of a capacitor and a resistor in parallel and then a capacitor in series. In electrical engineering, this network has two resonant points, with the lower frequency being the series resonance and the higher frequency being the parallel resonance. Due to the characteristics of the crystal itself, the distance between the two frequencies is quite close. In this extremely narrow frequency range, the crystal oscillator is equivalent to an inductor, so as long as a suitable capacitor is connected in parallel at both ends of the crystal oscillator, it will form a parallel resonant circuit. This parallel resonant circuit can be added to a negative feedback circuit to form a sinusoidal oscillation circuit. Since the frequency range in which the crystal oscillator is equivalent to an inductor is very narrow, the frequency of the oscillator will not change much even if the parameters of other components change greatly.
The crystal oscillator has an important parameter, which is the load capacitance value. By selecting a parallel capacitor equal to the load capacitance value, the nominal resonant frequency of the crystal oscillator can be obtained. In general, the crystal oscillator circuit is connected to the crystal oscillator at both ends of an inverting amplifier, and then two capacitors are connected to the two ends of the crystal oscillator respectively, and the other end of each capacitor is connected to the ground. The capacitance value of these two capacitors in series should be equal to the load capacitance. Please note that the pins of general ICs have equivalent input capacitance, which cannot be ignored. The load capacitance of a general crystal oscillator is 15ppi or 12.5ppi. If the equivalent input capacitance of the component pins is considered, two 22ppi capacitors to form the crystal oscillator circuit are a better choice.
Disclaimer: This article is reprinted from the Internet, and the copyright belongs to the original author. If the videos, pictures, and texts used in this article involve copyright issues, please leave a message at the end of the article to let us know, and we will deal with it as soon as possible! The content of this article is the original author's point of view, and does not mean that this public account agrees with its point of view and is responsible for its authenticity.
July 9 live broadcast: Enjoy the purity - ams active noise reduction and proximity sensing bring a new level of headphone design
Make an appointment now and get a gift for viewing~
Highlights of the live broadcast: Digital hearing enhancement solutions, optical proximity in-ear detection, demos, potential applications
Since the WeChat official account has recently changed its push rules, if you want to see our articles frequently, you can click "Like" or "Reading" at the bottom of the page after each reading, so that each pushed article will appear in your subscription list as soon as possible.
Or set our public account as a star. After entering the public account homepage, click the "three dots" in the upper right corner, click "Set as Star", and a yellow five-pointed star will appear next to our public account name (the operation is the same for Android and iOS users).