avatar

EYE on NPI: ST Micro's AIS25BA 3-Axis Accelerometer

Adafruit Industries
Adafruit Industries
Episode • Sep 15, 2022 • 12m
This week's EYE ON NPI has great vibes, it's ST Micro's AIS25BA 3-Axis Accelerometer (https://www.digikey.com/en/product-highlight/s/stmicroelectronics/ais25ba-3-axis-accelerometer) a unique take on the classic tripe-axis motion sensor where data is streamed out with a TDM interface rather than I2C or SPI!
We've never seen this kind of sensor but the idea behind its use case is kinda cool and is a great demonstration of using sensor fusion to cancel out or extract data from two 'directions'.
Usually accelerometers we've covered on NPI before are used for tilt or motion sensing, detecting if something is falling or was struck. Another good use for this common sensor is vibration detection. You need very fast sensor reading but any vibration can be detected and sensed as motion and then integrated for displacement. That's pretty much what a microphone (https://en.wikipedia.org/wiki/Microphone) does as well, right? It takes vibrations in the air, then the displacement is converted to a capacitive measurement via MEMS (https://www.digikey.com/short/tt7qnddr) or current/voltage measurement via electret (https://www.digikey.com/short/9vdczd9n).
So, what if in addition to measuring the air movement with the microphone, we also got to measure the vibration of a surface with an accelerometer? Dense surfaces will be better at low frequency measurements, and the microphone element will be better at high frequency. With a little filter work, we can combine these two data streams so that we get clear audio without the motion or air noise that often adds crackling, or overwhelms the analog front end. (https://www.st.com/resource/en/flyer/fllis25ba0218_lr.pdf)
ST Micro's AIS25BA 3-Axis Accelerometer (https://www.digikey.com/short/3zrr4c8b) is the automotive-qualified version of the LIS25BA (https://www.digikey.com/short/c9bt59c0) but both function basically the same so choose whichever is best for your application. In both sensors, the configuration and test is still done over I2C - setting gains, offset, self-test, etc. Then data is streamed over a TDM audio-interface so it can be quickly funneled into a DSP or microcomputer that performs the high/low-pass filtering and merging. As demo'd by an ST engineer (https://www.youtube.com/watch?v=bi4NenlnR-k), the sound quality is greatly improved, kinda like a reverse-noise-cancelling-headphone.
Particularly as so many more devices like cars are becoming voice-controlled to allow for advanced uses, and avoid mechanical components that can wear out or get dirty, having good clean audio input (https://www.st.com/resource/en/user_manual/um2824-getting-started-with-the-stm32cube-function-pack-for-acoustic-echo-cancellation-stmicroelectronics.pdf) is key to having a UX that is great versus one that is annoying to use. There's even a driver for the I2C side of things over on GitHub to get you started quickly. (https://github.com/STMicroelectronics/ais25ba-pid.git)
Best of all, STMicroelectronics' AIS25BA 3-Axis Accelerometer (https://www.digikey.com/short/3zrr4c8b) is in stock now at Digi-Key for immediate shipment! Order today and your sensors will be shipped immediately so you can be noise-cancelling like a pro by tomorrow morning.