SLAAE25 May   2021 MSP430FR2355 , MSP430FR2355

 

  1.   Trademarks
  2. 1Introduction
  3. 2Theory of Operation
  4. 3Single-Chip Design
  5. 4Hardware
  6. 5Software
    1. 5.1 Sample and Condition the PIN Diode Signal
    2. 5.2 Sample and Measurement Sequence
    3. 5.3 First Stage DC Tracking
    4. 5.4 Low-Pass FIR Filter
    5. 5.5 Calculate Heart and SpO2
  7. 6Debug GUI
  8. 7Test Result
  9. 8Summary
  10. 9References

Calculate Heart and SpO2

As shown in Figure 5-6, this is the ADC value of photodiode signal after filtered and amplify. You can define the highest point in a period as onset and the lowest point as peak.

You need to calculate AC and DC values for the RED/IR signal, and then use the below formula to calculate the blood oxygen level.

  • For AC value, find the onset and peak point.
  • For the value of A, B, C in this formula, it is a medical calibration constant that requires a lot of test data to calculate.

For the heart rate, it can be calculated by the time of two onset/peak points.

GUID-9E77C75F-042E-4F17-985E-E52450178EC8-low.jpg Figure 5-6 ADC Value for IR & RED LED Drive