Move Over Cesium Clock, Optical Clocks Are Taking Over

We normally think of atomic clocks as the gold standard in timekeeping. The very definition of a second — in modern times, at least — is 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of a stationary cesium-133 atom at a temperature of 0K. But there is a move to replace that definition using optical clocks that are 100 times more accurate than a standard atomic clock.

In recent news, the Boulder Atomic Clock Optical Network — otherwise known as BACON — compared times from three optical clocks and found that the times differed a little more than they had predicted, but the clocks were still amazingly accurate relative to each other. Some of the links used optical fibers, a method used before. But there were also links carried by lasers aimed from one facility to another. The lasers, however didn’t work during a snowstorm, but when they did work the results were comparable to the optical fiber method.

Continue reading “Move Over Cesium Clock, Optical Clocks Are Taking Over”

Cesium Clock Teardown, Or Quantum Physics Playground

Half the fun of getting vintage test equipment is getting to open it up. Maybe that’s even more than half of the fun. [CuriousMarc] got an HP 5061A Cesium clock, a somewhat famous instrument as the model that attempted to prove the theory of relativity. The reason? The clock was really the first that could easily be moved around, including being put on an airplane. You can watch the video below.

According to the video, you can simplify special relativity to saying that time slows down if you go fast — that is known as time dilation. General relativity indicates that time slows down with increasing gravity. Therefore, using airborne Cesium clocks, you could fly a clock in circles high up or fly at high speeds and check Einstein’s predictions.
Continue reading “Cesium Clock Teardown, Or Quantum Physics Playground”

Keeping Clocks On Time, The Swiss Way

Could there be a worse fate for a guy with a Swiss accent than to be subjected to a clock that’s seconds or even – horrors! – minutes off the correct time? Indeed not, which is why [The Guy With the Swiss Accent] went to great lengths to keep his IKEA radio-controlled clock on track.

For those who haven’t seen any of [Andreas Spiess]’ YouTube videos, you’ll know that he pokes a bit of fun at Swiss stereotypes such as precision and punctuality. But really, having a clock that’s supposed to synchronize to one of the many longwave radio atomic clocks sprinkled around the globe and yet fails to do so is irksome to even the least chrono-obsessive personality. His IKEA clock is supposed to read signals from station DCF77 in Germany, but even the sensitive receivers in such clocks can be defeated by subterranean locales such as [Andreas]’ shop. His solution was to provide a local version of DCF77 using a Raspberry Pi and code that sends modulated time signals to a GPIO pin. The pin is connected to a ferrite rod antenna, which of course means that the Pi is being turned into a radio transmitter and hence is probably violating the law. But as [Andreas] points out, if the power is kept low enough, the emissions will only ever be received by nearby clocks.

With his clock now safely synced to an NTP server via the tiny radio station, [Andreas] can get back to work on his other projects, such as work-hardening copper wire for antennas with a Harley, or a nuclear apocalypse-Tweeting Geiger counter.

Continue reading “Keeping Clocks On Time, The Swiss Way”

Rubidium Disciplined Real Time Clock

[Cameron Meredith] starts the Hackaday.io page for one of his projects by quoting a Hackaday write-up: “A timepiece is rather a rite of passage in the world of hardware hacking“. We stand by that assertion, but we’d say most of the clocks we feature aren’t as capable as his project. He’s made a real-time-clock module controlled by a rubidium frequency standard, and since it also includes a GPS clock he can track local time dilation effects by comparing the two.

Surplus rubidium standards are readily available, but each description of one seems to feature a lot of old-fashioned hardware hacking simply to get it working. This one is no exception, an unusual connector had to be replaced and an extra power supply module attached. Once those modifications had been made and a suitable heatsink had been attached, he was able to bring the rubidium standard, an RTC module, and GPS module together with an ATMega32U4 miniature Arduino-compatible board and an LCD display. The firmware is functional, but he admits it is not finished.

All the project’s files can be found on the Hackaday.io page linked above. Future plans include also monitoring the NIST WWVB radio time signal from Fort Collins, Colorado, for an extra time dilation comparison.

We’ve featured innumerable clocks over the years here at Hackaday, but among them have been a few based upon atomic standards. More than one has been used as a lab reference standard, but most similar to this build is [Max Carters] experiments to check the accuracy of an atomic standard, also using the WWVB transmissions.

Denver Mini Maker Faire: Fun With Pinball

[Mark Gibson] probably has nothing against silicon. He just knows that a lot that can be done with simple switches, relays, and solenoids and wants to share that knowledge with the world. This was made abundantly clear to me during repeat visits to his expansive booth at Denver Mini Maker Faire last weekend.

In the sunlight-filled atrium of the Museum of Nature and Science, [Mark] sat behind several long tables covered with his creations made from mid-century pinball machines. There are about two dozen pieces in his interactive exhibit, which made its debut at the first-ever Northern Colorado Maker Faire in 2013. [Mark] was motivated to build these boards because he wanted to get people interested in the way things work through interaction and discovery of pinball mechanisms.

fun with pinball thumbMost of the pieces he has built are single units and simple systems from pinball machines—flippers, chime units, targets, bumpers, and so on—that he affixed to wooden boards so that people can explore them without breaking anything. All of the units are operated using large and inviting push buttons that have been screwed down tight. Each of the systems also has a display card with an engineering drawing of the mechanism and a short explanation of how it works.

[Mark] also brought some of the original games he has created by combining several systems from different machines, like a horse derby and a baseball game. Both of these were built with education in mind; all of the guts including the original fabric-wrapped wires are prominently displayed. The derby game wasn’t working, but I managed to load the bases and get a grand slam in the baseball game. Probably couldn’t do that again in a million summers.

fun with pinball baseball game
Take me out to the Maker Faire! Click to embiggen.

About five years ago, we covered [Mark]’s build of an atomic clock from pinball machine parts. It’s about time we featured his work again. We have shared a lot of pinball-related builds over the years from the immersive to the gigantic to the dankest of the dank.

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:

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.

Measuring The Accuracy Of A Rubidium Standard

A rubidium standard, or rubidium atomic clock, is a high accuracy frequency and time standard, usually accurate to within a few parts in 1011. This is still several orders of magnitude less than some of the more accurate standards – for example the NIST-F1 has an uncertainty of 5×10-16 (It is expected to neither gain nor lose a second in nearly 100 million years) and the more recent NIST-F2 has an uncertainty of 1×10-16 (It is expected to neither gain nor lose a second in nearly 300 million years). But the Rb standard is comparatively inexpensive, compact, and widely used in TV stations, Mobile phone base stations and GPS systems and is considered as a secondary standard.

[Max Carter] recently came into possession of just such a unit – a Lucent RFG-M-RB that was earlier in use at a mobile phone base station for many years. Obviously, he was interested in finding out if it was really as accurate as it was supposed to be, and built a broadcast-frequency based precision frequency comparator which used a stepper motor to characterise drift.

Compare with WWVB Broadcast

WWVB Receiver
WWVB Receiver

The obvious way of checking would be to use another source with a higher accuracy, such as a caesium clock and do a phase comparison. Since that was not possible, he decided to use NIST’s time/frequency service, broadcasting on 60 kHz – WWVB. He did this because almost 30 years ago, he had built a receiver for WWVB which had since been running continuously in a corner of his shop, with only a minor adjustment since it was built.

comparator1
Comparator Circuit Installed in a Case

His idea was to count and accumulate the phase ‘slips’ generated by comparing the output of the WWVB receiver with the output of the Rb standard using a digital phase comparator. The accuracy of the standard would be calculated as the derivative of N (number of slips) over time. The circuit is a quadrature mixer: it subtracts the frequency of one input from the other and outputs the difference frequency. The phase information is conveyed in the duty cycle of the pulses coming from the two phase comparators. The pulses are integrated and converted to digital logic level by low-pass filter/Schmitt trigger circuits. The quadrature-phased outputs are connected to the stepper motor driver which converts logic level inputs to bi-directional currents in the motor windings. The logic circuit is bread-boarded and along with the motor driver, housed in a computer hard drive enclosure which already had the power supply available.

Continue reading “Measuring The Accuracy Of A Rubidium Standard”