Clock generator (CLK gen) designers can use a crystal model to easily determine the loading capacitance for a required frequency. Circuit and system designer can use the model to simulate the behavior of crystal oscillators.
To model a crystal, we use a simple circuit to measure the oscillaTIon frequencies under different loading capacitance. Then, we employ the crystal circuit model to interpolate the measured data to determine the parameters in the circuit model.
IntroducTIonQuartz crystals have been widely used in clock generators and synthesizers to generate accurate reference frequencies. The most cost-effecTIve crystals on the market have a frequency range of 30kHz to 30MHz, with 50-100 ppm accuracy in the 0°C to 70°C temperature range.
To use or design a crystal oscillator appropriately, it is important to know the crystal's behavior under its loaded condition. In this application note, we will introduce a method for modeling a crystal with loading capacitance and show applications of the model.
Test SetupThe test setup is shown in Figure 1.
Figure 1. Test setup.
In the setup, A1 and A2 are inverters; CL1 and CL2 are the loading capacitors. During the test, CL1 = CL2 and the value varies from 5pf to 59pf with the inverter supply voltage Vcc = 3.1V and Vcc = 2.3V. The crystal in the test has a nominal frequency of 27MHz at load capacitance of 14pF. It should be noted that the actual loading capacitance to the crystal equals CL1 || CL2 plus the parasitic capacitance of board and the terminals of the inverters.
Test ResultsTable 1 and 2 present the two sets of measurements for Vcc=3.1V and 2.3V, respectively.
Table 1. Oscillator Frequencies with Variable Load Capacitors at Vcc=3.1V
Table 2. Oscillator Frequencies with Variable Load Capacitors at Vcc=2.3V
The two measured data sets are also plotted in Figure 2
Figure 2. Crystal frequency variation (ppm) vs. shunt capacitor value.
From the data measurement, we have the following observations:
1) Loading capacitors can change the crystal's oscillation frequency considerably. The result shows that the total crystal variation range can reach as high as 750ppm for the crystal under test.
2) The frequency variation is also dependent on Vcc. Lower supply voltage reduces the frequency. This may be due to the changes of inverter input and output capacitance caused by the change of supply voltage. The resistor R2 in Figure 1 has an effect on reducing such a voltage dependency. But the value of the resistor cannot be too large; otherwise it will make the oscillator hard to start.
3) Based on the data, the crystal frequency is much more sensitive to small loading capacitance. This implies that in application of crystal oscillator, we should use a crystal requiring relative large load capacitance for its nominal frequency.
4) The resistor R1 in Fig. 1 helps the oscillator to start. Also the inverter's characters affect the oscillator's performance. High-speed inverters should be used. If the inverter's speed is not high enough, the oscillation may not start.
Modeling of Quartz CrystalIn the oscillator or VCXO design, the crystal model is required. A commonly adopted crystal resonator model [1-2] is depicted as Figure 3.
Figure 3. Crystal model.
Next, we will use the measured data given in Tables 1 and 2 to determine the values of the components in Figure 3. According to [1], in most crystal oscillator applications, the oscillation frequency is the parallel frequency of the resonator in Fig 3. Define CL = CL1 || CL2 and fp to be the oscillation frequency, we can have the impedance equation written as
Solve the equation for fP yielding,
Define
We then can rewrite Eq. (2) in a vector form as
With Eq. (4) we can run the least-square estimation directly to estimate fs, C1, L1, and C0. It should be noted that the value of R1 is usually given by the crystal datasheet. For the crystal used in our test, R1 = 40. To estimate C0, at a given supply voltage, vary the value of C0 to get the best least-square fit to the measured data sets, assuming that the effect of Vcc is only on the value of C0. The estimated component's values of the model in Figure 3 are listed as follows
In Figure 4, it shows the output frequency curve calculated by Eq. (2) with the estimated component values verse the measured frequencies. The root of mean square (RMS) of the interpolation is 14ppm for the case of Vcc = 3.1V and 13ppm for Vcc = 2.3V.
Figure 4a. Least square fit for data set 1 (Vcc=3.1V) with =5.7pF.
Figure 4b. Least square fit for data set 2 (Vcc=2.3V) with C0=5.96pF.
SummaryIn this application note, we have shown a test setup for measuring the oscillation frequency of a quartz crystal and a method to estimate the parameters of the crystal's resonator model. Real measurements reveal how oscillation frequency varies with loading capacitance.
We introduced a numerical approach based on measured data, to estimate the parameters of the crystal's resonator circuit model. As shown in Figure 4, the model fits the measured data closely with a root of mean square error (RMS) of 13-14ppm. Clock generator designers can use the model to determine the shunt capacitor values for a required frequency. System and circuit design engineers can use the model for system behavior simulations.
Reference
- Norman Bujanos, "Choosing the Right Crystal for Your Oscillator", EDN, Feb., 1998, pp. 66-70.
- James Northcutt, "Specifying Crystal for Use in VCXOs and TCXOs for Wireless Designs", Wireless Design and Development, Feb., 1998.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)