Respiratory event detection method and device based on photoelectric pulse volume wave
Through the method based on photoelectric pulse volume wave, the pulse wave signal is analyzed using neural network and probability graph model, and the problems of poor comfort, high cost and insufficient accuracy of respiratory event detection in the prior art are solved, and low cost is achieved , high-accuracy OSA screening, suitable for large-scale promotion and long-term monitoring.
Patent Information
- Application Number
- CN202411205840.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-30
AI Technical Summary
Existing respiratory event detection methods have problems with poor comfort, high cost, insufficient detection accuracy and privacy risks, especially in the diagnosis of obstructive sleep apnea syndrome (OSA), traditional polysomnography monitors require multiple Sensors, portable devices are expensive and have insufficient sensitivity, and the detection accuracy of contactless methods is affected by environmental interference.
Using a method based on photoelectric pulse volume wave, the pulse wave signal is filtered, time spectrum diagram and time frequency domain feature extraction is performed, combined with pre-trained neural network and probability graph model, intensive respiratory event detection and sleep state evaluation are performed, and AHI is calculated. Index to determine the severity of OSA.
A low-load, low-cost and convenient OSA screening method has been achieved, which has significantly improved the accuracy of respiratory event detection, reduced the risk of privacy infringement, and supported large-scale promotion and long-term monitoring.
Smart Images

Figure CN118697324B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for detecting respiratory events based on photoelectric pulse volume waves. Background Art
[0002] Obstructive sleep apnea syndrome (OSA) is a common sleep breathing disorder. Polysomnography (PSG) is the gold standard for monitoring human respiratory events, and the American Academy of Sleep Medicine (AASM) standard is a well-known, recognized, and public criterion for distinguishing human respiratory events. The lead sleep graph uses wearable devices to collect physiological signals such as respiratory airflow, chest and abdominal respiratory movement, blood oxygen saturation, electrocardiogram, electroencephalogram, and electromyogram, and comprehensively records the sleep and breathing status of the measured person. After manual interpretation by professional technicians, a positive / negative diagnosis and severity classification of obstructive sleep apnea syndrome are obtained. According to the AASM standard, human respiratory events include hypopnea, central apnea, obstructive apnea, and mixed apnea. At the same time, existing studies have shown that human OSA is highly correlated with the onset time and severity of respiratory diseases, heart diseases, cardiovascular and cerebrovascular diseases, mental illnesses, pulmonary hypertension, and other diseases. Therefore, accurate detection of respiratory events is of vital importance to the diagnosis and prevention of human physiological health, respiratory diseases, heart diseases, cardiovascular and cerebrovascular diseases and other diseases.
[0003] Existing respiratory event detection methods include multi-channel PSG, portable PSG, and non-contact detection methods. The traditional multi-channel PSG method requires the connection of a large number of sensors on the subject, resulting in poor comfort and disturbed sleep. At the same time, the equipment is expensive and has high requirements for the measurement environment. Although portable PSG reduces the number of sensors and improves its promotion value, it still needs to connect multiple sensors, which is a heavy burden and has a high price. Although the non-contact method has better comfort, it faces privacy risks, insufficient sensitivity and environmental interference, which affect detection accuracy and usage conditions. Summary of the invention
[0004] In view of this, the present invention provides a method for detecting respiratory events based on photoelectric pulse volume wave, comprising:
[0005] The pulse wave signal of the person being measured Filter to get the initial pulse wave signal ;
[0006] The initial pulse wave signal Perform time-frequency spectrum, time domain signal, and time-frequency domain feature extraction respectively to obtain pulse wave time-frequency spectrum and standard pulse wave signal , pulse wave time-frequency domain characteristics;
[0007] The extracted pulse wave time spectrum and standard pulse wave signal The pulse wave time-frequency domain features are successively input into the pre-trained feature extraction neural network and classification neural network to obtain the intensive respiratory event detection results. ;
[0008] The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the pre-trained probability graph model, and the sleep state detection results are obtained after morphological post-processing ;
[0009] According to the intensive respiratory event detection result and the sleep state detection result Calculate the AHI index;
[0010] The severity of OSA of the measured person is determined according to the AHI index.
[0011] Optionally, the extracted pulse wave time spectrum and standard pulse wave signal The pulse wave time-frequency domain features are successively input into the pre-trained feature extraction neural network and classification neural network to obtain the intensive respiratory event detection results. ,include:
[0012] The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the corresponding pre-trained feature extraction neural network, and the respiratory event features are obtained respectively. , , ;
[0013] The respiratory event features , , Splicing is performed on the feature dimension and input into the pre-trained classification neural network to obtain the dense respiratory event detection results. .
[0014] Optionally, the extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the pre-trained probability graph model, and the sleep state detection results are obtained after morphological post-processing ,include:
[0015] The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into a pre-trained probability graph model, the probability graph model contains multiple hidden states, one of which indicates wakefulness, and the final hidden state is determined by probability distribution, thereby obtaining a primary sleep-wake state signal ;
[0016] The primary wakefulness signal Perform morphological post-processing, including dilation and corrosion operations, and perform binarization according to the sleep-wake state to obtain a binary sleep-wake state signal .
[0017] Optionally, the intensive respiratory event detection result A multi-tuple including a time distribution, the multi-tuple including the start time of the abnormal breathing event , End time , confidence, and respiratory event category.
[0018] Optionally, according to the intensive respiratory event detection result and the sleep state detection result Calculate the AHI index, including:
[0019] Eliminate the multi-tuples in which all sleep states are in the awake state during the time period of the abnormal breathing event from all the multi-tuples, perform deduplication processing on the remaining multi-tuples, and obtain deduplication detection results;
[0020] According to the deduplication detection result and the sleep state detection result Calculate the AHI index.
[0021] Optionally, the multi-tuples in which all the sleep states are in the awake state during the time period of the abnormal breathing event are eliminated from all the multi-tuples, and the remaining multi-tuples are deduplicated to obtain deduplicated detection results, including:
[0022] The intensive respiratory event detection result Medium time interval Sleep status detection results All are sober multiple groups Eliminate the remaining multi-groups and form an undetermined respiratory event set ;
[0023] Initialize the reserved collection and exclude sets are two empty sets;
[0024] From the undetermined respiratory event set Select confidence level The highest multivariate , the multi-group Move into the reserved set In the All remaining tuples in Intersection of intervals Move into the exclusion set Repeat the above steps until the undetermined respiratory event set Empty to keep the collection The multi-tuple in is taken as the deduplication detection result.
[0025] Optionally, the pulse wave signal of the person being measured Filter to get the initial pulse wave signal ,include:
[0026] Obtain the pulse wave signal from the pulse wave acquisition device The sampling frequency ;
[0027] Determine the sampling frequency The expected sampling frequency Is it consistent?
[0028] When the sampling frequency The expected sampling frequency When the pulse wave signal is consistent Perform bandpass filtering to obtain the initial pulse wave signal .
[0029] Optionally, when the sampling frequency The expected sampling frequency If they are inconsistent, the sampling frequency The expected sampling frequency Make comparisons;
[0030] like , then for the pulse wave signal Interpolation is performed so that the pulse wave signal The sampling frequency The expected sampling frequency Keep consistent, and the pulse wave signal after interpolation processing Perform bandpass filtering to obtain the pulse wave signal ;
[0031] like , then for the pulse wave signal Downsampling is performed so that the pulse wave signal The sampling frequency The expected sampling frequency Keep consistent, and downsample the pulse wave signal Perform bandpass filtering to obtain the initial pulse wave signal .
[0032] Optionally, the initial pulse wave signal Extract the time-frequency spectrum to obtain the pulse wave time-frequency spectrum, including:
[0033] The initial pulse wave signal Divide into duration Data segment ;
[0034] The data segment Rearrange to dimensions The data matrix ;
[0035] For the data matrix Perform principal component extraction and conversion to obtain the principal component pulse wave signal ;
[0036] The main component pulse wave signal Perform wavelet denoising to obtain wavelet pulse wave signal ;
[0037] The wavelet pulse wave signal Perform fast Fourier transform to obtain the pulse wave Fourier spectrum ;
[0038] The pulse wave Fourier spectrum of different data segments Arranged in chronological order is the pulse wave time spectrum.
[0039] A second aspect of the present invention provides a respiratory event detection device based on photoelectric pulse volume wave, which includes: a processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor executes the above-mentioned respiratory event detection method based on photoelectric pulse volume wave.
[0040] The present invention provides a low-load, low-cost, convenient and easy-to-promote obstructive sleep apnea (OSA) screening method, which significantly improves the accuracy of respiratory event detection by processing sleep data from a pulse wave acquisition device. First, the acquired pulse wave signal is filtered to remove noise and interference to ensure the accuracy of the data. Then, the initial pulse wave signal is deeply analyzed using time-frequency spectrum analysis, time-domain signal processing and time-frequency domain feature extraction technology to extract sleep and breathing features, and these data are input into a pre-trained neural network and probabilistic graph model to accurately detect intensive respiratory events and evaluate sleep status. Based on these results, the apnea index (AHI) is calculated to accurately determine the severity of obstructive sleep apnea (OSA) of the person being tested, so as to provide scientific diagnostic advice for the person being tested. The present invention significantly improves the accuracy of OSA detection and evaluation through precise data processing and analysis. This automated screening method not only improves the comfort and compliance of the test, but also reduces the risk of privacy infringement. Due to the low cost of the equipment, easy use and no need for special maintenance, the system is easy to promote on a large scale BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 This is an application scenario diagram of a respiratory event detection device based on photoelectric pulse volume wave in an embodiment of the present invention;
[0043] Figure 2 4 is a flow chart of a respiratory event detection method based on photoelectric pulse volume wave in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0046] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0047] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0048] like Figure 1 As shown, an application scenario of a respiratory event detection device based on photoelectric pulse volume wave provided by an embodiment of the present invention is:
[0049] The present invention is composed of a device end and a cloud. The device end is a pulse wave acquisition device. The acquisition device can be a watch, bracelet, finger ring, ear clip or other device that can acquire human pulse. The pulse wave acquisition device is worn on a suitable part of the body of the person being measured. The pulse wave acquisition device acquires the pulse wave data of the person being measured and uploads it to the cloud via the network, and the cloud performs data processing. Figure 1 In the figure, the pulse wave acquisition device 11 is a watch worn on the wrist of the person being measured. The pulse data collected by the watch will be transmitted to the cloud 12 for data processing. After accumulating pulse wave data for a certain period of time, the algorithm analyzes all the received pulse wave data to obtain the final result of the sleep analysis.
[0050] like Figure 2 As shown, an embodiment of the present invention provides a respiratory event detection method based on photoelectric pulse volume wave, which is applied to the cloud and specifically includes:
[0051] S1, pulse wave signal of the person being measured Filter to get the initial pulse wave signal .
[0052] S2, for the initial pulse wave signal Perform time-frequency spectrum, time domain signal, and time-frequency domain feature extraction respectively to obtain pulse wave time-frequency spectrum and standard pulse wave signal , time-frequency domain characteristics of pulse wave.
[0053] S3, extract the pulse wave time spectrum and standard pulse wave signal The pulse wave time-frequency domain features are successively input into the pre-trained feature extraction neural network and classification neural network to obtain the intensive respiratory event detection results. .
[0054] S4, extract the pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the pre-trained probability graph model, and the sleep state detection results are obtained after morphological post-processing .
[0055] S5, based on the results of intensive respiratory events detection and the sleep state detection result Calculate the AHI index, which is the apnea index.
[0056] S6, determine the severity of OSA of the tested person according to the AHI index.
[0057] According to the definition in relevant medical literature, the (adult) subjects were divided into healthy ( )、mild symptoms( ), moderate disease ( ), or severe ( ) four levels of severity.
[0058] This embodiment provides a low-load, low-cost, convenient and easy-to-promote obstructive sleep apnea (OSA) screening method, which significantly improves the accuracy of respiratory event detection by processing sleep data from a pulse wave acquisition device. First, the acquired pulse wave signal is filtered to remove noise and interference to ensure the accuracy of the data. Then, the initial pulse wave signal is deeply analyzed using time-frequency spectrum analysis, time domain signal processing and time-frequency domain feature extraction technology to extract sleep and breathing characteristics, and these data are input into a pre-trained neural network and a probabilistic graph model to accurately detect intensive respiratory events and evaluate sleep status. Based on these results, an apnea index (AHI) is calculated to accurately determine the severity of obstructive sleep apnea (OSA) of the person being tested, so as to provide scientific diagnostic advice for the person being tested. The present invention significantly improves the accuracy of OSA detection and evaluation through precise data processing and analysis.
[0059] This automated screening method not only improves the comfort and compliance of the test, but also reduces the risk of privacy violations. Due to the low cost of the equipment, easy use and no need for special maintenance, the system is easy to promote on a large scale. In addition, this method also supports long-term monitoring of patients' sleep breathing, providing an effective tool for outpatient management of sleep disorder patients.
[0060] In one embodiment, step S3 specifically includes:
[0061] S31, extracting the pulse wave time spectrum and the standard pulse wave signal , the pulse wave time-frequency domain features are input into the corresponding pre-trained feature extraction neural network, and the respiratory event features are obtained respectively. , , This step has no restrictions on the structure of the feature extraction network, only the respiratory event features obtained are required , , The sampling frequency is the same.
[0062] S32, respiratory event features , , Splicing is performed on the feature dimension and input into the pre-trained classification neural network to obtain the dense respiratory event detection results. .
[0063] This embodiment achieves accurate detection of respiratory events through efficient feature extraction and classification processing, providing a high-precision basis for subsequent sleep quality assessment and related analysis.
[0064] In one embodiment, step S4 specifically includes:
[0065] S41, extracting the pulse wave time spectrum and the standard pulse wave signal , the pulse wave time-frequency domain features are input into a pre-trained probability graph model, the probability graph model contains multiple hidden states, one of which indicates wakefulness, and the final hidden state is determined by probability distribution, thereby obtaining a primary sleep-wake state signal .
[0066] These probabilistic graphical models consist of multiple hidden states, each of which represents a different sleep state, and one hidden state specifically identifies the awake state. Hidden states are usually used to describe the potential state at a given point in time. These states are not directly observed, but inferred through probability distribution. By calculating the probability distribution of each hidden state, the model determines the most likely hidden state sequence. These hidden states are combined to form a probabilistic estimate of the current state of the person being tested. Finally, through the calculation of probability distribution and the determination of hidden states, the primary sleep-wake state signal is obtained. , this signal represents an estimate of the subject’s state of wakefulness at a specific point in time.
[0067] S42, primary sleep-wake state signal Perform morphological post-processing, including dilation and corrosion operations, and perform binarization according to the sleep-wake state to obtain a binary sleep-wake state signal . Binary wake-up signal The two discrete values in represent the sleeping or awake state at time t.
[0068] In this embodiment, the extracted pulse wave time spectrum and the standard pulse wave signal are firstly The pre-trained probabilistic graphical model is used to infer the primary sleep-wake state signal based on the pulse wave time-frequency domain features. The model obtains a preliminary sleep-wake state signal by considering multiple hidden states and using probability distribution to determine the most likely sleep state. Morphological post-processing is performed to eliminate noise and enhance signal features, and binarization is performed based on the processing results to generate a binary sleep-wake state signal , thus providing clear indication of sleep status for further analysis and decision making.
[0069] In one embodiment, the intensive respiratory event detection result obtained in step S3 is Includes a multi-tuple distributed by time, including the start time of the abnormal breathing event , End time , confidence, and respiratory event category.
[0070] Results of intensive respiratory events detection One or more An unordered tuple of Respectively represent the start time, end time, confidence level and respiratory event category of the detected abnormal breathing event, where category Different discrete values of can represent at least four types of sleep apnea events, including hypopnea, central apnea, obstructive apnea, and mixed apnea.
[0071] Further, in step S5, according to the result of the intensive breathing event detection and the sleep state detection result Calculate the AHI index, including:
[0072] S51, removing from all multi-groups the multi-groups in which all sleep states are in the awake state during the time period of the abnormal breathing event, and performing deduplication processing on the remaining multi-groups to obtain deduplication detection results.
[0073] S52, based on the deduplication detection result and the sleep state detection result Calculate the AHI index.
[0074] According to the definition in relevant medical literature, AHI is defined as the sum of the number of hypopnea, central apnea, obstructive apnea, and mixed apnea events during sleep divided by the total sleep time, that is,
[0075] ,
[0076] in, is the potential of the set, is the indicator function, defined as:
[0077] ,
[0078] This embodiment removes abnormal breathing events recorded in the awake state by checking the sleep-wake state in the time period of the multi-tuple, ensuring that the data finally retained are all real breathing events in the sleep state. This helps to improve the accuracy and reliability of the apnea index (AHI) calculation.
[0079] Furthermore, step S51 specifically includes:
[0080] S511, the intensive breathing event detection result Medium time interval Sleep status detection results All are sober multiple groups Eliminate the remaining multi-groups and form an undetermined respiratory event set If the respiratory event detection result A tuple in Elements Defined interval Inside, If all the values of are awake, then the tuple Eliminate, after eliminating all the multi-groups that meet the above conditions, the remaining multi-groups are combined into an undetermined respiratory event set .
[0081] For example, the results of the intensive respiratory event detection Contains the following tuples:
[0082] ,
[0083] ,
[0084] ,
[0085] ,
[0086] Sleep status detection results Values for the following time periods:
[0087] From 00:00 to 00:10, ;
[0088] From 00:10 to 00:15, ;
[0089] From 00:15 to 00:25, .
[0090] For multiple groups , check the time period from 00:05 to 00:10 Values: 00:00 to 00:10 are all "awake", so The time period is all "awake" and should be eliminated;
[0091] For multiple groups , check the time period from 00:12 to 00:15 The value of: from 00:10 to 00:15 is "sleep", so, The time period is all "sleep" and should be retained;
[0092] For multiple groups , check the time period from 00:14 to 00:18 The value of: from 00:10 to 00:15 and from 00:15 to 00:20 are both "sleep", so, The time period is all "sleep" and should be retained;
[0093] For multiple groups , check the time period from 00:19 to 00:22 The value of: from 00:15 to 00:25 is "sleep", so, The time period is all "sleep" and should be retained.
[0094] Therefore, the set of undetermined respiratory events Contains multiple groups , , .
[0095] S512, initializing the reserved set and exclude sets Two empty collections. Keep the collection Used to store the retained respiratory events. , exclude set Used to store excluded or disregarded respiratory events, when initialized .
[0096] S513, Undetermined respiratory event set Select confidence level The highest multivariate , the multi-group Move to the reserved collection In the All remaining tuples in Intersection of intervals Move into the exclusion set Repeat the above steps until the undetermined respiratory event set Empty to keep the collection The multi-tuple in is used as the deduplication detection result. and The intersection is defined as a tuple Elements Defined interval and tuples Elements Defined interval The intersection of is not empty.
[0097] For example, for the set of undetermined respiratory events The multi-tuple in , , , where confidence The highest multivariate for , then Move to the reserved collection In the Undetermined Respiratory Event Set The remaining tuples in , , then , and Intersection Move to exclude set Among them, The time interval (00:14 to 00:18) and The time interval (00:12 to 00:15) intersects with the time period 00:14 to 00:15, then you need to Move to exclude set middle, The time interval (00:19 to 00:22) and The time interval (00:12 to 00:15) does not intersect, so there is no need to Move to exclude set Therefore, the set of undetermined respiratory events Still includes , is not empty, then continue with the operation of S513, the respiratory event set is not determined The group with the highest confidence is the multivariate group ,Will Move to the reserved collection In the Undetermined Respiratory Event Set becomes empty, the collection will be retained The multi-tuple in , As the result of deduplication detection.
[0098] This embodiment improves the accuracy and reliability of the detection results by eliminating respiratory events that do not meet the conditions and screening and classifying the remaining events according to the confidence level. First, it ensures that irrelevant respiratory events in the awake state are eliminated, then defines a set for storing the final results, and finally excludes related overlapping events by selecting the event with the highest confidence level, and finally generates an accurate deduplication detection result.
[0099] In one embodiment, step S1 specifically includes:
[0100] S11, obtaining the pulse wave signal from the pulse wave acquisition device The sampling frequency .
[0101] S12, determine the sampling frequency The expected sampling frequency Is it consistent? If the sampling frequency The expected sampling frequency If the sampling frequency is consistent, then step S13 is executed. The expected sampling frequency If they are inconsistent, execute S14.
[0102] S13, pulse wave signal Perform bandpass filtering to obtain the initial pulse wave signal Bandpass filtering can use either IIR filters or FIR filters.
[0103] This embodiment can achieve data alignment by keeping the sampling frequency of the pulse wave signal consistent with the expected sampling frequency, which helps to improve the accuracy and reliability of signal analysis, feature extraction and prediction tasks.
[0104] Further, S14, determining the sampling frequency The expected sampling frequency Size, if , then execute step S15, if , then execute step S16.
[0105] S15, for pulse wave signal Interpolation is performed so that the pulse wave signal The sampling frequency The expected sampling frequency Keep consistent and interpolate the pulse wave signal Perform bandpass filtering to obtain the pulse wave signal The interpolation methods include, but are not limited to, linear interpolation, nearest neighbor interpolation, bilinear interpolation, adjacent point interpolation, spline interpolation, shape-preserving piecewise cubic interpolation, and the like.
[0106] S16, pulse wave signal Downsampling is performed so that the pulse wave signal The sampling frequency The expected sampling frequency Keep consistent and process the pulse wave signal after downsampling Perform bandpass filtering to obtain the initial pulse wave signal The downsampling methods include but are not limited to linear sampling and sampling based on various interpolation methods.
[0107] This embodiment performs difference or sampling processing on the pulse wave signal to make the sampling frequency consistent with the expected frequency, thereby achieving data alignment, maintaining feature integrity, and improving the versatility of the algorithm, and performs bandpass filtering on the pulse wave signal to remove noise and interference, extract effective signals, and improve signal quality.
[0108] In one embodiment, in step S2, the initial pulse wave signal Extract the time-frequency spectrum to obtain the pulse wave time-frequency spectrum, including:
[0109] The initial pulse wave signal Divide into duration Data segment .
[0110] The data segment Rearrange to dimensions The data matrix . Use the following formula to convert all data segments Rearrange to dimensions The data matrix :
[0111] ,
[0112] For the data matrix Perform principal component extraction and conversion to obtain the principal component pulse wave signal .
[0113] Principal component pulse wave signal Perform wavelet denoising to obtain wavelet pulse wave signal .
[0114] Wavelet pulse wave signal Perform fast Fourier transform to obtain the pulse wave Fourier spectrum The wavelet pulse wave signal is analyzed using the following formula Perform a fast Fourier transform:
[0115] ,
[0116] The pulse wave Fourier spectrum of different data segments Arranged in chronological order is the pulse wave time spectrum.
[0117] This embodiment preprocesses the original pulse wave signal and arranges the pulse wave Fourier spectra of different data segments in chronological order as a pulse wave time-frequency spectrum, which can intuitively display the time domain and frequency domain characteristics of the pulse wave signal and analyze the frequency components and time domain change trends of the pulse wave signal.
[0118] Furthermore, for the data matrix Perform principal component extraction and conversion to obtain the principal component pulse wave signal , including:
[0119] For the data matrix Perform singular value decomposition to obtain the left singular value matrix , right singular value matrix and the singular value matrix . Use the following formula to transform the data matrix Perform singular value decomposition:
[0120]
[0121] in, is a singular value decomposition function, which is a well-known and publicly recognized method in the art. is the left singular value matrix, is the right singular value matrix, and are all unitary matrices, is a singular value matrix, and its diagonal elements are eigenvalues.
[0122] Extract singular value matrix , and select the largest k eigenvalues , so that the ratio of the sum of eigenvalues to the total eigenvalues is greater than the eigenvalue threshold . Use the following formula to extract the singular value matrix , and select the largest k eigenvalues , so that the ratio of the sum of eigenvalues to the total eigenvalues is greater than the eigenvalue threshold :
[0123] ,
[0124] ,
[0125] in, is the largest set of k eigenvalues.
[0126] In the left singular value matrix and the right singular value matrix Extract the eigenvalues The corresponding k groups of eigenvectors are restored to the principal component data matrix The k groups of eigenvectors are restored to the principal component data matrix using the following formula: :
[0127] ,
[0128] The principal component data matrix is transformed into Convert to principal component pulse wave signal The diagonal mean method uses the following formula to transform the principal component data matrix Convert to principal component pulse wave signal :
[0129] ,
[0130] This embodiment can effectively reduce the redundancy of data information by extracting the eigenvalues of the singular value matrix and selecting the largest k eigenvalues. By selecting a suitable eigenvalue threshold and the corresponding number of eigenvalues, the most important features can be retained and the features with less impact on the data can be discarded. By extracting the eigenvectors corresponding to the selected eigenvalues, a principal component data matrix can be obtained. These eigenvectors represent important patterns, structures or features in the original data. By using the diagonal averaging method, each group of diagonal data in the principal component data matrix is averaged to obtain a group of synthetic pulse wave signals. These signals represent the most significant components in the original data and can be used for further analysis, recognition or visualization.
[0131] Furthermore, the main component pulse wave signal Perform wavelet denoising to obtain wavelet pulse wave signal , including:
[0132] The main component pulse wave signal is analyzed by using the wavelet kernel function wname Perform w-layer wavelet decomposition to obtain wavelet coefficients swa and swd. The wavelet kernel function wname uses the following formula to decompose the main component pulse wave signal Perform w-layer wavelet decomposition:
[0133] ,
[0134] in, is a wavelet decomposition function, which is a well-known and publicly recognized method in the art. are the wavelet approximation coefficients, is the wavelet detail coefficient, and the wavelet kernel function includes but is not limited to the db series wavelet kernel, sym series wavelet kernel, bior wavelet kernel, rbio wavelet kernel, etc.
[0135] Select the first 3D signal fusion into wavelet pulse wave signal .
[0136] Use the following formula to select the first 3D signal fusion into wavelet pulse wave signal :
[0137] ,
[0138] This embodiment applies w-layer wavelet decomposition to the main component pulse wave signal through wavelet decomposition, and can obtain the components of the signal in different frequency ranges to reflect the local changes and characteristics of the signal, and obtain the corresponding coefficients, and use the energy and statistical information of the coefficients to perform noise reduction processing on the signal, remove noise interference, and improve signal quality; by fusing the selected signals, the information in different frequency ranges can be integrated to generate a wavelet pulse wave signal. This helps to extract important features in the main component pulse wave signal, reduce noise interference, improve the signal-to-noise ratio, and make the signal more recognizable.
[0139] In one embodiment, in step S2, the initial pulse wave signal Perform time domain signal extraction to obtain the standard pulse wave signal ,include:
[0140] Initial pulse wave signal Perform standardization to obtain a standard pulse wave signal .
[0141] The initial pulse wave signal is calculated using the following formula: To standardize:
[0142] ,
[0143] in, is the standard pulse wave signal, is a mean calculation function, which is a well-known and publicly recognized processing method in the art. is a standard deviation calculation function, which is a well-known and publicly recognized processing method in the art.
[0144] In one embodiment, in step S2, the initial pulse wave signal Perform time-frequency domain feature extraction to obtain pulse wave time-frequency domain features, including:
[0145] The first feature is obtained by summing the pulse wave time-frequency spectrum in the frequency dimension.
[0146] The maximum value of the spectrum during the pulse wave is extracted to obtain the second feature.
[0147] The minimum value of the spectrum during the pulse wave is extracted to obtain the third feature.
[0148] The standard deviation of the pulse wave time spectrum is extracted to obtain the fourth feature.
[0149] The fifth feature is obtained by extracting the median of the pulse wave spectrum.
[0150] Extracting data segments The sixth feature is obtained by taking the mean of .
[0151] Extracting data segments The variance of , we get the seventh feature.
[0152] In the present invention, the extracted time-frequency domain features include but are not limited to the above seven features, and the above features can also be operated to obtain features of more dimensions.
[0153] This embodiment quantifies the time-frequency characteristics of the pulse wave signal through multiple features to more comprehensively describe and analyze the structure and changes of the signal. These features include summation, maximum value, minimum value, standard deviation, median, and mean and variance of the data segment in the frequency dimension. Through these features, the main information and variation of the signal can be effectively captured, providing basic data for subsequent signal processing, analysis and pattern recognition.
[0154] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0155] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0156] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0157] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0158] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A method for detecting respiratory events based on photoelectric pulse volume wave, characterized in that: include: The pulse wave signal of the person being measured Filter to get the initial pulse wave signal ; The initial pulse wave signal Perform time-frequency spectrum, time domain signal, and time-frequency domain feature extraction respectively to obtain pulse wave time-frequency spectrum and standard pulse wave signal , pulse wave time-frequency domain characteristics; The extracted pulse wave time spectrum and standard pulse wave signal The pulse wave time-frequency domain features are successively input into the pre-trained feature extraction neural network and classification neural network to obtain the intensive respiratory event detection results. ; The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the pre-trained probability graph model, and the sleep state detection results are obtained after morphological post-processing ; According to the intensive respiratory event detection result and the sleep state detection result Calculate the AHI index; The severity of OSA of the measured person is determined according to the AHI index.
2. The method according to claim 1, characterized in that The extracted pulse wave time spectrum and standard pulse wave signal The pulse wave time-frequency domain features are successively input into the pre-trained feature extraction neural network and classification neural network to obtain the intensive respiratory event detection results. ,include: The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the corresponding pre-trained feature extraction neural network, and the respiratory event features are obtained respectively. , , ; The respiratory event features , , Splicing is performed on the feature dimension and input into the pre-trained classification neural network to obtain the dense respiratory event detection results. .
3. The method according to claim 1, characterized in that The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into the pre-trained probability graph model, and the sleep state detection results are obtained after morphological post-processing ,include: The extracted pulse wave time spectrum and standard pulse wave signal , the pulse wave time-frequency domain features are input into a pre-trained probability graph model, the probability graph model contains multiple hidden states, one of which indicates wakefulness, and the final hidden state is determined by probability distribution, thereby obtaining a primary sleep-wake state signal ; The primary wakefulness signal Perform morphological post-processing, including dilation and corrosion operations, and perform binarization according to the sleep-wake state to obtain a binary sleep-wake state signal .
4. The method according to claim 1, characterized in that: The intensive respiratory event detection result A multi-tuple including a time distribution, the multi-tuple including the start time of the abnormal breathing event , End time , confidence, and respiratory event category.
5. The method according to claim 4, characterized in that According to the intensive respiratory event detection result and the sleep state detection result Calculate the AHI index, including: Eliminate the multi-tuples in which all sleep states are in the awake state during the time period of the abnormal breathing event from all the multi-tuples, perform deduplication processing on the remaining multi-tuples, and obtain deduplication detection results; According to the deduplication detection result and the sleep state detection result Calculate the AHI index.
6. The method according to claim 5, characterized in that The multi-tuples in which all the sleep states are in the awake state during the time period of the abnormal breathing event are eliminated from all the multi-tuples, and the remaining multi-tuples are deduplicated to obtain deduplicated detection results, including: The intensive respiratory event detection result Medium time interval Sleep status detection results All are sober multiple groups Eliminate the remaining multi-groups and form an undetermined respiratory event set ; Initialize the reserved collection and exclude sets are two empty sets; From the undetermined respiratory event set Select confidence level The highest multivariate , the multi-group Move into the reserved set In the All remaining tuples in Intersection of intervals Move into the exclusion set Repeat the above steps until the undetermined respiratory event set Empty to keep the collection The multi-tuple in is taken as the deduplication detection result.
7. The method according to claim 1, characterized in that The pulse wave signal of the person being measured Filter to get the initial pulse wave signal ,include: Obtain the pulse wave signal from the pulse wave acquisition device The sampling frequency ; Determine the sampling frequency The expected sampling frequency Is it consistent? When the sampling frequency The expected sampling frequency When the pulse wave signal is consistent, Perform bandpass filtering to obtain the initial pulse wave signal .
8. The method according to claim 7, characterized in that When the sampling frequency The expected sampling frequency If they are inconsistent, the sampling frequency The expected sampling frequency Make comparisons; like , then for the pulse wave signal Interpolation is performed so that the pulse wave signal The sampling frequency The expected sampling frequency Keep consistent, and the pulse wave signal after interpolation processing Perform bandpass filtering to obtain the pulse wave signal ; like , then for the pulse wave signal Downsampling is performed so that the pulse wave signal The sampling frequency The expected sampling frequency Keep consistent, and downsample the pulse wave signal Perform bandpass filtering to obtain the initial pulse wave signal .
9. The method according to claim 1, characterized in that: The initial pulse wave signal Extract the time-frequency spectrum to obtain the pulse wave time-frequency spectrum, including: The initial pulse wave signal Divide into duration Data segment ; The data segment Rearrange to dimensions The data matrix ; For the data matrix Perform principal component extraction and conversion to obtain the principal component pulse wave signal ; The main component pulse wave signal Perform wavelet denoising to obtain wavelet pulse wave signal ; The wavelet pulse wave signal Perform fast Fourier transform to obtain the pulse wave Fourier spectrum ; The pulse wave Fourier spectrum of different data segments Arranged in chronological order is the pulse wave time spectrum.
10. A respiratory event detection device based on photoelectric pulse volume wave, characterized in that: include: A processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor executes the respiratory event detection method based on photoelectric pulse volume wave as described in any one of claims 1-9.
