Bosch Sensortec Community

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

    How to calculate the current in low power mode 1 with slope/any-motion interrupt?

    Frankie
    New Poster

    How to calculate the current in low power mode 1 with slope/any-motion interrupt?

    Am i correct for the following calculation?

    In order to suppress false triggers, the interrupt is only generated (cleared) if a certain number N of consecutive slope data points is larger (smaller) than the slope threshold given by (0x28) slope_th. This number is set by the (0x27) slope_dur bits. It is N = (0x27) slope_dur + 1 for (0x27).

    In EDT the duration of the wake-up phase depends on the number of samples required by the enabled interrupt engines.

    e.g. slope_dur=1, bandwidth=500Hz(tut=1ms), sleep time=6ms

    tactive = tut + tw,up1 - 0.9 ms (or tactive = tut + tw,up2 - 0.9 ms)

    N=slope_dur+1=2, so tactive=1ms*3+1.4ms(typical value)-0.9ms=3.5ms?

    and the estimated current will be (6ms*1.4uA+3.5ms*130uA)/(6ms+3.5ms)?

    Tags (1)
    3 REPLIES 3
    o_o
    Contributor

    Re: How to calculate the current in low power mode 1 with slope/any-motion interrupt?

    Frankie,

    I put your data into my pre-made current consumption calculation spreadsheet and you can expect ~50uA of current consumption, and a data rate of ~100Hz with the settings you gave me.

    Frankie
    New Poster

    Re: How to calculate the current in low power mode 1 with slope/any-motion interrupt?

    thanks, but it looks like  the number of samples for slope interrupt engine are not taken into account in the table of BW=1KHz 

    o_o
    Contributor

    Re: How to calculate the current in low power mode 1 with slope/any-motion interrupt?

    Not directly, but you can adjust the t_active time according to the number of samples, and see how this impact the current consumption at different data rates.

    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