Respiration rate detection method, monitor and computer storage medium

By real-time update of the detection baseline and calculating the time stamp difference of the respiratory wave, the accuracy and response speed of the monitor in breathing rate detection is solved, and more accurate and rapid breathing rate monitoring is achieved, and the real-time performance of the monitor is improved. .

CN118986323APending Publication Date: 2024-11-22SHENZHEN MEIGEL BIOMEDICAL GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411045731.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing monitors have challenges in accuracy and response speed in respiratory rate detection. Due to environmental and physiological signal interference, the algorithm is difficult to adapt to the breathing patterns of different individuals. The complex algorithm causes the detection response speed to be slow, and delay affects real-time. .

Method used

By obtaining the breathing waves at the set frequency, determine the detection baseline for real-time updates, determine the peak and trough based on the upper and lower limit thresholds, obtain the timestamp difference between the peak and trough, store the respiration rate calculation array, and calculate the average of the timestamp difference value. Values ​​are used to calculate respiration rates, and detection accuracy and stability are improved using bandpass filters and exponentially weighted moving average formulas.

Benefits of technology

It realizes more accurate and fast breathing rate detection, can promptly reflect the patient's breathing changes, and improves the real-time and response speed of the monitor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118986323A_ABST
    Figure CN118986323A_ABST
Patent Text Reader

Abstract

The invention discloses a respiratory rate detection method, a monitor and a computer storage medium, and relates to the technical field of medical equipment. The method comprises the following steps: acquiring respiratory waves under a set frequency; determining a detection base line, and updating the detection base line in real time; determining an upper limit threshold value and a lower limit threshold value according to the real-time updated detection base line, determining a wave crest of the respiratory wave according to the upper limit threshold value, and determining a wave trough of the respiratory wave according to the lower limit threshold value; obtaining a wave peak timestamp and a wave trough timestamp, determining a timestamp difference value according to the wave peak timestamp and the wave trough timestamp, and storing the timestamp difference value into a respiratory rate calculation array; wherein the wave crest timestamps are wave crest timestamps of two adjacent wave crests with effective time differences, and the wave trough timestamps are wave trough timestamps of two adjacent wave troughs with effective time differences; and when the timestamp difference values in the respiratory rate calculation array reach a set number, calculating the respiratory rate according to the average value of the timestamp difference values in the respiratory rate calculation array.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical equipment, and in particular to a respiratory rate detection method, a monitor, and a computer storage medium. Background Art

[0002] Respiration rate detection in a monitor usually involves using a sensor to collect the respiration signal and processing the signal through an algorithm to calculate the respiration rate. However, sometimes the algorithm may have challenges in accuracy and response speed.

[0003] In actual applications, the monitor is interfered by the environment or other physiological signals, such as electromyographic signals or mechanical vibrations, which may lead to inaccurate calculation of respiratory rate. Different individuals may have different breathing patterns, such as shallow breathing or deep breathing, and the algorithm may have difficulty adapting to all changes, affecting detection accuracy. The parameter settings in the algorithm may need to be adjusted according to the specific situation, making it difficult to balance accuracy and response speed.

[0004] In addition, some complex algorithms may require more computing time to process signals, which may result in a slower response speed for respiratory rate detection. In addition, data acquisition, transmission, and processing may introduce delays that affect the real-time performance and response speed of the algorithm. Monitors require high real-time performance, especially for monitoring physiological parameters such as respiratory rate. Any delay may affect the patient's health assessment and treatment decisions. Summary of the invention

[0005] The main technical problem solved by the present invention is to provide a more accurate respiratory rate detection method and monitor.

[0006] According to the first aspect, an embodiment provides a method for detecting a respiratory rate, comprising:

[0007] Get the respiratory wave at the set frequency;

[0008] Determine the detection baseline and update it in real time;

[0009] Determine an upper threshold and a lower threshold according to the detection baseline updated in real time, determine the peak of the respiratory wave according to the upper threshold, and determine the trough of the respiratory wave according to the lower threshold;

[0010] Acquire a peak timestamp and a trough timestamp, determine a timestamp difference according to the peak timestamp and the trough timestamp, and store the timestamp difference in a respiratory rate calculation array; wherein the peak timestamp is a peak timestamp of two adjacent peaks with a valid time difference, and the trough timestamp is a trough timestamp of two adjacent troughs with a valid time difference;

[0011] When the timestamp differences in the respiratory rate calculation array reach a set number, the respiratory rate is calculated according to the average value of the timestamp differences in the respiratory rate calculation array.

[0012] In one embodiment, the step of obtaining a respiratory wave at a set frequency includes:

[0013] The respiratory wave is adjusted to a set frequency of 0.1Hz to 1Hz using a bandpass filter.

[0014] In one embodiment, the real-time updating of the detection baseline includes:

[0015] The detection baseline is updated in real time using the following formula:

[0016] Baseline t =(1-α)×Baseline t-1 +α×NewData t

[0017] Among them, Baseline t represents the updated detection baseline, α represents the weighting factor, Baseline t-1 Represents the detection baseline at the previous time point, NewData t Indicates the data point corresponding to the detection baseline at the current time point.

[0018] In one embodiment, determining the peak of the respiratory wave according to the upper limit threshold comprises:

[0019] The respiratory waves are traversed to find a signal value corresponding to a respiratory wave exceeding an upper threshold as a candidate peak, and the candidate peak is determined to be the peak of the respiratory wave according to signal values ​​corresponding to respiratory waves around the candidate peak.

[0020] In one embodiment, determining the trough of the respiratory wave according to the lower threshold value includes:

[0021] The respiratory waves are traversed to find the signal values ​​corresponding to the respiratory waves exceeding the lower limit threshold as candidate troughs, and the candidate peaks are determined as the troughs of the respiratory waves according to the signal values ​​corresponding to the respiratory waves around the candidate troughs.

[0022] In one embodiment, the peak timestamp is a peak timestamp of two adjacent peaks with a valid time difference, including:

[0023] The peak timestamps of two adjacent peaks are obtained, and the difference between the peak timestamps of the two peaks is calculated. When the difference between the peak timestamps is less than a set time difference threshold, the time difference between the peak timestamps of the two adjacent peaks is valid.

[0024] In one embodiment, the trough timestamp is a trough timestamp of two adjacent troughs with a valid time difference, including:

[0025] The trough timestamps of two adjacent troughs are obtained, and the difference between the trough timestamps of the two troughs is calculated. When the difference between the trough timestamps is less than a set time difference threshold, the time difference between the trough timestamps of the two adjacent troughs is valid.

[0026] In one embodiment, the step of calculating the respiratory rate based on the timestamp difference in the respiratory rate calculation array includes:

[0027] Calculate the respiration rate using the following formula:

[0028]

[0029] Among them, BPM represents the breathing rate, 60 represents one minute, and T represents the average value of the timestamp difference in the breathing rate calculation array.

[0030] According to the second aspect, an embodiment provides a monitor, comprising:

[0031] A memory storing a program;

[0032] A processor is used to implement the method described in any one of the above embodiments by executing the program in the memory.

[0033] According to the third aspect, an embodiment provides a computer-readable storage medium, on which a program is stored. The program can be executed by a processor to implement the method described in any one of the above embodiments.

[0034] According to the respiratory rate detection method, monitor, and computer storage medium of the above-mentioned embodiment, in the method, a respiratory wave at a set frequency is obtained, and a detection baseline is determined. An upper threshold and a lower threshold are determined according to the detection baseline updated in real time, and the peak of the respiratory wave and the trough of the respiratory wave are determined according to the upper threshold and the lower threshold. After the peak of the respiratory wave and the trough of the respiratory wave are determined, a peak timestamp and a trough timestamp are obtained, and a timestamp difference is determined according to the peak timestamp and the trough timestamp, and the timestamp difference is stored in a respiratory rate calculation array, wherein the peak timestamp is the peak timestamp of two adjacent peaks with a valid time difference, and the trough timestamp is the trough timestamp of two adjacent troughs with a valid time difference. When the timestamp difference in the respiratory rate calculation array reaches a set number, the respiratory rate is calculated according to the average value of the timestamp difference in the respiratory rate calculation array. In this application, a real-time updated detection baseline is used to detect the changing trend of the respiratory wave in real time, and the time difference between adjacent peaks and troughs is calculated to accurately capture the duration of each respiratory cycle. The timestamp can be used to update the respiratory rate in real time, so that the monitor can promptly reflect the patient's respiratory changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a general flow chart of a respiratory rate detection method in an embodiment;

[0036] Figure 2 is a flow chart of step S130 in a respiratory rate detection method in an embodiment;

[0037] Figure 3 FIG. 4 is a structural diagram of a monitor in another embodiment. DETAILED DESCRIPTION

[0038] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0039] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0040] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).

[0041] Please refer to Figure 1 In one embodiment, a respiratory rate detection method is provided, which includes the following steps.

[0042] Step S110: Initialize respiratory rate related parameters.

[0043] In one embodiment, after the monitor is turned on or powered on, the relevant parameters of the respiratory rate detection method need to be initialized, which means that some preparation work or settings need to be performed to ensure that the monitor can correctly start monitoring and calculating the patient's respiratory rate.

[0044] In one embodiment, the data related to the calculation of respiratory rate generally include sensor data, filter data, timestamp, signal processing parameters, initialization state and calculation result. The sensor data is the original respiratory signal data obtained from the sensor of the monitor, which may be from the chest sensor or other body parts of the sensor, used to capture the signal of respiratory movement. The filter data is the signal data after filtering, which is used to remove noise and extract effective respiratory movement signals. The timestamp is the time point or timestamp that records the start and end of each respiratory movement, which is used to calculate the respiratory cycle and frequency. The signal processing parameters include algorithm parameters for calculating the respiratory rate, such as the size of the sliding window, the threshold setting, etc. The initialization state includes the initial state when the recording algorithm is started, such as the initial filter state, the initial value of the counter, etc. The calculation result is the final respiratory rate calculation result, which is usually expressed in the number of breaths per minute (BPM) or the number of respiratory cycles per minute (breaths per minute). These data need to be initialized after the monitor is powered on to ensure that the algorithm can run on the correct basis and accurately calculate and monitor the patient's respiratory rate.

[0045] Step S120: Acquire the respiratory wave at the set frequency.

[0046] In one embodiment, the original respiratory signal data is acquired by an AD converter at a set sampling rate, and a filtering technique is applied to the sampled original respiratory signal to obtain a respiratory wave.

[0047] In one embodiment, the normal breathing rate of an adult is usually between 12 and 20 times per minute (BPM), and the corresponding frequency range is 0.2 Hz to 0.33 Hz; the breathing rate of a child is usually higher, and may be between 20 and 30 times per minute (BPM) depending on the age, and the corresponding frequency range is 0.33 Hz to 0.5 Hz; the breathing rate of an infant is usually higher, and may be between 30 and 60 times per minute (BPM), and the corresponding frequency range is 0.5 Hz to 1 Hz. Therefore, in order to adapt to most situations, it is generally believed that the optimal frequency range of the breathing signal is 0.1 Hz to 1 Hz.

[0048] In one embodiment, the sampled respiratory signal data is adjusted to a set frequency of 0.1 Hz to 1 Hz using a bandpass filter to remove unnecessary frequency components (such as high-frequency noise) and enhance the respiratory wave within the set frequency. The presence and characteristics of the respiratory wave, such as period, amplitude, etc., are detected in the filtered respiratory wave. When the corresponding characteristics exist in the respiratory wave, it indicates that the respiratory wave exists.

[0049] Step S130: determine a detection baseline, and update the detection baseline in real time.

[0050] In one embodiment, after the respiratory wave exists, a detection baseline is used to determine whether the respiratory wave is normal, wherein the detection baseline may be a reference value of the amplitude range, periodicity characteristics or other relevant characteristics of the respiratory wave. By comparing with the detection baseline, changes and trends in respiratory activity can be monitored, and abnormalities or changes can be discovered in a timely manner.

[0051] Please refer to Figure 2 In one embodiment, in order to quickly respond to the latest data changes, when the detection baseline is updated in real time, the following steps are also included to update the detection baseline and prevent baseline drift.

[0052] Step S131: Determine the weighting factor of the exponentially weighted moving average.

[0053] In one embodiment, a weighting factor α of the exponentially weighted moving average is determined to be between 0 and 1. A larger value of α indicates that a higher weight is assigned to the latest data point of the detection baseline.

[0054] Step S132: Calculate an updated detection baseline.

[0055] In one embodiment, the detection baseline is updated in real time using the following formula:

[0056] Baseline t =(1-α)×Baseline t-1 +α×NewData t

[0057] Among them, Baseline t Indicates the updated detection baseline, Baseline t-1 Represents the detection baseline at the previous time point, NewData t Indicates the data point corresponding to the detection baseline at the current time point.

[0058] In one embodiment, the detection baseline is continuously updated in real time according to the update of data points, and the detection baseline is used for the detection and analysis of respiratory waves, thereby improving the stability and accuracy of respiratory wave detection.

[0059] Step S140: Obtain an upper threshold and a lower threshold.

[0060] In one embodiment, in respiratory wave monitoring, setting reasonable upper and lower thresholds can help detect abnormal conditions such as apnea and rapid breathing, and provide alarms in a timely manner. The upper and lower thresholds are obtained according to the detection baseline, and a signal change range is set based on the current detection baseline. This range helps determine whether the respiratory wave signal changes within the expected range, ensures the validity of the signal, and detects abnormal conditions in a timely manner.

[0061] Step S150: determining the peak and the trough according to the upper threshold and the lower threshold respectively.

[0062] In one embodiment, the entire respiratory wave is traversed to find signal values ​​corresponding to the respiratory wave that exceed the upper threshold. These signal values ​​are candidate peaks, and the signal values ​​around the candidate peaks are further checked. If the signal values ​​around the candidate peaks are all smaller than the candidate peaks, the candidate peak is determined to be the peak of the respiratory wave.

[0063] In one embodiment, the entire respiratory wave is traversed to find signal values ​​corresponding to the respiratory wave that exceed the lower limit threshold. These signal values ​​are candidate troughs, and the signal values ​​around the candidate troughs are further checked. If the signal values ​​around the candidate troughs are all greater than the candidate troughs, the candidate trough is determined to be the trough of the respiratory wave.

[0064] In one embodiment, after the peaks and troughs are determined, the timestamps of two adjacent peaks and the timestamps of two adjacent troughs are obtained, wherein the timestamp of the first peak is T_peak1, the timestamp of the adjacent second peak is T_peak2, the timestamp of the first trough is T_trough1, and the timestamp of the adjacent second trough is T_trough2. The difference in the timestamps between the two adjacent peaks is calculated, that is, T_peak_diff = T_peak2-T_peak1, and the difference in the timestamps between the two adjacent troughs is calculated, that is, T_trough_diff = T_trough2-T_trough1. If the difference in the timestamps T_peak_diff between the two adjacent peaks is less than a set time difference threshold, the time difference between the peak timestamps of the two adjacent peaks is considered valid; if the time difference T_trough_diff between the two adjacent troughs is less than the set time difference threshold, the time difference between the trough timestamps of the two adjacent troughs is considered valid.

[0065] In one embodiment, a peak timestamp and a trough timestamp with valid time difference are obtained, and the difference between the valid peak timestamp and the trough timestamp is calculated to obtain a timestamp difference, which is actually the interval time of the respiratory cycle, and the calculated timestamp difference is stored in a respiratory rate calculation array.

[0066] It should be noted that by calculating the time difference between adjacent peaks and troughs, the duration of each respiratory cycle can be accurately captured. This method is more accurate than directly measuring the number of breaths within a fixed period of time. The timestamp can be used to update the respiratory rate in real time, allowing the monitor to reflect the patient's respiratory changes in a timely manner.

[0067] Step S160: Calculate the respiratory rate according to the respiratory rate calculation array.

[0068] In one embodiment, when the timestamp difference in the respiratory rate calculation array reaches a set number, it indicates that the respiratory rate calculation array is full. At this time, the respiratory rate is calculated based on the timestamp difference in the respiratory rate calculation array.

[0069] In one embodiment, the average value of all timestamp differences in the respiratory rate calculation array is calculated, and the number of breaths per minute, ie, the respiratory rate, is calculated using the following formula.

[0070]

[0071] Among them, BPM represents the breathing rate, 60 represents one minute, and T represents the average value of the timestamp difference in the breathing rate calculation array.

[0072] It should be noted that by storing the timestamp differences of multiple breathing cycles and calculating their average values, the data can be effectively smoothed to reduce the impact of noise and outliers in a single measurement on the respiratory rate calculation. The average value calculation can offset the time difference caused by individual abnormal breathing (such as hiccups, short breath holding, etc.), making the respiratory rate calculation result more stable and reliable.

[0073] Please refer to Figure 3 In another embodiment, a monitor 10 is provided, which includes a memory 11 and a processor 12. The memory 11 stores a program, and the processor 12 is used to implement a respiratory rate detection method by executing the program in the memory 11. Since the respiratory rate detection method has been clearly explained in the above-mentioned embodiment of the respiratory rate detection method, it will not be repeated here.

[0074] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

[0075] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.

Claims

1. A respiratory rate detection method, characterized in that: include: Get the respiratory wave at the set frequency; Determine the detection baseline and update it in real time; Determine an upper threshold and a lower threshold according to the detection baseline updated in real time, determine the peak of the respiratory wave according to the upper threshold, and determine the trough of the respiratory wave according to the lower threshold; Obtaining a peak timestamp and a trough timestamp, determining a timestamp difference according to the peak timestamp and the trough timestamp, and storing the timestamp difference in a respiratory rate calculation array; The peak timestamp is the peak timestamp of two adjacent peaks with a valid time difference, and the trough timestamp is the trough timestamp of two adjacent troughs with a valid time difference; When the timestamp differences in the respiratory rate calculation array reach a set number, the respiratory rate is calculated according to the average value of the timestamp differences in the respiratory rate calculation array.

2. The respiratory rate detection method according to claim 1, characterized in that: The step of obtaining a respiratory wave at a set frequency includes: The respiratory wave is adjusted to a set frequency of 0.1Hz to 1Hz using a bandpass filter.

3. The respiratory rate detection method according to claim 2, characterized in that: The real-time updating of the detection baseline includes: The detection baseline is updated in real time using the following formula: Baseline t =(1-α)×Baseline t-1 -α×NewData t Among them, Baseline t represents the updated detection baseline, α represents the weighting factor, Baseline t-1 Represents the detection baseline at the previous time point, NewData t Indicates the data point corresponding to the detection baseline at the current time point.

4. The respiratory rate detection method according to claim 3, characterized in that: Determining the peak of the respiratory wave according to the upper limit threshold comprises: The respiratory waves are traversed to find a signal value corresponding to a respiratory wave exceeding an upper threshold as a candidate peak, and the candidate peak is determined to be the peak of the respiratory wave according to signal values ​​corresponding to respiratory waves around the candidate peak.

5. The respiratory rate detection method according to claim 4, characterized in that: The determining the trough of the respiratory wave according to the lower threshold value comprises: The respiratory waves are traversed to find the signal values ​​corresponding to the respiratory waves exceeding the lower limit threshold as candidate troughs, and the candidate peaks are determined as the troughs of the respiratory waves according to the signal values ​​corresponding to the respiratory waves around the candidate troughs.

6. The respiratory rate detection method according to claim 4, characterized in that: The peak timestamp is the peak timestamp of two adjacent peaks with a valid time difference, including: The peak timestamps of two adjacent peaks are obtained, and the difference between the peak timestamps of the two peaks is calculated. When the difference between the peak timestamps is less than a set time difference threshold, the time difference between the peak timestamps of the two adjacent peaks is valid.

7. The respiratory rate detection method according to claim 5, characterized in that: The trough timestamp is the trough timestamp of two adjacent troughs whose time difference is valid, including: The trough timestamps of two adjacent troughs are obtained, and the difference between the trough timestamps of the two troughs is calculated. When the difference between the trough timestamps is less than a set time difference threshold, the time difference between the trough timestamps of the two adjacent troughs is valid.

8. The respiratory rate detection method according to claim 1, characterized in that: The step of calculating the respiratory rate according to the timestamp difference in the respiratory rate calculation array comprises: Calculate the respiration rate using the following formula: Among them, BPM represents the breathing rate, 60 represents one minute, and T represents the average value of the timestamp difference in the breathing rate calculation array.

9. A monitor, characterized in that: include: A memory storing a program; A processor, configured to implement the method according to any one of claims 1 to 8 by executing the program in the memory.

10. A computer-readable storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Breathing pressure measuring method and system

    CN122536989A