Time domain interference removal and improved heart rate measurement tracking mechanism
By using adaptive linear prediction filter and counter-resonance filter technology in heart rate monitoring equipment, the problem of inaccurate heart rate signal tracking in noisy environments is solved, achieving higher signal quality and accuracy.
Patent Information
- Application Number
- CN202010951165.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2016-04-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2036-04-18
AI Technical Summary
Existing heart rate monitoring equipment is difficult to accurately track heart rate signals in noisy environments and is greatly interfered by noise. Especially during exercise, signal quality decreases, resulting in irregular or inaccurate heart rate readings.
An adaptive linear prediction filter (ALP) is used to generate filter coefficients on the accelerometer data to remove noise artifacts in the heart rate monitor signal, and is combined with a resonant filter to extract the frequency of the heartbeat signal in back-end processing. Improve signal accuracy.
By effectively removing motion-related noise, the accuracy and consistency of heart rate monitoring are improved, the heart rate signal can be tracked more accurately in noisy environments, and the quality of the signal and the performance of the device are enhanced.
Smart Images

Figure CN112220471B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application date of April 18, 2016, application number 201680033477.7, and invention name “Time domain interference removal and improved heart rate measurement tracking mechanism”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims the benefit of and priority to U.S. Provisional Patent Application Serial No. 62 / 154,688, filed on April 29, 2015, entitled “System and Method for Heart Rate Measurement,” U.S. Provisional Patent Application Serial No. 62 / 170,339, filed on June 3, 2015, entitled “Time Domain Interference Removal and Improved Heart Rate Measurement Tracking Mechanism,” U.S. Provisional Patent Application Serial No. 14 / 972,368, filed on December 17, 2015, entitled “Time Domain Interference Removal for Heart Rate Measurement,” and U.S. Provisional Patent Application Serial No. 14 / 972,447, filed on December 17, 2015, entitled “Tracking Mechanism for Heart Rate Measurement,” the entire contents of which are incorporated herein by reference. Technical Field
[0004] The present disclosure relates to the field of digital signal processing, and in particular to digital signal processing for tracking heartbeat frequency in a noisy environment. Background Art
[0005] Modern electronics are ubiquitous in healthcare. For example, monitoring devices often include electronic components and algorithms to sense, measure, and monitor biological processes. Monitoring devices can measure vital signs such as breathing rate, oxygen levels in the blood, and heart rate. Monitoring devices are not only used in clinical settings, but are also commonly used in sports equipment and consumer electronics.
[0006] One important measurement taken by many monitoring devices is heart rate, which is usually measured in beats per minute (BPM). Athletes use heart rate monitors to get instant feedback on their workouts, while healthcare professionals use heart rate monitors to monitor the health of their patients. There are many solutions for measuring heart rate on the market today. For example, electronic heart rate monitors can be found in the form of chest straps and watches. However, these electronic heart rate monitors are often not very accurate due to the presence of a large amount of noise in the signal provided by the sensors of these monitors. The noise is often caused by the user being in motion and by the lack of secure contact between the monitor and the user. This noisy environment often results in irregular, inaccurate, or even missing heart rate. Summary of the invention
[0007] Heart rate monitors suffer from noisy spectral plethysmography (PPG) data, making it difficult for the monitor to output consistently accurate heart rate readings. The noise is often caused by motion. Using known methods to process accelerometer readings, filtering out some of the noise by measuring motion can help, but is not always the case. The present disclosure describes improved front-end techniques (time domain interference removal) based on using adaptive linear prediction on accelerometer data to generate a filter for filtering the PPG signal before tracking the heartbeat frequency. The present disclosure also describes improved back-end techniques for tracking the heartbeat based on controlling the frequency of a resonant filter. Implementing one or both of these techniques results in more accurate heart rate measurements.
[0008] According to the improved front-end technology, a method for assisting in identifying and / or tracking a heartbeat signal present in one or more first signals generated by one or more sensors in a noisy environment is disclosed. The method includes the following steps: a) receiving data samples of the first signal; b) receiving data samples of a second signal indicating the movement of the one or more sensors; c) applying adaptive linear prediction to at least a portion of the data samples of the second signal to determine the coefficients of an adaptive linear filter, arranged to filter (i.e., substantially attenuate) at least a portion of the noise content present in the second signal from the signal indicating the movement of the one or more sensors; and d) generating a filtered first signal by subtracting from the first signal a signal generated by applying a filter including the determined coefficients to the first signal (in other words, the first signal is filtered based on processing the data samples of the first signal using a filter including the determined coefficients, wherein the step of filtering the first signal substantially attenuates the signal content corresponding to the movement of the one or more sensors).
[0009] According to the improved backend technology, the first filter (filter A ) and the second filter (filter B) structure to extract the frequency of a heartbeat signal present in an input signal generated by one or more sensors. In some embodiments, the structure can be configured to implement the first and second filters as separate filters including their respective different components. In other embodiments, the structure can be a resource sharing structure, in which at least some components used to implement the first filter, but possibly all components, are also used (i.e., shared) in implementing the second filter, and vice versa. In any case, the first filter and the second filter are filters having a frequency F_RES, at which the amplitudes of their outputs are substantially equal, and above the frequency F_RES, the amplitude of the first filter becomes greater than the amplitude of the second filter, and below the frequency F_RES, the amplitude of the second filter becomes greater than the amplitude of the first filter. The method includes the following steps: a) determining the amplitude (A) of the output generated by the first filter in response to the first filter receiving an input signal and one or more filter control parameters; b) determining the amplitude (B) of the output generated by the second filter in response to the second filter receiving an input signal and one or more filter control parameters; c) updating the filter control parameters based on the amplitudes A and B and proceeding to step a); d) determining the frequency of the heartbeat signal based on the one or more filter control parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] For a more complete understanding of the present disclosure and its features and advantages, reference is made to the following description taken in conjunction with the accompanying drawings, wherein like reference numerals represent like parts, and wherein:
[0011] Figure 1 An illustrative heart rate monitoring device and a portion of a living body adjacent to the heart rate monitor are shown according to an embodiment of the present disclosure;
[0012] Figure 2 A system diagram depicting a heart rate monitoring device according to an embodiment of the present disclosure;
[0013] Figure 3 An exemplary flow chart describing a method for tracking a heartbeat frequency present in one or more input signals generated by one or more sensors in a noisy environment according to an embodiment of the present disclosure;
[0014] Figure 4 Describing an exemplary adaptive filter according to an embodiment of the present disclosure;
[0015] Figure 5 Describing an exemplary PPG signal measured by an optical sensor according to an embodiment of the present disclosure;
[0016] Figure 6An exemplary flow chart describing a method of filtering one or more input signals prior to tracking a heartbeat frequency present in the input signals according to an embodiment of the present disclosure;
[0017] Figure 7 A power-normalized ALP is described according to embodiments of the present disclosure;
[0018] Figure 8 According to embodiments of the present disclosure, time domain interference removal of one accelerometer axis is described;
[0019] Fig. 9 The complete front-end processing associated with time-domain interference removal for three accelerometer axes is described according to embodiments of the present disclosure;
[0020] Fig.10 Describe exemplary backend processing according to embodiments of the present disclosure;
[0021] Fig.11 A system diagram describing a heart rate monitoring device according to an embodiment of the present disclosure;
[0022] Fig.12 An exemplary flow chart describing a more detailed method for tracking a heartbeat signal present in one or more input signals provided by one or more heart rate sensors in a noisy environment according to an embodiment of the present disclosure;
[0023] Fig.13 Describing the results of low pass filters and high pass filters according to embodiments of the present disclosure;
[0024] Fig.14 Describing steering of filter output according to embodiments of the present disclosure;
[0025] Fig.15 A Chamberlin state variable digital filter is described according to some embodiments of the present disclosure;
[0026] Fig.16 Describing the response of each output of a Chamberlin state variable digital filter according to an embodiment of the present disclosure;
[0027] Fig.17 An overall diagram of a tracking algorithm is described according to an embodiment of the present disclosure;
[0028] Fig.18 Describing a modified bandpass filter response according to an embodiment of the present disclosure;
[0029] Fig.19 describing the track speed of the frequency ramp input according to an embodiment of the present disclosure;
[0030] Fig. 20According to embodiments of the present disclosure, tracking-filtering dynamic modification based on predicted interference is described;
[0031] Fig.21 Describing tracking of asymmetric up / down time constants according to embodiments of the present disclosure; and
[0032] Fig. 22 A comparison of heart rate monitoring during a 15 minute walk / jog / run using time domain interference removal and using electrocardiogram (ECG) heart rate monitoring is described in accordance with the present disclosure. DETAILED DESCRIPTION
[0033] Improvements involving the front-end and back-end of the heart rate monitor
[0034] The present disclosure describes some specific challenges faced by heart rate monitors that use light sources and optical sensors to measure biological heart rate. In order to address at least some of these challenges, the present disclosure provides two different mechanisms. The first mechanism provides an improved filtering technique for filtering the input signal generated by the optical sensor, referred to herein as "time domain interference removal". Since such a mechanism is typically implemented as part of what can be considered the "front end" of a heart rate monitor, it is sometimes referred to as "front end processing" in this article. The second mechanism described herein provides an improved tracking technique for actually tracking the heart rate using the input signal from the optical sensor. Since the second mechanism is typically implemented as part of what can be considered the "back end" of a heart rate monitor, it is sometimes referred to as "back end processing" in this article.
[0035] The improved mechanisms for front-end and back-end processing described herein are independent of each other in that implementation of the first mechanism does not necessarily require implementation of the second mechanism, and vice versa. Thus, the first mechanism may be combined with any other tracking mechanism known in the art, and the second mechanism may be combined with any other signal conditioning mechanism known in the art, or the second mechanism may be implemented to track heart rate directly from unprocessed (raw) data acquired from the sensor. Even implementing only one of the two mechanisms described herein results in a more accurate heart rate measurement. Therefore, while the systems and methods described herein are sometimes described in the context of implementing both mechanisms in order to provide a complete picture of an improved cardiac monitoring device, embodiments of the present disclosure are not limited to implementing the first and second mechanisms simultaneously. For example, it will be clear from the explanation provided below, Figure 2 and Figure 3 The filter generation and signal conditioning components shown in the figure in connection with the front-end processing according to the improved filtering mechanism described herein are not essential to the functionality of the tracking components shown in the figure in connection with the back-end processing, and vice versa. Therefore, the systems and methods for implementing one of these mechanisms do not necessarily include components for implementing another mechanism in the mechanism described herein, even though the description of the two mechanisms may involve the same system (e.g., Figure 2 shown).
[0036] Understanding the problem of noisy environments for heart rate monitors
[0037] Heart rate monitors are typically in direct contact with the skin of an organism. The monitor passively tracks or measures heart rate by sensing one or more aspects of the skin adjacent to the heart rate monitor. Due to the passive nature of this measurement, the sensor data may be affected by many sources of noise, seriously affecting the heart rate monitor's ability to determine an accurate heartbeat. These noise sources may include external interference with the sensor, internal noise in the sensor and / or heart rate monitor, movement that causes interruptions in the sensor's ability to measure aspects of the skin, etc. In addition, heart rate monitors are affected by the variability of the skin of different organisms, as well as the variability of the skin and the environment when the heart rate monitor is in use. All of these different sources and issues have an adverse effect on the heart rate monitor's ability to extract an accurate heart rate.
[0038] Figure 1 A heart rate monitoring device and a portion of a biological body adjacent to the heart rate monitor are shown, according to an embodiment of the present disclosure. In particular, the figure shows a cross-section to illustrate the spatial relationship of the monitoring device to the biological body portion. In this exemplary heart rate monitoring arrangement, a method of spectral plethysmography (PPG) is used, in which heart rate is measured passively or indirectly based on changes in light absorption by the skin as blood is pushed through an artery. As blood is pumped through an artery, changes in the amount of blood result in changes in the amount of light received, which is converted into electrical pulses by an optical sensor. The pulses in the signal can be used to extract the heart rate.
[0039] The heart rate monitoring device described in this article is not limited to Figure 1 Specific examples shown. Although this disclosure does not describe other types of heart rate monitors in detail, those skilled in the art will appreciate that these challenges also apply to other types of heart rate monitors or other types of devices that provide heart rate monitoring functionality, or even devices that utilize other types of sensing mechanisms. Additionally, in the context of this disclosure, the ongoing process of measuring, following, extracting, determining, or sensing heart rate (or some other slowly varying frequency) is referred to as "tracking a slowly varying frequency."
[0040] Specifically, Figure 1An exemplary heart rate monitoring device with a light source 102 and an optical sensor 104 is shown. The light source can emit light in a wavelength range suitable for the application. In some embodiments, the light source 102 and the optical sensor 102 can be provided separately, or the light source 102 can be biased to be used as the optical sensor 104. For example, a red LED can be used as a red light source and a red optical detector. In some embodiments, the light source 103 and the optical sensor 104 can be arranged adjacent to each other in the housing or member of the heart rate monitoring device, or provided in any suitable configuration, wherein the optical sensor 104 can measure the absorption of light (such as produced by the light source 103) by the part 106 of the organism. The light source irradiates light onto the part 106 of the organism 106, and the optical sensor 104 measures the light incident on the optical sensor 104, which may include light reflected from the part 106 and ambient light. As long as the change in blood volume can be measured, various parts of the organism can be used as part 106, such as fingers, arms, forehead, ears, chest, legs, toes, etc. It is relatively easy. Part 106 can be inside the organism in some cases.
[0041] Generally speaking, if the heart rate monitoring device can be securely fixed to the part 106 of the living being and maintains relatively stable contact with the part 106 during use, the input signal provided by the optical sensor shows little noise and the heart rate can be easily extracted. However, in many cases, the heart rate monitoring device is not securely fixed to the part 106 (even using a part 108 including a strap, adhesive or other suitable attachment), or it is not ideal or comfortable for the living being to firmly adhere or attach the device to the part 106. In these scenarios, the signal provided by the optical sensor 104 is often affected by noise from ambient light, artifacts caused by the movement of the heart rate monitoring device, or other noise sources. As a result, it can be challenging to correctly detect the heart rate in these non-ideal situations, i.e., in a noisy environment. Attempting to detect the heart rate based on a noisy signal may result in irregular or erroneous heart rate readings.
[0042] To address this issue, some heart rate monitoring devices include a mechanism to discard certain portions of the data if the data is deemed unusable for tracking heart rate. The mechanism may include an accelerometer 110 to measure the motion of the device to assess whether the input signal may be overly degraded for heart rate determination due to motion artifacts. In those cases, when the accelerometer 110 senses too much motion, the accelerometer readings may cause the device to discard data or freeze the heart rate readings. Another approach may be to use accelerometer data to estimate heart rate based on an estimate of predicted exercise levels. This can be problematic for heart rate monitoring devices that experience a lot of acceleration (e.g., in an exercise setting), in which case the heart rate output may be completely lost or very inaccurate during use.
[0043] Some heart rate monitoring devices discard portions of the signal that are deemed too noisy by evaluating the signal quality (e.g., how clear the spectral peaks are in the frequency domain). This can help remove noisy portions of the signal, but the data that is not discarded is not always reliable for heartbeat tracking. Although such devices can discard portions of the signal that are too noisy, portions of the input signal that exhibit clear spectral peaks can still give very good heartbeat readings, as spectral peaks can be due to periodic motion artifacts or other factors that affect heart rate detection. For example, portions of the input signal that are degraded by motion artifacts but have clear spectral peaks can cause the heart rate tracking mechanism to lock onto frequencies corresponding to motion artifacts rather than the true heart rate.
[0044] Front-end processing: Overview of improved filtering mechanisms
[0045] The above-mentioned problems with heart rate monitoring devices arise from having a mechanism for discarding input data, where the term "input data" (and variations thereof, such as "input signal") as used herein refers to a slowly varying frequency from which, such as a heart rate, can be obtained. The present disclosure describes an improved front-end processing mechanism that can alleviate some of the above-mentioned problems. The improved mechanism is a filtering mechanism that allows for more detailed processing of the raw input signal and can cause the input signal to be conditioned so that the tracker can track the heart rate even if the signal is acquired in a noisy environment. By improving the filtering mechanism, the heart rate monitoring device can achieve more powerful performance in noisy environments. The improved filtering mechanism can increase the amount of available data, thereby improving the accuracy and consistency of the heart rate output. In addition, the improved filtering mechanism can improve the accuracy of the heart rate tracking mechanism by providing a better and more practical input signal.
[0046] The improved filtering mechanism is based on the recognition that when a sensor or sensors configured to generate an input signal from which the heart rate is to be tracked (such sensor or sensors are hereinafter referred to as "heart rate sensors") are moving (e.g. because a person wearing such a heart rate monitoring device is running), their measurements are subject to predictable effects of motion. Therefore, if the motion pattern is known, it is possible to identify contributions to the input signal that are attributable to the motion of the heart rate sensor (i.e., motion-related artifacts in the input signal) and filter out these contributions. The improved filtering mechanism provides a recognition that if the heart rate sensor is relatively close to the accelerometer so that the accelerometer and the heart rate sensor experience the same motion, when the input signal is acquired, the accelerometer measurement made simultaneously with the measurement of the heart rate sensor can be considered to accurately represent the motion of the heart rate sensor. In turn, the accelerometer data related to the motion of the heart rate sensor can be used to reduce the amount of noise in the input signal generated by the sensor by identifying motion-related artifacts in the input signal. In particular, the use of adaptive linear prediction on the accelerometer data allows the creation of a filter to reduce or eliminate motion-related artifacts in the input signal obtained by the heart rate sensor. As a result, identification / tracking of the heartbeat signal from a noisy sensor signal is improved.
[0047] The resulting filtering mechanism is able to better filter the input signal and improve the accuracy of heart rate tracking. The following paragraphs further describe in detail how the improved filtering mechanism is implemented and implemented as well as explain the basics of adaptive linear prediction.
[0048] Exemplary improved heart rate monitoring devices and methods
[0049] Figure 2 A system diagram of a heart rate monitoring device according to an embodiment of the present disclosure is shown. The system provides an arrangement of components for implementing or enabling a method for tracking slowly varying frequencies in one or more input signals provided by one or more sensors in a noisy environment. Figure 1, the device includes a light source 102, an optical sensor 104. The light source can be a light emitting diode (LED) or any suitable component for emitting light. The light emitted by the light source 102 for measuring heart rate (e.g., blood volume) can be any suitable wavelength depending on the application. The device can include a plurality of light sources emitting light wavelength ranges, the optical sensor 104 can be the same device as the light source 102, or the optical sensor 104 can be arranged near the light source 102 to measure the light near the optical sensor 104, for example, to measure the absorption of light emitted by the light source 102 in the skin to achieve PPG. In addition, the device includes an accelerometer 110 for measuring the acceleration / motion of the entire device. In addition, the device can optionally include other sensors 202 or other types of sensors, which can provide information to assist in filtering of input signals and / or heart rate tracking. An integrated circuit 204 can be provided to drive the light source 102 and provide an analog front end 204 to receive signals provided by the optical sensor 104, the accelerometer 110 and the other sensors 202. In some embodiments, the analog front end 204 can convert (if necessary) an analog input signal into a data sample of the analog input signal. The analog front end may communicate with the processor 206 to provide data samples to be processed by the processor 206 to track a slowly varying frequency, such as a heartbeat.
[0050] In various embodiments, the processor 206 may include several specific application-specific parts or modules, electronic circuits, and / or programmable logic gates that are specifically configured to process data samples of the input signal to track slowly varying frequencies. The processor 206 may be a digital signal processor that is provided with application-specific components for tracking slowly varying frequencies, and / or the processor may execute specific instructions (stored on a non-transitory computer-readable medium) to perform various tracking slowly varying frequencies as described herein. Figure 3 An exemplary flow chart of such a method is shown, for example, by Figure 2 The processor 206 shown is implemented for tracking slowly changing frequencies present in one or more input signals provided by one or more sensors in a noisy environment, according to an embodiment of the present disclosure. At a high level, the method includes a filter generation component 302, a signal conditioning component 304 (depending on the filter generation component 302), and a tracking component 306 (depending on the filter generation component 302 and / or the signal conditioning component 304). The method can continue back to the filter generation component 302 to process other data samples in the data sample stream of the input signal.
[0051] Also refer to Figure 2 and Figure 3In some embodiments, the portion of the processor 206 may include one or more of the following: a filter coefficient generator 208, a signal conditioner 210, a tracker 212, and a reconstructor 216, for example, Figure 3 The method shown.
[0052] The filter coefficient generator 208 generates a filter using the accelerometer data for filtering the input signal before providing the data samples to the tracker 212, thereby implementing the improved filtering mechanism (corresponding to Figure 3 Filter generation component 302 of the method shown).
[0053] Signal conditioner 210 performs functions related to processing data samples of the input signal based on decisions made in filter coefficient generator 208 to prepare the data samples for further processing by tracker 212 (corresponding to Figure 3 ). For example, the signal conditioner 210 may filter the data samples of the input signal (or apply a filter to the data samples), apply a mask to the data samples, attenuate certain data samples, modify the values of certain data samples, and / or select certain data samples from specific sensors for further processing. The signal conditioning process may rely on the output of the filter coefficient generator 208.
[0054] Tracker 212 is based on the signal from signal conditioner 210 (corresponding to Figure 3 The output of the tracking component 306 of the method shown in 210 performs functions related to tracking slowly changing frequencies (e.g., heartbeats). In other words, the tracker continuously monitors the input data samples (raw data or provided by the signal conditioner 210) and attempts to continuously determine the frequency of slowly changing frequencies present in one or more signals from the sensor. The output of the tracker 212 represents an estimate of the heart rate in units per minute and can be provided to the user via the output terminal 214 (e.g., a speaker, a display, a tactile output device, etc.).
[0055] The reconstructor 216 can implement functions related to (re)constructing or synthesizing a time domain representation of a slowly varying frequency, such as a heartbeat. Based on the frequency information of the input signal, the reconstructor 216 can artificially generate a cleaner version of the input signal with a slowly varying frequency (referred to herein as a "reconstructed signal"). The reconstructed signal can be useful in many applications. For example, the reconstructed signal can be provided to the output 214 for display. The reconstructed signal can also be saved for subsequent processing and / or viewing. In general, the reconstructed signal can help the user visually and analytically assess the health of the organism and remove irrelevant noise. For example, the reconstructed signal can help medical professionals assess whether the organism has any underlying conditions related to heart and arterial health. The reconstructed signal can be obtained by first using the filter coefficient generator 208, the signal conditioner 210, and the tracker to track the slowly varying frequency.
[0056] The filter coefficient generator 208, signal conditioner 210, tracker 212, and reconstructor 216 may include means for performing their respective functions. Data and / or instructions for performing the functions may be stored and maintained in memory 218 (which may be a non-transitory computer-readable medium). In some embodiments, the filter coefficient generator 208 (corresponding to Figure 3 The filter generation component 302 of the method shown in the figure can affect the tracker 212 (corresponding to Figure 3 The processing performed in the tracking component 306 of the method shown. This feature is represented by an arrow with a dashed line. Figure 2 The device shown in is only one example of a heart rate device, and it is envisioned that other suitable arrangements may be provided to implement an improved method for filtering one or more input signals to track slowly changing frequencies present in an input signal provided by a heart rate sensor in a noisy environment.
[0057] Since the improved filtering mechanism of the input signal is based on the use of adaptive linear prediction, the basic principles of this technique are now described.
[0058] Basics of Adaptive Linear Prediction Filter
[0059] A filter conditions an input signal and produces an output signal with certain selected or controlled characteristics. The coefficients of the filter determine its characteristics and output. Often, a specific output may be desired, but the coefficients of the filter cannot be determined at the outset. An example is an echo canceller, where the desired output cancels the echo signal. In this case, the coefficients cannot usually be determined initially because they depend on changing transmission conditions. For such applications, one option may be to rely on adaptive filter technology.
[0060] An adaptive filter refers to a time-varying filter whose coefficients are adjusted in a way that optimizes a cost function or satisfies some predetermined optimization criterion. An adaptive filter can be considered to consist of two distinct parts: 1) the filter itself, where the structure of the filter is designed to perform the desired processing function; and 2) an adaptive algorithm, which is configured to adjust the coefficients of the filter to improve its performance. The filter structure and the adaptive algorithm used in a particular adaptive filter depend on various design features and acceptable tradeoffs, for example, the tradeoff between accuracy and complexity of the filter.
[0061] Figure 4 An example of an adaptive filter is shown in , where the adaptive filter 402 includes a filter 402 and an adaptive algorithm 404. An input signal x(k) is applied to a shift register or other memory device, and the output y(k) consists of a weighted sum of current and past samples of the input x. The adaptive algorithm adjusts the weights (i.e., coefficients) in the filter to minimize the error e(k) between the filter output y(k) and the filter's desired response d(k), where h(k) comes from the impulse response of the adaptive filter. Such an adaptive filter can automatically adapt (i.e., self-optimize) in the face of a changing environment and changing system requirements, and can be trained to perform specific filtering and decision-making tasks according to some update equations that define the training rules. Therefore, adaptive filters have been widely used to enable signal processing techniques to be used in various applications where it is necessary to separate signals of interest from noise.
[0062] In the case of adaptive linear prediction, there is only one input (i.e. the filter has no desired response d(k)), and the goal of the filter is to minimize the error between the input and a weighted sum of past values of the input. The signals that may appear at the input may be considered to belong to one of the following categories. One class may be considered to include noisy signals (which may be filtered and have a non-flat spectrum), while the other class may be considered to include signals consisting of a sum of sinusoids. For input signals of the first class, the adaptive linear predictor acts as a whitening filter, and the output at the "prediction error" node will look like white noise. For input signals of the second class, the signal is perfectly predictable, and if the prediction filter is long enough, the prediction error output will go to zero.
[0063] Front-end processing: Example implementation of improved filtering mechanism
[0064] Figure 5 A PPG signal (y-axis) as measured by an optical sensor such as sensor 104 described above is shown as a function of time (x-axis). Figure 5A clear illustration of the technical challenges associated with tracking heart rate within a PPG input signal is provided, since the heartbeat contribution in the PPG signal is very small compared to the very loud noise from any motion, even small motion such as running.
[0065] Embodiments of the methods described in this section, referred to herein as "time domain interference removal methods" or simply "time domain interference removal," are based on the recognition that the use of an ALP filter on accelerometer data allows the generation of filter coefficients that can then be used to filter the PPG signal before tracking the frequency of the heartbeat signal in the PPG signal. In general, the time domain interference removal described herein includes applying the ALP to generate one or more sets of dynamically changing filter coefficients, and then removing motion-related artifacts from the PPG signal using a copy of the generated filter coefficients. The same filter is inserted into the PPG signal path. The latter steps can be described as removing the PPG interference by "slave filter" with the copied coefficients. In various embodiments, the ALP method can include filtering based on applying the ALP coefficients to data from at least one, but possibly more, axes of the accelerometer. A full interference cancellation system with all three axes is also described herein.
[0066] Figure 6 An exemplary flow chart of a more detailed method 600 for tracking a heartbeat signal present in one or more input signals provided by one or more heart rate sensors in a noisy environment is shown, according to an embodiment of the present disclosure.
[0067] Method 600 includes receiving data samples of a first signal (ie, input signal) (step 602). The first signal may be generated by an optical sensor, and in some cases, the first signal is processed by an analog front end to generate (digital) data samples of the first signal.
[0068] The method 600 also includes receiving data samples of a second signal (step 604). The second signal may be generated by a device capable of detecting and quantifying the motion of the heart rate sensor, such as an accelerometer. Preferably, the second signal is obtained simultaneously with the first signal, and the two signals are processed synchronously, thereby providing the closest overlap between the motion of the heart rate sensor and the data acquired by the sensor. Similar to the first signal, in some cases, the second signal is processed by an analog front end to generate (digital) data samples of the second signal. The data samples of the second signal are received by the processor for use in the adaptive filter operation.
[0069] The accuracy of the accelerometer measurement simultaneously with the heart rate sensor measurement can be considered to accurately represent the movement of the heart rate sensor when the input signal is acquired, and then the data samples of the second signal are used to determine the filter coefficients of the filter representing the movement detected by the accelerometer (step 606). To this end, adaptive linear prediction can be used, which is exemplary implemented in Figure 7 where the variable X represents the value / signal provided from one of the accelerometer axes, i.e. Figure 6 In step 604, data samples of the second signal are received.
[0070] like Figure 7 As shown, the ALP filter 700 includes the filter itself (similar to Figure 4 402), as shown in the adaptive filter 702, which in one exemplary embodiment may be a finite impulse response (FIR) M-tap filter. The ALP filter 700 further includes an adaptive algorithm (similar to Figure 4 The algorithm 404 shown in FIG. 4 is shown as a power normalized least mean square (LMS) update algorithm 704. In addition, a power estimation element 708 may be provided, configured to estimate the power of the second signal X and then provide the power value to the power normalized adaptive algorithm 704.
[0071] In addition, the ALP filter 700 may include a single sample delay Z introduced before the filter 702. -1 706 to ensure that filter 702 can only access past data samples of the second signal X. The variable "Z" is used in this figure to indicate that "Z" can represent a Z transform similar to the Laplace transform for continuous-time circuits, except that in this case it is optimized for discrete-time processing used whenever the data is in sampled form. Therefore, in general, Z -m The variable m equal to 1 represents a single sample delay, but m can also be greater than one sample, which may be advantageous in some applications given the design tradeoffs known in the art.
[0072] for Figure 7 For example, the update equation for the kth finite impulse response (FIR) coefficient (denoted as “c”) at time n (i.e., for the nth data sample of input X) can be expressed as follows:
[0073] c(k,n)=c(k,n-1)+α*x(k,n)*err(n)power(n),
[0074] where x(k,n) is the value stored in the kth position of the FIR shift register at time n, c(k,n) is the kth coefficient at time n, err(n) is the prediction error at time n, α is a constant that controls the convergence rate, and power is the average signal power averaged over the length of the FIR filter.
[0075] The ALP filter 700 may be used as an adaptive notch filter to filter out artifacts caused by motion in an optical signal detected by an optical sensor (such as the sensor 104 described above), the motion being detected, for example, by an accelerometer (e.g., the accelerometer 110 described above). The M-tap linear prediction filter 700 will attempt to adapt to reduce the error output to zero, which is possible if the signal is perfectly predictable based on a linear combination of the previous N samples. In the case where the second signal (i.e., accelerometer data from at least one axis) consists of a sine wave + noise, the error output will consist of noise only and can be viewed as a time-varying filter that will form a notch in the frequency domain and align with the frequency of the input sinusoidal frequency. In the case where the second signal can be modeled as white noise filtered by an all-pole filter, the error output will consist of "whitened" noise and the system can be viewed as a time-varying filter where the filter adapts to the inverse of the input spectrum (hence the term "adaptive spectral whitening" may be appropriate). Unlike other methods of removing interference that rely on finding spectral peaks, this method is not limited to forming a notch filter at a specific frequency. Conversely, any "predictable" signal based on the previous M samples can be removed.
[0076] If there is no correlation between the error output and the data at a given position in the FIR filter delay line, then the corresponding coefficients may drift / drift to high values and produce a non-flat frequency response in regions of the spectrum where the source contains little energy. One solution to this problem is to add a leakage factor to the update equation, as shown below:
[0077] c(k,n)=leakage*c(k,n-1)+α*x(k,n)*err(n) / power(n)
[0078] In an embodiment, this leakage factor may be set to 0.99.
[0079] Return to Figure 6 Method 600, steps 604 and 606 may be considered to represent Figure 3 The filter coefficients described in 302 are generated, as Figure 6 The steps 604 and 606 are shown as dashed boxes marked as "302" around the steps 604 and 606. On the other hand, steps 608 and 610 can be considered to represent Figure 3 Signal conditioning 304 as described in Figure 6As shown in the dashed box labeled "304" around steps 608 and 610 in FIG.
[0080] like Figure 6 As shown, the filter coefficients determined in step 606 are then applied to a filter that filters the data samples of the first signal, for example, a PPG signal (step 608). Application of the coefficients determined in step 606 identifies contributions in the first signal that are attributable to the motion of the heart rate sensor. Since such contributions are not related to the heartbeat, but are motion-related artifacts in the first signal, the result of step 608 is subtracted from the first signal (step 610) to generate a filtered first signal in which the amount of noise is reduced by eliminating or at least reducing the noise caused by the motion of the heart rate sensor. Figure 8 It is shown in Figure 7 4. Steps 608 and 610 of the example of the ALP filter 700 shown in FIG.
[0081] Figure 8 FIG. 8 is a diagram illustrating time domain interference removal 800 for one accelerometer axis, according to an embodiment of the present disclosure. Figure 7 The generated ALP coefficients are applied to the PPG path as Figure 8 , there is an arrow “copy coefficient” between the adaptive FIR 702 of the ALP and the filter in the path of the PPG input (i.e., the first signal), which is shown as FIR filter 802. In this way, a frequency response notch can be applied to the PPG path, resulting in a PPG signal with less noise. Therefore, Figure 8 The filter 802 shown in FIG. 8 represents the application of Figure 6 The filter coefficients of step 608 are copied from Figure 8 The result of subtracting the filter 802 from the PPG input performed in element 804 shown in FIG. 8 produces a signal such as Figure 6 The filtered PPG signal of step 610 is shown.
[0082] Figure 8 The example further illustrates delay element 806, indicating that one or more sampling delays may be applied to data sampling of the first signal (similar to the delays applied by delay element 706 to data sampling of the second signal).
[0083] in addition, Figure 8It is shown that before processing the PPG input (first signal) and the accelerometer data (second signal), in some embodiments, a filter can be applied to one or both of these signals to filter out those signals that cannot be attributed to a heartbeat. Such filters are shown as a bandpass filter 808 for the first signal and a bandpass filter 810 for the second signal. Filters 808 and 810 are configured to filter out components outside the expected frequency range representing the slow-varying frequency (i.e., heartbeat) that the method is tracking. Typically, heart rates are between 0.5 Hz and 3.5 Hz (in some cases, up to 4 or 5 Hz). If the first and second signals have significant components outside the target reasonable frequency band, the data sample may not have a heartbeat to track.
[0084] Filtering using filters 808 and 810 may alternatively be performed at a later point in time, but is preferably performed prior to the step of tracking heart rate. In an embodiment, filters 808 and / or 810 may be combined with a signal conditioning process by processing the data samples with filters to substantially attenuate signal content outside of a target reasonable frequency band corresponding to slow-changing frequencies of the input signal (or applying a masking process to achieve a similar effect), and then extracting the heart rate information of the input signal. Although filters 808 and 810 are not necessarily used in the embodiment of the present invention, the heart rate information of the input signal may be extracted by filtering the data samples with filters. Figure 8 In the example, the target reasonable frequency band is shown as a bandpass filter (e.g., transmitting signals with a bandwidth of 0.5-3.5 Hz, 0.5-4 Hz, 0-4.5 Hz or similar variations thereof), but in other embodiments one or two of these filters can be implemented as a low-pass filter (e.g., transmitting signals with a bandwidth of 0-3.5 Hz, 0-4 Hz, 0-4.5 Hz or similar variations thereof). The type of filter used to attenuate signals outside the target reasonable frequency band can vary depending on the application. In addition, the target reasonable frequency band can vary depending on the application. In one example, the target reasonable frequency band includes a frequency band of 0.5 Hz to 3.5 Hz (or includes frequencies between 0.5 Hz and 3.5 Hz), which is suitable for maintaining frequency content that is more likely to be related to heartbeats.
[0085] Although Figure 8 shows the processing associated with time domain interference removal for one accelerometer axis, but Fig. 9 The complete front-end processing 900 associated with time-domain interference removal for three accelerometer axes is shown, according to an embodiment of the present disclosure. Such an approach allows the contribution in the PPG signal due to motion in each of the three orthogonal directional components to be eliminated or reduced, advantageously resulting in an improved filtered PPG signal, which can then be used to track heart rate. Fig. 9 Each accelerometer axis is processed similarly to combining Figure 8 The process described in , therefore, for the sake of brevity, is not repeated here. Fig. 9In FIG. 9 , block 902 is intended to illustrate three ALP filters, such as Figure 7 and 8 , each accelerometer axis has a corresponding ALP filter. Since each of the ALP filters 902 receives accelerometer data for a particular direction of motion, the coefficients derived by these filters and applied to the first signal can be and may be different, such as Fig. 9 As shown in FIG. 1 , separate arrows 904 lead to “copy coefficients” for each filter 906 in the PPG path. Thus, filter 906 is similar to Figure 8 Filter 802 shown in .
[0086] As used herein, Fig. 9 The "BPF" shown in blocks 908 and 910 in FIG. 1 refers to a "band pass filter", e.g., a combination of Figure 8 The filters 808 and 810 (i.e. Fig. 9 At least some or all of the BPF filters shown in FIG. 1 may be low pass filters. Although labeled with the same numerals, Fig. 9 In some embodiments of the present invention, the BPF filter 910 used in the different paths of the accelerometer axis may be different for each accelerometer axis (similar to the BPF filter 910 used in the different paths of the accelerometer axis). Fig. 9 ALP filter 902 is also labeled with the same number in FIG.
[0087] In addition, although Fig. 9 A cascade of filters 906 for filtering incoming PPG signals is shown, but in other embodiments such filters derived from multiple channels of the accelerometer may be combined differently (i.e., not necessarily fully cascaded, or using filters similar to those of FIG. Fig. 9 The cascade shown is a different cascade).
[0088] exist Fig. 9 In Fig. 9 As shown in the dashed box labeled "302" near the middle box 902, the ALP brightener 902 can be considered to represent Figure 3 Similarly, the filtering performed by filter 906 may be considered to represent Figure 3 The signal conditioning 304 described in Fig. 9 In some embodiments, BPF 908 may also be considered as part of signal conditioning 304. In addition, Fig. 9 The application of an optional high pass filter ("HPF") 912 shown in the example of can also be considered part of signal conditioning 304. Such an HPF can be used to reduce or eliminate possible high frequency artifacts resulting from applying a filter using coefficients derived from the ALP.
[0089] like Fig. 9 As shown, the PPG signal cleaned from the front end is provided to the back end frequency estimation module which tracks the heart beat frequency and provides the heart rate. Figure 6 As shown in method 600 , this means that once signal conditioning 304 has been performed on the first signal, method 600 continues with tracking heart rate (step 612 ).
[0090] An important advantage of the improved filtering mechanism described herein is its ability to filter the input signal from the heart rate sensor in the time domain, thereby eliminating the need for computationally intensive frequency domain conversion as used in frequency domain methods. Another important advantage is that it provides an improved way to reduce or eliminate motion-related artifacts from the input signal. In particular, filter generation using ALP allows for proper signal conditioning to prepare the input data samples, which can result in better tracking. This advantage can be achieved by filtering, removing, attenuating, modifying or removing certain undesirable portions of the data samples from the heart rate sensor before the data samples are processed to track heart rate.
[0091] Figure 4-9 Some examples of implementing the improved filtering methods are provided, some variations of which have been described above. The following section describes additional variations on the above described time domain interference removal.
[0092] Front-end processing: Further changes to the improved filtering mechanism
[0093] Figure 6 Steps 608 and 610 of the signal conditioning 304 shown in Figure 3 provide one example of conditioning the first signal using coefficients derived from the accelerometer data. More generally, the signal conditioning 304 may include any method for performing signal conditioning of data samples of the input signal to, for example, filter, remove or mask portions of the data samples of the first signal that may be associated with motion (i.e., data samples of the first signal that may not be associated with a heartbeat) based on filter-related artifacts.
[0094] Although Figure 8 and Fig. 9 An FIR comprising 400 taps is shown, but of course other implementations may include any other number of taps or even different kinds of filters, such as an adaptive grid filter or an adaptive infinite input response (IIR) filter. The number of taps selected for a particular implementation affects the number of notches that may be formed in the frequency domain and the possible locations of the frequencies of these notches.
[0095] Additionally, although the filters described above are sometimes described as notch filters (i.e., band-stop filters with narrow band rejection (high Q factor) that have a flat response in all frequency bands except the passed band), in general, the filters produced by ALP can include any type of more subtle filter having a non-zero response outside the passband.
[0096] Although Figure 7-9 The filter structure to be implemented as a finite input response (FIR) filter is shown, but embodiments of the present disclosure are applicable to other filter structures. Figure 7 and Figure 8 While an adaptive algorithm to be implemented as a power normalized LMS update is shown, LMS merely provides one exemplary way to update the filter, and other adaptive algorithms with minor modifications apparent to those skilled in the art may be used based on the discussion provided herein. In particular, higher performance adaptive algorithms than LMS may be implemented (even though such algorithms may be more complex).
[0097] Although many of the examples described herein are described with respect to frequencies representing heartbeats, it is contemplated that the method may be applied in other scenarios for filtering input signals used to track other types of slowly changing frequencies (e.g., frequencies of phenomena or events that do not change or jump suddenly). Additionally, although the examples herein are described with respect to one or more input signals provided by one or more optical sensors, it is contemplated that the method may be used to filter input signals generated by other types of sensors, including, but not limited to: optical sensors, audio sensors, capacitive sensors, magnetic sensors, chemical sensors, humidity sensors, wetness sensors, pressure sensors, and biosensors.
[0098] Additionally, more than one optical sensor may be used, and data obtained therefrom may be filtered according to the improved filtering method described above. The following section describes some considerations for using multiple optical sensors.
[0099] Using multiple optical sensors
[0100] The wavelengths used to measure the PPG input signal can span wavelengths from blue to infrared. In a classic application, two color LEDs (usually 660nm and 940nm) are used to measure blood oxygen saturation. These devices are mass-produced and readily available. In another application, a simple single-color LED (e.g. 940nm) can be used to measure heart rate by measuring periodic changes in the return signal. In some cases, a green LED is used to absorb the absorption changes caused by blood flow at the wrist.
[0101] Different wavelengths of light reflect differently from the skin (due to the skin's pigmentation and wrinkles, as well as other features of the skin), and different optical sensors tend to behave differently in the presence of motion when sensing light reflected from the skin. Based on this insight, information about the presence of motion and / or the quality of the input signal can be inferred. Based on the insight, the data samples processed by the tracker can also be improved. Multiple light sources with different wavelengths can be used (e.g., a red LED and a green LED). For example, by detecting these light sources and examining the differences between the input signals of an optical sensor used to detect light with various wavelengths or different parts of the spectrum of an input signal from a broadband optical sensor, it is possible to infer whether certain data samples of the input signal may have been affected by motion or other artifacts.
[0102] In general, if different characteristics and behaviors of different types of optical sensors under different conditions (or in general) are known, an internally consistent model can be provided. Based on the internally consistent model, information about the sensor's signal or environment can be inferred. Inference can help the adaptive filter coefficient generator evaluate whether certain parts of the data sample should be removed. Inference can also help signal conditioning specify how to process the data sample to improve tracking. This can include filtering the signal in some way. Inference can also signal the tracker to perform different tracking in some cases.
[0103] In some cases, using multiple optical sensors can improve tracking by eliminating or reducing common global characteristics between optical sensors to better track slowly varying frequencies. In some cases, an internally consistent model can dictate that the slowly varying frequency being tracked (e.g., the heart rate being tracked) should be substantially the same for multiple sensors (e.g., a red LED should measure the same heart rate as a green LED).
[0104] Backend processing: Overview of improved tracking mechanisms
[0105] Even after cleaning the obtained input signal after signal conditioning, such as using the improved filtering techniques described above or any other suitable signal conditioning technique, the input signal is typically still very noisy, so care should be taken when extracting the actual heart rate. The present disclosure describes an improved back-end processing mechanism that can track a heartbeat signal even in the presence of noise in the input signal.
[0106] The improved tracking mechanism is based on the recognition that by feeding the input signal to a dual filter structure, wherein the two filters pass a narrow frequency band around a resonant frequency F_RES and have substantially equal amplitudes at the frequency F_RES, and further have the characteristic that above the resonant frequency F_RES, the amplitude of the first filter is greater than the amplitude of the second filter, and below the resonant frequency F_RES, the amplitude of the second filter is greater than the amplitude of the first filter, the frequency of the input signal can be identified by adaptively modifying the resonant frequencies of the two filters until the output amplitudes of the two filters are equal. As a result, it is possible to identify / track a heartbeat signal from a noisy sensor signal.
[0107] One particularly useful dual filter structure consistent with the above description may be provided as a Chamberlin state variable filter. The following paragraphs describe in further detail how the improved tracking mechanism is performed and implemented as well as the basics of state variable filtering.
[0108] Backend processing: Example implementation of improved tracking mechanism
[0109] Fig.10 1 illustrates exemplary back-end processing, according to an embodiment of the present disclosure. While the front-end processing described above can be considered the first stage of heart rate monitoring, the back-end processing can be considered the second stage that includes the actual tracking of the heart rate in the input signal, such as the PPG signal described above.
[0110] like Fig.10 As shown, input signals from a heart rate sensor are provided to a tracking filter 1002. These signals may be raw input signals such as those generated by the heart rate sensor or input signals that have undergone some minimal processing such as filtering to retain only frequencies within a range of interest (e.g., 0.5-3.5 Hz). Such signals may be such as Figure 6 Alternatively, such a signal may be an input signal that has been processed to reduce the amount of noise therein, such as Figure 7 In this case, the HPF 1004 may be used to remove low frequency artifacts that may be introduced by the ALP filtering (i.e., the HPF 1004 is similar to Fig. 9 The input signal may also be a signal processed by any other signal conditioning technique known in the art (in which case HPF 1004 may not be necessary).
[0111] In an embodiment, an optional parallel checker 1006 may also be implemented, also as shown in Fig.10 This optional checker can be configured to perform checks to ensure that the trace filter follows the true heartbeat signal.
[0112] One algorithm performed by the inspector 1006 can be described as follows. A Fast Fourier Transform (FFT) component 1008 can be employed, for example, to operate once per second and to operate on a buffer containing the most recent data samples, for example, the buffer can contain data from the last 5 to 10 seconds. The input signal is provided to such an FFT component, such as Fig.10 As shown. As a result of performing the FFT, a matrix of time-frequency points is filled with values, and a confidence check component 1010 checks these values to determine the confidence of the frequency results reported by the tracking filter 1002. The confidence checker 1010 can adopt various criteria. In an embodiment, in order to produce a "confident" result, the frequency of the peak bin does not vary by more than + / -20% in 10 consecutive FFT frames, where a new frame is calculated every second, the length is 512 or 1024, the typical sampling rate is 100Hz, and any common window function is used and / or the amplitude of the peak bin can be greater than 1.6 times the second lowest peak for 10 consecutive frames. If a "confident" result is obtained, the confidence checker 1010 can be configured to reset the tracking filter 1002 to the frequency corresponding to the peak bin. Therefore, if the two numbers are consistent (within a certain percentage), the tracking filter is tracking correctly, otherwise the tracking filter 1002 can be reset.
[0113] In other embodiments, checker 1006 may implement other algorithms that may monitor a wider frequency spectrum and ensure that tracking filter 1002 is tracking frequencies corresponding to heartbeats.
[0114] An exemplary implementation of tracking filter 1002 is Fig.11 is shown in and is now described.
[0115] Fig.11 100 is a system diagram illustrating a heart rate monitoring device 1100 according to an embodiment of the present disclosure. Figure 2 , the device 1100 includes a light source 102 and an optical sensor 104. Optionally, the device 1100 may include other sensors 202 and an optional accelerometer 110, as described above with reference to Figure 2As described. An integrated circuit 1102 may be provided to drive the light source 102 and to provide an analog front end to receive signals provided by the optical sensor 104 and optionally provided by the accelerometer 110 and other sensors 202. In some embodiments, the analog front end 1102 may convert (if necessary) an analog input signal into data samples of the analog input signal. The analog front end may communicate with a tracker 1104 to track the frequency of the heartbeat signal of the input signal acquired by the sensor 104. The tracker 1104 is similar to the processor 206 of the tracker 212 described above (in this case, the filter coefficient generator 208 and the signal conditioner 210 may be present, but are entirely optional).
[0116] In various embodiments, the tracker 1104 may include several special application specific parts or modules, electronic circuits and / or programmable logic gates that are specifically configured to process data samples of the input signal to track the frequency input signal of the heartbeat signal from the input signal tracker 1104. The processor 1104 may be a digital signal processor that is configured with dedicated components for tracking slowly varying frequencies, and / or the processor may execute special instructions (stored on a non-transitory computer readable medium) for performing various methods of tracking slowly varying frequencies as described herein. Fig.12 An exemplary flow chart of such a method is shown, for example, by Fig.11 The tracker 1104 implementation shown is used to track heart rate.
[0117] Reference Fig.11 In some embodiments, the components of the tracker 1104 may include one or more of the following: a first filter 1106 (filter A ), the second filter 1108 (filter B ), controller 1110 and reconstructor 1112.
[0118] The first filter and the second filter are filters having a resonant frequency F_RES at which the amplitudes of their outputs are substantially equal (such amplitudes are non-zero and are typically at or near the resonant peak) and above the frequency F_RES the amplitude of the first filter is greater than the amplitude of the second filter, and below the frequency F_RES the amplitude of the second filter is greater than the amplitude of the first filter (i.e. the first and second filters have an asymmetric response). In some embodiments, such first and second filters may be implemented as parts of a single state variable filter, such as a Chamberlin filter. In various embodiments, such first and second filters may be implemented in a single filter (e.g. a Chamberlin filter or other state variable filter), or as separate filters, as long as the first and second filters have a feedback loop that allows updating one or more control parameters of the filters that control the resonant frequency of the filters until the amplitudes of their outputs are equal.
[0119] Controller 1110 implements functions related to the improved tracking mechanism, as described in more detail below. In some embodiments, controller 1110 continuously monitors input data samples of one or more signals from a heart rate sensor (input signal), and attempts to continuously determine the frequency of the heartbeat signal present in the one or more signals from the sensor. The output of controller 1110, such as the heart rate determined in beats per minute, can be provided to output 1114 (e.g., a speaker, a display, a tactile output device, etc.).
[0120] Reconstructor 1112 is similar to reconstructor 216 and therefore, for the sake of brevity, its description is not repeated here.
[0121] The first filter 1106, the second filter 1108, the controller 1110, and the reconstructor 1112 may include means for performing their respective functions. Data and / or instructions for performing the functions may be stored and maintained in the memory 1116 (which may be a non-transitory computer-readable medium).
[0122] Fig.11 The device shown in is only one example of a heart rate device, and it is contemplated that other suitable arrangements may be provided to implement an improved method for tracking the auditory rate of one or more input signals provided by a heart rate sensor in a noisy environment.
[0123] Fig.12An exemplary flow chart of a more detailed method 1100 for tracking a heartbeat signal present in one or more input signals provided by one or more heart rate sensors in a noisy environment according to an embodiment of the present disclosure is shown. The method 1200 may be performed by the controller 1110 and / or by the tracker 212. The method 1200 may begin by setting initial control parameters of the first and second filters (step 1202). In some embodiments, such control parameters may include one or more parameters, such as coefficients of a digital FIR or digital IIR filter or one or more parameters of a state variable filter. The control parameters of the first and second filters may be, but are not necessarily, the same. The initial setting of the control parameters may be optimized, for example, to match the typical heart rate of a stationary person. The control parameters of the filters control the resonant frequency F_RES. Therefore, setting / updating (i.e., changing) the control parameters means setting / updating the resonant frequency F_RES of the first and second filters.
[0124] The method 1200 also includes receiving data samples of an input signal and providing the received data samples to the first filter 1106 and the second filter 1108 (step 1204). The input signal may be generated by an optical sensor, and in some cases, the input signal is processed by an analog front end to generate (digital) data samples, possibly subject to signal conditioning of the input signal.
[0125] In response to receiving the input signal, the first and second filters generate an output. In step 1206, the method includes determining the amplitude of the output of the first filter (amplitude A) and the amplitude of the output of the second filter (amplitude B). The amplitude can be expressed, for example, in terms of mean square value, root mean square value, peak-to-peak value, or any other measurement representing the amplitude of the output signal.
[0126] Based on the determined amplitudes A and B, in step 1208, the method includes updating one or more control parameters. In particular, when the amplitude A is not equal to the amplitude B, the updating of the control parameters aims to equalize these amplitudes by shifting the resonant frequency F_RES to be equal to the input frequency. In other words, the control parameters are updated so that the amplitudes A and B will become equal. The resonant frequency F_RES of the first and second filters moves up and down in frequency according to the change of the control parameter update value.
[0127] Some filter topologies described in more detail below, such as the state variable filter, have a very simple mathematical relationship between the filter control parameters of the resonant frequency F_RES and the control frequency F_RES, and these topologies may be preferred in order to reduce the computational burden.
[0128] In the following Fig.13 and Fig.14 The steering of the filter output by updating the control parameters is shown in FIG.
[0129] In an optional embodiment, the control parameters may also be updated based on a signal indicating movement of the heart rate sensor during acquisition of the input signal that is tracking the heartbeat signal. Such a signal may, for example, include an accelerometer signal as described herein. In another embodiment, the Q factor of at least one but preferably both of the first and second filters may be dynamically adjusted, for example, by dynamically changing the Q factor of one or more second order IIR filters, depending on how much movement is experienced during acquisition of the input signal. Fig. 20 To describe the considerations for adjusting the Q factor.
[0130] Method 1200 also includes determining the frequency of the heartbeat signal based on the current value of the control parameter (i.e., based on the current value of F-RES) (step 1210). Typically, a properly scaled and processed version of one or more control parameters can be used as the output heart rate. In cases where the heart rate changes rapidly, the control loop may not be fast enough to give an accurate representation of the instantaneous heart rate, but in general, some lag between the true heart rate and the heart is acceptable as long as the lag time is not too long, just present to the user. Therefore, it is acceptable to directly output a scaled version of one or more control parameters as the output heart rate. However, where the signal quality is very poor, or its analog-to-digital converter (ADC) may be saturated, or any other condition that may indicate low confidence in the heart rate estimate freezes the heart rate display or displays an error. In this case, the calculated or presented heart rate may be different from the simple version of the control parameter.
[0131] In some cases, there may be a non-linear relationship between the value of one or more control parameters and the true resonant frequency of the first and second filters. Therefore, if the value of one or more control parameters is simply scaled and used as the output heart rate, there may be some error. This error can be eliminated by including some intentional non-linearity that is designed to compensate for the non-linear relationship between the one or more control parameters and the resonant frequency of the first and second filters.
[0132] If the amplitudes are not equal, the method may proceed from step 1208 to step 1204, ie, steps 1204-1208 are iterated until the amplitudes of the results of the first and second filters are substantially equal.
[0133] Fig.13 and Fig.14 , where the first filter is implemented as an underdamped high-pass filter and the second filter is implemented as an underdamped low-pass filter.
[0134] Fig.13The results of a low pass filter (solid line 1302) and a high pass filter (dashed line 1304) according to an embodiment of the present disclosure are shown. The two filters can be controlled by comparing the outputs, such as Fig.14 shown.
[0135] Fig.14 The diversion of the filter output according to an embodiment of the present disclosure is shown. Fig.14 The two side graphs show with lines 1400 the frequency F_RESat where the outputs of the first and second filters are equal in magnitude (both curves 1400 pass through peaks where the magnitudes are equal).
[0136] Fig.14 The curve on the left illustrates a situation where the PPG input frequency is lower than the resonant frequency F_RES of both filters. In this case, the amplitude of the output of the high-pass filter is less than the amplitude of the output of the low-pass filter. Therefore, the amplitude (e.g., mean square value) of the high-pass filter divided by the amplitude (e.g., mean square value) of the low-pass filter is less than 1 (or in other words, the difference of these amplitudes is negative). In this case, as indicated by the arrows in the curve, one or more control parameters need to be updated to move the resonant frequency F_RES (the responses of the first and second filters are equal) downward.
[0137] Fig.14 The graph on the right illustrates a situation where the PPG input frequency is higher than the resonant frequency F_RES of both filters. In this case, the amplitude of the output of the high-pass filter is greater than the amplitude of the output of the low-pass filter. Therefore, the amplitude (e.g., mean square value) of the high-pass filter divided by the amplitude (e.g., mean square value) of the low-pass is greater than 1 (or in other words, the difference in these amplitudes is positive). In this case, one or more control parameters need to be updated to move the resonant frequency F_RESup, as shown by the arrow in the graph.
[0138] In an embodiment, the first and second filters may be implemented as Chamberlin state variable filters, which will be briefly described below.
[0139] Basics of State Variable Filters
[0140] An analog state variable filter is an active filter (i.e. a filter using active elements such as amplifiers) that includes one or more integrators (i.e. a component whose output is the time integral of its input signal) connected in some feedback loop configuration. A state variable filter directly implements a state-space model, where the instantaneous output voltage of one of the integrators corresponds to one of the state variables of the state-space model.
[0141] The Chamberlin filter is a digital filter that approximates an analog state variable filter and can be used to implement the first and second filters described herein. The name "Chamberlin" derives from the fact that such a state variable filter was first described in "Musical Applications of the Microprocessor" by Hal Chamberlin, by directly replacing components in the digital counterparts with analog state variable filters. The Chamberlin filter provides a convenient way to implement the first and second filters described herein because low-pass, high-pass, band-pass and band-stop outputs are available simultaneously, the cutoff (or resonant) frequency and Q control are independent, and their values can be easily calculated.
[0142] Fig.15 A Chamberlin state variable digital filter according to some embodiments of the present disclosure is shown. Using this filter (or another type of state variable filter) can be considered as a first step in using the tracker 1104 / 212. The parameter f can be calculated using the following formula for the corner frequency:
[0143] f=2πf c / f s
[0144] Among them, f c is the filter's corner frequency (a design parameter set according to the specific implementation), f s refers to the sampling rate (also a design parameter). In cases where a high-resonance oscillator is required, the frequency f c It can also be called the resonant frequency, which is Fig.14 The frequencies F_RES shown are the same. The low pass, high pass, band pass and band stop (ie notch filter) outputs are shown as outputs 1502, 1504, 1506 and 1508 respectively.
[0145] Fig.16 The responses from each output of the Chamberlin state variable digital filter are shown, according to an embodiment of the present disclosure. The responses are shown from Fig.15 The response of the low-pass filter output of the filter is 1602, from Fig.15 The response of the high pass filter output of the filter 1604 comes from Fig.15 The response of the bandpass filter output of the filter 1606 and the Fig.15 Response 1608 of the notch filter (band stop) output of the filter.
[0146] Back to Fig.15 , the input "f" shown in the figure represents the reference Fig.12An example of a control parameter (in this case only one control parameter) is described. The Chamberlin filter is tuned by changing the value of the input parameter f which adjusts the value of F_RES. The goal of the tracking algorithm described here is to find the value of the control parameter f at which the amplitudes of the two filters (in this example, the low-pass and high-pass outputs of the Chamberlin filter) match. The latter (i.e., the low-pass and high-pass outputs of the Chamberlin filter have the same amplitude) occurs when F_RES is equal to the input frequency of the input signal to the Chamberlin filter.
[0147] One advantage of the Chamberlin filter is that the filter resonant frequency F_RES can be adjusted with a single control parameter (input "f"), so the frequency F_RES, at which the outputs of the first and second filters are equal, can be determined by simply adjusting this single parameter.
[0148] If the "Q" factor is set to a large value (e.g., greater than 2), the low-pass and high-pass outputs of the Chamberlin filter exhibit a resonant response (i.e., have a resonant peak) at a frequency F_RES, whose value depends on the value of the control parameter "f", where the amplitudes of the low-pass and high-pass outputs are the same. Generally speaking, a large Q value is advantageous in this regard because it helps reduce sensitivity to noise and interfering signals at frequencies different from the desired signal.
[0149] Using Cascaded Filters
[0150] Using one stage of first and second filters to tune the control parameters of the filters until their amplitudes are equal is sufficient to track the heart rate frequency from control parameters of equal amplitude. However, using a cascaded architecture may provide further advantages as it may allow for increased frequency resolution (i.e. a steeper drop off from the resonant frequency).
[0151] Fig.17 17 shows an overall diagram of an exemplary tracking algorithm according to an embodiment of the present disclosure, wherein three state variable filters 1702, 1704 and 1706, for example, Chamberlin filters, are cascaded. For each of these filters, Fig.17 In this case, “Lpf” refers to the low-pass output (e.g. Fig.15 1502), "hpf" refers to the high-pass output (e.g. Fig.15 1504), "bpf2" refers to the modified bandpass filter response as described below, "IN" refers to the input signal to the filter, and "CP" refers to one or more input control parameters (hence CP) (for example Fig.15 The control parameter of the Chamberlin filter is parameter "f", such as Fig.17The "CP" shown provides "f").
[0152] Fig.18 Graph 1 shows a modified bandpass filter response according to an embodiment of the present disclosure. Fig.18 As shown, by adding a portion of the high-pass filter output (indicated by weight K in the figure) and a portion of the low-pass filter output (indicated by K in the figure, although the two weights may be different) to Fig.15 The passband of the Chamberlin filter may limit the attenuation away from the peak, resulting in a state variable filter with a modified bandpass output (denoted as “bpf2”, as shown in response 1802.
[0153] Back to Fig.17 In the structure, since filters 1702-1706 are cascaded to ensure a more obvious peak, filter 1702 receives an input signal (e.g., a PPG signal) as an input, and then provides a modified bandpass output "bpf2" of filter 1702 as an input signal to filter 1704, and the modified bandpass output "bpf2" of filter 1704 is provided as an input signal to filter 1706 (e.g., Fig.17 1708 and 1710, and the control parameter f is updated accordingly (block 1712).
[0154] exist Fig.17 , "A" refers to the mean square value of the output of the high pass filter of filter 1706, and "B" refers to the mean square value of the output of the low pass filter of filter 1706. However, in other embodiments, any other arbitrary function (other than the mean square value) that estimates the magnitude of the response may be used.
[0155] In addition, Fig.17 In , the control parameter f is shown to be updated according to the equation:
[0156]
[0157] means that the magnitudes of the first and second filters are evaluated based on their ratio (the target ratio is 1), where f 旧 and f 新 denote the values of the control parameter f before and after the update, respectively, and speed refers to how fast the feedback system responds to rapidly changing input frequencies.
[0158] However, in other embodiments, the update may be different. For example, the amplitudes of the first and second filters may be compared by considering their difference, in which case the update equation may be of the form:
[0159] f 新 =f 旧 +alpha*(AB),
[0160] where alpha refers to the positive value of the difference between the control system responses A and B. Both of these update equations shift the value of the frequency F_RES upward when the high-pass output A is greater than the low-pass output B (i.e., the frequency at which the amplitudes of the low-pass and high-pass outputs are equal), and shift the value of the frequency F_RES upward when the high-pass output A is less than the low-pass output B (according to Fig.14 ), and will prevent the first and second filters from adapting further when A=B, but the dynamics of how the lowpass and highpass filters get there (i.e., how their control parameters are changed) may be different.
[0161] Other update equations that compare the outputs of the first and second filters and update the control parameters accordingly will be apparent to those skilled in the art and are therefore within the scope of the present disclosure.
[0162] The updated value of the control parameter f is related to the oscillation frequency F_RES expressed below:
[0163] F_RES=2*PI*f / fs
[0164] The updated value of the control parameter f is related to the resonant frequency F_RES F_RES = 2*PI*f / fs, where fs is the sampling frequency. In this case, the control parameter f is a parameter used to set the integrator gain in the state variable filter. Because the preferred update equation depends only on the ratio of A / B, any other variable that is linearly related to f can be updated, and the parameter f can be calculated as a scaled version of the variable. For example, since F_RES and f are linearly related, the update equation can operate on a variable equal to F_RES, which can then be scaled by (fs / (2*PI)) to give the parameter f, which will result in a state variable filter having a resonant frequency of F_RES. Those skilled in the art will recognize that many other filter topologies can achieve the same response shape, but a more complex set of equations may be required to generate multiple parameters to appropriately scale the frequency response of the filter, all of which are within the scope of the present disclosure.
[0165] Speed vs Damping of Filters
[0166] As is known, the damping of a filter is usually measured in a quality factor called "Q factor" or simply "Q". In order to be able to identify the resonance peak, the first and second filters are equal according to embodiments of the present disclosure, preferably using a moderately high Q value (otherwise the filter response is too broad and the peak is more difficult to identify). However, a high Q value results in a low speed and therefore a large delay (lag) before the heart rate can be obtained. The delay time may be unacceptable, especially when the measurement has just started and it is important to obtain the first heart rate as soon as possible.
[0167] Fig.19 is shown for the track speed of the frequency ramp input, according to an embodiment of the present disclosure. Fig.19 In FIG. 1 , line 1902 shows an instantaneous sinusoidal PPG input frequency artificially generated using a standard formula for generating a frequency modulated signal, and line 1904 shows the frequency recognized by the tracker described herein as the frequency of a heartbeat signal. Fig.21 The graph is based on published data and assumes a worst case dbpm / dt of 60 bpm over 45 seconds. Fig.19 , the tracking filter lags behind by 3 seconds, or is in error at a given time of 5 p.m. In an embodiment, tracker 1104 / 212 may be configured to correct the reading of the heart rate by estimating the slope, for example, based on empirical data.
[0168] In an embodiment, the Q factor of the first and / or second filter may be set based on the amount of motion present, for example, based on a signal, such as an accelerometer signal, indicating motion of the heart rate sensor during acquisition of the input signal in which the heartbeat signal is being tracked. Fig. 20 , where the y-axis is used to illustrate the Q value and the x-axis is used to illustrate a parameter indicating the RMS value of all three accelerometer channels (the sum of all axes, normalized to an accelerometer gain of 1G=1.0). Fig. 20 For the simulation, the variable "speed" was set equal to 0.001 / Q.
[0169] When the RMS amplitude of the accelerometer (including all 3 axes) is below a certain threshold (i.e., the motion is relatively small), the motion artifacts in the PPG channel are minimal. In this case, the Q of the tracking filter can be lower and the tracking speed can be higher (because speed is inversely proportional to Q), thereby reducing the initial pulse acquisition time. When the accelerometer power exceeds a certain threshold, motion artifacts in the PPG signal begin to appear. In this case, increasing the filter Q and reducing the tracking speed can make the filter robust to suppress interfering signals. In this way, the behavior of the tracking filter 1104 / 212 can be dynamically modified based on the amount of motion.
[0170] It should be noted that Fig. 20Adjustments to the Q value based on empirical data are depicted, and of course in other embodiments the values depicted on the x-axis and y-axis may be different. Fig. 20 In the example shown, a Q factor value of 1.5 is considered a "low" value, while a value of 3.0 is considered a "high" value, and the 0.017 and 0.035 values on the x-axis are empirically derived thresholds, where 1.0 represents an acceleration of 1 G. Fig. 20 Note that when the accelerometer channel indicates relatively little motion, for example according to some predefined or dynamically defined first threshold ( Fig.19 017), a low Q value (i.e., a high speed of adaptation) can be used. This is reasonable because the input signal (e.g., PPG signal) has little or no motion, is relatively clean (with few, if any, motion-related artifacts), and the frequency locked by the tracker 1104 / 212 is likely to be a true heartbeat signal. Fig. 20 Further, as the amount of exercise increases, for example, according to some predetermined or dynamically defined second threshold ( Fig. 20 The threshold in is defined by the value of x greater than 0.035) and Q can be increased. Higher Q means lower speed, but this sacrifice is reasonable because noisier data requires stronger filter characteristics to robustly suppress the noise and extract the heartbeat frequency. Therefore, for x greater than 0.035, Fig. 20 The illustration uses high Q values, where the x values gradually increase between 0.017 and 0.035.
[0171] Fig.21 An embodiment of tracking with asymmetric up / down time constants is shown. Fig.21 , line 2102 shows something like Fig.19 Line 1902 shows the instantaneous sinusoidal PPG input frequency, and line 2104 shows the frequency of the heartbeat signal within the PPG input input by the tracker described herein, similar to Fig.19 Line 1904.
[0172] Real-life heart rate measurements show that the maximum positive rotation rate of the heart rate (i.e., the rate of change of the heart rate per unit time) may be greater than the maximum negative heart rate slew rate. To obtain the best tracking performance, it is desirable to match the asymmetric up / down rate of the input PPG signal by using an asymmetric time constant in the filter update equation. The new update equation can be expressed as:
[0173] Ratio = Average_sq(High Pass) / Average_sq(Low Pass)
[0174] If (ratio>1), speed = speed_nominal*(2*ratio-1)
[0175] Other speeds = speed_nominal
[0176] F control = F control * ratio ^ speed
[0177] Please note that speed_nominal is Fig. 20 The Q in adjusts the speed.
[0178] If asymmetric time constants are not used, the overall tracking speed needs to be high enough to track the maximum positive slew rate observed in the PPG input data, which results in overall sensitivity to input noise. This problem can be overcome by increasing the speed of the system when large positive slew rates are encountered.
[0179] Simulation Results
[0180] Fig. 22 A comparison of heart rate monitoring during a 15 minute walk / jog / run using time domain interference removal with the tracking mechanism described herein (line 2202) and ECG monitoring using an electrocardiogram (ECG) (line 2204) is shown. The x-axis represents time, while the y-axis represents BPM. As shown in the figure, the improved front end and improved back end processing described herein enable highly accurate tracking of the frequency of the heartbeat signal.
[0181] Example
[0182] Example 1A provides a method for assisting in identifying and / or tracking a heartbeat signal present in one or more first signals generated by one or more sensors in a noisy environment, the method comprising the steps of: receiving data samples of the first signal; receiving data samples of a second signal indicating movement of the one or more sensors; applying adaptive linear prediction to at least a portion of the data samples of the second signal to determine coefficients of an adaptive linear filter configured to filter at least a portion of the noise content present in the second signal from the signals indicating movement of the one or more sensors; and generating a filtered first signal by subtracting from the first signal a signal generated by applying a filter including the determined coefficients to the first signal.
[0183] Example 2A provides a method according to Example 1A, wherein the second signal includes at least a first portion indicating movement of the one or more sensors relative to a first direction, and a second portion indicating movement of the one or more sensors relative to a second direction, and applying adaptive linear prediction to at least a portion of data samples of the second signal includes: i) applying adaptive linear prediction to the first portion of the second signal to determine a first set of coefficients for a first adaptive linear filter, configured to filter at least a portion of noise content present in the first portion of the second signal from a signal indicating movement of the one or more sensors relative to the first direction; and ii) applying adaptive linear prediction to the second portion of the second signal to determine a second set of coefficients for a second adaptive linear filter, configured to filter at least a portion of noise content present in the second portion of the second signal from a signal indicating movement of the one or more sensors relative to the second direction.
[0184] Example 3A provides a method according to Example 2A, wherein generating a filtered first signal includes generating a filtered first signal by subtracting from the first signal a signal generated by applying a filter including a determined first set of coefficients to the first signal, and subtracting a signal generated by applying a filter including a determined second set of coefficients to the first signal.
[0185] Example 4A provides a method according to any of the preceding examples, wherein the filter comprises a finite impulse response (FIR) filter.
[0186] Example 5A provides a method according to any of the preceding examples, wherein the adaptive linear prediction is based on a power normalized least mean square (LMS) update algorithm.
[0187] Example 6A provides a method according to any of the preceding examples, wherein an update equation of the power normalized LMS algorithm includes a leakage factor (LF).
[0188] Example 7A provides a method according to any of the preceding examples, further comprising processing data samples of the second signal using a preprocessing filter to substantially attenuate signal content outside a target reasonable frequency band corresponding to a heartbeat before applying adaptive linear prediction.
[0189] Example 8A provides a method according to any of the preceding examples, wherein the pre-processing filter is a low-pass filter or a band-pass filter, and the target reasonable frequency band includes frequencies between 0.5 Hz and 3.5 Hz.
[0190] Example 9A provides a method according to any of the preceding examples, further comprising processing data samples of the first signal with a preprocessing filter to substantially attenuate signal content outside a target reasonable frequency band corresponding to heartbeats before generating a filtered first signal.
[0191] Example 10A provides the method of Example 9A, wherein the pre-processing filter is a low pass filter or a band pass filter, and the target reasonable frequency band includes frequencies between 0.5 Hz and 3.5 Hz.
[0192] Example 11A provides a method according to any of the preceding examples, further comprising applying a filter or mask to or removing a portion of the data samples of the first signal indicative of a saturation state of the one or more sensors before generating the filtered first signal.
[0193] Example 12A provides a method according to any of the preceding examples, further comprising, before applying the adaptive linear prediction, applying a filter or mask to or removing a portion of the data samples of the second signal that are outside an expected value range of values of the second signal.
[0194] Example 13A provides a method according to any of the preceding examples, further comprising, before generating the filtered first signal, applying a filter or mask to or removing a portion of the data samples of the first signal that are outside of an expected range of values of the first signal.
[0195] Example 14A provides a method according to any of the preceding examples, further comprising processing the filtered first signal to track a heartbeat signal.
[0196] Example 15A provides a method according to Example 14A, wherein processing the filtered first signal to track a heartbeat signal includes generating a time-frequency representation of the filtered first signal, and tracking one or more contours present in the time-frequency representation to track the heartbeat signal.
[0197] Example 16A provides a system including components for implementing the method according to any of Examples 1A-15A.
[0198] Example 17A provides a data structure to assist in implementing the method according to any of Examples 1A-15A.
[0199] Example 18A provides a system for assisting in identifying and / or tracking a heartbeat signal present in one or more first signals generated by one or more sensors in a noisy environment, the system comprising: at least one memory element configured to store computer-executable instructions; and at least one processor coupled to the at least one memory element and configured to perform a method according to any one of Examples 1A-15A when executing the instructions.
[0200] Example 19A provides a system according to Example 18A, further comprising one or more sensors.
[0201] Example 20A provides a system according to Example 19A, wherein the one or more sensors include one or more of: an optical sensor, an audio sensor, a capacitive sensor, a magnetic sensor, a chemical sensor, a humidity sensor, a wetness sensor, a pressure sensor, and a biosensor.
[0202] Example 21A provides a system according to any of the above examples, further including one or more accelerometers configured to generate a second signal.
[0203] Example 22A provides one or more non-transitory tangible media encoding logics, including instructions for execution, which, when executed by a processor, are operable to perform operations for assisting in identifying and / or tracking a heartbeat signal present in one or more first signals generated by one or more sensors in a noisy environment, the operations including operating according to a method described in any of Examples 1A-15A.
[0204] Example 1B provides a method for extracting the frequency of a heartbeat signal present in an input signal generated by one or more sensors using a structure configured to implement a first filter and a second filter, wherein the first filter and the second filter are filters having a frequency F_RES, at which the amplitudes of their outputs are substantially equal, and above the frequency F_RES, the amplitude of the first filter becomes greater than the amplitude of the second filter, and below the frequency F_RES, the amplitude of the second filter becomes greater than the amplitude of the first filter, the method comprising the following steps: a) determining the amplitude of the output generated by the first filter in response to the first filter receiving an input signal and one or more filter control parameters; b) determining the amplitude of the output generated by the second filter in response to the second filter receiving an input signal and one or more filter control parameters; c) updating the filter control parameters based on the amplitudes of steps a) and b) and proceeding to step a); d) determining the frequency of the heartbeat signal based on the one or more filter control parameters.
[0205] Example 2B provides the method according to Example 1B, wherein the first filter and the second filter are filters of Chamberlin state variable filters.
[0206] Example 3B provides a method according to Example 1B or 2B, further comprising adjusting the one or more filter control parameters based on a signal indicative of motion of the one or more sensors.
[0207] Example 4B provides the method of Example 3B, wherein adjusting one or more filter control parameters includes dynamically changing a Q factor of one or more second-order IIR filters.
[0208] Example 5B provides a method according to any of the preceding examples, further comprising processing the input signal using a pre-processing filter to substantially attenuate signal content outside a target reasonable frequency band corresponding to heartbeats before performing step a).
[0209] Example 6B provides the method of Example 5B, wherein the pre-processing filter is a low pass filter or a band pass filter; and the target reasonable frequency band includes frequencies between 0.5 Hz and 3.5 Hz.
[0210] Example 7B provides a method according to any of the preceding examples, wherein the input signal includes a filtered input signal, and the method further includes generating the filtered input signal from a first signal generated by the one or more sensors prior to steps a)-d) by the following steps: applying adaptive linear prediction to at least a portion of data samples of a second signal, the second signal indicating movement of the one or more sensors to determine coefficients of an adaptive linear filter configured to filter at least a portion of noise content present in the second signal from the signal indicating movement of the one or more sensors; and generating the filtered input signal by subtracting from the first signal a signal generated by applying the first signal to a filter including the determined coefficients.
[0211] Example 8B provides a method according to Example 7B, wherein the second signal includes at least a first portion indicating movement of the one or more sensors relative to a first direction, and a second portion indicating movement of the one or more sensors relative to a second direction; and applying adaptive linear prediction to at least a portion of the data samples of the second signal includes: applying adaptive linear prediction to the first portion of the second signal to determine a first set of coefficients for a first adaptive linear filter, configured to filter at least a portion of noise content present in the first portion of the second signal from a signal indicating movement of the one or more sensors relative to the first direction; and applying adaptive linear prediction to the second portion of the second signal to determine a second set of coefficients for a second adaptive linear filter, configured to filter at least a portion of noise content present in the second portion of the second signal from a signal indicating movement of the one or more sensors relative to the second direction.
[0212] Example 9B provides the method of Example 7B, wherein the adaptive linear prediction is based on a power normalized least mean square (LMS) update algorithm.
[0213] Example 10B provides a heart rate monitoring system, including a filter structure and one or more processing units. The filter structure is used to be able to determine the frequency of a heartbeat signal present in an input signal generated by one or more sensors, and the filter structure is configured to implement a first filter and a second filter, wherein the first filter and the second filter are filters having a frequency F_RES, at which the amplitudes of their outputs are substantially equal, and above the frequency F_RES, the amplitude of the first filter becomes greater than the amplitude of the second filter, and below the frequency F_RES, the amplitude of the second filter becomes greater than the amplitude of the first filter. One or more processing units are configured to: a) determine the amplitude of the output generated by the first filter in response to the first filter receiving an input signal and one or more filter control parameters; b) determine the amplitude of the output generated by the second filter in response to the second filter receiving an input signal and one or more filter control parameters; c) update the filter control parameters based on the amplitudes of steps a) and b) and proceed to step a); and d) determine the frequency of the heartbeat signal based on one or more filter control parameters.
[0214] Example 11B provides a heart rate monitoring system according to Example 10B, wherein the filter structure includes a Chamberlin state variable filter.
[0215] Example 12B provides a heart rate monitoring system according to Example 10B or 11B, wherein the filter structure includes one or more digital infinite input response (IIR) filters, and one or more filter control parameters control coefficients of the one or more digital IIR filters.
[0216] Example 13B provides a heart rate monitoring system according to any of Examples 10B-12B, wherein the filter structure includes one or more digital finite input response (FIR) filters, and one or more filter control parameters control coefficients of the one or more digital FIR filters.
[0217] Example 14B provides a heart rate monitoring system according to any of Examples 10B-13B, wherein the one or more processors are further configured to adjust the one or more filter control parameters based on a signal indicating movement of the one or more sensors.
[0218] Example 15B provides a heart rate monitoring system according to Example 14B, wherein the filter structure includes one or more second-order IIR filters; and the one or more sensors are configured to adjust the one or more filter control parameters by dynamically changing the Q factor of the one or more second-order IIR filters.
[0219] Example 16B provides a heart rate monitoring system according to any of Examples 10B-15B, further comprising one or more sensors.
[0220] Example 17B provides a heart rate monitoring system according to Example 16B, wherein the one or more sensors include one or more of the following: an optical sensor, an audio sensor, a capacitive sensor, a magnetic sensor, a chemical sensor, a humidity sensor, a wetness sensor, a pressure sensor, and a biosensor.
[0221] Example 18B provides a heart rate monitoring system according to any of Examples 10B-17B, further comprising a pre-processing filter configured to process the input signal to substantially attenuate signal content outside a target reasonable frequency band corresponding to a heartbeat.
[0222] Example 19B provides a heart rate monitoring system according to Example 18B, wherein the pre-processing filter is a low-pass filter or a band-pass filter; and the target reasonable frequency band includes frequencies between 0.5 Hz and 3.5 Hz.
[0223] Example 20B provides a heart rate monitoring system according to any of Examples 10B-19B, further comprising a filter configured to filter input signals generated by the one or more sensors based on accelerometer signals indicating movement of the one or more sensors before the one or more processing units perform steps a)-d).
[0224] Example 21B provides a system including components for implementing the method according to any of Examples 1B-9B.
[0225] Example 22B provides data structures to assist in implementing a method according to any one of Examples 1B-9B.
[0226] Example 23B provides one or more non-transitory tangible media encoding logics, including instructions for execution, which, when executed by a processor, are operable to perform operations for assisting in identifying and / or tracking a heartbeat signal present in one or more first signals generated by one or more sensors in a noisy environment, the operations including operating according to a method described in any of Examples 1B-9B.
[0227] The output of performing the method according to any one of Examples 1A-15A can be used as an input to the method according to any one of Examples 1B-9B, possibly with further modifications. In other words, the filtered first signal generated by performing the method according to any one of Examples 1A-15A can be used as the basis for an input signal, or such an input signal, provided to a structure configured to implement a first filter and a second filter, thereby performing the method according to any one of Examples 1B-9B.
[0228] Variations and implementations
[0229] It is contemplated that a heart rate monitoring device as described herein (which may include improved front-end processing without the improved back-end processing described herein, or only improved back-end processing without the improved front-end processing described herein, or both improved front-end processing and improved back-end processing) may be provided in a variety of fields, including medical equipment, safety monitoring, patient monitoring, medical equipment, medical equipment, automotive equipment, aerospace equipment, consumer electronics, sports equipment, etc.
[0230] In some cases, the heart rate monitoring device can be used as a professional medical device in a medical setting, such as a doctor's office, emergency room, hospital, etc. In some cases, the heart rate monitoring device can be used in less formal settings, such as schools, gyms, homes, offices, outdoors, underwater, etc. The heart rate monitoring device can be provided in a consumer healthcare product.
[0231] The heart rate monitoring device or its parts can take many forms. For example, a watch, a ring, a wristband, a chest strap, a headband, headphones, earplugs, clips, clips, clothing, bags, shoes, glasses, Google, hats, suits, necklaces, accessories / patch / strips / pads that can be attached to biological, accessories, portable devices, etc. In particular, wearable technology (or commonly referred to as "wearable devices", i.e., electronic devices intended to be worn by humans or other biological) can greatly utilize the benefits of the heart rate monitoring device disclosed herein, due to the portability of wearable devices and the strong response of heart rate monitoring technology to motion artifacts. Even in the presence of noise, wearable devices can effectively track heart rate. In addition to wearable devices, portable or mobile devices such as mobile phones and tablets can also include a processor with tracking capabilities, an analog front end, a light source and a light sensor (or an extension (wired or wireless) with a light source and a light sensor) to provide a heart rate monitoring device. Users can conveniently use ubiquitous mobile phones to measure heart rate. In addition, it is conceivable that the heart rate monitoring device can be used for wired or wireless accessories, such as cuffs, clips, belts, probes, etc., to sense the physiological parameters of biological organisms. These accessories can be connected to a machine configured to provide a processor and an analog front end. The analog front end can be provided in the accessory or in the machine.
[0232] In addition to tracking heart rate, heart rate monitoring devices can also provide other physiological parameters such as blood oxygen saturation (SpO2), blood pressure, respiratory rate, activity or movement, etc. In addition to humans, heart rate monitoring devices can also be provided to measure the slow tracking frequencies present in the signal to sense other organisms such as animals, insects, plants, fungi, etc.
[0233] In the discussion of the above embodiments, capacitors, clocks, DFFs, dividers, inductors, resistors, amplifiers, switches, digital cores, transistors, and / or other components can be easily replaced, changed, or otherwise modified to suit specific circuit requirements. In addition, it should be noted that the use of complementary electronic devices, hardware, software, etc. provides an alternative for implementing the teachings of the present disclosure. For example, instead of processing signals in the digital domain, equivalent electronic devices can be provided that can process signals in the analog domain.
[0234] In one example embodiment, any number of circuits of the figure can be implemented on a board of a related electronic device. The circuit board can be a general circuit board that can accommodate various components of the internal electronic system of the electronic device, and further provide connectors for other peripheral devices. More specifically, the circuit board can provide an electrical connection, and other components of the system can be electrically connected by the electrical connection. Any suitable processor (including a digital signal processor, a microprocessor, a support chipset, etc.), a computer-readable non-temporary memory element, etc. can be appropriately coupled to the board based on specific configuration requirements, processing requirements, computer design, etc. Other components such as external memory, additional sensors, controllers for audio / video displays, and peripherals can be connected to the board as plug-in cards, connected to the board via cables, or integrated into the board itself. In various embodiments, the functions described here can be implemented in simulation form as software or firmware running in one or more configurable (e.g., programmable) elements arranged in a structure that supports these functions. The software or firmware providing simulation can be provided on a non-temporary computer-readable storage medium including instructions that allow the processor to perform those functions. In some cases, application-specific hardware can be provided with the processor or provided in the processor to perform these functions.
[0235] In another exemplary embodiment, the circuit of the figure may be implemented as a stand-alone module (e.g., a device having related components and circuits configured to perform a specific application or function), or as a plug-in module into a dedicated hardware electronic device. Note that certain embodiments of the present disclosure may be easily included in part or in whole in a system-on-chip (SOC) package. SOC represents an IC that integrates the components of a computer or other electronic system into a single chip. It may contain digital, analog, mixed-signal, and typically radio frequency functions: all of which can be provided on a single chip substrate. Other embodiments may include a multi-chip module (MCM) having multiple individual ICs located within a single electronic package and configured to interact closely with each other through the electronic package. In various other embodiments, the slow frequency tracking function may be implemented in one or more silicon cores in an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and other semiconductor chips.
[0236] Note that the activities discussed above with reference to the figures apply to any integrated circuit involving signal processing, particularly those that can execute specialized software programs or algorithms, some of which may be related to processing digitized real-time data to track heart rate. Certain embodiments may involve multi-DSP signal processing, floating point processing, signal / control processing, fixed function processing, microcontroller applications, etc. In some cases, the features discussed herein may be applicable to medical systems, scientific instruments, wireless and wired communications, radar, industrial process control, audio and video equipment, current sensing, instrumentation (which can be highly accurate), and other digital processing-based systems. In addition, certain embodiments discussed above may be provided in digital signal processing technologies for medical imaging, patient monitoring, medical instruments, and home health care. These include lung monitors, heart rate monitors, pacemakers, and the like. Other applications may involve automotive technologies for safety systems (e.g., stability control systems, driver assistance systems, braking systems, infotainment systems, and any type of interior applications). In addition, powertrain systems (e.g., hybrid and electric vehicles) may use high-precision data conversion products in battery monitoring, control systems, reporting controls, maintenance activities, and the like. It is conceivable that these applications can also utilize the disclosed improved methods to track slow moving frequencies (e.g., a tracking system that is inhibited from moving at a slowly changing frequency). In other example scenarios, the teachings of the present disclosure can be applied to industrial markets that include those that aim to track a slow moving frequency to help improve productivity, energy efficiency, and reliability.
[0237] Note that, using many examples provided here, the interaction can be described with two, three, four or more parts. However, this is just for the sake of clarity and example. It should be appreciated that the system can be combined in any suitable manner. Along similar design alternatives, any components, modules and elements shown in the figure can be combined in various possible configurations, all of which are clearly within the broad scope of this specification. In some cases, it may be easier to describe one or more functions of a given set of processes by referring only to a limited number of electrical components. It should be understood that the features of the figure and its teachings are easily extended and can accommodate a large number of components and more complex / precise arrangements and configurations. Therefore, the examples provided should not limit the scope of the circuit or suppress the extensive teachings of the circuits that may be applied to countless other architectures.
[0238] Note that in this specification, various features (such as elements, structures, modules, components, steps, operations, parts, characteristics, etc.) included in "one embodiment", "example embodiment", "embodiment", "another embodiment", "some embodiments", "various embodiments", "other embodiments", "alternative embodiments", etc.) are intended to indicate that any such features are included in one or more embodiments of the present disclosure, or may not necessarily be combined in the same embodiment.
[0239] It is also important to note that with respect to the functionality associated with tracking slowly varying frequencies, this illustrates only some of the tracking functionality that may be or may be performed by the system shown in the figures. Where appropriate, some of these operations may be deleted or removed, or these operations may be modified or changed considerably without departing from the scope of the present disclosure. In addition, the timing of these actions may change considerably. The foregoing operational flows are provided for purposes of example and discussion. The embodiments described herein provide substantial flexibility in that any suitable arrangements, time sequences, configurations, and timing mechanisms may be provided without departing from the teachings of the present disclosure. Note that all optional features of the apparatus described above may also relate to the methods or processes described herein, and that specific implementations in the embodiments may be used anywhere in one or more embodiments.
[0240] "Means for..." in these cases (above) may include (but is not limited to) using any suitable components discussed herein and any suitable software, circuits, hubs, computer code, logic, algorithms, hardware, controllers, interfaces, links, buses, communication paths, etc. In a second example, the system includes a memory that also includes machine-readable instructions that, when executed, cause the system to perform any of the activities discussed above.
[0241] Numerous other changes, substitutions, variations, alterations, and modifications may be ascertained by those skilled in the art, and the present disclosure is intended to include all such changes, substitutions, variations, alterations, and modifications that fall within the scope of the appended claims. To assist the United States Patent and Trademark Office (USPTO) and readers of any patents issued otherwise hereby, in interpreting the appended claims, applicants wish to note that applicants: (a) do not intend the appended claims to invoke 35 U.S.C. paragraph 6(6), section 112, as it exists on the date of this filing, unless “means for” or “step for” is specifically used in a particular claim; and (b) do not intend the present disclosure to be limited in any manner not reflected in the appended claims by any statement in the specification.
[0242] Although the claims are presented in a single dependent format in the style used by the USPTO, it should be understood that any claim may be dependent upon and combined with any preceding claim of the same type unless this is obviously technically infeasible.
[0243] Note that all optional features of the apparatus described above may also be implemented with respect to the methods or processes described herein, and that the details in the examples may be used anywhere in one or more embodiments.
Claims
1. A method for determining a heart rate of a living being, the method comprising: receiving, at one or more processing units, an input signal generated by one or more sensors, the input signal being indicative of a heart rate; determining, by one or more processing units, a magnitude of an output generated by the first filter in response to receiving an input signal and one or more filter control parameters by the first filter, determining, by one or more processing units, a magnitude of an output generated by the second filter in response to the second filter receiving an input signal and one or more filter control parameters, updating, by the one or more processing units, one or more filter control parameters of the first filter and the second filter based on the amplitude of the output generated by the first filter and the amplitude of the output generated by the second filter until the amplitude of the output generated by the first filter is equal to the amplitude of the output generated by the second filter, wherein the one or more filter control parameters are related to the resonant frequency; determining, by one or more processing units, a heart rate based on one or more filter control parameters; wherein the first filter and the second filter are filters having a resonant frequency, wherein at the resonant frequency, the amplitude of the output of the first filter is substantially equal to the amplitude of the output of the second filter, and wherein above the resonant frequency, the amplitude of the output of the first filter is greater than the amplitude of the output of the second filter, and wherein below the resonant frequency, the amplitude of the output of the second filter is greater than the amplitude of the output of the first filter.
2. The method of claim 1, wherein the first filter and the second filter comprise filters that are Chamberlin state variable filters. 3 . The method of claim 1 , further comprising adjusting the one or more filter control parameters based on a signal indicative of motion of the one or more sensors. 4 . The method of claim 3 , wherein adjusting one or more filter control parameters comprises dynamically changing a Q factor of one or more second-order infinite input response (IIR) filters.
5. The method of claim 1 , wherein the input signal comprises a filtered input signal, and the method further comprises generating the filtered input signal from the first signal generated by the one or more sensors before determining the amplitude of the outputs generated by the first filter and the second filter, updating one or more filter control parameters, and determining the heart rate by: applying adaptive linear prediction to at least a portion of data samples of a second signal indicative of motion of the one or more sensors to determine coefficients of an adaptive linear filter configured to filter at least a portion of noise content present in the second signal from the signal indicative of motion of the one or more sensors; and A filtered input signal is generated by subtracting a signal from the first signal, the signal being generated by applying a filter including determined coefficients to the first signal.
6. The method according to claim 5, wherein: The second signal includes at least a first portion indicating movement of the one or more sensors relative to a first direction, and a second portion indicating movement of the one or more sensors relative to a second direction; and Applying adaptive linear prediction to at least a portion of the data samples of the second signal comprises: applying adaptive linear prediction to a first portion of the second signal to determine a first set of coefficients for a first adaptive linear filter configured to filter at least a portion of noise content present in the first portion of the second signal that is indicative of motion of the one or more sensors relative to the first direction; and Adaptive linear prediction is applied to a second portion of the second signal to determine a second set of coefficients for a second adaptive linear filter configured to filter at least a portion of noise content present in a second portion of the second signal that is indicative of motion of the one or more sensors relative to the second direction. The method according to claim 5 , wherein the adaptive linear prediction is based on a power normalized least mean square (LMS) update algorithm.
8. A heart rate monitoring system, comprising: A filter structure comprising a first filter and a second filter, wherein the first filter and the second filter are filters having a resonant frequency, at which the amplitude of the output of the first filter is substantially equal to the amplitude of the output of the second filter, and wherein above the resonant frequency the amplitude of the output of the first filter is greater than the amplitude of the output of the second filter, and wherein below the resonant frequency the amplitude of the output of the second filter is greater than the amplitude of the output of the first filter, and One or more processing units, configured to: determining a magnitude of an output produced by the first filter in response to the first filter receiving an input signal and one or more filter control parameters, wherein the input signal is generated by one or more sensors and is indicative of a heart rate of a living being; determining a magnitude of an output produced by the second filter in response to the second filter receiving an input signal and one or more filter control parameters; updating one or more filter control parameters of the first filter and the second filter based on the amplitude of the output generated by the first filter and the amplitude of the output generated by the second filter until the amplitude of the output generated by the first filter is equal to the amplitude of the output generated by the second filter, wherein the one or more filter control parameters are related to the resonant frequency; and The frequency of the heartbeat signal is determined based on one or more filter control parameters.
9. The heart rate monitoring system of claim 8, wherein the filter structure comprises a Chamberlin state variable filter.
10. The heart rate monitoring system according to claim 8, wherein: The filter structure comprises one or more digital infinite input response (IIR) filters; and The one or more filters control parameter control coefficients of one or more digital IIR filters.
11. The heart rate monitoring system according to claim 8, wherein: The filter structure comprises one or more digital finite input response (FIR) filters; and The one or more filters control parameter control coefficients of one or more digital FIR filters.
12. The heart rate monitoring system of claim 8, wherein the one or more processors are further configured to: The one or more filter control parameters are adjusted based on a signal indicative of motion of the one or more sensors.
13. The heart rate monitoring system of claim 12, wherein: The filter structure comprises one or more second order infinite input response (IIR) filters; and The one or more processors are configured to adjust the one or more filter control parameters by dynamically changing a Q factor of one or more second order IIR filters.
14. The heart rate monitoring system of claim 8, further comprising one or more sensors.
15. The heart rate monitoring system of claim 14, wherein the one or more sensors include one or more of the following: an optical sensor, an audio sensor, a capacitive sensor, a magnetic sensor, a chemical sensor, a humidity sensor, a wetness sensor, a pressure sensor, or a biosensor.
16. The heart rate monitoring system of claim 8, further comprising a pre-processing filter configured to process the input signal to substantially attenuate signal content outside a target frequency band corresponding to heart rate.
17. The heart rate monitoring system of claim 16, wherein: The pre-processing filter is a low-pass filter or a band-pass filter; and The target frequency band includes frequencies between 0.5 Hz and 3.5 Hz.
18. The heart rate monitoring system of claim 8, further comprising a filter configured to filter input signals generated by the one or more sensors based on an accelerometer signal indicating movement of the one or more sensors before the one or more processing units perform determining the amplitude of outputs generated by the first filter and the second filter, updating one or more filter control parameters, and determining the heart rate.
Citation Information
Patent Citations
Tracking mechanism for heart rate measurements
US9901306B2
Time-domain interference removal for heart rate measurements
US9943266B2
Self-adapting myoelectric interference removing method based on electrocardiosignal
CN102429655A
Motion noise interference eliminating method suitable for wearable heart rate monitoring device
CN104161505A
