Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Oscillator

Status
Not open for further replies.

mrydhan

Electrical
Feb 10, 2003
4
0
0
US
I have the following crystal oscillator circuit. It does not oscillate. Any help?

------/\/\/\------------
| 10 M |
| |
| ---------- |
| | | |
|----| 74LVC04|----- |
| |-------- | /
| | / 330K
| | |
|--------|[]|----------|
| 32.768KHZ XTAL |
--- ---
--- ---
| |
| |
GND GND
 
Replies continue below

Recommended for you

Are you trying to get your inverter (7404) to oscillate at 32.768kHz? If so, this circuit will not work. Crystals will not drive the inputs to a CMOS gate, and require special input (and output) circuitry. Try looking up some crystal oscillator circuits on the web.

If this is not your intention, please give a description of what you are trying to do with this circuit.
 
1) Try taking out the 330K.

2) Try a differenct crystal (you might have fractured it).

3) Place a scope on it and monitor it from power up (see if it even tries to oscilate).

4) Try the TC4069. Perhaps it has different input/output capacitance, drive strength, speed, etc.
 
These configuration oscillators are notoriously hard to get to work. They are very sensitive to the parasitic capacitance of the layout. Also, the output capacitance of the logic gate is important, or it may cause enough phase shift to prevent oscillation.
The 74LVC04 has an output of only about 2.0 volts when Vdd is 3.0, whereas the TC4069 has an output of 2.95 volts. This may be enough gain difference to prevent oscillation.
To oscillate, a circuit must have a gain of more than unity, and a phase shift of 0 degrees. But to guarantee that it will start oscillating, the circuit must have a gain of about 3.
 
A couple of things:
- the 330K is there to limit the loop gain. It is usually tuned to the type of inverter and the series resonance of the crystal that you use. You will have to tune yours, but as it does not oscillate now, take it off for now.
- the bandwidth of the loop has to match somehow the frequency at which the crystal works. Your gate can drive up to 100MHz. It sure is a problem! If the bandwidth capability of the inverter is high, the probabilities are high that if it oscillates it will happen in an overtone mode. Big potential for problems there.
- many of the recent CMOS families have a little intrinsic schmitt-trigger behaviour. That may just prevent the oscillator loop from starting, as the background noise is what starts the crystal.
- the suggested old CMOS 4000 series is normally the way to drive an oscillator at such a low frequency, as its bandwidth capability is low. You may want to try a 74HC too.
- many designs like this also add an L-C tank in series with the crystal, in order to prevent the crytal to oscillate in overtone modes.
- you may have to try slightly different capacitor values. My oscillator uses 15pF and 33pF, after I saw that it started oscillating after I touched it with a scope probe.

Hope this helps!



 
Hello,
I know it is late since 2003, but for those who ended up here recently by a search engine or by browsing the messages: by coincidence I am also trying to use the same IC for an oscillator, coincidentally also for 32.768 Khz. I am having success on a breadboard(with an smd to dil adapter) with only an input capacitor of 47pF. Also with a 10M and 330k resistor. before I used a 2k2 instead of the 330k and got no oscillation at all. Now with the 330k as in this article I do get oscillation. One note, at power on, it takes about 2 seconds for the oscillator to achieve full amplitude. For my design this is acceptable. It seems reasonably stable as long as I don't touch the components. Granted, yes, a 40106 for example is more suitable for this frequency, however I alreade implemented a 74LVC04 for my design because the other gates need to be fast. In this way, I can save an IC in the design. Finally, when I include the capacitor on the right, the signal is less smooth so I left it out.
 
Status
Not open for further replies.
Back
Top