01-27-2009 07:41 AM
Hello friends,
I am unable to find heart rate and HRV. I am finding an error in calculation here as i am getting negative values, can some one correct my vi here.
01-27-2009 08:29 AM
01-27-2009 09:10 AM
Hi Adnan,
thanks for replying, i am trying to measure heart rate and HRV from capacitive coupled ECG. After peak detection I need to calculate the no of heart beats per min and then find the distance between two R-R peaks(HRV) and display them. I think some where the calculation of heart beat is going wrong. I need to count the heart rate say for a minute, if any of the peaks are missing then it has to take the last peak into consideration and then go ahead and display this result at the end.
Normal heart beats are around 70-90 beats/min, but here i am getting all the negative readings which are wrong. I have attached two data samples 1 and 2 which are my CCECG samples, and one more conventional (Real ecg) sample.
I followed this article for implementing this algorithm and unable to find the heart rate at the end. I have used adaptive filtering to filter out the noises as my data samples were very noisy.
01-27-2009 09:46 AM
01-27-2009 10:00 AM
01-27-2009 10:10 AM
01-27-2009 10:14 AM - edited 01-27-2009 10:20 AM
I actually tried to implement this using (LMS) filter but it went completely wrong. So I have attached my new vi here (hrv.zip) where in i have to find time and frequency domain parameters as mentioned in the article http://zone.ni.com/devzone/cda/epd/p/id/5832
kindly guide me to find these parameters, I dont know if my vi is working fine here.
01-27-2009 10:24 AM