# US 2004/0073125 A1 · Method and apparatus for a morphology-preserving smoothing filter

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

- Number: US 2004/0073125 A1
- Document ID: US20040073125A1
- Status: Published application
- Kind: A1
- Application number: 10/663,920
- Filed: 2003-09-16
- Published: 2004-04-15
- Earliest claimed: 2000-07-27
- Assignees: Cardiac Pacemakers, Inc.
- Inventors: Eric G. Lovett; Robert J. Sweeney
- Web page: https://patentgrep.com/patent/US20040073125A1

## CPC

- H03H 21/0043: {Adaptive algorithms}
- A61B 5/308: for electrocardiography [ECG]
- A61B 5/346: Analysis of electrocardiograms
- A61B 5/7203: {for noise prevention, reduction or removal}
- H03H 17/026: {Averaging filters}
- A61N 1/3956: {Implantable devices for applying electric shocks to the heart, e.g. for cardioversion}
- 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)
- A61N: ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY (measurement of bioelectric currents A61B; surgical instruments, devices or methods for transferring non-mechanical forms of energy to or from the body A61B18/00; anaesthetic apparatus in general A61M; incandescent lamps H01K; infrared radiators for heating H05B)

## Abstract

A method and apparatus for implementing a signal morphology preservation smoothing scheme. The smoothing scheme includes generating an output signal representative of a filtered version of the input signal, wherein the output signal is generated by adaptively removing low amplitude, high frequency noise components while simultaneously preserving signal morphology of the input signal. The smoothing scheme includes comparison of a distance metric against a distance threshold to determine whether an initial smoothed version of the input signal would be oversmoothed or undersmoothed. Then the smoothing scheme appropriately increments, decrements, or maintains the initial level of smoothing to generate an optimal smoothed signal representative of the output signal.

## Claims

### Claim 1

A method for filtering an input signal, comprising:
applying a portion of the input signal to a plurality of filters to produce a plurality of filtered signal portions of varying smoothness;
comparing the plurality of filtered signal portions to the portion of the input signal to generate a plurality of deviations;
comparing one or more of the plurality of deviations to a maximum deviation limitation to select one of the plurality of filtered signal portions, the selected one filtered signal portion having a deviation less than the maximum deviation limitation; and
generating an output signal representative of a smoothed version of the input signal from a combination of a plurality of successive selected one filtered signal portions which substantially preserve morphology of the input signal.

### Claim 2 (depends on 1)

The method of claim 1, wherein the input signal is a physiologic signal.

### Claim 3 (depends on 2)

The method of claim 2, wherein the input signal is a cardiac signal.

### Claim 4 (depends on 1)

The method of claim 1, wherein the portion of the input signal includes at least one discrete sample.

### Claim 5 (depends on 4)

The method of claim 4, further comprising selecting a filtered signal portion from the plurality of filtered signal portions that has a largest deviation that remains less than the maximum deviation limitation as the select one of the plurality of filtered signal portions.

### Claim 6 (depends on 1)

The method of claim 1, wherein comparing one or more of the plurality of deviations to a maximum deviation limitation to select one of the plurality of filtered signal portions includes determining an initial distance metric corresponding to an initial one of the plurality of filtered signal portions.

### Claim 7 (depends on 6)

The method of claim 6, wherein the initial one of the plurality of filtered signal portions is a select one of the plurality of filtered signal portions for an immediately preceding portion of the input signal.

### Claim 8 (depends on 6)

The method of claim 6, wherein comparing one or more of the plurality of deviations to a maximum deviation limitation includes comparing the initial distance metric against the maximum deviation limitation.

### Claim 9 (depends on 8)

The method of claim 8, wherein the maximum deviation limitation is selected based on the input signal and balances removing noise components with substantially preserving morphology of the input signal.

### Claim 10 (depends on 8)

The method of claim 8, further comprising selecting a second one of the plurality of filtered signal portions having a deviation less than the maximum deviation limitation when the initial distance metric corresponding to the initial one of the plurality of filtered signal portions is at least equal to the maximum deviation limitation.

### Claim 11 (depends on 8)

The method of claim 8, wherein the plurality of filtered signal portions are indexed according to the plurality of deviations, and comparing one or more of the plurality of deviations to a maximum deviation limitation includes determining another distance metric corresponding to a second filtered signal portion that is adjacently indexed to the initial one of the plurality of filtered signal portions and is associated with an increased deviation from the portion of the input signal.

### Claim 12 (depends on 11)

The method of claim 11, wherein at least one of the initial distance metric and the another distance metric is determined by D(in)=|yin(n)−x(n)|.

### Claim 13 (depends on 11)

The method of claim 11, wherein at least one of the initial distance metric and the another distance metric is determined by:
3 D ⁡ ( i n ) = 1 4 ⁢ ∑ m = n - 2 n + 1 ⁢ [LeftBracketingBar] ⁢ y i ⁢ ⁢ n ⁡ ( m ) - x ⁡ ( m ) [RightBracketingBar] .

### Claim 14 (depends on 11)

The method of claim 11, wherein the second filtered signal portion becomes the selected one of the plurality of filtered signal portions when the another distance metric is smaller than the maximum deviation limitation.

### Claim 15 (depends on 1)

The method of claim 1, wherein the plurality of filtered signal portions of varying smoothness is produced using a selection of equations in which n represents the portion of the input signal and m represents an index for the plurality of filtered signal portions that are indexed according to the plurality of deviations, the selection of equations including:
4 y o ⁡ ( n ) = x ⁡ ( n ) , y 1 ⁡ ( n ) = 1 2 ⁢ ∑ m = - 1 0 ⁢ ⁢ x ⁡ ( n + m ) , y 2 ⁡ ( n ) = 1 4 ⁢ ∑ m = - 2 1 ⁢ ⁢ x ⁡ ( n + m ) , y 3 ⁡ ( n ) = 1 8 ⁢ ∑ m = - 4 3 ⁢ ⁢ x ⁡ ( n + m ) , and y 4 ⁡ ( n ) = 1 16 ⁢ ∑ m = - 8 7 ⁢ ⁢ x ⁡ ( n + m ) .

### Claim 16 (depends on 1)

The method of claim 1, wherein the select one filtered signal portion is associated with a largest deviation from the portion of the input signal that is less than the maximum deviation limitation.

### Claim 17

A method for filtering an input signal, comprising:
generating an output signal representative of a filtered version of the input signal by adaptively removing noise components from the input signal, wherein each of the input signal and the output signal includes discrete samples;
determining a desired filtering level from a number of filtering levels for each of the discrete samples of the input signal; and
determining a desired smoothed signal from a number of smoothed signals corresponding to the desired filtering level, wherein the desired smoothed signal is calculated from a selection of equations including:
5 y o ⁡ ( n ) = x ⁡ ( n ) , y 1 ⁡ ( n ) = 1 2 ⁢ ∑ m = - 1 0 ⁢ ⁢ x ⁡ ( n + m ) , y 2 ⁡ ( n ) = 1 4 ⁢ ∑ m = - 2 1 ⁢ ⁢ x ⁡ ( n + m ) , y 3 ⁡ ( n ) = 1 8 ⁢ ∑ m = - 4 3 ⁢ ⁢ x ⁡ ( n + m ) , and y 4 ⁡ ( n ) = 1 16 ⁢ ∑ m = - 8 7 ⁢ ⁢ x ⁡ ( n + m ) .

### Claim 18

A system for filtering an input signal, comprising a processor to:
receive a portion of the input signal;
produce a plurality of filtered signal portions of varying smoothness from the portion of the input signal;
determine a plurality of deviations between the plurality of filtered signal portions and the portion of the input signal;
compare one or more of the plurality of deviations to a maximum deviation limitation to select one of the plurality of filtered signal portions, the selected one filtered signal portion having a deviation less than the maximum deviation limitation; and
generate an output signal representative of a smoothed version of the input signal from a combination of a plurality of successive selected one filtered signal portions which substantially preserve morphology of the input signal.

### Claim 19 (depends on 18)

The system of claim 18, wherein the portion of the input signal includes at least one discrete sample.

### Claim 20 (depends on 18)

The system of claim 18, further comprising an implanted medical device that includes the processor.

### Claim 21 (depends on 20)

The system of claim 20, wherein the portion of the input signal includes a portion of a cardiac signal and the implanted medical device is configured to receive the portion of the cardiac signal.

### Claim 22 (depends on 18)

The system of claim 18, further comprising an implanted medical device and an external programmer that includes the processor in communication with the implanted medical device.

### Claim 23 (depends on 18)

The system of claim 18, wherein the processor is configured to select a filtered signal portion from the plurality of filtered signal portions that has a largest deviation that remains less than the maximum deviation limitation as the select one of the plurality of filtered signal portions.

### Claim 24 (depends on 23)

The system of claim 23, wherein the processor is configured to determine an initial distance metric corresponding to an initial one of the plurality of filtered signal portions.

### Claim 25 (depends on 24)

The system of claim 24, wherein the processor is configured to compare the initial distance metric against the maximum deviation limitation.

### Claim 26 (depends on 25)

The system of claim 25, wherein the maximum deviation threshold is selected based on the input signal and balances removing noise components with substantially preserving a morphological representation of the input signal.

### Claim 27 (depends on 25)

The system of claim 25, wherein the processor is configured to select a second one of the plurality of filtered signal portions having a deviation less than the maximum deviation limitation when the initial distance metric is at least equal to the maximum deviation limitation.

### Claim 28 (depends on 25)

The system of claim 25, wherein the plurality of filtered signal portions are indexed according to the plurality of deviations, and the processor is configured to determine another distance metric corresponding to a second filtered signal portion that is adjacently indexed to the initial one of the plurality of filtered signal portions and is associated with an increased deviation from the portion of the input signal.

### Claim 29 (depends on 28)

The system of claim 28, wherein at least one of the initial distance metric and the another distance metric is determined by D(in)=|yin(n)−x(n)|.

### Claim 30 (depends on 28)

The system of claim 28, wherein at least one of the initial distance metric and the another distance metric is determined by:
6 D ⁡ ( i n ) = 1 4 ⁢ ∑ m = n - 2 n + 1 ⁢ [LeftBracketingBar] ⁢ y i ⁢ ⁢ n ⁡ ( m ) - x ⁡ ( m ) [RightBracketingBar] .

### Claim 31 (depends on 28)

The system of claim 28, wherein the processor is configured to select the second filtered signal portion as the selected one of the plurality of filtered signal portions when the another distance metric is smaller than the maximum deviation limitation.

### Claim 32 (depends on 18)

The system of claim 18, wherein the plurality of filtered signal portions of varying smoothness is produced using a selection of equations in which n represents the portion of the input signal and m represents an index for the plurality of filtered signal portions that are indexed according to the plurality of deviations, the selection of equations including:
7 y o ⁡ ( n ) = x ⁡ ( n ) , y 1 ⁡ ( n ) = 1 2 ⁢ ∑ m = - 1 0 ⁢ ⁢ x ⁡ ( n + m ) , y 2 ⁡ ( n ) = 1 4 ⁢ ∑ m = - 2 1 ⁢ ⁢ x ⁡ ( n + m ) , y 3 ⁡ ( n ) = 1 8 ⁢ ∑ m = - 4 3 ⁢ ⁢ x ⁡ ( n + m ) , and y 4 ⁡ ( n ) = 1 16 ⁢ ∑ m = - 8 7 ⁢ ⁢ x ⁡ ( n + m ) .

### Claim 33 (depends on 18)

The system of claim 18, wherein the selected one filtered signal portion is associated with a largest deviation from the portion of the input signal that is less than the maximum deviation limitation.

### Claim 34

A system for filtering an input signal, comprising:
means for producing a plurality of filtered signal portions of varying smoothness from a portion of the input signal;
means for generating a plurality of deviations between the plurality of signal portions and the portion of the input signal;
means for comparing the plurality of deviations to a maximum deviation limitation to select one of the plurality of filtered signal portions that has a deviation less than the maximum deviation limitation; and
means for generating an output signal representative of a smoothed version of the input signal from a combination of a plurality of successive selected one filtered signal portions which substantially preserve morphology of the input signal.

### Claim 35 (depends on 34)

The system of claim 34, wherein the portion of the input signal includes at least one discrete sample.

### Claim 36 (depends on 34)

The system of claim 34, further comprising an implanted medical device that includes the processor.

### Claim 37 (depends on 36)

The system of claim 36, wherein the implant signal includes a cardiac signal, and the implanted medical device is configured to receive the cardiac signal.

### Claim 38 (depends on 34)

The system of claim 34, further comprising an implanted medical device and an external programmer that includes the processor in communication with the implanted medical device.

### Claim 39 (depends on 34)

The system of claim 34, further comprising means for selecting a filtered signal portion from the plurality of filtered signal portions that has a largest deviation that remains less than the maximum deviation limitation as the select one of the plurality of filtered signal portions.

### Claim 40 (depends on 39)

The system of claim 39, wherein the means for comparing the plurality of deviations to a maximum deviation limitation includes means for calculating an initial distance metric corresponding to an initial one of the plurality of filtered signal portions.

### Claim 41 (depends on 40)

The system of claim 40, wherein the initial one of the plurality of filtered signal portions is a select one of the plurality of filtered signal portions for an immediately preceding portion of the input signal.

### Claim 42 (depends on 40)

The system of claim 40, wherein the means for comparing the plurality of deviations to a maximum deviation limitation includes means for comparing the initial distance metric against the maximum deviation limitation.

### Claim 43 (depends on 42)

The system of claim 42, wherein the maximum deviation limitation is selected based on the input signal and balances removing noise components with substantially preserving morphology of the input signal.

### Claim 44 (depends on 42)

The system of claim 42, further comprising means to index the plurality of filtered signal portions according to the plurality of deviations, and means to select a second one of the plurality of filtered signal portions having a deviation less than the maximum deviation limitation when the initial distance metric corresponding to the initial one of the plurality of filtered signal portions is at least equal to the maximum deviation limitation.

### Claim 45 (depends on 42)

The system of claim 42, further comprising means to index the plurality of filtered signal portions according to the plurality of deviations, and means for determining another distance metric corresponding to a second filtered signal portion that is adjacently indexed to the initial one of the plurality of filtered signal portions and is associated with an increased deviation from the portion of the input signal.

### Claim 46 (depends on 45)

The system of claim 45, wherein at least one of the initial distance metric and the another distance metric is determined by D(in)=|yin(n)−x(n)|.

### Claim 47 (depends on 45)

The system of claim 45, wherein at least one of the initial distance metric and the another distance metric is determined by:
8 D ⁡ ( i n ) = 1 4 ⁢ ∑ m = n - 2 n + 1 ⁢ [LeftBracketingBar] ⁢ y i ⁢ ⁢ n ⁡ ( m ) - x ⁡ ( m ) [RightBracketingBar] .

### Claim 48 (depends on 45)

The system of claim 45, further comprising selecting the second filtered signal portion as the selected one of the plurality of filtered signal portions when the another distance metric is smaller than the maximum deviation limitation.

### Claim 49 (depends on 34)

The system of claim 34, wherein the plurality of filtered signal portions of varying smoothness is produced using a selection of equations in which n represents the portion of the input signal and m represents and index for the plurality of filtered signal portions that are indexed according to the plurality of deviations, the selection of equations including:
9 y o ⁡ ( n ) = x ⁡ ( n ) , y 1 ⁡ ( n ) = 1 2 ⁢ ∑ m = - 1 0 ⁢ ⁢ x ⁡ ( n + m ) , y 2 ⁡ ( n ) = 1 4 ⁢ ∑ m = - 2 1 ⁢ ⁢ x ⁡ ( n + m ) , y 3 ⁡ ( n ) = 1 8 ⁢ ∑ m = - 4 3 ⁢ ⁢ x ⁡ ( n + m ) , and y 4 ⁡ ( n ) = 1 16 ⁢ ∑ m = - 8 7 ⁢ ⁢ x ⁡ ( n + m ) .

### Claim 50 (depends on 34)

The system of claim 34, wherein the selected one filtered signal portion is associated with a largest deviation from the portion of the input signal that is less than the maximum deviation limitation.

### Claim 51

A system for filtering an input signal, comprising:
a processor to receive the input signal and generate an output signal representative of a filtered version of the input signal by adaptively removing noise components from the input signal, wherein:
the input signal includes a number of discrete samples;
the processor is configured to determine a desired filtering level for each of the discrete samples of the input signal;
the processor is configured to determine a desired smoothed signal from a number of smoothed signals corresponding to the desired filtering level; and
the desired smoothed signal is calculated from a selection of equations including:
10 y o ⁡ ( n ) = x ⁡ ( n ) , y 1 ⁡ ( n ) = 1 2 ⁢ ∑ m = - 1 0 ⁢ ⁢ x ⁡ ( n + m ) , y 2 ⁡ ( n ) = 1 4 ⁢ ∑ m = - 2 1 ⁢ ⁢ x ⁡ ( n + m ) , y 3 ⁡ ( n ) = 1 8 ⁢ ∑ m = - 4 3 ⁢ ⁢ x ⁡ ( n + m ) , and y 4 ⁡ ( n ) = 1 16 ⁢ ∑ m = - 8 7 ⁢ ⁢ x ⁡ ( n + m ) .

### Claim 52

A system for filtering an input signal detected by at least one detector, comprising:
means for receiving the input signal;
means for generating an output signal representative of a filtered version of the input signal by adaptively removing noise components from the input signal;
means for determining a desired filtering level from a number of filtering levels for each discrete sample of the input signal; and
means for determining a desired smoothed signal from a number of smooth signals corresponding to the desired filtering level, wherein the desired smoothed signal is calculated from a selection of equations including:
11 y 0 ⁡ ( n ) = x ⁡ ( n ) , ⁢ y 1 ⁡ ( n ) = 1 2 ⁢ ∑ m = - 1 0 ⁢ x ⁡ ( n + m ) , ⁢ y 2 ⁡ ( n ) = 1 4 ⁢ ∑ m = - 2 0 ⁢ x ⁡ ( n + m ) , ⁢ y 3 ⁡ ( n ) = 1 8 ⁢ ∑ m = - 4 0 ⁢ x ⁡ ( n + m ) , and y 4 ⁡ ( n ) = 1 16 ⁢ ∑ m = - 8 0 ⁢ x ⁡ ( n + m ) .
