The disclosed concept pertains to methods and systems for quantifying the breathing effort (i.e. respiratory muscle effort, or “work-of-breathing”) of a patient and, in particular, to methods and systems for distinguishing electromyography (EMG) signals indicative of sniffing (i.e. deep, sharp inhalation) efforts from EMG signal artifacts.
Electromyography (EMG) can be used to assess the respiratory status of a patient by deducing the activity of muscles involved in respiration, such as the intercostal spaces on bilateral sides of the sternum (parasternal) or the abdominal area close to the diaphragm. While respiration rate can easily be measured non-invasively, respiration rate alone is not indicative of the effort output by a patient while breathing. By comparison, EMG measurements of the inspiratory muscles are indicators of the balance between respiratory muscle load and respiratory muscle capacity. EMG signals provide a non-invasive method for obtaining an objective measure of breathing effort. In particular, respiratory EMG activity as measured during inhalations represents the neural respiratory drive, which is a signal that the brain outputs to the respiratory muscles and an indicator of the balance between respiratory muscle load and respiratory muscle capacity.
Objective measures of respiratory muscle activity derived from EMG signals are considered to be important for monitoring the respiratory status of patients, such as inpatients with chronic obstructive pulmonary disease (COPD). In addition to EMG measurements of regular breathing activity occurring naturally when the patient is relaxed, EMG measurements of sniffs are highly informative in assessing the respiratory status of patients as well. Sniffs are deep and sharp inhalations (maximum effort maneuvers). However, isolating sniff activity in EMG signals is not straightforward, as signal artifacts due to non-respiratory activity give rise to strong activity in the EMG signal that often resembles sniff activity. Such signal artifacts can for example be caused by patient movements or disturbances of electrodes due to pressure on the connected wires.
The ability to reliably detect sniffs and distinguish sniffs from artifacts directly impacts the estimates of respiratory muscle activity from EMG signals and the respiratory status of a patient. Independent measurements of breathing activity with devices such as nasal cannulas or esophageal electrodes provide additional breathing data that can be compared to the EMG signal in order to distinguish sniffs from signal artifacts on an EMG waveform. However, nasal cannulas, esophageal electrodes, and other similar devices are highly invasive and can be cumbersome or even a burden to patients.
Accordingly, there is room for improvement in methods and systems used to differentiate sniffs from other activity in EMG signals.
Accordingly, it is an object of the present invention to provide, in one embodiment, a method for quantifying respiratory muscle effort (i.e. breathing activity, work-of-breathing) of a patient during a breathing interval that includes: measuring respiratory muscle activity of the patient with a number of EMG electrodes, measuring acceleration in a plurality of planes of the patient's thorax concurrently with respiratory activity with an accelerometer, receiving a raw EMG signal measured by the EMG electrodes and raw accelerometer signals measured by the accelerometer with a controller, producing a number of preprocessed EMG signals by preprocessing the raw EMG signal with the controller, producing a number of preprocessed accelerometer signals by preprocessing the raw accelerometer signals with the controller, identifying portions of the number of preprocessed EMG signals as candidate sniffs with the controller, determining a plurality of EMG-derived features with the controller from the number of preprocessed EMG signals associated with time intervals of the candidate sniffs, determining a plurality of accelerometer signal features with the controller from the number of preprocessed accelerometer signals associated with time intervals of the candidate sniffs, comparing the plurality of EMG-derived and accelerometer signal features to a plurality of sniff detection threshold values with the controller, classifying the candidate sniffs as confirmed sniffs with the controller if results of the comparing indicate sniff activity, and quantifying a respiratory muscle effort of the patient with the controller by comparing a number of attributes of the number of preprocessed EMG signals to a number of attributes of the confirmed sniffs.
The method may further comprise using the controller to: identify local regular breathing EMG maxima associated with regular breathing in the number of preprocessed EMG signals, determine the mean of the local regular breathing EMG maxima, and identify a maximum sniff value in the number of preprocessed EMG signals associated with the confirmed sniffs. Quantifying the respiratory muscle effort may comprise comparing the mean of the local regular breathing EMG maxima to the maximum sniff value. The method may further comprise using the controller to: produce a regular breathing EMG signal by preprocessing the raw EMG signal to accentuate regular breathing activity and minimize artifacts in the raw EMG signal; produce a sniff EMG signal by preprocessing the raw EMG signal to accentuate sniff activity in the raw EMG signal, identify the local regular breathing EMG maxima in the regular breathing EMG signal, identify local regular breathing EMG minima in the regular breathing EMG signal, and identify the maximum sniff value in the sniff EMG signal. Quantifying the respiratory muscle effort of the patient may comprise finding a ratio of the mean of the local EMG maxima to the maximum sniff value.
The method may further comprise using the controller to: identify, for each candidate sniff, a bump of the candidate sniff such that all values of the sniff EMG signal in the bump are greater than or equal to a predetermined threshold sniff value; identify a midpoint in each bump, said midpoint being a median such that an area under a curve of a left half of the bump is equal to an area under a curve of a right half of the bump; calculate an offset value by linearly interpolating between the local sniff EMG minimum immediately preceding the bump and the local sniff EMG minimum immediately following the bump; determine an amplitude of the bump by finding the difference between a maximum sniff EMG value in the bump and the offset value; and classify the candidate sniff as an artifact if a number of predetermined amplitude conditions are indicative of artifact activity. The method may further comprise using the controller to: determine a first asymmetry feature of the bump by finding the ratio of the mean of the local sniff EMG minimum immediately preceding the bump and the local sniff EMG minimum immediately following the bump to the amplitude; determine a second asymmetry feature of the bump by finding a first difference between the local sniff EMG minimum immediately preceding the bump and the local sniff EMG minimum immediately following the bump, by finding a second difference between the maximum sniff value in the bump and the local sniff EMG minimum immediately preceding the bump, by finding a third difference between the maximum sniff value in the bump and the local sniff EMG minimum immediately following the bump, and by finding the ratio of the first difference to the lesser of the second difference and the third difference; determine a third asymmetry feature of the bump by determining a skewness of the bump; and classify the candidate sniff as an artifact if a number of predetermined asymmetry conditions are indicative of artifact activity.
The method may further comprise using the controller to: low-pass filter, rectify, and smooth the raw accelerometer signals to produce a lower frequency band power signal; high-pass filter, rectify, and smooth the raw accelerometer signals to produce an upper frequency band power signal; sum the lower frequency band power signal and upper frequency band power signal to produce a summed frequency band power signal; determine a first ratio of the upper frequency band power signal to the summed frequency band power signal for a first axis of the accelerometer during the time interval associated with each of the candidate sniffs; determine a second ratio of the upper frequency band power signal to the summed frequency band power signal for a second axis of the accelerometer during the time interval associated with each of the candidate sniffs; compare the first ratio and the second ratio to a predetermined frequency band ratio; and qualify as an artifact any of the candidate sniffs for which the first ratio and the second ratio exceeds the predetermined frequency band ratio.
The method may further comprise using the controller to: high-pass filter, rectify, and smooth the raw accelerometer signals to produce an upper frequency band power signal; determine the number of times the upper frequency band power signal crosses a predetermined threshold value during the time interval associated with each of the candidate sniffs; and qualify as an artifact any of the candidate sniffs for which the number of times the upper frequency band power signal crosses the predetermined threshold exceeds a predetermined number of crossings during the time interval associated with the candidate sniff. The method may further comprise using the controller to: low-pass filter the raw accelerometer signals to produce a lower frequency band signal, high-pass filter the raw accelerometer signals to produce an upper frequency band signal, determine the standard deviation of the lower frequency band signal and the higher frequency band signal, and qualify as an artifact any of the candidate sniffs for which the standard deviation exceeds a predetermined value.
In another embodiment, a system for quantifying respiratory effort of a patient during a breathing interval includes: a number of EMG electrodes configured to measure respiratory muscle activity of the patient, an accelerometer configured to measure acceleration of a plurality of axes of the patient's thorax, and a controller. The controller is configured to: receive a raw EMG signal measured by the EMG electrodes and raw accelerometer signals measured by the accelerometer, produce a number of preprocessed EMG signals by preprocessing the raw EMG signal, produce a number of preprocessed accelerometer signals by preprocessing the raw accelerometer signals, identify portions of the number of preprocessed EMG signals as candidate sniffs, determine a plurality of EMG-derived features from the number of preprocessed EMG signals associated with time intervals of the candidate sniffs, determine a plurality of accelerometer signal features from the number of preprocessed accelerometer signals associated with time intervals of the candidate sniffs, compare the plurality of EMG-derived and accelerometer signal features to a plurality of sniff detection threshold values, classify the candidate sniffs as confirmed sniffs or as signal artifacts based on comparisons of the plurality of EMG-derived features and accelerometer signal features to the plurality of sniff detection threshold values, and quantify a respiratory muscle effort of the patient by comparing a number of attributes of the number of preprocessed EMG signals to a number of attributes of the confirmed sniffs.
The controller of the system may be further configured to: identify local regular breathing EMG maxima associated with regular breathing in the number of preprocessed EMG signals, determine the mean of the local regular breathing EMG maxima, identify a maximum sniff value in the number of preprocessed EMG signals associated with the confirmed sniffs, and quantify the respiratory muscle effort by comparing the mean of the local EMG maxima to the maximum sniff value. The controller of the system may be further configured to: produce a regular breathing EMG signal by preprocessing the raw EMG signal to accentuate regular breathing activity and minimize artifacts in the EMG signal, produce a sniff EMG signal by preprocessing the raw EMG signal to accentuate sniff activity in the EMG signal, identify local EMG maxima in the regular breathing EMG signal, and identify the maximum sniff value in the sniff EMG signal. Comparing the mean of the local EMG maxima to the maximum sniff value may comprise finding the ratio of the mean of the local EMG maxima to the maximum sniff value.
The controller of the system may be further configured to: identify, for each candidate sniff, a bump of the candidate sniff such that all values of the sniff EMG signal in the bump are greater than or equal to a predetermined threshold sniff value; identify a midpoint in each bump, said midpoint being a median such that an area under a curve of a left half of the bump is equal to an area under a curve of a right half of the bump; determine, at the midpoint of each bump, an offset value by linearly interpolating between the local sniff EMG minimum immediately preceding the bump and the local sniff EMG minimum immediately following the bump; determine an amplitude of the bump by finding the difference between a maximum sniff EMG value in the bump and the offset value; and classify the candidate sniff as an artifact if a number of predetermined amplitude conditions are indicative of artifact activity.
The controller of the system may be further configured to: high-pass filter, rectify, and smooth the raw accelerometer signals to produce an upper frequency band power signal; determine the number of times the upper frequency band power signal crosses a predetermined threshold value during the time interval associated with each of the candidate sniffs; and qualify as an artifact any of the candidate sniffs for which the number of times the upper frequency band power signal crosses the predetermined threshold exceeds a predetermined number of crossings during the time interval associated with the candidate sniff. The system may be further configured to: low-pass filter the raw accelerometer signals to produce a lower frequency band signal, high-pass filter the raw accelerometer signals to produce an upper frequency band signal, the standard deviation of the lower frequency band signal and the higher frequency band signal, and qualify as an artifact any of the candidate sniffs for which the standard deviation exceeds a predetermined value.
These and other objects, features, and characteristics of the present invention, as well as the methods of operation and functions of the related elements of structure and the combination of parts and economies of manufacture, will become more apparent upon consideration of the following description and the appended claims with reference to the accompanying drawings, all of which form a part of this specification, wherein like reference numerals designate corresponding parts in the various figures. It is to be expressly understood, however, that the drawings are for the purpose of illustration and description only and are not intended as a definition of the limits of the invention.
As used herein, the singular form of “a”, “an”, and “the” include plural references unless the context clearly dictates otherwise.
As used herein, the statement that two or more parts or components are “coupled” shall mean that the parts are joined or operate together either directly or indirectly, i.e., through one or more intermediate parts or components, so long as a link occurs.
As used herein, the term “artifact” shall mean distortions on electromyogram (EMG) signal waveforms due to non-respiratory activity including, but not limited to, activation of non-respiratory muscles (e.g. due to movement of the body, change in electrode-skin impedance, or interference with cables connected to electrodes sensing the EMG signal).
As used herein, the term “controller” shall mean a number of programmable analog and/or digital devices (including an associated memory part or portion) that can store, retrieve, execute and process data (e.g., software routines and/or information used by such routines), including, without limitation, a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a programmable system on a chip (PSOC), an application specific integrated circuit (ASIC), a microprocessor, a microcontroller, a programmable logic controller, or any other suitable processing device or apparatus. The memory portion can be any one or more of a variety of types of internal and/or external storage media such as, without limitation, RAM, ROM, EPROM(s), EEPROM(s), FLASH, and the like that provide a storage register, i.e., a non-transitory machine readable medium, for data and program code storage such as in the fashion of an internal storage area of a computer, and can be volatile memory or nonvolatile memory.
As used herein, the term “machine learning model” shall mean a software system that develops and builds a mathematical model based on sample data, known as “training data”, in order to make predictions or decisions without being explicitly programmed to do so, including, without limitation, a computer software system that develops that has been trained to recognize patterns from a set of training data, and subsequently develops algorithms to recognize patterns from the training data set in other data sets.
As used herein, the term “number” shall mean one or an integer greater than one (i.e., a plurality).
Directional phrases used herein, such as, for example and without limitation, top, bottom, left, right, upper, lower, front, back, and derivatives thereof, relate to the orientation of the elements shown in the drawings and are not limiting upon the claims unless expressly recited therein.
The present invention, as described in greater detail herein in connection with various particular exemplary embodiments, provides methods and systems for objectively quantifying the breathing effort of a patient, also referred to as respiratory muscle effort (RME), in a non-invasive manner. As described in more detail herein, sniffs are important for accurate determination of RME, but sniffs and signal artifacts often manifest similarly on EMG signal waveforms. While devices such as nasal cannulas or esophageal electrodes can be used to produce additional breathing signals that can be compared to an EMG signal in order to distinguish sniffs from signal artifacts on an EMG waveform, nasal cannulas can be uncomfortable for patients and esophageal electrodes are invasive. The methods and systems of the present invention provide improvements to methods for objectively quantifying RME in two principal ways: by utilizing an accelerometer signal in addition to an EMG signal in order to better distinguish sniffs in an EMG signal waveform from signal artifacts, and by using only non-invasive devices, i.e. EMG electrodes and accelerometers, in order to maximize the comfort of patients while undergoing RME data collection.
In an exemplary embodiment, EMG electrodes 2 are placed on the second intercostal space. Placement of a reference electrode can be varied, and
It will be appreciated that several types of controllers, for example various types of computers, are capable of receiving and storing signal information detected by devices such as EMG electrodes 2 and accelerometer 4. Accordingly, any type of controller 6, and any number (i.e. one or more than one) of controllers 6 may be used to receive and store the information transmitted by EMG electrodes 2 and accelerometer 4 without departing from the scope of the disclosed invention. In addition, in an exemplary embodiment, software including a machine learning model 7 is integrated into the controller 6 as shown in
EMG signals 10 and 11 in
EMG signal 10 is segmented into two portions, INS and OUT, as denoted by the use of solid and dashed lines in the waveform in
For the methods and systems of the present invention, the exact start and end times of each INS portion 14 and OUT portion 16 do not need to be strictly defined, as the defining feature of a given breath cycle is the inclusion of the maximum of the main peak of a breath cycle in the INS portion. While only one such maximum 12 of a main peak of a breath cycle in EMG signal 10 is labeled in
If a given breath cycle is referred to as breath cycle c herein, it should be understood that the breath cycle immediately preceding cycle c is cycle [c−1] and the cycle immediately following cycle c is [c+1]. A breath cycle can be defined as either an algorithmic breath cycle or a natural breath cycle. An algorithmic breath cycle is denoted ABC[c] and comprises the OUT portion 16 of a breath cycle followed by the INS portion 14 immediately following, such that ABC[c]=(O[c], I[c]). A natural breath cycle is denoted as NBC[c] and comprises the INS of a breath cycle followed by the OUT immediately following, such that NBC[c]=(I[c], O[c+1]). The algorithmic breath cycle is so called because defining a breath cycle as (O[c], I[c]) is more conducive to artifact detection by a real-time algorithm than (I[c], O[c+1]).
Prior to proceeding with in-depth descriptions of exemplary embodiments of the present invention, several acronyms and variable names (including the variables discussed above) and their meanings are listed below for ease of reference. Some of the entries in the following list have not yet been introduced, however, the list can be referenced as the acronyms and variables are used throughout the present disclosure:
As previously stated, the methods and systems of the present invention utilize EMG signals that are preprocessed to reduce signal artifacts as much as possible, which allows regular breathing and sniff activity from a raw EMG signal to be isolated. “Regular” breathing is considered to occur when the patient is assumed to be relaxed and breathing naturally or spontaneously. In comparison, a “sniff” is much sharper, stronger, and shorter than a regular breath. It should be noted that the unique nature of sniffs (i.e. the sharp, strong, and short nature as compared to regular breathing inhalations) and their relatively infrequent occurrence compared to regular breaths, does not immediately lend to the natural detection of sniffs by algorithms designed to detect breath cycles and artifacts during regular breathing activity.
Hence, a set of regular breathing parameters designed to detect regular breathing activity is used to preprocess a given raw EMG signal to produce a regular breathing signal s[n] (such preprocessing may be referred to hereinafter as “regular breathing preprocessing”) such as EMG signals 10 and 11 in
Preprocessing of an EMG signal to produce a regular breathing signal s[n] and a sniff preprocessed signal v[n] follow several of the same steps, with the primary distinction between regular breathing preprocessing and sniff preprocessing being that sniff preprocessing involves much less net smoothing of the EMG signal. Both regular breathing preprocessing and sniff preprocessing involve spike removal, scaling, a first round of high-pass filtering, optional powerline interference reduction, rectification, downsampling, median filtering, and slight low-pass filtering. Regular breathing processing additionally includes another round of low pass filtering, another round of high pass filtering for baseline removal, and construction of auxiliary signals for breath cycle part and artifact detection.
Spike removal eliminates very short large spikes in the raw EMG signal due to, for example and without limitation, pacemakers and sharp artifacts. Scaling simply refers to converting a signal measured in volts to units of microvolts (or another convenient unit). The first round of high-pass filtering reduces low-frequency motion artifacts, tonic activity, electrocardiogram (ECG) activity, powerline interference, and sensor noise. If residual powerline interference is present after the first round of high-pass filtering, a comb filter with notches at the fundamental powerline frequency and its harmonics can be used to further reduce the powerline interference. Rectification is the first operation for computing a low-frequency envelope of the high-frequency EMG signal, in order to construct a surrogate respiration signal. Downsampling follows rectification to reduce memory and processing requirements, since the frequencies present in the envelope signal are much lower than the frequencies in the raw signal. Median filtering is applied to further reduce remaining spikes, in particular due to ECG. Slight low-pass filtering is used to further smooth the envelope signal and obtain a surrogate respiratory muscle activity signal. The further smoothing from slight low-pass filtering facilitates computation of minima and maxima in the preprocessed EMG signal.
Referring now to
Still referring to
The final step 56 of method 50 is the final step in quantifying RME, which requires using the regular breathing attribute Eabsrbg determined during process 100 depicted in
such that Eabsrbg can be expressed as a fraction or percentage of Eabssnf. Step 56 of method abs 50 is performed because experimental results show that Erel is one of the most predictive measures of RME.
At step 101 of process 100, a time interval Tmaxrbg[c] centered around the time tmaxrbg[c] is defined as follows:
with Tmax being a pre-specified duration which, in an exemplary embodiment, is typically set to 0.8 seconds. Hence Tmaxrbg[c] is the interval of duration 2Tmax centered at the time tmaxrbg[c] associated with the maximum value of I[c] in s[n]. At step 102, within the time interval Tmaxrbg[c] defined at step 101, the time tmaxsnf[c] in signal v[n] at which maximum EMG activity vmax[c] occurs is identified. At step 103, a time interval TmaxL[c] to the left of (i.e. immediately preceding) tmaxsnf[c] in v[n] is defined as follows:
with TmaxL being a pre-specified value which, in an exemplary embodiment, is typically set to be 1.2 seconds. Similarly, at step 104, a time interval TmaxR[c] to the right of (i.e. immediately following) tmaxsnf[c] in v[n] is defined as follows:
with TmaxR being a pre-specified value which, in an exemplary embodiment, is typically set to be 1.6 seconds.
At step 105, a threshold sniff value vη[c] for breathing cycle c in the sniff signal v[n] is defined as follows:
where η is a pre-specified sniff coefficient which, in an exemplary embodiment, is typically set to be 0.5, such that the threshold sniff value vη[c] for breathing cycle c in sniff signal v[n] is equal to 0.5 times the maximum value vmax[c] of v[n] for that particular breathing cycle c. At step 106, the last point [tnL[c], vηL[c]] for which tnL[c]∈TmaxL[c] and vηL[c]<vη[c] is identified. This point [tnL[c], vη[c]] is the last point in time to the left of (i.e. before) the maximum tmaxsnf[c] that is at most Tmax seconds away from tmaxsnf[c], and where the value of v[n] drops below the threshold value vη[c] for the first time when looking back from the maximum. At step 107, a left time interval TηL[c] is defined using the time tηL[c] found at step 106 as follows:
Similarly, at step 108, the first point [tηR[c], vηR[c]] for which tηR[c]∈TmaxR[c] and vηR[c]<vη[c] is identified. This point is the first point in time to the right of (i.e. after) the maximum tmaxsnf[c] that is at most TmaxR seconds away from tmaxsnf[c], and where the value of v[n] drops below the threshold value vη[c] for the first time when looking forward from the maximum. At step 109, a right time interval TnR[c] is defined using the time tηR[c] found at step 108 as follows:
At the last step 110, an interval defined by the threshold sniff value vη[c] and lying around the time tmaxsnf[c] is defined as follows:
The interval Tη[c] defines the main part of a candidate sniff in relation to the threshold sniff value vη[c], and the interval Tη[c] may be referred to hereinafter as a “bump” or “bump interval” in the preprocessed EMG signal v[n]. It will be appreciated that the boundaries of the interval Tη[c] comprise the left boundary of the time interval TηL[c] identified at step 106 and the right boundary of the time interval TnR[c] identified at step 108.
This duration D[c] is required to lie between a minimum value Dmin and a maximum value Dmax. In an exemplary embodiment of the present invention, Dmin is typically chosen to be 0.15 seconds in and Dmax is typically chosen to be 1.0 seconds. At step 202, a midpoint tηM[c] of the bump interval Tη[c] is identified such that one half of the area under the curve of v[n] in the bump interval Tη[c] lies between tηL[c] and tηM[c] (i.e. to the left of tηM[c]), and the second half lies between tηM[c] and tηR[c] (i.e. to the right of tηM[c]). Accordingly, the midpoint tηM[c] can also be referred to as the median of the bump interval Tη[c]. The midpoint tηM[c] is identified because it represents a better “center of mass” than tmaxsnf[c], as vmax[c] may be more sensitive to small local extrema that may be present in the bump interval Tη[c]. At step 203, an asymmetry ratio γ1 is defined to quantify the asymmetry of the waveform in the bump interval Tη[c]:
As one may intuit, empirical data shows that sniffs typically rise faster than they decay. Therefore, the asymmetry ratio would typically ideally be greater than 1 and not significantly less than 0.8. In an exemplary embodiment of the present invention, a typical threshold chosen to be the minimum acceptable value of γ1 is 0.85.
At step 204, the skewness of v[n] between tηL[c] and tηR[c] (i.e. over the bump interval Tη[c]) is determined, in order to have a second measure of the asymmetry of the waveform in the bump interval Tη[c]. Again, because sniffs typically rise faster than they decay, it is expected that the skewness of the bump interval Tη[c] would be positive (i.e. skewed to the right). In an exemplary embodiment of the present invention, a typical threshold for the skewness over the bump interval Tη[c] is zero.
Intuitively, sniffs performed properly cannot occur too closely together. Therefore, large bumps in v[n] that occur just before or just after Tη[c] are very likely due to artifacts and can impact the candidate sniff. To detect such bumps, at steps 205 and 206, an interval TηLL[c] to the left of tηL[c] (i.e. an interval preceding the beginning of the bump interval Tη[c]) and an interval TηRR[c] to the right of tηR[c] (i.e. an interval following the end of the bump interval Tη[c]), are defined as follows:
where Tbump is a pre-specified duration which, in an exemplary embodiment, is set to a typical value of 0.5 s. Corresponding sets of discrete time indices within each interval TηLL[c] and TηRR[c] are denoted as NηLL[c] and NηRR[c], respectively. At steps 207 and 208, the values μηLL(v)[c] and μηRR(v)[c] representing the mean of v[n] over NηLL[c] and the mean of v[n] over NηRR[c], respectively, are calculated, with μηLL(v)[c] and μηRR(v)[c] being defined as follows:
Both means μηLL(v)[c] and μηRR(v)[c] are required to be less than the threshold value vη[c] calculated at step 105 of process 100 such that μηLL(v)[c]<vη[c] and μηRR(v)[c]<vη[c]. In the absence of undesired bumps that occur close to a potential sniff (bumps being “undesired” as they complicate the isolation and identification of a sniff), the values μηLL(v)[c] and μηRR(v)[c] can be used as additional figures for quantifying the asymmetry of the candidate sniff. Again, because sniffs are expected to rise faster than they decay, the following criterion is imposed:
Processes 100 and 200 depicted in
At step 301 of process 300, a time interval Tminrbg[c] in s[n] for a given breath cycle c is defined as follows:
with Tmin being a pre-specified duration which, in an exemplary embodiment, is typically set to 0.8 s. Hence, Tminrbg[c] is the interval in s[n] of duration 2Tmin centered at the time tminrbg[c] associated with the minimum value of O[c]. At step 302, within the time interval Tminrbg[c] defined at step 301, the time tminsnf[c] in signal v[n] at which the minimum value vmin[c] occurs is identified. At step 303, an offset value voffsM[c] of the c-th breath cycle is found by first linearly interpolating v[n] between the minimum (tminsnf[c], vmin[c]) of the c-th breath cycle and the minimum (tminsnf[c+1], vmin[c+1]) of the (c+1)-th breath cycle, then finding the value of the interpolated function at the location of the midpoint tηM[c]. Subsequently, at step 304, an amplitude of the c-th breath cycle is defined as the difference between vmax[c] and voffsM[c]:
where the criteria Alow≤A[c]≤Aupp is imposed on the amplitudes. In an exemplary embodiment, typical values for the lower and upper thresholds Alow and Aupp are 3 μV and 40 μV, respectively.
At step 305, a first asymmetry feature γminrel is defined in order to quantify the fact that it is preferable for the mean of the minima preceding and following the maximum (tmax[c], vmax[c]) to be low in value relative to the amplitude A[c] of the corresponding breath cycle. As such, γminrel is defined as follows:
where γminrel is required to be less than a pre-specified threshold which, in an exemplary embodiment, is chosen to be approximately 0.3. At step 306, a second asymmetry feature γ2[c] is defined to quantify the relative magnitudes of the difference between subsequent valley minima vmin[c] and vmin[c+1] on the one hand, and the lesser of the differences between the maximum of the peak vmax[c] in between the valley minima and each of the valley minima (vmin[c] and vmin[c+1]) on the other hand. As such, γ2[c] is defined as follows:
where γminrel is required to be less than a pre-specified upper threshold which, in an exemplary embodiment, is chosen to be approximately 0.2. Lastly, at step 307, a third asymmetry feature γ3[c] is defined to quantify the left asymmetry of the sniff peak as follows:
where γ3[c] is required to be less than a pre-specified upper threshold which, in an exemplary embodiment, is chosen to be approximately 0.25. In an exemplary embodiment of the disclosed concept, if the candidate sniff does not meet all of the amplitude and asymmetry conditions described above with respect to steps 304-307, the candidate sniff is classified as an artifact rather than a sniff.
Still referring to
Still referring to
Referring briefly back to
At step 404, a linear phase finite impulse response moving averaging filter is applied. In an exemplary embodiment of the present invention, said linear phase finite impulse response moving averaging filter is applied with a support of 2 seconds. Step 404 produces a vector μ[n] containing x- and z-components as the first and second elements, respectively, of the vector. At step 405, the signal acc_lpf_403 produced at step 403 is delayed with the group delay of the filter in order to align it with vector u[n], producing a vector a[n]. At step 406, a tilt angle θ[n] that is loosely representative of the angle resulting from changes in the orientation of the body surface (i.e. the x-y plane as depicted in
It should be noted that the tilt angle θ[n] denotes rotation about the y-axis, as the y-axis is depicted in
Referring now to
It will be appreciated that the steps of process 500 are performed for both the x-channel and the z-channel of accelerometer 4, such that preprocessing the x-channel signal of accelerometer 4 using process 500 produces rectified and smoothed lower and upper frequency band signals acc_lpf_sm_x and acc_hpf_sm_x, while preprocessing the z-channel signal of accelerometer 4 using process 500 produces rectified and smoothed signals acc_lpf_sm_z and acc_hpf_sm_z. Referring again to
Referring now to
Referring again to
In accordance with exemplary embodiments of the present invention, in order for a candidate sniff to qualify as a sniff rather than an artifact, the ratio computed at step 602 associated with the time interval of a candidate sniff must be less than a predetermined value. This requirement is based on the observation that spectograms of accelerometer data typically show that the main power of sniffs occurs in lower frequency regions, whereas the entire frequency band typically contains strong components during artifact activity. Thus, at step 603, if the ratio computed at step 602 is indeed less than the predetermined value, the candidate sniff remains a candidate sniff.
Experimental observations additionally show that, if the upper frequency band signal acc_hpf_sm produced at step 505 crosses a predetermined threshold value more than a predetermined number of times during the time interval of a candidate sniff, the corresponding bump interval Tη[c] in the EMG signal is usually due to an artifact. The threshold value is expressed in terms of a fraction of gravitational acceleration (9.8 m/s2). In an exemplary embodiment, the threshold value is chosen to be 0.1 g (i.e. 0.98 m/s2) and the predetermined number of crossings is chosen to be 7. Accordingly at step 604, if the high-frequency band signal acc_hpf_sm crosses the threshold value (e.g. 0.1 g) in excess of the predetermined number of crossings (e.g. 7), the candidate sniff is qualified as artifact, otherwise, the candidate sniff maintains its status as a candidate sniff.
Lastly, at step 605, the variance or standard deviation of both the low-pass filtered and high-pass filtered signals acc_lpf_502 and acc_hpf_503 found during process 500 at steps 502 and 503, respectively, are determined. If any of the variances or standard deviations found at step 605 exceeds a predetermined value, the candidate sniff activity is deemed to correspond to an artifact rather than a sniff. Conversely, if the variances or standard deviations found at step 605 fall below the predetermined value, the candidate sniff is deemed to be a sniff rather than a signal artifact. Waveform 77 in
In an exemplary embodiment of the present invention, it is expected that a true sniff would qualify as a sniff under the criteria of all three of steps 603, 604, and 605, in addition to the criteria previously stated for the EMG-derived features described with respect to processes 100-300 also being satisfied. However, in the event that a candidate sniff exhibited artifact tendencies under the criteria of one or two of steps 603, 604, and 605 but not all three, the predetermined values and threshold values used throughout processes 100-600 may be adjusted without departing from the scope of the disclosed concept. All so-called “threshold values” and “predetermined values” referred to herein are suggested values and are not intended to be limiting on the scope of the present invention. In particular, if methods for preprocessing of EMG signals other than the methods previously stated herein are used, it will be appreciated that at least some of the threshold and predetermined values suggested herein would likely need to be adjusted to account for the differences in magnitude and/or frequency of the preprocessed signal components as compared to those described herein, but that the methods and systems described herein would still be applicable with such adjustments to threshold values and predetermined values.
As previously stated, the methods and processes 50 and 100-600 described herein were developed using a classical engineering and feature extraction approach. Previously, automation of non-invasive sniff detection was challenging and would have resulted in inaccurate distinction between sniffs and signal artifacts in an EMG signal due to the similarities manifested by sniffs and signal artifacts in EMG signals. However, the use of accelerometer signal data in addition to EMG signal data and features by the present invention, particularly processes 400-600, renders automation of accurate and non-invasive distinction between sniffs and signal artifacts possible.
In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word “comprising” or “including” does not exclude the presence of elements or steps other than those listed in a claim. In a device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. In any device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain elements are recited in mutually different dependent claims does not indicate that these elements cannot be used in combination.
Although the invention has been described in detail for the purpose of illustration based on what is currently considered to be the most practical and preferred embodiments, it is to be understood that such detail is solely for that purpose and that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover modifications and equivalent arrangements that are within the spirit and scope of the appended claims. For example, it is to be understood that the present invention contemplates that, to the extent possible, one or more features of any embodiment can be combined with one or more features of any other embodiment.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/067521 | 6/27/2022 | WO |
Number | Date | Country | |
---|---|---|---|
63216269 | Jun 2021 | US |