Sensor Fusion Or Sensor Confusion?

June 28, 2012
It’s summer, and sensors are proliferating faster than weeds. Sensor fusion is helping to combine sensor data providing everything from virtual peripherals to better sensor data.

It’s summer, and sensors are proliferating faster than weeds. Smart phones and tablets have built-in sensors such as accelerometers and magnetometers. Some mobile devices incorporate GPS receivers to provide even more sensor information to applications.

Dealing with raw data from these sensors can be a nightmare given their wide range of capabilities and performance levels. It’s one reason why operating systems like iOS, Android, and Windows provide a standard interface for many sensors.

Unfortunately, sensor technology is progressing faster than the software can keep up. Technology demonstrations at trade shows seem impressive, but they typically bypass the operating systems by using a device driver. Applications need to be written specifically to take advantage of new features.

Sensors Going Digital

Handling a single sensor can be a challenge all by itself since sensors usually are analog devices. Digital versions of these analog sensors normally incorporate a microcontroller. The digital interface is easier to utilize, and there are significant advantages to adding intelligence to a sensor.

The first benefit is the ability to provide data in digital form. The second is the ability to scale the results or provide them in more than one format. For example, the data may be the raw results from an analog-to-digital converter (ADC) or a digital value that may be scaled. Future devices then can provide results consistent with older chips. Third, a micro can compensate for issues such as calibration and drift. Finally, sensors use power, and a micro can handle power management.

Micros Make MEMS Manageable

Adding a micro to the mix brings up a host of other possibilities including sensor fusion. A single micro can easily handle multiple sensors. Interfacing is simplified because there’s a single digital device to work with and it’s possible to provide sensor fusion at the subsystem level.

Sensor fusion allows sensors to work together, possibly improving calibration and handling drift. It’s also possible to generate virtual sensors that provide data that’s more usable to an application but sourced from information generated by multiple sensors. And, it’s possible to simulate a sensor like a gyro using an accelerometer, albeit with less accuracy.

Sensor fusion can be done on the host. Companies like Sensor Platforms provide software to handle sensor fusion (see “FreeMotion Provides Sensor Fusion For Smart Phone”).The software can run on the host or on a microcontroller servicing the sensors. It also offers advanced sensor management, power management, and virtual peripherals.

Sensor Platforms can drive standard operating systems with sensor data. The company also offers its own application programming interface (API), which is more robust.

Freescale’s Windows 8 Xtrinsic Sensor is designed to plug into a tablet as a development tool (Fig. 1). The small USB dongle has a ColdFire micro that provides sensor fusion and delivers data in a fashion that is compatible with the forthcoming Windows 8 (Fig. 2).

1. Freescale’s Windows 8 Xtrinsic Sensor platform plugs into a standard USB port to provide a demo platform for developers.
2. The Windows 8 Xtrinsic Sensor integrates a ColdFire microcontroller and MEMS sensors into a single package.

The device is a 12-axis sensor that includes a 3D accelerometer, 3D magnetometer, and 3D gyro, plus an ambient light sensor and a barometer/thermometer. Most systems employ the magnetometer to provide a compass heading, but Freescale utilizes the other sensors as well to improve the compass results instead of using raw data from a single sensor.

Windows 8 defines a standard USB interface and queues for data provided by sensors (Fig. 3). Applications then can deal with sensors that are already defined and using data within the specified range and format in a standard fashion.

3. The USB-based Windows 8 Xtrinsic Sensor platform delivers data into standard Windows 8 peripheral queues.

Sensors and their capabilities will continue to grow. Hopefully sensor fusion won’t grow into confusion.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!