Skip to main content
IEEE Journal of Translational Engineering in Health and Medicine logoLink to IEEE Journal of Translational Engineering in Health and Medicine
. 2014 May 30;2:2800111. doi: 10.1109/JTEHM.2014.2327612

Effective CPR Procedure With Real Time Evaluation and Feedback Using Smartphones

Neeraj K Gupta 1,, Vishnu Dantu 2, Ram Dantu 1
PMCID: PMC4861545  PMID: 27170885

Abstract

Timely cardio pulmonary resuscitation (CPR) can mean the difference between life and death. A trained person may not be available at emergency sites to give CPR. Normally, a 9-1-1 operator gives verbal instructions over the phone to a person giving CPR. In this paper, we discuss the use of smartphones to assist in administering CPR more efficiently and accurately. The two important CPR parameters are the frequency and depth of compressions. In this paper, we used smartphones to calculate these factors and to give real-time guidance to improve CPR. In addition, we used an application to measure oxygen saturation in blood. If blood oxygen saturation falls below an acceptable threshold, the person giving CPR can be asked to do mouth-to-mouth breathing. The 9-1-1 operator receives this information real time and can further guide the person giving CPR. Our experiments show accuracy >90% for compression frequency, depth, and oxygen saturation.

Keywords: CPR, oxygen saturation, frequency of compression, depth of compression, smartphones


CPR and Its Evaluation. The compression frequency, depth and the oxygen saturation levels are reported to the 9-1-1 operator. The person giving CPR has a phone tied to her hands, as shown in the picture below the arrow. A smartphone is also placed near the hand of the person receiving the CPR with finger on the camera lens as shown in the second picture below the arrow.

graphic file with name jtehm-gagraphic-2327612.jpg

I. Introduction

Cardio Pulmonary Resuscitation (CPR) is an emergency procedure performed on people under cardiac arrest and on people who stop breathing due to reasons such as drowning [1]. CPR's main benefit is that it maintains blood flow, which prevents tissue and brain damage. The procedure involves creating artificial blood circulation by applying rhythmic pressure to a person's chest. The blood then carries oxygen to body organs.

References to resuscitation attempts can be found in ancient texts that date back thousands of years [2], but the first known attempts at resuscitation in modern times occurred in the 18th century. Practitioners, then, used various techniques to resuscitate a person who was unconscious or not breathing. These included “blowing air” into the mouth, massaging the chest, tickling the throat, or applying manual pressure to the abdomen [3][6]. These methods were most effective when used for drowning victims. Over the years, practitioners refined the techniques, and until 1950s, the accepted resuscitation method was applying back pressure and arm lifting [4]. James Elam developed the currently used CPR method in 1954 [7]. He along with Dr. Peter Safar demonstrated the superiority of their CPR method to earlier methods. Their method used chest compressions in combination with periodic mouth-to-mouth breathing. Latest guidelines from the American Heart Association have modified the Elam and Safar CPR approach; the AHA recommends using Continuous Chest Compression (CCR) because this approach works better than periodically stopping compressions for mouth-to-mouth breathing [1], [8][11].

The first organized attempt to make citizens a part of the emergency procedure in cases of cardiac arrest was made in Seattle in March of 1970 [12], [13]. Fire department personnel were trained in CPR so that they could perform it on the victim before paramedics arrived to attempt defibrillation. The data gathered from this exercise proved that when CPR was started within 2–3 minutes of the event, survival chances increased. In 1972 the project was expanded to train over 100,000 people [14]. Over the years, community-based CPR training of general public has expanded across the United States. In 1981, Washington State started a program to give telephone instructions for CPR [15], [16]. Emergency professionals learn to provide CPR instructions to the callers before the paramedics arrived. This increased the rate of bystander-provided CPR by over 50%.

A. Effective CPR

Effective CPR consists of the following procedure [1], [2]:

  • Lay the person flat on his back.

  • Place your hand flat on the person's upper chest between the nipples. For infants only two fingers are used - the middle finger and the index finger. For adults only, place your second hand above the first hand (for children only one hand is used).

  • Start applying pressure to compress the chest.

  • The recommended rate of chest compressions is about 100 per minute.

The depth of chest compression is about 2-2.5 inches for adults, about 1-1.5 inches for children, and about 1/3 inch for infants. Original AHA guidelines emphasize A-B-C as a CPR guideline. In the acronym, A stands for airways, meaning that the person giving CPR needs to make sure that the airways are open; B stands for Breathing, meaning that the person giving CPR does mouth-to-mouth breathing; and C stands for Chest Compressions. In traditional methods, periodic mouth-to-mouth breathing is also done to replenish oxygen supply, but newer guidelines suggest that continued compression is more important. The acronym has been modified to C-A-B. Consequently, mouth-to-mouth breathing has now become the third, optional, portion of CPR [1], [2]. The primary reason for the change is that most bystanders or paramedics hesitate to use mouth-to-mouth breathing with unknown people because mouth-to-mouth breathing may cause spread of infectious diseases [17][20]. Apart from concerns over infections, there has also been discussion on how often to give mouth to mouth breathing. Normally there is enough oxygen in the blood stream to only do continuous chest compressions. Breathing is needed only if the oxygen saturation in the blood stream falls. Since an oximeter may not be available at that moment, there is no way to determine the oxygen level; therefore, it is difficult to determine whether mouth-to-mouth breathing is required. Making mouth-to-mouth breathing optional ensures that chest compression begins within the critical survival window.

Experts are also debating the need to give mouth-to-mouth breathing in cases where the blood oxygen saturation level falls. A person's Blood Oxygen Saturation Level (BOS) indicates how efficiently a body's blood cells retain oxygen. Cardiopulmonary Resuscitation is performed to force the movement of oxygenated blood through the circulatory system and prevent the damage of vital organs in the body. The level is measured by analyzing the ratio between the amount of oxygenated hemoglobin and the total amount of hemoglobin present. The ideal ratio ranges from 95% to 100%. Among other things, BOS level ranges can help to determine a person's risk of lung disease and tissue death. This paper, however, focuses on the BOS level's ability to determine the Cardiopulmonary Resuscitation's efficiency. With the knowledge of a victim's blood oxygen saturation level, the decision to give mouth-to-mouth breathing may be necessary to keep oxygenation at a healthy level.

B. Use of Technology for Effective CPR

Over the years, awareness amongst the general public that CPR can be a lifesaving procedure has increased. There is a growing use of technology that aids people in performing CPR. Several devices provide CPR training. These devices improve the quality of CPR by providing feedback on proper placement of hands on chest and the correct frequency and depth of compressions [21][23]. Mechanical devices which give accurate frequency and depth of chest compression provide automatic CPR. Studies have shown that these automated CPR devices improve the survivability of patients who need out-of-hospital CPR [24]. During an emergency it is likely that a person trained in CPR may not be available. In such situations 9-1-1 operators help the caller to administer CPR by giving instructions over a phone. In such instances, a readily available technology would be useful in ensuring that people untrained could deliver CPR properly. Recently smartphone applications have provided video instructions on how to give CPR [25]. If the application is not available, a 9-1-1 operator can help in downloading that application. However, having to download the application and then watch the video seriously reduces the window of survivability for the injured person. Alternatively, there exist devices that give real-time feedback on the quality of CPR [26]. This paper reports on such a real-time feedback application.

II. Motivation

During an emergency situation, it is highly likely that persons trained in CPR are unavailable. Even though devices can provide automatic CPR, these devices are highly unlikely to be accessible at the time of need. In such cases, an untrained person will need to administer CPR. In these situations, 9-1-1 operators provide CPR instructions over a phone. However, the success of such an approach depends upon the emotional and physical capabilities of the person actually administering the CPR. With newer technology, the operator may even attempt to send video instructions, which may assist in improving the CPR given. However, again, the 9-1-1 operator may not have all the information necessary to determine whether the CPR is being done efficiently and helping the injured person.

Currently, 9-1-1 operators cannot evaluate the results of CPR remotely and, in fact, there is no proven method to evaluate CPR effectiveness even when a trained person is giving the CPR. A recent report from American Heart Association strongly recommends that methods and technology should be developed to evaluate the quality metrics of CPR [37]. Some of the highlights of their recommendations include the use of at least 1 modality of monitoring CPR performance, I.e. the compression depth and the frequency; use at least one modality to monitor patient's physiological response to resuscitative efforts; and continually adjust resuscitative efforts based on the patient's physiological response [37]. In this paper, we present a method to evaluate CPR performance in real-time without the need of special devices. We also show that many of the recommendations can be met by using the methods we propose. Using the sensors in a smartphone, such as an accelerometer, this paper describes an application that can evaluate and guide a person in giving effective CPR while providing timely feedback to the 9-1-1 operator. Figure 1 depicts a flow chart of a CPR evaluation system.

Figure 1.

Figure 1.

Flow Chart of a CPR Evaluation System. The smartphone's sensors provide feedback about chest compression frequency and depth, and about blood oxygen saturation levels.

A smartphone controller (box 1) holds an algorithm to evaluate data from sensors (box 3). The system (box 2) consists of the affected person and the person giving the CPR. A feedback loop to the System (CPR giver) provides corrective action.

As mentioned in prior sections, continuous chest compressions have been emphasized over cardiopulmonary resuscitation as the most critical CPR procedure to perform in an emergency. That said, mouth-to-mouth breathing remains a viable option in certain cases, especially when trained personnel are present. We present a smartphone application which measurers the blood's oxygen saturation without specialized equipment. In conjunction, one smartphone can be used by the person giving the CPR where it measures the frequency and depth of compressions. A second smartphone can then be used to measure the oxygen saturation level. The data from these smartphones is continuously reported to the 9-1-1 operator who can use the information to guide the CPR giver. A patent has been filed by one of the authors for devices that can measure the vital signs using sensors of the smartphones [32]. Figure 2 summarizes how CPR could be enhanced with these devices.

Figure 2.

Figure 2.

CPR and Its Evaluation. The compression frequency, depth and the oxygen saturation levels are reported to the 9-1-1 operator. The person giving CPR has a phone tied to her hands, as shown in the picture below the arrow. A smartphone is also placed near the hand of the person receiving the CPR with finger on the camera lens as shown in the second picture below the arrow.

A. Issues and Source of Errors

Calculating depth using an accelerometer does not present a trivial task. It involves integrating acceleration readings to compute velocity and further integration of the calculated velocity to find the displacement or distance of movement. This error-prone process requires a sophisticated algorithm to determine the displacement. Several sources of error may arise in this process:

  • Errors inherent in the accelerometer or caused by noise from the electronic signal.

  • External errors—errors caused by force applied to the accelerometer such as lateral movements of the hands during CPR or movement in a vehicle when a patient is being transported while receiving CPR).

  • Error due to drift: these errors are introduced during the compression of the chest. For example, the chest may not fully recover to its normal position before the next compression is started. This drift results in the device reporting an incorrect starting position of the compression.

Unfortunately the process of double-integration on these readings compounds these accelerometer reading errors—even a small error can produce large variation in calculated displacement.

Measuring blood oxygenation levels using a smartphone is even trickier because the method has to be non-invasive, should not require additional devices, and should be simple and quick for anyone to use, even if not a health professional.

1). Methodology for Measurement

This section discusses the methods to measure the frequency and depth of chest compressions and the oxygen saturation levels using smartphones. These three figures can guide persons administering CPR, even when they lack CPR training.

Frequency of compressions: An accelerometer measures acceleration of movement in the x, y, and z axes. When people lie on their backs, chest compressions are in the direction of the Z axis. So, each upward movement is considered to be negative acceleration; each downward movement is considered to be positive acceleration. A complete up and down movement counts as one compression. We can, therefore, calculate the frequency of compressions as up-down movements.

Depth of compressions: The compression depth can be calculated using the acceleration measurement. The accelerator sends measurements to the smartphone's processor every few milliseconds. The processor, in turn, calculates the compression depth. Travers, et al. offers a basic theoretical framework for measuring distance (depth) from acceleration [2]. Their straight-forward approach is to:

  • 1)
    Calculate velocity from acceleration as follows: Given acceleration (Inline graphic and a period of time (Inline graphic, it is possible to calculate the change in velocity during the relevant time period. If the original velocity is available, the change in velocity at the end of the time period can be calculated using the equation:
    graphic file with name M3.gif
    Where Inline graphicv is the change in velocity during time Inline graphic. If the velocity at the start of the time 0 is Inline graphic, then velocity at time t is:
    graphic file with name M7.gif
  • 2)
    Calculate the distance as follows:
    graphic file with name M8.gif
    Where Inline graphic is the change in distance, Inline graphic is the velocity at time Inline graphic and Inline graphic is the velocity at the time Inline graphic.
    If Inline graphic is the distance at time 0, the distance at the time Inline graphic is:
    graphic file with name M16.gif

Unfortunately, these calculations assume a straight-line motion, which is not the case for CPR. CPR measurements, instead, resemble sine curves. Consequently, we require other methods to calculate displacement. More importantly, we need to calculate displacement in real-time. This means we need to find velocity and displacement while the accelerometer readings are still being logged, and so we need to use numerical methods that allow for integration on data readings as they are logged. One method, trapezoidal rule, offers an approximation technique for calculating the integration.

The existing literature on calculating displacement from accelerometer readings is based on devices that are dedicated to CPR compressions. Dedicated devices can be calibrated accordingly. In most emergency situations special devices may not be easily accessible, but a smartphone with an accelerometer is more likely to be available. Our project assumed that an untrained person administers the CPR and does not have access to such dedicated devices. We were unable to collect experimental data when CPR is performed on actual person. For obvious reasons it is not feasible to perform CPR on healthy people. We could collect data in CPR classes which use manikins that simulated chest compressions. For our experiments, we collected data by placing the smartphone in the middle of the chest.

Blood Oxygen Saturation level: We determined Blood Oxygen Saturation Levels using the camera lens of the smartphone. Pulse oximeters measure the visible and infra-red spectrum of the oxy-hemoglobin and de-oxy hemoglobin, respectively. A pulse oximeter works by exploiting particular properties of light. When light passes through a substance (such as blood), the substance absorbs a certain amount of light. The amount of absorbed light depends on the sample's concentration, the sample's absorbance capacity, and the light's path length. We calculated the BOS level using Beer-Lambert's law:

1).

Where, Inline graphic is absorption; Inline graphic is molar absorptivity of the sample, Inline graphic is concentration of the sample, and Inline graphic is path length.

Oxy-hemoglobin (HbO2) and deoxy-hemoglobin (Hb) absorb light at different wavelengths. Oxy-hemoglobin (HbO2) absorbs more infra-red light than deoxy-hemoglobin (Hb); Hb absorbs more red light. The color red is in the spectrum 660nm. The infrared spectrum has a wavelength of 820nm-950nm. Oxygen saturation is calculated using the following relation:

1).

III. Experiments and Results

A. CPR Experiments

We conducted several experiments to collect data. During each data collection, we encountered problems. that required resolution. In this section we discuss issues we encountered during data collection and the steps we took to resolve them.

One of the first problems resolved concerned placement of the smartphone on the person receiving CPR. CPR cannot be performed if the phone lies directly on the chest. Such a placement can be extremely uncomfortable and can cause injury if the smartphone is pressed against the chest during CPR. Placing the smartphone between the palms of the person giving CPR is also not feasible. The screen may crack under pressure. Additionally, this placement is uncomfortable for the person giving the CPR. The ideal solution was to place the phone above the hands of the person giving the CPR (see Figure 2). In these experiments, we tied the smartphone to the hands so that it did not fall off. This can be done by any piece of cloth such as a shirt or undershirt.

Another issue that needed to be resolved was which type of manikin to use. There are two kinds of manikins used for training-a soft-chest (sponge) manikin and a hard-chest manikin. Figure 3 shows the accelerometer plot for a student performing CPR on a soft-chest manikin; Figure 4 shows a similar plot for an instructor performing CPR on a soft-chest Manikin. Figure 5 shows the same instructor doing CPR on a hard-surface manikin. It may be observed that the best results were from the instructor doing the CPR on a hard-surface manikin. We used a hard Manikin to test our algorithm.

Figure 3.

Figure 3.

Accelerometer Readings Plot for a Student in CPR Training. Compressions are not uniform over time. Depth is inconsistent over time.

Figure 4.

Figure 4.

Accelerometer Readings for an Instructor Doing CPR Using a Sponge Manikin. The Compression Frequency and Depth are not uniform. Compare this with graph of Hard Manikin.

Figure 5.

Figure 5.

Accelerometer Readings for Instructor Doing CPR on Hard Manikin. Compressions Frequency and Depth are uniform over time.

B. Algorithm for Calculating Frequency and Depth of Compressions

Calculating the frequency of CPR compressions can be done with an accuracy of greater than 95%. When the accelerometer moves towards gravity, the acceleration is considered positive and when it moves against the gravity, it is considered as the negative direction. We can count the number of times the accelerometer readings show a change in the sign of magnitude from positive to negative number.

However, calculating depth of compression is subject to errors from several sources, and so our algorithm had to be fine-tuned to reduce the influence of such errors on our results. In this section we document efforts to improve the accuracy of calculation of depth of CPR compressions. When we used a simple method of double integration to calculate the compression depth (see Figure 6), the depth of compression varied up to 40 cm. The method needed correction to more accurately measure compression depth.

Figure 6.

Figure 6.

Calculation of CPR Compression Depth Using Simple Double Integration without Using our Algorithm. Calculated depth is out of range. Errors over time accumulate.

The first issue to resolve is the granularity of accelerometer measurements. The integration function uses the magnitude of acceleration and velocity over the time period between two successive readings. So, if the time between two successive readings was large, the algorithm calculated too large a displacement value. We implemented two major changes in the basic algorithm to calculate the depth. The first change used the fact that CPR involves restricted and repeated movements in a vertical direction.

As mentioned earlier several sources can cause errors in displacement measurement. We found even a minor error in the acceleration magnitude can result in a large error in displacement measurements. We modified our algorithm to calculate a rolling average after a number of accelerometer readings were logged.

Finally, by using directional information, we have reduced the errors. Figure 7 shows a plot of the acceleration magnitude and the corresponding velocity and the calculated distance. The bold dots show the points where velocity is reset to zero. This solution localized errors of magnitude to within one compression, which provided further correction to errors that build over time. Particularly, this adjustment to our algorithm reduced error caused by drift.

Figure 7.

Figure 7.

Acceleration, Velocity and Distance using our Algorithm. Dots indicate points where velocity is reset to zero. The y-axis is m/sInline graphic for Acceleration, dm/s for Velocity and cm for distance.

C. Accuracy of the Distance Calculation

In this section we describe the method used to determine the accuracy of distance calculations. The experimental setup consists of the following steps:

  • Write an android application to calculate the CPR depth from the smartphone's accelerometer.

  • Use a commercially-available manikin designed for CPR training to collect data. The force required to press the manikin's chest must match the actual force required to press a human's chest during a real CPR.

  • Use a Mobotix camera to record CPR compressions. The professional security Mobotix camera allows us to study video frame by frame and determine actual depth of compression.

  • Compare the calculated CPR depth for each compression with the actual movement observed on video.

Figure 8 shows the manikin used in our experiments. We overlaid a scale on the image to allow us to calibrate the actual movement during CPR as compared to the observed movement on the video frame. As CPR was performed, the smartphone recorded the calculated depth in a file. The Mobotix camera recorded the CPR process in a file. After recording 40 seconds of CPR, the video file was played frame by frame and the actual depth of CPR was measured. Our algorithm then compared the two to determine the difference between the actual depth of compression (as observed on the video frame) and the depth calculated by our application.

Figure 8.

Figure 8.

Mannequin for CPR. Lines of scale are superimposed to calibrate movement as the manikin chest is compressed.

1). Results

In this section we present our experimental results. We discuss our application's accuracy of depth calculation. The application prompts the CPR giver to increase or decrease the depth of chest compression to meet the 2-2.5” depth requirement. We, also, discuss the accuracy with which our application provides alerts. Similarly, our application gives a prompt when the frequency of compressions is not within a range of 90–100.

We conducted experiments using 40 volunteers. Each volunteer performed CPR for about 30 seconds. The number of compressions volunteers performed during these 30 seconds ranged from 30 to 50. Figure 9 shows a scatter plot of each compression for one subject. It shows the accuracy of the depth calculation done by our application as compared to the actual depth as observed in the Mobotix video. Our application's accuracy ranged from a low of 57% to a high of 98%. The other 39 subjects had similar ranges of accuracy.

Figure 9.

Figure 9.

Accuracy of Each Compression as Calculated by Our Application for One Volunteer. The range is from a low of 57% to a high of 98%.

D. Accuracy and Frequency of Alerts

In the previous section we discussed the accuracy of our application to determine the depth of compression. The focus was on how accurately the application can calculate the depth as compared to the actual depth. In this section we focus on the frequency and accuracy of giving alerts.

As has been noted earlier, the person administering the CPR must accurately judge whether the chest has been compressed to the recommended depth before releasing the chest to return to normal. Our application gives an alert when the depth of the compression falls outside an acceptable standard range. One of the questions we had to answer was “When should the application provide an alert?” One of the factors we considered was the accuracy of our application's calculation. If the accuracy of a particular calculated depth of compression is low, then the decision to provide an alert by the application may be inaccurate. Figure 10 shows a bar plot comparing the actual compression depth and the calculated compression depth for the same volunteer as in Figure 9. It may be observed that the calculated depth value reaches near 2” inch value for many compressions, but the actual depth never reaches the 2” inch value. So, for these compressions, the algorithm will not give an alert, even though it should have given one. We address this issue by averaging the calculated depth over a period of time. Some of the calculated errors have a positive magnitude and some have a negative magnitude. So an average provides a better accuracy. Table-1 shows the accuracy of average over different time durations ranging from 1 second to 10 seconds.

Figure 10.

Figure 10.

Comparison of Calculated Compression Depth and the Actual Compressions Depth for an Individual.

TABLE 1.

TABLE 1

Accuracy of alerts over time. the rows show accuracy for alerts given for each compression, and for each second between 1 and 10 seconds. Frequency of alerts shows the time period analyzed. Total alerts shows the total number of alerts that occur during the specified time period. Accuracy Range for Alerts–% shows, in 5% increments, the number alerts with compression accuracy. For example, when an alert is given every second, 6 alerts of the 20 alerts have a compression accuracy of less than 85%. However, when an alert is given every 5 seconds, all the alerts have compression accuracy greater than 85%.

A second factor is alert frequency. It is not feasible to alert for every compression. Too frequent alerts can overwhelm the person giving CPR. A person requires a few seconds to understand and respond to an alert. By the time the person reacts, another alert may already have sounded. This leads to confusion and the person may not be able to adjust their compressions accurately and in a timely manner.

We did an analysis to decide how frequently the alert should be given (Table 1). When our application gave an alert for each compression, out of a total of 38 alerts (for 38 compressions in that session), 21 alerts were less than 90% accurate. This means that for 21 alerts the accuracy of calculated depth as compared to the actual depth was less than 90%. The total of 38 alerts assumes that we give an alert for each compression (assuming no compression is going to be 100% accurate). When our application gave an alert every second, we averaged the calculated depth of all compressions within each second. As Table-1 indicates, the total number of alerts for one second will be 20. Of these 9 alerts will be less than 90% accurate. When our application gave an alert every 6 seconds, then 4 alerts were more than 90% accurate. We continued this analysis through 10 seconds. At 10 seconds, our application gave two alerts, each 100% accurate. We conclude that the accuracy of alerts increases when an alert is given every few seconds rather than for every compression. The accuracy improves because the errors with negative magnitude adjust the errors with positive magnitude with in the time period. So the overall accuracy improves. Within the Inline graphic second range, our application's accuracy is reasonable at more than 90%. But, our experiments suggest an alert every 6–7 seconds does not provide persons giving CPR enough time to adjust their CPR compression depth. Our experiments also suggest that an optimum time for giving alerts is every 10 seconds. However, we still need to decide the optimum time gap between alerts.

As explained, alerts provide feedback to a person giving CPR so that person can adjust the compression depth or frequency to fall within a prescribed range. Figure 11 shows a scatter plot of the compression depth for one subject. The duration of CPR session depicted in this plot was 120 seconds. The application issued alerts when the compression depth fell below 1.5” (Low Alert) or rose above 2.5” (High Alert). Initially, the compression depth was 1.4”. The application provided a Low Alert at 10 seconds and then, again, at 20 seconds. At 30 seconds, compression depth increased to 1.8” and the application gave another Low Alert. The compression depth then increased to more than 2” for a 30-second period, so no alerts were issued. At 80 seconds, the depth was greater than 2.5”, so our application provided another alert. We concluded that our application achieved its purpose of providing alerts to the CPR giver, which enabled the CPR giver to adjust to more effectively administer CPR.

Figure 11.

Figure 11.

Compression Depth Alerts. Low Compression alerts indicate compression depth should be increased. High Compression alerts indicate compression depth should be decreased.

Table 2 shows the overall compression depth accuracy of CPR sessions for all participants. The results show that the accuracy ranges from a low of 77% to a high of 99%. The average accuracy is 93.8%. But most readings are more than 90% accurate. Only 3 people had an accuracy of less than 90%.

TABLE 2.

TABLE 2

Accuracy of depth calculation for all 40 participants.

E. CPR in a Moving Vehicle

In certain situations, one may have to give CPR as the patient is being transported in a moving vehicle to the hospital. Several factors come into play in a moving vehicle that increases the difficulty of calculating the compression depth accurately when using a smartphone accelerometer. The first, a vehicle moving affects accelerometer readings. If shock absorbers are inadequate, an accelerometer records vehicle movements in the Z axis, skewing the Z axis motion of the chest compressions. Road condition presents another major factor that contributes to increased errors. Bumps in the road, lane changes, and traffic turns also affect readings. Traffic patterns also add to the randomness of readings. The vehicle may have to be slow at times and then accelerate as the traffic moves. It may have to stop at traffic lights and then accelerate. Even if we keep factors constant, such as using the same vehicle, driving on the same road and even driving at the same speed, randomness of a traffic pattern still produces different results each time the CPR is attempted.

We ran an experiment with extremely controlled conditions. We selected a smooth road with no bumps. The road had almost no traffic, required no turns for a few miles, and had no traffic lights. We, then, drove at a constant speed of 30 mph to minimize movements due to vehicle motion. The results of the experiments are shown in the Table 3. The high standard deviation indicates that there was large variation in compression depths. This was caused by driving conditions and the vibrations of the vehicle itself. However the frequency calculations were accurate.

TABLE 3.

TABLE 3

Results of CPR in a moving vehicle, showing the depth of compressions in inches.

F. Calculation of Oxygen Saturation of Blood

CPR's purpose is to circulate oxygen-carrying blood through the body. Should the injured person's Blood Oxygen Saturation Level drop precipitously, the person may suffer physical deterioration and even death. To reduce this risk, our algorithm must monitor the BOS levels while it is measuring compression frequency and depth. In this section we describe a procedure that uses smartphones to measure the BOS level using principles of optics [27][31]. While a person gives CPR, this information can assist in deciding whether to give breathing. Mouth-to-mouth breathing replenishes the oxygen in the blood stream. However, many prefer to avoid using the technique unless absolutely necessary because of possible exposure to infectious diseases. Our algorithm needed to provide a method for the 9-1-1 dispatcher or the person giving the CPR to determine whether mouth-to-mouth breathing was really necessary. To resolve this issue, we devised a process that makes use of the smartphone's optical capabilities. The surface of the injured person's fingertip (the area of analysis) is placed on the smartphone's camera lens. By taking a video, a beam of near-infrared light is passed through the finger. As the light passes through, the smartphone creates video of the area of analysis. The video is then analyzed to determine the RGB values (red green blue). RGB values of the refracted light in the blood are then analyzed for the scattering effect of near-infrared light. This scattering effect allows determination the BOS level. Two smartphones are used in this scenario. One smartphone guides the CPR process and the other smartphone calculates the BOS level. The two phones can simultaneously send information to the 9-1-1 operator. The protocol between the two phones was developed in our lab [33].

1). Validation of Low Oxygen Levels

After measuring the Oxygen saturation level under normal circumstance, we wanted to confirm that our system can detect reduced levels of oxygen in the blood. We used occlusion spectroscopy, the method of using over-systolic pressure to temporarily stop the flow of blood to the finger to collect data, (Figure 12). In our study, we temporarily cut off the blood flow in the root of the finger. This allowed us to measure blood flow in the upper layers of the finger. . Later when occlusion is removed, the oxygen saturation level reaches the normal value and our system can measure this return to the normal value. The occlusion experiment confirmed that we can indeed measure the depletion of oxygen saturation in the blood using the optical features of a smartphone. In fact, occlusion allowed us to obtain a set of data points instead of one data point. Occlusion is used in many studies to measure transient oxygen saturation [34][36]. We validated this data using a commercial device to measure oxygen saturation.

Figure 12.

Figure 12.

Occlusion Spectroscopy. The blood flow to the finger is decreased by applying pressure to it.

To establish standardization, we also required a method of dividing the intensity of the blood pulse (AC) by the intensity of the blood color (AD). We applied this to data to analyze both the intensity of green and of red values. The green AC/DC value was then divided by the red AC/DC value. This value corresponds to the percentage of blood oxygen saturation [28][30]. Figure 13 shows the oxygen saturation level as it drops to 50% after occlusion. The graph also shows that the oxygen saturation level recovers back to 100% after occlusion is removed.

Figure 13.

Figure 13.

Red Intensity of Occlusion. A drop in oxygen saturation level to about 50% occurs. Then the saturation level returns to 100% after occlusion is removed.

As time passes with occlusion, a decay of oxygen occurs. Through experimentation, we found that the rate of the decay of oxygen varies with each subject. While some subjects experienced a quick decrease of blood oxygen, other subjects experienced a slow decay. This decay for 5 subjects is shown in Figure 14.

Figure 14.

Figure 14.

Decay Rate of Oxygen for Five Subjects. The amount of oxygen within the blood in the finger dropped significantly for the first few seconds and then finally stabilized for each subject.

IV. Conclusion

The advantages of timely CPR have been well recognized in the medical community. There are programs in place to teach people how to administer effective CPR. But, in emergency situations, a trained person may not be available. Our application uses a smartphone to evaluate the CPR being given. The application can then provide feedback to the person administering CPR to improve its effectiveness. Existing applications available on smartphones simply furnish a short video tutorial on how to perform CPR. Our smartphone application prompts the CPR giver in real time on when and how to adjust their frequency and depth of chest compressions to meet CPR guidelines. Our experiments' results show that our smartphone application can be used to effectively administer CPR, even by people who have not been trained to give CPR [32]. In emergency situations, where a trained person may not be easily available and timing is crucial, these devices can mean the difference between life and death. Additionally, the devices' sensors can also help by continuing to provide vital information to paramedics as they rush a patient to a hospital. By measuring oxygen decay using the smartphone camera as occlusion is induced upon the finger, our application allows accurate determination of the blood oxygen saturation level. By using the ubiquitous smartphone, people performing cardiopulmonary resuscitation can also determine when the frequency and depth of their compressions enhance blood flow. For example, the oxygen saturation level may offer a better indicator of CPR effectiveness than the depth or frequency of compressions. This also improves the CPR procedure for the trained people. They can determine when to provide mouth-to-mouth breathing.

The method we have proposed and developed helps in meeting the latest recommendations of the America Heart Association. Our method helps in monitoring the CPR, it provides real time feedback to the person giving CPR and insures that the quality of CPR meets the guidelines [37].

For future work, additional experiments may improve the CPR depth calculations in a moving vehicle, in actual traffic and in uncontrolled conditions. Also future studies may help determine a more accurate time between alerts rather than the 10 seconds we used. The oxygen saturation evaluation also shows promise. It provides new and additional information for effective CPR administration.

Biographies

Neeraj K. Gupta has more than 25 years of software development experience in the telecom industry. He has been with premier research and development companies like Bell Labs, Naperville, IL, USA, and Alcatel, Richardson, TX. He has spent years consulting in Germany for Alcatel, Tenovis, and Dialogic Corporation, Renningan, Germany. During these years, he has designed and developed several telecom products for these companies.

He is currently pursuing the Ph.D. degree with the University of North Texas, Denton, TX, USA. His research focused on next generation 9-1-1 calls (emergency calls). Some of the topics covered included the use of mobile phones in remote medical diagnosis, and privacy and security issues involved during these calls. He received the degree in 2013. He has recently joined the University of Texas at Dallas, Dallas, TX, USA.

Vishnu Dantu is currently pursuing the degree with the Texas Academy of Math and Science, University of North Texas, Denton, TX, USA, a unique residential program for high-school students who are high achievers and interested in careers in mathematics and science. He was a recipient of the State-Level Duke TIP Award in the seventh grade and achieved 99 percentile in PSAT in the 10th grade. He recently received the Sherman-Barsanti Award for his research, which combines knowledge, creativity, and innovation. He has authored two papers and another two are under review. He is also a co-inventor of a patent-pending technology for noninvasively measuring blood glucose levels through a smart phone application.

Ram Dantu has 15 years of industrial experience in the networking industry, where he worked for Cisco Systems, Inc., San Jose, CA, USA, Nortel Networks, Montreal, QC, Canada, Alcatel, Murray Hill, NJ, USA, and Fujitsu, Tokyo, Japan, and was responsible for advanced technology products from concept to delivery. He is a Full Professor with the Department of Computer Science and Engineering, University of North Texas (UNT), Denton, TX, USA. In 2011, he was a Visiting Professor with the School of Engineering, Massachusetts Institute of Technology, Cambridge, MA, USA. He is the Founding Director of the Network Security Laboratory at UNT, the objective of which is to study the problems and issues related to next-generation networks. He is also the Director of the Center for Information and Computer Security at UNT.

Dr. Dantu's research includes security and safety in mobile applications in the health care and transportation sectors. In addition, he has been researching on the prevention of DoS and spam attacks in the VoIP networks. Prior to UNT, he was a Technology Director at Netrake Corporation, Plano, TX, USA, (a startup acquired by Audio Codes), where he was the Architect of the redundancy mechanism for VoIP firewalls. His additional experience includes being a Technical Director at IPMobile (a startup acquired by Cisco), where he was instrumental in the wireless/IP product concept, architecture, design, and delivery. In addition to more than 150 research papers, he has authored several requests for comments related to multiprotocol label switching, SS7 over IP, and routing. Due to his innovative work, Cisco and Alcatel were granted a total of 25 patents, and another 10 are pending. He has co-chaired three workshops on VoIP security. For the last two years, he has been organizing the workshop Security on the Move and In the Clouds at UNT.

Funding Statement

This work was supported by the National Science Foundation under Grant CNS-0751205 and Grant CNS-0821736.

References

  • [1].Field J. M., et al. , “Part 1: Executive summary 2010 american heart association guidelines for cardiopulmonary resuscitation and emergency cardiovascular care,” Circulation vol. 122, no. , pp. 640–656, 2010. [DOI] [PubMed] [Google Scholar]
  • [2].Travers A. H., et al. , “2010 american heart association guidelines for cardiopulmonary resuscitation and emergency cardiovascular care,” Circulation, vol. 122, pp. 676–684, Nov. 2010.20679545 [Google Scholar]
  • [3].Paraskos J. A., “History of CPR and the role of the national conference,” Ann. Emerg. Med., vol. 22, no. 2, pp. 275–280, Feb. 1993. [DOI] [PubMed] [Google Scholar]
  • [4].Ekmektzoglou K. A., et al. , “Cardiopulmonary resuscitation: A historical perspective leading up to the end of the 19th century,” Acta Med.-Hist. Adriatica, vol. 10, no. 1, pp. 83–100, 2012. [PubMed] [Google Scholar]
  • [5].Cooper J. A., Cooper J. D., and Cooper J. M., “Cardiopulmonary resuscitation: History, current practice, and future direction,” Circulation, vol. 114, pp. 2839–2849, Dec. 2006. [DOI] [PubMed] [Google Scholar]
  • [6].Thel M. C. and O'Connor C. M., “Cardiopulmonary resuscitation: Historical perspective to recent investigations,” Amer. Heart J., vol. 137, no. 1, pp. 39–48, Jan. 1999. [DOI] [PubMed] [Google Scholar]
  • [7].Thangam S., Weil M. H., and Rackow E. C., “Cardiopulmonary resuscitation: A historical review,” Acute Care, vol. 12, no. 2, pp. 63–94, 1986. [PubMed] [Google Scholar]
  • [8].Ristagno G., Tang W., and Weil M. H., “Cardiopulmonary resuscitation: From the beginning to the present day,” Critical Care Clin., vol. 25, no. 1, pp. 133–151, Jan. 2009. [DOI] [PubMed] [Google Scholar]
  • [9].Kern K. B., Hilwig R. W., Berg R. A., Sanders A. B., and Ewy G. A., “Importance of continuous chest compressions during cardiopulmonary resuscitation,” Circulation, vol. 105, pp. 645–649, Feb. 2002. [DOI] [PubMed] [Google Scholar]
  • [10].Ewy G. A., “Continuous-chest-compression cardiopulmonary resuscitation for cardiac arrest,” Circulation, vol. 116, pp. 2894–2896, 2007. [DOI] [PubMed] [Google Scholar]
  • [11].Ewy G. A. and Sanders A. B., “Continuous chest compression CPR preferred for primary cardiac arrest,” Resuscitation, vol. 81, no. 6, pp. 639–640, Jun. 2010. [DOI] [PubMed] [Google Scholar]
  • [12].Cobb L. A., Hallstrom A. P., Thompson R. G., Mandel L. P., and Copass M. K., “Community cardiopulmonary resuscitation,” Annu. Rev. Med., vol. 31, pp. 453–462, Feb. 1980. [DOI] [PubMed] [Google Scholar]
  • [13].Cummins R. O., Eisenberg M. S., Hallstrom A. P., and Litwin P. E., “Survival of out-of-hospital cardiac arrest with early initiation of cardiopulmonary resuscitation,” Amer. J. Emerg. Med., vol. 3, no. 2, pp. 114–119, Mar. 1985. [DOI] [PubMed] [Google Scholar]
  • [14].Cobbt L. A. and Hallstrom A. P., “Community-based cardiopulmonary resuscitation: What have we learned,” Ann. New York Acad. Sci., vol. 382, pp. 330–342, Mar. 1982. [DOI] [PubMed] [Google Scholar]
  • [15].Culley L. L., Clark J. J., Eisenberg M. S., and Larsen M. P., “Dispatcher-assisted telephone CPR: Common delays and time standards for delivery,” Ann. Emerg. Med., vol. 20, no. 4, pp. 362–366, Apr. 1991. [DOI] [PubMed] [Google Scholar]
  • [16].Eisenberg M. S., Hallstrom A. P., Carter W. B., Cummins R. O., Bergner L., and Pierce J., “Emergency CPR instruction via telephone,” Amer. J. Public Health, vol. 75, no. 1, pp. 47–50, Jan. 1985. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [17].Brenner B. E. and Kauffman J., “Reluctance of internists and medical nurses to perform mouth-to-mouth resuscitation,” Arch Intern Med., vol. 153, no. 15, pp. 1763–1769, Aug. 1993. [PubMed] [Google Scholar]
  • [18].Becker L. B., et al. , “A reappraisal of mouth-to-mouth ventilation during bystander-initiated cardiopulmonary resuscitation,” Circulation, vol. 96, no. 6, pp. 2102–2112, 1997. [DOI] [PubMed] [Google Scholar]
  • [19].Savastanoa S. and Vannib V., “Cardiopulmonary resuscitation in real life: The most frequent fears of lay rescuers,” Resuscitation, vol. 82, no. 5, pp. 568–571, May 2011. [DOI] [PubMed] [Google Scholar]
  • [20].Wenzela V., et al. , “The respiratory system during resuscitation: A review of the history, risk of infection during assisted ventilation, respiratory mechanics, and ventilation strategies for patients with an unprotected airway,” Resuscitation, vol. 49, no. 2, pp. 123–134, May 2001. [DOI] [PubMed] [Google Scholar]
  • [21].Yeunga J., Meeksc R., Edelsond D., Gaoa F., Soare J., and Perkins G. D., “The use of CPR feedback/prompt devices during training and CPR performance: A systematic review,” Resuscitation, vol. 80, no. 7, pp. 743–751, Jul. 2009. [DOI] [PubMed] [Google Scholar]
  • [22].Baubina M., Haidb C., Hamma P., and Gilly H., “Measuring forces and frequency during active compression decompression cardiopulmonary resuscitation: A device for training, research and real CPR,” Resuscitation, vol. 43, no. 1, pp. 17–24, Dec. 1999. [DOI] [PubMed] [Google Scholar]
  • [23].Krasteva V., Jekova I., and Didon J. P., “An audiovisual feedback device for compression depth, rate and complete chest recoil can improve the CPR performance of lay persons during self-training on a manikin,” Physiol. Meas., vol. 32, no. 6, p. 687, May 2011. [DOI] [PubMed] [Google Scholar]
  • [24].Jennings P. A., et al. , “An automated CPR device compared with standard chest compressions for out-of-hospital resuscitation,” BMC Emerg. Med., vol. 12, no. 1, p. 8, Jun. 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [25].Johnsen E. and Bolle S. R., “To see or not to see-better dispatcher-assisted CPR with video-calls? A qualitative study based on simulated trials,” Resuscitation, vol. 78, no. 3, pp. 320–326, Sep. 2008. [DOI] [PubMed] [Google Scholar]
  • [26].Gruber J., Stumpf D., Zapletal B., Neuhold S., and Fischer H., “Real-time feedback systems in CPR,” Trends Anesthesia Critical Care, vol. 2, no. 6, pp. 287–294, Dec. 2012. [Google Scholar]
  • [27].Selvaraj N., et al. , “A novel approach using timeŰfrequency analysis of pulse-oximeter data to detect progressive hypovolemia in spontaneously breathing healthy subjects,” IEEE Trans. Biomed. Eng., vol. 58, no. 8, pp. 2272–2279, Aug. 2011. [DOI] [PubMed] [Google Scholar]
  • [28].Mendelson Y., “Pulse oximetry: Theory and applications for noninvasive monitoring,” Clin. Chem., vol. 38, no. 9, pp. 1601–1607, Sep. 1992. [PubMed] [Google Scholar]
  • [29].Poh M.-Z., McDuff D. J., and Picard R. W., “Advancements in noncontact, multiparameter physiological measurements using a webcam,” IEEE Trans. Biomed. Eng., vol. 58, no. 1, pp. 7–11, Jan. 2011. [DOI] [PubMed] [Google Scholar]
  • [30].Verkruysse W., Svaasand L. O., and Nelson J. S., “Remote plethysmographic imaging using ambient light,” Opt. Exp., vol. 16, no. 26, pp. 21434–21445, Dec. 2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [31].Selvaraj N., Mendelson Y., Shelley K. H., Silverman D. G., and Chon K. H., “A computational approach for the detection of motion and noise artifacts in pulse oximetry data,” to be published. [Google Scholar]
  • [32].Dantu R., “911 services and vital signs measurements utilizing mobile phone sensors and applications,” U.S. Patent, Sep. 2010.
  • [33].Chandrasekaran V., Dantu R., Jonnada S., Thiyagaraja S., and Subbu K. P., “Cuffless differential blood pressure estimation using smart phones,” IEEE Trans. Biomed. Eng., vol. 60, no. 4, pp. 1080–1089, Apr. 2013. [DOI] [PubMed] [Google Scholar]
  • [34].Van Vo T., Hammer P. E., Hoimes M. L., Nadgir S., and Fantini S., “Mathematical model for the hemodynamic response to venous occlusion measured with near-infrared spectroscopy in the human forearm,” IEEE Trans. Biomed. Eng., vol. 54, no. 4, pp. 573–584, Apr. 2007. [DOI] [PubMed] [Google Scholar]
  • [35].Wang C.-Y., et al. , “Diffuse optical multipatch technique for tissue oxygenation monitoring: Clinical study in intensive care unit,” IEEE Trans. Biomed. Eng., vol. 59, no. 1, pp. 87–94, Jan. 2012. [DOI] [PubMed] [Google Scholar]
  • [36].Gómezl H., et al. , “Characterization of tissue oxygen saturation and the vascular occlusion test: Influence of measurement sites, probe sizes and deflation thresholds,” Critical Care, vol. 13, no. 5, p. S3, Nov. 2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [37].Meaney P. A., et al. , “CPR quality: Improving cardiac resuscitation outcomes both inside and outside the hospital: A consensus statement from the american heartassociation,” Circulation, vol. 128, pp. 417–435, Jun. 2013. [DOI] [PubMed] [Google Scholar]

Articles from IEEE Journal of Translational Engineering in Health and Medicine are provided here courtesy of Institute of Electrical and Electronics Engineers

RESOURCES