摘要
Many industrial/scientific/medical (ISM) band radio frequency (RF) products use crystal oscillators to generate a reference for the phase-locked loop (PLL)-based local oscillator (LO). This tutorial provides a basic description of the ISM-RF Crystal Calculator, which can be used to calculate various impacts on crystal frequency accuracy and startup margin for such an LO.
ISM-RF Crystal Calculator
The ISM-RF Crystal Calculator is broken down into a number of worksheets that address various calculations related to crystal oscillators and provides reference information about crystals themselves.
Instructions Sheet
This tab provides a summary of the formatting conventions used on the Calculator worksheet, as well as brief descriptions for the other tabs.
Calculator Sheet
As noted in the Instructions sheet, there are two primary sections of the Calculator worksheet: the Product Information section used for data entry, and the three calculation sections showing results of the entered parameters. The Product Information area has three background colors used to denote different categories of data within the section. There are also particular cells (outlined in red) that require user input, thus providing the variable values used for the subsequent calculations.
The orange section contains information related to the Analog Devices ISM radio product for which the calculation is being applied. At the top of this section is a drop-down box that is used to select the target device for the calculations. The following rows display the device's internal capacitance (CINT) related to the XTAL pins, the PLL dividing ratio, the IF frequency (for receivers), and the suggested crystal reference frequencies for 315MHz and 433.92MHz of operation. An automated macro is provided that will copy either the f0 value down to the Crystal Frequency section (cell C23). (Note: macros will need to be enabled within the spreadsheet to use this functionality.)
The blue section has information regarding the printed-circuit board (PCB) and the crystal oscillator circuit. It includes an estimated value for parasitic capacitance (CPAR) and two cells for entering shunt (CSHUNT) or series capacitor values (CSER). It is very common for designs to provide a pair of shunt or series capacitors, one for each pin, so the entry assumes that the same value is used for both shunt or series capacitors. A reference diagram is provided to illustrate the capacitor connections.
The green section shows data for the crystal itself. A pair of drop-down boxes is available to simplify crystal selection from the various vendor sheets (see the NDK Crystals, Crystek Crystals, HKC Crystals, and Raltron Crystals Sheets section below). An automated macro is also provided, allowing the user to easily copy the crystal vendor's electrical characteristics from the reference column over to the user input section. (Disclaimer: For the latest specs, please confirm with the crystal vendor's data sheet.) If the user has crystal parameters available from a specification sheet, they can be manually entered directly into the cells outlined in red. Values for shunt capacitance (C0), maximum equivalent series resistance (ESR) (R1), and motional capacitance (C1) are intrinsic to the crystal design. The motional inductance (L1) is a calculated property of the crystal system. A reference diagram showing the basic crystal model is provided to illustrate these properties. The load capacitance (CL-SPEC) and the crystal frequency (f0) are parameters used by the crystal vendor to target a specified operating frequency.
Commonly, crystal vendors will provide a data sheet that specifies the nominal operating frequency (f0), the tested load capacitance (CL), the maximum ESR (Rr), and occasionally the shunt capacitance (C0) (which is usually also a maximum parameter). The actual shunt capacitance tends to be less than half of the specified maximum, and the ESR can commonly be found at a 1/4 to 1/3 of the specified maximum. The motional capacitance (C1) tends to be dependent on the cut angle, which is not commonly provided. Other properties such as aging and lifetime stability, storage, soldering, operating temperatures, as well as operational tolerances may be provided in a crystal data sheet. However, these are not assessed in this calculator.
The lower sections of the worksheet provide calculations for the negative resistance and crystal pulling. There is also a third calculation section specifically for the MAX1479 amplitude-shift keying (ASK)/frequency-shift keying (FSK) transmitter.
The negative resistance calculation is used to help determine if there will be any issues associated with starting up the oscillation of the crystal. The formula for calculating the negative resistance stems from the oscillator transconductance gain, the frequency of oscillation, and the terminal capacitances:
In this spreadsheet the negative resistance (-RMOT) is automatically highlighted in either green or red. The highlighted color is dependent upon the -RMOT value versus the startup margin multiplied by the ESR. Using a startup margin of 4, if |-RMOT| is < 4 × ESR, then the negative resistance will be in red. We recommend adjusting the design to provide less capacitive loading on the crystal, which in turn increases the magnitude of the negative resistance, and thus increases the likelihood of initiating an oscillation.
The pulling calculation determines how much the carrier frequency may deviate from the target, based on system design parameters. The formula for calculating the crystal pulling is based on the motional capacitance of the crystal and the actual versus specified total capacitive load:
The actual carrier frequency (fRF-ACTUAL) helps determining the effects of system on the final RF.
As noted, the MAX1479 FSK Calculation section can provide estimates of the FSK deviation based on the system design parameters. The MAX1479 uses internal switched capacitance to force the crystal oscillator to change, thus providing a means to generate FSK modulation. For further information, see the MAX1479 data sheet.
Neg-R Curves and Temp & Angle Sheets
Various other plots can be used to determine operational characteristics and empirical limits to the crystal oscillator. Data tables and plots are provided to visually explain these crystal properties.
The data generated on the Neg-R Curves sheet uses values from the Calculator sheet to build a table of resistance based on various shunt capacitance (C0) and load capacitance (CL) values (see Figure 3a).
The data found on the Temp & Angle sheet is used to depict the intrinsic relationship between temperature and operating frequency with a given angle of cut for the quartz crystal. Values on this worksheet were derived from the plots included further down on the sheet and from industry literature.
NDK Crystals, Crystek Crystals, HKC Crystals, and Raltron Crystals Sheets
Crystal electrical characteristics are provided for various vendors on these sheets. A number of the values are used with the automated lookup feature on the main Calculator sheet. For the latest specs, please confirm using the vendor's data sheet.
Appendix: Example Calculation
This example will walk a user through the process of entering data into the Crystal Calculator workbook and will explore the results.
- Open the Crystal Calculator workbook and enable macros if prompted.
- Select the Calculator tab along the bottom of the Excel® workbook.
- Select cell C4 (Analog Devices LFRF Product), click on the drop-down arrow next to the cell, and select MAX1473 from the list. Note that the appropriate parameters are filled in based on the list selection.
- Click on the Copy to f0 button next to the 13.22560MHz value. This should place the value of 13.2256 into cell C23.
- Enter the value of 0 in cell C13 (Shunt Capacitors).
- Enter the value of 10000 in cell C14 (Series Capacitors).
- Select cell F16 (Crystal Manufacturer), click on the drop-down arrow and select NDK from the list of manufacturers.
- Select cell F17 (Crystal Type) and choose Custom from the drop-down list. This should fill in the crystal values in cells F18 to F22.
- Click on the Copy Crystal Data button next to the new values. This should transfer the crystal information over to the cells outlined in red to the left.
- Scroll down and observe that the negative resistance shows -514.3 in green. (If the values do not match, check that cell C12 has the value of 0.8 and cell C25 has the value of 4.)
- Scroll down to the Pulling Calculation section and check that the actual carrier frequency shows 434.0522.
- Scroll up and enter the value of 5 for the shunt capacitors. Observe that the negative resistance has dropped to -201.0 and the actual carrier frequency has changed to 433.9616.
- Change the shunt capacitor value back to 0 and enter the value of 3.000 for the specified load capacitance (cell C19). Observe that the negative resistance is back up to -514.3 and that the actual Carrier frequency is 433.925.
Related Application Notes
Tutorial 726, "Specifying Quartz Crystals"
Application note 1017, "How to Choose a Quartz Crystal Oscillator for the MAX1470 Superheterodyne Receiver"