editor's blog
Subscribe Now

We Won’t Call You; Just Call Us

One of the challenges with sensors is that, at their most fundamental level, all they do is provide some value reflecting whatever it is they’re sensing. If you want to know that value, you have to go get the value. “You” typically being the main processor in the system.

That’s easy enough if it’s something you occasionally do under the direction of a program, but if you want the sensor to alert you when something happens, then you have to poll constantly so that you know when something changed. That can steal a lot of cycles from the processor, and can be a particular issue for smartphones that have lots of sensors.

I had a discussion about this with Bosch Sensortec’s Leopold Beer at the recent MEMS Executive Congress. He said that with their IMUs, polling still dominates, but that they’ve got a state machine in there that can be programmed to fire an interrupt; their interface supports both polling and interrupts.

For example, the unit has an auto-sleep mode, and can be programmed to wake itself up. You can program in thresholds and timing. You can have it fire an interrupt when changing between portrait and landscape modes; the angles and hysteresis levels are programmable. This relieves the application processor of some of the more mundane polling duties.

For more complex tasks like counting the number of steps you take when running, much more processing is required, so for those tasks the processor still has to go poll the sensor and do the data munging itself.

One solution is to have a separate sensor microcontroller that can manage multiple sensors to offload some of the application processor duties in a programmable way.

A dedicated microcontroller on the same die as the sensor might make sense for so-called “sensor fusion” applications – where the “sensed” state isn’t just the result of a single sensor or even sensor type, but the accumulation of data from numerous sensors synthesized into a single combined more “intelligent” state. It’s certainly possible from a technology standpoint; the only question is whether the cost is justified.

Something to watch for as sensors continue to populate the world…

Leave a Reply

featured blogs
Oct 14, 2019
Simon Segars opened Arm TechCon with a new look, having discovered that real men have beards. This is the 15th Arm TechCon. In this post I'm going to focus on the new things that Arm announced... [[ Click on the title to access the full blog on the Cadence Community sit...
Oct 13, 2019
In part 3 of this blog series we looked at what typically is the longest stage in designing a PCB Routing and net tuning.  In part 4 we will finish the design process by looking at planes, and some miscellaneous items that may be required in some designs. Planes Figure 8...
Oct 11, 2019
The FPGA (or ACAP) universe gathered at the San Jose Fairmount last week during the Xilinx Developer Forum. Engineers, data scientists, analysts, distributors, alliance partners and more came to learn about the latest hardware, software and system level solutions from Xilinx....
Oct 11, 2019
Have you ever stayed awake at night pondering palindromic digital clock posers?...
Oct 11, 2019
[From the last episode: We looked at subroutines in computer programs.] We saw a couple weeks ago that some memories are big, but slow (flash memory). Others are fast, but not so big '€“ and they'€™re power-hungry to boot (SRAM). This sets up an interesting problem. When ...