Abstract:
A device and method for determining pulses in a modulated signal is disclosed. The modulated signal is processed and converted into a quantized analog type of digital data stream. The data stream is evaluated over time by considering preceeding and subsequent values in the data stream to generate a filtered wave form. By using extreme values in the filtered wave form pulse detection is accurately determined regardless of whether the modulated signal has complicating features, such as dicrotic notch, or high noise levels, or both.

Description:
This is a continuation of co-pending application Ser. No. 911,956 filed on Sept. 26, 1986, now abandoned. 
    
    
     BACKGROUND AND SUMMARY OF THE INVENTION 
     The present invention relates to a device and method for detecting the pulse in a modulated signal. Specifically, the invention relates to the accurate detection of a pulse even if the modulated signal has complicating features such as dicrotic notch, or high noise levels, or both. 
     A modulated signal is generated, for example, by transmitting light through living tissue and monitoring changes in intensity of the transmitted light. Circuit means are provided for signal processing and a microprocessor for mathematical evaluation of the changes in the transmitted light. The processing includes signal separation, noise reduction, amplification and an analog to digital conversion. The processed signal is mathematically evaluated over time by considering preceeding and subsequent values in the data stream to generate a filtered wave form. By using an extreme value in the filtered wave form pulse detection can be accurately determined. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a data stream showing the A.C. component, the D.C. component, and the D.C. offset. 
     FIG. 2 is the data stream of FIG. 1 following removal of the D.C. offset and following amplification. 
     FIG. 3 is a noisy data stream with a complicating feature known as baseline drift. 
     FIG. 4 is a data stream following removal of the D.C. offset and following amplification with a complicating feature known as a dicrotic notch. 
     FIG. 5a is a data stream similar to FIG. 4, but with substantial noise. 
     FIG. 5b is the filtered data stream of FIG. 5a. 
     FIG. 6 is a block diagram of the hardware comprising an oximeter and pulse detector. 
     FIG. 7 is a process flow block diagram of the microprocessor unit of an oximeter and pulse detector. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The invention can be best understood by first examining typical analog modulated signals, or values of the data points in the data stream following the analog to digital conversion. In each instance, FIGS. 1-5b, the y-axis represents the electrical signal, e.g., voltage, and the x-axisrepresents time. FIG. 1 depicts a relatively noise free data stream withouta baseline drift. The data stream comprises a DC component and an AC component. The DC component further comprises a DC offset and DC remainder. The AC component to the DC component, is small. To simplify theevaluation of the AC signal, necessary for the pulse determination, the DC offset is removed. The remaining signal is thereafter amplified. The data stream of FIG. 1 after removal of the D.C. offset and amplification is shown in FIG. 2. 
     The signal of FIGS. 1 and 2 is a relatively clean data stream. However, many data streams are substantially more complicated. FIG. 3 depicts a complex data stream, that is both noisy and has a substantial baseline drift. Another data stream, shown in FIG. 4, following removal of the DC offset and following amplification has a complicating feature known as a dicrotic notch. The data stream of FIG. 5a is similar to that shown in FIG. 4. However, the FIG. 5a data stream has the additional complicating factor of a high noise level. FIG. 5b shows the data stream of FIG. 5a after filtering. 
     The operating principles of the pulse detector are described first. Associated with every given data point in the data stream and equidistant from that data point are multiple pairs of data points. That is, each datapoint has multiple pairs of associated data points. For each pair, the first associated data point occurs some time prior to the given data pointand the second associated data point occurs an equal amount of time after the given data point. A difference is found by subtracting the detected values for the associated data points one from another. The difference foreach pair of associated data points is then summed to form the output of a wave form filter for the given point. The total time spanned by these associated points is called the wave form filter length. This can be expressed in the following fashion: ##EQU1##Where F i  is the wave form filter output for a given time t i  having a data stream value P i , P i-j  is the data stream value at time t i  -t j  ; P i+j  is the data stream value at time t i  +t j  ; and the wave form filter length is 2*L+1. Using this approach to finding F i  requires L subtractions and L-1 additions. 
     A simpler calculation of F i+l  is possible if F i  has already been computed. That is: 
     
         F.sub.i+l =F.sub.i +P.sub.i+L+l +P.sub.i-L -P.sub.i -P.sub.i+l 
    
     This calculation requires only two additions and two subtractions regardless of the length of the wave form filter. Present microprocessors are able to make this calculation in real time if the discrete points in the data stream occur at, for example, 15 millisecond intervals. For this calculation, memory of 2L+1 values is required. 
     The accuracy of the output of the wave form filter for pulse detection is best when the wave form filter length and the pulse length of the signal are the same. When there is a large mismatch in these two quantities, the accuracy of the filter is diminished. Two methods have been found to overcome this problem. The first is to use two or more filters and examineeach of them separately to determine which most closely matches the pulse length. The other is to combine two filters such that their combined output will work on any signal of interest. The second method requires four additions and four subtractions for each point. 
     The modulated signal from which the pulse is determined may be one of the two signals used in determining oxygen saturation by means of an oximeter.The functioning of the pulse detector and, to some extent, an associated oximeter is now described. In FIG. 6, there is depicted a block diagram ofthe hardware used in an oximeter. A photoelectric transducer or photodiode 10 receives the light transmitted through a measuring point in the human body such as an ear lobe or finger. For the determination of oxygen saturation two light components are transmitted through the measuring point. Light component A is transmitted from LED A and light component B is transmitted from LED B. If only the pulse is determined, only one light, either A or B, need be transmitted, processed and evaluated. 
     The data streams detected by photodiode 10 are amplified by pre-amplifer 12and passed through the synchronized demodulator 14 to separate the data streams for each of the two light components. For each of the two data streams, the data stream is further separated (16 and 18) into a DC offsetand the DC remainder plus the AC component. The values of the DC offset aresampled and held in the microprocessor 40 for further processing. Alternatively, the DC offset can be present at a fixed value. Once the DC offset is removed, data streams A and B are passed through operational amplifiers 20 and 22. The signal streams are amplified by fixed gains relative to the signal strengths of channel A and channel B. If the A channel processes the red signal, the fixed gain may be approximately a multiple of 200-250 of the preexisting data stream while, the B channel, if processing an infrared signal, the fixed gain may be approximately a multiple of 40-60 of the preexisting data stream. 
     The data streams of both channels A and B are passed through the filters 24and 26 to reduce gross extraneous noise. The signal streams are then passedthrough variable attenuators 30 and 32, the control of which is performed by an evaluation of the signal strength made by the microprocessor 40. Thesignal streams are then inputted to multiplexor 34 where they are sampled and held until the analog to digital convertor 36 has converted each incoming analog signal into an outgoing digital also referred to as a quantized analogue signal signal. 
     The data streams are thereafter processed as shown in FIG. 7. As each data point in the data stream is inputted into the microprocessor 40, they are stored in buffers 52 and 54. As inputs are received the values are sequentially stored in the buffers replacing previous values which are shifted through and eventually out of the buffers. When the process is first started or after data is lost, the microprocessor 40 holds until thebuffer is full before commencing a calculation. 
     Once the buffers fill, the wave form filter or filter outputs, if more thanone wave form filter is used, are calculated (90, 91). The initial wave form filter output is determined by subtracting each successive trailing data point in the data streamm from each successive leading data point in the data stream and then summing these values. Each successive wave form filter output is determined by summing (i) the most recent wave form filter output, (ii) the trailing data point in the data stream, and (iii) the leading data point in the data stream for the most recent wave form filter output calculation and subtracting the sum of (i) the data point inthe data stream halfway through the buffer and (ii) the data point in the data stream one data point beyond the halfway mark in the buffer. The foregoing mathematical calculation is performed for each wave form filter used. 
     Once the wave form filter outputs are determined, a detector 92 is used to determine an extreme value, such as a maximum or minimum. The rate of the extreme values are compared (93), by using quality criteria, with an expected range of values. If the extreme value is within the range of expected values, the pulse rate is determined (94). The pulse rate is alsocompared (95), by using quality criteria, with an expected range of pulse rates. If the pulse rate is within the range of expected values, the pulserate is outputted to the pulse display driver (96). 
     While the above embodiments have been disclosed as the best mode presently contemplated by the inventor, it should be realized that these examples should not be interpreted as limiting, because an artisan skilled in this field, once given the present teachings, can vary from these specific embodiments. Accordingly, the scope of the present invention should be determined solely from the following claims.