Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]

Build your own optical heart-rate sensor



W. Stephen Woodward  |   ED Online ID #6343  |   December 15, 1997

Article Rating:

Plenty of noninvasive methods exist for electronically sensing the human heartbeat. The job can be done acoustically (stethoscope or Doppler), mechanically (sphygmomanometer), electrically (EKG), and optically. One handy optical technique presented here exploits the fact that tiny subcutaneous blood vessels (capillaries) in any patch of skin (fingertip, ear lobe, etc.) furnished with a good blood supply, alternately expand and contract in time with the heartbeat. An ordinary infrared LED/phototransistor pair can sense this rhythmic change as small but detectable variations in skin contrast (Fig. 1, upper half).

When gently held against the skin (too much pressure will flatten the surface capillaries and suppress the pulsation effect), some of the radiation from D1 reflects back into Q1. Q1’s photocurrent produces an ac signal across Q2 and Q3 of ≈500-µV p-p for every 1% change in skin reflectance. This logarithmic relationship is constant over many orders of magnitude of photocurrent. Consequently, reliable circuit operation is possible despite wide variations in skin contrast and light level. A1 and the surrounding discrete components comprise a high-gain adaptive filter that rejects ambient optical and electrical noise (mostly 60-Hz pickup) and presents a cleaned-up signal to comparator A2 so that it can extract a digital pulse-rate signal.

A2’s TTL/CMOS-compatible output is suitable for direct input to a digital period-measurement circuit, and for such applications, that’s all that’s needed. But for some simple heartrate display situations, an analog representation of pulse rate is convenient. So the lower half of Figure 1 illustrates an unusual, “zero-ripple,” frequency-to-voltage converter (FVC) uniquely optimized for human pulserate measurement.

Most FVCs are characterized by an unavoidable trade-off between response time and output ripple. Usually, in order to have an acceptable output ripple of the order of a few percent, the settling time of the converter must be at least ten periods of the lowest expected input frequency. Normal human hearts usually beat at rates within the 4:1 range of 50 to 200 beats per minute (bpm) ≈0.83 Hz to ≈3.3 Hz. A conventional frequency-to-voltage converter (FVC) would therefore need an unpleasantly long ( >10 second) output settling time. Some converters avoid this limitation but tend to be complex (Electronic Design, Feb. 21, 1994, p. 115).

The relatively simple “instant-settling” FVC in Figure 1 employs a period-to-rate approximation trick that works well in this application. To understand the idea, consider S1, which is arranged to alternately switch C7 between ground and A3’s summing point. When a rising edge from A2 at S1 pin 9 connects C7 to A3 and C2, the resulting transfer of charge into C2 causes A3’s output to slew positive until clamped by Q6. Adjusting R3 trims the clamp voltage and thereby sets full-scale calibration for the circuit.

C2 immediately begins to discharge back toward zero, but it doesn’t do so linearly. Instead, R6, R7, and Q7 synthesize a composite exponential curve V3 (Fig. 2) that, from 285 (210 bpm) to 1250 ms (48 bpm), is a good approximation (within 5%) of the reciprocal relationship between pulse period and pulse rate. Thus, each time the digital signal from A2 returns high, V3 will equal the reciprocal of the time elapsed since the previous transition and, therefore, the actual instantaneous heart rate. S2, S3, and C1 then transfer V3 to sample/hold A4 for continuous output as V4 = 10 mV/bpm. If C1 = C4, only one charge transfer is needed for instant convergence.

However, normal hearts have significant beat-to-beat aperiodicity that sometimes causes V3 to jump around quite a bit. If desired, choose C1 < C4 to provide a degree of signal averaging and thus smooth this effect out. Q8 provides Vbe and temperature compensation for the Q6 and Q7 breakpoint voltages. Thus, these transistors should be thermally coupled for good tracking. Notice that with an appropriate change of time constants, this circuit also has general potential as an optical tachometer for other difficult low-contrast applications.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (184 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (169 views today)
    3) Adjustment-Free Fan Controller For Under $1
    (114 views today)
    4) Science Fiction Meets Science Fact In Today's Robot Research
    (110 views today)
    5) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (108 views today)
    ALL TOP 20







    Reader Comments

    I'd like to build a project like this too, for a personal calming device i've been dreaming up. Would you be available for a bit of consultation, or direct me to who/where i could buy ione of these working heartrate monitor circuits? Thanks!

    Anonymous -June 25, 2009   (Article Rating: )

    Rating Only

    Rating Only -June 03, 2009   (Article Rating: )

    Hi there, great article, i need to create a project like this for school I am thinking of using/modifying yours. Can you please re post the figures or email them to me because i can't see it quite well. Thanks a lot and keep up the great work! Janos

    Anonymous -June 03, 2009

    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources