editor's blog
Subscribe Now

Sensor Algorithms Go Open Source

So you’re bringing together some sensors in your system, and you want to fuse their data together. Congratulations; you’re in good company. You and the rest of the world want this. If this capability is simply a need-to-have, while not being the key differentiator for you, well, yay, you get to reinvent the fusion algorithms that everyone else has already reinvented. Or you can buy them with dollars that your Board would rather be spent on differentiating technology.

Or, let’s say this capability is a differentiator for you – you’ve got some new algorithmic ideas that you think will put you ahead. Well, good luck. In addition to the 15% of code change that you want to do, you’ll have to do the other 85% from scratch. Or buy source code from someone else (if they’ll let you have it) and learn their code and make the mods yourself. Or have them make the mods – and turn over your differentiating ideas to them.

Well, now there’s another option: the Accelerated Innovation Community (AIC), under the aegis of the MEMS Industry Group (MIG). I know… the name doesn’t say much about what it is, but the idea is to have an open-source community where sensor-fusion algorithms can be shared. This means that you can get ready-working algorithms easily. They may not work exactly the way you want, but they make a great starting point.

If you find ways to improve them, you can give back to the community. And if you don’t want to give back differentiating improvements, you don’t have to, since the algorithms are available under BSD licensing.

To be clear, these aren’t necessarily shrink-wrapped algorithms that can be plugged into some abstracted system with no engineering work. You will still need algorithm coders and embedded folks that know what they’re doing. The benefit of this is that they won’t have to start from scratch every time.

Now… if you’ve been paying attention, you’ll say, “But wait! What about that open sensor platform (OSP) thing from earlier this year?” Yes, your memory is fine: that happened. And these two things don’t compete: in fact, they can work together.

The OSP piece is a framework onto which algorithms can be hung. Any algorithms, including ones obtained through the AIC, can be used. Think of it as a standard API you would use to invoke the algorithms (or do other things – OSP is about more than just algorithms).

You also might wonder, given that Audience has a different (or more focused) business than Sensor Platforms did, will they still support OSP? The answer is, “Yes.” In fact, look for a new OSP revision early next year.

By the way, at the risk of yet more confusion, note that the OSP bag of goodies contains a few reference algorithms as well. These are helpful in implementing the framework, but are not the focus of OSP; the framework is.

Freescale_figure.pngJust as Sensor Platforms (now part of Audience) and ARM were founding members of the OSP, so Freescale is an inaugural member of the AIC. Coincident with their support of the AIC, they’ve also put forward a sensor fusion dev kit. It can act as its own framework, and also contains reference algorithms. 

Freescale’s kit isn’t part of the AIC, but can accept algorithms from the AIC. And they’ve contributed algorithms to the AIC. That’s kind of the point: algorithms should be pluggable (with the appropriate software ministrations) into any environment – whether OSP or a proprietary setup. If not, then you might have a partitioning issue that would be worth addressing…

You can find out more about the AIC in the MIG announcement.


(Image courtesy Freescale)

Leave a Reply

featured blogs
Mar 26, 2019
Many industrial electronics OEM designers use the word “rugged” to describe their board-level interconnect needs. While rugged can mean different things to different people, it usually includes the ability to withstand high shock and vibration applications, mainta...
Mar 26, 2019
It's CDNLive! Well, not today, Tuesday and Wednesday, April 2nd and 3rd at the Santa Clara Convention Center. So I have eight things you can do to get the most out of CDNLive and go home with a... [[ Click on the title to access the full blog on the Cadence Community si...
Mar 25, 2019
Do you ever use the same constraint templates in multiple projects? Now, with PADS Professional VX.2.5, you can easily import and export constraints from one project to the next. Constraint templates enable application of complex rules to multiple nets. They help ensure a smo...
Jan 25, 2019
Let'€™s face it: We'€™re addicted to SRAM. It'€™s big, it'€™s power-hungry, but it'€™s fast. And no matter how much we complain about it, we still use it. Because we don'€™t have anything better in the mainstream yet. We'€™ve looked at attempts to improve conven...