The present invention relates to the field of signal processing, and, more particularly, relates to the field of processing of signals generated in a physiological monitoring system, such as, for example, in a system for measuring blood oxygen saturation using pulse oximetry.
The present invention will be described herein in connection with a pulse oximetry apparatus and a method, which are used to measure blood oxygen saturation in a subject, such as, for example, a human patient. The teachings of the present invention can be used in other applications wherein useable signal information is obtained in a noisy environment.
In an exemplary pulse oximetry apparatus and a corresponding method, blood oxygen saturation is determined by transmitting pulses of electromagnetic energy through a portion of a subject which has blood flowing therein (e.g., through a finger, through an ear lobe, or other portion of the body where blood flows close to the skin). In the examples described herein, the pulses of electromagnetic energy comprise periodic pulses of red light having wavelengths of approximately 660 nanometers, for example, and periodic pulses of infrared light having wavelengths of approximately 905 nanometers. As described, for example, in U.S. Pat. No. 5,482,036 and in U.S. Pat. No. 5,490,505 the pulses of red light and the pulses of infrared light are applied with the same periodicity but in an alternating and non-overlapping manner. In particular, in preferred embodiments, the red pulses are active for approximately 25% of each cycle and the infrared pulses are also active for approximately 25% of each cycle. The red pulses are separated in time from the infrared pulses such that both pulses are inactive for approximately 25% of each cycle between a red pulse and the next infrared pulse and both pulses are inactive for approximately 25% of each cycle between an infrared pulse and the next red pulse. (Although described herein below in connection with pulses having 25% duty cycles, it should be understood by persons of skill in the art that the duty cycles of the pulses can be changed in some applications.) After propagating through the portion of the subject, the red pulses and the infrared pulses are detected by a detector which is responsive to light at both wavelengths and which generates an electrical signal which has a predictable relationship to the intensity of the electromagnetic energy incident on the detector. The electrical signal is processed in accordance with the present invention to provide a representation of the blood oxygen saturation of the subject. In conventional time division multiplexing (TDM) demodulation that uses rectangular waves to drive the red and infrared LEDs, the conventional process of demodulation using square waves can result in the aliasing of the ambient noise components that come close to the sidebands of harmonics and the fundamental frequency of the rectangular waves, and the noise components are thus collapsed into the output signal generated by the demodulation. In particular, it is very difficult to avoid including harmonics of the line frequency in the demodulated output signal.
In conventional time division multiplexing (TDM) demodulation that uses rectangular waves to drive the red and infrared LEDs, the conventional process of demodulation using square waves can result in the aliasing of the ambient noise components that come close to the sidebands of harmonics and the fundamental frequency of the rectangular waves, and the noise components are thus collapsed into the output signal generated by the demodulation. In particular, it is very difficult to avoid including harmonics of the line frequency in the demodulated output signal.
The present invention avoids the problems associated with conventional demodulation and separation of TDM signals. In particular, the present invention avoids the problem of aliasing of the ambient noise into the passband of the system by selectively demodulating certain harmonics of the TDM signal. For example, in one embodiment, only two harmonics (e.g., the fundamental and the first harmonic) are demodulated. In resulting from demodulating with only certain harmonics instead of demodulating with all harmonics as is done using conventional square wave demodulation. In a digital implementation of the present, invention, the output of the photodetector is initially sampled at a very high frequency (e.g., 46,875 Hz), and the signals are decimated (where decimation is lowpass filtering followed by sample rate compression) such that the final output signals are generated at a relatively low sampling rate (e.g., 62.5 Hz) which provides increased resolution at the output. Thus, bandwidth is traded for resolution in the output signal, thus increasing the signal to noise ratio.
One aspect of the present invention is an apparatus for measuring blood oxygenation in a subject. The apparatus comprises a first signal source which applies a first input signal during a first time interval. A second signal source applies a second input signal during a second time interval. A detector detects a first parametric signal responsive to the first input signal passing through a portion of the subject having blood therein. The detector also detects a second parametric signal responsive to the second input signal passing through the portion of the subject. The detector generates a detector output signal responsive to the first and second parametric signals. A signal processor receives the detector output signal. The signal processor demodulates the detector output signal by applying a first demodulation signal to a signal responsive to the detector output signal to generate a first output signal responsive to the first parametric signal and by applying a second demodulation signal to the signal responsive to the detector output signal to generate a second output signal responsive to the second parametric signal. Each of the first demodulation signal and the second demodulation signal comprises at least a first component having a first frequency and a first amplitude and a second component having a second frequency and a second amplitude. The second frequency is a harmonic of the first frequency. The second amplitude is selected to be related to the first amplitude to minimize crosstalk from the first parametric signal to the second output signal and to minimize crosstalk from the second parametric signal to the first output signal. In one embodiment, the second amplitude is determined by turning off one of the first and second signal sources and measuring the crosstalk between one of the parametric signals and the non-corresponding output signal while varying the second amplitude. A second amplitude is selected that minimizes the measured crosstalk.
Another aspect of the present invention is a method of minimizing crosstalk between two signals generated by applying a first pulse and a second pulse to measure a parameter. The first pulse and the second pulse are applied periodically at a first repetition rate defining a period. The first pulse is generated during a first interval in each period, and the second pulse is generated during a second interval in each period. The second interval is spaced, apart from the first interval. The first and second pulses produce first and second parametric signals responsive to the parameter. The first and second parametric signals are received by a single detector that outputs a composite signal responsive to the first and second parametric signals. The method comprises the step of applying a first demodulation signal to the composite signal to generate a first demodulated output signal wherein the first demodulation signal comprises at least a first component having a first frequency corresponding to the first repetition rate. The first component has a first amplitude. The first demodulation signal further comprises a second component having a second frequency that is a harmonic of the first frequency. The second component has a second amplitude which has a selected proportional relationship to the first amplitude. The method further includes the step of applying a second demodulation signal to the composite signal to generate a second demodulated output signal. The second demodulation signal comprises the first component at the first frequency and the first amplitude and further comprises the second component at the second frequency and the second amplitude. At least one of the fast and second components of the second demodulation signal has a selected phase difference with respect to the corresponding one of the first and second components of the first demodulation signal. The method further includes the steps of lowpass filtering the first demodulated output signal to generate a first recovered output signal responsive to the first parametric signal; and lowpass filtering the second demodulated output signal to generate a second recovered output signal responsive to the second parametric signal.
Preferably, the selected phase difference is π. Also preferably, the first pulse and the second pulse are generally rectangular pulses having a respective duty cycle. The rectangular pulses comprise a plurality of sinusoidal components including a fundamental component corresponding to the first frequency and a first harmonic component corresponding to the second frequency. The fundamental component has a fundamental component amplitude and the first harmonic component has a first harmonic component amplitude. The first harmonic component amplitude is related to the fundamental harmonic component amplitude by a first proportionality value. The second amplitude of the second component of the first demodulation signal is related to the first amplitude of the first component of the first demodulation signal by a second proportionality value which is approximately the inverse of the first proportionality value.
The method in accordance with this aspect of the invention preferably includes the further steps of sampling the composite signal when neither the first pulse nor the second pulse is active to obtain a sampled signal; and measuring the sampled signal to determine a noise level of the parametric signals.
In a further embodiment according to this aspect of the present invention, the method further includes the steps of performing a transform on the composite signal to generate a spectra of the composite signal; sampling the spectra at a plurality of frequencies other than at predetermined ranges of frequencies around the first frequency and around harmonics of the first frequency; determining an average of the magnitudes of the sampled plurality of frequencies; and comparing the average to a selected threshold to determine whether the average magnitude exceeds the selected threshold.
Another aspect of the present invention is a method of demodulating a composite signal generated by applying first and second periodic pulses of electromagnetic energy to a system having a parameter to be measured and by receiving signals responsive to the electromagnetic energy after having passed through the system and being affected by the parameter being measured. The signals are received as a composite signal having components responsive to the first and second pulses. The method comprises the step of applying a first demodulation signal to the composite signal to generate a first demodulated signal. The first demodulation signal comprises a first component having a first frequency corresponding to a repetition frequency of the first and second pulses and comprises a second component having a frequency that is a harmonic of the first frequency. The first component has a first amplitude and the second component has a second amplitude. The second amplitude has a predetermined relationship to the first amplitude. The predetermined relationship is selected to cause the first demodulated signal to have low frequency components responsive only to the first pulse. The method includes the further step of lowpass filtering the first demodulated signal to generate a first output signal. The first output signal varies in response to an effect of the parameter on the electromagnetic energy received from the first pulse.
Preferably, the method in accordance with this aspect of the invention includes the further step of applying a second demodulation signal to the composite signal to generate a second demodulated signal. The second demodulation signal has first and second components corresponding to the first and second components of the first demodulation signal. At least one of the first and second components of the second demodulation signal has a selected phase relationship with the corresponding one of the first and second components of the first demodulation signal. The method includes the further step of lowpass filtering the second demodulated signal to generate a second output signal. The second output signal varies in response to an effect of the parameter on the electromagnetic energy received from the second pulse.
Another aspect of the present invention is a pulse oximetry system that comprises a modulation signal generator. The modulation signal generator generates a first modulation signal that comprises a first pulse that repeats at a first repetition frequency. The first pulse has a duty cycle of less than 50%. The modulation signal generator generates a second modulation signal comprising a second pulse that also repeats at the first repetition frequency. The second pulse has a duty cycle of less than 50%. The second pulse occurs at non-overlapping times with respect to the first pulse. Each of the first and second pulses comprises a plurality of components wherein a first component has a frequency corresponding to the repetition frequency and wherein a second component has a second frequency corresponding to twice the first frequency. The second component has an amplitude which has a first predetermined relationship to an amplitude of the first component. A first transmitter emits electromagnetic energy at a first wavelength in response to the first pulse; and a second transmitter emits electromagnetic energy at a second wavelength in response to the second pulse. A detector receives electromagnetic energy at the first and second wavelengths after passing through a portion of a subject and generates a detector output signal responsive to the received electromagnetic energy. The detector output signal includes a signal component responsive to attenuation of the electromagnetic energy at the first wavelength and a signal component responsive to attenuation of the electromagnetic energy at the second wavelength. A first demodulator multiplies the detector signal try a first demodulation signal and generates a first demodulated output signal. The first demodulation signal comprises a first component having the first frequency and having a first amplitude. The first demodulation signal also comprises a second component having the second frequency and having a second amplitude. The second amplitude has a second predetermined relationship to the first amplitude. The second predetermined relationship is approximately inversely proportional to the first predetermined relationship. A second demodulator multiplies the detector signal by a second demodulation signal and generates a second demodulated output signal. The second demodulation signal comprises a first component having the first frequency and having the first amplitude. The second demodulation signal further comprises a second component having the second frequency and having the second amplitude. At least one component of the second demodulation signal has a selected phase relationship with a corresponding one component of the first demodulation signal. Preferably, the selected phase relationship is a π phase difference.
Another embodiment incorporates declination before demodulation. In yet another embodiment, a multi-channel demodulator, with or without pre-demodulation decimation is disclosed.
In yet another embodiment, an adaptive algorithm is used to control the operation of pre-demodulation decimators and post-demodulation decimators. The adaptive algorithm may control both the characteristics of a lowpass filter in the decimator and the decimation rate provided by a signal rate compressor in the decimator.
Another embodiment of the invention is a method for selecting a sample rate that reduces the interference caused by ambient light.
The present invention will be described below in connection with the accompanying drawing figures in which:
As further illustrated in
The output of the-detector 150 is applied as an input to a signal processor block 170 which processes the detector signal and generates a first signal Ŝ1(t) responsive to the detected intensity of the red light incident on the detector 150 and generates a second signal Ŝ2(t) responsive to the detected intensity of the infrared light incident on the detector 150. As illustrated, the signal processing block 170 is synchronized with the LED modulator 104 via a set of control lines 180. As will be discussed below, the control lines 180 advantageously communicate signals which provide timing information that determines when to activate the red LED 106 and when to activate the infrared LED 108.
In
M(t)=S1(t)M1(t)+S2(t)M2(t). (1)
The signal M(t) from the adder 194 is provided to the adder 196 where the signal M(t) is added to a signal n(t) which represents a composite noise signal caused by ambient light, electromagnetic pickup, and the like, which are also detected by the photodetector 150. The output of the adder 196 is a signal M′(t)=M(t)+n(t) which includes noise components as well as the signal components. The noise components include DC components and harmonics of the power line frequency that appear in the ambient light. In addition, as will be discussed in more detail below, the signal M′(t) may also include noise at higher frequencies caused, for example, by other devices such as electrocauterization equipment, or the like.
The M′(t) signal output of the third adder 196 (i.e., the output of the detector 150) is applied to the input of the signal processing block 170. Within the signal processing block 170, the signal M′(t) is first passed through a fixed gain amplifier 197 and then through an analog bandpass filter 198. The analog bandpass filter 198 has a passband selected to pass signals in the range of 20 Hz, to 10,000 Hz. Thus, the analog bandpass filter 198 removes a significant portion of the noise below 10 Hz. The signal components responsive to the blood oxygen saturation are frequency shifted by the operation of the two modulation signals M1(t) and M2(t) and are passed by the analog bandpass filter 198.
In the preferred embodiment, the output of the analog bandpass filter 198 is sampled by an analog-to-digital converter 199 and converted therein to digital signals. For example, the signals are preferably sampled at 46,875 samples per second. The output of the analog-to-digital converter 199 is a signal MF(k).
The signal MF(k) is provided as a first input to a first demodulating multiplier 210. The signal MF(k) is also provided as a first input to a second demodulating multiplier 212. A first demodulating signal D1(k) is provided as a second input to the first demodulating multiplier 210, and a second demodulating signal D2(k)) is provided as a second input to the second demodulating multiplier 212. The output of the first demodulating multiplier 210 is provided as an input to a first lowpass filter 220, and the output of the second demodulating multiplier is provided as an input to a second lowpass filter 222. The bandwidths of the lowpass filters 220, 222 are preferably approximately 10 Hz.
The output of the first lowpass filter 220 is a signal Ŝ1(t), which, as discussed below, is an estimate of the signal Ŝ1(t). The output of the second lowpass filter 222 is a signal Ŝ2(t), which, as discussed below, is an estimate of the signal Ŝ2(t). As will be shown below, the selection of the first demodulating signal D1(k) and the second demodulating signal D2(k) in accordance with the present invention substantially reduces or eliminates the effects of noise in the two output signals Ŝ1(t) and Ŝ1(t) and also substantially reduces or eliminates crosstalk between the two signals.
In the preferred embodiment of the present invention, the sample rates of the outputs of the lowpass filter 220 and the lowpass filter 222 are compressed by respective sample rate compressors 221 and 223. In particular, the sample rate compressors 221, 223 reduce the sample rate by 750 to a sample rate of, for example, 62.5 Hz to provide an output which can be further processed in accordance with the methods and apparatuses described in the above-referenced patents. The sample rate compressions which occur in the sample rate compressors 221, 223 reduce the rate at which the output signals Ŝ1(t) and Ŝ2(t) need to be processed while maintaining the sample rate well above the 0-10 Hz frequency content of the signals of interest. The outputs of the filters 220, 222, or the sample rate compressors 221, 223, if included, are provided on respective output lines 224 and 226.
In order to facilitate an understanding of how the present invention operates in demodulating the output signal MF(k) from the analog-to-digital converter 199, the modulation signals M1(t) and M2(t)) will first be described in terms of their frequency components. One skilled in the art will appreciate that the modulation signals M1(t) and M2(t) can each be represented as a Fourier cosine series expansion (e.g., Σn=0∞an cos(n ωt), where ω=2π/T) representing the fundamental and harmonic frequencies of the rectangular signal pulses. One skilled in the art will understand that the Fourier series expansion includes phases; however, by suitably selecting the time origin, the phases are set to zero. A component which is 180° out of phase with a corresponding component will advantageously be represented by a minus sign before the coefficient.
In
Where sinc is the function (sin πx)/πx (i.e., sinc(πτ/T)=sin(nπτ/T)/(nπτ/T)). In the example shown, t=¼T. (Note that for sampled signals, the envelope is more accurately represented as sin α/sin β; however, as well known in the art, for the frequencies of interest, the sinc function is a suitable approximation.) Thus, the frequency spectra has nulls at n=4, n=8, n=12, and so on, corresponding to the third harmonic f3, the seventh harmonic f7, the eleventh harmonic f11, and so on. Note that Equation 2 is an idealized form of the equation for M1(t), and that in general:
where an is a complex number. In the discussion that follows, the values of an are assumed to be real numbers only.
A similar frequency spectra (not shown) for the modulation signal M2(t) is determined by the expression:
An envelope for the frequency spectra of second modulation signal M2(t) will have the same magnitudes; however, it should be understood that because of the (−1)n term in the expression for M2(t), the fundamental f0 and every even harmonic (i.e., f2, f4, etc.) are 180° out of phase with the corresponding harmonic of the first modulation signal M1(t).
In
Ŝ
2(k)=LP[MF(k)D1(k)] (5)
and
Ŝ
2(k)=LP[MF(k)D2(k)] (6)
where LP is the transfer function of the lowpass filter 220 and of the lowpass filter 222. If, for simplicity, the noise is assumed to be zero, then:
M′(t)=S1(t)M1(t)+S2(t)M2(t) (7)
Therefore:
Ŝ
1(k)=LP[[S1(k)M1(k)+S2(k)M2(k)]D1(k)] (8)
and thus
Ŝ
1(k)=LP[[S1(k)M1(k)]D1(k)+[S2(k)M2(k)]D1(k)] (9)
Similarly:
Ŝ
2(k)=LP[[S2(k)M2(k)]D2(k)+[S1(k)M1(k)]D2(k)] (10)
Since LP is a linear operator, the right-hand side of Equations 9 and 10 can be split into two terms. The first term on the right-hand side of each of Equations 9 and 10 above is the desired signal portion of the equation, and the second term on the right-hand side of each of the equations is the crosstalk portion. Thus, in order to reduce the crosstalk to zero, the second term of each of Equations 9 and 10 is set to zero:
LP[S
2(k)M2(k)D1(k)]=0 (11)
and
LP[S
1(k)M1(k)D2(k)]=0 (12)
By setting the second terms to zero, Equations 9 and 10 reduce to:
Ŝ
1(k)=LP[S1(k)M1(k)D1(k)] (13)
and
Ŝ
2(k)=LP[S2(k)M2(k)D2(k)] (14)
One goal of the present invention is to select the demodulating signals D1(k) and D2(k) to satisfy Equations 11 and 12 to thereby reduce Equations 9 and 10 to Equations 13 and 14. This is accomplished by utilizing Equations 2 and 3 to simplify the two equations by selectively using components of the two modulating signals M1(t) and M2(t) to generate the demodulating sequences D1(k) and D2(k).
In order to simplify the discussion, Equation 2 can be rewritten as:
where E(n) is the sinc envelope for the fundamental frequency f0 (n=1) and the harmonics f1 (n=2), f2 (n=3), and so on, where cos(nωt) represents the cosine term cos(2πnt/T), where ω=2π/T. (Note, as discussed above, for discrete sampled signals, the actual envelope of E(n) is a sin α/sin β function; however, for the frequencies of interest, the sine function is a suitable representation.)
As discussed above, the DC term (n=0) does not need to be considered because of the operation of the filter 198, and the analog-to-digital converter 199, as well as the action of the demodulation, which shift any unwanted DC or low frequency signals having a frequency less than approximately 10 Hz (hereinafter near-DC signals) to higher frequencies before lowpass filtering. As a further simplification, the magnitude of the fundamental term in Equation 15 is normalized to a value of 1 (i.e., E(1)=1). Note that the normalization results in the need for a scale factor, which will be discussed below. Thus, Equation 15 becomes:
M
1(t)=cos ωt+a cos 2ωt+b cos 3ωt+c cos 4ωt+ . . . (16)
The demodulation signal D1(t) is defined as:
D
1(t)=cos ωt+B cos 2ωt (17)
For reasons set forth below, only the first two cosine terms are needed.
Similarly, the second modulating signal M2(t) becomes:
M
2(t)=−cos ωt+a cos 2ωt−b cos 3ωt+c cos 4ωt+ . . . (18)
and the second demodulating signal D2(t) is defined as:
D
2(t)=−cos ωt+B cos 2ωt (19)
Note that the signs of the fundamental and odd harmonics in Equation 18 are 180° out of phase with the corresponding terms in Equation 16.
Note, as will be developed more fully below, by including only the fundamental s (cos ωt) and the first harmonic (cos 2ωt) in each of the demodulation signals, only the signals proximate to the fundamental and first harmonic need to be considered. By eliminating higher harmonics, the effects of the higher harmonics of the power line frequency are also eliminated in the output signals generated by the present invention.
Assume that the filter 198 and the analog-to-digital converter 199 do not affect the magnitude of the signal MF(k) with respect to M′(t) for the frequencies having significant energy. Therefore, starting with Equation 7 above, M′(t) can be written as:
M′(t)=S1(t)[cos ωt+a cos 2ωt+b cos 3ωt+ . . . ]+S2(t)[−cos ωt+a cos 2ωt−b cos 3ωt+ . . . ] (20)
When the first demodulating multiplier 210 multiplies M(t) by DI(t), the terms on the right-hand side of Equation 20 are multiplied by the terms on the right-hand side of Equation 17. Thus:
M′(t)D1(t)=S1(t)[cos ωt+a cos 2ωt+b cos 3ωt . . . ][cos ωt+B cos 2ωt]+S2(t)[−cos ωt+a cos 2ωt−b cos ωt+ . . . ][cos ωt+B cos 2ωt] (21)
The term S1(t)[cos ωt+a cos 2 ωt+b cos 3 ωt+ . . . ][cos ωt+B cos 2 ωt] is the signal term which is to be preserved, and the term S2(t)[−cos ωt+a cos 2 ωt−b cos 3 ωt+ . . . ][cos ωt+B cos 2 ωt] is the crosstalk term to be eliminated.
Expanding the crosstalk term from Equation 21, generates:
crosstalk=S2(t)[−cos2ωt−B cos ωt cos 2ωt+a cos 2ωt cos ωt+aB cos22ωt−b cos ωt cos ωt−bB cos 3ωt cos 2ωt+ . . . ] (22)
Using the identity, cos(x)cos(y)=½[cos(x+y)+cos(x−y)], the crosstalk term from Equation 22 becomes:
crosstalk=S2(t)[−½(cos 2ωt+1)+((a−B)/2)[cos ωt+cos ωt]+(aB/2)[cos 4ωt+1]−(b/2)[cos 4ωt+cos 2ωt](bB/2)[cos 5ωt+cos ωt]+ . . . ] (23)
The remaining terms in Equation 23 will all have a factor of cos rot or higher. Thus, Equation 23, when fully expanded only includes near-DC terms:
crosstalkDC=LP[S2(t)[aB/2)−½]] (24)
where S2(t) corresponds to the infrared portion of the original plethysmograph signal which has a bandwidth of interest of approximately 0 to 10 Hz. Any components present above 10 Hz will be eliminated by the action of the lowpass filter 220. Thus, it can be seen that only the signals of interest are folded back to DC or near-DC. By using the lowpass filter 220, the DC terms and near-DC terms can be isolated so that only the DC terms and near-DC terms of the crosstalk are presented at the output of the lowpass filter 220. Thus, in order to eliminate the crosstalk, the crosstalk terms in Equation 24 need to be set to zero:
LP[S
2(t)[aB/2−½]]=0 (25)
Thus:
B=1/a (26)
The result in Equation 26 can also be expressed using a geometric interpretation of vector projection (i.e., dot products) of S2(t) and S1(t) wherein the projection of S2(t) onto D1(t) is equal to zero and the projection of S2(t) onto D2(t) is maximized. In other words, express S1(t), S2(t), D1(t) and D2(t) as vectors of samples in an n-dimensional sample space (e.g., S1(t) is represented as a vector S1 of samples S1(k)). For example, in a preferred embodiment, n=148, and thus S1, S2, D1 and D2 are vectors of 148 samples each. The first crosstalk term is S1·D2. The second crosstalk term is S2·D1. The first signal output is S1−D1. The second signal output is S2·D2. Select the vectors D1 and D2 to drive the crosstalk terms to zero.
The relationship in Equation 26 also works to preserve the signal term. In particular, the signal term in Equation 21 can be expanded and lowpass filtered in the same manner as the crosstalk term to obtain:
signal=Ŝi(t)=LP[S1(t)[(aB/2)+½]] (27)
Using the relationship from Equation 26, then Equation 27 becomes:
signal=Ŝi(t)=LP[S1(t)[(a/2a)+½]=LP[S1(t)]=S1(t) (28)
It can be readily shown that the same relationship holds for the crosstalk term and 5 the signal term for the signal S2(t) by defining the second demodulation signal D2(t) as:
D
2(t)=−cos ωt+B cos 2ωt (29)
and multiplying M2(t) by D2(t). After expanding the crosstalk and signal terms and eliminating the terms above 10 Hz, it can be shown that by selecting B=1/a, the crosstalk term is canceled and the signal term S2(t) is recovered.
From the foregoing, it can be seen that by choosing the relationship between the magnitude of B as the reciprocal of a, then the crosstalk terms are eliminated and the signal terms are preserved. Note that neither A nor B is an absolute value. As set forth in Equation 16, a is the magnitude of the cos 2 ωt term of M1(t) when the magnitude of the cos ωt term of M1(t) is normalized to 1. Similarly, from Equation 17, B is the magnitude of the cos 2 ωt term of D1(t) when the cos ωt term of D1(t) is normalized to 1.
It should be understood that both D1(t) and D2(t) can include higher harmonic terms; however, such additional terms could result in increased sensitivity to the noise of fluorescent lights and the like because of the harmonics of the 60 Hz power line frequency (or the 50 Hz power line frequency in other countries). For example,
As further illustrated in
The foregoing discussion assumed that the filter 198 did not significantly affect the amplitude of the filtered signal. If the filter 198 does have an affect on the amplitude, then B will be a constant times the value of B determined above:
B=k/a (30)
where k depends on the relative attenuation of the first harmonic and the second harmonic through the filter 198.
Although the value of the coefficient B can be calculated as set forth above, the calculations may be complicated if the filter 198 or the modulators 190, 192 introduce phase changes which cause the calculations to be performed on complex numbers. For example, if the modulation signals M1(t) and M2(t) are not rectangular waves which have 25% duty cycles and which are precisely 180° out of phase, as illustrated herein, then the coefficients of the frequency components of the modulation signals may be complex to account for the phase relationships, and thus, the coefficients of the demodulation signals may be complex.
As illustrated in
Ŝ
2
=LP[S
1(t)M1(t)D2(t)] (31)
It can be seen that Ŝ2(t) includes only a crosstalk portion, which can be measured on the output from the second lowpass filter 222. Thus, by varying the value B while monitoring the magnitude or the RMS (root-mean-squared) value of the output signal Ŝ2(t), a minimum magnitude Ŝ2(t)min, for the output signal Ŝ2(t) can be found which corresponds to the best value BBEST for B. In an ideal system, the best value for B corresponds to a zero value for the output signal Ŝ2(t); however, in a real environment, the best value of B may correspond to a non-zero value for Ŝ2(t) (i.e., a minimum error for Ŝ2(t)). It should be understood that the value of BBEST can also be determined by turning off the red LED 106 and varying B while monitoring Ŝ1(t) until Ŝ1(t) is minimized.
From the foregoing, it can be seen that the effect of the modulation signals D1(t) and D2(t) is to shift the DC or near-DC noise terms up in frequency while shifting the signals of interest at the harmonics back to DC or near-DC, which in effect interchanges the noise spectra and the signal spectra so that the noise spectra can be eliminated by the action of the lowpass filters 220, 222, leaving only the signals of interest.
The LED modulation block 300 generates a demodulated red signal output on a bus 340 and generates a demodulated infrared signal output on a bus 342. The demodulated red signal output is passed through the low pass filter 220 and is output therefrom as the signal Ŝ1(t). The demodulated infrared signal output is passed through the low pass filter 222 and is output therefrom as the signal Ŝ2(t). As further illustrated in
The modulo-M block 350 receives the main 46,875 Hz clock signal on the line 312 as one input and receives a MODULUS signal on a bus 354 as a second input. The bus 354 forms a portion of the configuration bus 310. The modulo-M block 350 divides the clock signal by the MODULUS signal and generates a RESIDUE signal (described below) on a bus 356 which is provided as one input to the LED modulation state table block 352. The LED modulation state table block 352 also receives the configuration signals on the configuration bus 310.
The LED demodulation state table is responsive to the residue signal and the configuration signals to generate the first demodulating signal D1(t) on a bus 360 and to generate the second demodulating signal D2(t) on a bus 362. The first demodulating signal D1(t) is provided as one input to the first demodulating multiplier 210, as described above. The second demodulating signal D2(t) is provided as one input to the second demodulating multiplier 212, as described above. The first demodulating multiplier 210 and the second demodulating multiplier 212 receive the digital detector signal on the line 314 as respective second inputs. The demodulating multipliers 210, 212 multiply the digital detector signal by the first demodulating signal DM and the second demodulating signal D2(t), respectively, to generate a demodulated red signal and a demodulated infrared signal on the buses 340 and 342, respectively. Because the outputs of the two demodulating multipliers 210 and 212 include the terms cos ωt, cos 2 ωt, and higher, the demodulated signals on the buses 340 and 342 are provided as respective inputs to the low pass filters 220 and 222 to pass only the near-DC terms, as discussed above. The outputs of the lowpass filters 220 and 222 on the buses 344 and 346, respectively, are the Ŝ1(t) signal and the Ŝ2(t) signal which contain only the near-DC terms, which, in accordance with the discussion presented above represent the original input signals S1(t) and S2(t) with the unwanted noise substantially reduced or eliminated. The two signals Ŝ1(t) and Ŝ2(t) are then applied to computation circuitry (not shown) which computes the blood oxygen saturation and other cardiographic parameters in a manner described in the above-cited U.S. Pat. Nos. 5,482,036 and 5,490,505.
The residue signal generated as the output from the modulo-M block 350 is a multiple bit signal that counts from 0 to MODULUS-1. In the preferred embodiment described herein, MODULUS has a value of 148. Thus, the RESIDUE output of the modulo-M block 350 counts from 0 to 147. The RESIDUE output of the modulo-M block 350 is a number that is provided as the input to the LED demodulation state table block 352. As illustrated in
The red signal pulse 378 and the infrared signal pulse 380 from the modulation state table block 370 are provided as inputs to the LED driver circuit 372 which turns on the red LED 106 when the red signal pulse 376 is active and turns on the infrared LED 108 when the infrared signal pulse 378 is active by generating the current waveform 120 illustrated in
In the preferred embodiment, the LED demodulation state table block 352 implements demodulation equations which generally correspond to the Equations 17 and 19 described above. In particular, the LED demodulation state table block 352 receives the RESIDUE as. one input to the state table and steps through the state table based upon the current value of the RESIDUE. The LED demodulation state table block 352 generates two output values for each value of the RESIDUE, wherein the first output value is the first demodulation signal D1(t) on the signal bus 360, and the second output value is the second demodulation signal D2(t) on the signal bus 362.
In particular, the LED demodulation state table block 352 implements the following forms of the demodulation signal D1(t) and the D2(t) equations:
In Equations 32 and 33, the value SCL is a scale factor which determines the magnitudes is of the two demodulation signals and which is used to compensate for the normalization discussed above and to compensate for other factors; such as, for example, non-ideal rectangular pulses. The method of determining the scale factor will be set forth below. In one particularly preferred embodiment, the value of SCL is 2.221441469. The value HWD is a hardware distortion factor, which corresponds to the value of B discussed above. The determination of the value B was described above, and will be described again below in connection with this preferred embodiment. In one particularly preferred embodiment where the pulses applied to the red LED 106 and the infrared LED 108 are idealized rectangular waves having 25% duty cycles, the value of HWD can be calculated to be 1.414213562. This ideal value for HWD can be determined by recognizing that the value of the coefficient A for the cos 2 ωt terms in Equations 16 and 18 is determined by the sine function. When the coefficient of the cos ωt term is normalized to 1, as in the two equations, then the value of the coefficient a is equal to √{square root over (2/2)}. Thus, the ideal value for B (i.e., HWD) is √{square root over (2)}. Of course, the actual value of the coefficient B, and thus HWD, will vary when the red pulses and the infrared pulses are not true rectangular waves. Since, in actual embodiments, the pulses will have finite rise times and fall times, the optimum value of HWD is preferably found empirically in the manner described below.
The value 18.5 in Equations 32 and 33 is used to align the demodulation waveforms with the modulation waveforms so that the peak of the cosine functions corresponds to the midpoints of each of the modulation waveforms. The value HWΔ is a hardware delay factor which may be needed in certain embodiments to compensate for delays in the analog processing, the digital processing or both, which cause the demodulation signals D1(t) and D2(t) to be out of phase with the modulation signals M1(t) and M2(t). In an ideal environment, the value of the hardware delay factor is 0. However, in one particularly preferred embodiment, the value of the hardware delay factor is 39. The modulus was described above and is basically the number of steps in each period of the waveforms. In the embodiment described herein, the modulus is 148. The value R is the RESIDUE, which varies from 0 to modulus-1, and thus, in the preferred embodiment, R varies from 0 to 147.
In operation, the clock signal on the line 312 causes the modulo-M block 350 to generate the RESIDUE signal, as described above. The RESIDUE value is applied to the LED modulation block 104 which generates the modulation signals M1(t) and M2(t), as described above. The RESIDUE value is also applied to the LED demodulation state table block 352 which generates a new value for D1(t) and a new value for D2(t) for each new RESIDUE value. Thus, 148 values of D1(t) and D2(t) are generated for each complete cycle. Because the clock signal is operating at 46,875 Hz, the modulation signals M1(t) and M2(t) and the demodulation signals D1(t) and D2(t) have a fundamental frequency of 316.722973 Hz, which, as discussed above, does not correspond to any harmonic of conventional 50 Hz or 60 Hz power line frequencies.
The HWΔ (hardware delay factor) value, the HWD (hardware distortion factor) value and the SCL (scaling factor) value are found empirically as follows. First, the ideal values of the hardware delay factor, the hardware distortion factor and the scale factor are applied to the Equations 32 and 33 in the LED demodulation state table block 352 (i.e., HWΔ=0, HWD=1.414213562, and SCL=2221441469). To determine the optimum value of the hardware delay factor, the second modulation signal M2(t) is set to a constant value of zero (i.e., the infrared LED is maintained in its OFF state). The red LED pulses are applied as set forth above, and the digital detector output signal from the analog-to-digital converter is monitored and compared to the modulation signal M1(t). The relative delay between the beginning of the modulation signal M1(t) and the detection of the beginning of the responsive output from the analog-to-digital converter is the optimum hardware delay factor (HWΔ) value. In one exemplary embodiment, the optimum value of the hardware delay factor is 39.
After determining the value of the hardware delay factor and applying it to Equations 32 and 33, the ideal value of the hardware distortion factor and the ideal value of the scale factor are applied to the two equations. Again, with the red LED pulses applied to the red LED 106 and no pulses applied to the infrared LED, the value of the hardware distortion factor is slowly varied from its ideal value while the DC component of the demodulated infrared signal output on the line 342 is monitored. The value of the hardware distortion factor is varied until the measured DC component is minimized, and the value of the hardware distortion factor corresponding to the minimal DC component is selected as the optimum value for the hardware distortion factor.
Next, with the value of the hardware delay factor and the value of the hardware distortion factor set to their respective optimum values, as determined above, the value of the scale factor (SCL) is initially set to 1. Again, with the modulation system generating pulses only to the red LED 106, the DC component of the demodulated red signal output on the line 340 is measured. In addition, the difference in amplitude between the on state and the off state of the digital detector signal from the filter 198 is measured. The ratio of the measured amplitude difference to the measured DC component of the demodulated red signal output is selected as the optimum value for the scale factor.
An exemplary demodulation waveform D1(t) is illustrated by a waveform 400 in
Although described above in connection with the variation of the amplitude of the first harmonic component of the demodulation signals in order to minimize the crosstalk, it should be understood that the relative amplitude of the second harmonic component of the demodulation signals with respect to the amplitude of the fundamental component of the demodulation signals is determined by the relationship of the amplitude of the first harmonic component of the modulation signals to the amplitude of the fundamental component of the modulation signals. The relationship of the amplitude of the first harmonic component of the modulation signals depends in part upon the duty cycles of the modulation signals. If the modulation duty cycles are varied, the amplitude of the first harmonic component of the modulation signals changes. Thus, the crosstalk may also be minimized by holding the amplitudes of the components of the demodulation signals constant while varying the duty cycles of the modulation signals. One skilled in the art will appreciate that other variations in the modulation and demodulation signals may also be used to minimize the crosstalk between the two output signals.
A plurality of signals S1, S2, S3 . . . Sn can be demodulated and the crosstalk between signals reduced to a minimum by application of the foregoing invention to more. than two signals.
Additional information can advantageously be derived from the digitized detection signal on the bus 314 and can be used to provide indications regarding the reliability of the demodulated signals generated as described above. In particular, although the present system is capable of demodulating the Ŝ1(t) signal and the Ŝ2(t) signal in the presence of significant ambient noise from light and other sources, it is possible that the level of the ambient noise is sufficiently high to affect the demodulated signals.
As illustrated in
As illustrated in
As illustrated in
It is desirable to detect when the noise floor is too high so that the pulse oximetry system can indicate that the demodulated signals may not be reliable. In order to determine the level of the noise floor, the present invention samples the spectra 550 to determine the content of the frequency components detected at frequencies other than the fundamental and harmonic frequencies of the modulation signals. In particular, as illustrated by a sample control signal 560 in
The intensities at the sampled frequencies are averaged, and an output signal is generated which represents the average intensity of the noise signals. Other portions (not shown) of the digital processing system advantageously monitor the average intensity of the noise signals, and, if the average intensity exceeds a selected threshold based upon the size of the measured plethysmograph, then the demodulated output signals from the system are considered as being unreliable and should not be used.
The embodiment of
For convenience, the previous embodiments do not show the signal MF(k) being decimated before demodulation. However, as discussed in more detail below, the signal MF(k) can advantageously be decimated prior to demodulation. The pre-demodulation decimation technique can reduce the computational burden required to perform the demodulation operations, primarily because the decimated sample rate is lower than the original (undecimated) sample rate. Computation can also be reduced because, as will be seen, the numerical sequences used in the demodulator are, in some circumstances, shorter than the sequences given in Equations 32 and 33. Pre-demodulation decimation is a generalization of the previous embodiments and reduces to the previous embodiments when the pre-demodulation decimation rate is one.
M(t)=S1(t)M1(t)+S2(t))M2(t)). (34)
The output signal M(t) from the adder 194 is provided to an adder 196 where a signal n(t) is added to the signal M(t). The signal n(t) represents a composite noise signal caused by ambient light (including DC and harmonics of the power line frequency), electromagnetic pickup, and the like, which are also detected by the photodetector 150. In addition, the signal n(t) may also include noise at higher frequencies caused, for example, by other devices such as electrocauterization equipment, or the like. The output of the adder 196 is a signal M′(t)=M(t)+n(t) which includes noise components as well as the signal components.
The M′(t) signal output of the adder 196 (i.e., the output of the detector 150) is applied to the input of a signal processing block 1600. Within the signal processing block 1600, the signal M′(t) is first passed through the amplifier 197 and then through the analog bandpass filter 198. The analog bandpass filter 198 provides anti-aliasing and removal of low frequency noise and DC. The filter 198 has a passband selected to pass signals in the preferred range of 20 Hz to 10,000 Hz. The analog bandpass filter 198 removes a significant portion of the noise below 20 Hz. The signal components responsive to the blood oxygen saturation are frequency shifted by the operation of the two modulation signals M1(t) and M2(t) and are passed by the analog bandpass filter 198.
In one embodiment, the output of the analog bandpass filter 198 is sampled by the analog-to-digital converter 199 and converted therein to digital signals. In one embodiment, the signals are sampled at 46,875 samples per second. The digital signals from the analog-to-digital converter 199 are provided as inputs to a lowpass digital filter 1620. Output signals from the digital filter 1620 are provided to a sample rate compression block 1622 that reduces (compresses) the sample rate by a decimation rate R1. The lowpass digital filter 1620 and sample rate compressor 1622 together comprise a decimator 1621 (decimation comprises lowpass filtering followed by sample rate compression). The digital filter 1620 provides anti-aliasing filtering and the sample rate compression block 1622 preferably operates at a sampling rate of at least twice the highest frequency of interest as determined by the digital filter 1.620. In one embodiment, the sample rate compression block 1622 reduces the sample rate by a factor of R1=37, corresponding to the number of samples during the period τ as illustrated in
The signal MF(k) is provided as a first input to a first mixer 1624. The signal MF(k) is also provided as a first input to a second mixer 1626. A first demodulating signal D1(k) is provided as a second input to the first mixer 1624, and a second demodulating signal D2(k) is provided as a second input to the second mixer 1626. The output of the first mixer 1624 is provided as an input to a first lowpass filter 1630, and the output of the second mixer is provided as an input to a second lowpass filter 1640. The bandwidths of the lowpass filters 1630, 1640 are preferably approximately 10 Hz. The signal MF(k) is also provided as a first input to a noise channel mixer 1628. A noise demodulating signal Do(k) is provided as a second input to the noise channel mixer 1628. The output of the low pass filter 1650 is provided to a sample rate compression block 1652. The output of the sample rate compression block 1652 is an estimate of the noise n(t). The output of the lowpass filters 1630 is provided to an input of a sample rate compressor 1632 and the output of the lowpass filter 1640 is provided to an input of a sample rate compressor 1642. The lowpass filter 1630 and the sample rate compressor 1632 together comprise a decimator 1631. The lowpass filter 1640 and the sample rate compressor 1642 together comprise a decimator 1641,
The output of the decimator 1631 is a signal Ŝ1(k), which, as discussed below, is an estimate of the signal S1(k). The output of the decimator 1641 is a signal Ŝ1(k), which, as discussed below, is an estimate of the signal S2(k). As will be shown below, the selection of the first demodulating signal D1(k) and the second demodulating signal D2(k) in accordance with the present invention can reduce or eliminate the effects of noise in the two output signals Ŝ1(k) and Ŝ2(k) and also reduce or eliminate crosstalk between the two signals.
The decimators 1632, 1642 decimate by a decimation rate R2. In a preferred embodiment, the decimators 1632, 1642 decimate by a decimation rate R2=20 to a sample rate of, for example, 63.3 Hz to provide a decimated output which can be further processed in accordance with the methods and apparatuses described in the above-referenced patents. The decimations which occur in the decimators 1632, 1642 reduce the rate at which the output signals Ŝ1(k) and Ŝ2(k) need to be processed while maintaining the sample rate well above the 10 Hz frequency content of the signals of interest. The outputs of the decimators 1632, 1642 are provided on respective output lines 1634 and 1644.
Decimating the signal MF(k) prior to demodulation, although not an approximation technique, can be simplified by assuming that each desired signal S1(t) does not change appreciably during each period τ. In many applications it is reasonable to assume that the desired signals S1(t) and S2(t) will not change significantly during the time interval t shown in
Assuming R1=Q, then the spectral domain representation of the signal MF(k) at the output of the sample rate compression block 1622 is given by (approximately):
Since the sample rate compression block 1622 decimates at the same rate as the number of samples per period τ, the decimation removes any t dependence in the expression for MF(f). The frequency components indexed by m increase four times faster than the frequency components indexed by n. This occurs because the modulated signals S1 (t)) and S2(t), which are indexed by n, occur in only one fourth of the samples, but the noise n(t), which is indexed by m, occurs in every sample.
The demodulation operation can be performed either in the frequency or the time domain. A method for frequency domain demodulation of the signal MF(k) can be obtained by rewriting Equation 35 as:
MF(f)= . . . MF−2(f)+MF−1(f)+MFo(f)+MF1(f)+MF2(f)+ . . . (36)
where
MF
−2(f)=[S1(f)+S2(f)]/T
MF
−1(f)=[S1(f)−S2(f)]/T
MF
o(f)=[S1(f)+S2(f)+S2(f)+4n′(f)]/T
MF
1(f)=[S1(f)−S2(f)]/T
MF
2(f)=[S1(f)−S2(f)]/T
MF
3(f)=[S1(f)−S2(f)]/T
MF
4(f)=[S1(f)+S2(f)+S2(f)+4n′(f)]/T (37)
Where n′(k) is the decimated noise signal n(t). Estimates for the signal S1(f) can be obtained by shifting the spectra of MF1(f) and MF2(f) by −1/T and −2/T, respectively, and then dividing the sum of the resultant by 2. Likewise, S2(f) can be obtained by dividing the difference of the resultant spectra by 2. In other words:
Ŝ
1(f)=MF1(f−1/T)+MF2(f−2/T)
Ŝ
2(f)=MF1(f−1/T)+MF2(f−2/T) (38)
Demodulation in the time domain is a more elegant method for obtaining S1(k) and S2(k). Time domain demodulation is obtained by using the frequency shift property of the Fourier transform given by:
F(ω+ωoe−jωo
According to Equation 39, the frequency domain terms MF1(f) are related by a time shift in the time domain and this property can be used to generate the demodulation sequences D0-D2. A more complete development of this process (for the general case of N channels) is provided in Equations 42-50 below and in the text accompanying those equations. For the present case, where N=2, using equations 42-50 gives:
D
0(k)=0,1,0,1, . . .
D
1(k)=1,−0.5,0,−0.5, . . .
D
2(k)=0,−0.5,1,−0.5, . . . (40)
The sequences shown in Equation 40 are repeating sequences of the four values shown. Thus, the demodulation waveforms are no more than short repeating sequences of simple coefficients. Since the samples MF(k) are time domain sequences, demodulation simply involves multiplying the samples MF(k) by the sequences in Equation 40. For example, the sequence of coefficients D0(k)=(0, 1, 0, 1, . . . ) is provided to the multiplier 1628 to demodulate the signal MF(k) and produce the estimate of n(k). Similarly, the sequence of coefficients D1(k)=(1, −0.5, 0, −0.5, . . . ) is provided to the multiplier 1624 to demodulate the signal MF(k) and produce the estimate of S1(k).
The two-channel pre-demodulation decimation technique described in the previous section can be extended to multi-channel systems having more than two desired signals.
The photodetector 150 is modeled as an adder 194 and an adder 196. The outputs of the modulators 191, 193, 1701, and 1703 are added together in the adder 194, to generate a composite signal M(t) where:
M(t)=S1(t)M1(t)+S2(t)M2(t)+S3(t)M3(t)+ . . . +SN(t)MN(t) (41)
The signal M(t) from the adder 194 is provided to the adder 196 where the signal M(t) is added to the signal n(t) which represents a composite noise signal caused by ambient light, electromagnetic pickup, and the like, which are also detected by the photodetector 150. The output of the adder 196 is the signal M′(t)=M(t)+n(t), which includes the noise components as well as the signal components.
The M′(t) signal output of the adder 196 (i.e., the output of the detector 150) is applied to the input of the signal-processing block 1700. Within the signal-processing block 1700, the signal M′(t) is first passed through an amplifier 197 and then through the analog bandpass filter 198. The analog bandpass filter 198 provides anti-aliasing and removal of low frequency noise and DC. The desired signal components in the signals S1(t) are frequency shifted by the operation of the modulation signals M1(t) and are passed by the analog bandpass filter 198.
The output of the analog bandpass filter 198 is sampled by the analog-to-digital converter 199 and converted therein to digital signals and provided to an input of the lowpass digital filter 1620. Output signals from the digital filter 1620 are provided to a sample rate compression block 1622, which reduces the sample rate by a decimation factor R1. Together, the digital filter 1620 and the sample rate compression block 1622 comprise a decimator 1621. The output of the sample rate compression block 1622 is a signal MF(k). The signal MF(k) is provided as: the first input to the first mixer 1624; the first input to the second mixer 1626; a first input to a third mixer 1710; a first input to an Nth mixer 1712; and a first input to a noise channel mixer 1713. A first demodulating signal D1(k) is provided as a second input to the first mixer 1624. A second demodulating signal D2(k) is provided as a second input to the second mixer 1626. A third demodulating signal D3(k) is provided to the third mixer 1710. A fourth demodulating signal DN(k) is provided to the Nth mixer 1712. A noise demodulating signal Do(k) is provided to the noise channel mixer 1713. The outputs of the mixers 1624, 1626, 1710, 1712, and 1713 are provided as respective inputs of the lowpass filters 1630, 1640, 1720, 1730, and 1740, The outputs of the lowpass filters 1630, 1640, 1720, 1730, and 1740 are provided as respective inputs of the decimators 1632, 1642, 1721, 1731 and 1741. Each of the decimators 1632, 1642, 1721, 1731 and 1741 reduces the sample rate by a decimation rate R2.
The output of the sample rate compressor 1632 is a signal Ŝ1(k), which, as discussed below, is an estimate of the signal S1(k). Likewise, the output of the sample rate compressor 1642 is an estimate of S2(t), the output of the sample rate compressor 1721 is an estimate of the signal S3(t), the output of the sample rate compressor 1731 is an estimate of the signal SN(t), and the output of the sample rate compressor 1741 is an estimate of the signal n(t).
As will be shown below, the selection of the demodulating signals Di(t) for i=O . . . N in accordance with the present invention can substantially reduce or eliminate the effects of noise in the output signals Ŝ1(k) and n(k), and can also substantially reduce or eliminate crosstalk between the signals.
As shown in
S(k)=M1(k)S1(k)+M2(k)S2(k)+M3(k)S3(k)++MN(k)SN(k)+n(k) (42)
Using the symbol * to denote the convolution operator, the terms Mi(k) are given by:
(where δ(k) is the Kröneker delta function, which is 1 for k=0, and 0 for all other values of k), and
After the pre-demodulation and sample rate compression stage 1622, which decimates by a factor Q, the signal in the frequency domain is given approximately by
The demodulator sequences are then given by:
The post demodulation lowpass filters 1630, 1640, 1720, 1730 and 1740, and the post demodulation sample rate compression stages 1632, 1642, 1721, 1731 and 1741 suppress high frequency artifacts which are produced by the modulation/demodulation process. Note that Equation 49 reduces to Equation 40 for N=2.
The multi-channel pre-demodulation decimation technique described in the previous section can be extended to an adaptive multi-channel system having an adjustable pre-demodulation decimation rate and an adjustable post-demodulation decimation rate.
The photodetector 150 is modeled as an adder 194 and an adder 196. The outputs of the modulators 191, 193, 1701, and 1703 are added together in the adder 194, to generate a composite signal M(t) where:
M(t)=S1(t)M1(t)+ . . . +SN(t)MN(t) (51)
The signal M(t) from the adder 194 is provided to the adder 196 where the signal M(t) is added to the signal n(t) which represents a composite noise signal caused by ambient light, electromagnetic pickup, and the like, which are also detected by the photodetector 150. The output of the adder 196 is the signal M′(t)=M(t)+n(t), which includes noise components as well as the signal components.
The M′(t) signal output of the adder 196 (i.e., the output of the detector 150) is applied to the input of the signal processing block 1800. Within the signal processing block 1800, the signal M′(t) is first passed through. the amplifier 197 and then through the analog bandpass filter 198. The analog bandpass filter 198 provides anti-aliasing and removal of low frequency noise and DC. The desired signal components in the signals S1(t) are frequency shifted by the operation of the modulation signals M1(t) and are passed by the analog bandpass filter 198.
The output of the analog bandpass filter 198 is sampled by the analog-to-digital converter 199 and converted therein to digital signals and provided to an input of a decimation block 1820. The adaptive decimation block 1820 comprises a digital lowpass filter and a sample rate compressor that reduces the sample rate by the decimation rate R1. The filter coefficients and decimation rate R1 are provided to a control input of the adaptive decimation block 1820 by an output of an adaptive algorithm block 1850. Equation 35 assumes that the decimation rate R1 is equal to Q. However, in general, the value of Q may be different than the decimation rate R1. The output of the adaptive decimation block 1820 is a signal MF(k).
The signal MF(k) is provided to the first input of the first mixer 1624, to the first input of the Nth mixer 1712, and to the first input of the noise channel mixer 1713. A first demodulating signal D1(k) is provided to a second input of the first mixer 1624 from a signal generator 1841. The fourth demodulating signal DN(k) is provided to the Nth mixer 1712 from an output of a signal generator 1831. The noise demodulating signal DN(k) is provided to the noise channel mixer 1713 from an output of a signal generator 1832. A control input to each of the signal generators 1831, 1832, and 1841 is provided by the output of the adaptive algorithm 1850. In yet another embodiment, the adaptive algorithm 1850 may also be controlled by other signal processing elements downstream of the signal processor 1800.
The outputs of the mixers 1713, 1624, and 1712 are provided as respective inputs to adaptive decimation blocks 1840, 1830, and 1834 respectively. Each of the adaptive decimation blocks 1840, 1830, and 1834 has a control input provided by the output of the adaptive algorithm block 1850. The output of the adaptive decimation block 1.840 is an estimate of the signal n(t) and it is provided to an input of the adaptive algorithm block 1850. In an alternate embodiment, the signal estimates Ŝi(k) are also provided to the adaptive algorithm block 1850.
An output of the decimator 1830 is a signal Ŝ1(k), which, as discussed above, is an estimate of the signal S1(k) Likewise, the output of the decimation block 1834 is an estimate of the signal SN(t). As shown above, the selection of the demodulating signals Di(t) for i=0 . . . N in accordance with the present invention substantially reduces or eliminates the effects of noise in the output signals Ŝi(k) and n(k), and also substantially reduces or eliminates crosstalk between the signals.
As shown in
S(k)=M1(k)S1(k)++MN(k)SN(k)+n(k) (52)
Each of the adaptive decimators 1820, 1840, 1830, and 1834 comprises a digital 5 lowpass filter and a sample rate compressor. The characteristics of the digital lowpass filters (e.g., the number of filter coefficients and values of the filter coefficients) and the sample rate compression factor of each adaptive decimator is provided to a control input of the adaptive decimator. The control inputs are driven by an adaptive algorithm 1850. The signal generators 1831, 1832 and 1841 generate the demodulation sequences for the demodulators 1624, 1712, and 1713 respectively. The demodulation sequences produced by the signal generators 1831, 1832 and 1841 are controlled by the adaptive algorithm 1850.
The adaptive algorithm adjusts the pre-demodulation decimation rate R1 (in the adaptive demodulator 1820), and the post-demodulation decimation rate R2 (in the adaptive demodulators 1830,1834 and 1840) according to the noise in the noise estimate n(k)1746 and (optionally) according to the signals Ŝi(k). The product R1R2 is the total decimation rate from the signal S(k) at the output of the AID converter 199 to the signals Ŝi(k) at the output of the signal processing block 1800. The adaptive algorithm may adjust R1 and R2 such that the product R1R2 varies, or the adaptive algorithm may adjust R1 and R2 such that the product R1R2 is substantially constant. Typically, the adaptive algorithm will keep the R1R2 product constant so that the signal processing blocks downstream of the signal processor 1800 will operate at a substantially constant sample rate.
Typically, each of the signal generators 1841, 1831 and 1832 generates a repeating sequence of numbers. The number of elements in the sequence is a function of the decimation factor R1. As discussed above in connection with
The adaptive algorithm selects R1, R2, and the filter transfer functions in the adaptive decimators 1820, 1830, 1834, and 1840 to improve the quality of the output signals Ŝi(k). For example, in high ambient noise environments, the higher order harmonics of the output signals are often contaminated by ambient noise (as discussed in connection with
Conversely, in low ambient noise environments, the higher order harmonics of the output signal are less contaminated by ambient noise, and thus the higher order harmonics may be demodulated. In one embodiment, to demodulate the higher order harmonics, the adaptive demodulator 1850 can set R1=37 and set R2=1, to demodulate according to the method described in connection with
One skilled in the art will recognize that the examples in the preceding two paragraphs are merely two points on a continuum and that the adaptive algorithm 1850 can generate many desirable solutions on the continuum.
In the pulse oximeter, one of the major contributors to the noise signal n(t) is ambient light that is detected by the photodetector 150. One aspect of the present invention advantageously provides a method for choosing the modulation sampling rate fs and the factor Q so that the effects of ambient light can be removed by the post demodulation filtering and decimation stages. Note that Q is the number of samples during the on period (i.e., modulation signal sample turn on time Q) and is preferably also the decimation rate R1 for the pre-demodulation sample rate compressor 1622 (in general the values of Q and R1 may be different). The particular embodiment described by Equation 35 assumes that the value Q is also used as decimation rate R1 for the pre-demodulation decimator 1820.
In the system shown in
T−4Q/fs (53)
where f is the sample rate. Defining the two line equations
where
f
a=line frequencies of concern
n=line frequency harmonic numbers of concern (55)
then the effects due to ambient light will be minimized when
|y(fa,n|≧SBF
|z(fa,n|≧SBF (56)
where SBF is the stop band frequency of the post demodulation and decimation stages (e.g., the 10 Hz lowpass filter 1630 and the sample rate compressor 1632, etc.).
For example, given power line frequencies of 50±1 Hz and 60±1 Hz then the range of fa is given by approximately the union of the interval 49-51 Hz and the interval 59-61 Hz, which can be expressed mathematically as:
f
a≈[49,51]∪[59,61] (57)
Assuming that all harmonics up to the 18th harmonic are to be suppressed, then n=1 . . . 18. In a preferred embodiment, using these values for fa and n, application of the method in
The process leading to Equation 57 is illustrated graphically by
In the preferred embodiment of the present invention, the hardware described above is implemented in a digital signal processor and associated circuitry. The LED modulation block 104 and the LED demodulation state table block 352 comprise algorithms implemented by program code executed by the digital signal processor. In addition, the configuration variables, such as for example, the hardware delay value, the hardware distortion value and the hardware scale value are provided as inputs to the digital signal processor when it is set up. For example, the main operating program of the digital signal processor may be stored in non-volatile ROM or PROM, and the variables may be stored in flash memory during a setup procedure. Techniques for communicating to and from a digital signal processor during such setup procedures axe well known to persons of skill in the art, and will not be described in detail herein. For example, the configuration bus 310, discussed above, represents a communication path to the flash memory during such a setup procedure. The data provided to the configuration bus 310 may be provided by a system operator (not shown) or the data may be provided from look-up tables (not shown) maintained for different embodiments of the LEDs 106, 108 and the detector 150.
Although described above in connection with a pulse oximetry system wherein a parameter to be measured is the attenuation of red and infrared light passing through a portion of a subject's body; it should be understood that the method and apparatus described herein can also be used for other measurements where two or more signals are passed through a system to be analyzed. In particular, the present invention can be used to demodulate two combined parametric signals responsive to the system to be analyzed where the two parametric signals have a predetermined timing relationship between them, as described herein.
One skilled in the art will recognize that the lowpass filters provided in connection with the decimation blocks may provide other filter functions in addition to lowpass filtering. Thus, for example, the lowpass filters 1620, 1622, 1630, 1640, 1650, 1720, 1730, and 1740, and the decimators 1820, 1830, 1834, and 1840 may provide other filter functions (in addition to lowpass filtering) such as, for example, bandpass filtering, bandstop filtering, etc. Moreover, the post-demodulation decimation rate R2 need not be the same for each output channel. Thus, for example, in
Although described above in connection with a particular embodiment of the present invention, it should be understood the description of the embodiment is illustrative of the invention and are not intended to be limiting. Various modifications and applications may occur to those skilled in the art without departing from the true spirit and scope of the invention as defined in the appended claims.
This application is a continuation of U.S. application Ser. No. 14/269,606, filed May 5, 2014, entitled “Method and Apparatus for Demodulating Signals in a Pulse Oximetry System,” which is a continuation of U.S. application Ser. No. 13/437,800 (now U.S. Pat. No. 8,718,737), filed Apr. 2, 2012, entitled “Method and Apparatus for Demodulating Signals in a Pulse Oximetry System,” which is a continuation of U.S. application Ser. No. 11/750,930 (now U.S. Pat. No. 8,150,487), filed May 18, 2007, entitled “Method And Apparatus for Demodulating Signals In A Pulse Oximetry System,” which is a continuation of U.S. application Ser. No. 11/311,213 (now U.S. Pat. No. 7,221,971), filed Dec. 19, 2005, entitled “Method And Apparatus For Demodulating Signals In A Pulse Oximetry System,” which is a continuation of U.S. application Ser. No. 10/700,324 (now U.S. Pat. No. 7,003,339), filed Nov. 3, 2003, entitled “Method And Apparatus For Demodulating Signals In A Pulse Oximetry System,” which is a divisional of U.S. application Ser. No. 09/735,960 (now U.S. Pat. No. 6,643,530) filed Dec. 13, 2000, entitled “Method And Apparatus For Demodulating Signals In A Pulse Oximetry System,” which is a divisional of U.S. application Ser. No. 09/058,799 (now U.S. Pat. No. 6,229,856) filed Apr. 10, 1998, entitled “Method And Apparatus For Demodulating Signals In A Pulse Oximetry System,” which is a continuation-in-part of U.S. application Ser. No. 09/005,898 (now U.S. Pat. No. 5,919,134) filed Jan. 12, 1998, entitled “Method And Apparatus For Demodulating Signals In A Pulse Oximetry System,” which claims priority from U.S. Provisional Application No. 60/043,620, filed Apr. 14, 1997. The foregoing are all incorporated by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
60043620 | Apr 1997 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09735960 | Dec 2000 | US |
Child | 10700324 | US | |
Parent | 09058799 | Apr 1998 | US |
Child | 09735960 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14269606 | May 2014 | US |
Child | 15166788 | US | |
Parent | 13437800 | Apr 2012 | US |
Child | 14269606 | US | |
Parent | 11750930 | May 2007 | US |
Child | 13437800 | US | |
Parent | 11311213 | Dec 2005 | US |
Child | 11750930 | US | |
Parent | 10700324 | Nov 2003 | US |
Child | 11311213 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09005898 | Jan 1998 | US |
Child | 09058799 | US |