Respiration monitoring method and device
Through the sampling and signal processing of three-axis acceleration sensors, convenient and accurate breathing monitoring is achieved, solving the problem of large size of existing equipment and not suitable for daily monitoring. It is suitable for families and nursing homes and other scenarios, providing an efficient health monitoring solution.
Patent Information
- Application Number
- CN202211175457.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-09-26
AI Technical Summary
The existing bedside breath monitoring equipment is large in size and is not suitable for daily monitoring needs, especially in scenarios such as homes, infant care and nursing homes, which are difficult to achieve convenient health monitoring.
The three-axis acceleration sensor is used to sample and obtain the acceleration signal attracted by the respiration. Through signal preprocessing, comparison and recording, the time interval, the first peak and the first peak peak are calculated, and combined with the threshold comparison, the precise monitoring and recording of breathing is achieved, and the design is simple. The device structure is suitable for daily monitoring.
It realizes convenient and accurate breathing monitoring to avoid misjudgment. It is suitable for families and nursing homes and provides an efficient health monitoring solution.
Smart Images

Figure CN115778366B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of health monitoring, and in particular to a respiratory monitoring method and device. Background Art
[0002] In recent years, with the improvement of living standards, more and more people have begun to pay attention to their physical health. As breathing is an important physiological process, people have an increasing demand for monitoring breathing. Respiration monitoring has many applications, such as providing care for critically ill patients. However, the current bedside respiratory monitoring equipment for critically ill patients is large in size and not suitable for daily monitoring. Summary of the invention
[0003] The purpose of the present invention is to provide a respiratory monitoring method and device suitable for daily monitoring.
[0004] A respiratory monitoring method, comprising the steps of:
[0005] S110, sampling and acquiring acceleration signals of multiple different spatial axes caused by breathing through a three-axis acceleration sensor and preprocessing the acceleration signals to obtain a one-dimensional signal;
[0006] S120, comparing and recording the plurality of one-dimensional signals, and executing step S130 when a target signal appears;
[0007] S130, repeating steps S110 to S120, then calculating the time interval between two adjacent target signals, and obtaining the first peak value and the first peak-to-peak value of the one-dimensional signal within the time interval;
[0008] S140, comparing the time interval, the first peak value and the first peak-to-peak value, and repeating steps S110 to S140;
[0009] If the time interval, the first peak value and the first peak-to-peak value meet the requirements, a breath is recorded.
[0010] By adopting the above-mentioned breathing monitoring method, after the acceleration sensor obtains the acceleration signal, the acceleration signal is first preprocessed to obtain a one-dimensional signal, and then multiple one-dimensional signals are compared and recorded, and the target signal is determined in the multiple one-dimensional signals. After two target signals appear, the time interval between two adjacent target signals is calculated, and the first peak value and the first peak-to-peak value in the one-dimensional signal within the time interval are obtained. Finally, the time interval, the first peak value and the first peak-to-peak value are compared. If they meet the requirements, one breath can be recorded.
[0011] Since the respiratory monitoring method only needs to place the acceleration sensor on the chest or abdomen of the monitored object, obtain the acceleration signal caused by breathing through the acceleration sensor, and then process the acceleration signal. Therefore, the device corresponding to the respiratory monitoring method has a simple structure and is easy to operate. The respiratory monitoring method is simple to calculate and convenient for daily operation. It is suitable for daily health monitoring in scenes or places such as families, infant care, and nursing homes.
[0012] At the same time, after calculating and obtaining the time interval, the first peak value and the first peak-to-peak value, the respiratory monitoring method will determine whether the three meet the requirements. As long as one of them does not meet the requirements, the number of breaths will not be recorded. Only after all three meet the requirements will a breath be recorded to avoid misjudgment of breathing and ensure monitoring accuracy.
[0013] In one embodiment, step S110 includes:
[0014] S111, sampling and acquiring the acceleration signals of the three axes caused by breathing through a three-axis acceleration sensor;
[0015] S112, removing the acceleration signal of an axis with the largest value;
[0016] S114, performing modulus calculation on the acceleration signals of the remaining two axes to obtain the one-dimensional signal.
[0017] In one embodiment, the steps between step S112 and step S114 further include:
[0018] S113, filtering the acceleration signals of the remaining two axes.
[0019] In one embodiment, step S113 includes:
[0020] The acceleration signals of the remaining two axes are filtered by constructing a 0.2 Hz to 0.5 Hz low-pass filter.
[0021] In one embodiment, step S120 includes:
[0022] S121, calculating the difference between two adjacent one-dimensional signals;
[0023] S122, comparing the absolute value of the difference with the breathing threshold;
[0024] If the absolute value of the difference is greater than or equal to the breathing threshold, the one-dimensional signal obtained this time is retained and step S123 is executed; if the absolute value of the difference is less than the breathing threshold, the one-dimensional signal obtained this time is discarded, and a new one-dimensional signal is obtained and step S121 is repeated;
[0025] S123, record the retained one-dimensional signal;
[0026] S125, comparing two adjacent retained one-dimensional signals with a target threshold;
[0027] If the previous one-dimensional signal is greater than the target threshold and the current one-dimensional signal is less than or equal to the target threshold, the current one-dimensional signal is determined to be the target signal; otherwise, the current one-dimensional signal is determined not to be the target signal, a new one-dimensional signal is obtained and step S121 is repeated.
[0028] In one embodiment, the respiratory monitoring method further comprises the steps of:
[0029] S210, recording the number of samplings of the acceleration sensor by a sampling counter, and resetting it after the number of samplings reaches a sampling threshold, so as to obtain sampling data of a stage;
[0030] S220, obtaining the second peak-to-peak value in the sampling data of the previous stage, and calculating the respiratory threshold by formula (1);
[0031] Respiratory threshold = second peak value / m (1);
[0032] Here, m is an integer, and 4≤m≤32.
[0033] In one embodiment, step S140 includes:
[0034] S141, comparing the time interval with a time lower limit threshold, if the time interval is greater than the time lower limit threshold, executing step S142, otherwise it is determined that the time interval does not meet the requirement;
[0035] S142, comparing the time interval with the time upper limit threshold, if the time interval is less than or equal to the time upper limit threshold, executing step S143, otherwise it is determined that the time interval does not meet the requirement;
[0036] S143, comparing the first peak value with the sum value and the first peak-to-peak value with the peak-to-peak value threshold; if the first peak value is greater than the sum value and the first peak-to-peak value is greater than the peak-to-peak value threshold, executing step S144; if the first peak value is less than or equal to the sum value and / or the first peak-to-peak value is less than or equal to the peak-to-peak value threshold, determining that the first peak value and / or the first peak-to-peak value do not meet the requirements;
[0037] S144, recording a breath by a breath counter;
[0038] The sum value is the sum of the target threshold and the peak threshold.
[0039] In one embodiment, step S142 further includes:
[0040] If the time interval is greater than the upper time limit threshold, a breathing interruption alarm is issued.
[0041] In one embodiment, the respiratory monitoring method further comprises the steps of:
[0042] S310, recording the number of times the acceleration signal is obtained by a time counter;
[0043] S320, when it is determined that the target signal appears, the time counter is reset;
[0044] S330, repeat steps S310 to S320 to calculate the time interval between two adjacent target signals.
[0045] A respiratory monitoring device includes a processor and an acceleration sensor, a time counter and a respiratory counter electrically connected to the processor, wherein the acceleration sensor is used to obtain an acceleration signal, the processor is used to preprocess the acceleration signal to obtain multiple one-dimensional signals, and compare and record the multiple one-dimensional signals, the time counter is used to calculate the time interval, and the respiratory counter is used to record the number of breaths.
[0046] The respiratory monitoring device is used to execute the above-mentioned respiratory monitoring method, and therefore has all the beneficial effects of the above-mentioned respiratory monitoring method.
[0047] In one embodiment, the respiratory monitoring device further includes a low-pass filter electrically connected to the processor, and the low-pass filter is used to filter the acceleration signal.
[0048] In one of the embodiments, the respiratory monitoring device further includes a sampling counter, and the sampling counter is used to record the number of times the acceleration sensor samples.
[0049] In one of the embodiments, the respiratory monitoring device further comprises an alarm electrically connected to the processor, wherein the alarm is configured to issue a respiratory interruption alarm when the time interval is greater than an upper time limit threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 A flow chart of a respiratory monitoring method provided by an embodiment of the present invention;
[0051] Figure 2 for Figure 1 Flow chart of step S110 in the respiratory monitoring method shown;
[0052] Figure 3 for Figure 1Flow chart of step S120 in the respiratory monitoring method shown;
[0053] Figure 4 FIG3 is a flow chart of calculating the breathing threshold in step S122;
[0054] Figure 5 for Figure 1 Flow chart of step S140 in the respiratory monitoring method shown;
[0055] Figure 6 for Figure 1 A flow chart of calculation of time intervals in the respiratory monitoring method shown;
[0056] Figure 7 A flowchart of a respiratory monitoring method provided by a specific embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0058] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0059] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0060] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like 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 an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0061] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0062] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.
[0063] like Figure 1 As shown, an embodiment of the present invention provides a respiratory monitoring method, comprising the following steps:
[0064] S110, acquiring acceleration signals of multiple different spatial axes caused by breathing through an acceleration sensor and preprocessing the acceleration signals to obtain a one-dimensional signal.
[0065] S120, compare and record multiple one-dimensional signals, and execute step S130 when a target signal appears.
[0066] S130, repeating steps S110 to S120, then calculating the time interval between two adjacent target signals, and obtaining the first peak value and the first peak-to-peak value in the one-dimensional signal within the time interval.
[0067] S140, comparing the time interval, the first peak value, and the first peak-to-peak value.
[0068] If the time interval, the first peak value and the first peak-to-peak value meet the requirements, a breath is recorded; if at least one of the time interval, the first peak value and the first peak-to-peak value does not meet the requirements, the number of breaths will not be recorded.
[0069] By adopting the above-mentioned breathing monitoring method, after the acceleration sensor obtains the acceleration signal, the acceleration signal is first preprocessed to obtain a one-dimensional signal, and then multiple one-dimensional signals are compared and recorded, and the target signal is determined in the multiple one-dimensional signals. After two target signals appear, the time interval between two adjacent target signals is calculated, and the first peak value and the first peak-to-peak value in the one-dimensional signal within the time interval are obtained. Finally, the time interval, the first peak value and the first peak-to-peak value are compared respectively. If they meet the requirements, one breath can be recorded.
[0070] Since the respiratory monitoring method only needs to place the acceleration sensor on the chest or abdomen of the monitored object, obtain the acceleration signal caused by breathing through the acceleration sensor, and then process the acceleration signal. Therefore, the device corresponding to the respiratory monitoring method has a simple structure and is easy to operate. The respiratory monitoring method is simple to calculate and convenient for daily operation. It is suitable for daily health monitoring in scenes or places such as families, infant care, and nursing homes.
[0071] At the same time, after calculating and obtaining the time interval, the first peak value and the first peak-to-peak value, the respiratory monitoring method will determine whether the three meet the requirements. As long as one of them does not meet the requirements, the number of breaths will not be recorded. Only after all three meet the requirements will a breath be recorded to avoid misjudgment of breathing and ensure monitoring accuracy.
[0072] It is understandable that, in step S110, multiple single-axis acceleration sensors may be used for sampling, or a single-axis acceleration sensor and a dual-axis acceleration sensor may be used in combination for sampling. Alternatively, a three-axis acceleration sensor may be used for sampling. When a three-axis acceleration sensor is used for sampling, correspondingly, the acceleration signals of the multiple spatial axes may be acceleration signals of the mutually perpendicular X-axis, Y-axis, and Z-axis.
[0073] In addition, the multiple one-dimensional signals in step S120 are obtained by sampling the acceleration sensor multiple times in step S110 to obtain the acceleration signal and preprocessing the acceleration signal.
[0074] At the same time, it should be explained that after recording the one-dimensional signal that meets the requirements obtained by continuous sampling, a continuous and fluctuating curve will be obtained, which has alternating and continuous rising edges and falling edges. Through a preset comparison relationship, one of the one-dimensional signals is determined as the target signal, and there are peak values (maximum values) and valley values (minimum values) on the continuous rising edges and falling edges between two adjacent target signals, and the peak-to-peak value = peak value-valley value. In this way, in steps S130 and S140, the time interval between two adjacent target signals is calculated, and the first peak value and the first peak-to-peak value in the one-dimensional signal within the time interval are obtained. If the time interval, the first peak value and the first peak-to-peak value all meet the requirements, then a breath is recorded.
[0075] After completing a breathing record, steps S110 to S140 are repeated to continue monitoring and recording breathing. In step S140, if at least one of the time interval, the first peak value, and the first peak-to-peak value does not meet the requirements, steps S110 to S140 are also repeated.
[0076] In addition, when the respiratory monitoring method is applied, the monitored object preferably remains static, so as to avoid the acceleration sensor being disturbed by the acceleration during movement.
[0077] See also Figure 2 In some embodiments, step S110 includes:
[0078] S111, acquiring acceleration signals of three axes caused by breathing through a three-axis acceleration sensor.
[0079] It is understandable that the three-axis acceleration sensor can be placed on the abdomen or chest of the monitored subject, and along with the breathing, abdomen or chest movements, acceleration signals of the three axes caused by breathing can be obtained.
[0080] S112, removing the acceleration signal of the axis with the largest value.
[0081] It needs to be explained that the acceleration signal caused by breathing is smaller than the acceleration signal caused by gravity, and among the three acceleration signals obtained by the three-axis acceleration sensor, there is one acceleration signal that is most affected by gravity. Therefore, the largest acceleration signal is removed to reduce the influence of gravity, improve the accuracy of the acceleration signal, and further improve the monitoring accuracy.
[0082] In addition, in order to avoid the overlap of the spatial axis with the greatest influence of gravity and the spatial axis with the greatest influence of respiration, the monitored subject should avoid lying flat when undergoing respiratory monitoring.
[0083] S114, performing modulus calculation on the acceleration signals of the remaining two axes to obtain a one-dimensional signal.
[0084] Specifically, a and b are the acceleration signals of the remaining two axes respectively.
[0085] In some embodiments, the steps between step S112 and step S114 further include:
[0086] S113, filtering the acceleration signals of the remaining two axes to further remove interfering noise, such as noise generated by heartbeat, limb movement, etc., so as to further improve the monitoring accuracy.
[0087] Specifically, in this step, the acceleration signals of the remaining two axes may be filtered by constructing a 0.2 Hz to 0.5 Hz low-pass filter.
[0088] See also Figure 3 In some embodiments, step S120 includes:
[0089] S121, calculating the difference between two adjacent one-dimensional signals.
[0090] S122, comparing the absolute value of the difference with the breathing threshold.
[0091] If the absolute value of the difference is greater than or equal to the breathing threshold, the one-dimensional signal obtained this time is retained and step S123 is executed; if the absolute value of the difference is less than the breathing threshold, the one-dimensional signal obtained this time is discarded, a new one-dimensional signal is obtained and step S121 is repeated.
[0092] S123, recording the retained one-dimensional signal to obtain rising edges and falling edges that are alternately and continuously distributed.
[0093] S125, comparing two adjacent retained one-dimensional signals with the target threshold.
[0094] If the previous one-dimensional signal is greater than the target threshold and the current one-dimensional signal is less than or equal to the target threshold, the current one-dimensional signal is determined to be the target signal; otherwise, the current one-dimensional signal is determined not to be the target signal, a new one-dimensional signal is obtained and step S121 is repeated.
[0095] It should be noted that if the absolute value of the difference is greater than or equal to the breathing threshold, it can be roughly determined that the one-dimensional signal obtained this time is a breathing signal and the record is retained, and then the next step is performed to continue to determine whether it is a target signal; if the absolute value of the difference is less than the breathing threshold, it can be determined that the one-dimensional signal obtained this time is not a breathing signal, the one-dimensional signal obtained this time is discarded, and a new acceleration signal is obtained, and then the new one-dimensional signal is pre-processed to recalculate the difference with the one-dimensional signal retained last time and compare them.
[0096] It can be seen that the two adjacent one-dimensional signals in step S121 do not include the eliminated one-dimensional signal, but refer to the previous one-dimensional signal that meets the breathing threshold requirement and the one-dimensional signal obtained this time.
[0097] At the same time, if the one-dimensional signal obtained last time is greater than the target threshold, and the one-dimensional signal this time is less than or equal to the target threshold, then the one-dimensional signal this time is judged to be the target signal; if one of the comparison results of the one-dimensional signal obtained last time and the one-dimensional signal this time and the target threshold does not meet the requirements, then the one-dimensional signal this time is judged not to be the target signal, and then a new acceleration signal is obtained, and after preprocessing the new one-dimensional signal, it is preliminarily judged whether it is a breathing signal, and after preliminarily judging it as a breathing signal, it is further judged whether it is a target signal.
[0098] In addition, after the new one-dimensional signal is acquired, the new one-dimensional signal becomes the one-dimensional signal obtained this time.
[0099] It is understandable that in step S123, only the retained one-dimensional signal may be recorded, and whether the retained one-dimensional signal is further processed to form a curve with continuous rising and falling edges is optional. Forming a curve can intuitively understand the respiratory monitoring situation, but it is not necessary for the internal calculation and judgment of the processor.
[0100] Assuming that the one-dimensional signal obtained for the eighth time is compared with the one-dimensional signal obtained for the ninth time, the one-dimensional signal obtained for the eighth time is the one-dimensional signal obtained for the previous time, and the one-dimensional signal obtained for the ninth time is the one-dimensional signal obtained for this time.
[0101] If the absolute value of the difference between the one-dimensional signal obtained for the eighth time and the one-dimensional signal obtained for the ninth time does not meet the requirement of the respiratory threshold, a new one-dimensional signal needs to be obtained, and the new one-dimensional signal is the one-dimensional signal obtained for the tenth time. At this time, the one-dimensional signal obtained last time is still the one-dimensional signal obtained for the eighth time, and the one-dimensional signal obtained for the ninth time is eliminated, and the one-dimensional signal obtained this time becomes the one-dimensional signal obtained for the tenth time. That is, because the one-dimensional signal obtained for the ninth time is eliminated, the two adjacent one-dimensional signals are the one-dimensional signal obtained for the eighth time and the one-dimensional signal obtained for the tenth time.
[0102] When the absolute value of the difference between the one-dimensional signals obtained for the eighth and ninth times meets the requirement of the respiratory threshold, and the one-dimensional signal obtained for the ninth time is not the target signal, a new one-dimensional signal needs to be obtained, but the one-dimensional signal obtained for the ninth time is retained. Therefore, the corresponding new one-dimensional signal at this time is the one-dimensional signal obtained for the tenth time, that is, the one-dimensional signal obtained this time becomes the one-dimensional signal obtained for the tenth time, and the one-dimensional signal obtained for the previous time becomes the one-dimensional signal obtained for the ninth time.
[0103] It can be understood that, for the one-dimensional signal obtained for the first time, the one-dimensional signal obtained the previous time is the one-dimensional signal obtained for the zeroth time, and the one-dimensional signal obtained for the zeroth time can be preset to zero.
[0104] In addition, the retained one-dimensional signal is recorded. Specifically, each time the acceleration signal is obtained by the three-axis acceleration sensor is sampled once, so a coordinate system is established with the sampling time as the horizontal coordinate and the one-dimensional signal as the vertical coordinate. The retained one-dimensional signal and the corresponding sampling time are recorded in the coordinate system, and adjacent one-dimensional signals are connected to obtain alternating and continuously distributed rising and falling edges.
[0105] It should be noted that the waveform corresponding to the respiratory signal is a continuously distributed rising edge and falling edge, so there is a difference between two adjacent one-dimensional signals, that is, the absolute value of the difference between two adjacent one-dimensional signals is greater than or equal to the respiratory threshold.
[0106] In addition, in some embodiments, the breathing threshold is a preset fixed value, and in other embodiments, the breathing threshold is a variable dynamic value to accommodate individual differences.
[0107] See also Figure 4 In some embodiments, the respiratory monitoring method further comprises the steps of:
[0108] S210, recording the number of samplings of the acceleration sensor through a sampling counter, and resetting it after the number of samplings reaches a sampling threshold, so as to obtain sampling data of a stage.
[0109] It can be understood that each time the acceleration signal is acquired is a sampling, the sampling counter counts up by one, and after the count reaches the sampling threshold, the sampling counter is reset, at which time one stage of data sampling is completed, that is, the sampling data of one stage is obtained, and the data sampling of the next stage can be carried out, and the sampling counter starts counting again.
[0110] S220, obtaining the second peak-to-peak value in the sampling data of the previous stage, and calculating the respiratory threshold value by formula (1).
[0111] Respiratory threshold = second peak-to-peak value / m (1).
[0112] Here, m is an integer, and 4≤m≤32.
[0113] It is understandable that after the sampling counter is reset, the sampling data of the previous stage changes, and the second peak value (the maximum value in the sampling data of the previous stage), the second valley value (the minimum value in the sampling data of the previous stage), the second peak-to-peak value and the breathing threshold need to be updated accordingly.
[0114] In addition, the breathing threshold used in this stage is the breathing threshold calculated based on the sampling data of the previous stage. In this way, the breathing threshold can be dynamically updated to adapt to individual differences.
[0115] It can be understood that the larger the value of m is, the smaller the breathing threshold is, and the absolute value of the difference between two adjacent one-dimensional signals is more likely to meet the requirements of the breathing threshold, while the smaller the value of m is, the larger the breathing threshold is, and the absolute value of the difference between two adjacent one-dimensional signals is less likely to meet the requirements of the breathing threshold. It can be seen that the smaller the value of m is, the more one-dimensional signals that do not meet the requirements are eliminated by the breathing threshold, which corresponds to a higher accuracy of the breathing monitoring method.
[0116] It should be explained that step S210 and step S220 are performed synchronously with the above steps. Moreover, the second peak-to-peak value in step S220 refers to the peak-to-peak value in the previous stage, that is, it is calculated by obtaining the second peak value and the second valley value in the previous stage, while the first peak value, the first valley value and the first peak-to-peak value in the above embodiments refer to the data in this stage, that is, the data in the ongoing stage.
[0117] In addition, during the first stage of monitoring, the respiratory threshold can be set to 0.
[0118] Specifically, taking 40 samplings in one stage as an example, in the first stage, the breathing threshold is 0. After the sampling times reach 40 times, 40 one-dimensional signals are obtained. The breathing threshold can be calculated by these 40 one-dimensional signals, that is, the maximum value minus the minimum value in the 40 one-dimensional signals is used to obtain the second peak-to-peak value, and then the breathing threshold is calculated by formula (1).
[0119] When sampling is performed 40 times, the sampling counter is reset, and the next sampling is the sampling of the current stage (ie, the second stage), while the 40 samplings before the sampling counter is reset are the sampling of the previous stage.
[0120] It should be noted that in the first stage, the breathing threshold is 0, which is not conducive to preliminarily judging whether the one-dimensional signal is a breathing signal based on the breathing threshold. Therefore, in actual operation, only the sampling data of the first stage can be used to calculate the breathing threshold for the second stage, and normal breathing monitoring is performed at the beginning of the second stage.
[0121] In addition, when performing sampling in the later stages, the difference between two adjacent one-dimensional signals may not meet the requirements. At this time, one of the one-dimensional signals will be eliminated. The number of samplings in this stage will not change, but the number of one-dimensional signals finally retained will be reduced because of the elimination of one-dimensional signals.
[0122] It can be understood that each breath corresponds to a waveform including a rising edge and a falling edge, and the one-dimensional signal corresponding to any point in the waveform can be defined as a target signal, so that the curves between two adjacent target signals can be integrated into one waveform. That is, the time interval between two adjacent target signals corresponds to one breathing time.
[0123] In some embodiments, a one-dimensional signal corresponding to a point approximately in the middle of the falling edge is defined as a target signal, which can improve monitoring accuracy.
[0124] See also Figure 3 In some embodiments, the steps between step S123 and step S125 further include:
[0125] S124, calculating the average value of the retained one-dimensional signal to obtain a dynamic average value, and the dynamic average value is used as the target threshold.
[0126] It should be noted that the calculation of the dynamic average is to find the average value of the one-dimensional signal that has been retained, that is, each time a new one-dimensional signal is retained, the average value of the one-dimensional signal is updated. In order to ensure the accuracy of the dynamic average, the first several one-dimensional signals that are severely interfered can be removed, and then the dynamic average is calculated.
[0127] In this way, by setting the dynamic average value as the target threshold in step S124, when the comparison results of two adjacent one-dimensional signals with the target threshold meet the requirements in step S125, the one-dimensional signal is located approximately in the middle of the falling edge of the corresponding waveform and can be used as the target signal.
[0128] The traditional comparison method is to directly compare the sizes of two adjacent one-dimensional signals, and then determine whether the current edge is a falling edge or a rising edge based on the size. For example, if the one-dimensional signal obtained last time is larger than the one-dimensional signal obtained this time, it can be determined that the one-dimensional signal obtained this time is on the falling edge.
[0129] It is understandable that in the traditional comparison method, only the falling edge or the rising edge can be judged, but which one-dimensional signal in the falling edge or the rising edge is the target signal is not determined, that is, after determining the falling edge or the rising edge, the target signal can be obtained by further calculation. In addition, in the traditional comparison method, the one-dimensional signal obtained generally needs to be compared twice, that is, the one-dimensional signal obtained last time is compared with the one-dimensional signal obtained this time, and the one-dimensional signal obtained this time is compared with the one-dimensional signal obtained the next time, and the comparison process is cumbersome. Moreover, it is necessary to obtain all the one-dimensional signals of the entire falling edge or the rising edge before it is clear that one of the one-dimensional signals is the target signal. In this embodiment, by comparing the one-dimensional signal with the target threshold, the comparison process is simple, and it can be known in real time whether the one-dimensional signal obtained this time is located at the falling edge and whether it is the target signal.
[0130] See also Figure 5 In some embodiments, step S140 includes:
[0131] S141, compare the time interval with the time lower limit threshold. If the time interval is greater than the time lower limit threshold, execute step S142. Otherwise, it is determined that the time interval does not meet the requirements.
[0132] S142, compare the time interval with the time upper limit threshold, if the time interval is less than or equal to the time upper limit threshold, execute step S143, otherwise it is determined that the time interval does not meet the requirement.
[0133] S143, compare the first peak value with the sum value and the first peak-to-peak value with the peak-to-peak value threshold. If the first peak value is greater than the sum value and the first peak-to-peak value is greater than the peak-to-peak value threshold, execute step S144. If the first peak value is less than or equal to the sum value and / or the first peak-to-peak value is less than or equal to the peak-to-peak value threshold, determine that the first peak value and / or the first peak-to-peak value do not meet the requirements.
[0134] The sum is the sum of the dynamic average and the peak threshold.
[0135] S144, recording a breath by a breath counter.
[0136] It should be noted that the peak value threshold and the peak-to-peak value threshold are preset values.
[0137] See also Figure 6 In some embodiments, the respiratory monitoring method further comprises the steps of:
[0138] S310, recording the number of times the acceleration signal is obtained through a time counter.
[0139] S320, when it is determined that the target signal appears, the time counter is reset;
[0140] S330, repeating steps S310 to S320 to calculate the time interval between two adjacent target signals.
[0141] It should be explained that the time counter records the number of times, but the duration of each recording can be determined. In this way, the time interval can be calculated based on the number of times the time counter records between two adjacent target signals.
[0142] In addition, the eliminated one-dimensional signal is considered non-existent, that is, the one-dimensional signal will not be used for the calculation of the dynamic average value to ensure the calculation accuracy of the dynamic average value, but the sampling time corresponding to the one-dimensional signal will be recorded to facilitate the calculation of the time interval between adjacent target signals, and the number of sampling times corresponding to the one-dimensional signal will be recorded.
[0143] It should be noted that when it is determined that the target signal appears, the time counter is reset, and when at least one of the time interval, the first peak value and the first peak-to-peak value does not meet the requirements, the time counter for calculating the time interval needs to be reset, and then steps S110 to S140 can be repeated for the next respiratory monitoring.
[0144] When it is determined that the target signal appears, and the time interval, the first peak value, and the first peak-to-peak value all meet the requirements, the time counter is reset, and the breath counter records a breath. Then, steps S110 to S140 can be repeated to perform the next breath monitoring.
[0145] In some embodiments, step S142 further includes: if the time interval is greater than an upper time threshold, issuing a breathing interruption alarm.
[0146] It can be understood that the respiratory monitoring method determines whether the target signal appears through steps S121 to S125, so that it can be determined that when the target signal appears, the state of the monitored object tends to be stable, that is, the acceleration signal obtained next can be regarded as a respiratory signal, and the time interval between two adjacent target signals can be regarded as a breath. If the time interval between two adjacent target signals is greater than the upper time threshold, it means that the monitored object is in a certain breath for a long time, and accordingly it can be judged that the monitored object is at risk of respiratory interruption.
[0147] In order to facilitate understanding of the technical solution of the present invention, Figure 7 The workflow of the respiratory monitoring method in the above embodiment is described as follows:
[0148] The three-axis acceleration sensor is used for continuous sampling to continuously obtain acceleration signals, and each sampling obtains acceleration signals of three axes. While sampling, the time counter and the sampling counter record the number of samplings.
[0149] For the acceleration signals of the three axes obtained by each sampling, the acceleration signal of the axis with the largest value is first removed, and then the acceleration signals of the remaining two axes are filtered. After filtering, the acceleration signals of the remaining two axes are modulo-calculated to obtain a one-dimensional signal.
[0150] A one-dimensional signal can be calculated for each sampling, and multiple samplings can obtain multiple one-dimensional signals (to ensure data accuracy, the one-dimensional signals calculated and measured in the first several times can be eliminated).
[0151] Next, the difference between two adjacent one-dimensional signals is calculated, and the absolute value of the difference is compared with the respiratory threshold. If the absolute value of the difference meets the requirements, the one-dimensional signal is preliminarily judged to be a respiratory signal, and the one-dimensional signal that meets the requirements is retained and recorded.
[0152] In addition, each time a new one-dimensional signal is retained, the dynamic average value is calculated and updated to serve as the target threshold. After the one-dimensional signal is preliminarily determined to be a respiratory signal, two adjacent one-dimensional signals are compared with the target threshold respectively.
[0153] After determining that the target signal appears (the determination method is as described in step S125), the time counter is reset until the target signal appears again, and the time counter is reset again. At this time, the time interval between two adjacent target signals can be calculated according to the number of the time counter. At the same time, each retained one-dimensional signal is recorded, so the first peak value and the first peak-to-peak value in the time interval can be obtained, that is, the first peak value and the first peak-to-peak value between two adjacent target signals can be obtained.
[0154] After obtaining the data of the time interval, the first peak value and the first peak-to-peak value, it is determined whether the three meet the requirements (the determination method is as described in step S140). If the requirements are met, the breath counter records one breath.
[0155] It is understandable that the sampling counter will be reset when it reaches the sampling threshold, and under normal circumstances, there will be at least several breaths within the sampling threshold range, that is, when the sampling counter reaches the sampling threshold, a stage of sampling is completed, and this stage includes several breaths.
[0156] Based on the above-mentioned respiratory monitoring method, the present invention also provides a respiratory monitoring device, including a processor and an acceleration sensor, a time counter and a respiratory counter electrically connected to the processor.
[0157] The acceleration sensor is used to obtain acceleration signals of multiple different spatial axes caused by breathing, the processor is used to preprocess the acceleration signals to obtain multiple one-dimensional signals, and the processor is also used to compare and record the multiple one-dimensional signals, determine the target signal through comparison, and obtain alternating and continuous rising edges and falling edges through recording.
[0158] The time counter is used to calculate the time interval between the two adjacent target signals, and the breath counter is used to record the number of breaths.
[0159] By setting the above-mentioned respiratory monitoring device, after the acceleration sensor obtains the acceleration signal, the acceleration signal is transmitted to the processor, and the processor pre-processes the acceleration signal to obtain a one-dimensional signal, and the processor can compare and record multiple one-dimensional signals. When two target signals appear, the time counter can calculate the time interval, and the processor can also obtain the first peak value and the first peak-to-peak value in the one-dimensional signal within the time interval. Next, the processor compares the time interval, the first peak value and the first peak-to-peak value to determine whether the three meet the requirements. After the three meet the requirements, the processor controls the respiratory counter to record the number of breaths.
[0160] Multiple single-axis acceleration sensors may be used for sampling, or a single-axis acceleration sensor and a dual-axis acceleration sensor may be used in combination for sampling, or a triaxial acceleration sensor may be used for sampling. When a triaxial acceleration sensor is used for sampling, correspondingly, the acceleration signals of multiple spatial axes may be acceleration signals of mutually perpendicular X-axis, Y-axis, and Z-axis.
[0161] Since the respiratory monitoring device does not require the use of other special equipment, it only needs to collect acceleration signals through the acceleration sensor, which has a simple structure and is easy to operate, thus facilitating daily monitoring. In addition, the processor will compare the time interval, the first peak value, and the first peak-to-peak value, and only record the breathing after the three meet the requirements, ensuring the monitoring accuracy.
[0162] In some embodiments, the respiratory monitoring device further includes a low-pass filter electrically connected to the processor, and the low-pass filter is used to filter the acceleration signal.
[0163] In some embodiments, the respiratory monitoring device further includes a sampling counter, which is used to record the number of times the acceleration sensor samples, thereby dividing the sampled data into different stages.
[0164] Taking the sampling of n times in a stage in the above embodiment as an example, when the number of times recorded by the sampling counter reaches n times, the sampling counter is reset, and at this time, the n times of sampling data previously recorded by the processor are the sampling data of the previous stage.
[0165] In some embodiments, the respiratory monitoring device further comprises an alarm electrically connected to the processor, the alarm being configured to issue a respiratory interruption alarm when the time interval is greater than an upper time limit threshold.
[0166] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0167] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A respiratory monitoring method, characterized in that: Includes steps: S110, sampling and acquiring acceleration signals of multiple different spatial axes caused by breathing through an acceleration sensor and preprocessing the acceleration signals to obtain a one-dimensional signal; S120, comparing and recording the plurality of one-dimensional signals, and executing step S130 when a target signal appears; S130, repeating steps S110 to S120, then calculating the time interval between two adjacent target signals, and obtaining the first peak value and the first peak-to-peak value of the one-dimensional signal within the time interval; S140, comparing the time interval, the first peak value, and the first peak-to-peak value; If the time interval, the first peak value and the first peak-to-peak value meet the requirements, recording a breath; Wherein, step S120 includes: S121, calculating the difference between two adjacent one-dimensional signals; S122, comparing the absolute value of the difference with the breathing threshold; If the absolute value of the difference is greater than or equal to the breathing threshold, the one-dimensional signal obtained this time is retained and step S123 is executed; if the absolute value of the difference is less than the breathing threshold, the one-dimensional signal obtained this time is discarded, and a new one-dimensional signal is obtained and step S121 is repeated; S123, record the retained one-dimensional signal; S125, comparing two adjacent retained one-dimensional signals with a target threshold; If the previous one-dimensional signal is greater than the target threshold and the current one-dimensional signal is less than or equal to the target threshold, the current one-dimensional signal is determined to be the target signal; otherwise, the current one-dimensional signal is determined not to be the target signal, a new one-dimensional signal is obtained and step S121 is repeated.
2. The respiratory monitoring method according to claim 1, characterized in that: Step S110 includes: S111, sampling and acquiring the acceleration signals of the three axes caused by breathing through a three-axis acceleration sensor; S112, removing the acceleration signal of an axis with the largest value; S114, performing modulus calculation on the acceleration signals of the remaining two axes to obtain the one-dimensional signal.
3. The respiratory monitoring method according to claim 2, characterized in that: The steps between step S112 and step S114 also include: S113, filtering the acceleration signals of the remaining two axes.
4. The respiratory monitoring method according to claim 3, characterized in that: Step S113 includes: The acceleration signals of the remaining two axes are filtered by constructing a 0.2 Hz to 0.5 Hz low-pass filter.
5. The respiratory monitoring method according to claim 1, characterized in that: The respiratory monitoring method further comprises the steps of: S210, recording the number of samplings of the acceleration sensor by a sampling counter, and resetting it after the number of samplings reaches a sampling threshold, so as to obtain sampling data of a stage; S220, obtaining the second peak-to-peak value in the sampling data of the previous stage, and calculating the respiratory threshold by formula (1); Respiratory threshold = second peak value / m(1); Here, m is an integer, and 4≤m≤32.
6. The respiratory monitoring method according to claim 1, characterized in that: Step S140 includes: S141, comparing the time interval with a time lower limit threshold, if the time interval is greater than the time lower limit threshold, executing step S142, otherwise it is determined that the time interval does not meet the requirement; S142, comparing the time interval with the time upper limit threshold, if the time interval is less than or equal to the time upper limit threshold, executing step S143, otherwise it is determined that the time interval does not meet the requirement; S143, comparing the first peak value with the sum value and the first peak-to-peak value with the peak-to-peak value threshold; if the first peak value is greater than the sum value and the first peak-to-peak value is greater than the peak-to-peak value threshold, executing step S144; if the first peak value is less than or equal to the sum value and / or the first peak-to-peak value is less than or equal to the peak-to-peak value threshold, determining that the first peak value and / or the first peak-to-peak value do not meet the requirements; S144, recording a breath by a breath counter; The sum value is the sum of the target threshold and the peak threshold.
7. The respiratory monitoring method according to claim 6, characterized in that: Step S142 also includes: If the time interval is greater than the upper time limit threshold, a breathing interruption alarm is issued.
8. The respiratory monitoring method according to claim 1, characterized in that: The respiratory monitoring method further comprises the steps of: S310, recording the number of times the acceleration signal is obtained by a time counter; S320, when it is determined that the target signal appears, the time counter is reset; S330, repeat steps S310 to S320 to calculate the time interval between two adjacent target signals.
9. A respiratory monitoring device using the respiratory monitoring method according to any one of claims 1 to 8, characterized in that: It includes a processor and an acceleration sensor, a time counter and a breathing counter electrically connected to the processor; The acceleration sensor is used to obtain an acceleration signal, the processor is used to preprocess the acceleration signal to obtain multiple one-dimensional signals, and compare and record the multiple one-dimensional signals, the time counter is used to calculate the time interval, and the respiration counter is used to record the number of respirations.
10. The respiratory monitoring device according to claim 9, characterized in that: The respiratory monitoring device also includes a low-pass filter electrically connected to the processor, and the low-pass filter is used to filter the acceleration signal.
11. The respiratory monitoring device according to claim 9, characterized in that: The respiratory monitoring device also includes a sampling counter, which is used to record the number of times the acceleration sensor samples.
12. The respiratory monitoring device according to claim 9, characterized in that: The respiratory monitoring device further comprises an alarm electrically connected to the processor, and the alarm is used to issue a respiratory interruption alarm when the time interval is greater than an upper time limit threshold.
Citation Information
Patent Citations
Systems and methods for respiratory event detection
AU2011203044A1
Physiological information detection method and device
CN105982658A
Pressure detection method and system, and electronic cigarette control system
CN111743210A
Respiration rate detection method, device, equipment, system and storage medium
CN114916926A
Article locating and tracking apparatus and method
US20050035862A1
