摘要
设计了一种可应用于嵌入式微控制器的Dtrend算法实现方法。可应用于脉搏波信号的基线漂移的滤除,或其它有低频基线漂移的信号,从而使近周期信号处于同一水平线。因Dtrend算法的系数计算涉及到矩阵的求逆,所以很难在嵌入式系统中直接计算。首先在Matlab中计算出Dtrend系数,再将值通过串口传输到嵌入式系统的外置Flash当中。在进行基线漂移滤除算法实现时,通过分段读取Flash当中相应的系数进行计算,进而实现脉搏波源信号的基线漂移滤除。
This paper puts forward a method to implement Dtrend algorithm that can be applied to embedded systems.It can be applied to filtering the baseline drift of pulse wave signals,or other signals with low frequency baseline drift, which shift the near-period signals to the same horizontal line.So the method of this paper is that calculates Dtrend coefficient in Matlab,and then transmit the coefficient to the external Flash of the embedded system through the serial port.When the baseline drift filtering algorithm is implemented,the corresponding coefficients in the flash are read partly to calculate,then the baseline drift of the pulse wave in source signal is filtered out.
出处
《工业控制计算机》
2019年第2期74-75,共2页
Industrial Control Computer