繼續(xù)講解本人優(yōu)化心率算法的過程!在完成LMS算法后,對運(yùn)動(dòng)下的PPG信號如何去噪有了較深的總結(jié)!此時(shí)需要理論的加持,這樣印象才能深刻。這也是學(xué)習(xí)循序漸進(jìn)的方式!目前有三類去噪的方式!
有關(guān)TROIKA算法的論文已經(jīng)被我下載了!
一起看看本人的分析過程!
文章提及在運(yùn)動(dòng)狀態(tài)下,用FFT得到的周期譜圖會有一些缺點(diǎn)!在matlab中,函數(shù)periodogram是用來計(jì)算信號的功率譜密度。怎么用呢?舉例說明!該函數(shù)和FFT函數(shù)的作用是有一定聯(lián)系的!
Fs=1000; % 采樣頻率
n=0:1/Fs:1;
x=cos(2*pi*40*n)+3*cos(2*pi*100*n)+randn(size(n));
nfft=1024;
window=boxcar(length(n));
[Pxx,f]=periodogram(x,window,nfft,Fs);
P=10*log10(Pxx);
plot(f,P);
holdon;
Pxx_1=abs(fft(x,nfft)).^2/length(n);
Due tothe leakage effect, the spectral peak associated with the HR cannot be separated from the peak associated with the handswing rhythm. Thus an error in HR estimation could occur.
Compared to nonparametric spectrum estimation methods such as Periodogram, the SSR-based(sparse signal reconstruction) spectrum estimationfeatures high spectrum resolution, low estimation variance, andincreased robustness. Compared to conventional line spectralestimation methods, the SSR-based spectrum estimation doesnot require model selection and has improved estimationperformance.
此時(shí)引出了稀疏信號重建算法!Since MA contaminated PPG signals may not have sparse/compressivespectra, SSR needs preprocessing to sparsify the spectra.
由于還有其他原因,因此需要通過多個(gè)步驟來完成心率譜峰的檢測,從而引出了TROIKA架構(gòu)!
a satisfactory framework forHR monitoring during intensive exercise should consists ofthree parts: denoising, high-resolution spectrum estimation,and spectral peak tracking (including peak selection and verifification). Thus we propose the TROIKA framework.
后續(xù)系列文章里面會繼續(xù)分析該框架!
再看第二類和第三類!
LMS算法就是第三類算法!
等到自己寫好LMS算法的濾波程序后,急不可耐的開始觀察各時(shí)間段信號的頻譜(就因?yàn)檫@個(gè)急導(dǎo)致寫錯(cuò)了語句)!連續(xù)觀察六段信號!每段時(shí)常40秒。觀察的過程也是算法逐漸完善的過程。有了理論基礎(chǔ),如何一步一步的實(shí)現(xiàn)呢?必須配合實(shí)際數(shù)據(jù)的仿真結(jié)果,然后在其中尋找規(guī)律!本文下半部分給出了LMS算法結(jié)合時(shí)域心率檢測的程序內(nèi)容!
責(zé)任編輯:haq
-
仿真
+關(guān)注
關(guān)注
50文章
4083瀏覽量
133613 -
信號
+關(guān)注
關(guān)注
11文章
2791瀏覽量
76777 -
智能手環(huán)
+關(guān)注
關(guān)注
47文章
795瀏覽量
72907
原文標(biāo)題:數(shù)字信號處理之信號處理仿真 第六章 智能手環(huán)之技術(shù)應(yīng)用(12)—心率算法的優(yōu)化(LMS算法)
文章出處:【微信號:gh_30373fc74387,微信公眾號:通信工程師專輯】歡迎添加關(guān)注!文章轉(zhuǎn)載請注明出處。
發(fā)布評論請先 登錄
相關(guān)推薦
評論