Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Way to synchronize multiple IMUs

    Way to synchronize multiple IMUs

    Jacek
    New Poster

    Hi,

    Is it possible to synchronize multiple IMUs (any of Bosch chips) to sample at the same frame? Or gyroscopes at least?  What I want is to compensate for the zero-offset and random-noise with measurements from multiple sources, but the measurements must occur at the same time (approximately). I know that for example, BMI088 can be synchronized internally - a gyroscope with an accelerometer. 

    If it's not possible, maybe there are other solutions to that problem? And I don't mean Kalman or Madgwick filtering - that is a further step. 

    Thanks. J.

    3 REPLIES 3

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry. Absolutely synchronizing multiple IMUs is not possible, because each IMU has its own internal ADC conversion time and low pass filter group delay time. And your MCU needs time to read multiple IMUs data one by one through either I2C or SPI interface. If you want to synchronize multiple BMI088 chips at 100Hz for example, then you can set both accel and gyro to 1000Hz sampling rate. Therefore, at every 10ms time interval your MCU can read each IMU data through SPI interface one by one to get fresh and almost synchronized data.

    Thanks.

    Hi, thank you very much for your reply.


    @FAE_CA1 wrote:

    If you want to synchronize multiple BMI088 chips at 100Hz for example, then you can set both accel and gyro to 1000Hz sampling rate. Therefore, at every 10ms time interval your MCU can read each IMU data through SPI interface one by one to get fresh and almost synchronized .


    Do you mean a 100Hz sampling rate? 


    @FAE_CA1 wrote:

    And your MCU needs time to read multiple IMUs data one by one through either I2C or SPI interface.


    I can use a cheap FPGA for that task to read the IMUs parallelly, no worry. 


    @FAE_CA1 wrote:

     read each IMU data through SPI interface one by one to get fresh and almost synchronized data.


    What if I synchronize each of them internally, then start them up at the same time - using FPGA for example. Won't the drift away in time? I mean, is the internal clock's error specified? 

     

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    The 100Hz sampling rate is the timer of your MCU or FPGA for your application for example. Then you can set IMU both accel and gyro to 1000Hz output data rate (ODR) internally. Therefore, every 10ms when your MCU or FPGA reads IMU data, you can always get fresh data from multiple IMUs.

    IMU has ODR tolerance parameter specified in the datasheet. For example BMI088 gyro has typical +/-0.3% ODR tolerance. This means that each IMU will have its own clock. Even if you start or enable multiple IMUs at the same time, after a few while they will have different rate. Similarily if you align multiple clocks at the beginning, a few days or months later they will have different time displayed.

    Thanks.

     

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist