An instrumented
mouth guard for measurement of a
heart rate comprising: a sensor configured to detect a photoplethysmography, PPG,
signal indicative of the heartrate of a wearer of the instrumented
mouthguard as a function of time; a memory unit; a processor configured to implement the steps of: measuring, by the sensor, data comprising a PPG
signal as a function of time at a particular sample rate; storing the data into the memory unit; iteratively applying a sliding window of a width of n consecutive samples of PPG
signal data stored in the memory unit, for each sliding window: applying a first
processing to the n samples of PPG data to remove
outlier data to generate first processed data; applying a second
processing to the first processed data to remove
high frequency noise components to generate second processed data; identifying respective peak PPG values in the second processed data; determine one or more instantaneous
heart rate values, wherein an instantaneous
heart rate value is the difference between two successive respective PPG peak values in the sliding window; remove anomalous instantaneous heart rate values, wherein an anomalous instantaneous heart rate value is a value outside of normal human physiological range; calculating and storing the mean
peak value for the sliding window into a buffer; repeating for subsequent sliding windows; calculating a heartrate, wherein the heartrate is an average of the last M mean peak values calculated; and providing to a
user interface respective trailing moving averages to provide an indication of the heart rate of a wearer.