Tips for Crystal Oscillator Circuit Design, Essential Skills for Engineers!

2024-11-19 YXC Official Website
crystal oscillator,Pierce oscillator,oscillator,quartz crystal oscillator crystal oscillator,Pierce oscillator,oscillator,quartz crystal oscillator crystal oscillator,Pierce oscillator,oscillator,quartz crystal oscillator crystal oscillator,Pierce oscillator,oscillator,quartz crystal oscillator

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.


Pierce oscillator


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.

授权代理商:世强先进(深圳)科技股份有限公司
技术资料,数据手册,3D模型库,原理图,PCB封装文件,选型指南来源平台:世强硬创平台www.sekorm.com
现货商城,价格查询,交期查询,订货,现货采购,在线购买,样品申请渠道:世强硬创平台电子商城www.sekorm.com/supply/
概念,方案,设计,选型,BOM优化,FAE技术支持,样品,加工定制,测试,量产供应服务提供:世强硬创平台www.sekorm.com
集成电路,电子元件,电子材料,电气自动化,电机,仪器全品类供应:世强硬创平台www.sekorm.com
  • +1 赞 0
  • 收藏
  • 评论 0

本文由雪飘梦飞转载自YXC Official Website,原文标题为:Tips for crystal oscillator circuit design, essential skills for engineers!,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。

相关研发服务和供应服务

评论

   |   

提交评论

全部评论(0

暂无评论

相关推荐

How Capacitors and Resistors Work with Crystal Oscillators

In the crystal oscillator circuit, there is a close interaction between the load capacitor and the crystal oscillator. The role of the resistor connected to the input and output of the crystal oscillator is to generate negative feedback to ensure that the amplifier works in the high-gain linear region. This article analyzes how capacitors and resistors work with crystal oscillators.

2024-12-03 -  技术探讨 代理服务 技术支持 采购服务

What are the Common Cutting Processes for Crystal Oscillators

The more common cutting types of crystal oscillators are briefly introduced in three types: AT, BT, and SC cutting.

2024-11-27 -  技术探讨 代理服务 技术支持 采购服务

Introduction of the Crystal Resonator Structure

This article is an introduction to the crystal resonator structure. The crystal in the crystal resonator refers to quartz crystal, and its chemical formula is silicon dioxide SiO2.

2024-11-26 -  技术探讨 代理服务 技术支持 采购服务

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

2022/11/23  - TAITIEN  - 选型指南  - Version 21/2022 代理服务 技术支持 采购服务
2024/5/16  - 扬兴晶振  - 数据手册 代理服务 技术支持 采购服务 查看更多版本

How to Distinguish Active and Passive Four-pin Crystal Oscillators?

Crystal oscillators are usually divided into two types: passive crystal oscillators and active crystal oscillators. In this article YXC will introduce how to distinguish active and passive four-pin crystal oscillators.

2024-12-21 -  设计经验 代理服务 技术支持 采购服务

星通时频(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

2022/11/14  - 星通时频  - 选型指南

应达利(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

2023/5/11  - 应达利  - 选型指南 代理服务 技术支持 采购服务

晶振IATF 16949法国船级社认证(TW007204-IATF)

描述- Taitien Electronics Co., Ltd.获得Bureau Veritas Certification颁发的IATF 16949质量管理体系认证,认证范围包括设计和制造晶体振荡器。认证有效期为2024年3月12日至2027年3月11日。此外,Taitien Electronics (Nanjing) Co., Ltd.也获得相同认证,认证范围涵盖销售,有效期为同上。

12-03-2024  - TAITIEN  - 测试报告  - Revision: 1 代理服务 技术支持 采购服务
2024/6/14  - 扬兴晶振  - 数据手册 代理服务 技术支持 采购服务 查看更多版本

设计、制造和供应石英坯、晶体、晶体振荡器、VCXO、VC-TCXO和OCXO ISO 9001:2015法国国际检验局认证(TW007216)

描述- TAITIEN ELECTRONICS CO., LTD.的管理体系经Bureau Veritas Certification Holding SAS – UK Branch审核,符合ISO 9001:2015标准要求。认证范围包括石英片、晶体、晶体振荡器、VCXO、VC-TCXO和OCXO的设计、制造和供应。证书有效期为2024年3月18日至2027年3月17日。

18-03-2024  - TAITIEN  - 测试报告  - Version: 1 代理服务 技术支持 采购服务

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 Wide Voltage Active Crystal Oscillator, Frequency 15mhz, Package 7050, Working Voltage 3.3V, Used in Charging Piles

The main structure of the charging pile includes the pile body, charging module, display screen, connecting cable, account management module, safety protection device and other parts. According to different power supply methods, it can be divided into AC charging piles and DC charging piles. AC charging piles generally have low current, small pile body and flexible installation; while DC charging piles generally have high current, larger charging capacity in a short time, larger pile body and large occupied area (heat dissipation).

2024-08-17 -  应用方案

The Precise Pulse of Low-Altitude Economy - Crystal Oscillator

As a key technology in the field of low-altitude economy, crystal oscillators will continue to provide a solid foundation for the development of low-altitude economy with their high precision and reliability. In this article, YXC recommends three temperature-compensated crystal oscillator (TCXO) products to meet the needs of different solutions.

2024-12-05 -  应用方案 代理服务 技术支持 采购服务

Temperature Compensated Crystal Oscillator Is Also One of The Quartz Crystal Oscillators, Referred to as “temperature Compensated Crystal Oscillator“

What are the characteristics of temperature compensated crystal oscillator? Because electronic products in different fields have different demands for quartz crystal oscillators, and temperature-compensated crystal oscillators were developed to compensate for the instability of ordinary crystal oscillators at high temperatures. However, temperature-compensated crystal oscillators have There are many types of temperature compensated crystal oscillators, each with its own characteristics.

2024-01-16 -  设计经验 代理服务 技术支持 采购服务
展开更多

电子商城

查看更多

品牌:扬兴晶振

品类:QUARTZ CRYSTAL OSCILLATOR

价格:

现货: 0

品牌:扬兴晶振

品类:Crystal oscillator

价格:

现货: 0

品牌:扬兴晶振

品类:无源晶振

价格:

现货: 0

品牌:扬兴晶振

品类:QUARTZ CRYSTAL OSCILLATOR

价格:

现货: 0

品牌:扬兴晶振

品类:QUARTZ CRYSTAL OSCILLATOR

价格:

现货: 0

品牌:扬兴晶振

品类:Crystal oscillator

价格:¥1.5000

现货: 0

品牌:扬兴晶振

品类:CRYSTAL UNIT

价格:¥0.5000

现货: 0

品牌:扬兴晶振

品类:CRYSTAL UNIT

价格:¥1.2000

现货: 0

品牌:扬兴晶振

品类:CRYSTAL OSCILLATOR

价格:

现货: 0

品牌:扬兴晶振

品类:Programmable Crystal Oscillator

价格:

现货: 0

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

现货市场

查看更多

品牌:SKYWORKS

品类:CMEMS OSCILLATOR

价格:¥0.8369

现货:155,000

品牌:NDK

品类:晶振

价格:¥0.8700

现货:88,065

品牌:SKYWORKS

品类:CMEMS OSCILLATOR

价格:¥0.8369

现货:75,000

品牌:SKYWORKS

品类:CMEMS OSCILLATOR

价格:¥1.3948

现货:35,000

品牌:SKYWORKS

品类:CMEMS OSCILLATOR

价格:¥1.3948

现货:30,000

品牌:EPSON

品类:Crystal Oscillator

价格:¥2.9900

现货:27,938

品牌:SKYWORKS

品类:CMEMS OSCILLATOR

价格:¥1.3948

现货:20,000

品牌:EPSON

品类:CRYSTAL OSCILLATOR

价格:¥1.5192

现货:10,000

品牌:EPSON

品类:kHz Range Crystal unit

价格:¥1.7000

现货:7,620

品牌:Hosonic

品类:无源晶振

价格:¥0.8400

现货:6,815

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

查看更多

授权代理品牌:接插件及结构件

查看更多

授权代理品牌:部件、组件及配件

查看更多

授权代理品牌:电源及模块

查看更多

授权代理品牌:电子材料

查看更多

授权代理品牌:仪器仪表及测试配组件

查看更多

授权代理品牌:电工工具及材料

查看更多

授权代理品牌:机械电子元件

查看更多

授权代理品牌:加工与定制

世强和原厂的技术专家将在一个工作日内解答,帮助您快速完成研发及采购。
我要提问

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

研发客服
商务客服
服务热线

联系我们

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

投诉与建议

E-mail:claim@sekorm.com

商务合作

E-mail:contact@sekorm.com

收藏
收藏当前页面