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
Sep 21, 2023
Wireless communication in workplace wearables protects and boosts the occupational safety and productivity of industrial workers and front-line teams....
Sep 21, 2023
Labforge is a Waterloo, Ontario-based company that designs, builds, and manufactures smart cameras used in industrial automation and defense applications. By bringing artificial intelligence (AI) into their vision systems with Cadence , they can automate tasks that are diffic...
Sep 21, 2023
At Qualcomm AI Research, we are working on applications of generative modelling to embodied AI and robotics, in order to enable more capabilities in robotics....
Sep 21, 2023
Not knowing all the stuff I don't know didn't come easy. I've had to read a lot of books to get where I am....
Sep 21, 2023
See how we're accelerating the multi-die system chip design flow with partner Samsung Foundry, making it easier to meet PPA and time-to-market goals.The post Samsung Foundry and Synopsys Accelerate Multi-Die System Design appeared first on Chip Design....

featured video

TDK PowerHap Piezo Actuators for Ideal Haptic Feedback

Sponsored by TDK

The PowerHap product line features high acceleration and large forces in a very compact design, coupled with a short response time. TDK’s piezo actuators also offers good sensing functionality by using the inverse piezo effect. Typical applications for the include automotive displays, smartphones and tablet.

Click here for more information about PowerHap Piezo Actuators

featured paper

Intel's Chiplet Leadership Delivers Industry-Leading Capabilities at an Accelerated Pace

Sponsored by Intel

We're proud of our long history of rapid innovation in #FPGA development. With the help of Intel's Embedded Multi-Die Interconnect Bridge (EMIB), we’ve been able to advance our FPGAs at breakneck speed. In this blog, Intel’s Deepali Trehan charts the incredible history of our chiplet technology advancement from 2011 to today, and the many advantages of Intel's programmable logic devices, including the flexibility to combine a variety of IP from different process nodes and foundries, quicker time-to-market for new technologies and the ability to build higher-capacity semiconductors

To learn more about chiplet architecture in Intel FPGA devices visit: https://intel.ly/47JKL5h

featured chalk talk

Package Evolution for MOSFETs and Diodes
Sponsored by Mouser Electronics and Vishay
A limiting factor for both MOSFETs and diodes is power dissipation per unit area and your choice of packaging can make a big difference in power dissipation. In this episode of Chalk Talk, Amelia Dalton and Brian Zachrel from Vishay investigate how package evolution has led to new advancements in diodes and MOSFETs including minimizing package resistance, increasing power density, and more! They also explore the benefits of using Vishay’s small and efficient PowerPAK® and eSMP® packages and the migration path you will need to keep in mind when using these solutions in your next design.
Jul 10, 2023
9,017 views