Kick start a crystal oscillator in Spice
Adam Chen, Cypress Semiconductor, Woodinville, WA -- 5/27/1999
Starting up oscillator circuits and getting them to maintain oscillation in a Spice simulation is difficult. Some high-frequency crystal circuits require days for the oscillation to reach steady state. Thus, most designers separate the crystal's circuit simulation from the rest of the system design. However, a technique that gives a "kick" to an RLC equivalent circuit solves this problem. This method makes sure the simulation starts fast and quickly reaches the steady state. Figure 1a shows the equivalent RLC circuit of a quartz crystal. Most clock chips, such as Cypress Semiconductor's (www.cypress.com) CY227x and CY228x families, have a crystal circuit similar to Figure 1b. The circuit comprises the crystal, an inverter/gain block, and a feedback network. Conventionally, Spice uses an initial condition for the RLC resonator, such as setting the inductor initial current to a certain value, to start the simulation. The reference frequency of the most common clock chips is 14.1318 MHz. The simulation takes a least a day to reach constant oscillation amplitude because high-Q resonators require long periods of time to reach a certain energy level.
For a 14.318-MHz crystal, the equivalent circuit has Co=4 pF, C1=13.613 pF, L1=9.076 mH, and R1=25W. The excited voltage source is a simple Spice sinusoidal voltage source, Vsin in Listing 1. The Vsin statement includes the damping factor. (DI#2357)
© 2009, Reed Business Information, a division of Reed Elsevier Inc. All Rights Reserved.

