Sensor Fusion on Android Devices: A Revolution in Motion Processing
Channel:Google TechTalks · Length:46:27 · Published:2010-08-09 · Views:517190
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
- Great Impractical Ideas in Computer Science: PowerPoint Programming · Tom Wildenhain · 51:32
- Painting a Character with Maths · Inigo Quilez · 24:46
- Cracking Enigma in 2021 - Computerphile · Computerphile · 21:20
- Polyend Tracker // Review and Full Tutorial from Sample to Song · loopop · 49:03
- 8-bit computer update · Ben Eater · 6:53
- Reverse emulating the NES to give it SUPER POWERS! · suckerpinch · 22:21
- “Hello, world” from scratch on a 6502 — Part 1 · Ben Eater · 27:24
- Detergent packs are kinda wishy-washy (Dishwashers Explained) · Technology Connections · 32:34
- Behind the Scenes of iOS Security · Black Hat · 51:31
- The Antique Toaster that's Better than Yours · Technology Connections · 18:28
- Shenzhen: The Silicon Valley of Hardware (Full Documentary) | Future Cities | WIRED · WIRED Investigations · 1:07:51
- "Programming a 144-computer chip to minimize power" - Chuck Moore (2013) · Strange Loop Conference · 40:12
- Guarding Against Physical Attacks: The Xbox One Story — Tony Chen, Microsoft · Platform Security Summit · 58:05
- The world's worst video card? · Ben Eater · 32:47
- BOLTR: Juicero, Cold Press Juicer for Rich Weirdos · AvE · 41:39
- How does a USB keyboard work? · Ben Eater · 34:15