This week's EYE ON NPI gyres and gimbels through the wave. It's the latest LSM6DS 6-axis accelerometer + gyroscope IMU from STMicroelectronics. ([ Ссылка ]). This latest update to the LSM6DS line is packed with features such as I3C, step counter, Qvar electrostatic sensing, finite state machine, AI 'learning core' and embedded sensor fusion so not only are you getting an IMU but a full user interface and sensor management hub.
We've been stocking and using the LSM6DS series for many years: starting with the LSM6DS33 ([ Ссылка ]) a great low cost 6-DoF to the LSM6DS3C-TR replacement ([ Ссылка ]) to the fancy-pants LSM6DSOX ([ Ссылка ]). These are pin-compatible, and nearly-firmware-compatible sensors that are compact, sensitive and precise.
In particular, what we look for in a good IMU chip is the gyro offset and drift. When making an inertial measurement unit (IMU) especially one used for orientation calculations, the quality of the gyroscope has a big impact on the jitter/speed/drift. ([ Ссылка ]) Accelerometers are pretty good quality these days, we've figured out how to make them decades ago. And magnetometers are not as important - they don't update often and are used for orientation correction. Gyro's have the most error possibilities. In general, the more you pay, and the newer the sensor, the better performance you'll get in the form of low offset and low drift. The LSM6DSV32X has similar gyro/accel characteristics from the LSM6DSOX and ISM330DHCX - although we'll note the min/max is not documented, just the typical values. And there's some ISM330 parameters such as Angular random walk and Bias Instability, that are not specified.
That said, as long as you're good on calibration, and the specs are within your limits, the embedded functions are where the LSM6DSV32X really shines. Like many ST accelerometers, there's a built in pedometer ([ Ссылка ]) as well as a tilt / motion sensor. The first is good for step counting, the second lets the sensor go into a low power state and set an interrupt pin when the device is moved or tilted to wake up the rest of the UI.
The more advanced functions include a 'machine learning core' ([ Ссылка ]). We use that term lightly because it's more like a 'decision tree' where you can set up test conditionals post-normalization/filtering to classify simple motion states such as "running", "sitting" "lying down". These won't be as flexible as a true machine-learning algorithm that uses sample data to create a model, but you also don't have to spend any power or computation.
Another advanced feature ST has been adding to many of their chips is Qvar electric charge variation detection sensing. This ultra-sensitive capacitance-like sensing can be used for human presence and motion detection, as well as touch/proximity detection. The eval board comes with a few Qvar plates for trying it as a slide or touch sensor as well as a 'radar' like proximity detector. ([ Ссылка ]) This could be nice to use if you've got a microcontroller that does not have touch sensing peripherals, since now you don't need a separate chip.
The new feature we're most interested in is the "Sensor fusion low power" block - which can output a game rotation vector in quaternions, that gives the chip attitude ([ Ссылка ]) direct from the sensor, without needing to continuously read/buffer/analyze the 6-DoF data. We'll note that there's no magnetometer, so it won't have 'absolute' orientation against the earth, but for many use cases a rough orientation - especially one that is self-driving and low power - will suffice. We'll note that for getting started, the LSM6DSV16X library on GitHub has examples for this and the other embedded features. ([ Ссылка ])
If you want to try out the new ST LSM6DSV32X 6-Axis IMU with 32 g Accelerometer ([ Ссылка ]) or it's smaller sibling, the LSM6DSV16X ([ Ссылка ]) both are available and in stock from DigiKey right now. Pick the 16g version if you're doing every-day motion sensing and 32g for sports / high speed activities. The eval board is also available and great if you want to start fast and also check out the new Qvar sensor feature ([ Ссылка ]). Order today and you will be ready to integrate the latest IMU into your design by tomorrow afternoon.
Ещё видео!