Accelerometers:

Before you can understand accelerometers, you really need to understand acceleration—so let's have a quick recap. If you have a car that accelerates from a standstill to a speed (or, strictly speaking, velocity) of 100km/h in 5 seconds, the acceleration is the change in velocity or speed divided by the time—so 100/5 or 20 km/h per second. In other words, each second the car is driving, it adds another 20km/h to its speed. If you're sitting inside this car, you could measure the acceleration using a stopwatch and the car's speedometer. Simply read the speedometer after 5 seconds, divide the reading by 5, and you get the acceleration.

But what if you want to know the acceleration moment by moment, without waiting for a certain time to elapse? If you know about the laws of motion, you'll know that the brilliant English scientist Isaac Newton defined acceleration in a different way by relating it to mass and force. If you have a certain force (say, the power in your leg as you kick it outward) and you apply it to a mass (a soccer ball), you'll make the mass accelerate—the ball will shoot off into the air.

Newton's second law of motion relates force, mass, and acceleration through this very simple equation:

Force = mass x acceleration

or...

F = m a

or...

a = F / m

In other words, acceleration is the amount of force we need to move each unit of mass. Looking at this equation, you can see why soccer balls work the way they do: the harder you kick (the more the force), or the lighter the ball (the less the mass), the more acceleration you'll produce—and the faster the ball will fly through the sky.

You can also see we now have a second way of calculating acceleration that doesn't involve distance, speed, or time. If we can measure the force that's acting on something and also its mass, we can figure out its acceleration simply by dividing the force by the mass. No need to measure speed or time at all!

How do accelerometers work?

This equation is the theory behind accelerometers: they measure acceleration not by calculating how speed changes over time but by measuring force. How do they do that? Generally speaking, by sensing how much a mass presses on something when a force acts on it.

This is something we're all very familiar with when we're in cars. Imagine you're sitting in the back seat of a car, happily minding your own business, and the driver accelerates suddenly to pass a slow-moving truck. You feel yourself thumping back into the seat. Why? Because the car's acceleration makes it move forward suddenly. You might think you move backward when a car accelerates forward, but that's an illusion: really what you experience is the car trying to move off without you and your seat catching you up from behind!

The laws of motion tell us that your body tries to keep going at a steady speed, but the seat is constantly pushing into you with a force and making you accelerate instead. The more the car accelerates, the more force you feel from your seat—and you really can feel it! Your brain and body work together to make a reasonably effective accelerometer: the more force your body experiences, the more acceleration your brain registers from the difference between your body's movements and those of the car. (And it picks up useful clues from other sensations, including the rate at which moving objects pass by the window, the change in sound of the car's engine, the noise of the air rushing past, and so on.) Moment by moment, you sense changes in acceleration from changes in sensations on your body, not by calculating how far you've traveled and how long it took.

And accelerometers work in broadly the same way.

Types of accelerometers

There are many different types of accelerometers. The mechanical ones are a bit like scaled-down versions of passengers sitting in cars shifting back and forth as forces act on them. They have something like a mass attached to a spring suspended inside an outer casing. When they accelerate, the casing moves off immediately but the mass lags behind and the spring stretches with a force that corresponds to the acceleration. The distance the spring stretches (which is proportional to the stretching force) can be used to measure the force and the acceleration in a variety of different ways. Seismometers (used to measure earthquakes) work in broadly this way, using pens on heavy masses attached to springs to register earthquake forces. When an earthquake strikes, it shakes the seismometer cabinet but the pen (attached to a mass) takes longer to move, so it leaves a jerky trace on a paper chart.


Artwork: The basic concept of a mechanical accelerometer: as the gray accelerometer box moves from side to side, the mass (red blob) is briefly left behind. But the spring connecting it to the box (red zig-zag) soon pulls it back into position and, as it moves, it draws a trace (blue line) on the paper.

Alternative designs of accelerometers measure force not by making a pen trace on paper but by generating electrical or magnetic signals. In piezoresistive accelerometers, the mass is attached to a potentiometer (variable resistor), a bit like a volume control, which turns an electric current up or down according to the size of the force acting on it. Capacitors can also be used in accelerometers to measure force in a similar way: if a moving mass alters the distance between two metal plates, measuring the change in their capacitance gives a measurement of the force that's acting.


Artwork: The broad concept of a capacitive accelerometer: as the gray accelerometer box moves to the right, the red mass is left behind and pushes the blue metal plates closer together, changing their capacitance in a measurable way.

In some accelerometers, piezoelectric crystals such as quartz do the clever work. You have a crystal attached to a mass, so when the accelerometer moves, the mass squeezes the crystal and generates a tiny electric voltage.


Artwork: The basic concept of a piezoelectric accelerometer: as the gray accelerometer box moves right, the mass squeezes the blue piezoelectric crystal (very exaggerated in this picture), which generates a voltage. The bigger the acceleration, the bigger the force, and the greater the current that flows (blue arrows).

In Hall-effect accelerometers, force and acceleration are measured by sensing tiny changes in a magnetic field.

How does an accelerometer chip work?

The accelerometers you can find inside cellphones clearly don't have gigantic masses bouncing up and down on springs—you'd never fit something so big and clumsy inside a phone! Instead, cellphone accelerometers are based on tiny microchips with all their components chemically etched onto the surface of a piece of silicon.

Here's a very simplified illustration of what you'd find in one of these semiconductor accelerometers, as they're called:

1.      Right in the middle, we have a red electrode (electrical terminal) that has enough mass to move up and down very slightly when you move or tilt the accelerometer.

2.      The electrode is supported by a tiny beam (cantilever) that's rigid enough to hold it but flexible enough to allow it to move.

3.      There's an electrical connection from the cantilever and electrode to the outside of the chip so it can be wired into a circuit.

4.      Below the red electrode, and separated from it by an air gap, there's a second electrode (purple). The air gap between the two electrodes means the red and purple electrodes work together as a capacitor. As you move the accelerometer and the red electrode moves up and down, the distance between the red and purple electrodes changes, and so does the capacitance between them. We're talking about amazingly tiny distances here of a few millionths of a meter (µm, microns). Small bits of insulation (shown as black lines) prevent the red electrode from making direct electrical contact with the purple one if the accelerometer experiences a really big force (a sudden jolt).

5.      In exactly the same way, there's a blue electrode above the red electrode and another air gap making a second capacitor. As before, the distance between the blue and red electrodes (and the capacitance between them) changes as you move the accelerometer.

6.      The electrodes are connected to more electrical terminals at the edges of the chip, again, so it can be wired to a bigger circuit.

Now the amazing thing about capacitors like this is that they're fabricated on single, microscopic chips, with the various different electrodes and electrically conducting layers made from different types of silicon (n-type and p-type, if you're familiar with how silicon is "doped" to make components such as transistors and diodes.)