Photoplethysmography, or PPG, is an optical technique that detects changes in the volume of blood in tissue. The skin is lit and the light coming back out is measured: with each heartbeat, blood surges into the small arteries, absorbs a little more light, and the received signal dips slightly. The signal therefore rises and falls with the pulse. This is how the heart rate sensors in smartwatches and pulse oximeters work.
Discover FizziQ
How to measure it in class
A smartphone has everything needed: a light source, the flash, and a sensor, the camera. FizziQ’s colorimeter continuously measures the colour and lightness of the image, and can follow the small changes caused by the pulse.
Steps:
- In FizziQ’s settings, under Camera, turn on the LED for colorimetry option, which lights the flash during the measurement.
- Open the Colorimeter instrument and choose to follow the R intensity (red component), the G intensity (green component) or the lightness L.
- Rest the tip of your index finger on the rear camera lens, also covering the flash, without pressing hard: the image should turn an even red.
- Start recording and keep perfectly still for 15 to 20 seconds, with your hand resting on the table.
- Look at the graph: a small regular oscillation sits on top of an almost constant level. Each oscillation is one heartbeat.
- Count the number of dips N over a known time Δt and compute the heart rate HR = 60 × N / Δt.
- Compare with your pulse counted at the wrist for 30 s, then repeat while pressing harder on the lens and see how the signal changes.
If no oscillation appears, the usual causes are a moving finger, pressing too hard (which squeezes the blood out) or a saturated reading. Results vary from one phone model to another.
Scientific activities on this topic
Three activities measure heart rate in different ways: with light, with sound and with movement.
- Photoplethysmography of a finger: use the camera and flash to measure your heart rate
- Cardiac auscultation by mic: record heart sounds with a smartphone
- Heart rate by accelerometer: detect heartbeats from the movements of the chest
Learn more
The principle: blood absorbs light
The word comes from Greek: “plethysmography” means measuring a change in volume, and “photo” says it is done with light. Light entering the skin is partly absorbed and partly scattered in all directions by the tissue. Some of it comes back out and reaches the sensor. The main absorber is the haemoglobin in blood.
Each time the heart contracts, a pressure wave travels along the arteries and briefly widens the small arteries of the finger. The volume of blood in the lit area increases, so does the absorption, and less light reaches the sensor. Once the wave has passed, the volume returns to its resting value and the light level comes back up.
A steady part and a pulsing part
The measured signal has two components. The first is almost constant: it comes from light absorbed by skin, bone, tissue and venous blood, none of which change with the heartbeat. The second is the small oscillation due to arterial blood. It amounts to a few percent of the total signal at most, often less. This is why the measurement is so sensitive to movement: a slight shift of the finger changes the received light far more than the pulse does.
Each oscillation has a characteristic shape. The light level falls quickly during systole and recovers more slowly during diastole. On a good recording you can sometimes spot a small bump on the slow phase, the dicrotic wave. It is associated with the end of ejection and the closing of the aortic valve, at the time of the second heart sound, although at the finger it is also shaped by waves reflected back along the arteries.
Transmission or reflection
There are two set-ups. In transmission mode, the source and the sensor sit on opposite sides of the tissue: this is the clip of a pulse oximeter on a finger or earlobe. In reflection mode, they sit on the same side: this is the case for smartwatches, and also for a smartphone, whose flash and lens are side by side. Light from the flash enters the finger, scatters inside it, and part of it comes back out into the lens after passing through a few millimetres of tissue.
Why watches use green light and phones use red
Haemoglobin absorbs green light much more strongly than red light. Watches therefore use green LEDs, around 530 nm: green light does not penetrate deeply, but the pulsing of the vessels near the surface shows up with good contrast. With a phone’s white flash, the finger absorbs almost all the blue and much of the green, and it is the much less absorbed red light that comes back out in the largest amounts. The image looks red. The pulse can be read on the red component, the brightest, or on the green one, weaker but often better contrasted: depending on the study and the phone model, either can give the best signal.
What a smartphone cannot measure this way
A pulse oximeter estimates blood oxygen saturation by comparing the pulsing signals at two wavelengths, red around 660 nm and infrared around 940 nm, because oxygenated and deoxygenated haemoglobin absorb these two kinds of light differently. A phone camera does not have two calibrated light sources like these, so it cannot measure oxygen saturation reliably. It cannot measure blood pressure either.
FizziQ is a teaching tool, not a medical device. Measuring the pulse with the camera is a way to understand a physical principle and measure a period; it does not replace any medical instrument and cannot be used for diagnosis.
Formula
Heart rate follows from the number of oscillations counted over a known time:
HR = 60 × N / Δt
where:
- HR: heart rate (beats per minute)
- N: number of oscillations counted
- Δt: duration of the observation (s)
The attenuation of light by tissue is expressed as an absorbance, as in the Beer-Lambert law:
A = log₁₀(I₀ / I)
where:
- A: absorbance of the tissue crossed (dimensionless)
- I₀: incident light intensity
- I: light intensity reaching the sensor
The pulsing part of the signal is described by the perfusion index:
PI = 100 × I_AC / I_DC
where:
- PI: perfusion index (%)
- I_AC: peak-to-peak amplitude of the oscillation due to the pulse
- I_DC: mean value of the signal
Application examples
-
Over a 20 s recording you count 24 dips: HR = 60 × 24 / 20 = 72 bpm.
-
The red component swings between 200 and 203 on its 0 to 255 scale: the perfusion index is 100 × 3 / 201.5 ≈ 1.5 %, which shows how small the useful part of the signal is.
-
FizziQ’s colorimeter takes about 20 to 40 readings per second, far more than needed for a pulse of 1 to 3 beats per second.
-
Smartwatches combine photoplethysmography with an accelerometer: the accelerometer picks up wrist movements, which helps reject light changes that do not come from the heart.
-
The pulse wave travels along the aorta at about 6 m/s in a young adult, and around 10 m/s after the age of 60, once the arteries have stiffened, so it reaches the finger a fraction of a second after the heart contracts.
FAQ
Q: What does PPG stand for? A: Photoplethysmography, or photoplethysmogram for the recorded signal. The abbreviation is used in French as well.
Q: Why shouldn’t I press hard on the lens? A: Strong pressure squeezes the tiny vessels in the fingertip and pushes the blood out. The blood volume can no longer change with the pulse, and the oscillation weakens or disappears.
Q: Why is the signal weaker when my hands are cold? A: Cold narrows the blood vessels in the skin to limit heat loss. Less blood reaches the fingertips and the pulsing part of the signal shrinks. Warming your hands before measuring helps a lot.
Q: Can the camera measure blood oxygen? A: Not reliably. You need to compare absorption at two well-defined wavelengths, red and infrared, which a pulse oximeter does with two dedicated LEDs and a phone’s white flash cannot.
Q: Do photoplethysmography and an electrocardiogram measure the same thing? A: No. An electrocardiogram records the electrical activity of the heart, photoplethysmography the arrival of blood in a tissue. Both give the same heart rate, but the optical signal is delayed and says nothing about the heart’s electrical activity.
Related concepts
Heart Sounds - Human Physiology - Colorimeter - Absorbance - Beer-Lambert Law - Period - Measurement Noise - Sampling - Wavelength