Method and apparatus for calibration to reduce coupling between signals in a measurement system

11672447 · 2023-06-13

Assignee

Inventors

Cpc classification

International classification

Abstract

A method and an apparatus for separating a composite signal into a plurality of signals is described. A signal processor receives a composite signal and separates a composite signal into separate output signals. Feedback from one or more of the output signals is provided to a configuration module that configures the signal processor to improve a quality of the output signals. In one embodiment, calibration data from multiple calibration data sets is used to configure the demodulation of the composite signal into separate output signals.

Claims

1. An apparatus for measuring one or more blood constituents in a subject, said apparatus comprising: a first signal source which applies a first input signal during a first time interval; a second signal source which applies a second input signal during a second time interval; a third signal source which applies a third input signal during a third time interval; a detector which detects a first parametric signal responsive to said first input signal passing through a portion of said subject having blood therein, a second parametric signal responsive to said second input signal passing through said portion of said subject, and a third parametric signal responsive to said third input signal passing through a portion of said subject having blood therein, said detector generating a detector output signal responsive to said first, second, and third parametric signals; and a signal processor which receives said detector output signal, said signal processor configured to demodulate said detector output signal by applying a first demodulation signal to a signal responsive to said detector output signal to generate a first demodulator output signal, applying a second demodulation signal to said signal responsive to said detector output signal to generate a second demodulator output signal, and applying a third demodulation signal to said signal responsive to said detector output signal to generate a third demodulator output signal, said signal processor configured to select said first demodulation signal, said second demodulation signal and said third demodulation signal to reduce crosstalk between said first, second, and third demodulator signals using, at least in part, first and second calibration data, wherein said first calibration data comprises calibration data wherein said first signal source, said second signal source, and said third signal source are operated singly during a normal operation period, and wherein said second calibration data comprises calibration data wherein said first signal source, said second signal source, and said third signal source are not operated.

2. An apparatus for measuring one or more parameters in a subject, said apparatus comprising: four or more sources; at least one detector configured to sense electromagnetic radiation produced by said four or more sources, an output of said at least one detector comprising a detector signal; and a signal processor which receives said detector output signal, said signal processor configured to demodulate said detector output signal by applying a first demodulation signal to a signal responsive to said detector output signal to generate a first demodulator output signal, applying a second demodulation signal to said signal responsive to said detector output signal to generate a second demodulator output signal, and applying a third demodulation signal to said signal responsive to said detector output signal to generate a third demodulator output signal, said signal processor configured to select said first demodulation signal, said second demodulation signal and said third demodulation signal to reduce crosstalk between said first, second, and third demodulator signals using, at least in part, calibration data, wherein said calibration data is obtained, at least in part, by activating said four or more sources according to a set of activation patterns, wherein the number of activation patterns is greater than the number of sources in said four or more sources.

3. The apparatus of claim 2, wherein said activation patterns comprise a first set of patterns wherein each of said four or more sources is activated singly, and a second set of patterns wherein each of said four or more sources is deactivated singly.

4. The apparatus of claim 2, wherein said activation patterns comprise patterns wherein each of said four or more sources is activated one at a time.

5. The apparatus of claim 2, wherein said activation patterns comprise patterns wherein each of said four or more sources is de-activated one at a time.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The present invention will be described below in connection with the accompanying figures.

(2) FIG. 1 is a block diagram of a multi-channel processing system that uses feedback from one or more outputs to configure the operation of a signal separator that separates a composite signal into a plurality of output signals.

(3) FIG. 2 is a block diagram of a two-channel signal processing system to determine blood oxygen saturation in a subject, wherein illumination is provided by back-to-back Light-Emitting Diodes (LEDs).

(4) FIG. 3 is a block diagram of a multi-channel signal processing system to determine blood constituents (e.g., oxygen saturation) in a subject, wherein illumination is provided by N diodes or illumination sources.

(5) FIG. 4 is a block diagram of a specific embodiment of the multi-channel processing system of FIG. 1.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

(6) FIG. 1 shows a topology of a multi-channel measurement or communication system 100. The system 100 has a signal combiner 103 for combining one or more input signals S.sub.1 . . . S.sub.N into a composite signal and a signal separator 104 for separating the composite signal into one or more output signals Ŝ.sub.1 . . . Ŝ.sub.M The output signals Ŝ.sub.1 . . . Ŝ.sub.M can include estimates of the input signals S.sub.1 . . . S.sub.N. The input signals S.sub.1 . . . S.sub.N are corrupted by pre-combination distortion 101-102 respectively, and optionally, by combination distortion in the signal combiner 103. The combiner 103 combines the N input signals into a composite signal (or composite signals). The combiner 103 can combine signals by addition, subtraction, multiplication, division, modulation, non-linear processes, linear processes, estimation, combinations thereof, etc. The composite signal is provided through a communication channel to the separator 104. The composite signal is distorted by communication channel distortion 110. The separator 104 separates the composite signal into M output signals, where M can be less than N, greater than N, or equal to N. In one embodiment, the separator also provides one or more additional output signals {circumflex over (n)}.sub.0 . . . {circumflex over (n)}.sub.K corresponding to estimates of other signals, such as, for example, noise signals, error signals, etc.

(7) Due to errors in the system 100, the output signals Ŝ.sub.1 . . . Ŝ.sub.M are typically not exact copies of the input signals, but rather are estimates of the input signals. The accuracy of these estimates is a measure of system performance. The pre-combination distortion 101-102, the combiner distortion, and/or the channel distortion 110 tend to introduce crosstalk between the channels and thereby corrupt the output signals. The pre-combination distortion 101-102, combiner distortion, and the channel distortion 110 can be caused by variations in manufacturing tolerances, delay, movement, temperature effects, degradation of components due to age or other factors, noise, etc.

(8) A module 105 is provided to configure the separator 104 to improve the quality of the separation function and thereby improve the quality of the output signals. One or more of the output signals from the separator are provided to the module 105 to provide feedback regarding the quality of the output signals and/or feedback regarding the operation of the separator 104. The module 105 uses feedback from one or more of the output signals Ŝ.sub.1 . . . Ŝ.sub.M (and, optionally, the output signals {circumflex over (n)}.sub.0 . . . {circumflex over (n)}.sub.K) to monitor the quality of the separation function and to provide control information to control the operation of the separator. In one embodiment, the module 105 is configured by using configuration data obtained from the combiner 103. Such configuration data can be obtained by calibration procedures that test the operation of the combiner 103 before or during system use.

(9) In one embodiment, the module 105 configures demodulators in the signal separator 104 using, at least in part, calibration data obtained during a calibration period. For example, in one embodiment involving a two channel system, the calibration data includes first and second calibration data corresponding to the first and second output signals during a first time period, and third and fourth calibration data corresponding to the first and second demodulated output signals during a second time period. In one embodiment, the second transmitter is turned off during the first time period, and the first transmitter is turned off during the second time period. In one embodiment, the module 105 configures the first demodulation signal and the second demodulation signal by adjusting initial parameters that define the first demodulation signal and the second demodulation signal. The configuration module adjusts the initial parameters using, at least in part, the calibration data obtained during a calibration period.

(10) FIG. 2 is a block diagram of a two-channel signal processing system 200 that fits the general topology shown in FIG. 1. The system 200 is configured to determine one or more blood constituents in a subject, such as, for example, a human subject. In the example presented, the measurements are performed on a portion of the subject, such as a finger 202. An LED modulation circuit 204 drives a pair of back-to-back light emitting diodes (LEDs) 206, 208 by applying a periodic signal to the two light emitting diodes 206, 208. Light from the diodes 206, 208 passes through the finger 202 and is detected by a detector 250. An output from the detector 250 is provided to a signal processing block 270. A control output from the signal processing block 270 is provided to the LED modulation circuit 204. The signal processing block 270 also provides outputs Ŝ.sub.1 and Ŝ.sub.2 corresponding to the light detected from the diodes 206, 208, and, optionally, output signals {circumflex over (n)}.sub.0 . . . {circumflex over (n)}.sub.K corresponding to estimates of noise or other signals.

(11) In one embodiment, the LED 206 is selected to emit electromagnetic energy in the red visible light range, and has a wavelength of, for example, approximately 660 nanometers. The LED 208 is selected to emit electromagnetic energy in the infrared range, and has a wavelength of, for example, approximately 905 nanometers. The LED modulation circuit 204 supplies current to activate the LEDs 206 and 208. Each LED is activated for a time period τ which can be different for the different LEDs. The pulses from the LEDs 206 and 208 repeat with a periodicity T.

(12) FIG. 3 is a block diagram of a multi-channel signal processing system 300 that also fits the topology shown in FIG. 1. Like the system 200, the system 300 is configured to determine blood oxygen saturation or other blood constituents in a subject, such as, for example, a human subject. In FIG. 3, an LED modulation circuit 314 drives N diodes, where N is two or greater, thus allowing greater flexibility than the system 200. In FIG. 3, the diodes 206 and 208 are shown, along with an N'th diode 309, it being understood that the diode 309 is omitted if N=2. The LED modulation circuit 314 is configured to allow the diodes 206, 208, and 309 to be driven independently such that the diodes can be driven at separate times or in overlapping time periods if desired. Light from the diodes 206, 208, 309 passes through the finger 202 and is detected by the detector 250. The output from the detector 250 is provided to a signal processing block 371. A control output from the signal processing block 371 is provided to the LED modulation circuit 314. The signal processing block 371 also provides outputs S.sub.1 through S.sub.M, where M is greater than or equal to one, but need not be equal to N.

(13) FIG. 4 shows one embodiment of an adjustable multi-channel modulator/demodulator system 400. The system 400 is based on the topology of the system 100 and can be used in a system for measuring blood constituents (e.g., pulse oximetry, carboxyhemoglobin, etc.) as shown in FIGS. 2 and 3. In the system 400, an input S.sub.1(t) and a modulation input M.sub.1(t) are provided to a first modulator 491. A signal input S.sub.N(t) and a modulation input M.sub.N(t) are provided to an N.sup.th modulator 402.

(14) The photodetector 250 is modeled as an adder 405. The outputs of the modulators 491 and 402 are added together in the adder 405, in the presence of noise n(t) to generate a composite signal M(t) where:
S(t)=S.sub.1(t)M.sub.1(t)+ . . . +S.sub.N(t)M.sub.N(t)+n(t)  (1)

(15) The S(t) signal output of the adder 405 (i.e., the output of the detector 250) is applied to the input of a signal-processing block 410. Within the signal-processing block 410, the signal S(t) is passed through an amplifier 497 and through an analog bandpass filter 498. The analog bandpass filter 498 provides anti-aliasing and removal of low frequency noise and DC. The desired signal components in the signals S.sub.i(t) are frequency shifted by the operation of the modulation signals M.sub.i(t) and are passed by the analog bandpass filter 498.

(16) The output of the analog bandpass filter 498 is sampled by an analog-to-digital converter 499 and converted therein to digital signals and provided to an input of an optional decimation block 420.

(17) The filtered (and, optionally, decimated) signal S(t) is sampled to produce a sampled-data signal S(k) that is provided to the first input of the first mixer 424, to the first input of the N'th mixer 412, and to the first input of a noise channel mixer 413. A first demodulating signal D.sub.1(k) is provided to a second input of a first mixer 424 from a signal generator 431. The N.sup.th demodulating signal D.sub.N(k) is provided to an N.sup.th mixer 412 from an output of a signal generator 432. The noise demodulating signal D.sub.0(k) is provided to the noise channel mixer 413 from an output of a signal generator 441. A control input to each of the signal generators 431, 432, and 441 is provided by the output of the adjuster algorithm 450. In yet another embodiment, the adjuster algorithm 450 may also be controlled by other signal processing elements downstream of the signal processor 400.

(18) The outputs of the mixers 413, 424, and 412 are provided as respective inputs to decimation blocks 440, 430, and 434 respectively. Each of the decimation blocks 440, 430, and 434 has a control input provided by the output of the adjuster algorithm block 450. The output of the decimation block 440 is an estimate of the signal n(t) and it is provided to an input of the adjuster algorithm block 450. In an alternate embodiment, the signal estimates Ŝ.sub.i(k) are also provided to the adjuster algorithm block 450.

(19) An output of the decimator 430 is a signal Ŝ.sub.1(k), which, as discussed above, is an estimate of the signal S.sub.1(k) (where S.sub.1(k) corresponds to a sampled-data representation of S.sub.1(t)). Likewise, the output of the decimation block 434 is an estimate of the signal S.sub.N(t). As shown above, the selection of the demodulating signals D.sub.i(t) for i=0 . . . N in accordance with the present invention substantially reduces or eliminates the effects of noise in the output signals Ŝ.sub.i(k) and n(k), and also substantially reduces or eliminates crosstalk between the signals.

(20) When the system 400 is used in connection with a blood constituent measurement system as shown in FIGS. 2 and 3, the red LED 206 provides a light intensity represented as I.sub.RD, and the infrared LED 208 provides a light intensity represented as I.sub.IR. The effects of turning the LEDs 206, 208 on and off on a periodic bases are modeled by the first multiplier or modulator 290 which applies a first modulation signal M.sub.1(t) to the red light intensity to generate a modulated red signal I.sub.RDMOD(t) and by a second multiplier the modulator 292 which applies a second modulation signal M.sub.2(t) to the infrared light intensity to generate a modulated infrared signal I.sub.IRMOD(t). The modulated light red signal and the modulated infrared signal are applied to the finger 202, or other body portion, as described above. The blood in the finger 202 has a volume and scattering components, which vary throughout each cardiac cycle. The blood carries oxygen and other materials therein. The oxygen content is a function of both the blood volume and the concentration of the oxygen in the blood volume. The concentration of the oxygen in the blood volume is generally measured as blood oxygen saturation for reasons which are described in full in U.S. Pat. Nos. 5,482,036 and 5,490,505, both of which are hereby incorporated by reference in their entirety. As further described in the two referenced patents, the blood oxygen saturation is determined by comparing the relative absorption of the red light and the infrared light in the finger 202. The comparison is complicated by the noise caused by movement, ambient light, light scattering, and other factors. The signals S.sub.1(t) and S.sub.2(t) represent the effect of the time-varying volume and scattering components of the blood in the finger 202 on the red light and the infrared light, respectively, passing through the finger 202 from the LEDs 206, 208 to the detector 250.

(21) As shown in FIG. 4, a set of N+1 signals S.sub.i[k] i=1 . . . N, and n(k) are sampled at a desired sample rate. The signals are combined according to the formula:
S(k)=M.sub.1(k)S.sub.1(k)+ . . . +M.sub.N(k)S.sub.N(k)+n(k)  (2)

(22) In one embodiment, each of the decimators 420, 440, 430, and 434 includes a digital lowpass filter and a sample rate compressor. In one embodiment, 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 decimator are fixed. In one embodiment, the characteristics of the digital lowpass filters (e.g., the number of filter coefficients or values of the filter coefficients) and the sample rate compression factor of each decimator are provided by the adjustment algorithm 450. The signal generators 431, 432 and 441 generate the demodulation sequences for the demodulators 424, 412, and 413 respectively. The demodulation sequences produced by the signal generators 431, 432 and 441 are controlled by the adjuster algorithm 450.

(23) In one embodiment, the adjuster algorithm 450 adjusts the pre-demodulation decimation rate R.sub.1 (in the demodulator 420), and the post-demodulation decimation rate R.sub.2 (in the demodulators 430, 434 and 440) according to the noise in the noise estimate {circumflex over (n)}(k) and (optionally) according to the signals Ŝ.sub.i(k). The product R.sub.1R.sub.2 is the total decimation rate from the signal S(k) at the output of the A/D converter 499 to the signals Ŝ.sub.i(k) at the output of the signal processing block 400. The adjuster algorithm may adjust R.sub.1 and R.sub.2 such that the product R.sub.1R.sub.2 varies, or the adjuster algorithm may adjust R.sub.1 and R.sub.2 such that the product R.sub.1R.sub.2 is substantially constant. Typically, the adjuster algorithm will keep the R.sub.1R.sub.2 product constant so that the signal processing blocks downstream of the signal processor 400 will operate at a substantially constant sample rate.

(24) In one embodiment, the adjuster algorithm 450 adjusts the demodulation signals D.sub.i(k) to reduce or eliminate crosstalk. In one embodiment, the adjuster algorithm 450 reduces crosstalk by configuring the demodulators, as discussed in more detail below.

(25) One skilled in the art will recognize that the lowpass filters provided in connection with the decimation blocks can provide other filter functions in addition to lowpass filtering. Thus, for example, the lowpass filters 420, 430, 440, and 450, and the decimators 420, 430, 434, and 440 can provide other filter functions (in addition to lowpass filtering) such as, for example, bandpass filtering, bandstop filtering, etc. Moreover, the post-demodulation decimation rate R.sub.2 need not be the same for each output channel. Thus, for example, in FIG. 4, the decimator 440 can have a first decimation rate R.sub.2=r.sub.1 while the decimators 430 and 434 have a second decimation rate R.sub.2=r.sub.2.

(26) The demodulators above are described in terms of digital signal processing on sampled data. Thus, the demodulator signals are written D.sub.i(k). The demodulators and the filtering associated with the demodulators can be done in using analog processing (using time-domain demodulator signals D.sub.i(t)) or on sampled data signals (using digital-domain demodulator signals D.sub.i(k)). For convenience, the following development describes the demodulator signals primarily in the time domain, with the understanding that the modulators can be implemented using digital signal processing or analog processing.

(27) The characteristics of the demodulation signals D.sub.1(t) and D.sub.2(t) affect how much crosstalk is seen in the output signals. In an diagonal system, that is, when the demodulator has been diagonalized, there is, ideally, no crosstalk. The first output signal Ŝ.sub.1(t) is an estimate (or approximation) to the signal S.sub.1(t). Similarly, the second output signal Ŝ.sub.2 (t) is an estimate (or approximation) to the signal S.sub.2(t). When the composite signal S(t) is a linear combination of the signals S.sub.i(t), then the relationship between the signals S.sub.1(t) and the signals Ŝ.sub.i(t). When M.sub.1=cos ωt, M.sub.2=sin ωt, n(t)=0, and there is no distortion (e.g., no pre-combination, combiner, or channel distortion) then:

(28) S ( t ) = S 1 ( t ) cos ω t + S 2 ( t ) sin ω t ( 3 ) Then : S ^ 1 ( t ) = LP [ D 1 ( t ) S ( t ) ] ( 4 ) S ^ 2 ( t ) = LP [ D 2 ( t ) S ( t ) ] ( 5 ) If : D 1 ( t ) = 2 cos ω t ( 6 ) D 2 ( t ) = 2 sin ω t ( 7 ) then D 1 ( t ) S ( t ) = 2 S 1 cos 2 ω t + 2 S 2 ( t ) sin ω t cos ω t = S 1 ( t ) - S 1 ( t ) cos 2 ω t + S 2 ( t ) sin 2 ω t ( 8 ) After lowpass filtering to remove the terms with a frequency of 2 ωt and higher

(29) S ˆ 1 ( t ) = S 1 ( t ) ( 9 ) Similarly for S ˆ 2 ( t ) = L P [ D 2 ( t ) S ( t ) ] ( 10 ) then D 2 ( t ) S ( t ) = 2 S 1 ( t ) sin ω t cos ω t + 2 S 2 ( t ) sin 2 ω t = S 2 ( t ) - S 2 ( t ) cos 2 ω t + S 1 ( t ) sin 2 ω t ( 11 ) After lowpass filtering to remove the terms with a frequency of 2 ωt
Ŝ.sub.2(t)=S.sub.2(t)  (12)

(30) In the above analysis, it was assumed that there are no time delays or phase shifts in the signal S(t), and thus, configuration is relatively straightforward.

(31) When an unknown delay (or phase error) is introduced, then the signals are no longer diagonal. Consider, for example, the situation when a delay Δ is introduced into the composite signal. Then:
S(t)=cos ω(t−Δ)S.sub.1(t−Δ)+sin ω(t−Δ)S.sub.2(t−Δ)
It then follows that:

(32) S ˆ 1 ( t ) = LP [ 2 cos ω t ( cos ω ( t - Δ ) S 1 ( t - Δ ) + sin ω ( t - Δ ) S 2 ( t - Δ ) ) ] = LP [ 2 cos ω t ( cos ω t cos ωΔ + sin ω t sin ωΔ ) S 1 ( t - Δ ) ] + LP [ 2 cos ω t ( sin ω t cos ωΔ - cos ω t sin ωΔ ) S 2 ( t - Δ ) ] = cos ωΔ S 1 ( t - Δ ) - sin ωΔ S 2 ( t - Δ ) The above equations can be expressed in matrix form as:

(33) [ S ˆ 1 ( t ) S ˆ 2 ( t ) ] = [ cos ωΔ - sin ωΔ sin ωΔ cos ωΔ ] [ S 1 ( t - Δ ) S 2 ( t - Δ ) ] ( 13 ) Then [ S 1 ( t - Δ ) S 2 ( t - Δ ) ] = [ cos ωΔ sin ωΔ - sin ωΔ cos ωΔ ] [ S ˆ 1 ( t ) S ˆ 2 ( t ) ] ( 14 ) The above equation can be expressed as

(34) [ S 1 ( t - Δ ) S 2 ( t - Δ ) ] = [ cos ωΔ sin ωΔ - sin ωΔ cos ωΔ ] .Math. LP [ D 1 ( t ) S ( t ) D 2 ( t ) S ( t ) ] = LP [ [ cos ωΔ sin ωΔ - sin ωΔ cos ωΔ ] [ D 1 ( t ) D 2 ( t ) ] S ( t ) ] = LP [ [ D _ 1 ( t ) D _ 2 ( t ) ] S ( t ) ] where ( 15 ) D ¯ 1 ( t ) = cos ωΔ D 1 ( t ) + sin ωΔ D 2 ( t ) = 2 cos ωΔ cos ω t + 2 sin ωΔ sin ω t
and similarly for D.sub.2(t). Thus the modified demodulation functions D.sub.1(t) and D.sub.2(t) can be expressed as a linear combination of basis functions. If the time delay Δ can be predicted, then the demodulator functions can be calculated and programmed into the communication system. However, in many cases the time delay Δ is not known or changes over time. As described below, the demodulator functions can be determined by system calibration procedures.

(35) When an unknown phase shift (or phase error) is introduced, then there may be crosstalk in the system. Consider, for example, the situation when a phase error ϕ.sub.1 occurs in the signal S.sub.1(t) and a phase error ϕ.sub.2 occurs in the signal S.sub.2(t). The phase errors can be caused by intrinsic properties of the components, intrinsic properties of the system, component variations, time delays, etc. In the presence of the phase errors:

(36) D 1 ( t ) S ( t ) = 2 A 1 S 1 ( t ) sin ( ω t + ϕ 1 ) sin ω t + 2 A 2 S 2 ( t ) cos ( ω t + ϕ 2 ) sin ω t = 2 A 1 S 1 ( t ) sin ω t [ sin ω t cos ϕ 1 + cos ω t sin ϕ 1 ] + 2 A 2 S 2 ( t ) sin ω t [ cos ω t cos ϕ 2 + sin ω t sin ϕ 2 ] = A 1 S 1 ( t ) cos ϕ 1 - A 1 S 1 ( t ) cos ϕ 1 cos 2 ω t + A 1 S 1 ( t ) sin ϕ 1 sin 2 ω t + A 2 S 2 ( t ) cos ϕ 2 sin 2 ω t - A 2 S 2 ( t ) sin ϕ 2 + A 2 S 2 ( t ) sin ϕ 2 cos 2 ω t ( 16 ) Thus, after lowpass filtering
Ŝ.sub.1(t)=A.sub.1S.sub.1(t)cos ϕ.sub.1−A.sub.2S.sub.2(t)sin ϕ.sub.2  (17) The above equation shows crosstalk because Ŝ.sub.1(t) depends in part on components of S.sub.2(t) when A.sub.2≠0 and ϕ.sub.2≠nπ where n=0, ±1, ±2 . . . . Similarly,
Ŝ.sub.2(t)=A.sub.1S.sub.1(t)sin ϕ.sub.1+A.sub.2S.sub.2(t)cos ϕ.sub.2  (18) The above equations can be expressed in matrix form as:

(37) [ S ˆ 1 ( t ) S ˆ 2 ( t ) ] = [ A 1 cos ϕ 1 - A 2 sin ϕ 2 A 1 sin ϕ 1 A 2 cos ϕ 2 ] [ S 1 ( t ) S 2 ( t ) ] ( 19 ) After inversion

(38) [ S 1 ( t ) S 2 ( t ) ] = 1 cos ( ϕ 1 - ϕ 2 ) [ cos ϕ 2 A 1 sin ϕ 1 A 1 - sin ϕ 2 A 2 cos ϕ 1 A 2 ] [ S ˆ 1 ( t ) S ˆ 2 ( t ) ] ( 20 ) [ S 1 ( t ) S 2 ( t ) ] = 1 cos ( ϕ 1 - ϕ 2 ) [ cos ϕ 2 A 1 sin ϕ 1 A 1 - sin ϕ 2 A 2 cos ϕ 1 A 2 ] [ D 1 ( t ) D 2 ( t ) ] S ( t ) ( 21 ) Then [ S 1 ( t ) S 2 ( t ) ] = [ D ¯ 1 ( t ) D ¯ 2 ( t ) ] S ( t ) ( 22 ) Where D.sub.i(t) are modified demodulation functions, given by:

(39) [ D _ 1 ( t ) D ¯ 2 ( t ) ] = 1 cos ( ϕ 1 - ϕ 2 ) [ cos ϕ 2 sin ω t + sin ϕ 1 cos ω t A 1 - sin ϕ 2 sin ω t + cos ϕ 1 cos ω t A 2 ] ( 23 ) The modified demodulation functions have the form

(40) 0 D _ i ( t ) = .Math. j = 1 N α j Φ j ( t ) ( 24 )

(41) Choosing the coefficients α.sub.j to eliminate crosstalk configures the modulator.

(42) In one embodiment, the coefficients α.sub.j can be fixed coefficients computed using known properties of the system. However, as system properties change over time, such fixed coefficients may lead to unacceptably high levels of crosstalk. Moreover, variations from device to device may cause the fixed coefficients to give unacceptably high levels of crosstalk.

(43) Higher performance (that is, lower crosstalk) can be obtained by computing the coefficients as part of a system calibration or initialization procedure. Such calibration can be performed during system startup (e.g., when the system is turned on, or when the system begins processing data, etc.) and/or at regular intervals. In one embodiment, the adjuster algorithm 450 computes the coefficients α.sub.j from the calibration data. In one embodiment, the coefficients α.sub.j are chosen by making four calibration-type measurements to measure four parameters ξ.sub.11, ξ.sub.12, ξ.sub.21, and ξ.sub.22, where:
ξ.sub.11.sub.1|.sub.S.sub.1.sub.=A,S.sub.2.sub.=0=Aa.sub.1 cos ϕ.sub.1  (25)
ξ.sub.12.sub.1|.sub.S.sub.1.sub.=0,S.sub.2.sub.=B=−Ba.sub.2 sin ϕ.sub.2  (26)
ξ.sub.21.sub.2|.sub.S.sub.1.sub.=A,S.sub.2.sub.=0=Aa.sub.1 sin ϕ.sub.1  (27)
ξ.sub.22.sub.2|.sub.S.sub.1.sub.=0,S.sub.2.sub.=B=Ba.sub.2 cos ϕ.sub.2  (28)
where A and B are amplitudes. Then

(44) a 1 = ξ 1 1 2 + ξ 2 1 2 A ( 29 ) a 2 = ξ 1 2 2 + ξ 2 2 2 B ( 30 ) tan ϕ 1 = ξ 2 1 ξ 11 ( 31 ) tan ϕ 2 = - ξ 1 2 ξ 2 2 ( 32 )

(45) From the above equations, it is evident that crosstalk depends only on ϕ.sub.1 and ϕ.sub.2. Moreover, ϕ.sub.1 and ϕ.sub.2 can be chosen to eliminate crosstalk without knowing A or B. This is useful for systems such as pulse oximetry systems where absolute measurements of a channel are difficult or impractical, but where relative measurements (e.g., channel-to-channel measurements) are practical.

(46) The demodulation signals D.sub.i(t) can be generated using the values of ϕ.sub.1 and ϕ.sub.2 from the above equations. Alternatively, the demodulation signals D.sub.i(t) can be generated from quadrature components as:
D.sub.i(t)=b.sub.11 sin ωt+b.sub.12 cos ωt  (33)
D.sub.2(t)=b.sub.21 sin ωt+b.sub.22 cos ωt  (34)
where the coefficients b.sub.ij are computed from ϕ.sub.1 and ϕ.sub.2.

(47) In one embodiment, the demodulation functions are adapted from baseline coefficients, which are then improved through a calibration or initialization procedure to produce actual coefficients. The baseline coefficients are typically obtained from known properties of the system. The actual coefficients are usually relatively close in value to the baseline coefficients. This provides one way to assess the operational status of the system and to evaluate the calibration procedure. In one embodiment, if the actual coefficients are too different from the baseline parameters then it is assumed that the calibration procedure failed in some manner or that the equipment has failed in some manner, and appropriate measures can be taken (e.g., alert the operator, sound a warning, etc.)

(48) To find the actual coefficients, the demodulation functions are initially given by:
D.sub.1(t)=α.sub.11 sin ωt+α.sub.12 cos ωt  (35)
D.sub.2(t)=α.sub.21 sin ωt+α.sub.22 cos ωt  (36)

(49) Where the coefficients α.sub.ij are the baseline coefficients determined from known or assumed properties of the signal S(t). For example, in one embodiment α.sub.ij=δ.sub.ij. In one embodiment, where initial estimates are available for ϕ.sub.1 and ϕ.sub.2, then the values of α.sub.ij can be computed as discussed above.

(50) The crosstalk reduction obtained using demodulation functions based on the coefficients α.sub.ij can often be improved by computing new coefficients α.sub.ij and corresponding new demodulation functions D.sub.i(t) where:
D.sub.1(t)=α.sub.11 sin ωt+α.sub.12 cos ωt  (37)
D.sub.2(t)=α.sub.21 sin ωt+α.sub.22 cos ωt  (38)

(51) The process of finding the coefficients α.sub.ij begins by measuring two data sets, x.sub.1(t) and x.sub.2(t), as follows:
x.sub.1(t)=S(t)|.sub.S.sub.1.sub.=A,S.sub.2.sub.=0  (39)
x.sub.2(t)=S(t)|.sub.S.sub.1.sub.=0,S.sub.2.sub.=B  (40) The data sets x.sub.1(t) and x.sub.2(t) are used to enforce the following constraint:

(52) 0 nT x i ( t ) D _ i ( t ) d = 0 ( 41 )
where i=1, 2, n=1, 2, 3 . . . , and T is a time period corresponding to one complete modulation cycle. From the above constraint and the definitions of the demodulation functions, it follows that:

(53) α ¯ 1 1 0 nT x 1 ( t ) sin ω t d t + α ¯ 1 2 0 nT x 1 ( t ) cos ω tdt = 0 ( 42 ) α ¯ 2 1 0 nT x 2 ( t ) sin ω tdt + α ¯ 2 2 0 nT x 2 ( t ) cos ω tdt = 0 ( 43 ) It is convenient to define

(54) γ 1 1 = 0 nT x 1 ( t ) sin ω tdt ( 44 ) γ 1 2 = 0 nT x 1 ( t ) cos ω tdt ( 45 ) γ 2 1 = 0 nT x 2 ( t ) sin ω tdt ( 46 ) γ 2 2 = 0 nT x 2 ( t ) cos ω tdt ( 47 )
and to define

(55) β ij = γ ij [ .Math. k γ ik 2 ] 1 / 2 ( 48 ) where .Math. k β ik 2 = 1 Then ( 49 ) α ¯ 1 1 β 1 1 + α ¯ 1 2 β 1 2 = 0 ( 50 ) α ¯ 2 1 β 2 1 + α ¯ 2 2 β 2 2 = 0 ( 51 )

(56) In one embodiment, to reduce crosstalk, it is desired to find the coefficients α.sub.ij closest (in the sense of minimizing some specified error, such as, for example, a least squared error) to the coefficients α.sub.ij such that the above constraints are satisfied. One solution, obtained by minimizing the least squared error is:

(57) α _ ij = α ij - ( .Math. k α ik β ik ) β ij ( 52 )

(58) The term in parentheses can be described as the baseline crosstalk.

(59) One of ordinary skill in the art will recognize that optimization methods other than least squares can be used. The solution methods for configuration are, for simplicity, described above in terms of a two-channel system. Using the above teachings, the extension to multi-channel systems is straightforward.

(60) In one embodiment, systems with more than two channels can be calibrated using data from multiple calibration data sets. The calibration data sets can use different combinations of sources and/or different activation patterns of sources to provide additional information for calibration. Thus for example, in one embodiment, calibration measurements are obtained by activating the sources one at a time (with the other sources off) and calibration measurements are also obtained by deactivating one source at a time (with the other sources on). Both sets of calibrations measurements can then be used (in whole or in part) to calculate demodulation information.

(61) In one such procedure for a system with 8 sources, data sets x.sub.1-x.sub.16 are obtained using the following activation patterns as follows:

(62) x 1 = LED 1 on ( others off ) x 2 = LED 2 on ( others off ) .Math. x 8 = LED 8 on ( others off ) x 9 = LED 1 off ( others on ) x 10 = LED 2 off ( others on ) .Math. x 16 = LED 8 off ( others on ) Then using the functions:

(63) ϕ 2 j , k = sin ( 2 π f j k T + HW j ) 2 j + 1 , k = cos ( 2 π f j k T + HW j ) where HW.sub.j are hardware coefficients (such as, for example, known delays in the system), and f.sub.j are the modulation frequencies, then the ζ matrix can be computed as

(64) ς i , j = .Math. k = 1 # points x i , k ϕ j , k Ϛ = [ ς 1 , 1 .Math. .Math. ς 1 , 8 .Math. .Math. ς 8 , 1 ς 8 , 8 .Math. .Math. ς 16 , 1 .Math. .Math. ς 16 , 8 ]                   2 .Math. order                   } 2 order + 1 Then, under the assumption that the number of channels is equal to 2 time the order, to compute the demodulation coefficients for channel j′ the Λ matrix can be computed as:

(65) 0 Λ = [ ς 1 , 1 .Math. ς 1 , 8 .Math. .Math. ς 8 , 1 .Math. ς 8 , 8 ς 8 + j , 1 .Math. ς 8 + j , 8 ]                   2 .Math. order                   } 2 order + 1 The QR decomposition of Λ returns Q and R matrices where: Q is (2×order+1)×(2×order+1) R is (2×order+1)×(2×order) Define
j=1 . . . 8=2×order
k=1 . . . 8=2×order
A.sub.j,k=R.sub.j,k b.sub.k=Q.sub.j′,k←j'th row but only 2×order values Then calculate {right arrow over (β)} where

(66) β 2 .Math. order = b 2 .Math. order A 2 .Math. order , 2 .Math. order and for i=2.Math.order−1, . . . , 1

(67) β i = ( b i - .Math. j = i + 1 2 .Math. order A i , j β j ) A i , i After normalizing {right arrow over (β)} by

(68) β ˆ = β .fwdarw. .Math. "\[LeftBracketingBar]" β .fwdarw. .Math. "\[RightBracketingBar]" Then the new demodulation coefficient vectors are given by:
{circumflex over (α)}.sub.j=({right arrow over (α)}.sub.j.Math.{circumflex over (β)}){circumflex over (β)}.sub.j where {right arrow over (α)}.sub.j are the baseline and/or previous demodulation coefficient vectors. To test crosstalk for the j.sup.th channel, compute

(69) ξ k = .Math. = 1 2 .Math. order ς k , α ˆ
(where {circumflex over (α)} corresponds to the j.sup.th channel) if k≤2.Math.order then: when the j.sup.th channel is on:

(70) c r o s s t a l k k j = 20 log ( ξ k ξ j ) when the j.sup.th is channel off

(71) c r o s s t a l k k j + 2 .Math. order = 2 0 log ( ξ k + 2 .Math. order ξ j + 2 .Math. order )

(72) The example above uses 8 sources by way of example and not by way of limitation. One of ordinary skill in the art will further recognize that other combinations and activation patterns can be used as well. For example, in one embodiment calibration measurements are obtained using activation patterns sources (LEDs) when less than half of the sources are activated, and calibration measurements are obtained using combinations when more than half of the sources are activated. With N sources, up to 2.sup.N different combinations of activation patterns are possible using the N sources. Thus, one of ordinary skill in the art will recognize that in various embodiments, the demodulation coefficients can be calculated using calibration data from many different activation patterns of activated and deactivated sources. Further, in the above example, the number of channels was equal to 2 times the order. One of ordinary skill in the art will recognize that the above analysis can also be used whenever number of channels is less than or equal to 2×order.

(73) 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. 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. The invention can be used in connection with various physiological parameter measurement systems, such as, for example, systems that measure blood constituents, blood oxygen carboxyhemoglobin, methemoglobin, glucose, etc. 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.