How to use IMU chip

IMU chip can be divided into hardware and software in the use of two aspects.

1, hardware: IMU chip is the configuration register. In general, you can configure the IMU registers, respectively, to select the range of the accelerometer and gyroscope, the larger the range, the worse the accuracy.

It is also possible to configure the communication method between the IMU chip and the host, either I2C or SPI. Generally I2C has a much slower rate than SPI, and for scenarios with high real-time requirements, SPI communication may be used. Some IMUs can also be configured to use FIFOs, configured to use data frequency, configured for internal filtering, and so on.

2, software: is to read the IMU chip data after processing. Generally speaking, the accelerometer integral speed, speed integral position. For ordinary IMU, the position of the second integral after the offset is very large, and with the growth of time, the greater the error. Gyroscope output to get the angle of the angular velocity integral, in order to avoid the gimbal angle, generally use the four-element integral for attitude.

IMU chips from different companies are:

1, ADI: ADI's MEMS IMU sensors combine precision gyroscopes, accelerometers, magnetometers, and pressure sensors in a multi-axis fashion.

ADI can reliably detect and process multiple degrees of freedom (DoF) even in extremely complex applications and dynamic environments. These plug-and-play solutions include complete factory calibration, embedded compensation and sensor processing, and simple programmable interfaces.

2, Bosch's IMU modules are primarily used in drones and robots, as well as some consumer products. Bosch integrates two 3-axis MEMS sensors into one package.

The combination of accelerometers and gyroscopes in the IMU meets the needs of advanced consumer electronics applications, such as gaming consoles or gaming apps in smartphones.

3. ST: ST's IMUs integrate complementary sensors to provide a more compact, robust and easy-to-assemble solution than discrete MEMS products. ST's System-in-Package (SiP) incorporates accelerometers.

Gyroscopes and magnetometers are combined in a monolithic 6-axis or 9-axis solution. The integration of multiple sensor outputs enables motion sensing systems to achieve the level of accuracy required for the most demanding applications, such as enhanced gesture recognition, gaming, augmented reality, indoor navigation and localization-based services.