Highlights

Posted by : Noctis King Sunday, May 18, 2014

A new version of 

collection heart rate program

      In this week, we updated and changed the collection and graphing program. this new program could graph and calculated the heart rate more accurately. The reason why calculated more accurately than last one because this program used the "moving average" theory to calculate the heart rate. 
      The last one just use a some if{} sentences to compare, count and find the gaps between one peak and another. So it would make the heart rate very unstable and disordered. 
      However, this new program was used the "moving average" theory to calculate and count to find out the correct time between two peaks. It not only find one but also find two gaps. By using two data to calculate the heart rate would more accurately than only use one.
      The new program would collect enough sample data first and calculated the biggest range from those data. Then, the program would scale those data and made than easy to calculate and compared.
      After scaling the data, the program would begin to filter the data to ready for computing the heart rate. 
      Computing the heart rate was the most important part in the program. The program would find the peak and minima value from the data which after filter again. Then, it would begin to find three successive peaks. After a series judge, save three successive peaks, then, used the "moving average" theory to calculate the heart rate. 
      The program would still looping the calculate the heart rate until the user close it.
    



Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © 2013 Group 106-11 - Date A Live - Powered by Blogger - Designed by Johanes Djogan -