Sensor Fusion on Android Devices: A Revolution in Motion Processing

Channel:Google TechTalks · Length:46:27 · Published:2010-08-09 · Views:517190

Watch on YouTube

Summary

David Sachs of InvenSense explains how gyroscopes, accelerometers and compasses work on their own and together, demonstrated on a modified Android handset. He covers sensor fusion algorithms and why rotation math such as Euler angles matters.

Why HN recommends it

HN recommends it as the definitive talk on mobile motion sensing, including why integrating acceleration twice drifts so badly.

I'm always happy to share this incredible lecture from many many years ago — HN, 2026

Embedded systems & DIY electronics · Consumer devices & gadgets

Subtitles (excerpt)

>> Hi, everyone. Thank you for coming out. My guest today is David Sachs. He began developing motion sensing applications at the MIT Media Lab. And now he does advanced application development at InvenSense where he does a lot of interesting things with compasses, accelerometers, and gyroscopes including building them into Android devices. Please join me in welcoming David Sachs. >> SACHS: So the purpose of this talk is to learn about sensors that are in consumer electronics. This includes accelerometers, gyroscopes, and compasses. It's kind of a zoo having all these different sensors out there. There's a big problem, people don't really know how to use them. They don't necessarily know what the sensors do or what their strengths and weaknesses are. They don't know how to put the data together. There's also a lot of misinformation out there about what's actually in different devices and this causes a lot of confusion. So, I'd like to pay my respects to some nonexistent sensors which you'll see in press releases. Even though they don't exist, people write all sorts of interesting stuff about them on forums. These include the six axis accelerometer which apparently the Samsung Epic has according

On Hacker News

When this topic comes up, I'm always happy to share this incredible lecture from many many years ago about dead reckoning and how you _cannot_ integrate acceleration twice: [VIDEO] (the whole video is incredible, but this is the magical bit) — gregsadetsky, 2026-07
Then you would be surprised how bad they are. A great talk on using mobile sensors is here: [VIDEO] Long story short, expect something like 20 cm/s of position drift trying to do dead reckoning off of mobile sensors. — cpitman, 2015-03
That is surprising, you must have had an extremely accurate accelerometer and gyro, or employed tricks [1]. There are two problems with determining position from acceleration measurements: 1. You're integrating twice (acceleration to obtain velocity, then velocity to obtain position). So if you have any noise or error, you're integrating that, and integrate that again. Hello, parabola. 2. Gravity… — FabHK, 2021-10
> The big winner will be an easy 3d modeler. Oh, I agree 100%. I was thinking a phone could be ideal here. You'd just wave it through the air, drawing what you want, you could review what you've drawn in the screen and adjust parameters, and it could vibrate to give haptic feedback to help you draw in a straight line, or let you know when your path connects to another that you've drawn. Stuff lik… — losvedir, 2012-02

Related videos