×

Data recovery for optical heart rate sensors

  • US 9,980,657 B2
  • Filed: 05/30/2014
  • Issued: 05/29/2018
  • Est. Priority Date: 05/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for calculating a heart rate, comprising:

  • receiving data indicating a timing of a plurality of detected heart beats;

    for each of the plurality of detected heart beats, storing data indicating the timing of each heart beat in a first-in-first-out rolling buffer;

    determining an average duration between each pair of consecutive heart beats represented by data currently stored in the rolling buffer;

    following the receipt of data indicating detection of one of a plurality of new heart beats, determining a duration between the newly detected heart beat and an immediately previously detected heart beat;

    comparing the duration between the newly detected heart beat and the immediately previously detected heart beat to the average duration between each pair of consecutive heart beats represented by data currently stored in the rolling buffer;

    adjusting the duration between the newly detected heart beat and the immediately previously detected heart beat so that the adjusted duration is closer to the average duration based on the duration between the newly detected heart beat and the immediately previously detected heart beat differing from the average duration by more than a duration threshold;

    adding new data indicating an adjusted timing of the newly detected heart beat to the rolling buffer, the adjusted timing based on the adjusted duration;

    responsive to determining that a number of data adjustments exceed a counting threshold within a predetermined time period, choosing a repopulation value from data stored within the rolling buffer representative of a most recent duration between consecutive heart beats that did not differ from the average duration by more than the duration threshold; and

    repopulating each slot of the rolling buffer with the repopulation value.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×