- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Community,
Do you have any idea how to remove the unused noise and unwanted half-signal risings from this signal? On the picture below you can see the signal, and you can notice the true heart beats, and the unwanted part of the data.
I am working with a 16 sized circular buffer, every time a new data comes, I push it into the circular buffer. I want to make the filtering without using any top design element, so only with "C code". The hardest thing in the filtering is, that every person has his/her own heart rate, and the light absorption (which is the method of how it works) can be different by person, so implementing fix [Hz] filters might be dangerous, because of the fact that the data can change suddenly if other person uses the sensor.
Thank you for the ideas, and I also accept example C codes for doing this filtering 🙂 .
Happy easter,
Ben
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Tags:
- filtering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Benz,
I think your signal might be a good candidate for a median filter with the length of 5-20:
MedianFilter: sliding window median filter component
/odissey1
Figure 1. Effect of the Median and FIR filters on the data with pulsed noise. Black - signal w/o noise, Green - signal with disturbance, Red - FIR output, Blue - median filter output (recovered signal). Data output demo using SerialPlot charting software.