Tips for Crystal Oscillator Circuit Design, Essential Skills for Engineers!
As an indispensable signal transmitter in the clock circuit, the crystal oscillator is required for the microcontroller to operate normally. Therefore, the participation of the crystal oscillator is also indispensable in the design of electronic circuits. A good crystal oscillator circuit design can provide the best space utilization for electronics and play the greatest functional role.
Crystal oscillator
Oscillation principle
The oscillator is a positive feedback amplifier with a frequency selection network without an input signal. From the energy point of view, the sine wave oscillator is a circuit that converts DC power into sinusoidal alternating energy of a specific frequency and amplitude by self-excitation. For any amplifier circuit with feedback, it can be drawn as shown in the figure below:
Figure 1 Oscillator
When the gain satisfies |f|×|a|≥1 and the phase condition satisfies α+β=2πn, a positive feedback loop is formed and the oscillation condition is met. The above figure constitutes an oscillator.
Crystal oscillator principle
When a certain alternating electric field is applied to both ends of the crystal, the chip will produce mechanical deformation. The quartz crystal oscillator is a resonant device made using the piezoelectric effect of the quartz crystal. If an electric field is applied to the two electrodes of the quartz crystal, the chip will produce mechanical deformation. At the same time, this mechanical deformation will generate a corresponding alternating voltage, and the amplitude at its characteristic frequency is much larger than the amplitude at other frequency points. According to this feature, in order to obtain a low starting voltage and a short starting time, the spectrum energy of the alternating voltage applied to both ends of the crystal should be mainly concentrated near the characteristic frequency of the crystal.
Figure 2 Crystal oscillator equivalent circuit
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 is significantly increased, much larger than the amplitude at other frequencies. This phenomenon is called piezoelectric resonance. The equivalent circuit of the quartz crystal oscillator is shown in Figure 2. When a parallel resonant circuit is formed with a quartz crystal, the crystal behaves as a sensor, and its equivalent quality factor Q value is very high. The equivalent impedance frequency characteristic is shown in Figure 3.
Figure 3 Crystal oscillator equivalent impedance
In Figure 3, Fr is the series resonance point. When the frequency is Fr = 1/(2π√LC), the series L and C in Figure 2 resonate, and the series branch is equivalent to a pure resistor. Fa is the parallel resonance point. At this time, the series branch is equivalent to an inductor, resonating with the parallel C0, Fa= Fr√1+C/C0. At this time, the equivalent impedance tends to infinity. Usually, the difference between these two frequency points is very small.
In general, it can be considered that the crystal oscillator behaves as a resistor in series resonance and as an inductor in parallel resonance. It is recommended to use parallel resonance when designing.
In electrical engineering, this network has two resonance points, which are divided by the frequency. The lower frequency is series resonance and the higher frequency is parallel resonance.
The inverter acts as an amplifier and provides a 180-degree phase shift at the same time. The crystal oscillator and negative resistance capacitor serve as feedback loops to provide the remaining 180-degree phase shift. RF is the feedback resistor, which is used to determine the DC operating point of the inverter so that it works in the high gain region (linear region). This resistance value cannot be too small, otherwise the loop will not oscillate. This circuit uses the parallel resonance of the crystal oscillator. Since the parallel resonance is related to C0 and will be affected by parasitic capacitance, increasing the load capacitors C1 and C2 can reduce the impact of C0 on the resonant frequency. At the same time, the addition of C1 and C2 will affect the start-up time and the accuracy of the oscillation frequency. The selection of load capacitors should be based on the values in the datasheet provided by the crystal oscillator supplier. Within the permitted range, the lower the load capacitance value, the better. Although a larger capacitance value is conducive to the stability of the oscillator, it will increase the start-up time.
Figure 4 Pierce oscillator circuit
Rs is used to suppress high-order harmonics, so that the oscillator obtains a purer spectrum. If the value of Rs is too small, it may cause overdrive of the crystal oscillator, resulting in damage to the crystal oscillator or shortened life. Usually Rs=XC2. The influence of Rs can be seen from the figure below.
Figure 5 Influence of Rs (from references)
Circuit design
As shown in Figure 6, PM0 and NM0 form an inverter, which together with the off-chip circuit form an oscillation loop. PM7~PM9 and NM7~NM9 form a Schmitt trigger to shape and amplify the waveform. The output signal then passes through two stages of inverters to improve the output stage drive capability.
Figure 6 xtal circuit schematic
Simulation result demonstration
When Rs is small, under the same excitation voltage, the waveform amplitude is much smaller than when Rs is large, resulting in the XC output being a straight line.
Figure 7 Waveform diagram of XOUT and XC
Crystal oscillator design precautions
The choice of crystal is very important in low-power design, especially for systems with sleep wake-up, which often use low voltage for low power consumption. Since the low power supply voltage reduces the excitation power provided to the crystal, the crystal starts oscillating very slowly or cannot start oscillating at all. This phenomenon is not particularly obvious during power-on reset.
When the circuit is powered on, there is enough disturbance and it is easy to establish oscillation. When waking up from sleep, the disturbance of the circuit is much smaller than when powered on, and it becomes very difficult to start oscillation. In the oscillation circuit, the crystal cannot be over-driven (easy to oscillate to high harmonics) or under-driven (not easy to start oscillation).
The selection of crystal should consider the following factors: resonant frequency, load capacitance, excitation power, temperature characteristics, and long-term stability. In other words, the reliability of crystal oscillator operation is not only affected by load capacitance. For the selection of load capacitance, it should be selected according to the value of the datasheet provided by the crystal oscillator supplier. Within the allowable range, the lower the load capacitance value, the better. Although a larger capacitance value is conducive to the stability of the oscillator, it will increase the start-up time. Some crystal oscillator recommended circuits even require a series resistor RS, which is generally used to prevent the crystal oscillator from being overdriven. Overdriving the crystal will gradually wear out and reduce the contact plating of the crystal, which will cause the frequency to rise, resulting in frequency deviation and accelerated aging.
Summary of design experience
01First, choose a crystal with low equivalent series resistance. Low crystal series resistance is conducive to solving the problem of starting oscillation. Because low crystal equivalent resistance is conducive to increasing loop gain.
02 Reduce the parasitic capacitance by shortening the connection spacing of the printed circuit board. This can help solve the problem of starting oscillation and the problem of crystal frequency stability.
03 The application temperature and voltage range of the crystal should be monitored to maintain the crystal starting frequency. If necessary, adjust the value of the capacitor and resistor.
04 For the best effect, the crystal design should use at least 40% of the peak-to-peak value of Vdd as the input signal to drive the clock inverter. This requirement cannot be achieved by simply adjusting the two ends of the crystal. We can also refer to the instructions of the crystal manufacturer for further help on crystal design.
05 The recommended optimal resistance value of R1 can be obtained by first calculating the values of capacitors C1 and C2, then setting a potentiometer at the position of R1 and setting the initial value of the potentiometer to XC1. In this way, the potentiometer can be adjusted to ensure that the crystal starts oscillating at the required frequency and maintains steady-state oscillation.
- |
- +1 赞 0
- 收藏
- 评论 0
本文由雪飘梦飞转载自YXC Official Website,原文标题为:Tips for crystal oscillator circuit design, essential skills for engineers!,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
相关推荐
There are Two Main Types of Crystal Oscillators: Active Crystal Oscillators and Passive Crystal Oscillators
Self-oscillation characteristics of active crystal oscillators and usage requirements of passive crystal oscillators. The content involves the internal structure of crystal oscillators, especially the piezoelectric effect of quartz crystals and their role in mechanical vibration.
技术探讨 发布时间 : 2024-11-22
Does a Passive Crystal Oscillator Have a Direction?
A passive crystal oscillator has no direction, and the pins of a passive crystal oscillator do not distinguish between positive and negative poles.
技术探讨 发布时间 : 2024-11-13
Crystal Oscillator PPM Error Analysis and Calculation Method
Crystal oscillator accuracy is usually measured in PPM, which describes the frequency stability or deviation of the crystal oscillator. PPM represents the relative error between the actual output frequency and the nominal frequency, and is an important parameter for measuring the frequency accuracy of the crystal oscillator.
技术探讨 发布时间 : 2024-11-02
TAITIEN(泰艺)石英晶振和时间模块选型指南
目录- Company Profile Crystal Units Crystal Oscillators Timing Module
型号- XX,TT,XY,XZ,TW,VA-M,TX,TZ,NA-100M-6900,OW-M,GT-11,OW-U,NI-100M-6700,IA,TT-L,NF-100M-6800,NK-N,NK-H,TY-J,IW,NA,PY-U,OA-M,VL,NF,NI,NJ,OA-U,OT-M,NN,VW,NP,DT-5151,VD-M,OT-U,NA-100M-6800,OA,OB,OC,VT-M,W,X3,VJ-M,PC-U,TX-P,NA-10M-6800,OT,TX-J,OV,OW,XA,OX,VW-M,XB,OY,PV-U,OZ,XD,TA,NI-10M-3500,XI,OD-M,XJ,PX-U,PZ-U,TK,TL,XR,XV,OJ-M,TS
应达利(Interquip)石英晶体谐振器/振荡器选型指南(详细版)
目录- COMPANY PROFILE Quartz Crystal Resonators Application introduction SMD Seam Welded Quartz Crystal Resonators with Built-in Thermlstor AT-CUT Quartz Crystal Resonators SMD Ceramic to Metal Quartz Crystal Resonators SMD All Ceramic Quartz Crystal Resonator SMD Seam Welded Quartz Crystal Resonators SMD Tuning Fork Crystal Resonators SMD Voltage Controlled Quartz Crystal Oscillator SMD Temperature Compensated Quartz Crystal Oscillators Ultra-Low Phase Noise Quartz Crystal Oscillators SMD Ceramic Enclosure Quartz Crystal Oscillators Programmable SMD Ceramic Enclosure Quartz Crystal Oscillators
型号- 165-B SERIES,HC-49S SERIES,SMCE-1210,SMCE-1612,THHF-49S3,SMLF-1610,TC900,463-F,168-B SERIES,SMCM-3225H,463-E,168-P SERIES,163-B,163-F,163-E,165-B,SMCE-2016,SMCE-3225,VC800,SMAC-1045H,463-F SERIES,THR-1612,VC800 SERIES,SMAC-7050H,163-P,HC-49S,149-B SERIES,149-F SERIES,THHF-49S2B,THHF-49S2A,TC950 SERIES,SMCM-2016H,SMCE-2520,THR-2016,160-B SERIES,SMLF-3215,163-P SERIES,SMCE-5032,TC800,163-B SERIES,163-E SERIES,163-F SERIES,SMCM-5032H,SMCE-7050,TC800 SERIES,149-B,168-B,SMHF-49C,149-E,SMHF-49B,149-F,SMHF-49D,160-B,SMCE-6035,SMLF-2012,THR-2520,463-E SERIES,TC900 SERIES,TC950,THHF-49S,168-P,149-E SERIES
Interquip Electronics Co., Ltd Company Profile
型号- TCXO,SMAC SERIES,TC800 SERIES,VT800 SERIES,SMCE-1210,SPXO-1612,163-E SERIES,163-F SERIES,160-B SERIES,TC900,VT900,SMCE,TC950 SERIES,149-B SERIES,SMCE-1008,VC800 SERIES,VXCO-2016,TCXO SERIES,163-B,TCXO-1612,163-F,SMLF SERIES,163-E,165-B,VC800,SPXO,THR-1612,VT953 SERIES,THR SERIES,VCXO-1612,168-B SERIES,165-B SERIES,VCTCXO,VCXO,SMCM-1612,THR-2016,VC900 SERIES,VT900 SERIES,TC800,VT800,49B SERIES,SMAC,VCXO-2016,49B,49S SERIES,THR,49N SERIES,149-B,SMCM,168-B,49N,163-B SERIES,160-B,49S,VCXO SERIES,SMLF,VC900,TC900 SERIES,TC950,VT953,SMCM SERIES,SMCE SERIES
星通时频(SCTF)石英晶体谐振器/振荡器选型表
目录- CRYSTAL TUNING FORK OSCILLATOR VCXO TCXO OCXO
型号- 3T,7X,7Z,3V,3X,3Z,TF308,5CKL,TF2012,2CK,2CM,2CN,2CV,5C,1VT,3VT,1C,5V,1T,5X,5Z,TF206,1X,3CKL,SA,2C,OA,OB,7CKL,1CK,SM,3CK,1CM,5CK,3CM,3CN,5XA,7CK,5CM,5CN,7CM,5CP,7CN,2T,7CP,5XG,TF7015,2CKL,3CV,2X,5CV,OX,7CV,7C,OCXO,3C,2VT,TF3215,7V
应达利(Interquip)晶振选型表(简版-英文)
目录- Quartz Crystal Resonators Quartz Crystal Oscillators
型号- 165-B SERIES,SMCE-1210,SMCE-1612,SMAC -7050H,SMLF-1610,TC900,463-F,168-B SERIES,SMCM-3225H,463-E,168-P SERIES,163-B,163-F,163-E,165-B,SMCE-2016,SMCE-3225,VC800,463-F SERIES,SMAC-1045H,THR-1612,VC800 SERIES,163-P,149-B SERIES,149-F SERIES,TC950 SERIES,SMCM-2016H,SMCE-2520,THR-2016,160-B SERIES,163-P SERIES,SMLF-3215,SMCE-5032,TC800,163-B SERIES,163-E SERIES,163-F SERIES,SMCM-5032H,SMCE-7050,TC800 SERIES,149-B,168-B,149-E,149-F,SMHF-49B,160-B,SMCE-6035,SMLF-2012,THR-2520,463-E SERIES,TC900 SERIES,TC950,THHF-49S,168-P,149-E SERIES
YSO251PJ OM2EIBXFM-250M SMD-3225-250MHZ-3.3V- ±2.5PPM QUARTZ CRYSTAL OSCILLATOR SPECIFICATION
型号- OM2EIBXFM-250M,YSO251PJ,YSO251PJ 250.00000 MHZ 3.3V ± 2.5PPM
YXC Programmable Differential Crystal Oscillator YSO210PR Series, Frequency 155.52MHz, LVPECL Output, Used in Switches
A switch is a network device that is mainly used for forwarding electrical (optical) signals, allowing independent communication between any two network nodes connected to the switch.Switches are not limited to Ethernet applications, but also come in many forms such as telephone voice switches and fiber optic switches to meet different network needs.Switches require a stable clock signal to synchronize the transmission and processing of network data.
应用方案 发布时间 : 2024-06-22
YXC automotive grade resonator 8MHz, Passive Crystal Oscillator 3225 Package for Car Bluetooth Module
Bluetooth module is a PCBA board with integrated Bluetooth function, which is used for short-distance wireless communication. It is divided into Bluetooth data module and Bluetooth voice module according to its function. Bluetooth module refers to a collection of basic circuits of chips with integrated Bluetooth function, which is used for wireless network communication.
产品 发布时间 : 2024-06-23
长兴电子(CHANG XING)晶体振荡器和无源晶振选型指南
目录- SMD Seam Sealing Crystals SMD Crystal Oscillators SMD LVPECL Crystal Oscillators
型号- 4D SERIES,4E SERIES,3D SERIES,9D,9E,8D,8E,7E,9G,8G,4D,7G,3D,4E,7G SERIES,8G SERIES,9D SERIES,9E SERIES,9G SERIES,7E SERIES,8D SERIES,8E SERIES
电子商城
现货市场
登录 | 立即注册
提交评论