# US 2022/0007947 A1 · Signal processing method, apparatus and non-transitory computer readable storage medium

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

- Number: US 2022/0007947 A1
- Document ID: US20220007947A1
- Status: Published application
- Kind: A1
- Application number: 16/996,923
- Filed: 2020-08-19
- Published: 2022-01-13
- Earliest claimed: 2020-07-10
- Assignees: Wistron Corporation
- Applicants: Wistron Corporation
- Inventors: Zheng-De Liu; Kuo-Ting Huang
- Web page: https://patentgrep.com/patent/US20220007947A1

## CPC

- A61B 5/024: Measuring pulse rate or heart rate
- A61B 5/02416: {using photoplethysmograph signals, e.g. generated by infrared radiation (A61B5/14552 takes precedence)}
- A61B 5/7207: {of noise induced by motion artifacts}
- A61B 5/7214: {using signal cancellation, e.g. based on input of two identical physiological sensors spaced apart, or based on two signals derived from the same sensor, for different optical wavelengths}
- A61B 5/7221: {Determining signal validity, reliability or quality (preventing, reducing or removing noise induced by motion artefacts A61B5/7207; noise originating from a therapeutic or surgical apparatus A61B5/7217)}
- A61B 5/7275: {Determining trends in physiological measurement data; Predicting development of a medical condition based on physiological measurements, e.g. determining a risk factor}
- A61B 5/0245: by using sensing means generating electric signals, {i.e. ECG signals}
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)

## Abstract

A signal processing method, an apparatus and a non-transitory computer readable storage medium are provided. A plurality of segment signals are taken out based on a time series from a physiological signal, and each segment signal is determined as a desirable signal or an undesirable signal. In response to the ith segment signal is determined as the undesirable signal, under the condition of determining that both of the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals, the ith segment signal is reserved. A plurality of instant heart rates are calculated based on the desirable signals and the reserved undesirable signals.

## Claims

### Claim 1

A signal processing method, comprising:
taking out a plurality of segment signals based on a time series from a physiological signal;
determining each of the plurality of segment signals as a desirable signal or an undesirable signal to calculate peak values of the plurality of segment signals determined as the desirable signals;
in response to a ith segment signal is determined as the undesirable signal, determining whether a (i−2)th segment signal and a (i+2)th segment signal are the desirable signals;
under the condition of determining that both of the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals, reserving the ith segment signal determined as the undesirable signal to calculate a representative peak value of the ith segment signal; and
calculating a plurality of instant heart rates based on the segment signals determined as the desirable signals and the reserved segment signals determined as the undesirable signals.

### Claim 2 (depends on 1)

The signal processing method according to claim 1, wherein the step of reserving the ith segment signal to calculate the representative peak value of the ith segment signal under the condition of determining that both of the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals comprises:
determining a change trend of the ith segment signal based on a first peak value of the (i−2)th segment signal and a second peak value of the (i+2)th segment signal; and
obtaining the representative peak value of the ith segment signal by using a calculation manner corresponding to the change trend.

### Claim 3 (depends on 2)

The signal processing method according to claim 2, wherein before the step of determining the change trend of the ith segment signal, the method further comprises:
calculating an absolute value of a difference between the first peak value and the second peak value;
steps of determining the change trend of the ith segment signal comprise:
comparing the absolute value of the difference with a threshold value;
in response to the absolute value of the difference is less than or equal to the threshold value, determining that the change trend of the ith segment signal is a stable state;
in response to the absolute value of the difference is greater than the threshold value and the first peak value is less than the second peak value, determining that the change trend of the ith segment signal is a continuous increase state; and
in response to the absolute value of the difference is greater than the threshold value and the first peak value is greater than the second peak value, determining that the change trend of the ith segment signal is a continuous decrease state.

### Claim 4 (depends on 3)

The signal processing method according to claim 3, wherein the step of obtaining the representative peak value of the ith segment signal by using the calculation manner corresponding to the change trend comprises:
under the condition that the change trend is the stable state,
obtaining a line segment based on the first peak value and the second peak value;
finding out a plurality of candidate peak values from the ith segment signal; and
taking out one of the candidate peak values closest to the line segment from the plurality of candidate peak values as the representative peak value of the ith segment signal.

### Claim 5 (depends on 3)

The signal processing method according to claim 3, wherein the step of obtaining the representative peak value of the ith segment signal by using the calculation manner corresponding to the change trend comprises:
under the condition that the change trend is the continuous increase state,
obtaining a first line segment based on the first peak value and a third peak value of a (i−1)th segment signal;
obtaining a second line segment based on the second peak value and a fourth peak value of a (i+1)th segment signal;
finding out a plurality of candidate peak values from the ith segment signal;
taking out a first candidate peak value closest to the first line segment from the plurality of candidate peak values;
taking out a second candidate peak value closest to the second line segment from the plurality of candidate peak values;
in response to the first candidate peak value and the second candidate peak value are the same, taking the first candidate peak value as the representative peak value of the ith segment signal; and
in response to the first candidate peak value and the second candidate peak value are different, taking the smallest of the first candidate peak value and the second candidate peak value as the representative peak value of the ith segment signal.

### Claim 6 (depends on 3)

The signal processing method according to claim 3, wherein the step of obtaining the representative peak value of the ith segment signal by using the calculation manner corresponding to the change trend comprises:
under the condition that the change trend is the continuous decrease state,
obtaining a first line segment based on the first peak value and a third peak value of a (i−1)th segment signal;
obtaining a second line segment based on the second peak value and a fourth peak value of a (i+1)th segment signal;
finding out a plurality of candidate peak values from the ith segment signal;
taking out a first candidate peak value closest to the first line segment from the plurality of candidate peak values;
taking out a second candidate peak value closest to the second line segment from the plurality of candidate peak values;
in response to the first candidate peak value and the second candidate peak value are the same, taking the first candidate peak value as the representative peak value of the ith segment signal; and
in response to the first candidate peak value and the second candidate peak value are different, taking the largest of the first candidate peak value and the second candidate peak value as the representative peak value of the ith segment signal.

### Claim 7 (depends on 1)

The signal processing method according to claim 1, wherein after the step of determining whether the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals in response to the ith segment signal is determined as the undesirable signal, the method further comprises:
under the condition of determining that at least one of the (i−2)th segment signal and the (i+2)th segment signal is the undesirable signal, discarding the ith segment signal determined as the undesirable signal.

### Claim 8 (depends on 1)

The signal processing method according to claim 1, wherein the step of determining each of the plurality of segment signals as the desirable signal or the undesirable signal comprises:
determining each of the plurality of segment signals as the desirable signal or the undesirable signal by using a dynamic time warping algorithm.

### Claim 9 (depends on 1)

The signal processing method according to claim 1, further comprising:
after obtaining the representative peak value of the ith segment signal, obtaining a comparison value based on an average value of a first peak value of the (i−2)th segment signal and a second peak value of the (i+2)th segment signal;
determining whether the representative peak value is greater than the comparison value;
in response to the representative peak value is greater than the comparison value, determining that the ith segment signal is unreliable, and discarding the ith segment signal; and
in response to the representative peak value is less than or equal to the comparison value, determining that the ith segment signal is reliable, and reserving the ith segment signal.

### Claim 10

A signal processing apparatus, comprising:
a heart rate sensor, sensing a physiological signal of a wearer;
a storage unit, comprising a plurality of code segments; and
a processor, coupled to the heart rate sensor and the storage unit, wherein the processor executes the plurality of code segments to:
receive the physiological signal from the heart rate sensor;
take out a plurality of segment signals based on a time series from the physiological signal;
determine each of the plurality of segment signals as a desirable signal or an undesirable signal to calculate peak values of the plurality of segment signals determined as the desirable signals;
in response to the ith segment signal is determined as the undesirable signal, determine whether the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals;
under the condition of determining that both of the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals, reserve the ith segment signal determined as the undesirable signal to calculate a representative peak value of the ith segment signal; and
calculate a plurality of instant heart rates based on the segment signals determined as the desirable signals and the reserved segment signals determined as the undesirable signals.

### Claim 11 (depends on 10)

The signal processing apparatus according to claim 10, wherein the processor executes the plurality of code segments to:
determine a change trend of the ith segment signal based on a first peak value of the (i−2)th segment signal and a second peak value of the (i+2)th segment signal; and
obtain the representative peak value of the ith segment signal by using a calculation manner corresponding to the change trend.

### Claim 12 (depends on 10)

The signal processing apparatus according to claim 10, wherein the processor executes the plurality of code segments to:
before determining a change trend of the ith segment signal, calculate an absolute value of a difference between a first peak value and a second peak value;
compare the absolute value of the difference with a threshold value, thereby determining the change trend of the ith segment signal;
in response to the absolute value of the difference is less than or equal to the threshold value, determine that the change trend of the ith segment signal is a stable state;
in response to the absolute value of the difference is greater than the threshold value and the first peak value is less than the second peak value, determine that the change trend of the ith segment signal is a continuous increase state; and
in response to the absolute value of the difference is greater than the threshold value and the first peak value is greater than the second peak value, determine that the change trend of the ith segment signal is a continuous decrease state.

### Claim 13 (depends on 12)

The signal processing apparatus according to claim 12, wherein the processor executes the plurality of code segments to:
under the condition that the change trend is the stable state,
obtain a line segment based on the first peak value and the second peak value;
find out a plurality of candidate peak values from the ith segment signal; and
take out one of the candidate peak values closest to the line segment from the plurality of candidate peak values as the representative peak value of the ith segment signal.

### Claim 14 (depends on 12)

The signal processing apparatus according to claim 12, wherein the processor executes the plurality of code segments to:
under the condition that the change trend is the continuous increase state,
obtain a first line segment based on the first peak value and a third peak value of a (i−1)th segment signal;
obtain a second line segment based on the second peak value and a fourth peak value of a (i+1)th segment signal;
find out a plurality of candidate peak values from the ith segment signal;
take out a first candidate peak value closest to the first line segment from the plurality of candidate peak values;
take out a second candidate peak value closest to the second line segment from the plurality of candidate peak values;
in response to the first candidate peak value and the second candidate peak value are the same, take the first candidate peak value as the representative peak value of the ith segment signal; and
in response to the first candidate peak value and the second candidate peak value are different, take the smallest of the first candidate peak value and the second candidate peak value as the representative peak value of the ith segment signal.

### Claim 15 (depends on 12)

The signal processing apparatus according to claim 12, wherein the processor executes the plurality of code segments to:
under the condition that the change trend is the continuous decrease state,
obtain a first line segment based on the first peak value and a third peak value of a (i−1)th segment signal;
obtain a second line segment based on the second peak value and a fourth peak value of a (i+1)th segment signal;
find out a plurality of candidate peak values from the ith segment signal;
take out a first candidate peak value closest to the first line segment from the plurality of candidate peak values;
take out a second candidate peak value closest to the second line segment from the plurality of candidate peak values;
in response to the first candidate peak value and the second candidate peak value are the same, take the first candidate peak value as the representative peak value of the ith segment signal; and
in response to the first candidate peak value and the second candidate peak value are different, take the largest of the first candidate peak value and the second candidate peak value as the representative peak value of the ith segment signal.

### Claim 16 (depends on 10)

The signal processing apparatus according to claim 10, wherein the processor executes the plurality of code segments to:
in response to the ith segment signal is determined as the undesirable signal, under the condition of determining that at least one of the (i−2)th segment signal and the (i+2)th segment signal is the undesirable signal, discard the ith segment signal determined as the undesirable signal.

### Claim 17 (depends on 10)

The signal processing apparatus according to claim 10, wherein the processor executes the plurality of code segments to:
determine each of the plurality of segment signals as the desirable signal or the undesirable signal by using a dynamic time warping algorithm.

### Claim 18 (depends on 10)

The signal processing apparatus according to claim 10, wherein the processor executes the plurality of code segments to:
after obtaining the representative peak value of the ith segment signal, obtain a comparison value based on an average value of a first peak value of the (i−2)th segment signal and a second peak value of the (i+2)th segment signal;
determine whether the representative peak value is greater than the comparison value;
in response to the representative peak value is greater than the comparison value, determine that the ith segment signal is unreliable, and discard the ith segment signal; and
in response to the representative peak value is less than or equal to the comparison value, determine that the ith segment signal is reliable, and reserve the ith segment signal.

### Claim 19

A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium records at least one programmed instruction, and after being loaded into an electronic device, the at least one programmed instruction performs the following steps:
taking out a plurality of segment signals based on a time series from a physiological signal;
determining each of the plurality of segment signals as a desirable signal or an undesirable signal to calculate peak values of the plurality of segment signals determined as the desirable signals;
in response to the ith segment signal is determined as the undesirable signal, determining whether the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals;
under the condition of determining that both of the (i−2)th segment signal and the (i+2)th segment signal are the desirable signals, reserving the ith segment signal to calculate a representative peak value of the ith segment signal; and
calculating a plurality of instant heart rates based on the segment signals determined as the desirable signals and the reserved segment signals determined as the undesirable signals.
