Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 Operation Mode & Euler Bias

    BNO055 Operation Mode & Euler Bias

    BPi
    New Poster

    Dear All,
    I am working on a maritime application of surface vessel in which the 9-axis BNO055 is useful for attitude determination and aventual linear acc evaluation. I have some doubts not clear in forums:

    1. Is the default mode the NDOF?

    2. In the default mode are the Euler Angles referred to north?

    (in my case did not, neither after some time.. leading to the 1st doubt)

    3. Does anybody obsersve drift in the Euler Angle heading (once rotated to refer to nord across magnetometers at initial time?)?

    In my case drifts a lot in time: hence again the doubt 1.. Shouldn't the fusion process unbias measurments across Mag? In my tests the Euler heading result much much more similar to a trapeze integration than a fusion.

     

    In figure below:

    Mag Heading in blue,

    Euler heading (manually initialized to Mag heading) in orange,

    external GPS course over ground in black (confirming MAG)

    brutal trapeze integration of gyro (very similar to Euler) in red

     

    Some sailing and turningSome sailing and turning

    I tested two different IMU on two different vessels, leading to the same qualitative conclusions.

    The calibration of GYRO and ACC is executed in lab and stored in order to be reloaded, while MAG are calibrated all start up.

    Finally: I heard the about the euler mismatch with quaternions, but just when tilting the IMU. Does it affect also heading fusion?

     

    Regards.

    PS
    My setup: Arduino Mega 2560
    Libraries:
    #include <Adafruit_Sensor.h>
    #include <Adafruit_BNO055.h>
    #include <utility/imumaths.h>

    1 REPLY 1

    o_o
    Contributor

    It's quite hard to say what is the definite case of your issues without more information, but here are some answers and common causes for issues :
    - The library that you are using is not from Bosch but from Adafruit, I do not know what is the default config. We always recommend to use the official BNO055 driver

    - Heading drift in NDOF mdoe is almost always caused by magnetometer distortions. Please also log the acc, gyr and mag calibration statuses. The BNO055 cannot compensate for distortions of the magnetic field, only offsets. Therefore please place the sensor far away from ferromegnetic pieces.

    -An offset between  BNO055 heading (magnetic north) and GPS is expected, due to magnetic declination

    - You data seems to have discontinuities in the heading which I would instinctively attribute to tilting. (especially around 520). I would recommend to use the quaternion output directly.

    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