Human heart rate variability signal detection method based on rPPG and BCG signal fusion
Through multi-modal data fusion technology based on rPPG and BCG signals, deep learning models are used to detect heart rate variability signals of civil aviation pilots, which solves the problem of inconvenient contact measurement methods, achieves accurate and stable non-contact heart rate monitoring, and improves The safety and convenience of the civil aviation system.
Patent Information
- Application Number
- CN202311375758.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-10-23
AI Technical Summary
The existing contact heart rate measurement method is inconvenient for civil aviation pilots, causing psychological stress and inaccurate detection, making it difficult to achieve non-contact and accurate heart rate variability signal detection.
Multi-modal data fusion technology based on rPPG and BCG signals is used to simultaneously collect face video sequences, ballist cardiograms and photoplethysmographic pulse wave signals, and use convolutional neural networks, Transformers and encoder-decoder networks for feature extraction and Fusion, combined with the cost function of dual space constraints, builds a deep learning model for heart rate variability signal detection.
It achieves accurate and stable detection of pilot heart rate variability signals, improves the accuracy and robustness of non-contact monitoring, is suitable for pre-flight psychological examination and real-time monitoring during flight, and improves the convenience and safety of the civil aviation system. sex.
Smart Images

Figure CN117398083B
Abstract
Description
Technical Field
[0001] The present invention relates to technical fields such as non-contact heart rate pressure measurement, deep learning, and multimodal signal fusion, and in particular to a human heart rate variability signal detection method based on rPPG and BCG signal fusion. Background Art
[0002] Non-contact heart rate pressure measurement is an important topic, and its purpose is to realize non-contact and accurate detection of human heart rate variability signals based on face monitoring. Nowadays, heart rate monitoring has been widely used in our lives, such as medical disease detection, real-time detection of civil aviation pilot status, and other fields.
[0003] As a special profession, civil aviation pilots are characterized by high technology, high pressure and high risk. The psychological state of civil aviation pilots will directly affect the safety of aircraft flight and is a key factor in whether the flight mission can be successfully completed. Therefore, heart rate monitoring of civil aviation pilots is extremely important. However, although the existing contact heart rate measurement method is relatively accurate, it will inevitably bring many discomforts and inconveniences, and easily cause psychological pressure and resistance to users. In view of this, the present invention intends to construct a multimodal data fusion technology based on remote photoplethysmography based on face video monitoring and ballistocardiography based on fiber optic sensing, so as to realize non-contact and accurate detection of heart rate variability signals of civil aviation pilots.
[0004] In the medical field, electrocardiography (ECG), electroencephalography (EEG), and electrooculography (EOG) are usually used to measure the human heart rate variability signal. Current wearable devices generally use photoplethysmograph (PPG) to detect the human heart rate. However, this type of device requires contact measurement, which will bring a lot of inconvenience to users. Therefore, a large number of studies have begun to focus on the human heart rate detection method based on face video monitoring, namely remote photoplethysmography (rPPG). rPPG can collect the subtle changes in skin color caused by human blood flow to the imaging device, thereby obtaining heart rate information.
[0005] BallistoCardioGram (BCG) is a widely used technical means for non-contact heart rate measurement. It detects heart rate by capturing the signal of human body gravity change caused by heart ejection, and then converting this signal into an electrical signal. According to its learning form, it can be divided into three categories: signal processing-based, traditional machine learning-based, and deep learning-based. In the study of heart rate estimation based on BCG signals, the advantage of using deep learning methods to extract heartbeat features is that the model can autonomously select the effective features with the strongest correlation with the target, which can achieve better results. At present, deep learning methods have gradually become the mainstream method of BCG heart rate estimation. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a human heart rate variability signal detection method based on rPPG and BCG signal fusion. The detection problem of pilot heart rate variability signals is taken as the research object, and a set of improved algorithm models is designed in combination with current deep learning, data fusion, feature coding and other related cutting-edge theories and methods, so as to achieve the purpose of improving the accuracy and stability of pilot heart rate variability signal detection.
[0007] The objective of the present invention is achieved through the following technical solutions:
[0008] A method for detecting human heart rate variability signals based on rPPG and BCG signal fusion, the method comprising the following steps:
[0009] S1: synchronously collect the face video sequence, BCG signal and PPG signal of the subject;
[0010] S2: Extract face ROI sequence from face video sequence data; filter the BCG signal of the ballistocardiogram using a bandpass filter; use the photoplethysmogram PPG signal as the reference signal label GT;
[0011] S3: A convolutional neural network is used to construct a spatial feature extraction subnetwork to extract the image spatial features of the face ROI sequence;
[0012] S4: Use Transformer to build the rPPG signal generation subnetwork, extract the spatiotemporal information between spatial feature sequences, and generate the rPPG signal corresponding to the input video sequence;
[0013] S5: Use the Hourglass or U-Net network structure to perform waveform transformation subnetwork to convert the filtered BCG signal of the ballistocardiogram into a pseudo rPPG signal;
[0014] S6: The rPPG signal and the pseudo rPPG signal are superimposed on each other using an encoder-decoder network structure to perform feature fusion to obtain a fused signal B-rPPG;
[0015] S7: The fusion signal B-rPPG and the reference PPG signal are constrained using a cost function based on dual-space constraints, and the trained network model outputs the detection result of the heart rate variability signal of the subject in the video sequence.
[0016] Furthermore, the step S3 is specifically as follows:
[0017] For i Face video sequence of the subject ,Include H face video frames, K is the length and width of the image, and its feature extraction process is expressed as:
[0018]
[0019] in It is the spatial feature extraction subnetwork The network parameters, It is the spatial face feature obtained by the spatial feature extraction sub-network; Output corresponding to H A sequence of spatial features: .
[0020] Furthermore, the step S4 is specifically as follows:
[0021] for H Spatial feature sequence , the process of extracting spatiotemporal information is expressed as:
[0022]
[0023] in Generate a subnetwork for Transformer-based rPPG signals, yes The network parameters, Indicates i The first feature sequence t feature map, It is the output of the rPPG signal generation subnetwork, that is, the rPPG signal corresponding to the input video sequence is generated.
[0024] Furthermore, the step S5 is specifically as follows:
[0025] For i BCG signal of the ballistocardiogram , the pseudo rPPG signal output by the model is:
[0026]
[0027] in It is a waveform transformation subnetwork constructed using the Hourglass or U-Net network. yes network parameters.
[0028] Furthermore, the step S6 is specifically as follows:
[0029] Using two identical encoders and The generated rPPG signal and pseudo rPPG signals Encode and obtain the encoding features of rPPG and pseudo rPPG signals and , the process is expressed as:
[0030]
[0031] The two coded features and Feature fusion through superposition;
[0032] Through the decoder The decoding is performed to obtain the fusion signal B-rPPG, and the process is expressed as:
[0033]
[0034] in Signal fusion unit The network parameters, is the final fusion signal, Represents the superposition of features.
[0035] Furthermore, the cost function based on the dual space constraint is:
[0036] in, is the time domain constraint cost function, is the frequency domain constrained cost function based on the signal-to-noise ratio, is the weight coefficient.
[0037] Furthermore, for the i Standard photoplethysmography (PPG) signal of each subject , and feature fusion signal B-rPPG , the time-domain constraint cost function Defined as:
[0038] .
[0039] Furthermore, the frequency domain constraint cost function based on signal-to-noise ratio is Defined as:
[0040] In the formula, is the signal-to-noise ratio of the fused signal B-rPPG.
[0041] Furthermore, for the i Standard photoplethysmography (PPG) signal of each subject , the signal-to-noise ratio of the fusion signal B-rPPG is:
[0042] In the formula, PSD It represents the power spectral density of the signal. is the frequency of the fusion signal B-rPPG, and the effective frequency range is , Measured by a professional spectrum analyzer, the denominator Represents the energy of the noise signal, the numerator Indicates the energy of the effective signal.
[0043] The beneficial effects of the present invention are:
[0044] The present invention performs multimodal signal fusion based on deep neural network, and makes the fusion signal more generalized through strong generalization feature learning of differentiated data. At the same time, the time-frequency dual-space constraint is adopted to accelerate the convergence of the model to ensure the stability of the fusion signal, thereby achieving the purpose of remote non-contact heart rate monitoring of pilots and improving the accuracy and robustness of the pilot's heart rate variability signal detection. This technology can not only assist aviation doctors in psychological examinations of pilots before flight, but also monitor the pilot's heart rate in real time during flight, which is of great significance for evaluating the pilot's flight quality and improving the convenience and safety of the entire civil aviation system. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is the overall fusion network structure diagram of the present invention;
[0046] Figure 2 A technical implementation roadmap for the present invention;
[0047] Figure 3 This is the ROI face region extraction map based on feature point detection in the present invention. DETAILED DESCRIPTION
[0048] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0049] See also Figure 1-Figure 3 , the present invention provides a technical solution:
[0050] A human heart rate variability signal detection method based on rPPG and BCG signal fusion, wherein the overall fusion network structure is shown in the figure Figure 1 As shown in the technical implementation roadmap, Figure 2 As shown, the method comprises the following steps:
[0051] S1: synchronously collect the face video sequence, BCG signal and PPG signal of the subject;
[0052] S2: Extract face ROI sequence from face video sequence data; filter the BCG signal of the ballistocardiogram using a bandpass filter; use the photoplethysmogram PPG signal as the reference signal label (Ground Truth, GT);
[0053] S3: A convolutional neural network is used to construct a spatial feature extraction subnetwork to extract the image spatial features of the face ROI sequence;
[0054] S4: Use Transformer to build the rPPG signal generation subnetwork, extract the spatiotemporal information between spatial feature sequences, and generate the rPPG signal corresponding to the input video sequence;
[0055] S5: Use the Hourglass or U-Net network structure to perform waveform transformation subnetwork to convert the filtered BCG signal of the ballistocardiogram into a pseudo rPPG signal;
[0056] S6: The rPPG signal and the pseudo rPPG signal are superimposed on each other using an encoder-decoder network structure to perform feature fusion to obtain a fused signal B-rPPG;
[0057] S7: The fusion signal B-rPPG and the reference PPG signal are constrained using a cost function based on dual-space constraints, and the trained network model outputs the detection result of the heart rate variability signal of the subject in the video sequence.
[0058] In this embodiment, during the data collection of step S1, a high-definition camera is used to collect the face video sequence of the subject, a fiber optic sensor cushion is used to collect the BCG signal of the ballistocardiogram, and a plurality of PPG sensors are used to obtain the photoplethysmogram (PPG) signal, and the three data collections are performed synchronously. The above three signals are all collected synchronously from the same subject, so they are one-to-one corresponding in the time domain, so the face video sequence contains H face video frames, and the BCG signal of the ballistocardiogram and the photoplethysmogram (PPG) signal are both H-dimensional vectors.
[0059] During the data collection process, the subjects need to actively cooperate. In order to increase the diversity of data and collect the pilot's typical heart rate signal, the pilot needs to use a flight simulator to simulate different flight stages during the flight process, such as aircraft taxiing, takeoff, accelerated climb, constant speed flight, descent, leveling, level flight, falling, etc.; as well as sudden weather conditions such as severe convection, wind shear, strong wind, crosswind, thunderstorm, vortex, sandstorm, etc.
[0060] In this embodiment, the face ROI sequence extraction process in step S2 is to detect the facial feature points of the collected face video data, and then extract the corresponding ROI area according to the detected facial feature points. The present invention selects the face forehead ROI area to construct the video sequence as the input of the rPPG branch, and the feature point extraction method of the corresponding ROI area is as follows: Figure 3 shown.
[0061] In this embodiment, the step S3 is specifically as follows:
[0062] For i Face video sequence of the subject ,Include H face video frames, K is the length and width of the image, and its feature extraction process is expressed as:
[0063]
[0064] in It is the spatial feature extraction subnetwork The network parameters, It is the spatial face feature obtained by the spatial feature extraction sub-network; Output corresponding to H A sequence of spatial features: .
[0065] In this embodiment, the step S4 is specifically as follows:
[0066] for H Spatial feature sequence , the process of extracting spatiotemporal information is expressed as:
[0067]
[0068] in Generate a subnetwork for Transformer-based rPPG signals, yes The network parameters, Indicates i The first feature sequence t feature map, It is the output of the rPPG signal generation subnetwork, that is, the rPPG signal corresponding to the input video sequence is generated. Transformer is a network architecture based entirely on the attention mechanism. Compared with the LSTM model for processing sequence tasks, it can directly capture the long-distance dependencies in the sequence, and the model has high parallelism, which can greatly reduce the training time of the model.
[0069] In this embodiment, the step S5 is specifically as follows:
[0070] For i BCG signal of the ballistocardiogram , the pseudo rPPG signal output by the model is:
[0071]
[0072] in It is a waveform transformation subnetwork constructed using the Hourglass or U-Net network. yes Hourglass and U-Net are classic network structures in the field of deep learning and have been widely used in image transformation, image style transfer and other fields.
[0073] In this embodiment, the step S6 is specifically as follows:
[0074] Using two identical encoders and The generated rPPG signal and pseudo rPPG signals Encode and obtain the encoding features of rPPG and pseudo rPPG signals and , the process is expressed as:
[0075]
[0076] The two coded features and Feature fusion through superposition;
[0077] Through the decoder The decoding is performed to obtain the fusion signal B-rPPG, and the process is expressed as:
[0078]
[0079] in Signal fusion unit The network parameters, is the final fusion signal, Represents the superposition of features.
[0080] In this embodiment, the cost function based on the dual space constraint is:
[0081]
[0082] in, is the time domain constraint cost function, is the frequency domain constrained cost function based on the signal-to-noise ratio, is the weight coefficient.
[0083] Since the waveforms of the fusion signal B-rPPG and the reference PPG signal in space should correspond one to one, the mean square error is used to constrain the waveforms of the two in time. i Standard photoplethysmography (PPG) signal of each subject , and feature fusion signal B-rPPG , the time-domain constraint cost function Defined as:
[0084] .
[0085] Since the heart rate variability signal has significant frequency domain distribution characteristics, such as frequency, power spectrum, signal-to-noise ratio, etc. Among them, the signal-to-noise ratio refers to the ratio of effective signal to noise. For a signal, the smaller the noise component, the better, and the higher the signal-to-noise ratio, the better. In order to effectively reduce the noise of the fusion signal, a frequency domain cost function based on the signal-to-noise ratio is designed. for:
[0086]
[0087] In the formula, is the signal-to-noise ratio of the fused signal B-rPPG.
[0088] Furthermore, for the i Standard photoplethysmography (PPG) signal of each subject , the signal-to-noise ratio of the fusion signal B-rPPG is:
[0089] In the formula, PSDIt represents the power spectral density of the signal. is the frequency of the fusion signal B-rPPG, and the effective frequency range is , Measured by a professional spectrum analyzer, the denominator Represents the energy of the noise signal, the numerator Indicates the energy of the effective signal.
[0090] In this embodiment, in step S7, the loss of the fused signal B-rPPG and the reference PPG signal is calculated, and the waveform of the fused signal B-rPPG and the reference PPG signal in time is constrained by using the mean square error until the model generalization converges, and finally a network model that can accurately detect the heart rate variability signal of people in the video sequence is trained, thereby realizing non-contact accurate detection of heart rate variability signals and completing the function of assisting in judging the health status, emotional state and emergency response ability of pilots. Since the model introduces the method of multimodal data fusion and time-frequency dual-space constraints, the model improves the accuracy and stability of heart rate variability signal detection.
[0091] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for detecting human heart rate variability signals based on rPPG and BCG signal fusion, characterized in that The method comprises the following steps: S1: synchronously collect the face video sequence, BCG signal and PPG signal of the subject; S2: Extract face ROI sequence from face video sequence data; filter the BCG signal of the ballistocardiogram using a bandpass filter; use the photoplethysmogram PPG signal as the reference signal label GT; S3: A convolutional neural network is used to construct a spatial feature extraction subnetwork to extract the image spatial features of the face ROI sequence; S4: Use Transformer to build the rPPG signal generation subnetwork, extract the spatiotemporal information between spatial feature sequences, and generate the rPPG signal corresponding to the input video sequence; S5: Use the Hourglass or U-Net network structure to perform waveform transformation subnetwork to convert the filtered BCG signal of the ballistocardiogram into a pseudo rPPG signal; S6: The rPPG signal and the pseudo rPPG signal are superimposed on each other using an encoder-decoder network structure to perform feature fusion to obtain a fused signal B-rPPG; S7: The fusion signal B-rPPG and the reference PPG signal are constrained using a cost function based on dual-space constraints, and the trained network model outputs the detection result of the heart rate variability signal of the subject in the video sequence.
2. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 1, characterized in that: The step S3 is specifically as follows: For Face video sequence of the subject ,Include H face video frames, K is the length and width of the image, and its feature extraction process is expressed as: in It is the spatial feature extraction subnetwork The network parameters, It is the spatial face feature obtained by the spatial feature extraction sub-network; Output corresponding to H A sequence of spatial features: .
3. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 2, characterized in that: The step S4 is specifically as follows: for H Spatial feature sequence , the process of extracting spatiotemporal information is expressed as: in Generate a subnetwork for Transformer-based rPPG signals, yes The network parameters, represents the tth feature graph of the ith feature sequence, It is the output of the rPPG signal generation subnetwork, that is, the rPPG signal corresponding to the input video sequence is generated.
4. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 3, characterized in that: The step S5 is specifically as follows: For BCG signal of the ballistocardiogram , the pseudo rPPG signal output by the model is: in It is a waveform transformation subnetwork constructed using the Hourglass or U-Net network. yes network parameters.
5. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 4, characterized in that: The step S6 is specifically as follows: Using two identical encoders and The generated rPPG signal and pseudo rPPG signals Encode and obtain the encoding features of rPPG and pseudo rPPG signals and , the process is expressed as: The two coded features and Feature fusion through superposition; Through the decoder The decoding is performed to obtain the fusion signal B-rPPG, and the process is expressed as: in Signal fusion unit The network parameters, is the final fusion signal, Represents the superposition of features.
6. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 5, characterized in that: The cost function based on the dual space constraint is: in, is the time domain constraint cost function, is the frequency domain constraint cost function based on the signal-to-noise ratio, is the weight coefficient.
7. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 6, characterized in that: For i Standard photoplethysmography (PPG) signal of each subject , and feature fusion signal B-rPPG , the time-domain constraint cost function Defined as: 。 8. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 6, characterized in that: The frequency domain constraint cost function based on signal-to-noise ratio Defined as: In the formula, is the signal-to-noise ratio of the fused signal B-rPPG.
9. The method for detecting human heart rate variability signals based on rPPG and BCG signal fusion according to claim 8, characterized in that: For i Standard photoplethysmography (PPG) signal of each subject , the signal-to-noise ratio of the fusion signal B-rPPG is: In the formula, PSD It represents the power spectral density of the signal. is the frequency of the fusion signal B-rPPG, and the effective frequency range is , Measured by a professional spectrum analyzer, the denominator Represents the energy of the noise signal, the numerator Indicates the energy of the effective signal.
Citation Information
Patent Citations
Data acquisition and processing method
CN113040773A
Non-contact heart rate variability detection method and system
CN116548942A
Healthcare apparatus for measuring stress score
KR102435808B1
Healthcare apparatus for calculating stress index
US20230210423A1
Digital healthcare device for measuring heart rate using remote ppg
WO2023128454A1
