datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech

Design Article

Cardiac waveform: key to efficient heart rate monitoring

Sanjeev Kumar, Cypress Semiconductor Corp.

4/15/2011 4:04 PM EDT

Heart rate is one of the most frequently measured parameters of the human body and plays an important role in determining an individual’s health. Heart rate measurement is becoming a part of the typical consumer lifestyle, and many electronic devices such as iPods, exercise equipment, and mobile phones are becoming able to accurately measure heart rate. This functionality, however, does not come without added cost. By using multifunctional devices, developers can reduce the price of introducing new features such as these.

Various methods used to measure heart rate include Electrocardiography, Photoplethysmography, Oscillometry ( Blood pressure monitor method ) and Phonocardiography. Each of these methods measures different phenomenon that occur in human body during the heart beat or cardiac cycle to determine heart rate.

Electrocardiographs

The contraction and relaxation of cardiac muscles causes blood to flow in and out of the heart. During each cardiac cycle, a group of tissue in the heart called the sino atrial node (a.k.a., the pacemaker of heart) generates electrical impulses that spread all through the heart and cause rhythmic contraction and relaxation of heart muscles. These electrical impulses can be detected by placing electrodes in specific points in human body. An electrocardiogram (ECG) captures this varying electrical impulse so shows the overall rhythm of the heart.

This method requires placement of two or more electrodes on specific points of the human body. The ECG signal is characterized by six peaks and valleys labeled with successive letters of the alphabet: P, Q, R, S, T, and U (see Figure 1). The P-peak is produced by muscle contraction of the atria. The R-peak shows the ending of atrial contraction and the beginning of ventricular contraction. Finally, the T-peak marks the ending of a ventricular contraction. The magnitude of the R-peak normally ranges from 0.1 mV to 1.5 mV.

 

Figure1: ECG waveform

The average heart rate is calculated by first measuring the time interval, denoted RR interval, between two consecutive R peaks and taking the average reciprocal of this value over a fixed window, usually 15, 30 or 60 seconds. This average is then scaled to units of beats per minute (bpm). R-peak is a part of the RQS complex which represents ventricular depolarization. A typical ECG is invariably corrupted by (i) electrical interference from surrounding equipment (e.g. effects of the electrical mains supply), (ii) measurement (or electrode contact) noise, (iii) electromyogram noise (muscle contraction), (iv) movement artifacts, (v) baseline drift and respiratory artifacts and (vi) instrumentation noise (such as artifacts from the analog-to-digital conversion process).

Before calculating the heart rate, we must processing the ECG in the analog (amplification, common mode voltages suppression and filtering) and digital (digital filtering) domains. Most of these functions can be performed by the microcontroller in real time. Figure 2 shows an implementation of a ECG heart rate monitor. The INSAMP rejects the CMRR and the signal is pre-amplified to improve noise immunity.

 

Figure 2: ECG system using system on chip

An antiphase signal is also used. This circuit consists of a buffer amplifier (BUF AMP) and an inverting amplifier (INV AMP) that applies an inverted version of the common-mode signal to the hands, with the aim of canceling interference. On the output of this circuit there is a voltage level shift to automatically detect the moment hands are placed on the electrodes. The threshold circuit and comparator detect this moment.

From the output of the INSAMP, the EKG signal passes through a high pass filter and is buffered by the BUF AMP. Then the signal is digitized via an ADC. Later the digitized signal passes through various filters and pulse calculation routines to calculate the heart rate.

Photoplethysmography

During each cardiac cycle, the blood vessels pulsate in order to carry blood to/from different parts of the human body. When light radiation such as infrared is passed through a blood vessel in a finger or ear lobe, the received light signal from finger/earlobe are periodic and vary due to the rhythmic flow and absorption properties of blood. This optical variation is employed to make Photoplethysmographs.

Photoplethysmography is of two types of transmission and reflection based on the place from which the light sensed. In this implementation, an IR LED is excited by a modulated signal to avoid low-frequency interference, and the received light from finger or ear lobe is sensed by a photodiode which is filtered using a band pass filter with synchronous demodulator which is in sync with the modulator, Figure 3. This is digitized by an ADC and passed through software filters to shape the pulse. The heart rate is determined using a software peak detector.


Figure 3: Photoplethysmograph

Pressure sensing method

The rhythmic contraction and relaxation of the heart exerts a change in blood pressure along the walls of the blood vessels. As a result, the blood vessels pulsate in rhythm to the beat of the heart. This pulsation of blood vessels can be sensed by pressure or piezo sensors placed at appropriate places on the human body like the wrist. This variation in pressure is used in a blood pressure monitor to measure the heart rate. Figure 4 shows the pulsation of blood vessels in an arm using pressure sensor with filtering and amplification. These pulses are called oscillometric pulses and are measured in automatic blood pressure monitors.

Figure 4: Oscillometric pulses

The pressure signal from the blood vessel is read by a pressure sensor. The signal is later amplified and filtered to separate the heart beat signals. Later the signal is digitized using an ADC. A timer is used as a reference to calculate the heart rate.

 

Figure 5: HR monitor using pressure sensor and system on chip

Phonocardiograph

The opening and closing of valves in the heart produces sounds during contraction and dilation which is normally audible through a stethoscope. These sounds are rhythmic to heart beat and can be sensed using microphones. Apart from the normal heart sounds (S1 and S2-Lub and Dub), abnormal sounds called murmurs can also be recorded. Normal heart sounds are used to determine the heart rate. The normal heart sounds and different murmurs have different spectral characteristics so with proper filtering the abnormalities of the heart can be visualized. This acoustic property is used in phonocardiographs to determine the heart rate. Figure 6 shows normal and abnormal heart sounds.

Figure 6: Heart sounds

Heart sound signals can be detected using a sensitive microphone connected to the diaphragm. The electrical signals from the microphone are amplified and can be passed through a noise filter to remove external noises. Significant murmurs and rhythmic Lub and Dub sounds can be filtered from the ADC data using digital filters so that the Lub and Dub signals can be used for the heart rate calculation, Figure 7.

Figure 7: Phonocardiograph using a PSoC System on Chip architecture

 References

1.  AN62651 - PSoC® 3/5 - Blood Pressure Monitor

2.     AN2284Sensing - Low-Cost EKG Pulsometer

3.     AN2158  Sensing - Optical PulsOmeter with PSoC


About the author

Sanjeev  Kumar has  a  bachelor’s  degree  in Electronics  and  Communication  from the  College  of  Engineering,  Guindy, Chennai, India. He currently works on PSoC-based applications at Cypress Semiconductor. Previously, he designed medical electronics equipment at HD medical Services Ltd.





prabhakar_deosthali

4/18/2011 1:08 AM EDT

A very informative article explaining in the layman's terms the various methods of measuring pulse rate. Would be interested to know how PSoc configurable IC is more advantageous in implementing solutions for such applications as against the general purpose micro controllers.

Sign in to Reply



jigish.shukla1

4/18/2011 9:19 AM EDT

I am a PSoC user. I like the product because it was given to me free at ESC Boston in 08'. It's pretty cool to do small projects. I just have a question about your figure 5. Two signals go into your ADC, but nothing seems to be coming out. I dun't understand that. What are you trying to convey?




-Jigish Shukla
www.knownfo.com

Sign in to Reply



sanjeev.kumar_#13

4/19/2011 1:12 PM EDT

Jigish,
The output of ADC is used to determine heart rate.This is just an overview so i cannot cover much details ,kindly refer reference one for more details.

-Sanjeev

Sign in to Reply



kendallcp

4/26/2011 2:51 AM EDT

Just to add my $0.02 worth to my colleague Sanjeev's article, the new PSoC3 devices have a lot going for them in physiological monitoring applications - highly configurable analog stuff including a best-in-class ADC, easily programmed custom digital logic, great signal processing capabilities and solid easy-to-use support for Apple devices. Really simplifies the design of these things!

Sign in to Reply



PIPPOLINA

4/27/2011 4:16 AM EDT

an aditional connection to the 2 or more electrodes that the article describes must be set in order to ground the patient to earth in ECG devices. Even if it is a so called "wireless" one.
M.Cappiello in name of INDESmed

Sign in to Reply



INDESmed

5/15/2011 11:12 AM EDT

actually, nowadays ecg devices have a RF transmitter box to fit in the patien arm.
calamari.
INDESmed research and development dep.

Sign in to Reply



http://www.lulu.com/spotlight/poconoarmchairreview

5/15/2011 5:32 PM EDT

The link to reference number 3 doesn't seem to work (at least not for me). The first two links work.

Nice article. I wished that the figures were larger when I first read this (I know I can zoom the page or copy the image and zoom it then, but I didn't want to stop reading). Then, I saw that the first reference had a number of the illustrations there in PDF, many of which were already large enough for me to read easily without zooming.

Now, instead of just pulse, how about cheap waveform analysis "for information only and not to treat or diagnose any disease," as they say.

Sign in to Reply



David Ashton

5/15/2011 7:03 PM EDT

If you put AN2158 into the Cypress Search Bar it sends you to

http://www.cypress.com/?rID=2795


Which advises you that

The document AN2158 - PSoC® 1 Optical PulsOmeter with PSoC is currently being reviewed and updated.

Please contact us here to request a copy of this document.

Everything in our facvour is against us...

Sign in to Reply



Jan Manolas

11/22/2011 10:32 AM EST

NOVEL STRESS TEST using Phono- and Pressocardiography (pulse-pressure recording over the left ventricular beat) with short isometric exercise (Presso Test). There are a lot of published data and an experience wuith more than 8.000 patients. Based on exact criteria of diastolic abnormalities, one can screen patients with subclinical myocardial diseases, esp. Coronary artery disease in daily practice (www.presso-test.com). We should explore further this useful sensitive diagnostic tool and develop more devices from the existing phono devices -even handheld and ipad!- by filtering or including a starin gage transducer.

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)