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

暂无评论

相关推荐

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 -  技术探讨 代理服务 技术支持 现货查询 批量订货

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 -  技术探讨 代理服务 技术支持 现货查询 批量订货
2024/5/16  - 扬兴晶振  - 数据手册 代理服务 技术支持 现货查询 批量订货 查看更多版本
2024/6/14  - 扬兴晶振  - 数据手册 代理服务 技术支持 现货查询 批量订货 查看更多版本

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 -  产品 代理服务 技术支持 现货查询 批量订货

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 -  应用方案
2022/7/25  - 东芯恒科  - 数据手册 代理服务 技术支持 现货查询 批量订货

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

2024/10/25  - 扬兴晶振  - 数据手册 代理服务 技术支持 现货查询 批量订货

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 -  设计经验 代理服务 技术支持 现货查询 批量订货

How to Gradually Determine The Parameters and Type When Choosing A Quartz Crystal Oscillator

Crystal oscillators are used in more and more communication equipment. With the development of technology, the types of quartz crystal oscillators are also increasing. Therefore, many users are paying attention to how to choose the parameters and type of crystal oscillators. Yangxing will talk to you about three directions to determine your crystal oscillator type.

2024-03-01 -  设计经验 代理服务 技术支持 现货查询 批量订货

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 -  技术探讨 代理服务 技术支持 现货查询 批量订货

YXC 12MHz Quartz Crystal Oscillator Is Used in Mobile Satellite Antennas, with A Frequency Difference of ±20ppm at Room Temperature

With the rapid development of satellite communication technology, the mobile satellite communication system has become a good means of mobile communication. It has the characteristics of long communication distance, reliable communication quality, rapid communication, and little impact on the environment. It has gradually been favored by people.

2024-04-25 -  应用方案 代理服务 技术支持 现货查询 批量订货
展开更多

电子商城

查看更多

品牌:扬兴晶振

品类:QUARTZ CRYSTAL OSCILLATOR

价格:

现货: 0

品牌:扬兴晶振

品类:Crystal oscillator

价格:¥1.5000

现货: 0

品牌:扬兴晶振

品类:CRYSTAL UNIT

价格:¥0.5000

现货: 0

品牌:扬兴晶振

品类:Crystal oscillator

价格:

现货: 0

品牌:扬兴晶振

品类:无源晶振

价格:

现货: 0

品牌:扬兴晶振

品类:QUARTZ CRYSTAL OSCILLATOR

价格:

现货: 0

品牌:扬兴晶振

品类:CRYSTAL UNIT

价格:¥1.2000

现货: 0

品牌:扬兴晶振

品类:QUARTZ CRYSTAL OSCILLATOR

价格:

现货: 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

品牌:EPSON

品类:CRYSTAL OSCILLATOR

价格:¥1.4218

现货:70,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

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

查看更多

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

查看更多

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

查看更多

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

查看更多

授权代理品牌:电子材料

查看更多

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

查看更多

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

查看更多

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

查看更多

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

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

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

收藏
收藏当前页面