# US 6,280,391 B1 · Method and apparatus for removing baseline wander from an egg signal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,280,391 B1
- Document ID: US6280391B1
- Status: Granted
- Kind: B1
- Application number: 09/246,625
- Filed: 1999-02-08
- Granted: 2001-08-28
- Earliest claimed: 1999-02-08
- Assignees: Physio-Control Manufacturing Corporation
- Inventors: Dana J. Olson; Dennis R. Seguine
- Web page: https://patentgrep.com/patent/US6280391B1

## CPC

- H03H 17/06: Non-recursive filters
- A61B 5/308: for electrocardiography [ECG]
- H03H 17/02: Frequency selective networks {(digital computers for complex mathematical operations G06F17/10)}
- H03H: IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS (waveguides, resonators, lines or other devices of the waveguide type H01P)
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)

## Abstract

A baseline wander filter (BWF) with linear phase response for an ECG signal measuring system includes two cascaded box car FIR filters to estimate the baseline wander. The cascaded box car filters form, in effect, a triangular FIR filter that generates a weighted sliding window average of the input samples to serve as the estimated baseline wander. The estimated baseline wander samples generated by the BWF are then subtracted from the corresponding input ECG samples. The boxcar filters can be designed to avoid multiplication by adding the samples and dividing the resulting sum by the number of coefficients. By choosing the number of coefficients as a power of two, binary division can be performed by shifting the bits of the resulting sum to the right. Accordingly, the present invention avoids the relatively large computational load of conventional FIR filter-based systems. The BWF can be implemented in software in which each boxcar filter uses an accumulator data structure that generates the sum of the previous N samples. When adding the next sample to the sum, it subtracts the Nth previous sample. The output sample of the BWF is equal to the value in the sum buffer, appropriately shifted.

## Claims

### Claim 1

A method of removing baseline wander from a sensed ECG signal, the method comprising:
receiving a plurality of input ECG samples taken from the sensed ECG signal;
filtering the plurality of input ECG samples with a triangular finite impulse response (FIR) filter, wherein the filtered input ECG samples serve as a plurality of estimated baseline wander samples;
delaying the plurality of input ECG samples with a delay circuit, wherein the delayed input ECG samples serve as a plurality of delayed input ECG samples; and
subtracting an estimated baseline wander sample of the plurality of the estimated baseline wander samples from a delayed input ECG sample from the plurality of delayed input ECG samples, the difference serving as an output ECG sample.

### Claim 2 (depends on 1)

The method of claim 1 wherein filtering the plurality of input ECG samples with a triangular FIR filter comprises:
filtering the plurality of input ECG samples with a first boxcar filter (BCF), wherein the filtered plurality of input ECG samples serves as a plurality of intermediate samples; and
filtering the plurality of intermediate samples with a second BCF, the filtered plurality of intermediate samples serves as the plurality of estimated baseline wander samples.

### Claim 3 (depends on 2)

The method of claim 2 wherein filtering the plurality of input ECG samples with the first BCF comprises:
adding an Ath input ECG sample of the plurality of input ECG samples to a first sum and subtracting a (A−N)th input ECG sample of the plurality of input ECG samples from the first sum, wherein the first sum represents the sum of the Ath, (A−1)th, . . . (A−N+1)th input ECG samples of the plurality of input ECG samples, A and N being positive integers, A being greater than N; and
dividing the first sum by N to provide an intermediate sample of the plurality of intermediate samples.

### Claim 4 (depends on 3)

The method of claim 3 wherein filtering the plurality of intermediate samples with the second BCF comprises:
adding a Ãth intermediate sample of the plurality of intermediate samples to a second sum and subtracting a (Ã−N)th intermediate sample of the plurality of intermediate samples from the second sum, wherein the second sum represents the sum of the Ãth, (Ã−1)th, . . . (Ã−N+1)th intermediate samples of the plurality of intermediate samples, Ã being a positive integer greater than N; and
dividing the second sum by N to provide an estimated baseline wander sample of the plurality of estimated baseline wander samples.

### Claim 5 (depends on 4)

The method of claim 4 wherein the delay circuit provides a delay of N+1 cycles.

### Claim 6 (depends on 5)

The method of claim 5 wherein N is equal to 1024.

### Claim 7

A filter for removing baseline wander from a sensed ECG signal, the filter comprising:
a triangular finite impulse response (FIR) filter, wherein the triangular FIR filter is configured to filter the plurality of input ECG samples, the filtered input ECG samples serving as a plurality of estimated baseline wander samples;
a delay circuit coupled to receive the plurality of input ECG samples, wherein the delay circuit is configured to delay the plurality of ECG input samples, the delayed input ECG samples serving as a plurality of delayed input ECG samples; and
a logic circuit coupled to the triangular FIR filter and the delay circuit, wherein the logic circuit is configured to subtract an estimated baseline wander sample of the plurality of the estimated baseline wander samples from a delayed input ECG sample from the plurality of delayed input ECG samples, the difference serving as an output ECG sample.

### Claim 8 (depends on 7)

The filter of claim 7 wherein the triangular FIR filter comprises:
a first boxcar filter (BCF) configured to filter the plurality of input ECG samples, wherein the filtered plurality of input ECG samples serves as a plurality of intermediate samples; and
a second BCF configured to filter the plurality of intermediate samples, the filtered plurality of intermediate samples serves as the plurality of estimated baseline wander samples.

### Claim 9 (depends on 8)

The filter of claim 8 the first BCF is further configured to:
add an input ECG sample of the plurality of input ECG samples to a first sum and subtract a (A−N)th input ECG sample of the plurality of input ECG samples from the first sum, wherein the first sum represents the sum of the Ath, (A−1)th, . . . (A−N+1)th input ECG samples of the plurality of input ECG samples, A and N being positive integers, A being greater than N; and
divide the first sum by N to provide an intermediate sample of the plurality of intermediate samples.

### Claim 10 (depends on 9)

The filter of claim 9 wherein the second BCF is further configured to:
add an Ãth intermediate sample of the plurality of intermediate samples to a second sum and subtracting an (Ã−N)th intermediate sample of the plurality of intermediate samples from the second sum, wherein the second sum represents the sum of the Ãth, (Ã−1)th, . . . (Ã−N+1)th intermediate samples of the plurality of intermediate samples, Ã being a positive integer greater than N; and
divide the second sum by N to provide an estimated baseline wander sample of the plurality of estimated baseline wander samples.

### Claim 11 (depends on 10)

The filter of claim 10 wherein the delay circuit provides a delay of N+1 cycles.

### Claim 12 (depends on 11)

The filter of claim 11 wherein N is equal to 1024.

### Claim 13 (depends on 7)

The filter of claim 7 wherein the filter is implemented in software.

### Claim 14

A defibrillator configured to measure a patient's ECG signal in conjunction with providing a defibrillation pulse, the defibrillator comprising:
a pair of electrodes configured to be coupled to the patient;
a signal acquisition and digitizing circuit coupled to the pair of electrodes; and
an ECG measuring system coupled to the signal acquisition and digitizing circuit, the ECG measuring system including:
a triangular finite impulse response (FIR) filter, wherein the triangular FIR filter is configured to filter the plurality of input ECG samples, the filtered input ECG samples serving as a plurality of estimated baseline wander samples,
a delay circuit coupled to receive the plurality of input ECG samples, wherein the delay circuit is configured to delay the plurality of ECG input samples, the delayed input ECG samples serving as a plurality of delayed input ECG samples, and
a logic circuit coupled to the triangular FIR filter and the delay circuit, wherein the logic circuit is configured to subtract an estimated baseline wander sample of the plurality of the estimated baseline wander samples from a delayed input ECG sample from the plurality of delayed input ECG samples, the difference serving as an output ECG sample.

### Claim 15 (depends on 14)

The defibrillator of claim 14 wherein the triangular FIR filter comprises:
a first boxcar filter (BCF) configured to filter the plurality of input ECG samples, wherein the filtered plurality of input ECG samples serves as a plurality of intermediate samples; and
a second BCF configured to filter the plurality of intermediate samples, the filtered plurality of intermediate samples serves as the plurality of estimated baseline wander samples.

### Claim 16 (depends on 15)

The defibrillator of claim 15 the first BCF is further configured to:
add an input ECG sample of the plurality of input ECG samples to a first sum and subtract a (A−N)th input ECG sample of the plurality of input ECG samples from the first sum, wherein the first sum represents the sum of the Ath, (A−1)th, . . . (A−N+1)th input ECG samples of the plurality of input ECG samples, A and N being positive integers, A being greater than N; and
divide the first sum by N to provide an intermediate sample of the plurality of intermediate samples.

### Claim 17 (depends on 16)

The defibrillator of claim 16 wherein the second BCF is further configured to:
add an Ãth intermediate sample of the plurality of intermediate samples to a second sum and subtracting an (Ã−N)th intermediate sample of the plurality of intermediate samples from the second sum, wherein the second sum represents the sum of the Ãth, (Ã−1)th, . . . (Ã−N+1)th intermediate samples of the plurality of intermediate samples, Ã being a positive integer greater than N; and
divide the second sum by N to provide an estimated baseline wander sample of the plurality of estimated baseline wander samples.

### Claim 18 (depends on 17)

The defibrillator of claim 17 wherein the delay circuit provides a delay of N+1 cycles.

### Claim 19 (depends on 18)

The defibrillator of claim 18 wherein N is equal to 1024.

### Claim 20 (depends on 14)

The defibrillator of claim 14 further comprising a plurality of electrodes, in addition to the pair of electrodes, coupled to the signal acquisition and digitizing circuit.
