The Evolution Of Oscillations

The laptop I’m using, found for 50 bucks in the junk bins of Akihabara has a CPU that runs at 2.53GHz. Two billion five hundred and thirty million times every second electrons systematically briefly pulse. To the human mind this is unimaginable, yet two hundred years ago humanity had no knowledge of electrical oscillations at all.

There were clear natural sources of oscillation of course, the sun perhaps the clearest of all. The Pythagoreans first proposed that the earth’s rotation caused the suns daily cycle. Their system was more esoteric and complex than the truth as we now know it and included a postulated Counter-Earth, lying unseen behind a central fire. Regardless of the errors their theory contained, a central link was made between rotation and oscillation.

And rotational motion was exploited in early electrical oscillators. Both alternators, similar to those in use today, and more esoteric devices like the interrupter. Developed by Charles Page in 1838, the interrupter used rocking or rotational motion to dip a wire into a mercury bath periodically breaking a circuit to produce a simple oscillation.

As we progressed toward industrial electrical generators, alternating current became common. But higher and higher frequencies were also required for radio transmitters. The first transmitters had used spark gaps. These simple transmitters used a DC supply to charge a capacitor until it reached the breakdown voltage of the gap between two pieces of wire. The electricity then ionized the air molecules in the gap. Thus allowing current to flow, quickly discharging the capacitor. The capacitor charged again, allowing the process to repeat.

Alexanderson_Alternator
An Alexanderson Alternator

As you can see and hear in the video above spark gaps produce a noisy, far from sinusoidal output. So for more efficient oscillations, engineers again resorted to rotation.

The Alexanderson alternator uses a wheel on which hundreds of slots are cut. This wheel is placed between two coils. One coil, powered by a direct current, produces a magnetic field inducing a current in the second. The slotted disc, periodically cutting this field, produces an alternating current. Alexanderson alternators were used to generate frequencies of 15 to 30 KHz, mostly for naval applications. Amazingly one Alexanderson alternator remained in service until 1996, and is still kept in working condition.

A similar principal was used in the Hammond organ. You may not know the name, but you’ll recognize the sound of this early electronic instrument:

The Hammond organ used a series of tone wheels and pickups. The pickups consist of a coil and magnet. In order to produce a tone the pickup is pushed toward a rotating wheel which has bumps on its surface. These are similar to the slots of the Alexanderson Alternator, and effectively modulate the field between the magnet and the coil to produce a tone.

Amplifying the Oscillation

lc
The operation of a tank circuit (from wikipedia)

So far we have purely relied on electromechanical techniques, however amplification is key to all modern oscillators, for which of course you require active devices. The simplest of these uses an inductor and capacitor to form a tank circuit. In a tank circuit energy sloshes back and forth between an inductor and capacitor. Without amplification, losses will cause the oscillation to quickly die out. However by introducing amplification (such as in the Colpitts oscillator) the process can be kept going indefinitely.

Oscillator stability is important in many applications such as radio transmission. Better oscillators allow transmissions to be packed more closely on the spectrum without fear that they might drift and overlap. So the quest for better, more stable oscillators continued. Thus the crystal oscillator was discovered, and productionized. This was a monumental effort.

Producing Crystal Oscillators

The video below shows a typical process used in the 1940s for the production of crystal oscillators:

https://www.youtube.com/watch?v=b–FKHCFjOM

Natural quartz crystals mined in Brazil were shipped to the US, and processed. I counted a total of 13 non-trivial machining/etching steps and 16 measurement steps (including rigorous quality control). Many of these quite advanced, such as the alignment of the crystal under an X-Ray using a technique similar to X-Ray crystalography.

These days our crystal oscillator production process is more advanced. Since the 1970s crystal oscillators have been fabricated in a photolithographic process. In order to further stabilize the crystal additional techniques such as temperature compensation (TCXO) or operating the crystal at a temperature controlled by the use of a heating element (OCXO) have been employed. For most applications this has proved accurate enough… Not accurate enough however for the timenuts.

Timenuts Use Atoms

wristwatch
Typical timenut wearing atomic wristwatch

For timenuts there is no “accurate enough”. These hackers strive to create the most accurate timing systems they can, which all of course rely on the most accurate oscillator they can devise.

Many timenuts rely on atomic clocks to make their measurements. Atomic clocks are an order of magnitude more precise than even the best temperature controlled crystal oscillators.

Bill Hammack has a great video describing the operation of a cesium beam oscillator. The fundamental process is shown in the image below. The crux is that cesium gas exists in two energy states, which can be separated under a magnetic field. The low energy atoms are exposed to a radiation source, the wavelength of which is determined by a crystal oscillator. Only a wavelength of exactly 9,192,631,770Hz will convert the low energy cesium atoms to the high energy form. The high energy atoms are directed toward a detector, the output of which is used to discipline the crystal oscillator, such that if the frequency of the oscillator drifts and the cesium atoms are no longer directed toward the detector its output is nudged toward the correct value. Thus a basic physical constant is used to calibrate the atomic clock.

atomicclock
The basic operating principle of a cesium atomic clock

While cesium standards are the most accurate oscillators known, Rubidium oscillators (another “atomic” clock) also provide an accurate and relatively cheap option for many timenuts. The price of these oscillators has been driven down due to volume production for the telecoms industry (they are key to GSM and other mobile radio systems) and they are now readily available on eBay.

With accurate time pieces in hand timenuts have performed a number of interesting experiments. To my mind the most interesting of these is measuring time differences due to relativistic effects. As is the case with one timenut who took his family and a car full of atomic clocks up Mt. Rainier for the weekend. When he returned he was able to measure a 20 nanosecond difference between the clocks he took on the trip and those he left at home. This time dilation effect was almost exactly as predicted by the theory of relativity. An impressive result and an amazing family outing!

It’s amazing to think that when Einstein proposed the theory of special relatively in 1905, even primitive crystal oscillators would not have been available. Spark gap, and Alexanderson alternators would still have been in everyday use. I doubt he could imagine that one day the fruits of his theory would be confirmed by one man, on a road trip with his kids as a weekend hobby project. Hackers of the world, rejoice.

We Didn’t Know The Sun Could Do Digital

You don’t get much more old school than a sundial, and more new school than 3D printing. So, it is nice to see these two combined in this impressive project: the 3D printed digital sundial. We have seen a few sundial projects before, ranging from LED variants to 3D printed ones, but this one from [Julldozer] takes it to a new level.

In the video, he carefully explains how he designed the sundial. Rather than simply create it as a static 3D model, he used OpenSCAD to build it algorithmically, using the program to create the matrix for each of the numbers he wanted the sundial to show, then to combine these at the appropriate angle into a single, 3D printable model. He has open-sourced the project, releasing the OpenSCAD script for anyone who wants to tinker or build their own. It is an extremely impressive project, and there is more to come: this is the first in a new podcast series called Mojoptix from [Julldozer] that will cover similar projects. We will definitely be keeping an eye on this series.

Continue reading “We Didn’t Know The Sun Could Do Digital”

BTTF Alarm Clock

Back To The Future Alarm Clock Is As Real As It Gets

While real time-travel is obviously not happening anytime soon, with this Back to the Future themed alarm clock, you can go to the future in seven hour eight hour increments by going to sleep. Great Scott!

[CrossleyAcoustics] spent the past few months designing and building this movie-prop worthy alarm clock, and it certainly shows. After designing everything on breadboards, he had custom PCBs made, he modeled the whole thing in Sketchup (first time he’s used it!) and even tried his hand at the sheet metal fabrication after shops quoted him thousands for what he wanted.

The coolest part of the build is that [CrossleyAcoustics] had some detailed drawings that he had made himself… when he was 8 years old. Talk about a plan coming together!

Continue reading “Back To The Future Alarm Clock Is As Real As It Gets”

LED Pendulum Pulses Out Clock Face

You have to admit [Dylan Rush’s] clock is a real swinger. Literally. You’ve seen the desk novelties where an arm with leds mounted on it sweeps out a message? [Dylan] did the same thing to make a clock but instead of drawing numbers, he actually draws an analog clock face. Y’know one of those round things with arms?

IMG_20150824_2156213_rewindBehind the clock is an Arduino driving a MAX7219 LED controller. Using the MAX7219 was a challenge because it expects a grid of LEDs while the clock needs a linear array. [Dylan] used a line of individual LEDs wired to match what the controller wanted. A rotary encoder tells the processor the position of the arm so the Arduino sketch can determine which LEDs should be lit to show the time and clock face.

What’s even more amazing is [Dylan] created this before clocks became infamous.

Swing over to the video after the break.

Continue reading “LED Pendulum Pulses Out Clock Face”

Bell Clock Ain’t Your Grandfather’s

Here’s a rather obscure clock that rings your bell. Literally. It’s a minimalist approach to the grandfather chime.

bell-striker-relayYou’ll want to check out the video below to see the electronic base very nonchalantly striking the bottom of the handbell. It makes a nice ring and brings a smile to your face at how clever [Iam5volt] was with the fabrication. There aren’t any hints available on that video, but we searched around and found the original build details published about 5 years ago. The striker is a hacked mechanical relay!

The case of the relay is removed. A piece of stiff steel wire is affixed to swing along with the relay’s switch. This way, when current is applied to the proper inputs of the relay, the wire moves and a small screw head at the end strikes the bell. See what we mean by clever?

[Iam5volt] built this second revision of the clock in answer to our call for building clocks for social good. The display-free clock chimes the hour using a bell and only has a single button  to reset time to HH:00:00

Continue reading “Bell Clock Ain’t Your Grandfather’s”

Tiny PIC Clock Is Not A Tiny Bomb

It’s been a few weeks since the incident where Ahmed Mohamed, a student, had one of his inventions mistaken for a bomb by his school and the police, despite the device clearly being a clock. We asked for submissions of all of your clock builds to show our support for Ahmed, and the latest one is the tiniest yet but still has all of the features of a full-sized clock (none of which is explosions).

[Markus]’s tiny clock uses a PIC24 which is a small yet powerful chip. The timekeeping is done on an RTCC peripheral, and the clock’s seven segment displays are temporarily lit when the user presses a button. Since the LEDs aren’t on all the time, and the PIC only consumes a few microamps on standby, the clock can go for years on a single charge of the small lithium-ion battery in the back. There’s also a phototransistor which dims the display in the dark, and a white LED which could be used as a small flashlight in a pinch. If these features and the build technique look familiar it’s because of [Markus’] tiny MSP430 clock which he was showing around last year.

Both of his tiny clocks are quite impressive for their size, features, and power consumption. Some of the other clocks we’ve featured recently include robot clocks, clocks for social good, and clocks that are not just clocks (but still won’t explode). We’re suckers for a good clock project here, so keep sending them in!

Continue reading “Tiny PIC Clock Is Not A Tiny Bomb”

Robot Clock Writes Time Over And Over And Over

We’ve seen quite a few clocks that write the time out with a pen or marker. If you think about it, this really isn’t a great solution; every whiteboard marker will dry out in a day or two, and even if you’re using a pen, that’s still eventually going to run out of ink.

[ekaggrat] wanted a drawing clock that didn’t have these problems, and after taking a look at a magnetic drawing board, was struck with inspiration. The result is a clock that will perpetually write the time. It’s a revision of one of his earlier builds and looks to be much more reliable and mechanically precise.

A clock that writes time needs some sort of surface that won’t degrade, but can be written to over and over again. Whiteboards and glass won’t work, and neither will anything with ink. The solution to this problem was found in a ‘magnetic writing board’ or a Magna Doodle. These magnetic writing boards have a series of cells encapsulating iron filings. Pass a magnet over one side of the board, and a dot of filings appear. Pass a magnet over the opposite side of the board, and the filings disappear.

[ekaggrat]’s time-writing robot consists of a small Magna Doodle display, a robotic arm controlled by two stepper motors, and two solenoids on the end of the arm. The kinematics come from a helpful chap on the RepRap forums, and with the ATmega644 and two stepper drivers, this clock can write the time by altering the current flowing through two solenoids.

A video is the best way to experience this project, and you can check that out below.

Continue reading “Robot Clock Writes Time Over And Over And Over”