Ballistocardiogram detection method and device

The ballistocardiogram signal is processed through segmentation and depth detection models, combined with the J-peak identification algorithm, to calculate the signal quality index and variation index, which solves the instability and inaccuracy of ballistocardiogram signal positioning detection and achieves higher detection accuracy. sex.

CN118356190BActive Publication Date: 2024-10-18SOUTH CHINA NORMAL UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410788478.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-18
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

When the existing technology collects ballistocardiogram signals, the original signal contains respiratory information and other physiological activity information, resulting in low robustness and accuracy of ballistocardiogram signal positioning detection.

Method used

The ballistocardiogram signal to be detected is divided by a preset time length and input into the depth detection model and J-peak identification algorithm respectively to obtain the first and second detection sub-signals, calculate the correlation coefficient signal quality index and variation index, and determine the heartbeat waveform and interval. The robustness of the period, and then locate the ballistic cardiogram signal.

Benefits of technology

The accuracy and robustness of positioning detection of ballistocardiogram signals are improved, and the problems of instability and inaccuracy of signal positioning detection in the existing technology are overcome.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118356190B_ABST
    Figure CN118356190B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for detecting a ballistocardiogram, the method comprising: inputting a plurality of sub-signals to be detected into a depth detection model respectively to obtain a plurality of first valid sub-signals; obtaining a first average correlation coefficient signal quality index of each first valid sub-signal; obtaining a second valid sub-signal of each sub-signal to be detected according to a J peak recognition algorithm; obtaining a second average correlation coefficient signal quality index of each second valid sub-signal; obtaining a first variation index according to the first average correlation coefficient signal quality index, and obtaining a second variation index according to the second average correlation coefficient signal quality index; obtaining a ballistocardiogram positioning detection result of each sub-signal to be detected according to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index. The present application can improve the robustness of the ballistocardiogram positioning detection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ballistocardiogram signal detection, and in particular to a ballistocardiogram detection method and device. Background Art

[0002] The ballistocardiogram (BCG) signal is a common signal that reflects cardiac activity and can be collected in a non-contact manner. Currently, the signal can be collected by embedding sensors into weight scales, beds, chairs, etc. However, the original signal collected by the existing method contains not only information related to cardiac activity, but also other physiological activity information such as breathing information. Therefore, under the influence of other physiological activity information, the positioning detection of the ballistocardiogram signal of the original signal has the technical defects of low robustness and accuracy. Summary of the invention

[0003] The purpose of the present application is to overcome the shortcomings and deficiencies in the prior art. A first aspect of an embodiment of the present application provides a ballistocardiogram detection method, comprising:

[0004] Segment the to-be-detected ballistocardiogram signal according to a preset time length to obtain a plurality of to-be-detected sub-signals;

[0005] Inputting the plurality of sub-signals to be detected into the depth detection model for J peak prediction respectively to obtain a plurality of first detection sub-signals; the first detection sub-signals include the J peak positions and the number of J peaks predicted by the depth detection model;

[0006] Determine a plurality of first effective sub-signals according to the number of J peaks of the plurality of first detection sub-signals;

[0007] Acquire, according to the J peak position of each of the first valid sub-signals, a first average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the first valid sub-signals;

[0008] Acquire a second detection sub-signal of each of the sub-signals to be detected according to a J-peak recognition algorithm; the second detection sub-signal includes a J-peak position and a J-peak number predicted by a signal template;

[0009] Determining a plurality of second effective sub-signals according to the number of J peaks of the plurality of second detection sub-signals;

[0010] According to the J peak position of each of the second valid sub-signals, obtaining a second average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the second valid sub-signals;

[0011] If the first average correlation coefficient signal quality index is greater than a preset index threshold, obtaining a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals;

[0012] If the second average correlation coefficient signal quality index is greater than the index threshold, obtaining a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals;

[0013] According to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index, the ballistocardiogram positioning detection results of each sub-signal to be detected are obtained.

[0014] A second aspect of an embodiment of the present application provides a ballistocardiogram detection device, comprising:

[0015] A sub-signal acquisition module to be detected is used to divide the ballistocardiogram signal to be detected according to a preset time length to obtain multiple sub-signals to be detected;

[0016] A first detection sub-signal acquisition module, used to input the plurality of sub-signals to be detected into a depth detection model for J-peak prediction, to obtain a plurality of first detection sub-signals; the first detection sub-signals include the J-peak positions and the number of J-peaks predicted by the depth detection model;

[0017] A first effective sub-signal acquisition module, used to determine a plurality of first effective sub-signals according to the number of J peaks of a plurality of the first detection sub-signals;

[0018] A first average correlation coefficient signal quality index acquisition module, used to acquire a first average correlation coefficient signal quality index indicating the robustness of the heartbeat waveform of each first valid sub-signal according to the J peak position of each first valid sub-signal;

[0019] A second detection sub-signal acquisition module, used to acquire a second detection sub-signal of each of the sub-signals to be detected according to a J-peak recognition algorithm; the second detection sub-signal includes a J-peak position and a J-peak number predicted by a signal template;

[0020] A second effective sub-signal acquisition module, used to determine a plurality of second effective sub-signals according to the number of J peaks of a plurality of the second detection sub-signals;

[0021] A second average correlation coefficient signal quality index acquisition module, used to acquire a second average correlation coefficient signal quality index indicating the robustness of the heartbeat waveform of each second valid sub-signal according to the J peak position of each second valid sub-signal;

[0022] A first variation index acquisition module, configured to acquire a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals if the first average correlation coefficient signal quality index is greater than a preset index threshold;

[0023] A second variation index acquisition module, configured to acquire a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals if the second average correlation coefficient signal quality indexes are all greater than a preset index threshold;

[0024] The ballistocardiogram positioning detection result acquisition module is used to obtain the ballistocardiogram positioning detection results of each sub-signal to be detected based on the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index.

[0025] Compared with the related art, the present application divides the to-be-detected ballistocardiogram signal by a preset time length to obtain multiple to-be-detected sub-signals, and then obtains the first detection sub-signal and the second detection sub-signal corresponding to the to-be-detected sub-signal through a depth detection module and a J peak recognition algorithm, and then determines the first effective sub-signal and the second effective sub-signal according to the corresponding number of J peaks, and then obtains the first average correlation coefficient signal quality index and the second average correlation coefficient signal quality index according to the corresponding J peak position; if the first average correlation coefficient signal quality index is greater than the preset index threshold, obtain the first variation index of the heartbeat interval corresponding to each first effective sub-signal; if the second average correlation coefficient signal quality index is greater than the index threshold, obtain the second variation index of the heartbeat interval corresponding to each second effective sub-signal, and then obtain the ballistocardiogram positioning detection result of each to-be-detected sub-signal according to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index, and obtain the ballistocardiogram positioning detection result of each to-be-detected sub-signal. The present application can judge the robustness of the heartbeat waveform and heartbeat interval of the first valid sub-signal and the second valid sub-signal based on the first average correlation coefficient signal quality index, the first variation index, the second average correlation coefficient signal quality index and the second variation index, thereby obtaining a more robust ballistocardiogram positioning detection result.

[0026] In order to provide a clearer understanding of the present application, the specific implementation of the present application will be described below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the steps of a ballistocardiogram detection method according to an embodiment of the present application.

[0028] Figure 2 This is a flow chart of a ballistocardiogram detection method according to an embodiment of the present application.

[0029] Figure 3 This is a schematic diagram of module connections of a ballistocardiogram detection device according to an embodiment of the present application.

[0030] 100. Ballistocardiogram detection device; 101. Module for acquiring sub-signals to be detected; 102. Module for acquiring first detected sub-signals; 103. Module for acquiring first valid sub-signals; 104. Module for acquiring first average correlation coefficient signal quality index; 105. Module for acquiring second detected sub-signals; 106. Module for acquiring second valid sub-signals; 107. Module for acquiring second average correlation coefficient signal quality index; 108. Module for acquiring first variation index; 109. Module for acquiring second variation index; 110. Module for acquiring ballistocardiogram positioning detection result. DETAILED DESCRIPTION

[0031] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0032] It should be clear that the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.

[0033] When the following description relates to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. The singular forms of "a", "said" and "the" used in the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. The words "if" / "if" used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0034] In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0035] In the prior art, the ballistocardiogram (BCG) signal is a common signal that can reflect cardiac activity and can be acquired in a non-contact manner. However, in addition to the ballistocardiogram signal, the original signal acquired by the sensor also includes interference signals caused by other physiological activity information such as breathing information. Under the influence of the interference signal, the accuracy of the ballistocardiogram signal detected by the prior art is low.

[0036] See also Figure 1 , which is the first embodiment of the present application, the present application is applied to the detection of the ballistocardiogram signal. After obtaining the sub-signal to be detected by segmenting the ballistocardiogram signal to be detected, the ballistocardiogram signal is positioned by two methods to obtain the first detection sub-signal and the second detection sub-signal respectively; then the first effective sub-signal and the second effective sub-signal are determined according to the corresponding number of J peaks, and the first effective sub-signal and the second effective sub-signal are compared for signal robustness, so as to obtain a ballistocardiogram positioning detection result with better robustness.

[0037] See also Figure 2 , which is a flow chart of a ballistocardiogram detection method according to an embodiment of the present application, comprising:

[0038] S1: Segment the ballistocardiogram signal to be detected according to a preset time length to obtain a plurality of sub-signals to be detected.

[0039] For example, the length of the to-be-detected ballistocardiogram signal used in the present embodiment is 60s, and a sliding window with a length of 10s and a coverage rate of 50% can be used to segment the to-be-detected ballistocardiogram signal, thereby obtaining a plurality of to-be-detected sub-signals. Each to-be-detected sub-signal includes a plurality of ballistocardiogram signals, and the ballistocardiogram signal generally includes a HIJKL wave group, i.e., an H peak, an I peak, a J peak, a K peak, and an L peak. Among them, the J peak is a signal peak with the highest peak value, and the ballistocardiogram signal can be located by locating the J peak.

[0040] S2: Input the plurality of sub-signals to be detected into the depth detection model for J-peak prediction respectively to obtain a plurality of first detection sub-signals; the first detection sub-signals include the J-peak positions and the number of J-peaks predicted by the depth detection model.

[0041] In this embodiment, a hybrid neural network of UNet++ and BiLSTM can be used as the initial depth detection model, and then after training with signal samples, a depth detection model that can detect the J-peak position and the J-peak number is obtained.

[0042] Among them, UNet++ is an improved neural network structure based on UNet, which improves the accuracy and detail retention of semantic segmentation and instance segmentation tasks through multi-level feature fusion and skip connection. Specifically, UNet++ is a four-layer network structure. The input and output data lengths of UNet++ are both 1200 (12s), and the number of hidden layers of UNet++ convolution are 16, 32, 64, 128 and 256 respectively. Each upsampling is followed by a convolution with a kernel size of 2×1.

[0043] BiLSTM refers to a bidirectional long short-term memory network, which can fully learn the bidirectional contextual information of the signal. BiLSTM includes two hidden layers of size 512. BiLSTM is followed by two convolutional layers with a kernel size of 32×1, a convolutional layer with a kernel size of 1×1, and a ReLU activation function. Specifically, the last feature vector of UNet++ is input into the two hidden layers of BiLSTM to further extract the temporal features of the signal, and then the features of the temporal features are input into two convolutional layers with a kernel size of 32×1 and a convolutional layer with a kernel size of 1×1 in sequence, and the convolution results are input into the ReLU activation function to improve the expressiveness of the model.

[0044] The threshold setting of the J peak predicted by the depth detection model can be 0.6, that is, when the probability of each signal position output by the depth detection model being a J peak is greater than 0.6, it is marked as "1", and pulses of a certain width can be obtained near the J peak predicted by the depth detection model, and other signal positions are marked as "0". Therefore, the center point of each square wave pulse is the J peak predicted by the depth detection model.

[0045] S3: Determine a plurality of first effective sub-signals according to the number of J peaks of the plurality of first detection sub-signals.

[0046] Among them, since this embodiment uses a sliding window with a length of 10s and a coverage rate of 50% for signal segmentation, the average heart rate of the first detection sub-signal should be within the heart rate range of the ballistocardiogram signal to be detected. For example, the heart rate range of the ballistocardiogram signal to be detected in this embodiment is between 40-180bpm, and the average heart rate of the first detection sub-signal should also be between 40-180bpm.

[0047] In addition, when the number of J peaks of the first detection sub-signal is less than or equal to 3, there may be two situations. The first is that there are multiple missed detections; the second is that there are artifact motion signals. The positioning result in the first case will have a large interval error. In the second case, the J peaks obtained are located near the artifact motion, these signals will be relatively poor, and the positioning accuracy will also be reduced. Therefore, for each first detection sub-signal output by the depth detection model, the predicted number of J peaks should be greater than 3, and the first detection sub-signal with a predicted number of J peaks less than or equal to 3 is an invalid signal that cannot be a signal.

[0048] In summary, step S3 may include the following steps:

[0049] If the number of J peaks of the first detection sub-signal is greater than a preset first number threshold, and the average heart rate of the first detection sub-signal is within the heart rate range of the ballistocardiogram signal to be detected, the first detection sub-signal is determined to be a first valid signal.

[0050] Among them, the first quantity threshold is set by the user, and the first quantity threshold is related to the parameters of the sliding window during signal segmentation. For example, for a sliding window with a length of 10s and a coverage rate of 50%, the corresponding first quantity threshold can be 3.

[0051] In this step, the validity of the first detection sub-signal can be determined based on the number of J peaks and the average heart rate of the first detection sub-signal, thereby obtaining a first valid sub-signal that can be used in subsequent steps.

[0052] S4: According to the J peak position of each of the first valid sub-signals, a first average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the first valid sub-signals is obtained.

[0053] Wherein, step S4 comprises:

[0054] S41: Acquire a heartbeat signal of the first valid sub-signal according to the J peak position.

[0055] The heartbeat signal may be provided with a middle value of a JJ interval (the distance between adjacent J peaks) as the range length of the heartbeat signal.

[0056] S42: Obtain a first heartbeat average signal according to the signal average of each of the heartbeat signals of the first valid sub-signals.

[0057] The signal average value of the first heartbeat signal refers to the average value of the signals at the same distance from the start signal from each heartbeat signal.

[0058] S43: Obtain a first average correlation coefficient signal quality index according to an average value of correlation coefficients between each of the heartbeat signals of the first valid sub-signal and the first heartbeat average signal.

[0059] The correlation coefficient between each heartbeat signal and the first heartbeat average signal is a quantity indicating the degree of linear correlation between each heartbeat signal and the first heartbeat average signal, and the average value of the correlation coefficient refers to the average value of the correlation coefficient between each heartbeat signal and the first heartbeat average signal. The first average correlation coefficient signal quality index (mccSQI) can be used to indicate whether the heartbeat waveform of the corresponding first valid sub-signal is stable, wherein the min-max normalization method can be used to map the first average correlation coefficient signal quality index to [0,1] to achieve normalization of the first average correlation coefficient signal quality index, so as to obtain the first average correlation coefficient signal quality index that meets user needs.

[0060] S5: Obtain a second detection sub-signal for each of the sub-signals to be detected according to a J-peak identification algorithm; the second detection sub-signal includes a J-peak position and a J-peak number predicted by a signal template.

[0061] Wherein, step S5 comprises:

[0062] S51: performing artifact motion recognition on each of the sub-signals to be detected to obtain a candidate ballistocardiogram signal.

[0063] Among them, an artifact motion detection algorithm can be used to identify the sub-signal to be detected. The artifact motion detection algorithm is suitable for identifying the signal that has changed in the sub-signal to be detected, and the artifact motion refers to the signal other than the candidate ballistocardiogram signal formed due to other interferences, and the other interferences include the physiological activities of the human body. Therefore, the sub-signal to be detected in step S51 also includes artifact motion.

[0064] S52: Acquire a plurality of initial J peaks from the candidate ballistocardiogram signal according to a preset first signal time range.

[0065] Specifically, the candidate ballistocardiogram signals may be divided according to a preset first signal time range, and a peak with the largest peak value in each first signal time range may be determined as an initial J peak, thereby obtaining multiple initial J peaks.

[0066] S53: Obtain multiple signal segments according to the positions of each of the initial J peaks and a preset second signal time range; wherein the second signal time range is smaller than the first signal time range.

[0067] Among them, the position of the initial J peak is taken as the center point, and the time range before and after the center point is obtained according to the preset second signal time range to obtain the signal segment; it should be noted that the second signal time range is smaller than the first signal time range, and the second signal time range can be 0.3s, 0.35s, 0.4s, etc. Taking 0.35s as an example, the signal segment refers to the position of the initial J peak as the center point, and the signal within the time range of 0.35s before the center point to 0.35s after the center point.

[0068] S54: obtaining a preset number of candidate signal segments with the smallest distances according to the Euclidean distance between each signal segment and the average signal of the plurality of signal segments.

[0069] The average signal of multiple signal segments refers to the average signal of all signal segments in the same candidate ballistocardiogram signal, wherein, in multiple signal segments, the signal values ​​of the same signal position are averaged to obtain the average value of the signal position. The same signal position refers to, in multiple signal segments, multiple signal positions that are at the same distance from the starting signal of the corresponding signal segment. For example, it can be understood that multiple signal segments are arranged vertically, and then intersected with the multiple signal segments by a movable vertical line. The positions of the points where the vertical lines intersect with each vertical line at the same time correspond to the same signal positions, and the values ​​of the points are the signal values ​​of the same signal positions. The average values ​​of multiple signal positions can constitute the average signal of multiple signal segments. For example, the average signal of multiple signal segments can be obtained by traversing the movable vertical line through each signal segment.

[0070] The Euclidean distance refers to the straight-line distance between two points in the multi-dimensional space. The Euclidean distance between each signal segment and the average signal of multiple signal segments can be used to indicate the distance between each signal segment and the average signal. The preset number can be set by the user. For example, in this embodiment, the preset number is 3, that is, among the candidate ballistocardiogram signals, the three signal segments with the smallest distance are the candidate signal segments.

[0071] S55: Determine a candidate average signal of the plurality of candidate signal segments; and search the sub-signal to be detected according to the candidate average signal to obtain the second detected sub-signal.

[0072] The candidate average signal can be obtained by averaging the signal values ​​at the same signal position from each candidate signal segment. That is, it can also be understood as arranging several candidate signal segments vertically, and then intersecting several candidate signal segments through a movable vertical line, and averaging the signal values ​​at the intersection points, that is, the operation of averaging the signal values ​​at the same signal position.

[0073] Searching for the sub-signal to be detected based on the candidate average signal means obtaining a similar signal from the sub-signal to be detected based on the candidate average signal. Specifically, the degree of similarity between the candidate average signal and signals in multiple ranges of the sub-signal to be detected can be indicated by a cross-correlation function, thereby obtaining a second detected sub-signal similar to the candidate average signal.

[0074] Specifically, step S55 may include:

[0075] S551: Determine a search interval according to the heart rate speed of the sub-signal to be detected.

[0076] The heart rate is inversely proportional to the search interval, that is, the greater the heart rate, the smaller the search interval; the smaller the heart rate, the larger the search interval.

[0077] S552: Search the sub-signal to be detected according to the search interval and the candidate average signal to obtain each J-peak position and a second detected sub-signal including the J-peak position.

[0078] The search interval is used to indicate the next position to start searching for the J peak after the J peak is found when searching for the sub-signal to be detected based on the candidate average signal. This is because when the heart rate is known, the time distance between two adjacent heartbeats will not be less than the search interval, that is, two heartbeats will not appear within a time less than the search interval, and therefore two J peaks will not appear.

[0079] Optionally, in the process of searching for the second detection sub-signal, this embodiment will only search the sub-signal to be detected in a forward detection manner, for example, using Hilbert transform to extract the signal envelope of the sub-signal to be detected, and obtaining the predicted heart rate according to the signal envelope ( ), and set the interval for searching for the next J peak to ;in, is the current position of Peak J.

[0080] By searching the to-be-detected sub-signal according to the search interval and the candidate average signal, the accuracy of the obtained J-peak position and the second detected sub-signal can be improved.

[0081] S6: Determine a plurality of second valid sub-signals according to the number of J peaks of the plurality of second detection sub-signals.

[0082] Since the artifact motion detection algorithm usually removes a small part of the positioning results near the artifact motion when identifying the second detection sub-signal, the number of J peaks detected in the second detection sub-signal only needs to be greater than 1, and the average heart rate of the second detection sub-signal should be within the heart rate range of the ballistocardiogram signal to be detected. For example, the heart rate range of the ballistocardiogram signal to be detected in this embodiment is between 40-180bpm, and the average heart rate of the second detection sub-signal should also be between 40-180bpm, indicating that the second detection sub-signal is valid.

[0083] In summary, step S6 may include the following steps:

[0084] If the number of J peaks of the second detection sub-signal is greater than a preset second number threshold, and the instantaneous heart rate of the second detection sub-signal is in the same heart rate range as the ballistocardiogram signal to be detected, the second detection sub-signal is determined to be a second valid signal.

[0085] The second quantity threshold may be set to 1.

[0086] In this step, the validity of the second detection sub-signal can be judged according to the number of J peaks and the average heart rate of the second detection sub-signal, so as to obtain a second valid sub-signal that can be used in subsequent steps.

[0087] S7: According to the J peak position of each of the second valid sub-signals, obtain a second average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the second valid sub-signals.

[0088] Wherein, step S7 comprises:

[0089] S71: Acquire a heartbeat signal of the second valid sub-signal according to the J peak position.

[0090] The heartbeat signal may use the middle value of the JJ interval (the distance between adjacent J peaks) of the second valid sub-signal as the range length of the heartbeat signal.

[0091] S72: Obtain a second heartbeat average signal according to the signal average values ​​of the heartbeat signals of the second valid sub-signal.

[0092] The signal average value of the heartbeat signal refers to the average value of the signals at the same distance from the starting signal from each heartbeat signal.

[0093] S73: Obtain a first average correlation coefficient signal quality index according to an average value of correlation coefficients between each of the heartbeat signals of the second valid sub-signal and the second heartbeat average signal.

[0094] The correlation coefficient between each heartbeat signal and the second heartbeat average signal is a quantity indicating the degree of linear correlation between each heartbeat signal and the second heartbeat average signal, and the average value of the correlation coefficient refers to the average value of the correlation coefficient between each heartbeat signal and the second heartbeat average signal. The second average correlation coefficient signal quality index (mccSQI) can be used to indicate whether the heartbeat waveform of the corresponding second valid sub-signal is stable, wherein the min-max normalization method can be used to map the second average correlation coefficient signal quality index to [0,1] to achieve normalization of the second average correlation coefficient signal quality index, so as to obtain a second average correlation coefficient signal quality index that meets user needs.

[0095] S8: if the first average correlation coefficient signal quality index is greater than a preset index threshold, obtaining a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals;

[0096] The index threshold is set by the user. When the first average correlation coefficient signal quality index is greater than the index threshold, step S8 further includes the following steps:

[0097] S81: Obtain a first standard deviation and a first average value of the heartbeat intervals of each of the first valid sub-signals.

[0098] Specifically, the first average value can be obtained by the following formula:

[0099]

[0100] in, is the first average value, is the heartbeat interval of the first valid sub-signal, The total number of heartbeat intervals of the first valid sub-signal.

[0101] The first standard deviation can be obtained by the following formula:

[0102]

[0103] in, is the first standard deviation, is the first average value, is the heartbeat interval of the first valid sub-signal, The total number of heartbeat intervals of the first valid sub-signal.

[0104] S82: Obtain the first variation index according to the first standard deviation and the first average value.

[0105] Specifically, the first variation index can be obtained by the following formula:

[0106]

[0107] in, is the first variation index, is the first standard deviation, is the first average value.

[0108] S9: If the second average correlation coefficient signal quality index is greater than the index threshold, obtain a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals.

[0109] When the second average correlation coefficient signal quality index is greater than the index threshold, step S9 further includes the following steps:

[0110] S91: Obtain a second standard deviation and a second average value of the heartbeat intervals of each of the second valid sub-signals.

[0111] Specifically, the second average value can be obtained by the following formula:

[0112]

[0113] in, is the second standard deviation, is the second average value, is the heartbeat interval of the second effective sub-signal, The total number of heartbeat intervals of the second valid sub-signal.

[0114] S92: Obtain the first variation index according to the second standard deviation and the second mean value.

[0115] Specifically, the second variation index can be obtained by the following formula:

[0116]

[0117] in, is the second variation index, is the second standard deviation, is the second average value.

[0118] S10: Obtaining a ballistocardiogram positioning detection result of each sub-signal to be detected according to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index.

[0119] Wherein, step S10 includes:

[0120] S101: If the first variation index and the second variation index are both smaller than a preset variation threshold, obtain a preset first weight factor and a preset second weight factor.

[0121] If the first variation index and the second variation index are both smaller than the variation threshold, it means that the JJ intervals of the first effective sub-signal and the second effective sub-signal vary slightly, and the JJ intervals are stable, which meets the user's requirements.

[0122] S102: Obtain a first heartbeat signal robust value corresponding to the first detection sub-signal according to the first average correlation coefficient signal quality index, the first variation index, the first weight factor, and the second weight factor.

[0123] Specifically, the first heartbeat signal robust value is obtained by the following formula:

[0124]

[0125] in, is the first heartbeat signal robust value; is the first weight factor; is the first average correlation coefficient signal quality index; is the second weight factor; is the first variation index.

[0126] S103: Obtain a second heartbeat signal robust value corresponding to the second detection sub-signal according to the second average correlation coefficient signal quality index, the second variation index, the first weight factor, and the second weight factor.

[0127] Specifically, the second heartbeat signal robust value is obtained by the following formula:

[0128]

[0129] in, is the second heartbeat signal robust value; is the first weight factor; is the second average correlation coefficient signal quality index; is the second weight factor; is the second variation index.

[0130] S104: If the first heartbeat signal robustness value is greater than the second heartbeat signal robustness value, determine that the first detection sub-signal is the heartbeat diagram positioning detection result of the sub-signal to be detected; if the first heartbeat signal robustness value is less than the second heartbeat signal robustness value, determine that the second detection sub-signal is the heartbeat diagram positioning detection result of the sub-signal to be detected.

[0131] Among them, the larger the heartbeat signal robustness value is, the more robust the heartbeat waveform and heartbeat interval are in the corresponding detection sub-signal, and the closer it is to the actual heartbeat signal. Therefore, the heartbeat signal robustness value and the second heartbeat signal robustness value can be used to select the heartbeat signal to be detected from the first detection sub-signal and the second detection sub-signal. The detection result of the heartbeat signal positioning detection result can be selected from the first detection sub-signal and the second detection sub-signal.

[0132] Compared with the prior art, the present application divides the to-be-detected ballistocardiogram signal by a preset time length to obtain multiple to-be-detected sub-signals, and then obtains the first detection sub-signal and the second detection sub-signal corresponding to the to-be-detected sub-signal through a depth detection module and a J peak recognition algorithm, and then determines the first effective sub-signal and the second effective sub-signal according to the corresponding number of J peaks, and then obtains the first average correlation coefficient signal quality index and the second average correlation coefficient signal quality index according to the corresponding J peak position; if the first average correlation coefficient signal quality index is greater than a preset index threshold, obtain the first variation index of the heartbeat interval corresponding to each first effective sub-signal; if the second average correlation coefficient signal quality index is greater than the index threshold, obtain the second variation index of the heartbeat interval corresponding to each second effective sub-signal, and then obtain the ballistocardiogram positioning detection results of each to-be-detected sub-signal according to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index and the second variation index. The present application can judge the robustness of the heartbeat waveform and heartbeat interval of the first valid sub-signal and the second valid sub-signal based on the first average correlation coefficient signal quality index, the first variation index, the second average correlation coefficient signal quality index and the second variation index, thereby obtaining a heart ballistocardiogram positioning detection result that is more robust and closer to the heart ballistocardiogram signal, which can improve the accuracy of the positioned detected heart ballistocardiogram signal.

[0133] See also Figure 3 The second embodiment of the present application provides a ballistocardiogram detection device 100, comprising:

[0134] The to-be-detected sub-signal acquisition module 101 is used to segment the to-be-detected ballistocardiogram signal according to a preset time length to obtain a plurality of to-be-detected sub-signals;

[0135] A first detection sub-signal acquisition module 102 is used to input the plurality of sub-signals to be detected into a depth detection model for J-peak prediction to obtain a plurality of first detection sub-signals; the first detection sub-signals include the J-peak positions and the number of J-peaks predicted by the depth detection model;

[0136] A first effective sub-signal acquisition module 103, configured to determine a plurality of first effective sub-signals according to the number of J peaks of a plurality of the first detection sub-signals;

[0137] A first average correlation coefficient signal quality index acquisition module 104, configured to acquire, according to the J peak position of each of the first valid sub-signals, a first average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the first valid sub-signals;

[0138] A second detection sub-signal acquisition module 105 is used to acquire a second detection sub-signal of each of the sub-signals to be detected according to a J-peak recognition algorithm; the second detection sub-signal includes a J-peak position and a J-peak number predicted by a signal template;

[0139] A second effective sub-signal acquisition module 106, configured to determine a plurality of second effective sub-signals according to the number of J peaks of the plurality of second detection sub-signals;

[0140] A second average correlation coefficient signal quality index acquisition module 107, configured to acquire, according to the J peak position of each of the second valid sub-signals, a second average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the second valid sub-signals;

[0141] A first variation index acquisition module 108, configured to acquire a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals if the first average correlation coefficient signal quality index is greater than a preset index threshold;

[0142] A second variation index acquisition module 109, configured to acquire a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals if the second average correlation coefficient signal quality indexes are all greater than a preset index threshold;

[0143] The ballistocardiogram positioning detection result acquisition module 110 is used to obtain the ballistocardiogram positioning detection results of each sub-signal to be detected based on the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index.

[0144] It should be noted that, when the ballistocardiogram detection device 100 provided in the second embodiment of the present application executes the ballistocardiogram detection method, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the ballistocardiogram detection device 100 provided in the second embodiment of the present application and the ballistocardiogram detection method of the first embodiment of the present application belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0145] The device embodiments described above are merely illustrative, wherein the components described as separate parts may or may not be physically separated, and the parts displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application. Ordinary technicians in this field can understand and implement it without creative work.

[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt 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 codes.

[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function selected in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 function selected in a box or multiple boxes.

[0148] 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 steps for the function selected in a box or multiple boxes.

[0149] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0150] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0151] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0152] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0153] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A ballistocardiogram detection method, characterized in that: include: Segment the to-be-detected ballistocardiogram signal according to a preset time length to obtain a plurality of to-be-detected sub-signals; Inputting the plurality of sub-signals to be detected into the depth detection model for J peak prediction respectively to obtain a plurality of first detection sub-signals; the first detection sub-signals include the J peak positions and the number of J peaks predicted by the depth detection model; Determine a plurality of first effective sub-signals according to the number of J peaks of the plurality of first detection sub-signals; Acquire, according to the J peak position of each of the first valid sub-signals, a first average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the first valid sub-signals; Acquire a second detection sub-signal of each of the sub-signals to be detected according to a J-peak recognition algorithm; the second detection sub-signal includes a J-peak position and a J-peak number predicted by a signal template; Determining a plurality of second effective sub-signals according to the number of J peaks of the plurality of second detection sub-signals; According to the J peak position of each of the second valid sub-signals, obtaining a second average correlation coefficient signal quality index for indicating the robustness of the heartbeat waveform of each of the second valid sub-signals; If the first average correlation coefficient signal quality index is greater than a preset index threshold, obtaining a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals; If the second average correlation coefficient signal quality index is greater than the index threshold, obtaining a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals; Obtaining a ballistocardiogram positioning detection result of each sub-signal to be detected according to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index; The step of obtaining the second detection sub-signal of each of the sub-signals to be detected according to the J-peak identification algorithm includes: Performing artifact motion recognition on each of the sub-signals to be detected to obtain a candidate ballistocardiogram signal; Acquire a plurality of initial J peaks from the candidate ballistocardiogram signal according to a preset first signal time range; According to the positions of the initial J peaks and a preset second signal time range, a plurality of signal segments are obtained; wherein the second signal time range is smaller than the first signal time range; Obtaining a preset number of candidate signal segments with the smallest distances according to the Euclidean distance between each signal segment and the average signal of the plurality of signal segments; Determine a candidate average signal of the plurality of candidate signal segments; and search the sub-signal to be detected according to the candidate average signal to obtain the second detected sub-signal.

2. The ballistocardiogram detection method according to claim 1, characterized in that: The step of searching the sub-signal to be detected according to the candidate average signal to obtain the second detected sub-signal comprises: Determining a search interval according to the heart rate speed of the sub-signal to be detected; The sub-signal to be detected is searched according to the search interval and the candidate average signal to obtain each J-peak position and a second detected sub-signal including the J-peak position.

3. The ballistocardiogram detection method according to claim 1, characterized in that: The step of acquiring a first average correlation coefficient signal quality index indicating the heartbeat waveform robustness of each first valid sub-signal according to the J peak position of each first valid sub-signal comprises: Acquire a heartbeat signal of the first valid sub-signal according to the J peak position; Obtaining a first heartbeat average signal according to the signal average of each of the heartbeat signals of the first valid sub-signal; A first average correlation coefficient signal quality index is obtained according to an average value of correlation coefficients between each of the heartbeat signals of the first valid sub-signal and the first heartbeat average signal.

4. The ballistocardiogram detection method according to claim 1, characterized in that: The step of obtaining a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals, and a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals, comprises: Obtain a first standard deviation and a first average value of the heartbeat intervals of each of the first valid sub-signals; Obtaining the first variation index according to the first standard deviation and the first mean value; Acquire a second standard deviation and a second average value of the heartbeat intervals of each of the second valid sub-signals; The second variation index is obtained according to the second standard deviation and the second mean value.

5. The ballistocardiogram detection method according to claim 1, characterized in that: The step of obtaining the ballistocardiogram positioning detection result of each sub-signal to be detected according to the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index comprises: If the first variation index and the second variation index are both less than a preset variation threshold, obtaining a preset first weight factor and a preset second weight factor; Obtaining a first heartbeat signal robust value corresponding to the first detection sub-signal according to the first average correlation coefficient signal quality index, the first variation index, the first weight factor, and the second weight factor; Obtain a second heartbeat signal robust value corresponding to the second detection sub-signal according to the second average correlation coefficient signal quality index, the second variation index, the first weight factor, and the second weight factor; If the first heartbeat signal robustness value is greater than the second heartbeat signal robustness value, the first detection sub-signal is determined to be the heartbeat diagram positioning detection result of the sub-signal to be detected; if the first heartbeat signal robustness value is less than the second heartbeat signal robustness value, the second detection sub-signal is determined to be the heartbeat diagram positioning detection result of the sub-signal to be detected.

6. The ballistocardiogram detection method according to claim 5, characterized in that: The step of obtaining a first heartbeat signal robust value corresponding to the first detection sub-signal according to the first average correlation coefficient signal quality index, the first variation index, the first weight factor and the second weight factor comprises: Obtaining the first heartbeat signal robust value according to a difference between a product of the first average correlation coefficient signal quality index and the first weight factor and a product of the first variation index and the second weight factor; The step of obtaining a second heartbeat signal robust value corresponding to the second detection sub-signal according to the second average correlation coefficient signal quality index, the second variation index, the first weight factor, and the second weight factor comprises: The second heartbeat signal robust value is obtained according to the difference between the product of the second average correlation coefficient signal quality index and the first weight factor and the product of the second variation index and the second weight factor.

7. The ballistocardiogram detection method according to claim 1, characterized in that: The step of determining a plurality of first effective sub-signals according to the number of J peaks of the plurality of first detection sub-signals comprises: If the number of J peaks of the first detection sub-signal is greater than a preset first number threshold, and the average heart rate of the first detection sub-signal is within the heart rate range of the ballistocardiogram signal to be detected, the first detection sub-signal is determined to be a first valid signal.

8. The ballistocardiogram detection method according to claim 1, characterized in that: The step of determining a plurality of second effective sub-signals according to the number of J peaks of the plurality of second detection sub-signals comprises: If the number of J peaks of the second detection sub-signal is greater than a preset second number threshold, and the instantaneous heart rate of the second detection sub-signal is in the same heart rate range as the ballistocardiogram signal to be detected, the second detection sub-signal is determined to be a second valid signal.

9. A ballistocardiogram detection device, characterized in that: include: A sub-signal acquisition module to be detected is used to divide the ballistocardiogram signal to be detected according to a preset time length to obtain multiple sub-signals to be detected; A first detection sub-signal acquisition module, used for inputting the plurality of sub-signals to be detected into a depth detection model for J-peak prediction to obtain a plurality of first detection sub-signals; The first detection sub-signal includes the J-peak position and the J-peak number predicted by the depth detection model; A first effective sub-signal acquisition module, used to determine a plurality of first effective sub-signals according to the number of J peaks of a plurality of the first detection sub-signals; A first average correlation coefficient signal quality index acquisition module, used to acquire a first average correlation coefficient signal quality index indicating the robustness of the heartbeat waveform of each first valid sub-signal according to the J peak position of each first valid sub-signal; A second detection sub-signal acquisition module, used to acquire a second detection sub-signal of each of the sub-signals to be detected according to a J-peak recognition algorithm; the second detection sub-signal includes a J-peak position and a J-peak number predicted by a signal template; The step of acquiring the second detection sub-signal of each of the to-be-detected sub-signals according to the J-peak identification algorithm comprises: Performing artifact motion recognition on each of the sub-signals to be detected to obtain a candidate ballistocardiogram signal; Acquire a plurality of initial J peaks from the candidate ballistocardiogram signal according to a preset first signal time range; According to the positions of the initial J peaks and a preset second signal time range, a plurality of signal segments are obtained; wherein the second signal time range is smaller than the first signal time range; Obtaining a preset number of candidate signal segments with the smallest distances according to the Euclidean distance between each signal segment and the average signal of the plurality of signal segments; Determine a candidate average signal of the plurality of candidate signal segments; search the sub-signal to be detected according to the candidate average signal to obtain the second detected sub-signal; A second effective sub-signal acquisition module, used to determine a plurality of second effective sub-signals according to the number of J peaks of a plurality of the second detection sub-signals; A second average correlation coefficient signal quality index acquisition module, used to acquire a second average correlation coefficient signal quality index indicating the robustness of the heartbeat waveform of each second valid sub-signal according to the J peak position of each second valid sub-signal; A first variation index acquisition module, configured to acquire a first variation index of the heartbeat interval corresponding to each of the first valid sub-signals if the first average correlation coefficient signal quality index is greater than a preset index threshold; A second variation index acquisition module, configured to acquire a second variation index of the heartbeat interval corresponding to each of the second valid sub-signals if the second average correlation coefficient signal quality indexes are all greater than a preset index threshold; The ballistocardiogram positioning detection result acquisition module is used to obtain the ballistocardiogram positioning detection results of each sub-signal to be detected based on the first average correlation coefficient signal quality index, the first variation index, and / or the second average correlation coefficient signal quality index, the second variation index.

Citation Information

Patent Citations

  • Effectiveness detection method for ballistocardiogram time sequence signal

    CN112507784A

  • Heart rate estimation method

    CN115462771A