# Measure Planck's Constant and Define the Kilogram with LEGOs

## Just \$600 will buy you a box of bricks, a DAQ, a laser, and a first-hand look at metrology's next frontier

Three prototype LEGO Watt balances, housed in acrylic cases to reduce interference from air currents.
Photo: S. Schlamminger and X. Zhang/NIST

Now you (yes, you) can measure Planck’s constant and use quantum mechanics to measure mass from the comfort of your own home or classroom—using LEGOs.

In 1960, the meter was re-defined in terms of time (the current definition is the distance light travels in 1/299 792 458 seconds). That left the kilogram as the lone fundamental unit of the International System of Units (SI) defined by a physical object rather than universal constants.

In 1990, some electrical measurements split off from the SI, establishing a “conventional” system that defined basic electromagnetic units in terms of the Josephson and von Klitzing constants (KJ=2e/h and RK=h/e2, respectively, where e is the charge of an electron and h is Planck’s constant—and h90=6.626 x 10-34 m2 kg /s is the best value for h available in 1990).

The movement for a physical-constant-defined kilogram gained urgency late in that decade, when an international recalibration some reference kilograms were putting on weight, thanks to the thinnest of possible coatings deposited from the air. Since Planck’s constant explicitly connects the kilogram to units that are already constant-defined, it is the final key to a system of measurements that can be replicated, in theory, by anyone, at any time, at any place.

The pursuit of the quantum kilogram has focused on instruments called Watt balances, with occasional side-trips into matter waves. Watt balances at the U.S. National Institutes of Standards (NIST) and other national laboratories have pushed measurement precision to a few parts per hundred million, using techniques that are beyond the reach of the classroom or kitchen metrologist. Thanks to this work, it appears that a redefined kilogram may be achieved by 2018, allowing a fundamental revision of the SI and its reunification with the “conventional system.”

The physics and the testing methodology are both complex. But over the past few years, researchers at NIST’s Physical Measurements Laboratory have developed a do-it-yourself device that demonstrates the Watt balance’s physical principles and measurement methods at a scale, and a price, suitable for a classroom or home.

In a paper posted on ArXiv and submitted to the American Journal of Physics, the NIST researchers (joined by collaborators from the Joint Quantum Institute at the University of Maryland) show how to build—and understand—a Watt balance that can measure Planck’s constant and mass to within one part in a hundred. The device measures the electric power needed drive an electromagnet to balance a given mass. It uses 392 LEGO bricks, a USB data acquisition (DAQ) controller, a USB-controlled four-channel analog output device, a photodiode, two \$15 lasers, some miscellaneous resistors, four ring magnets, some brass rod and a scrap of PVC pipe. The total cost is \$633.77 or less: The two USB controllers account for \$389 of the price tag; if you have them, or make a less expensive substitution, the project cost plummets.

In 2013 and 2014, a quintet of NIST researchers—Leon S. Chao, Stephan Schlamminger, DB. Newell, J.R. Pratt and Xiang Zhang—built three prototype LEGO Watt balances. These were “received with enthusiastic responses“ by science fair attendees, students, and NIST visitors. The demonstration project ties together elements whose relationships may not be readily evident: Planck’s constant at the quantum level and mass at the level of the gram, kilogram, or even galaxy.

Diagram of LEGO Watt balance.Image: S. Schlamminger and X. Zhang/NIST

The LEGO Watt balance is patterned on the familiar analytical balance, with a two-armed rocking beam balanced on a knife edge. Weighing pans hang on gimbals at the end of each arm. And beneath each pan hangs a short piece of wire-wrapped PVC pipe. Each induction coil can move up and down over a pair of neodymium ring magnets, threaded on a vertical brass rod affixed to a base plate. Two sub-milliwatt lasers report beam displacement: One shines under the beam onto the photodiode (at about \$62, the most expensive component after the controllers). As the balance beam rocks, it casts a shadow on the diode; the photodiode output measures the balance’s oscillations. The other laser is fixed to the top of the beam. It shines on a ruler or a sheet of graph paper taped to a wall a couple of meters away. This gives very sensitive reading of the beam’s total displacement. When fully assembled, the balance weighs about 4 kilograms and stands about 36 centimeters tall, with a 43 cm by 10 cm footprint

In operation, the balance illustrates concepts of mass, gravity, current, and voltage, along with flux density and flux integral, while teaching some fundamentals of metrological practice.

The LEGO balance works in two modes: a “velocity mode” for electrical calibration and a “force mode” for measuring mechanical forces and mass.

In velocity mode, the LEGO instrument senses current in one of the coils (under Pan A, say) as it moves through the field of the static magnets. To calibrate the system, operators drive the opposite coil (under Pan B) with an oscillating current. By plotting displacement against current, the NIST researchers (and the students who, one hopes, will follow them) calculate the velocity-mode flux integral (flux density times wire length, in units of volts/velocity).

In the force-mode step, the device is used to measure the current needed produce enough force to counteract masses in the pans. In seven steps, the operator adds and removes weights on both sides of the balance, each time changing the voltage to bring the laser dot on the wall back to the balanced position. (An experienced operator can complete calibration and measurement in about 30 minutes.)

• Step 1: Balance the empty pans.
• Step 2: Add an arbitrary mass of a few grams to Pan B, and record the current needed to re-center the balance.
• Step 3: Add a calibrated reference mass to Pan A, and again alter the current to re-center.
• Step 4: Remove the calibrated mass from Pan A; measure current again.
• Step 5: Put the calibrated mass back in Pan A, and measure again.
• Step 6: Remove the calibrated mass from Pan A again, and re-center.
• Step 7: Remove the arbitrary mass from Pan B and verify that the unloaded balance remains stable.

The user combines the current readings to calculate how much current would be needed to balance the calibrated Mass A alone. From the measured current and the known mass, the operator calculates the force-mode flux integral.  (This is the current divided by the product of the mass and the gravitational constant, g. The value of g varies slightly from place to place, so LEGO balance users should consult the U.S. National Geological Survey web service that provides predicted local values for g, based on the user’s latitude, longitude, and elevation.)

The force-mode flux integral (BFF) depends on SI units. The velocity-mode flux (BFV), is based on purely electrical measurements and implicitly includes h90. And the ratio of the two is the same as the ratio of the SI Planck’s constant to h90 (that is, BFF/BFV = h/h90). Solve for h and you’re at the forefront of metrology.

Edited 16 December 2014 to update affiliations to conform to revised ArXiv paper.

The Conversation (0)

## Inventor of AT&T’s Datakit, the First Virtual Connection Switch, Dies at 85

### His pivot from defense helped a tiny tuning-fork prevent SUV rollovers and plane crashes

Vertical

In 1992, Asad M. Madni sat at the helm of BEI Sensors and Controls, overseeing a product line that included a variety of sensor and inertial-navigation devices, but its customers were less varied—mainly, the aerospace and defense electronics industries.

The Cold War had ended, crashing the U.S. defense industry. And business wasn’t going to come back anytime soon. BEI needed to identify and capture new customers—and quickly.

Getting those customers would require abandoning the company’s mechanical inertial-sensor systems in favor of a new, unproven quartz technology, miniaturizing the quartz sensors, and turning a manufacturer of tens of thousands of expensive sensors a year into a manufacturer of millions of cheaper ones.

Madni led an all-hands push to make that happen—and succeeded beyond what anyone could have imagined with the GyroChip. This inexpensive inertial-measurement sensor was the first such device to be incorporated into automobiles, enabling electronic stability-control (ESC) systems to detect skidding and operate the brakes to prevent rollover accidents. According to the U.S. National Highway Traffic Safety Administration, in the five-year period spanning 2011 to 2015, with ESCs being built into all new cars, the systems saved 7,000 lives in the United States alone.

The device went on to serve as the heart of stability-control systems in countless commercial and private aircraft and U.S. missile guidance systems, too. It even traveled to Mars as part of the Pathfinder Sojourner rover.

### Vital Statistics

Current job: Distinguished adjunct professor, University of California, Los Angeles; retired president, COO, and CTO, BEI Technologies

Date of birth: 8 September 1947

Birthplace: Mumbai, India

Family: Wife (Taj), son (Jamal)

Education: 1968 graduate, RCA Institutes; B.S., 1969, and M.S., 1972, University of California, Los Angeles, both in electrical engineering; Ph.D., California Coast University, 1987

Patents: 39 issued, others pending

Hero: My father, overall, for teaching me how to learn, how to be a human being, and the meaning of love, compassion, and empathy; in art, Michelangelo; in science, Albert Einstein; in engineering, Claude Shannon

Most recent book read:Origin by Dan Brown

Favorite books:The Prophet and The Garden of the Prophet, by Kahlil Gibran

Favorite music: In Western music, the Beatles, the Rolling Stones, Elvis Presley; in Eastern music, Ghazals

Favorite movies: Contact, Good Will Hunting

Favorite cities: Los Angeles; London; Cambridge, U.K.; Rome

Leisure activities: Reading, hiking, listening to music

Most meaningful awards:IEEE Medal of Honor: “For pioneering contributions to the development and commercialization of innovative sensing and systems technologies, and for distinguished research leadership”; UCLA Engineering Alumnus of the Year 2004

For pioneering the GyroChip, and for other contributions in technology development and research leadership, Madni received the 2022 IEEE Medal of Honor.

Engineering wasn’t Madni’s first choice of profession. He wanted to be a fine artist—a painter. But his family’s economic situation in Mumbai, India (then Bombay) in the 1950s and 1960s steered him to engineering—specifically electronics, thanks to his interest in recent innovations embodied in the pocket-size transistor radio. In 1966 he moved to the United States to study electronics at the RCA Institutes in New York City, a school created in the early 1900s to train wireless operators and technicians.

“I wanted to be an engineer who would invent things,” Madni says, “one who would do things that would eventually affect humanity. Because if I couldn’t affect humanity, I felt that I would have an unfulfilling career.”

After two years completing the electronics technology program at the RCA Institutes, Madni went on to the University of California, Los Angeles (UCLA), receiving a B.S. in electrical engineering in 1969. He continued on to a master’s and a Ph.D., using digital signal processing along with frequency-domain reflectometry to analyze telecommunications systems for his dissertation research. While studying, he also worked variously at Pacific States University as an instructor, at Beverly Hills retailer David Orgell in inventory management, and at Pertec as an engineer designing computer peripherals.

Then, in 1975, newly engaged and at the insistence of a former classmate, he applied for a job in Systron Donner’s microwave division.

Madni’s started at Systron Donner by designing the world’s first spectrum analyzer with digital storage. He had never actually used a spectrum analyzer before—these were very expensive instruments at the time—but he knew enough about the theory to talk himself into the job. He then spent six months working in testing, picking up practical experience with the instruments before attempting to redesign one.

The project took two years and, Madni reports, led to three significant patents that started his climb “to bigger and better things.” It also taught him, he says, an appreciation for the difference between “what it is to have theoretical knowledge and what it is to commercialize technology that can be helpful to others.”

He went on to develop numerous RF and microwave systems and instrumentation for the U.S. military, including an analyzer for communications lines and attached antennas built for the Navy, which became the basis for his doctoral research.

Though he moved quickly into the management ranks, eventually climbing to chairman, president, and CEO of Systron Donner, former colleagues say he never entirely left the lab behind. His technical mark was on every project he became involved in, including the groundbreaking work that led to the GyroChip.

Before we talkabout the little quartz sensor that became the heart of the GyroChip, here’s a little background on the inertial-measurement units of the 1990s. An IMU measures several properties of an object: its specific force (the acceleration that’s not due to gravity); its angular rate of rotation around an axis; and, sometimes, its orientation in three-dimensional space.

The GyroChip enabled electronic stability-control systems in automobiles to detect skidding and prevented countless rollover accidents. Peter Adams

In the early 1990s, the typical IMU used mechanical gyroscopes for angular-rate sensing. A package with three highly accurate spinning mass gyroscopes was about the size of a toaster oven and weighed about a kilogram. Versions that used ring-laser gyroscopes or fiber-optic gyroscopes were somewhat smaller, but all high-accuracy optical and mechanical gyros of the time cost thousands of dollars.

So that was the IMU in 1990, when Systron Donner sold its defense-electronics businesses to BEI Technologies, a publicly traded spinoff of BEI Electronics, itself a spinoff of the venerable Baldwin Piano Co. The device was big, heavy, expensive, and held moving mechanical parts that suffered from wear and tear, affecting reliability.

Shortly before the sale, Systron Donner had licensed a patent for a completely different type of rate sensor from a group of U.S. inventors. It was little more than a paper design at the time, Madni says, but the company had started investing some of its R&D budget in implementing the technology.

The design centered on a tiny, dual-ended vibrating tuning fork carved out of quartz using standard silicon-wafer-processing techniques. The tines of the fork would be deflected by the Coriolis effect, the inertial force acting on an object as it resists being pulled from its plane of rotation. Because quartz has piezoelectric properties, changes in forces acting upon it cause changes in electric charge. These changes could be converted into measurements of angular velocity.

The project continued after Systron Donner’s divisions became part of BEI, and in the early 1990s BEI was manufacturing some 10,000 quartz gyroscopic sensors annually for a classified defense project. But with the fall of the Soviet Union and ensuing rapid contraction of the U.S. defense industry, Madni worried that there would be no more customers—at least for a long time—for these tiny new sensors or even for the traditional mechanical sensors that were the main part of the division’s business.

“We had two options,” Madni recalls. “We stick out in the sands and peacefully die, which would be a shame, because nobody else has this technology. Or we find somewhere else we can use it.”

“If I couldn’t affect humanity, I felt that I would have an unfulfilling career.”

The hunt was on. Madni says he and members of his research and marketing teams went to every sensors conference they could find, talking to anyone who used inertial sensors, regardless of whether the applications were industrial, commercial, or space. They showed the quartz angular-rate sensors the company had developed, touting their price, precision, and reliability, and laid out a path in which the devices became smaller and cheaper in just a few years. NASA was interested—and eventually used the devices in the Mars Pathfinder Sojourner rover and the systems that allowed astronauts to move about in space untethered. Boeing and other aircraft and avionics-system manufacturers began adopting the devices.

But the automotive industry clearly represented the biggest potential market. In the late 1980s, car companies had begun introducing basic traction-control systems in their high-end vehicles. These systems monitored steering-wheel position, throttle position, and individual wheel speeds, and could adjust engine speed and braking when they detected a problem, such as one wheel turning faster than another. They couldn’t, however, detect when the direction of a car’s turn on the road didn’t match the turn of the steering wheel, a key indicator of an unstable skid that could turn into a rollover.

This quartz tuning fork responds to inertial forces and forms the heart of the GyroChip. Peter Adams

The industry was aware this was a deficiency, and that rollover accidents were a significant cause of deaths from auto accidents. Automotive-electronics suppliers like Bosch were working to develop small, reliable angular-rate sensors, mostly out of silicon, to improve traction control and rollover prevention, but none were ready for prime time.

Madni thought this was a market BEI could win. In partnership with Continental Teves of Frankfurt, Germany, BEI set out to reduce the size and cost of the quartz devices and manufacture them in quantities unheard of in the defense industry, planning to ramp up to millions annually.

This major pivot—from defense to one of the most competitive mass-market industries—would require big changes for the company and for its engineers. Madni took the leap.

“I told the guys, ‘We are going to have to miniaturize it. We are going to have to bring the price down—from \$1,200 to \$1,800 per axis to \$100, then to \$50, and then to \$25. We are going to have to sell it in hundreds of thousands of units a month and then a million and more a month.’”

To do all that, he knew that the design for a quartz-based rate sensor couldn’t have one extra component, he says. And that the manufacturing, supply chain, and even sales management had to be changed dramatically.

“I told the engineers that we can’t have anything in there other than what is absolutely needed,” Madni recalls. “And some balked—too used to working on complex designs, they weren’t interested in doing a simple design. I tried to explain to them that what I was asking them to do was more difficult than the complex things they’ve done,” he says. But he still lost some high-level design engineers.

“The board of directors asked me what I was doing, [saying] that those were some of our best people. I told them that it wasn’t a question of the best people; if people are not going to adapt to the current needs, what good do they do?”

Others were willing to adapt, and he sent some of those engineers to visit watch manufacturers in Switzerland to learn about handling quartz; the watch industry had been using the material for decades. And he offered others training by experts in the automotive industry, to learn about its operations and requirements.

The changes needed were not easy, Madni remembers. “We have a lot of scars on our back. We went through a hell of a process. But during my tenure, BEI became the world’s largest supplier of sensors for automotive stability and rollover prevention.”

In the late 1990s, Madni says, the market for electronic stability-control systems exploded, as a result of an incident in 1997. An automotive journalist, testing a new Mercedes on a test track, was performing the so-called elchtest, often referred to as the “elk test”: He swerved at normal speed, intending to simulate avoiding a moose crossing the road, and the car rolled over. Mercedes and competitors responded to the bad publicity by embracing stability-control systems, and GyroChip demand skyrocketed.

Thanks to the deal with Continental Teves, BEI held a large piece of the automotive market for many years. BEI wasn’t the only game in town at that point—Germany’s Bosch had begun producing silicon-based MEMS rate sensors in 1998—but the California company was the only manufacturer using quartz sensors, which at the time performed better than silicon. Today, most manufacturers of automotive-grade rate sensors use silicon, for that technology has matured and such sensors are cheaper to produce.

While manufacturing for the auto market ramped up, Madni continued to look for other markets. He found another big one in the aircraft industry.

The Boeing 737 in the early and mid-’90s had been involved in a series of crashes and incidents that stemmed from unexpected rudder movement. Some of the failures were traced to the aircraft’s power control unit, which incorporated yaw-damping technology. While the yaw sensors weren’t specifically implicated, the company did need to redesign its PCUs. Madni and BEI convinced Boeing to use BEI’s quartz sensors in all of its 737s going forward, as well as retrofitting existing aircraft with the devices. Manufacturers of aircraft for private aviation soon embraced the sensor as well. And eventually the defense business came back.

Asad Madni explains a problem in electron ballistics to a classmate at the RCA Institutes in 1966 [top]. In 1977, Madni [seated, center] discusses the communications-line analyzer he developed for the U.S. Navy. Asad Madni

Today, electronic angular-rate sensors are in just about every vehicle—land, air, or sea. And Madni’s effort to miniaturize them and reduce their cost blazed the trail.

By 2005, BEI’s portfolio of technologies had made it an attractive target for acquisition. Besides the rate sensors, it had earned acclaim for its development of the unprecedentedly accurate pointing system created for the Hubble Space Telescope. The sensors and control group had expanded into BEI Sensors & Systems Co., of which Madni was CEO and CTO.

“We weren’t looking for a buyer; we were progressing extremely well and looking to still grow. But several people wanted to buy us, and one, Schneider Electric, was relentless. They wouldn’t give up, and we had to present the deal to the board.”

The sale went through in mid-2005 and, after a brief transition period and turning down a leadership position with Schneider Electric, Madni officially retired in 2006.

While Madni says he’s been retired since 2006, he actually retired only from industry, crossing over into a busy life in academia. He has served as an honorary professor at six universities, including the Technical University of Crete, the University of Texas at San Antonio, and the University of Waikato, in New Zealand. In 2011, he joined the faculty of UCLA’s electrical and computer-engineering department as a distinguished scientist and distinguished adjunct professor and considers that his home institution. He is on campus weekly to meet with his advisees, who are working in sensing, signal processing, AI for sensor design, and ultrawideband high-speed instrumentation. Madni has advised 25 graduate students to date.

One of his former UCLA students, Cejo K. Lonappan, now principal systems engineer at SILC Technologies, says Madni cares a lot about the impact of what his advisees are doing, asking them to write an executive summary of every research project that goes beyond the technology to talk about the bigger picture.

“Many times in academic research, it is easy to get lost in details, in minor things that seem impressive to the person doing the research,” Lonappan says. But Madni “cares a lot about the impact of what we are doing beyond the engineering and scientific community—the applications, the new frontiers it opens.”

S.K. Ramesh, a professor and former dean of electrical engineering and computer science at California State University, Northridge, has also seen Madni the advisor in action.

“For him,” Ramesh says, “it’s not just about engineering. It’s about engineering the future, showing how to make a difference in people’s lives. And he’s not discouraged by challenges.”

“We had a group of students who wanted to take a headset used in gaming and use it to create a brain-control interface for wheelchair users,” Ramesh says. “We spoke to a neurologist, and he laughed at us, said you couldn’t do that, to monitor brain waves with a headset and instantaneously transfer that to a motion command. But Prof. Madni looked at it as how do we solve the problem, and even if we can’t solve it, along the way we will learn something by trying.”

Says Yannis Phillis, a professor at the Technical University of Crete: “This man knows a lot about engineering, but he has a wide range of interests. When we met on Crete for the first time, for example, I danced a solo Zeibekiko; it has roots from ancient Greece. He asked me questions left and right about it, why this, why that. He is curious about society, about human behavior, about the environment—and, broadly speaking, the survival of our civilization.”

Madni went into engineering hoping to affect humanity with his work. He is satisfied that, in at least some ways, he has done so.

“The space applications have enhanced the understanding of our universe, and I was fortunate to play a part of that,” he says. “My contributions [to automotive safety] in their own humble way have been responsible for saving millions of lives around the world. And my technologies have played a role in the defense and security of our nation. It’s been the most gratifying career.”