Help amplifying a circuit
SONIC the Hedgehog
Posts: 321
I've been experimenting alot with computer architecture, and I needed a clock, but I don't have the resistors necessary to build an astabke circuit on a 555 timer to suit my needs, so does anyone know how to amplify a crystal oscillator? Any help or insight is appreciated!
Comments
How fast do you want this to go. 555 are good up to hundreds of kilohertz. Xtals - probably the slowest is going to be 1Mhz.
Unless you use a 32KHz watch crystal.
Seems a bit odd to not have resistors. They are very cheap.
Frankly, the problems with a stable 160Mhz oscillator are challenging. First, it is a very fast frequency. And then, if this is a square wave with any power you might be generating a lot of harmonic noise that will upset someone.
And of course, what kind of chips are you going to be able to connect with? That is quite fast for homebrew.
www.mouser.com/ProductDetail/ON-Semiconductor/NBVSPA024LNHTAG/
But at 15 for a buck, they are prohibitively expensive, almost as much as a resistor!
http://www.ebay.com/itm/15x-Seiko-32-768KHz-WATCH-CRYSTAL-32-768-32-KHz-SMD-SMT-/271029538031?pt=LH_DefaultDomain_0&hash=item3f1a9e8cef
For frequencies around a few MHz you can try the standard CMOS inverter oscillator. String an _odd_ number of inverters (try 3 to start with) head to tail (not schmidt triggers though), and feedback from the last to the first with a 1M resistor in parallel with a xtal. Add capacitors around 22pF to ground at each end of the crystal. The CD4049 hex inverter can be used. Lower frequencies need more inverters (the propagation delay needs to be about 1/2 the oscillation period I think). Take the output from the middle of the string if possible (ie not just a single inverter) to reduce frequency-pulling effects? Buffer the output with a 74HC gate for more current-driving capability and faster edges.
For higher frequencies the 74HC series can be substituted I suspect. 74HC04 hex inverter for instance (any NOR or NAND gate can be configured as an inverter of course if one's lying around unused).
If the oscillator circuit wants to run faster than the crystal it may excite an overtone of the xtal, which will about 3 or 5 times the nominal frequency (not exactly though). Add more inverters or more capacitance to tame this.
They're not very common any more but I have a small pile of 100 KHz crystals from Radio Shack vintage PBox frequency marker kits, which I cleaned up for $1 apiece when RS discontinued the PBox line.
Is that going to be running at 160Mhz? Or do you want to debug it at a slower frequency (I've someones clocked chips once every 10 secs for debugging). And of course, rather than building 555 timers or xtal oscillators, you can always use a Propeller chip to create the clock and then program the speed in software. No resistors needed for that