This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Clearing my doubts...

I was thinking whether its feasible to use a 8-bit counter with auto-reload to capture the number of peaks detected within 100ms.

Parents
  • You mean getting the heartbeat peaks within 100ms is too short?

    Yes, way too short.

    I have to get the peak within 1sec? and multiply it by 60 to get the pulse per min?

    That would still be a very unsatisfactory approach.

    Consider a situation where you have 65 beats per minute. If you measure the number of beats in each second, you'll still only get two different values: 1 and 2. So your display would mostly be showing "60 bpm" and once every couple of seconds jump to "120 bpm".

    Even worse, if you have 55 bpm, you'll end up with 1 or 0 beats per second (and usualy, having a heart rate of 0 bpm isn't a good thing).

    You either need to count the number of beats in a much longer interval (for example, 60 seconds), which will give you a nice, steady average value but will be very slow to respond to heart rate changes.
    Or you measure the time between two heart beats, which will give you great beat-to-beat accuracy but a very unsteady number (you could output an average of this number over several beats to get a more stable output).

Reply
  • You mean getting the heartbeat peaks within 100ms is too short?

    Yes, way too short.

    I have to get the peak within 1sec? and multiply it by 60 to get the pulse per min?

    That would still be a very unsatisfactory approach.

    Consider a situation where you have 65 beats per minute. If you measure the number of beats in each second, you'll still only get two different values: 1 and 2. So your display would mostly be showing "60 bpm" and once every couple of seconds jump to "120 bpm".

    Even worse, if you have 55 bpm, you'll end up with 1 or 0 beats per second (and usualy, having a heart rate of 0 bpm isn't a good thing).

    You either need to count the number of beats in a much longer interval (for example, 60 seconds), which will give you a nice, steady average value but will be very slow to respond to heart rate changes.
    Or you measure the time between two heart beats, which will give you great beat-to-beat accuracy but a very unsteady number (you could output an average of this number over several beats to get a more stable output).

Children