Bosch Sensortec Community

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

    BNO055 : Returns the value -0.06 randomly

    BNO055 : Returns the value -0.06 randomly

    nijin_26
    Member

    I am using the BNO055 for reading angular positions, velocities and accelerations.

    While streaming data, I notice that I occassionally get the value -0.06 (for angular positions, velocities or accelerations, completely random and independent), which very clearly are outliers to the rest of the data. Of late, I have been receiving this datapoint more frequently. 

    Need help in understanding why the BNO055 outputs -0.06, and how it could be prevented/corrected.

    7 REPLIES 7

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    Please let us know the BNO055 sensor fusion mode and FW version value. Please provide us with the data log you streamed from BNO055. Also please show us the data points where -0.06 happened in the data log. We will try to reproduce the issue.

    Thanks.

    The Fusion mode used was NDof.

    I am not sure what you mean by the FW version value. 

    Data was streamed using Arduino IDE at approx 10 Hz, and the data registers for Euler hrp, Gyro xyz and Acceleration xyz were respectively read using the library functions bno055_read_euler_hrp(&Eul_data_vector), bno055_read_gyro_xyz(&Gyr_data_vector) and bno055_read_accel_xyz(&Accel_data_vector). The values were then type casted to float and divided by 16.00

    The following is the screenshot of the log, where the outlier values are clearly seen.

    nijin_26_0-1620768952029.png

     

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    BNO055 FW version is defined in register 0x05 and 0x04. For example, if you read these two registers and got value of 0x03 and 0x11 back respectively, then the FW version is 3.11.

    I just logged my BNO055 data at NDOF mode using my eval. board. Please see the attached CSV file where there are a lot of +/-0.0625 values. The value of +/-0.0625 stands for 1/16 (LSB) which means that when HPR or gyro data or accel data has +/-1LSB raw value, then the logged data will show +/-0.0625. So +/-0.0625 is a meaningful value which is close to 0LSB.

    Thanks.

    Hi,

    Thanks for the data. It is interesting to know that -0.06 corresponds to a meaningful value and is not an error code.

    I plotted your data, and I see that you achieve smooth plots for all angles. Here, I've plotted the roll. There are no outliers.

    nijin_26_0-1620896447492.png

     

    However, in my case, these values occur at unexpected points, standing out as clear outliers. 

    nijin_26_1-1620896597345.png

     

    In the absense of these outliers, the plot should have looked nearly sinusoidal, as below:

    nijin_26_2-1620896714373.png

    This is leading to loss of meaningful information, for example, in the range of 150 to 200, in my plot above. Hence, simply filtering out the outlying points is not a solution. Do you know why this might be occuring?

    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