Open Access Paper
28 December 2022 Classification of cardiac abnormality based on BCG signal using 1-D convolutional neural network
Li Zeng, Ruyue Wang, Shanshan Yang, Xiangyu Zeng, Zhenjun Guo
Author Affiliations +
Proceedings Volume 12506, Third International Conference on Computer Science and Communication Technology (ICCSCT 2022); 125060Q (2022) https://doi.org/10.1117/12.2662553
Event: International Conference on Computer Science and Communication Technology (ICCSCT 2022), 2022, Beijing, China
Abstract
This paper presents a ballistocardiogram (BCG) classification method based on 1-D convolution neural networks (CNNs), which provides an auxiliary basis for clinical diagnosis, especially in the monitoring of cardiac function in the elderly. Four categories of BCG signals are used as input of 1-D CNN. By moving the convolution kernel on the time axis, the temporal variability of BCG signals can be better satisfied while retaining the frequency band correlation. Then they were sent to the multi-layer sensor, after that the features processed by softmax classifier were classified. We obtained an accuracy of 93.39%, of which the H class is 95.36%, the C class is 86.19%, the D class is 95.31%, and the Y class is 96.57%. Compared with the existing research results, the proposed method achieves a superior classification performance. This method is simple, fast and highly generic, which can serve as a reliable adjunct tool for the daily diagnosis of heart disease in the elderly.

1.

INTRODUCTION

Cardiovascular disease (CVD) is a widespread condition that poses a severe threat to human health and has overtaken other causes of death in the world. Cardiac monitoring in daily life so as to detect the pathological features in a timely manner is the key to prevent such diseases. Clinically, electrocardiogram (ECG), phonocardiogram (PCG) and magnetocardiography (MCG) have been used, but they need professional equipment, which are difficult to be used for routine monitoring1,2. The ballistocardiogram (BCG) signal is derived from a series of mechanical impacts generated by the blood flow in the cardiac pumping process, which contains a great many cardiac physiological information3,4. BCG is a non-invasive, non-contact method of monitoring cardiovascular function5,6. Compared with ECG, it has higher comfort and convenience, so it is more suitable for monitoring in daily life at home7.

BCG has steadily drawn academics’ interest as sensors and digital signal processing have advanced. Various signal processing methods have also been applied to the processing of BCG signals for heartbeat location and feature extraction8. According to studies, BCG can be used to identify changes in heart rate, heart rate variability, cardiac contractility, and cardiac output.

However, in practical applications, BCG signals are complex and changeable. In this paper, we propose a one-dimensional convolutional neural network model, which is applied to the classification and recognition of BCG signals. The rest of this paper is organized as follows. In Section 2, we mainly explain the data source of the experiment and briefly introduce the pretreatment process. In Section 3 briefly mentioned the contents of CNN, and the details information of the proposed 1D-CNN are given in Section 4, including convolution layer and pooling layer. The performance of the convolutional neural network algorithm is verified in Section 5 by comparing the experimental results with the back propagation (BP) neural networks and support vector machine (SVM) classification after manually extracting the features. Finally, conclusion and future work are presented in Section 6.

2.

DATA COLLECTION AND PROCESSING

In this paper, a composite acquisition system of BCG signals based on polyvinylidene fluoride (PVDF) piezoelectric film is developed9. The system is modified from the acquisition system of cardiovascular physiological signals developed by the Institute of Medical Physics, Tsinghua University. It is mainly composed of sensor module, signal processing circuit and signal transmission and storage. The piezoelectric film is embedded in the cushion, and the cushion is placed flat on the chair or fixed to the backrest. The signal conditioning circuit is composed of charge sensitive amplifier, filter circuit, power frequency notch circuit and post-stage voltage amplifier circuit. When collecting data, the tester sits on the chair and breathed calmly. The change of human mechanics is converted into a charge signal by piezoelectric thin film sensor, which is transformed into electric signal by preamplifier circuit. The signal processed by the hardware circuit is transmitted to the upper PC via the acquisition card for real-time display and storage. The acquisition system is shown in Figure 1.

Figure 1.

Hardware overall design block diagram.

00052_PSISDG12506_125060Q_page_2_1.jpg

The data set used in this paper contains four types of BCG signals: healthy young (Y), healthy elderly (H), elderly with cardiac abnormalities (C), and elderly with heart disease (D). Due to the low frequency and weak characteristics of BCG signal, it is inevitable to mix in the respiratory signal and other noise interference, which increases the difficulty of detection. Therefore, it is necessary to design a digital filter for processing and obtain the signals required in the experiment. Firstly, the trend items such as breathing are eliminated by high-pass filter, then the low-pass filter with cut-off frequency of 30 Hz is used to eliminate the high-frequency electromagnetic noise generated in the circuit. Finally, a 50HZ notch filter is designed to eliminate power frequency interference. The pre-processed signal is shown in Figure 2.

Figure 2.

An illustration of BCG segments.

00052_PSISDG12506_125060Q_page_2_2.jpg

After filtering, the waveform features of BCG signal are clearly visible, with good periodicity and repeatability, indicating that the filtering effect is good. Comparing the four types of waveforms, it can be seen that the waveforms of class H is basically consistent with the standard waveform, and the waveforms of class D change obviously, but show certain periodicity regularity. The waveforms of class C and H are not obvious, and the waveforms of class C are similar to those of class Y.

3.

CONVOLUTIONAL NEURAL NETWORK (CNN)

Fukushima originally developed the convolutional neural network (CNN) in 198010, while LeCun et al. later enhanced it11. It is a feed-forward neural network that draws inspiration from the biological natural vision’s cognitive process. Convolutional layer and pooling layer are typically alternated, resembling the simple and complicated cells in the human visual cortex12. Figure 3 illustrates its fundamental structure.

Figure 3.

The architecture of the CNN.

00052_PSISDG12506_125060Q_page_3_1.jpg

CNN is widely used in various application fields, it is also used as an automated diagnostic tool in the medical field to help clinicians13,14. It is worth mentioning that the greatest feature of CNN is sparse connectivity (local receptive field) and weight sharing. CNN extracts spatial local association information from natural images by enhancing local connections between nodes of adjacent layers in neural networks. The input of the m-layer nodes is only a part of the m-1 layer nodes, which have spatial adjacent receptive field of vision. As shown in Figure 4a. The parameters of a filter are the same when it convolves with a feature map from the preceding layer, resulting in the same convolutional result, the parameters (weights and biases) are shared. This is illustrated in Figure 4b. Sparse connections and weight sharing can lower the number of training parameters, simplify computations, and increase learning effectiveness, and thus improve the learning efficiency. So this makes CNN have better generalization ability in recognizing scenes.

Figure 4.

The characteristics of CNN. (a): Local receptive field; (b): Weight sharing.

00052_PSISDG12506_125060Q_page_3_2.jpg

4.

1-D CNN

The data to be processed in this paper are discrete time series. While maintaining the local observation, weight sharing, and high-level aggregation properties of convolutional neural networks, Figure 5 illustrates the construction of a CNN appropriate for the 1-D properties of BCG signals using one-dimensional convolution as the convolution layer while maintaining the local observation.

Figure 5.

1-D CNN implementation.

00052_PSISDG12506_125060Q_page_4_1.jpg

4.1

Convolution layer

Referring to convolution, we have typically been exposed to the convolution of 1-D signals, that is,

00052_PSISDG12506_125060Q_page_4_2.jpg

where x[n] is the input signal and h[n] is the unit response in signal processing. As a result, the output signal y[n] is the superposition of the input signal x[n] delayed response. Weighted superposition/integration is the essence of 1-D convolution as well.

The filter wt (t = 1, ⋯, m) sequentially performs a local convolution operation on the input features of the preceding layer given a sequence of input signals xt (t = 1, ⋯, n). In general, the filter’s length m is substantially shorter than the signal sequence’s length n. The convolution’s result is:

00052_PSISDG12506_125060Q_page_4_3.jpg

ln a convolutional layer, each neuron in the lth layer connected to only one neuron in the local window of the l-1 th layer, forming a locally connected network.

Then the input of the ith neuron in the lth layer is defined as:

00052_PSISDG12506_125060Q_page_4_4.jpg

where, wlRm is the m-dimensional filter, 00052_PSISDG12506_125060Q_page_4_5.jpg, bi, (i = 1,2, ⋯n) is the bias parameter, wl is the same for all neurons in this convolutional layer.

4.2

Pooling layer

Convolution layers is convolution of the adjacent regions of the image to acquire neighborhood features. The pooling layer uses the pooling technology to integrate the feature points in the tiny neighborhood to obtain new features15. Specifically, a value is obtained from a region as a feature in a certain way, and then utilized to take part in subsequent training, which is the pooling process. For the feature map Xl that is derived from convolution layer are divided into multiple regions Rk (k = 1, ⋯, K).

00052_PSISDG12506_125060Q_page_4_6.jpg
00052_PSISDG12506_125060Q_page_4_7.jpg

The commonly used pooling method is to take the maximum or average value of all neurons in the region. The Max-pooling is a nonlinear downsampling method, and has two characteristics: (1) It reduces the computational complexity of the upper layer; (2) It provides transformation invariance and has good robustness to shift changes.

4.3

Experimental setup

The experimental data set for this study is smooth and high-quality wave. Due to the small amount of data gathered from older patients with heart disease, the sample record was expanded using several segments of heart-beat interception method, and eventually four matrices with minor differences were created and used as the input of a convolution neural network.

We’re going to design a 1-D CNN in this case with two convolution layers, two pooling layers, and one full connection layer. There are numerous restrictions due to the relatively straightforward construction of this 1-D CNN. To do nonlinear feature mapping, a convolution layer needs an activation function f(x). The term “activation function” refers to how to through functions to preserve and map the characteristics of activated. This is the key to solving nonlinear problems in neural networks.

ReLU with a faster convergence rate and Softmax for multiclassification are chosen as the activation functions in this work. The following are the formulas:

00052_PSISDG12506_125060Q_page_5_1.jpg
00052_PSISDG12506_125060Q_page_5_2.jpg

4.3.1

Determination of Super-Parameters in 1-D CNN.

The learning rate, batch block size, and iteration epoch number must all be specified when utilizing the stochastic gradient descent (SGD) method for training. The values of these parameters are determined based on the results of the step-by-step experiment.

4.4

Experimental results

By comparing the design of the convolution structure and the specification of the hyper-parameters, the results show that the size of the first convolution kernel and the value of the learning rate have a great influence on the recognition rate. Tables 1 and 2 are the results of comparison, and the recognition rates in the tables are all statistical average results. As can be seen from Table 1, convolution kernel is not as small as possible. Especially for sparse data, it may not be able to express its characteristics when using a relatively smaller convolution kernel. If a larger convolution kernel is used, the complexity will be greatly increased. Table 2 shows that the recognition effect is not good if the learning rate is too low, which leads to a slow convergence rate, while the number of iterations in the experiment is less.

Table 1.

The influence of convolution kernel size on recognition rat.

Convolution kernel116314661
Total (%)75.0286.0491.5988.6484.33
H (%)80.6190.2792.8693.5287.72
C (%)67.0176.6484.0984.2179.79
D (%)83.9889.5393.0891.9788.26
Y (%)68.4487.7496.3084.9381.63

Table 2.

The influence of learning rate on recognition rate.

Learning rate0.010.030.060.10.3
Total (%)61.4382.4788.4791.6785.36
H (%)49.8191.9595.3794.3794.80
C (%)71.6077.8282.2284.7086.21
D (%)53.9091.8795.9095.7896.04
Y (%)56.8468.2480.3191.7864.29

Finally, after many experiments, the convolution network settings and Super-parameters are adjusted and optimized continuously. The final average recognition rate is 93.39%, of which the H class is 95.36%, the C class is 86.19%, the D class is 95.31%, and the Y class is 96.57%. Among them, the accuracy of Class Y is the highest, and the recognition rate of class C is lower than that of other classes, because some of them are misclassified as Class Y, which is consistent with our analysis results in Figure 2.

Compared with the traditional classifier, the specific results are shown in Table 3, the classification results of Back Propagation (BP) Neural Networks and Support vector machine (SVM) are 86.82% and 91.67% respectively. Traditional machine learning frameworks rely heavily on the extraction of artificial features. Extraction of high-quality features might be difficult if the algorithm designer lacks sufficient experience, this is also the limitation of traditional machine learning frameworks. The method suggested in this work has the advantage that features can be automatically collected from vast data without manual design. The experimental results are satisfactory, not only the recognition effect is improved, but also the classification categories are more diverse.

Table 3.

Classification results of BP and SVM.

MethodFeatureAccuracy (%)MethodFeatureAccuracy (%)
BPTime domain83.33SVMTime domain86.25
Frequency domain80.67Nonlinear81.39
Time and frequency domain86.82Time domain, nonlinear91.67

5.

CONCLUSION

In this study, in view of the one-dimensional characteristic of BCG signal, we propose an elderly BCG signal classifier for the elderly BCG signal with 1-D CNNs, and its convolution kernel is used as observation window to slide on the time axis of BCG signal. It can be used to extract the local features of the signal and ensure the time variability of the BCG signal, the correlation and integrity of the frequency band. Compared with the traditional pre-feature extraction and reclassification process, for each elderly over a simple CNN, it is not only unnecessary to extract handcrafted manual features, or any kind of pre-processing and post-processing. In addition to the speed and computational efficiency attained, the proposed method only needs 1-D convolutions, which simplifies and lowers the cost of hardware implementation.

The experimental results show that the proposed method can achieve good classification performance and can be used as an auxiliary basis for medical staff to diagnose heart diseases. However, in practical applications, the classification performance should be further improved. For the future research work, BCG signal processing and classification algorithms have to enhance in order to improve the reliability of the medical s system. In the next step, the signal is firstly extracted from the higher-order spectrum and then sent to the CNN for identification. It should be mentioned that the signal processing method proposed in this paper can be applied to other signals in addition to BCG data classification. And develop the discipline from a specialized area into an established method that is frequently employed in clinical practice.

ACKNOWLEDGMENTS

This article was supported by the following fund projects or subject: 2021 Research basic Ability Improvement Project for Young and middle-aged Teachers in Guangxi Colleges and Universities (NO.2021KY0797).

REFERENCES

[1] 

Pino, E. J., Larsen, C., Chavez, J., et al., “Non-invasive BCG monitoring for non-traditional settings,” in International Conference on Engineering in Medicine and Biology Society, 4776 –4779 (2016). Google Scholar

[2] 

Zhang, X., Zhang, L., Ding, L., et al., “Heartbeat detection based on ballistocardiograms,” Qinghua Daxue Xuebao/Journal of Tsinghua University, 57 (7), 763 –767 (2017). Google Scholar

[3] 

Sadek, I., Biswas, J., Abdulrazak, B., “Ballistocardiogram signal processing: A review,” Health Inf. Sci. Syst, 7 (1), 10 (2019). https://doi.org/10.1007/s13755-019-0071-7 Google Scholar

[4] 

Chang-Sei, K., Ober, S. L., Sean, M. M. M., et al., “Ballistocardiogram: Mechanism and potential for unobtrusive cardiovascular health monitoring,” Scientific Reports, 6 31297 (2016). https://doi.org/10.1038/srep31297 Google Scholar

[5] 

Inan, O., Migeotte, P. F., Park, K. S., et al., “Ballistocardiography and Seismocardiography: A review of recent advances,” IEEE Journal of Biomedical and Health Informatics, 19 (4), 1414 –1427 (2017). https://doi.org/10.1109/JBHI.2014.2361732 Google Scholar

[6] 

Bicen, A. O., Gurel, N. Z., Dorier, A., et al., “Improved pre-ejection period estimation from ballistocardiogram and electrocardiogram signals by fusing multiple timing interval features,” IEEE Sensors Journal, 17 (13), 4172 –4180 (2017). https://doi.org/10.1109/JSEN.2017.2707061 Google Scholar

[7] 

Wang, L., Geng, S., Liu, B., et al., “Ballistocardiogram heart rate detection: Improved methodology based on a tree-layer filter,” Measurement, 149 1 –10 (2020). https://doi.org/10.1016/j.measurement.2019.106956 Google Scholar

[8] 

Nurmi, S., Nocturnal Sleep Quanlity and Quantity Analysis with Ballistocardiography, Aalto University, Helsinki (2016). Google Scholar

[9] 

Wang, Z., Xi, L., Liu, Z., Lin, X, Wu, X. and Luo, X., “Nonlinear characteristic analysis of ballistocardiogram signals based on chaotic time series,” in 7th International Conference on Information, Communication and Networks (ICICN), 29 –36 (2019). Google Scholar

[10] 

Lee, S. C., Using A Translation-Invariant Neural Network to Diagnose Heart Arrhythmia, Morgan Kaufmann Publishers Inc., (1990). Google Scholar

[11] 

Yousefian, P., Shin, S., Mousavi, A., et al., “The potential of wearable limb ballistocardiogram in blood pressure monitoring via pulse transit time,” Sci. Rep, 9 1 –11 (2019). https://doi.org/10.1038/s41598-019-46936-9 Google Scholar

[12] 

Kiranyaz, S., Ince, T. and Gabbouj, M., “Real-Time Patient-Specific ECG Classification by 1D convolutional neural networks,” IEEE Transactions on Bio-medical Engineering, 63 (3), 664 –675 (2015). https://doi.org/10.1109/TBME.2015.2468589 Google Scholar

[13] 

Golkov, V., Dosovitskiy, A., Sperl, J. I., et al., “q-space deep learning: Twelve-fold shorter and model-free diffusion MRI scans,” IEEE Transactions on Medical Imaging, 35 (5), 1344 –1351 (2016). https://doi.org/10.1109/TMI.2016.2551324 Google Scholar

[14] 

Hatipoglu, N. and Bilgin, G., “Cell segmentation in histopathological images with deep learning algorithms by utilizing spatial relationships,” Medical and Biological Engineering and Computing, 1-20 (2017). Google Scholar

[15] 

Wang, R., Zeng, L., Li, H., Lu, L., Li, J. and Luo, X., “Alzheimer’s disease classification based on one dimensional convolutional neural network,” in 2020 8th International Conference on Digital Home (ICDH), 288 –293 (2020). Google Scholar
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Li Zeng, Ruyue Wang, Shanshan Yang, Xiangyu Zeng, and Zhenjun Guo "Classification of cardiac abnormality based on BCG signal using 1-D convolutional neural network", Proc. SPIE 12506, Third International Conference on Computer Science and Communication Technology (ICCSCT 2022), 125060Q (28 December 2022); https://doi.org/10.1117/12.2662553
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Convolution

Signal processing

Convolutional neural networks

Filtering (signal processing)

Neural networks

Heart

Electronic filtering

Back to Top