Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BMM150 Calibration

    BMM150 Calibration

    mgchoi
    New Poster

    Hello, BOSCH

    Regarding BMM 150, is automatic calibration possible only?
    Or do I have to use ACC Sensor or 6 axes for automatic calibration?

    5 REPLIES 5

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    Regarding BMM150 magnetometer calibration, you can refer to the hands-on video from Digikey talking about how to calibrate magnetometer hard-iron and soft-iron at https://www.youtube.com/watch?v=cGI8mrIanpk. It can be both offline calibration and automatic calibration. If your device is only rotating on a leveled surface, then BMM150 magnetometer itself can be calibrated and used to measure the magnetic heading with respect to earth magnetic north pole.

    However, if your device can be tilted up and down, or left and right, then you need ACC to compensate the heading. You can find a lot of articles about how to use ACC to work with magnetometer to behave eCompass. The heading accuracy is good only when your device is stationary.

    If your device needs to output accurate dynamic heading for 3D fast rotation motion, then you also need gyro to help. This is so called 9-axis sensor fusion. At this time magnetometer can help gyro z axis not to drift away and gyro can help magnetometer be immune to external magnetic interference. There are also a lot of articles for it.

    Thanks.

    Thank you for your answer.
    We are going to use the golf distance meter, and as you mentioned, we are going to use the BMA+BMM150.
    If we use two sensors, is the calibration method done by MCU or through Acc Sensor or BMM150 API?

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    If you use BMA + BMM150, then the BMM150 calibration will need to be done on your MCU side which means you need to develop your own algorithm to calibrate BMM150. In addition, your MCU also needs to use ACC data to do tilt compensation on the heading angle.

    Therefore, to keep it simple it is recommended that you use BHI260AP + BMM150 for your golf distance meter project. BHI260AP is a smart sensor that has built-in 32-bit ultra low power floating point MCU. It also has BSX sensor fusion running inside that can automatically calibrate BMM150 and output tilt compensated dynamic heading angle if you choose 9DoF sensor fusion mode.

    Thanks.

    Thank you for your reply.
    It seems that the acceleration sensor should be used because it is considered too expensive to use the BHI260AP.
    It is said that the algorithm needs to be developed directly, but is there any way that it can be done by itself when using an Acc sensor?

    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