Method and system for identifying respiratory events
11089995 · 2021-08-17
Assignee
Inventors
Cpc classification
A61B5/7455
HUMAN NECESSITIES
A61B5/7282
HUMAN NECESSITIES
A61B5/0004
HUMAN NECESSITIES
G16H50/20
PHYSICS
A61B5/7264
HUMAN NECESSITIES
International classification
A61B5/00
HUMAN NECESSITIES
A61B5/1455
HUMAN NECESSITIES
Abstract
The present disclosure relates to a method and a system for examining respiratory disorders whereby signals coming from the examined person are recorded by a wireless sensor equipped with a microphone and an accelerometer and then sent to a monitoring station. The monitoring station receives a digital data stream from the wireless sensor, cuts out respiratory episodes from the signal and, using a classification assembly constructed from three independent detection modules, classifies a respiratory episode as being normal or as snoring as well as determines the occurrence of apnoea.
Claims
1. A method for identifying respiratory events whereby, sound signals and a motion signal, which are generated during respiration, are recorded by a wireless sensor equipped with two microphone sensors and a motion sensor; signals from the sensors are converted into a digital data stream by a microcontroller; the digital data stream is sent to a monitoring station by a wireless transmission module; wherein, the digital data stream from the wireless sensor is received in the monitoring station and then digital data representing sound and motion signals are pre-filtered; in a segmentation module, the digital data representing a sound signal are divided into time windows and transformed to a frequency domain and then the sound signal is divided into segments corresponding to respiratory episodes on the basis of signal changes in the frequency domain in the time windows of the sound signal for specific sound signal frequencies; a first input vector is created combining sound signal parameters in a time domain and in the frequency domain, as well as statistical parameters specified on the basis of historical data, and a second input vector is created combining motion signal parameters in the time domain; the first input vector is fed into inputs of an assembly of at least three independent and different detection modules, which each have been designed to generate a signal classifying a respiratory event on the basis of the first input vector; the second input vector is fed into an input of a motion signals classification module which has been designed to generate a motion/position classification signal; and the parameters of two input sound signals in the time domain from the two microphone sensors, the motion signal parameters in the time domain from the motion sensor, at least three signals classifying the respiratory event from the at least three detection modules, and the motion/position classification signal are fed into an inference module which outputs a respiratory event identification signal.
2. The method of claim 1 wherein each of the at least three detection modules is a multi-layer neural network whose weights have been set in such a manner that a signal, which differentiates respiratory disorders from normal respiration, is generated at the output of the multi-layer neural network and contains a relative confidence factor of identification of respiratory disorders, and whereby in each detection module, the weights of neural networks have been selected independently from the weights of neural networks in other detection modules.
3. The method of claim 2 wherein a respiratory disorders signal is generated correspondingly to a reading of the detection module which generates an output signal with a highest confidence factor from the relative confidence factors.
4. The method of claim 1 wherein the first input vector is created in which the statistical parameters refer to the historical data of a population.
5. The method of claim 1 wherein the first input vector is created in which the statistical parameters refer to the historical data of an examined individual.
6. The method of claim 1 wherein the wireless sensor is equipped with a vibratory signalling device.
7. The method of claim 1 wherein the wireless sensor is equipped with a reflectance-based pulse oximeter.
8. A system for identifying respiratory events during examination constructed from a wireless sensor comprising: two microphone sensors and a motion sensor, which record sound signals and a motion signal generated during respiration, a microcontroller, which converts signals from the sensors into a digital data stream, and a first wireless transmission module; a monitoring station comprising: a second wireless transmission module; a signals pre-processing module, which has been designed to pre-filter the data stream from the second wireless transmission module, divided into time windows, and transforms both the sound signals and the motion signal into a frequency domain for subsequent time windows; segmentation modules, which have been designed to divide the sound signals and the motion signal into segments corresponding to respiratory episodes on the basis of sound signal changes in the frequency domain as well as into sound signal and motion signal time windows; transformation modules, which have been designed to create a first input vector combining sound signal parameters in the time and frequency domains, as well as statistical parameters specified on the basis of historical data, and to create a second input vector combining motion signal parameters in the time domain; a classification module, consisting of at least three independent and different detection modules which each have been designed to generate a signal classifying a respiratory event on the basis of the first input vector; a motion signal classification module, which has been designed to generate a motion/position classification signal on the basis of the second input vector; and an inference module, which has been designed to accept input of the parameters of two input sounds signals in the time domain from the two microphone sensors, the motion signal parameters in the time domain from the motion sensor, at least three signals classifying the respiratory event from the at least three detection modules, and the motion/position classification signal, and to output a respiratory event identification signal.
9. The system of claim 8 wherein each of the at least three detection modules is a multi-layer neural network whose weights have been set in such a manner that a signal, which differentiates respiratory disorders from normal respiration, is generated at the output of the neural network and contains a relative confidence factor of identification of respiratory disorders, and whereby in each detection module, the weights of neural networks have been selected independently from the weights of neural networks in other detection modules.
10. The system of claim 9 wherein each detection module has a different set of weights of neural networks.
11. The system of claim 9 wherein the inference module is adapted to generate a respiratory disorders signal based on the detection module with the highest confidence factor of the output.
12. The system of claim 9 wherein the motion sensor is an accelerometer/gyroscope or a combination of these two sensors.
13. The system of claim 9 wherein a sound signal is obtained from a microphone sensor or a signal coming from the motion sensor.
14. The system of claim 9 wherein the wireless sensor is equipped with a vibratory signalling device.
15. The system of claim 9 wherein the wireless sensor is equipped with a reflectance-based pulse oximeter.
16. The system of claim 9, wherein the statistical parameters of the first input vector refer to the historical data of an examined individual and/or population.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) An embodiment of the present disclosure has been shown in greater detail in the following figures whereby:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10)
(11)
(12)
(13)
(14)
(15)
(16) The segmentation algorithm starts with the calculation of a signal spectrogram and, on the basis of the spectrogram, the determination of the sum of spectrum values for 20 frequency ranges divided into identical ranges up to a half of the sampling frequency value of the sound signal. However, it is possible to make a division into a different number of frequency ranges and the frequency ranges do not have to be the same. Signal portions, which exceed the threshold determined on the basis of the signal level for 10-second portions of signal duration, are pre-classified as episodes. Duplicates created as a result of overlapping of the 10-second portions are deleted. Episodes lasting longer than 3 seconds are divided into two separate episodes on the basis of the smallest value of the envelope of the signal in the range of 0.3-0.7 of the initial length of the episode. Episodes lasting less than 0.4 seconds are removed from the analysis. Over 10-second periods between the determined episodes are pre-designated as apnoea. Episodes lasting less than 0.5 seconds and whose time distance to at least one neighboring episode is more than 6 seconds are designated as respiratory-related events such as attempts to take a breath, swallow saliva, etc. The determined episodes serve as the basis for checking the quality of the recording. If there are less than 10 episodes in one minute of the recording, a message will be generated concerning a small number of the episodes detected. If there are more than 5 episodes with a duration greater than 0.5 seconds, this will generate a message concerning a large number of clicks in the signal. The value of the signal envelope that does not exceed an arbitrarily adopted threshold will cause a message to be generated concerning the low signal's amplitude level. An over-25-second break between two consecutive episodes will cause a message to be generated concerning an error in the recording of a specific signal segment.
(17) The parametrizing, of all sound signals (509, 510) is carried out on the basis of the determined respiratory episodes. Portions of sound signals defined in such a manner make up sound episodes for each sound signal. The sound episodes coming from the first microphone (501) are used to calculate the following parameters: the average of the absolute value of the acoustic signal, the standard deviation of the absolute value of the acoustic signal, the three first maxima of the spectrum from the AR model determined using Burg's method, the average and standard deviation of the value of signal in the mel scale, the coefficients of the expected value to the minimum value and the maximum value to the minimum value—calculated for a sound episode extended by 5 seconds before and after the recording as well as for the parameters of the Linear Prediction Coding model. The sound episodes coming from the second microphone (502) are used to calculate the following parameters: the maximum amplitude of the signal, the average value of signal envelope and the three main formants.
(18) Respiratory episode classification is based on the analysis of the calculated parameters by three three-layer neural networks which underwent individual learning. Each of those neural networks has one output neuron. The value of the signal on the output neuron corresponds to the classification of a sound episode by the network as snoring (for 1) or normal respiration (for 0). In order to obtain the final result of classification, the results of the individual networks take part in voting. In the case of consistent determination of an episode by all neural networks, the classification is final. In the case when there is no consistency as to the classification, the neural network result which is the closest to 0 or 1 is chosen for the final classification. If an episode classified as snoring lasts less than 0.5 seconds, it will be designated as a click. A median filter is used to remove current body position designations which last for very short periods of time.
(19) The acoustic analysis is combined with the data specifying the motion and position of the body of the examined person during sleep. Signals from the three-axis acceleration sensor and the three-axis gyroscope are used to calculate the position of the body on the basis of a tree algorithm for the periods between the changes as well as to determine the motion on the basis of changes along one axis and between the axes. The position of the body is classified mainly as positions on the back, on the stomach, and on the side. This makes it possible to determine the positions in which there are snoring and apnoea episodes and when the noise may be classified as related to a change in position (these periods should be excluded from the analysis).
(20) Motion signals are not subjected to segmentation. Parametrization of this signal is based on determining the geometric average of the signal for each axis for short signal segments, e.g. 50 ms, and, once the effects of gravity have been removed, determining the parameter corresponding to the ‘activity’ on the basis of the absolute value of a vector. Classification employing the acceleration signal and the angular velocity signal is based on the use of decision trees to determine the current position of the body for a specific signal segment. If the average absolute value of a vector in a time window is greater than the adopted threshold and if there is a change in the designations of the current position of the body between such a portion, then such a portion will be treated as a change in the position of the body and used in the interpretation of the acoustic signal.
(21) Output signals from the respiratory events identification may be subjected to further statistical analysis. The analysis of results may include the following parameters: number of breaths—the total number of all episodes divided by 2 and the remainder after dividing by 2 as in the equation (1):
(22)
(23) where: NB is the number of breaths and n.sub.e is the number of detected episodes;
(24) number of snores—defined as the number of ‘separate’ snores (episodes classified as snoring which occur between two normal breaths) and ‘aggregate’ snores (episodes classified as snores which occur in the vicinity of other such episodes):
(25)
(26) where Ns is the number of snores, n.sub.SS is the number of separate snores, n.sub.CS(i) is the number of aggregate (collected) snores in the ‘i’ group and k is the number of groups;
(27) snoring index—the sum of duration of all snoring episodes divided by the sum of duration of all episodes;
(28) number of apnoeas—for adults, it is the number of breaks in respiration longer than 10 seconds (after the removal of non-classified periods);
(29) apnoea index—the sum of duration of all apnoea episodes divided by the sum of duration of all breaks in respiration;
(30) respiratory rate—the average distance between two respiratory episodes in a given unit of time.
(31) Study results are based on presenting a graphical representation of the sound recorded by the first microphone along with the respiratory rate curve.
(32) Moreover, the results analysis algorithm automatically determines the quality of sound by calculating parameters such as: the number of non-classified periods in the signal, numbers of non-classified periods that are too small, and high noise level. Periods of recording with bad sound quality are excluded from the analysis. However, if the signal from the first microphone is of good quality and the signal from the second microphone is of bad quality, the analysis will be conducted based on the good quality signal only.
(33) Implementing the system into a mobile device, e.g. an application running on a mobile phone, makes it possible to have a short questionnaire filled out before the main measurement. The analysis of the main examination may be combined with a survey.
(34)
(35)