Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMX160 Absolute Yaw Measurement of multiple objects

    Disen
    New Poster

    BMX160 Absolute Yaw Measurement of multiple objects

    Hi Everyone, 

    I have been working on BMX160 for a couple of weeks. The target is to identify the absoulte orientation Yaw angles of several carts which are horizontally placed on the floor. The carts could be heavy and is supposed to be moved manually. So the measurement does not require high dynamics. And the yaw orientation info is needed only when the carts are in static state.

    The problem I got is the unexpected magnetic distortion. Since it is indoor application, it suffers a lot of uncertainties of magnetic field variations in different locations.

    As the measurement procedure, the mag sensors were calibrated after installation in the cart. Because only the absolute yaw was needed, I only calibrated the X-axis and Y-axis mag values with ellipse-fitting to get the hard-iron offset and soft-iron correction 2x2 matrix.

    The absolute Yaw-angle could be extracted by solving atan2(magY, magX) after calibration, assume that magnetic environment were consistent over the room. However, as I mentioned above, the magnetic field could be distorted at different locations. I got really poor results when identifying the relative Yaw angle of 2 carts (YawCart1 - YawCart2). The error could be more than 30 degrees comparing with the results of optical measurement system (which I trust to give me the groud truth relative angle). 

    I have 2 doubts if I could really use this Absolute Orientation IMU to indicate Yaw-angle in my application:

    1. Is there any possible way of compensating the unexpected magnetic distortion?

    2. May sensor fusion algorithm help to improve accuracy in my application? As I understand, the fusion algorithm still needs the trustable magnetic information to do the correction. What if the carts were initially placed in different locations in the room when the sensor systems first start and the locations suffered different magnetic distortions?

    I kind of get stuck here...Could anyone give me some suggestions? Thank you in advance!

    Best regards

    Disen

    1 REPLY 1
    BSTRobin
    Community Moderator

    Re: BMX160 Absolute Yaw Measurement of multiple objects

    Hello Disen,

    Generally, PCB layout, product structure and surrounding environment will affect geomagnetic sensors. The geomagnetic calibration algorithm can be used to correct the magnetic interference in a certain range.

    For your application, the fusion algorithm can improve the accuracy.

    When the surrounding magnetic field environment is different, geomagnetic calibration is required, which is usually done in the background.

    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