Hey friends, Happy Wednesday!
Last week, I visited Chinmaya Vidyalaya where I did my schooling for a while. And went out bowling with friends.
Last week, we discussed sensor fusion but didn’t jump into what it actually does. So, I planned for this newsletter issue to be about Sensor Fusion. Several products in the 21st-century use Sensor fusion (Phones, Smartwatches, Autonomous Vehicles, and other Robots). Hence, having a solid grasp of these concepts helps one understand and appreciate how gadgets work under the hood.
This form the base for fully understanding the Fall Detection algorithm as well. The blog post of the same is out, which can be read using the link at the end of the newsletter.
I aim to write my newsletter issues in a way one can follow them while traveling on a bus, having a coffee, waiting for your food, etc. Let’s jump in!
PS - This is my longest newsletter issue yet, I guess!
Imagine this situation. You have a car going on a highway. The GPS signal gives the location of the car as we know but it is not accurate distance in meters as there are inaccuracies. But when you combine this data with the camera information captured on the highways, the location of the car can be identified exactly. This is basically sensor fusion - Combining data from multiple sensors to provide a more accurate and dependable understanding of the system. While an individual sensor may provide useful data on its own, the data that could be extracted from combining output from multiple sensors at once would give us a much better model. Sensor data always have noise, so the sensor fusion algorithms take them into account while computing a dependable estimate.
Let’s take another example - Measuring the orientation of a phone. The accelerometer (measures acceleration) and magnetometer (measures magnetic field and its direction) combinedly give the absolute orientation of the phone (This needs a blog post of its own, but you can google search, for now, to see how this is done. Matlab has a video on the same.). This has common problems like giving faulty values when you bring a magnet nearby. The gyroscope on the other hand gives the relative orientation of the phone by detecting the difference in rotations from the angular rate. But we need additional data on initial orientation to find the absolute orientation if we’re using a gyroscope solely to determine orientation. The gyroscope has problems like the value drifting over time. Combining these 3 sensors using sensor fusion is a popular technique to determine the orientation of the phone accurately.
Sensor fusion is basically a fancy way to average the sensor data and provide an estimate. Imagine a slider with the accelerometer + magnetometer providing orientation data on one end, and the gyroscope providing its own orientation data on the other end. The sensor fusion algorithm basically decides where to place the slider. If the algorithm believes the gyroscope data more than the other, then the slider is more towards it. This means the final estimate will have a bias toward the gyroscope data in this case. There are different algorithms used to decide the bias. One popular example is Kalman Filter. To understand how the algorithm works, watch this basic 7-minute video HERE.
Let’s take the context of images. A feature is a piece of information about the content of an image; typically about whether a certain region of the image has certain properties. Features may be specific structures in the image such as points, edges, or objects. Feature detection includes methods for computing abstractions of image information and making local decisions about whether there is an image feature of a given type at that location or not. Once features have been detected, a local image patch around the feature can be extracted.
My blog post S1E8 on Fall Detection is out! Read it here, happy learning!
| Learn how Fall Detection algorithm works in FULL! |
I’m thinking of writing about an Electric toothbrush or Sleep rate sensor for the next episode S1E9, haven't decided yet. Also, let me know if you’d like to read about a specific gadget/device.
In which aspect of gaming is Sensor fusion used predominantly in recent times? Hint - There are unicorn companies that are building their futures based on them. Share your thoughts by replying to this email, and we can have a discussion. I’ll answer this in next week’s issue.
As I mentioned last week, I was planning to release new sub-sections and announcements to my Newsletter this week but I’m pushing it to probably next week. Sorry about that, I’m trying to make sure I write complete newsletter issues and blog posts while also doing my personal stuff during my vacation. Thanks a lot for your time in reading!
Have a nice rest of the week, and take care!
Until next Wednesday,
Chendur
Understand the inner science, tech, and AI of your gadgets with me, a Carnegie Mellon alumnus. Join 335+ readers every other Wednesday to see the world differently in just 3 minutes—regardless of your background! 🚀
Hey Reader, Happy Wednesday! Last week, I met my middle school friend after 12 years in San Francisco for dinner. Let’s look at the second part of the 4-part internet series this week. I aim to write my newsletter issues in a way one can follow them while traveling on a bus, having a coffee, waiting for food, etc. Let’s jump in! How it works: 15-second answer The internet is physical and fragile. The YouTube video is stored on a computer in a building (aka data center) somewhere in the world,...
Hey Reader, Happy Wednesday! Last week, we went to the Cherry Blossom festival in San Francisco. Let’s look at how the Internet works for the next four weeks, starting today. I aim to write my newsletter issues in a way that one can follow them while traveling on a bus, having a coffee, waiting for food, etc. Let’s jump in! How it works: 15-second answer Internet is physical and fragile. The YouTube video file is stored on a computer in a building (aka data center) somewhere in the world,...
Hey Reader, Happy Wednesday! Last week, I went to Lake Tahoe in California for the long weekend. Let’s look at how a SOS signal works this week. I aim to write my newsletter issues in a way one can follow them while traveling on a bus, having a coffee, waiting for food, etc. Let’s jump in! How it works: 15-second answer SOS is a universal distress signal used in emergencies. It works through Morse code, which combines short (·) and long (—) signals to form letters and words. The letters SOS...