editor's blog
Subscribe Now

Gravity Leaking

I recently had a wide-ranging discussion with Kevin Shaw, CTO of Sensor Platforms. It originated out of this nagging thing I had going on in my head about what can be done exclusively with accelerometers. Early thoughts on the topic stimulated my whimsical figure skating article, but my curiosity hadn’t been satisfied.

The gist of my thinking was that, while, in general, you need an accelerometer and a gyroscope to establish both direction and orientation, if you were in a fixed frame like an automobile, then your direction established your heading, so knowing your direction meant knowing your heading. And you can get direction from an accelerometer. You could even get altitude change by detecting vertical acceleration.

Turns out it’s not quite that simple. Let’s say you’re out in a flat surface (like Nebraska) with an accelerometer that’s perfectly flat – that is to say, coplanar with your flat surface. If it’s a 2-axis accelerometer, then it won’t notice gravity, which would be orthogonal to the two sensed axes. If (as is more likely) you had a 3-axis sensor, then the Z element would detect gravity, and you would subtract that out.

So in both cases, you would calibrate to zero vertical acceleration. And as you drove around on the flatlands, you could figure out where you were. But at some point, you’re going to encounter a hill. Or heck, even an overpass. Now you’ll move vertically. And that’s where it gets tricky.

If you had your sensor mounted in a flexible way that guaranteed it would always remain flat (that is, with gravity being perfectly down), no matter where the car goes, then things would still work. But most of us don’t have that: as we go up a hill, our car tilts, as does any sensor in the car. Gravity is no longer in the Z direction. And we’re only subtracting out gravity in the Z direction. So now gravity is going to show up in some other direction. Not full gravity, perhaps, but a component of it.

The sensor can’t tell whether that appearance of gravity represents gravity in a tilted sensor or acceleration in a flat sensor. And gravity is a large acceleration compared to what our cars can do, so just the mere tilting of the car will suddenly result in a large “leakage” of gravity into the other directions, misleading the accelerometer. That leakage will also reduce what the accelerometer sees in the Z direction, making it think you’re levitating.

This is all the stuff of thought experiments, since we do have and use gyroscopes to eliminate the ambiguity. But I found it an interesting insight into how some of these calculations work as well as a minute aspect of what the sensor fusion guys have to deal with.

Leave a Reply

featured blogs
Apr 25, 2024
Structures in Allegro X layout editors let you create reusable building blocks for your PCBs, saving you time and ensuring consistency. What are Structures? Structures are pre-defined groups of design objects, such as vias, connecting lines (clines), and shapes. You can combi...
Apr 25, 2024
See how the UCIe protocol creates multi-die chips by connecting chiplets from different vendors and nodes, and learn about the role of IP and specifications.The post Want to Mix and Match Dies in a Single Package? UCIe Can Get You There appeared first on Chip Design....
Apr 18, 2024
Are you ready for a revolution in robotic technology (as opposed to a robotic revolution, of course)?...

featured video

MaxLinear Integrates Analog & Digital Design in One Chip with Cadence 3D Solvers

Sponsored by Cadence Design Systems

MaxLinear has the unique capability of integrating analog and digital design on the same chip. Because of this, the team developed some interesting technology in the communication space. In the optical infrastructure domain, they created the first fully integrated 5nm CMOS PAM4 DSP. All their products solve critical communication and high-frequency analysis challenges.

Learn more about how MaxLinear is using Cadence’s Clarity 3D Solver and EMX Planar 3D Solver in their design process.

featured paper

Designing Robust 5G Power Amplifiers for the Real World

Sponsored by Keysight

Simulating 5G power amplifier (PA) designs at the component and system levels with authentic modulation and high-fidelity behavioral models increases predictability, lowers risk, and shrinks schedules. Simulation software enables multi-technology layout and multi-domain analysis, evaluating the impacts of 5G PA design choices while delivering accurate results in a single virtual workspace. This application note delves into how authentic modulation enhances predictability and performance in 5G millimeter-wave systems.

Download now to revolutionize your design process.

featured chalk talk

Advantech Industrial AI Camera: Small but Mighty
Sponsored by Mouser Electronics and Advantech
Artificial intelligence equipped camera systems can be a great addition to a variety of industrial designs. In this episode of Chalk Talk, Amelia Dalton and Ryan Chan from Advantech explore the components included in an industrial AI camera system, the benefits of Advantech’s AI ICAM-500 Industrial camera series and how you can get started using these solutions in your next industrial design. 
Aug 23, 2023
29,548 views