请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AFE4490SPO2EVM 大家好、
我正在使用该仿真器 MS100 (rfmedical.com.br) 来验证我们用 python 语言编写的算法、以找到 SpO2和 HR。 虽然 HR 看起来不错、但 SpO2值与模拟器上的设置不匹配。 模拟器设置为具有75BPM、每次运行的 SpO2水平在35到99之间变化、5个单位。 在调试时发现 R 值变化不大。 我正在使用 Beer-Lambert 定律计算 SpO2、我正在使用的曲线附在代码中:
A = 110
B = 25
ir_ac_rms = np.sqrt(np.mean(np.square(self.ir_ac_buffer.get()))) # RMS value of IR AC component
ir_dc_rms = np.sqrt(np.mean(np.square(self.ir_dc_buffer.get()))) # RMS value of IR DC component
red_ac_rms = np.sqrt(np.mean(np.square(self.red_ac_buffer.get()))) # RMS value of red AC component
red_dc_rms = np.sqrt(np.mean(np.square(self.red_dc_buffer.get()))) # RMS value of red DC component
ratio = (red_ac_rms / red_dc_rms) / (
ir_ac_rms / ir_dc_rms
) # Ratio of the AC and DC components
# Calculate the SpO2 level using the formula
spo2 = A - B * ratio # SpO2 level in percentage
在图中附加了 SpO2图像与计算得出的 R 值。 如果您需要更多详细信息、请告诉我。

这是使用 GUI @ 96% SpO2水平和75bpm 捕获的原始信号。

阿斯瓦特