Oscillator Design By Simulation

[Craig] wanted to build a 19.2 MHz crystal oscillator. He knew he wanted a Pierce oscillator, but he also knew that getting a good design is often a matter of trial and error. He used a 30-day trial of a professional simulation package, Genesys from Keysight, to look at the oscillator’s performance without having to build anything. He not only did a nice write up about his experience, but he also did a great video walkthrough (see below).

The tool generates a sample schematic, although [Craig] deleted it and put his own design into the simulator. By running simulations, he was able to look at the oscillator’s performance. His first cut showed that the circuit didn’t meet the Barkhausen criteria and shouldn’t oscillate. Unfortunately, his prototype did, in fact, oscillate.

Continue reading “Oscillator Design By Simulation”

Strobe Light Slows Down Time

Until the 1960s, watches and clocks of all kinds kept track of time with mechanical devices. Springs, pendulums, gears, oils, and a whole host of other components had to work together to keep accurate time. The invention of the crystal oscillator changed all of that, making watches and clocks not only cheaper, but (in general) far more accurate. It’s not quite as easy to see them in action, however, unless you’re [noq2] and you have a set of strobe lights.

[noq2] used a Rigol DG4062 function generator and a Cree power LED as a high-frequency strobe light to “slow down” the crystal oscillators from two watches. The first one he filmed was an Accutron “tuning fork” movement and the second one is a generic 32,768 Hz quartz resonator which is used in a large amount of watches. After removing the casings and powering the resonators up, [noq2] tuned in his strobe light setup to be able to film the vibrations of the oscillators.

It’s pretty interesting to see this in action. Usually a timekeeping element like this, whether in a watch or a RTC, is a “black box” of sorts that is easily taken for granted. Especially since these devices revolutionized the watchmaking industry (and a few other industries as well), it’s well worthwhile to take a look inside and see how they work. They’re used in more than just watches, too. Want to go down the rabbit hole on this topic? Check out the History of Oscillators. Continue reading “Strobe Light Slows Down Time”

Crystal Radio: It’s A Match!

A crystal radio is often a kid’s first introduction to building something electronic. [Billy Cheung] is a crystal radio builder who wants to “make crystal radios as easy to use as regular radios.” He’s built many sets, but his latest is one that not only fits in a matchbox, but uses the matchbox as a variable tuning inductor.

There’s no oatmeal box in this design and just a few components. The matchbox contains some ferrite rods and two different windings. By moving the inner part of the matchbox, you can tune different stations. Although the design calls for two fixed capacitors [Billy] found he had enough self resonance (presumably from stray capacitance) that omitting them didn’t hurt his reception of strong signals.

Continue reading “Crystal Radio: It’s A Match!”

Everything You Wanted To Know About Oscillators

Ever wonder how a crystal oscillator works? How does that little metal can with a sliver of quartz start vibrating to produce a clock signal for just about everything we use, while doing it in the accuracy range in the parts per million and cost practically nothing?

Well [Craig] decided its about time for an in depth tutorial  that covers everything you need to know to understand, design, and construct your very own. Wrapped up in a 41 minute video, [Craig]  covers the absolute basic theories and designs, math, datasheet explanation of crystals, and even a practical example of a Pierce crystal oscillator, suitable for use in a HF transceiver. Now you can make your own for your own application no matter if you’re just trying to save a pin on your favorite micro, or making a radio transceiver.

With this wealth of knowledge, whether you are learning for the first time, or just need a refresher, you should join us after the break, kick back and check out this highly informative video.

Continue reading “Everything You Wanted To Know About Oscillators”

Retrotechtacular: Crystals Go To War

More than one of our readers suggested we highlight this beautifully-shot process documentary about the laborious and precise manufacturing of piezoelectric quartz crystals in the early 1940s. Just a few years later, Bell Labs would perfect a method of growing synthetic crystals, sending droves of brave men and daintily-handed women from the Reeves Sound Laboratories to the unemployment line.

Early radio equipment relied upon tuned or L-C circuits for clocking. These were prone to drift by a few kHz, which prompted the use of crystal oscillators for stable frequencies in the 1920s. The lives of our armed forces and those of our WWII allies depended on reliable communication equipment, so the crystal oscillators they used were top shelf, produced by hand from Brazilian crust.

Continue reading “Retrotechtacular: Crystals Go To War”

Digital “Crystal” Breathes New Life Into Old Radio

[Bill Meara] of the Soldersmoke Podcast has a nice old Drake 2B radio, and wanted to use it for the 12 meter amateur band. These old radios normally make switching tuning bands easy — you just swap out one frequency crystal for another and you’re set.

Only [Bill] didn’t have the 21 MHz crystal that he needed. No problem, because he had a junk crystal, a hacksaw, and a modern direct-digital synthesis (DDS) chip sitting around. So he takes the donor crystal, cuts it open, and solders the two wires directly from the DDS to the crystal’s pins. Now he’s got a plug-in replacement digital oscillator that doesn’t require modifying the nice old Drake receiver at all. A sweet little trick.

The video’s a little bit long, but the money shot comes in around 5:00.

Now, one might worry about simply plugging a powered circuit (the DDS) in place of a passive element (the crystal), but it seems to work and the proof of the pudding is in the tasting. We wonder how far this digitally-controlled-analog-receiver idea could be extended.

The Cheapest Crystal Oven

oven

The crystals you’ll find attached to microcontrollers or RTCs are usually accurate to 100 parts per million at most, but that still means if you’re using one of these crystals as a clock’s time base, you could lose or gain a second per day. For more accuracy without an atomic clock, a good solution is an oven controlled crystal oscillator – basically, a temperature controlled crystal. It’s not hard to build one, and as [Roman] demonstrates, can be built with a transistor and a few resistors.

The heating element for this OCXO are just a few resistors placed right on the can of a crystal. A thermistor senses the heat, and with more negative feedback than the Hackaday comments section, takes care of regulating the crystal’s temperature. A trimpot is used for calibrating the temperature, but once everything is working that can be replaced with a fixed resistor.

This deadbugged circuitry is then potted in five minute epoxy. That’s a bit unconventional as far as thermal management goes, but the results speak for themselves: [Roman] can get a clock with this circuit accurate to a few seconds per year.