Biomedical User Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find heart rate from negative peaks?

i am working on a projet of detecting pulses using led and photodiode,i want to get the heart rate in bpm from the pulses.i got a VI from NI website.i am attaching the zip file with this.but the problem i have is,due to change in logic in my hardware i am getting negative peaks for every pulse,if there is no pulse,i am getting a constant voltage of 4 volts,if a pulse is detected i am getting output in around .1 volts.is there a chance of changing the program to suit my requirement,that is give the bpm from negative peaks?i tried changing "peaks" to "valleys" in peak detector VI,but there was no change.

0 Kudos
Message 1 of 3
(3,473 Views)

Invert the signal and add 4 to it before passing it through the peak detector.

Randall Pursley
Message 2 of 3
(2,982 Views)

thanks sir,will try that.thanks for you fast response.

0 Kudos
Message 3 of 3
(2,982 Views)